Mercurial > hg > xemacs-beta
diff src/ChangeLog @ 1162:fe1300cee118
[xemacs-hg @ 2002-12-16 03:01:57 by ben]
combine ChangeLog files
author | ben |
---|---|
date | Mon, 16 Dec 2002 03:02:09 +0000 |
parents | 8e95979f01c6 |
children | 6f18092b3b3c |
line wrap: on
line diff
--- a/src/ChangeLog Mon Dec 16 02:33:04 2002 +0000 +++ b/src/ChangeLog Mon Dec 16 03:02:09 2002 +0000 @@ -1,5 +1,8 @@ 2002-12-15 Ben Wing <ben@xemacs.org> + * ChangeLog: Combine all ChangeLog files. + * ChangeLog.1, ChangeLog.2: Deleted. + * window.c (Fset_window_point): Correct to FSF behavior. This fixes some bugs in GNUS reported by Jeff Miller. @@ -20769,3 +20772,17056 @@ 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr> * insdel.c (signal_after_change): Remove extraneous unbind_to(). + +2000-01-09 Norbert Koch <norbert@s.netic.de> + + * sysfile.h: Remove definition of HAVE_FSYNC. It's tested for + in configure. + +2000-01-09 Martin Buchholz <martin@xemacs.org> + + * lisp.h (xfree_1): Make non-public. + * (xzero): Use '\0' in memset call for clarity. + * (ALIGNOF): Use __alignof__ instead of undocumented __alignof. + * alloc.c (allocate_string_chars_struct): + (make_uninit_string): + (resize_string): + (verify_string_chars_integrity): + (compact_string_chars): Now only called for small strings. + (sweep_strings): + String allocation rewrite. + Properly handle resizing big strings. + Fixes crash when evaluating: + (aset (make-string 9003 ??) 1 (make-char 'latin-iso8859-1 57)) + Use consistent coding convention. + Never use xfree_1() directly. + General cleanup. + (CHARS_TO_STRING_CHAR): Remove. No longer needed. + Big strings had unused space at beginning. + + * scrollbar.c (specifier_vars_of_scrollbar): + * scrollbar.c (complex_vars_of_scrollbar): + * gutter.c (specifier_vars_of_gutter): + * menubar.c (specifier_vars_of_menubar): + * toolbar.c (specifier_vars_of_toolbar): + * glyphs.c (specifier_vars_of_glyphs): + * redisplay.c (specifier_vars_of_redisplay): + * window.c (specifier_vars_of_window): + * lisp.h (slot_offset): Remove slot_offset. + Replace all calls to `slot_offset' with the standard name, `offsetof'. + + * menubar-x.c (compute_menubar_data): + Remove Fset_buffer(), always called by unwind_protect. + * menubar-x.c (menu_item_descriptor_to_widget_value_1): Fiddling. + * menubar-x.c (set_frame_menubar): comment fix. + + * keymap.c (lookup_keys): Remove extra parens. + * keymap.c (lookup_events): Remove extra parens. + + * dbxrc (run-temacs): Allow function to take arguments. + + * Makefile.in.in (PURIFY_FLAGS): No longer need pointer-mask. + +2000-01-08 Andy Piper <andy@xemacs.org> + + * event-msw.c (mswindows_wnd_proc): don't need to check for widget + face anymore. + + * frame.c (change_frame_size_1): use new glyph_* signatures. + (frame_conversion_internal): ditto. + + * toolbar-x.c (x_get_button_size): Use modified glyph_* + signatures. + + * redisplay.c (add_glyph_rune): Use modified glyph_* signatures. + (add_glyph_rune): dittto. + (add_margin_runes): ditto. + (create_left_glyph_block): ditto. + (create_right_glyph_block): ditto. + (redisplay_window): ditto. + + * redisplay-output.c (redisplay_output_layout): Use modified + glyph_* signatures. + + * glyphs.h: (struct image_instantiator_methods): change signature + of query_geometry and layout. + (struct Lisp_Image_Instance): Clean up fields for dynamic geometry + calculations. + (struct expose_ignore): change field types. + (struct subwindow_cachel): ditto. declare new functions and + accessor macros. + + * glyphs.c: (instantiate_image_instantiator): assign glyph when + creating the image instance. + (image_instance_hash): fixup for new and deleted fields. + (image_instance_equal): ditto. + (mark_image_instance): ditto. + (print_image_instance): ditto. + (allocate_image_instance): zero width and height. assign attached + glyph. mark as dirty for future layout. + (make_image_instance_1): pass Qnil as the glyph its attached to. + (Fimage_instance_height): simply return the height. + (Fimage_instance_width): simply return the width. + (image_instance_query_geometry): new function. query the image + instance's geometry by wiring through to format and device + specific methods. fallback on the existing geometry. + (image_instance_layout): new function. layout the image instance + by querying its geometry and then wiring through to format and + device specific methods. + (query_string_geometry): new function to decide the bounding box + of a string. text glyph geometry calculations moved here. + (query_string_font): new function. find out the font for a given + string in a given face. + (text_query_geometry): return geometry based on + quert_string_geometry. + (formatted_string_instantiate): call string_instantiate. + (image_instantiate): put strings in the per-window cache. Feed the + glyph to the instantiated image instance. + (glyph_height_internal): deleted. + (glyph_width): simply return the required dimension. re-layout if + the instance is dirty. Remove references to face_index and + frame_face which were only used for strings. + (glyph_ascent): ditto. + (glyph_descent): ditto. + (glyph_height): ditto. + (Fglyph_width): use new glyph_width function. + (Fglyph_ascent): use new glyph_ascent function. + (Fglyph_descent): use new glyph_descent function. + (Fglyph_height): use new glyph_height function. + (glyph_property_was_changed): + (glyph_image_instance_maybe): new function to possible create an + image instance from a glyph if we don't have one already. + (glyph_dirty_p): use it. + (glyph_layout): new function for laying out a glyph. + (glyph_query_geometry): new function for finding out the desired + geometry of a glyph. + (update_glyph_cachel_data): use new glyph_* signatures. + (update_subwindow): call resize_subwindow. + (map_subwindow): call update_subwindow if the image is dirty. + (subwindow_instantiate): add comment. + (Fresize_subwindow): don't actually resize the window, just record + the values and let update_subwindow handle it. + (Fglyph_animated_timeout_handler): use + MARK_IMAGE_INSTANCE_CHANGED. + (image_instantiator_format_create): declare things with + query_geometry and layout functions. + + * glyphs-x.c: (x_update_subwindow): remove widget sizing. + (update_widget_face): use query_string_font. + (x_widget_set_property): don't return Qt when setting is + succesful. + (x_combo_box_instantiate): call widget_instantiate rather than + widget_instantiate_1. + + * glyphs-widget.c: (widget_face_font_info): deleted. + (widget_text_to_pixel_conversion): deleted. + (widget_set_property): make sure the new text gets propagated to + the image instance. + (widget_layout): new function. wire through to device and format + specific methods. + (widget_query_geometry): new function. wire through to device and + format specific methods. fallback on geometry of widget text. + (initialize_widget_image_instance): fixup new fields. + (widget_instantiate_1): deleted. + (tree_view_instantiate): deleted. + (tree_view_query_geometry): new function. returns desired sizing + of tree view. + (tab_control_instantiate): deleted. + (tab_control_query_geometry): new function. returns desired sizing + of tab. + (widget_instantiate): subsume widget_instantiate_1. Fixup geometry + things in the light of dynamic layout. + (static_instantiate): deleted. + (layout_instantiate): use new glyph_* signatures. + (image_instantiator_format_create_glyphs_widget): fixup + query_geometry and layout declarations for various widgets. + + * glyphs-msw.c: (mswindows_widget_instantiate): add comment. + (mswindows_button_instantiate): use query_string_font for geometry + calculations. + (mswindows_update_subwindow): ditto. + (mswindows_combo_box_instantiate): fixup for new geometry + management. + (mswindows_widget_set_property): Don't return Qt so that other + methods can be called. + +2000-01-08 Martin Buchholz <martin@xemacs.org> + + * gdbinit: rename to .gdbinit so that gdb will automatically source it. + +2000-01-09 Hrvoje Niksic <hniksic@iskon.hr> + + * insdel.c (signal_before_change): Make sure START and END are + within the buffer before calling report_extent_modification(). + (signal_after_change): Ditto for START, NEW_END, and ORIG_END. + +2000-01-09 Hrvoje Niksic <hniksic@iskon.hr> + + * extents.h: Correct prototype of report_extent_modification(). + + * insdel.c (signal_before_change): Place record_unwind_protect() + outside MAP_INDIRECT_BUFFERS loops. + (signal_after_change): Ditto. + + * extents.c (report_extent_modification): Don't expect pointer to + inside_change_hook. + (report_extent_modification_mapper): Explain why + closure->speccount is almost unused. + + * insdel.c (change_function_restore): Call Fset_buffer only if + necessary. + (signal_before_change): Don't propagate inside_change_hook to + report_extent_modification(). + +2000-01-07 Martin Buchholz <martin@xemacs.org> + + * elhash.c (make_general_lisp_hash_table): Remove purify UMR. + (hash_table_rehash_threshold): Removed. Update all callers. + +2000-01-03 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> + + * s/windowsnt.h: Fix mail locking stuff. + + * s/aix3-2.h: Remove HAVE_FSYNC which is now autodetected. + + * emacs.c (vars_of_emacs): Added `mail-lock-methods' and + `configure-mail-lock-method' variables. + + * config.h.in: Fix mail locking stuff. + +2000-01-04 Martin Buchholz <martin@xemacs.org> + + * mule-charset.h (REP_BYTES_BY_FIRST_BYTE): + Remove macro, always use inline function. + * mule-charset.c (make_charset): Don't assign to rep_bytes_by_first_byte. + (rep_bytes_by_first_byte): Make const. + +2000-01-03 Didier Verna <didier@xemacs.org> + + * redisplay.c (generate_fstring_runes): new parameter `offset'. + Take offset into account when outputting strings or glyphs. + (generate_formatted_string_db): call generate_fstring_runes with + an offset of 0 if generating a frame or icon title, or the + modeline hscroll if generating a modeline. + + * redisplay.h: remove prototype of `generate_formatted_string' and + add prototype for `generate_formatted_string_db', now used in + "frame.c". + + * frame.c: `title_string_display_line' and + `title_string_emchar_dynarr', formerly known as + `format_string_display_line' and `format_string_emchar_dynarr' + moved here from "redisplay.c". + (generate_title_string): formerly known as + `generate_format_string', moved here from "redisplay.c". + (update_frame_title): take these name changes into account. + (init_frame): new function. Initialize here the variables that + were previously in "redisplay.c" and initialized in + `init_redisplay'. + + * frame.h: prototype for `init_frame'. + + * window.c (Fmodeline_hscroll): restore the definition (remove the + MODELINE_IS_SCROLLABLE #ifdef). + (Fset_modeline_hscroll): ditto, docstring improvement, and return + the actual value that was set. + (struct saved_window): turn the `modeline_hscroll' field into a + Charcount. + (syms_of_window): restore the declaration of + `[set-]modeline-hscroll' (remove the MODELINE_IS_SCROLLABLE #ifdef). + + * window.h (struct window): turn the `modeline_hscroll field' into + a Charcount. + + * emacs.c: include "frame.h" to get `init_frame'. + (main_1): call `init_frame'. + +1999-12-31 Martin Buchholz <martin@xemacs.org> + + * XEmacs 21.2.26 is released. + +1999-12-31 Andy Piper <andy@xemacs.org> + + * glyphs-x.c (x_widget_instantiate): Avoid X errors calling + XMapWindow() on a NULL pointer X window. + +1999-12-31 Martin Buchholz <martin@xemacs.org> + + * data.c (indirect_function): Use signal_void_function_error(). + + * lisp.h: Modify prototypes for signal_*(). Add SUBR_FUNCTION macro. + + * eval.c (PRIMITIVE_FUNCALL): Optimize. + (signal_void_function_error): return result of Fsignal(). + (signal_invalid_function_error): return result of Fsignal(). + (signal_wrong_number_of_arguments_error): return result of Fsignal(). + (signal_malformed_list_error): Add DOESNT_RETURN. + (signal_malformed_property_list_error): Add DOESNT_RETURN. + (signal_circular_list_error): Add DOESNT_RETURN. + (signal_circular_property_list_error): Add DOESNT_RETURN. + (Feval): Use returned results of signal_*(). Avoids a crash! + (Ffuncall): Use returned results of signal_*(). Avoids the crash: + (setq debug-on-error t) (funcall 'foo) kbd{r42} kbd{RET} + - Only check for fun_nargs < subr_min_args if fun_nargs != max_args. + (function_argcount): Use signal_invalid_function_error(). + (funcall_lambda): Use signal_wrong_number_of_arguments_error(). + Use signal_invalid_function_error(). + +1999-12-28 Andy Piper <andy@xemacs.org> + + * debug.c: rename debug_loop elements to X_ to avoid name clashes. + + * menubar-x.c (menu_item_descriptor_to_widget_value_1): strdup + string_chars. + (menu_item_descriptor_to_widget_value_1): strdup name. + (pre_activate_callback): strdup name. + + * scrollbar-x.c (scrollbar_instance_to_widget_value): strdup name. + (x_update_scrollbar_instance_status): use free_widget_value_tree. + + * dialog-x.c (maybe_run_dbox_text_callback): strdup name. use + free_widget_value_tree. + (dbox_descriptor_to_widget_value): ditto. + + * gui-x.c (widget_value_unwind): use free_widget_value_tree. + (gui_items_to_widget_values_1): ditto. + (gui_items_to_widget_values): ditto. + (free_popup_widget_value_tree): free name. + +1999-12-27 Andy Piper <andy@xemacs.org> + + * nt.c (fstat): use get_osfhandle rather than the handle + directly. From Fabrice Popineau. + + * process-nt.c (nt_open_network_stream): take types into account + when warning. From Fabrice Popineau. + +1999-12-24 Martin Buchholz <martin@xemacs.org> + + * XEmacs 21.2.25 is released. + +1999-12-22 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp> + + * syntax.c (vars_of_syntax): Initialize parse-sexp_ignore_comments. + +1999-12-21 Martin Buchholz <martin@xemacs.org> + + * editfns.c (Fpoint_min): + (Fpoint_min_marker): + (Fpoint_max): + (Fpoint_max_marker): + (Fchar_after): + (Fchar_before): + Docstring fixes. What's a `buffer pointer' anyways? + + * editfns.c (char=): Remove unused and undocumented optional + third BUFFER argument. + + * toolbar.h (DEVICE_SUPPORTS_TOOLBARS_P): + * fns.c (plists_differ): + * elhash.c (HASH_CODE): + * elhash.c (KEYS_EQUAL_P): + * redisplay-output.c (redisplay_move_cursor): + * redisplay.c (create_text_block): + * floatfns.c (Flogb): + * glyphs-msw.c (mswindows_initialize_image_instance_mask): + * glyphs-msw.c (xpm_to_eimage): + * buffer.h (POINT_MARKER_P): + * syntax.c (scan_lists): + * cmdloop.c (Fcommand_loop_1): + * widget.c (Fwidget_apply): + * regex.c (STREQ): + Remove extra parens, esp. of the form ((expr)) + + * floatfns.c (Flogb): Make 64-bit clean. + +1999-12-12 Daniel Pittman <daniel@danann.net> + + * configure.in: + * configure.usage: + Clean up Athena widget support: + - Add `with-athena' to select a variant. + - Remove all `athena3d' options. + - Robust detection of Athena libraries and headers. + - Refuse to build with mismatched library and headers. + - Only build a 3d Athena if the user asks for it. + +1999-12-21 Andy Piper <andy@xemacs.org> + + * redisplay.c (redisplay_frame): check for faces changed when + reseting subwindow caches. + + * glyphs.h (struct ii_keyword_entry): add copy_p. + (struct image_instantiator_methods): add query_geometry_method and + layout_children_method. + (IIFORMAT_VALID_GENERIC_KEYWORD): new macro to take into account + copying characteristics of keywords. + (IIFORMAT_VALID_NONCOPY_KEYWORD): new macro for defining keywords + whose arguments should not be copied by the specifier code. + (image_instance_geometry): new enum for layouts. + (struct Lisp_Image_Instance): re-jig for layouts and update + macros. + + * glyphs.c (string_instantiate): rename variables. + (image_instantiate): add strings to those widgets that are + instantiated per-window. + (image_copy_vector_instantiator): new function for copying glyph + specifier instantiators. + (image_copy_instantiator): ditto. + + * glyphs-x.c (x_update_subwindow): use new face update functions. + (update_widget_face): update to use new lwlib arg functions. + (update_tab_widget_face): new function for updating tab control + label faces. + (x_widget_instantiate): use new face update functions and new + lwlib arg functions. + (x_tab_control_instantiate): ditto. + (x_tab_control_set_property): ditto. + + * glyphs-widget.c (VALID_GUI_KEYWORDS): use NONCOPY keyword for + callbacks and other things that could recurse. + (VALID_GUI_KEYWORDS): + + * event-msw.c: fix cpp stuff for cygwin < b20. + + * config.h.in: move uid_t and friends to before the s&m files so + that they can be used there. + + * Makefile.in.in (debug-temacs): new target that adds emacs + environment before invoking gdb. + + * lwlib.h (_widget_args): new structure for holding widget + args. It is reference counted so that we don't have to copy Xt + args. + (_widget_value): remove widget args. Add reference to widget_args. + + * lwlib.c (free_widget_value_contents): free widget args using + free_widget_value_args. + + * lwlib-Xaw.c (xaw_update_one_widget): use new arg packet. + (xaw_update_one_widget): use XtIsSubclass for determining labels. + + * lwlib.c (lw_add_value_args_to_args): modify to use our reference + counted arg packet. + (lw_add_widget_value_arg): new function. Add an arg to the arg + packet. + (free_widget_value_args): new function. Remove a reference counted + arg packet. + (lw_copy_widget_value_args): new function. Copy reference counted + arg packet. + (merge_widget_value_args): new function. Do a merge of widget + args. + (merge_widget_value): use it. + (copy_widget_value_tree): copy widget args using reference + counting, since we can't easily copy the args we have been given. + + * specifier.h (struct specifier_methods): add copy_instantiator_method. + + * specifier.c (build_up_processed_list): use + copy_instantiator_method if defined. + +1999-12-19 Martin Buchholz <martin@xemacs.org> + + * fns.c (Ffillarray): Use O(N), not O(N^2) algorithm for strings. + +1999-12-19 Hrvoje Niksic <hniksic@iskon.hr> + + * profile.c (sigprof_handler): FUN retrieved from the backtrace + can also be a cons representing anonymous interpreted function. + +1999-12-18 Martin Buchholz <martin@xemacs.org> + + * fns.c (mapcar1): + (Fmapconcat): + (Fmapcar): + (Fmapvector): + Docstring fixes. Make them consistent with the lispref and ANSI Lisp. + +1999-12-17 Martin Buchholz <martin@xemacs.org> + + * print.c (print_internal): print ?+ instead of ?\+, etc... + Make printing a little more efficient. + Prevent buffer overflow if sizeof EMACS_INT > 8. + My first 128-bit fix! + +1999-12-14 Karl M. Hegbloom <karlheg@inetarena.com> + + * filelock.c (unlock_all_files): GC_CONSP should be CONSP + +1999-12-17 Martin Buchholz <martin@xemacs.org> + + * database.c: + * window.c: + * event-stream.c: + Remove last vestigial uses of GC_* + + * fns.c (mapcar1): Fix ***THREE*** obscure crashes in one function! + - Two of those involve evil mapping functions that destructively + modify a list being mapped over. + - Any garbage collection when mapping over a string could cause a + crash (typically in mapconcat). + +1999-12-08 Adrian Aichner <adrian@xemacs.org> + + * s\windowsnt.h (DIRECTORY_SEP): Initialize from + `Vdirectory_sep_char'. + + * lisp.h: Add declaration for `Vdirectory_sep_char' to allow + customization of `DIRECTORY_SEP' under native Windows NT. + +1999-12-14 Katsumi Yamaoka <yamaoka@jpl.org> + + * buffer.c (Fbury_buffer): Add directions to the docstring. + +1999-12-14 Martin Buchholz <martin@xemacs.org> + + * XEmacs 21.2.24 is released. + +1999-12-13 Martin Buchholz <martin@xemacs.org> + + * sound.c (vars_of_sound): Provide esd-sound if HAVE_ESD_SOUND + + * nas.c: Fix compiler warnings. Ansify. C++ compilation support. + +1999-12-13 Kazuyuki IENAGA <ienaga@jsys.co.jp> + + * input-method-xlib.c: Make sure src/ does not use Athena, except + indirectly through lwlib. + +1999-12-13 Gunnar Evermann <ge204@eng.cam.ac.uk> + + * dbxrc (pobj): Add opaque_ptr, remove opaque_list. + +1999-12-10 Shenghuo ZHU <zsh@cs.rochester.edu> + + * file-coding.c (add_coding_system_to_list_mapper): + - (coding-system-list) should list aliases correctly. + +1999-12-07 Andy Piper <andy@xemacs.org> + + * fileio.c (vars_of_fileio): directory separator fix from Mike Alexander. + * windowsnt.h (ditto): + +1999-11-27 Adrian Aichner <adrian@xemacs.org> + + * sysfile.h: Encapsulate `fstat' for Windows NT just like stat to + get consistent file modification times. + + * sysdep.h: Declare `wait_for_termination' to use process handle, + not PID, on Windows NT native. + + * sysdep.c (wait_for_termination): Use process handle, not PID, on + Windows NT native. Set exit code correctly on Windows NT. + (sys_subshell): Use process handle, not PID, + on Windows NT native. + (sys_fstat): Add ENCAPSULATE_FSTAT for Windows NT. + + * process-nt.c (nt_create_process): Remove negative pid hack for + Windows 95. + (nt_send_process): Declare vol_proc volatile. + (get_internet_address): warn_when_safe if IP address cannot be + found. + (nt_open_network_stream): warn_when_safe if network stream fails + to open. + + * ntproc.c (create_child): Remove negative pid hack for Windows + 95. Remove incorrect and unnecessary USE_UNION_TYPE handling. + + * nt.c (fstat): Encapsulate for Windows NT just like stat to get + consistent file modification times. + + * callproc.c (call_process_cleanup): Use process handle, not PID, + on Windows NT native. + (Fcall_process_internal): Ditto. Close fd_error in parent. Don't + check for negative pid on Windows NT/9[58]. + +1999-12-07 Martin Buchholz <martin@xemacs.org> + + * XEmacs 21.2.23 is released. + +1999-12-06 Martin Buchholz <martin@xemacs.org> + + * events.c (Fcopy_event): Don't copy the lrecord_header. + + * lisp.h (DO_REALLOC): + Optimize. + Remove redundant parens. + Remove generic hygienic macro comment. + + * lrecord.h (set_lheader_implementation): Remove redundant parens. + +1999-12-05 Martin Buchholz <martin@xemacs.org> + + * lstream.c (Lstream_adding): + - Never compare a size_t and a possibly negative number. + - Optimize. + +1999-12-05 Kyle Jones <kyle_jones@wonderworks.com> + + * lisp/itimer.el: (require 'lisp-float-type). Use + floats directly in itimer-time-difference. + +1999-12-05 Andy Piper <andy@xemacs.org> + + * redisplay-output.c (redisplay_output_layout): avoid name hiding. + + * gui.h: declare gui_add_item_keywords_to_plist. + + * window.c (Fdelete_window): mark subwindows as changed so that + they can be GC'd if necessary. + +1999-12-02 Jan Vroonhof <vroonhof@math.ethz.ch> + + * src/callproc.c (Fcall_process_internal): Be careful in writing + terminating null when copying args. nargs can be < 4. + Idea from Klaus Frank <klausf@i3.informatik.rwth-aachen.de> + +1999-11-29 Kyle Jones <kyle_jones@wonderworks.com> + + * src/sound.c (Fding): Remove zero initialization of + static variables to avoid crashes on systems that dump + the initialized data segment read-only. + +1999-12-05 Jan Vroonhof <vroonhof@math.ethz.ch> + + * glyphs-x.c (convert_EImage_to_XImage): Guard against other + visual classes. From Rasmus Borup Hansen <rbh@math.ku.dk> + +1999-12-04 Martin Buchholz <martin@xemacs.org> + + * lstream.c: (filedesc_reader): + (filedesc_writer): Try number 2: Support broken systems where + return type of read() and write() is different from ssize_t. + + * systty.h: + * sysdep.h: + * sysdep.c: + - Replace macro calls to EMACS_GET_TTY and EMACS_SET_TTY with + function equivalents emacs_get_tty() and emacs_set_tty(). + - Moved prototypes to systty.h, where struct event_tty is defined. + - Renamed bogus `waitp' parameter to `flushp'. + + * lstream.c (filedesc_reader): Support broken systems where return + type of read() is different from ssize_t. + + * events.c (Fcopy_event): Avoid redundant EQ test if event2 is nil. + + * event-stream.c (menu_move_up): Remove redundant if block. + (menu_move_down): Gratuitous rewriting. + (menu_move_left): Work around Cygnus codefusion-990706 compiler bug. + (menu_move_right): Ditto. + + * lrecord.h (copy_lcrecord): + (zero_lcrecord): + Always add parentheses around uses of macro arguments. + + * sysdll.c: #include <stdlib.h> for exit(). + * unexhp9k800.x: #include <stdlib.h> for malloc(). + Use proper prototype for Save_Shared_Data(void). + +1999-12-04 Jan Vroonhof <vroonhof@math.ethz.ch> + + * src/redisplay.c (point_would_be_visible): Correct for topclip. + +1999-12-02 Hrvoje Niksic <hniksic@iskon.hr> + + * lisp.h: Declare Qself_insert_defer_undo. + + * event-stream.c (Fdispatch_event): Get the magic undo thing from + a symbol property, so commands other than self-insert-command can + install it. + (syms_of_event_stream): Define Qself_insert_defer_undo. + +1999-11-30 Martin Buchholz <martin@xemacs.org> + + * floatfns.c (emacs_rint): Rename rint to emacs_rint, so that + `#undef HAVE_RINT' works. + + * sysdep.h: Fix up prototypes for sys_read_1(), sys_write_1() + +1999-11-25 Andy Piper <andy@xemacs.org> + + * select-msw.c (Fmswindows_set_clipboard): selection fixes from + Mike Alexander. + (Fmswindows_delete_selection): ditto. + + * redisplay.h (CLASS_REDISPLAY_FLAGS_CHANGEDP): add size_changed. + (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto. + + * redisplay.c (redisplay_device): move size changed to macros in + redisplay.h + (redisplay_without_hooks): ditto. + + * redisplay-output.c (redisplay_output_layout): rename to avoid + name hiding. + + * process-nt.c (struct nt_process_data): mks toolkit fixes from + Mike Alexander. + (nt_create_process): ditto. + (nt_send_process): ditto. + + * nt.c (init_environment): make sure mingw32 gets the cached + system info. + + * gui.h: declare gui_add_item_keywords_to_plist. + + * event-msw.c (mswindows_wnd_proc): Clipboard fixes from Mike + Alexander. + + * console-msw.h: fix cygwin define/header 1.0 problems. + * glyphs-msw.c: ditto. + * ntplay.c: ditto. + * unexcw.c: ditto. + * s/cygwin32/h: ditto. + +1999-11-29 XEmacs Build Bot <builds@cvs.xemacs.org> + + * XEmacs 21.2.22 is released + +1999-11-28 Martin Buchholz <martin@xemacs.org> + + * XEmacs 21.2.21 is released. + +1999-11-26 Martin Buchholz <martin@xemacs.org> + + * callproc.c (Fcall_process_internal): + * config.h.in: + * esd.c: + * event-msw.c (ntpipe_slurp_reader): + * event-msw.c (ntpipe_shove_writer): + * event-msw.c (winsock_reader): + * event-msw.c (winsock_writer): + * event-stream.c (dribble_out_event): + * fileio.c: + * fileio.c (Fexpand_file_name): + * glyphs-x.c (write_lisp_string_to_temp_file): + * gpmevent.c (tty_get_foreign_selection): + * lisp.h: Update prototypes. + * lstream.c (Lstream_flush_out): + * lstream.c (Lstream_write_1): + * lstream.c (Lstream_was_blocked_p): + * lstream.c (Lstream_read_more): + * lstream.c (Lstream_read): + * lstream.c (Lstream_fputc): + * lstream.c (make_stdio_output_stream): + * lstream.c (stdio_flusher): + * lstream.c (stdio_closer): + * lstream.c (make_filedesc_output_stream): + * lstream.c (errno_would_block_p): + * lstream.c (filedesc_writer): + * lstream.c (make_lisp_string_input_stream): + * lstream.c (make_fixed_buffer_output_stream): + * lstream.c (fixed_buffer_reader): + * lstream.c (make_resizing_buffer_output_stream): + * lstream.c (make_dynarr_output_stream): + * lstream.c (make_lisp_buffer_output_stream): + * lstream.c (lisp_buffer_reader): + * lstream.h (lstream_implementation): + * md5.c (Fmd5): + * miscplay.h (reset_parsestate): + * process-nt.c (nt_send_process): + * process-unix.c (unix_send_process): + * sound.c: + * sysdep.c (sys_close): + * sysdep.c (sys_read_1): + * sysdep.c (sys_write_1): + * sysfile.h: + * file-coding.c (determine_real_coding_system): + * file-coding.c (Fdetect_coding_region): + * file-coding.c (struct decoding_stream): + * file-coding.c (decoding_reader): + * file-coding.c (Fdecode_coding_region): + * file-coding.c (struct encoding_stream): + * file-coding.c (encoding_reader): + * file-coding.c (Fencode_coding_region): + * file-coding.c (convert_to_external_format): + * file-coding.c (convert_from_external_format): + - Lstream functions mirror Unix98 read(),write(). Therefore use + Unix98 types size_t and ssize_t. + - Try to make Lstream* functions 64-bit clean. Someday someone + may actually want to read from a Lstream with more than 2**32 bytes. + - Add configure support for ssize_t. + - Update all callers of Lstream_read and Lstream_write to + use the new types. + - Fix esd* initiated C++ compile errors. + - Remove comments referring to `fpurge' - we don't want to call it + even if it's there. + + * lisp.h + - Remove some lingering Lucid compiler support. + + * lisp.h + - Add prototype for Fdelete_process. + + * gpmevent.c (Freceive_gpm_event): Remove unused variables. + +1999-11-27 Martin Buchholz <martin@xemacs.org> + + * Makefile.in.in (depend): Only update `depend' if there were changes. + +1999-11-26 Martin Buchholz <martin@xemacs.org> + + * editfns.c (get_system_name): Remove. + +1999-11-26 Martin Buchholz <martin@xemacs.org> + + * device-x.c (x_init_device): + - Replace magic number `17' with equivalent expn using sizeof. + - Replace strcmp with marginally more efficient memcmp. + - Avoid using C++ reserved word `class'. + + * file-coding.c (determine_real_coding_system): + - Look for both initial and final -*- cookies. + - Replace EQ (foo, Qnil) with NILP (foo) + - Make searching for cookies more efficient. + - Recognize only rfc 1521 characters in charset names. + +1999-11-22 Kazuyuki IENAGA <kazz@imasy.or.jp> + + * input-method-xlib.c (IMDestroyCallback): #ifdef'd by + "THIS_IS_X11R6", because it shouldn't be evaluated unless X11R6. + * input-method-xlib.c (IMInstantiateCallback): Ditto. + * input-method-xlib.c (XIM_init_device): Revive XOpenIM function + call for X11R5 systems. + * input-method-xlib.c (XIM_delete_frame): Enabled XDestroyIC() + again because XIM doesn't concern with frame deletion itself. + The XIC will be cleared by XIM when XIM is closing (at XIM destroy + callback). + +1999-10-25 Kazuyuki IENAGA <kazz@imasy.or.jp> + + * input-method-xlib.c: Added new lisp object Qxim_xlib. + New macro xim_warn(str), xim_warn1(fmt,str) and xim_info(str). + All the valid stderr_out were changed to those macros. + (IMDestroyCallback): Don't test the XIC if the frame is not X + frame. + (IMInstantiateCallback): Treat the client_data as "device" not + "frame" because the caller changed from frame to device. + Here initializes XIM and activates XICs for each frame which + doesn't have XIC. + (XIM_init_device): Register the XIM instantiation callback which + had been performed by XIM_init_frame() before. + (XIM_delete_frame): Added a test for the XIM before clearing XIC. + (XIM_init_frame): Placed an actual code for XIC activation which + was moved from IMInstantiateCallback. + (syms_of_input_method_xlib): New function which includes a symbol + Qxim_xlib that uses in emacs.c. + + * emacs.c: Added a function entry "syms_of_input_method_xlib" for + input_method_xlib. + + * symsinit.h: Added a declaration of "syms_of_input_method_xlib". + +1999-11-05 Robert Pluim <rpluim@bigfoot.com> + + * emacs.c (shut_down_emacs): Point users to PROBLEMS file + +1999-11-16 Jan Vroonhof <vroonhof@math.ethz.ch> + + * redisplay-output.c (compare_runes): Add comments about + results from profiling. + + * redisplay.h (struct rune): Do not use bitfields for members. + (struct rune): Add various comments about further optimizations. + +1999-11-19 Eric Darve <darve@crocco.stanford.edu> + + * abbrev.c (abbrev_oblookup): Check whether wordend <= wordstart + if Vabbrev_start_location is used too. + +1999-10-27 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp> + + * file-coding.c (detect_eol_type): Return CR when two + sequential CR are found. + (determine_real_coding_system): Check EOL type when coding: + cookie is found and EOL type is not specified. + Don't assume 8bit char as part of coding: cookie. + +1999-10-26 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp> + + * file-coding.c (determine_real_coding_system): Check if + '-*-' exists. End searching for coding: cookie at the end + of line. Check whether character before coding: is space, + tab or ';'. + +1999-11-07 William M. Perry <wmperry@aventail.com> + + * gpmevent.c: Completely rewrote GPM mouse support for linux + console. The TTY console and event stream are modified at run + time, so this code can now be used as a module. + (tty_get_foreign_selection): New function to allow pasting from + other virtual consoles. + (Fgpm_enable): New lisp-visible function to turn GPM on or off + at run time. + + * device-tty.c (tty_asynch_device_change): No longer need to + notify GPM code of window/console height/width changes. + + * console-tty.c (tty_init_console): Removed outdated GPM support + that was part of the console/event code. + + * event-Xt.c (emacs_Xt_select_console): Ditto + + * event-Xt.c (emacs_Xt_unselect_console): Ditto + + * event-unixoid.c (read_event_from_tty_or_stream_desc): Ditto + + * frame-tty.c (console_type_create_frame_tty): Ditto + +1999-11-17 Martin Buchholz <martin@xemacs.org> + + * nt.c: + * sysdep.c: + * s/mingw32.h: + * s/windowsnt.h: + - Use Unix 98 types uid_t, gid_t, pid_t. + - Define them. + +1999-11-01 Olivier Galibert <galibert@pobox.com> + + * alloc.c (reinit_alloc_once_early): Move purify_flag init... + * emacs.c (main_1): ...here, to get the correct value even with + the portable dumper. + +1999-11-17 Martin Buchholz <martin@xemacs.org> + + * lisp.h (BIT_VECTOR_LONG_STORAGE): Add extra parens. It's a macro! + + * tooltalk.c (tt_build_string): Remove extra parens. + * process.c (print_process): Remove extra parens. + * buffer.h (BI_BUF_PTR_BYTE_POS): + (BUF_PTR_BYTE_POS): + (BI_BUF_BYTE_ADDRESS): + (BI_BUF_BYTE_ADDRESS_BEFORE): + (valid_memind_p): + (bytind_to_memind): + (memind_to_bytind): + Remove extra parens. Inline functions are not macros. + + * editfns.c (Fuser_login_name): + (user_login_name): + Use proper type uid_t. + +1999-11-15 Martin Buchholz <martin@xemacs.org> + + * syntax.c (complex_vars_of_syntax): Make more readable. + (define_standard_syntax): New function. + + * syntax.c (forward-comment): Gradually make XEmacs 64-bit-clean. + +1999-11-14 Martin Buchholz <martin@xemacs.org> + + * mule-ccl.c (CCL_WRITE_STRING): Fix compiler warnings. + +1999-11-12 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp> + + * mule-charset.h (LEADING_BYTE_OFFICIAL_1, LEADING_BYTE_OFFICIAL_2): + New enum type to make sure no gap in the leading byte definition. + +1999-11-11 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp> + + * mule-charset.h (LEADING_BYTE_CYRILLIC_ISO_8859_5, + LEADING_BYTE_LATIN_ISO8859_9): Moved to 0x8B and 0x8C + to remove a hole in leading byte definition. + +1999-11-10 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp> + + * mule-charset.c (non_ascii_valid_charptr_p): Check if + private charset is defined. + +1999-11-09 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp> + + * mule-ccl.c (ccl_driver): Make sure generated sequences + are valid when doing `CCL_WRITE_STRING'. + (ccl-execute-on-string): Pass CCL_MODE_DECODING to ccl_driver. + +1999-11-10 XEmacs Build Bot <builds@cvs.xemacs.org> + + * XEmacs 21.2.20 is released + +1999-11-04 Martin Buchholz <martin@xemacs.org> + + * mule-ccl.c (ccl_driver): Warning suppression + +1999-11-01 SL Baur <steve@miho.m17n.org> + + * emacs.c (main_1): Guard call to reinit_vars_of_debug when not + building a debugged XEmacs. + +1999-10-28 Andreas Jaeger <aj@suse.de> + + * src/emacs.c (main_1): Don't set the malloc hooks if using + DOUG_LEA_MALLOC. + +1999-10-30 Olivier Galibert <galibert@pobox.com> + + * alloc.c (pdump_dump_rtables): Don't forget to dump the last + registered type. + (pdump): Ditto. + +1999-10-25 Olivier Galibert <galibert@pobox.com> + + * emacs.c (main_1): Call reinit_vars_of_scrollbar_x. + + * symsinit.h: Declare reinit_vars_of_scrollbar_x. + +1999-10-25 Martin Buchholz <martin@xemacs.org> + + * redisplay.h (CLASS_RESET_CHANGED_FLAGS): + (GLOBAL_RESET_CHANGED_FLAGS): + (CLASS_REDISPLAY_FLAGS_CHANGEDP): + (RESET_CHANGED_SET_FLAGS): + Fix C++ compile errors/warnings. + These macros were just a tad too clever. + + * process-unix.c (unix_open_network_stream): + * objects-x.c (allocate_nearest_color): + * mule-charset.c (vars_of_mule_charset): + * fileio.c (Ffile_truename): + * file-coding.c (vars_of_file_coding): + Fix compile errors/warnings. + + * alloc.c (xstrdup): Use fact that memcpy returns its first arg. + (allocate_lisp_storage): Simplify. + +1999-10-24 Olivier Galibert <galibert@pobox.com> + + * conslots.h: Add defines with first and last slot names. + * bufslots.h: Add defines with first and last slot names. + + * buffer.c (common_init_complex_vars_of_buffer): Renamed from + reinit_complex_vars_of_buffer + (reinit_complex_vars_of_buffer): Reset the slots to the dumped + value. + (complex_vars_of_buffer): Dump the slots values. + + * console.c (common_init_complex_vars_of_console): Renamed from + reinit_complex_vars_of_console + (reinit_complex_vars_of_console): Reset the slots to the dumped + value. + (complex_vars_of_console): Dump the slots values. + + * alloc.c: Rename reloc_table to pdump_reloc_table, rt_list to + pdump_rt_list and move them at the beginning of the file. + (gc_sweep): Unmark pdumped objects after the sweep phase. + (pdump_dump_rtables): Change a bare 256 to + last_lrecord_type_index_assigned. Add a separator between the + adresses or lrecords and the ones of C structs in the dump file. + (pdump_load): Cope with the new separator and the renamings. Stop + looking for the hash tables list after it has been found (duh!). + +1999-10-24 Robert Bihlmeyer <robbe@orcus.priv.at> + + * sound.c: support HAVE_ESD_SOUND + + * miscplay.c: + * miscplay.h: + * linuxplay.c: Move large part of linuxplay to generalized file + miscplay. Make it platform independent. + + * esd.c: New file + +1999-10-24 Adrian Aichner <adrian@xemacs.org> + + * lisp.h (Dynarr_declare): Fix boo-boo. + +1999-10-24 Olivier Galibert <galibert@pobox.com> + + * process-unix.c (allocate_pty): Fix HAVE_GETPT. + * process.h: Ditto. + +1999-10-24 Jan Vroonhof <vroonhof@math.ethz.ch> + + * redisplay.c (start_with_line_at_pixpos): Remove assert(cur_elt + >=0). Handle the cur_elt == 0 case. + +1999-10-24 Jan Vroonhof <vroonhof@math.ethz.ch> + + * unexelf.c: Merge Martin's c++ fixes back in + +1999-10-20 Jan Vroonhof <vroonhof@math.ethz.ch> + + * unexelf.c (unexec): Only copy the global offset + table from memory on sgi machines. + +1999-08-13 Alexandre Oliva <oliva@dcc.unicamp.br>, Vin Shelton <acs@xemacs.org> + + * unexelf.c: Enable GNU/Linux/alpha to build with gcc 2.95 by + adding support for an sbss section. Get IRIX 5.2 to build using + unexelf.c. + + * m/iris4d.h: Use unexelf.o for unexec. + + * m/iris5d.h: Use unexelf.o for unexec. + +1999-10-24 Jan Vroonhof <vroonhof@math.ethz.ch> + + * unexelf.c: Revert to 21.1 version + +1999-08-28 Jan Vroonhof <vroonhof@math.ethz.ch> + + * window.c (Fwindow_truncated_p): New function. + +1999-08-25 Jonathan Marten <jonathan.marten@uk.sun.com> + + * window.c (window_truncation_on): Always return 0 for minibuffer + windows, to enable auto scrolling. + +1999-10-24 Neal Becker <nbecker@fred.net> + * process.h: Unix98 PTY support + +1999-10-17 Jan Vroonhof <vroonhof@math.ethz.ch> + + * fileio.c (Ffile_truename): Do proper mule decoding on + the argument to xrealpath() + +1999-08-19 Stephen Tse <stephent@sfu.ca> + + * process-unix.c (unix_open_network_stream): Add udp network + support; rename variable Qtcpip to Qtcp, parameter family to + protocol for consistency with Qudp. + + * process-nt.c (nt_open_network_stream): Rename variable Qtcpip to + Qtcp, parameter family to protocol for consistency with Qudp. + + * process.c (global_variables): Add a new variable Qudp for udp + network support; rename variable Qtcpip to Qtcp for consistency + with Qudp. + (Fopen_network_stream_internal): Rename parameter FAMILY to + PROTOCOL for consistency; fix a minor typo and add an explanation + in docstring for udp programming. + (Fopen_multicast_group_internal): Fix a minor typo in docstring. + (syms_of_process): Add a new variable Qudp for udp network + support; rename variable Qtcpip to Qtcp for consistency with Qudp. + + * process.h (extern_variables): Add a new variable Qudp for udp + network support; rename variable Qtcpip to Qtcp for consistency + with Qudp. + + * procimpl.h: Add a new variable Qudp for udp network support; + rename variable Qtcpip to Qtcp for consistency with Qudp. + (struct process_methods): Rename parameter family to protocol. + + +1999-10-24 Olivier Galibert <galibert@pobox.com> + + * alloc.c (pdump_make_hash): Divide pointers by 8 for a better hash. + +1999-10-23 Olivier Galibert <galibert@pobox.com> + + * lrecord.h (struct lrecord_header): Removed dumped flags. + + * dynarr.c: Use DUMPEDP instead of dumped flag. + + * lisp.h (DUMPEDP): Added. Removed dumped flag from dynarr. + + * alloc.c: Removed hash_next linked list pointer. + + * *.c *.h: Removed markobj and mark_object parameters, removed GC_ + and XGC macros. + +1999-10-14 Andy Piper <andy@xemacs.org> + + * redisplay-x.c (x_output_shadows): fix dodgy maths for border + calculations. + + * gutter.c (output_gutter): be more accurate about the area to be + cleared since X seems to manage to do the clear after drawing the + border. + + * redisplay.h (RESET_CHANGED_FLAGS): new macro for setting + redisplay flags as a group. + (RESET_CHANGED_SET_FLAGS): ditto. + (CLASS_RESET_CHANGED_FLAGS): ditto. + (GLOBAL_RESET_CHANGED_FLAGS): ditto. + (REDISPLAY_FLAGS_CHANGEDP): new macro for testing redisplay flags + as a group. + (CLASS_REDISPLAY_FLAGS_CHANGEDP): ditto. + (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto. + + * redisplay.c (redisplay_frame): use CLASS_RESET_CHANGED_FLAGS + instead of setting flags individually. + (redisplay_device): ditto CLASS_REDISPLAY_FLAGS_CHANGEDP. + (redisplay_device): ditto. + (redisplay_device): ditto CLASS_RESET_CHANGED_FLAGS. + (redisplay_without_hooks): ditto GLOBAL_REDISPLAY_FLAGS_CHANGEDP. + (redisplay_without_hooks): ditto CLASS_REDISPLAY_FLAGS_CHANGEDP. + (redisplay_without_hooks): ditto. + (redisplay_without_hooks): ditto GLOBAL_RESET_CHANGED_FLAGS. + + * redisplay-x.c (x_output_string): unmap subwindows in the area. + (x_output_blank): ditto. + + * redisplay-output.c (redisplay_output_display_block): don't unmap + subwindows in case layout optimization can avoid it. + (redisplay_output_subwindow): unmap subwindows in the area. + (redisplay_output_layout): optimize the output of layouts - only + output glyphs that have changed if nothing else of redisplay + significance has occurred. + (redisplay_output_pixmap): change args to + redisplay_clear_clipped_region. + (redisplay_clear_clipped_region): allow the clipped region to be + cleared of all subwindows except the one passed in. + + * redisplay-msw.c (mswindows_output_blank): unmap subwindows in + the area. + (mswindows_output_cursor): ditto. + (mswindows_output_string): ditto. + + * gutter.c (calculate_gutter_size): if the window buffer is nil + then don't continue. + (update_frame_gutters): be more lenient about when we actually + update the gutter. Layout optimization makes this + non-costly. Cache redisplay flags that we want to temporarily + ignore. + + * glyphs.c (Fglyph_animated_timeout_handler): handle image + specific timeouts rather than iterating over the instance cache. + (glyph_animated_timeout_mapper): deleted. + (add_glyph_animated_timeout): use a weak list to hold onto the + image so that it can be GC'ed. + (disable_glyph_animated_timeout): disable a specific timeout. + (vars_of_glyphs): disable-animated-pixmaps is a new boolean for + controlling whether pixmaps are animated or not. + + * glyphs-msw.c (mswindows_finalize_image_instance): make sure the + image timeout gets disabled when the image gets freed. + + * glyphs-eimage.c (gif_instantiate): remove meaningless + comment. Cope with timeouts specified in the gif extension block. + + * event-msw.c (vars_of_event_mswindows): new variable + mswindows-meta-activates-menu. + (mswindows_wnd_proc): only goto defproc with VK_MENU if the user + wants it. + + * glyphs-x.c (x_finalize_image_instance): delete mask first so + that we can compare with image. + +1999-10-14 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * event-msw.c (mswindows_key_to_emacs_keysym): + Recognise keypad keys as different from normal keys. + +1999-10-14 Didier Verna <didier@xemacs.org> + + * glyphs-x.c (x_finalize_image_instance): avoid freeing null pixmaps. + +1999-10-10 Olivier Galibert <galibert@pobox.com> + + * symbols.c (init_symbols_once_early): dump Vquit_flag. + + * symsinit.h: Updated. + + * ntproc.c (vars_of_ntproc): Use defsymbol. + + * emacs.c (main_1): Updated reinit calls. + + * lisp.h: Removed Fpurecopy and pure_put declarations. + * fns.c: Removed pure_put. + + * eval.c (Fdefvar): pure_put -> Fput + (Fdefconst): Ditto. + * frame-x.c (init_x_prop_symbols): Ditto. + * symbols.c (deferror): Ditto. + + * alloc.c (Fmake_byte_code): Remove Fpurecopy call. + * buffer.c (vars_of_buffer): Ditto. + * bytecode.c (Ffetch_bytecode): Ditto. + (optimize_compiled_function): Ditto. + * emacs.c (vars_of_emacs): Ditto. + * emodules.c (vars_of_module): Ditto. + * eval.c (define_function): Ditto. + (Fautoload): Ditto. + * frame.c (vars_of_frame): Ditto. + * intl.c (Fset_domain): Ditto. + * lread.c (load_force_doc_string_unwind): Ditto. + * menubar.c (vars_of_menubar): Ditto. + * minibuf.c (reinit_complex_vars_of_minibuf): Ditto. + + * debug.c (reinit_vars_of_debug): Extracted. + * device-x.c (reinit_vars_of_device_x): Ditto. + * emodules.c (reinit_vars_of_module): Ditto. + * font-lock.c (reinit_vars_of_font_lock): Ditto. + * glyphs-widget.c (reinit_vars_of_glyphs_widget): Ditto. + * glyphs.c (reinit_vars_of_glyphs): Ditto. + * gui-x.c (reinit_vars_of_gui_x): Ditto. + * insdel.c (reinit_vars_of_insdel): Ditto. + * menubar-x.c (reinit_vars_of_menubar_x): Ditto. + * minibuf.c (reinit_complex_vars_of_minibuf): Ditto. + * mule-wnnfns.c (reinit_vars_of_mule_wnn): Ditto. + * print.c (reinit_vars_of_print): Ditto. + * redisplay.c (reinit_vars_of_redisplay): Ditto. + * select-x.c (reinit_vars_of_xselect): Ditto. + * undo.c (reinit_vars_of_undo): Ditto. + +1999-10-10 Olivier Galibert <galibert@pobox.com> + + * symsinit.h: Updated declarations, see other ChangeLog entries. + + * redisplay.c (init_redisplay): Ensure proper reinitialisation. + + * lrecord.h (XD_DYNARR_DESC): Introduce XD_INT_RESET and use it. + + * glyphs.c: Add the ii_keyword_entry and related descriptions. + Fix the image_instantiator_methods one. + + * file-coding.c: Plonk all data that needs to be dumped in a + dynamically allocated structure. + + * extents.c (reinit_vars_of_extents): Extracted from + vars_of_extents. + + * event-stream.c (vars_of_event_stream): Don't staticpro when + pdump_wire is enough. + + * event-msw.c (reinit_vars_of_event_mswindows): Extracted from + vars_of_event_mswindows. + + * event-Xt.c (reinit_vars_of_event_Xt): Extracted from + vars_of_event_Xt. + + * eval.c (vars_of_eval): Don't staticpro when pdump_wire is enough. + + * emacs.c (main_1): Added some reinit calls. + + * device-x.c (reinit_console_type_create_device_x): Extracted from + console_type_create_device_x. + + * console.h: Declare the console_type_entry_dynarr description. + + * console.c: Unstatic the console_type_entry_dynarr description. + + * alloc.c: Removed some dubious comments. Handle XD_INT_RESET. + +1999-10-07 Olivier Galibert <galibert@pobox.com> + + * symsinit.h: Updated declarations, see other ChangeLog entries. + + * minibuf.c (reinit_complex_vars_of_minibuf): Extracted from + complex_vars_of_minibuf. + + * lrecord.h: Removed XD_PARENT_INDIRECT (unused and + unimplemented), added XD_LO_LINK. + + * lisp.h (pdump_wire_list): Add declaration. + + * glyphs.h (INITIALIZE_DEVICE_IIFORMAT): Fix bug found by Andy. + (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): Fix stupid bug. + (REINITIALIZE_IMAGE_INSTANTIATOR_FORMAT): Remove, useless once the + stupid bug fixed. + + * glyphs.c (reinit_image_instantiator_format_create): Remove. + + * glyphs-x.c (reinit_image_instantiator_format_create_glyphs_x): + Remove. + + * glyphs-widget.c + (reinit_image_instantiator_format_create_glyphs_widget): Remove. + + * glyphs-msw.c + (reinit_image_instantiator_format_create_glyphs_mswindows): + Remove. + + * glyphs-eimage.c + (reinit_image_instantiator_format_create_glyphs_eimage): Remove. + + * frame.c (Fmake_frame): Don't reset the face cache when using the + stream device. + + * file-coding.c: Dumped the_codesys_prop_dynarr and added all + relevant descriptions. + + * events.c (reinit_vars_of_events): Extracted from vars_of_events. + + * eval.c: The subr is _not_ a lcrecord. + + * emacs.c (main_1): Call vars_of_specifier early before any + specifier creation (e.g in vars_of_glyphs, at least). Remove the + useless reinit_image_instantiator_format*. Add + reinit_vars_of_events and reinit_complex_vars_of_minibuf. Add + calls to lstream_type_create* and process_type_create*. + + * elhash.c: Dump Vall_weak_hash_tables correctly. + + * data.c: Dump Vall_weak_lists correctly. + + * console.c: Fix description. + + * console-stream.c (init_console_stream): Do initializations + correctly in the pdump case. + + * chartab.c: Fix description. Dump Vall_syntax_tables correctly. + (Fcopy_char_table): Link into Vall_syntax_tables. + + * alloc.c (pdump_wire_list): Added. + (Fgarbage_collect): Fix loop in stats couting missing the last + lrecord type. + (pdump_register_sub): Added XD_LO_LINK. + (pdump_dump_data): Ditto. Fixed XD_LO_RESET_NIL forgttting the + counter. + (pdump_reloc_one): Ditto. + (pdump_scan_by_alignement): Use last_lrecord_type_index_assigned + instead of 256. + (pdump_dump_wired): Added lists. + (pdump): Use last_lrecord_type_index_assigned instead of 256. + Dump last_lrecord_type_index_assigned value. Fix minor bugs. + +1999-10-07 Andy Piper <andy@xemacs.org> + + * glyphs-msw.c (mswindows_finalize_image_instance): zero out + bitmap slices. + + * glyphs-x.c (x_finalize_image_instance): fix FMW problem. + +1999-10-06 Andy Piper <andy@xemacs.org> + + * elhash.c (resize_hash_table): Correct reference to lrecord_header. + +1999-10-06 Damon Lipparelli <lipp@primus.com> + + * elhash.h: forward declare Lisp_Hash_Table. + +1999-10-06 Andy Piper <andy@xemacs.org> + + * glyphs.c (Fset_image_instance_property): mark glyphs as dirty + after setting an image instance property. + +1999-10-05 Andy Piper <andy@xemacs.org> + + * gutter.c (update_frame_gutters): output gutters if + windows_changed is set. This is the only way of catching changes + in selected window which obviously can affect the specifiers. + + * redisplay.c: new state flags, subwindows_state_changed and + subwindows_state_changed set. + (redisplay_window): use them. + (redisplay_device): ditto. + (redisplay_without_hooks): ditto. + (redisplay_frame): ditto. Reset subwindow cachels if + subwindows_changed is set. + (redisplay_window): call mark_glyph_cachels_as_clean after + redisplaying. + + * redisplay-x.c (x_output_x_pixmap): select correct + pixmap image for display depending on the currently selected + slice. + + * redisplay-output.c (compare_runes): check dirtiness when + checking RUNE_DGLYPH runes. + (compare_display_blocks): relax invalidation of display blocks + since we can now detect whether individual glyphs have changed or + not. + + * redisplay-msw.c (mswindows_output_dibitmap): select correct + bitmap image for display depending on the currently selected + slice. + + * glyphs.h (struct Lisp_Image_Instance): add a dirty flag. + (IMAGE_INSTANCE_DIRTYP): new macro. + (XIMAGE_INSTANCE_DIRTYP): ditto. + (MARK_IMAGE_INSTANCE_CHANGED): ditto. + (GLYPH_DIRTYP): ditto. + (XGLYPH_DIRTYP): ditto. + (MARK_GLYPH_CHANGED): ditto. + (GLYPH_CACHEL_DIRTYP): ditto. + (struct glyph_cachel): add a dirty flag. + + * glyphs.c (update_frame_subwindows): Don't update on + glyphs_changed. + (glyph_animated_timeout_mapper): new function. Map over the + instance cache lookinng for animated images to update. + (Fglyph_animated_timeout_handler): new function. Lisp callback for + handling animated image timeout events. + (disable_glyph_animated_timeout): new function. Add the animated + image timeout. + (disable_glyph_animated_timeout): new function. Remove the + animated image timeout. + (syms_of_glyphs): initialize Qglyph_animated_timeout_handler and + friends. + (vars_of_glyphs): initialize Vglyph_animated_ticker. + (image_instance_equal): add the currently displayed slice. + (image_instance_hash): ditto. + (allocate_glyph): initialize dirty flag. + (glyph_width): rename glyph -> glyph_or_image. + (glyph_height_internal): ditto. + (glyph_dirty_p): new function. Determine whether the image + instance in the domain and/or glyph is dirty. + (set_glyph_dirty_p): set the dirtiness. + (update_glyph_cachel_data): take dirtiness into account. Pass the + image instance we are interested in to glyph_width and friends. + (get_glyph_cachel_index): make non-static. Always call + update_glyph_cachel_data. + (mark_glyph_cachels_as_not_updated): meaningless formatting + change. + (mark_glyph_cachels_as_clean): new function. Clean dirtiness from + glyph cachels. + + * glyphs-x.h (struct x_image_instance_data): change + pixmap to a list of pixmaps. + (IMAGE_INSTANCE_X_PIXMAP_SLICE): new macro. + (IMAGE_INSTANCE_X_PIXMAP_SLICES): ditto. + (XIMAGE_INSTANCE_X_PIXMAP_SLICE): ditto. + (XIMAGE_INSTANCE_X_PIXMAP_SLICES): ditto. + + * glyphs-x.c (x_finalize_image_instance): make sure multi pixmap + images get deleted properly. + (init_image_instance_from_x_image): add slices paramater and use + it to initialize x_image_instance_data correctly. + (image_instance_add_x_image): new function. Add new pixmaps to our + set of instantiated pixmaps for an image. Used by animated images. + (x_init_image_instance_from_eimage): add a slices + parameter. Instantiate all images from the eimage. + (x_xpm_instantiate): update use of + init_image_instance_from_x_image. + (init_image_instance_from_xbm_inline): ditto. + (x_initialize_pixmap_image_instance): add slices paramater and use + it to allocate x_image_instance_data correctly. + + * glyphs-msw.h (struct mswindows_image_instance_data): change + bitmap to a list of bitmaps. + (IMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICE): new macro. + (IMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICES): ditto. + (XIMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICE): ditto. + (XIMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICES): ditto. + + * glyphs-msw.c (init_image_instance_from_dibitmap): add slices + paramater and use it to initialize mswindows_image_instance_data + correctly. + (image_instance_add_dibitmap): new function. Add new bitmaps to + our set of instantiated bitmaps for an image. Used by animated + images. + (mswindows_init_image_instance_from_eimage): add a slices + parameter. Instantiate all images from the eimage. + (mswindows_xpm_instantiate): update use of + init_image_instance_from_dibitmap. + (bmp_instantiate): ditto. + (init_image_instance_from_xbm_inline): ditto. + (mswindows_finalize_image_instance): make sure all the bitmap + slices get deleted. + (mswindows_initialize_dibitmap_image_instance): add slices + paramater and use it to allocate mswindows_image_instance_data + correctly. + + * glyphs-eimage.c (jpeg_instantiate): give extra paramter to + init_image_instance_from_eimage. + (png_instantiate): ditto. + (tiff_instantiate): ditto. + (gif_instantiate): allocate bitmaps for all gif slices not just + the first one. + + * device.h (struct device): add subwindows_state_changed flag. + (MARK_DEVICE_SUBWINDOWS_STATE_CHANGED): new macro. + (MARK_DEVICE_FRAMES_GLYPHS_CHANGED): ditto. + + * console.h (struct console_methods): add a slice parameter to + init_image_instance_from_eimage_method. + + * redisplay.c (create_string_text_block): Allow buffer to be nil + without crashing. + +1999-09-24 Andy Piper <andy@xemacs.org> + + * glyphs-x.c: only include gui-x.h if we are building with + widgets. + + * gui-x.c (vars_of_gui_x): only set popup_up_p if we have popups. + +1999-09-28 Lee Kindness <lkindness@csl.co.uk> + + * objects-x.c (allocate_nearest_color): will return 0 (failure) + when the colormap is full and the color it has computed to be the + 'nearest' has been allocated read/write. + +1999-10-02 Olivier Galibert <galibert@pobox.com> + + * search.c (reinit_vars_of_search): Reinit the search cache + correctly. + + * elhash.h: Make the description visible. Declare + resize_hash_table. + + * elhash.c (resize_hash_table): Extracted from enlarge_hash_table + to generalize the hash table reorganization. + (reorganize_hash_table): Added. + (enlarge_hash_table): Uses resize_has_table. + + * casetab.c (complex_vars_of_casetab): staticpro the mule mirror + tables. + + * alloc.c: Add correct management of blocks of structures. + Reorganize hash tables at reload since the hash values can change + with the pointers. + +1999-10-01 Olivier Galibert <galibert@pobox.com> + + * lisp.h: Add pdump_wire declaration + + * elhash.c (vars_of_elhash): Wire Vall_weak_hash_tables. + * symbols.c (init_symbols_once_early): Wire Qnil and Qunbound. + + * alloc.c (pdump_wire): Added.. + (pdump_load): Support it. + (pdump): Support it + + * glyphs-msw.c + (reinit_image_instantiator_format_create_glyphs_mswindows): Fix + macro calls. + +1999-09-28 Olivier Galibert <galibert@pobox.com> + + * symsinit.h: Added lots of prototypes. + + * symeval.h: Added defsymbol_nodump declaration. + + * symbols.c (find_symbol_value): Lame attempt at making the + startup go further. + (defsymbol_nodump): Added. + + * mule-charset.c: Collapsed global lisp objects arrays in one + dumpable structure. + + * lrecord.h: Added some flags. + + * lisp.h: Added dumped flag to dynarrs. Added dumpstruct + declaration. + + * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): Don't + staticpro dynamic variables. + + * glyphs.c (reinit_specifier_type_create_image): Added. + (image_instantiator_format_create): Dump image instantiator format + dynarr. + (reinit_image_instantiator_format_create): Added. + + * emacs.c (main_1): Added reinits calls. + + * dynarr.c: Protect dumped dynarrays from going berzek in free or + realloc. + + * specifier.h (INITIALIZE_SPECIFIER_TYPE): Don't staticpro dynamic + variables. + * specifier.c (specifier_type_create): Dump the specifier type + dynarr. + (reinit_specifier_type_create): Added. + * console.h (INITIALIZE_CONSOLE_TYPE): Don't staticpro dynamic + variables. + * console.c (console_type_create): Dump the console type dynarr. + (reinit_vars_of_console): Extracted from vars_of_console. + (reinit_complex_vars_of_console): Extracted from + complex_vars_of_console + * window.c (reinit_vars_of_window): Extracted from vars_of_window. + * toolbar.c (reinit_specifier_type_create_toolbar): Added. + * search.c (reinit_vars_of_search): Extracted from vars_of_search. + * objects.c (reinit_specifier_type_create_objects): Added. + (reinit_vars_of_objects): Extracted from vars_of_objects. + * lstream.c (reinit_vars_of_lstream): Extracted from + vars_of_lstream. + * lread.c (reinit_vars_of_lread): Extracted from vars_of_lread. + * gutter.c (reinit_specifier_type_create_gutter): Added. + * glyphs-x.c (reinit_image_instantiator_format_create_glyphs_x): + Added. + * glyphs-widget.c + (reinit_image_instantiator_format_create_glyphs_widget): Added + * glyphs-msw.c + (reinit_image_instantiator_format_create_glyphs_mswindows): Added. + * glyphs-eimage.c + (reinit_image_instantiator_format_create_glyphs_eimage): Added. + * event-stream.c (reinit_vars_of_event_stream): Extracted from + vars_of_event_stream + * eval.c (reinit_vars_of_eval): Extracted from vars_of_eval. + * device.c (reinit_vars_of_device): Extracted from vars_of_device. + * console-x.c (reinit_console_type_create_x): Added. + * console-tty.c (reinit_console_type_create_tty): Added + * console-stream.c (reinit_console_type_create_stream): Added. + (init_console_stream): If PDUMP, always reinitialise basic + devices. + * console-msw.c (reinit_console_type_create_mswindows): Added. + * buffer.c (reinit_vars_of_buffer): Extracted from + init_vars_of_buffer. + (reinit_complex_vars_of_buffer): Extracted from + complex_vars_of_buffer + + * alloc.c: Further with the portable dumping, the revenge. + (dumpstruct): Added. + (reinit_alloc_once_early): Extracted from init_alloc_once_early. + + * specifier.c (sizeof_specifier): Correct size computation. + (make_specifier_internal): Ditto. + +1999-09-27 Olivier Galibert <galibert@pobox.com> + + * alloc.c: Further with the portable dumping. + +1999-09-27 Martin Buchholz <martin@xemacs.org> + + * glyphs-x.c (update_widget_face): Remove bogus cast + + * data.c (sign_extent_lisp): + * data.c (check_int_range): + * data.c (Faref): + * data.c (Faset): + * data.c (number_char_or_marker_to_int): + * data.c (number_char_or_marker_to_double): + * data.c (Frem): + * data.c (Fmod): + * extents.c (print_extent_1): + * fns.c (print_bit_vector): + * fns.c (Flength): + * fns.c (Fsafe_length): + * fns.c (copy_list): + * fns.c (Fsubseq): + * fns.c (Felt): + * fns.c (Flast): + * fns.c (Fnbutlast): + * insdel.h: + * marker.c (print_marker): + * syntax.h: + * bytecode.c (bytecode_arithcompare): + * bytecode.c (bytecode_arithop): + * lisp.h: + * lisp.h (EXTERNAL_LIST_LOOP_DELETE_IF): + * lisp.h (TRUE_LIST_P): + * lisp.h (CHECK_TRUE_LIST): + * lisp.h (bit_vector_length): + * lisp.h (GCPRO4): Make consistent. + * lisp.h (NGCPRO4): Make consistent. + * lisp.h (NNGCPRO4): Make consistent. + * alloc.c (Fmake_list): + * alloc.c (Fmake_string): + Use proper 64-bit types, e.g. EMACS_INT or size_t instead of int. + This should make all arithmetic 64-bit clean. + + Use %ld with (long) casts in print statements of types with sizes + possibly larger than int. + + Following functions had mismatched prototypes!!: + do_marker_adjustment(), fixup_internal_substring(), scan_lists(), + char_quoted(), make_string_from_buffer(), + make_string_from_buffer_no_extents() + + The types of Bufpos, Bytind, Memind, Bytecount, Charcount, + Extcount are all now EMACS_INT. I hope to see the day when I can + create a buffer with more than INT_MAX characters, without having + XEmacs slow down to a crawl. I also hope to be able to create a + list with more than INT_MAX cons cells. + + * redisplay.c (decode_mode_spec): + The %p and %P specs in the mode line were not correct for buffers + larger than MAX_INT/100! The %p spec was off by .5% even for + small buffers! + +1999-09-27 Martin Buchholz <martin@xemacs.org> + + * cmdloop.c (num_input_keys): + * print.c (debug_temp): + * emacs.c (Vinfo_directory): + Delete unused variables + + * console-x.h (x_interline_space): Mark as unimplemented. + * redisplay-x.c (x_interline_space): Mark as unimplemented. + + * event-Xt.c (pending_timeouts): + * linuxplay.c (linuxplay_sndbuf): + * profile.c (QS*): + * search.c (searchbufs): + * specifier.c (specifier_type_entry_dynarr): + * undo.c (pending_boundary): + * event-stream.c (the_low_level_timeout_blocktype): + * extents.c (gap_array_marker_freelist): + * extents.c (extent_list_marker_freelist): + * print.c (being_printed): + * print.c (alternate_do_pointer): + * alloc.c (first_string_chars_block): + * alloc.c (current_string_chars_block): + * emacs.c (initial_argv): + * emacs.c (initial_argc): + * eval.c (lisp_eval_depth): + * free-hook.c (pointer_table): + * free-hook.c (free_queue): + * free-hook.c (current_free): + * free-hook.c (strict_free_check): + * redisplay.c (formatted_string_emchar_dynarr): + * redisplay.c (formatted_string_display_line): + * redisplay.c (formatted_string_extent_dynarr): + * redisplay.c (formatted_string_extent_start_dynarr): + * redisplay.c (formatted_string_extent_end_dynarr): + * redisplay.c (updating_line_start_cache): + * redisplay.c (last_display_warning_tick): + * redisplay.c (display_warning_tick): + * redisplay.c (internal_cache): + * window.c (Vwindow_configuration_free_list): + Make static. + + * redisplay.c (Vinitial_window_system): Make CONST. + +1999-09-24 Martin Buchholz <martin@xemacs.org> + + * redisplay-tty.c (term_get_fkeys_1): Minor aesthetic improvements. + + * doprnt.c (get_doprnt_args): Use int, not short, with va_arg. + +1999-09-24 Andy Piper <andy@xemacs.org> + + * redisplay-output.c (output_display_line): only clear the borders + if we are not displaying the gutter. + +1999-09-24 Jan Vroonhof <vroonhof@math.ethz.ch> + + * frame-x.c (x_any_window_to_frame): Let Xt find the widget and + then use x_any_widget_or_parent_to_frame(). + (x_find_frame_for_window): remove special cases. + +1999-09-24 Andy Piper <andy@xemacs.org> + + * scrollbar-x.c (x_window_is_scrollbar): deleted. + * scrollbar-x.h: ditto. + +1999-09-23 Martin Buchholz <martin@xemacs.org> + + * alloc.c (this_marks_a_marked_record): Remove. + + * buffer.c (mark_buffer): + * buffer.c (nuke_all_buffer_slots): + * console.c (mark_console): + * console.c (nuke_all_console_slots): + * frame.c (mark_frame): + * frame.c (nuke_all_frame_slots): + Treat MARKED_SLOT() macros consistently. + + * device.h (error_check_device_type): + * faces.c (face_getprop): + * fileio.c (DRIVE_LETTER): + * filelock.c (lock_file_1): + * frame-x.c (x_create_widgets): + * frame.h (error_check_frame_type): + * keymap.c (print_keymap): + * keymap.c (Fkey_description): + * keymap.c (where_is_recursive_mapper): + * mule-charset.h (CHARSET_LEADING_BYTE): + * objects-msw.c (mswindows_color_instance_hash): + * objects.c (color_instance_equal): + * objects.h (struct color_specifier): + * objects.h (struct font_specifier): + * objects.h (struct face_boolean_specifier): + * opaque.h (get_opaque_ptr): + * opaque.h (set_opaque_ptr): + * process-unix.c (set_socket_nonblocking_maybe): + * specifier.h (SPECIFIER_TYPE_P): + * symbols.c (store_symval_forwarding): + * syssignal.h (EMACS_KILLPG): + * terminfo.c (emacs_tparam): + * glyphs.c (glyph_putprop): + * glyphs.c (glyph_remprop): + * glyphs.c (Fimage_instance_subwindow_id): + * window.c (mark_window): + * window.c (mark_window_config): + * window.c (Fset_window_configuration): + * window.c (save_window_save): + * eval.c (Fuser_variable_p): + * eval.c (Fcommand_execute): + * eval.c (Feval): + * eval.c (Ffuncall): + * lisp.h (XPNTR): + * lisp.h (INT_OR_FLOATP): + * lisp.h (GC_INT_OR_FLOATP): + * lisp.h (XFLOATINT): + * lisp.h (IS_ANY_SEP): + * mule-ccl.c (Fccl_execute): + * mule-ccl.c (Fccl_execute_on_string): + * redisplay-x.c (x_output_string): + Remove redundant extra parentheses. + +1999-09-22 Martin Buchholz <martin@xemacs.org> + + * chartab.c (word_boundary_p): Add prototype for warning avoidance. + * eval.c (PRIMITIVE_FUNCALL): ANSIfy + * free-hook.c (fun_ptr): ANSIfy + * getloadavg.c: Remove declaration for errno. + * gui.c (allocate_gui_item): ANSIfy + * gui.h (allocate_gui_item): ANSIfy + * mule-ccl.c (resolve_symbol_ccl_program): Make static + * realpath.c: Remove K&R support. + * redisplay-x.c (x_output_display_block): Don't shadow previous local + * glyphs-widget.c (layout_instantiate): Don't shadow previous local + * gutter.c (get_gutter_coords): Make static. + * lread.c (locate_file_map_suffixes): Make static. + * ralloc.c (relinquish): ANSIfy + * redisplay.c: + * lisp.h: + Move prototypes from redisplay.c to lisp.h + +1999-09-22 Martin Buchholz <martin@xemacs.org> + + * glyphs-x.c (x_widget_set_property): + - Remove unnecessary initialization. + - Use char*, not Bufbyte *, with GET_C_STRING_OS_DATA_ALLOCA + * glyphs-x.c (x_widget_instantiate): + - Use char*, not Bufbyte *, with GET_C_STRING_OS_DATA_ALLOCA + * unexelf.c (unexec): + Add cast for C++ compilability. + * redisplay.h: + Fix a typo. + * ralloc.c (r_alloc_reinit): + SET_FUN_PTR was broken wrt ANSI aliasing! + To compensate, use __typeof__ when using gcc, else live with + possible (but rare) warnings. + * ralloc.c (init_ralloc): + Ditto + * ralloc.c: Use the real dlmalloc prototype for __morecore. + * lread.c (locate_file_map_suffixes): + * input-method-xlib.c (XIM_init_frame): + - Xlib functions should use XPointer, not XtPointer. + * input-method-xlib.c (XIM_delete_frame): + - Xlib functions should use XPointer, not XtPointer. + * input-method-xlib.c (IMDestroyCallback): + - Simplify. + - XFRAME (obj) can never be NULL, so don't test for it. + * gutter.h: + Add GUTTER_POS_LOOP for iterating over all gutter_pos'es + * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG): + Run c-backslash-region on macro body. + * gutter.c (gutter_was_visible): + Remove redundant parens - this is not a macro. + * gutter.c (redraw_exposed_gutters): + Use GUTTER_POS_LOOP. + * gutter.c (gutter_specs_changed): + Use GUTTER_POS_LOOP. + * gutter.c (gutter_geometry_changed_in_window): + Use GUTTER_POS_LOOP. + * gutter.c (update_frame_gutters): + Use GUTTER_POS_LOOP. + * gutter.c (init_frame_gutters): + Use GUTTER_POS_LOOP. + * file-coding.c (determine_real_coding_system): + Fix C++ compile error. + * emodules.c (find_make_module): + Cast return value from xrealloc + * emacs.c (Fkill_emacs): + Use __typeof__, when available. + * emacs.c (voodoo_free_hook): + Use __typeof__, when available. + (Unfortunately, the type of __free_hook is glibc-version-dependent) + * dired.c (user_cache): Use Bufbyte *, not char * + * dired.c (Fuser_name_all_completions): Ditto. + +1999-09-22 Andy Piper <andy@xemacs.org> + + * redisplay.c (redisplay_frame): reset the gutter display lines + when we reset the subwindows. + + * gutter.c (reset_gutter_display_lines): new function. + + * window.c (Flast_nonminibuf_window): new function equivalent to + FRAME_LAST_NONMINIBUF_WINDOW (). + (syms_of_window): declare it. + + * redisplay.c (create_string_text_block): don't add bogus eol + markers to gutter display lines. + + * glyphs.c (reset_subwindow_cachels): make sure we unmap + subwindows using unmap_subwindow so that expose events get + registered correctly. + + * window.c (window_scroll): use Vwindow_pixel_scroll_increment to + determine how much to scroll the window. + (vars_of_window): Vwindow_pixel_scroll_increment is a new + variable. + +1999-09-20 Robert Pluim <rpluim@nortelnetworks.com> + + * glyphs-x.c (update_widget_face): Guard fontList declaration for + non-motif uses. + +1999-09-20 Andy Piper <andy@xemacs.org> + + * glyphs-msw.c (mswindows_update_subwindow): update faces. + +1999-09-19 Andy Piper <andy@xemacs.org> + + * glyphs.c (update_frame_subwindows): update if faces have + changed. + + * glyphs-x.c (x_widget_instantiate): create the clip widget using + lwlib rather than directly. + (x_finalize_image_instance): delete the clip widget using lwlib. + (x_update_subwindow): update widget faces. + (update_widget_face): new function for updating the face + properties of a widget. + (x_widget_set_property): update widget faces. + + * lwlib-Xlw.c (xlw_create_clip_window): new function. We need to + manage the clip widgets using lwlib so that we can delete them in + a safe manner. + +1999-09-16 Martin Buchholz <martin@xemacs.org> + + * lisp-union.h: + * lisp-disunion.h: + Define new, potentially faster INT arithmetic macros + INT_PLUS, INT_MINUS, INT_PLUS1, INT_MINUS1 + * bytecode.c (execute_optimized_function): + Use new macros. + Fix metering code + * bytecode.c (bytecode_negate): + Optimize for integer case. + +1999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * m/mips.h: Support for mips-linux: Add !linux around places + that are not valid for linux, define TEXT_START, DATA_START, + DATA_SEG_BITS. + +1999-09-16 Andy Piper <andy@xemacs.org> + + * redisplay-output.c (redisplay_output_subwindow): clip subwindows + that don't completely fit on-screen rather than just unmapping + them. + + * glyphs.h: change signature of map_subwindow. + + * glyphs.c (map_subwindow): add display_glyph_area to the + signature. make sure the mapped area saved in the subwindow_cachel + reflects this. + (Fforce_subwindow_map): make a no-op. I don't think this does + anything useful. + + * glyphs-x.h (struct x_subwindow_data): save the Display rather + than the Screen. Add a clipwindow and clipwidget handle. + (IMAGE_INSTANCE_X_CLIPWINDOW): new accessor. + (IMAGE_INSTANCE_X_CLIPWIDGET): ditto. + (XIMAGE_INSTANCE_X_CLIPWIDGET): ditto. + (XIMAGE_INSTANCE_X_CLIPWINDOW): ditto. + + * glyphs-x.c (x_finalize_image_instance): destroy the clipwidget + as well as the widget itself. + (x_unmap_subwindow): unmap the clipwindow and clipwidget rather + than the widgets and subwindows themselves. move the widget inside + the clipwidget. + (x_subwindow_instantiate): hold onto the Display rather than the + Screen. allocate a clipwindow to put the subwindow inside. + (x_resize_subwindow): use saved Display directly. + (x_widget_instantiate): allocate a clipwidget of type EmacsManager + to put widgets inside. + + * glyphs-widget.c: remove group stuff. + + * glyphs-msw.h (struct mswindows_subwindow_data): new structure to + hold the clipwindow. + (IMAGE_INSTANCE_MSWINDOWS_CLIPWINDOW): new accessor. + (XIMAGE_INSTANCE_MSWINDOWS_CLIPWINDOW): ditto. + + * glyphs-msw.c: remove group stuff. + (mswindows_finalize_image_instance): destroy clipwindow as well as + the widget itself. + (mswindows_unmap_subwindow): unmap the clipwindow rather than the + widget. + (mswindows_map_subwindow): ditto. move the widget within the + clipwindow. + (mswindows_subwindow_instantiate): allocate and initialize + mswindows_subwindow_data. allocate a clipwindow with the subwindow + as a child. + (mswindows_widget_instantiate): ditto. + (mswindows_control_wnd_proc): new function that allows us to + propagate events from the widget to the main windows control loop. + + * device-msw.c (mswindows_init_device): register new widget clip window + class. + + * console.h (struct console_methods): add display_glyph_area to + map_window. + + * console-msw.h: declare new window class and wnd proc for + widgets. + +1999-09-14 Martin Buchholz <martin@xemacs.org> + + * general.c: + * eldap.c: + Move symbols used only by eldap.c into eldap.c as statics. + +1999-09-09 Martin Buchholz <martin@xemacs.org> + + * window.c (syms_of_window): + * symbols.c (syms_of_symbols): + * redisplay.c (syms_of_redisplay): + * print.c (syms_of_print): + * lisp.h: + * intl.c (syms_of_intl): + * general.c (syms_of_general): + * frame.c (syms_of_frame): + * fileio.c (syms_of_fileio): + * file-coding.h: + * file-coding.c (syms_of_file_coding): + * extents.c (syms_of_extents): + * event-stream.c (syms_of_event_stream): + * event-stream.c (Fnext_event): + * device.c (syms_of_device): + * data.c (syms_of_data): + * casetab.c (syms_of_casetab): + * casetab.c (check_case_table): + * callint.c (syms_of_callint): + * buffer.c (syms_of_buffer): + Delete unused C symbols: + Qbuffer_file_name, Qbuffer_undo_list, Quser_variable_p, + Qcurrent_prefix_arg, Qtranslate_table, Qkeywordp, + Qnumber_or_marker_p, Qcons, Qkeyword, Qignore, Qdelete_device, + Qcommand_execute, Qglyph_invisible, + Qbuffer_file_coding_system, Qfile_name_handler_alist, + Qframe_x_p, Qframe_tty_p, Qblack, Qkeyboard, Qmenubar, Qpath, + Qvector, Qwhite, Qcase, Qdomain, Qalternate_debugging_output, + Qprint_escape_newlines, Qprint_readably, Qfloat_output_format, + Qwindow_scroll_functions, Qfboundp, Qscroll_up, Qscroll_down + + Rename symbols as required by the CHECK_RECORD macro: + - Qcase_table_p to Qcase_tablep + - Qcoding_system_p to Qcoding_systemp + + * debug.h: + * debug.c (syms_of_debug): + Make debug.c's internal Lisp_Objects static. + + * events.c (vars_of_events): + * events.c (syms_of_events): + Use regular old defsymbol instead of KEYSYM + staticpro(). + + * select-x.c (CHECK_CUTBUFFER): + Rewrite in accordance with coding standards. + + * keymap.c (syms_of_keymap): + Use SPC in the same way as RET, TAB, etc. + +1999-08-27 Jan Vroonhof <vroonhof@math.ethz.ch> + + * xemacs-20/src/menubar-x.c (make_dummy_xbutton_event): Don't add + offset twice if HAVE_WMCOMMAND is defined. + +1999-09-13 Mike McEwan <mike@lotusland.demon.co.uk> + + * redisplay-x.c (x_output_vertical_divider): make sure + shadow_thickness is positive. + +1999-09-10 Julian Back <jback@rudd.compulink.co.uk> + + * process-nt.c (nt_create_process): fixup to cope with + Vprocess_environment. + +1999-09-02 Andy Piper <andy@xemacs.org> + + * redisplay-output.c (redisplay_output_layout): call output + routines with clear_clip false. output layout borders with text + correctly. + + * redisplay-msw.c (mswindows_output_blank): call output routines + with clear_clip true. + (mswindows_output_string): ditto. + (mswindows_output_display_block): ditto. + + * redisplay-x.c (x_output_display_block): call output routines + with clear_clip true. + + * redisplay.h: fix output routines for clear_clip parameter. + + * redisplay-output.c (redisplay_output_layout): cope with glyphs + in the border. + + * glyphs-widget.c (layout_instantiate): deal with border glyphs. + (check_valid_glyph_or_instantiator): renamed from + check_valid_glyph_or_image. + (check_valid_border): allow glyphs or their instantiators. + (check_valid_glyph_or_instantiator_list): renamed from + check_valid_glyph_or_image_list, + (glyph_instantiator_to_glyph): new function. make sure a glyph is + a glyph and not an instantiator. + (substitute_keyword_value): new function. replace a keyword value + with a new one. + +1999-09-01 Andy Piper <andy@xemacs.org> + + * glyphs.c (string_set_property): new function to set the data of + a string. + (image_instantiator_format_create): use it. + +1999-09-07 Hrvoje Niksic <hniksic@srce.hr> + + * fns.c (Fmapc): Rename back to Fmapc_internal. + +1999-07-30 Gleb Arshinov <gleb@cs.stanford.edu> + + * ntheap.h: CONST (semantically constant) name field of file_data + struct + + * unexnt.c (open_output_file): match function definition with + function declaration + + * editfns.c: #include "sysfile.h" for getcwd() prototype + + * gif_io.c: #include "sysfile.h" for close() prototype + +1999-09-02 Martin Buchholz <martin@xemacs.org> + + * elhash.c: + * elhash.h: + Change the :type keyword to :weakness, for compatibility with the + GNU Emacs 20.5 hash table implementation. + Keep (but don't document) the :type keyword for compatibility. + Obsolete function hash-table-type + General cleanup. + Define function sxhash for compatibility with Common Lisp and GNU Emacs. + +1999-09-01 Martin Buchholz <martin@xemacs.org> + + * floatfns.c (arith_error): + * floatfns.c (range_error): + * floatfns.c (range_error2): + * floatfns.c (domain_error): + * floatfns.c (domain_error2): + * lrecord.h (LRECORDP): + * console-x.h (X_ERROR_OCCURRED): + * console-x.h (HANDLING_X_ERROR): + * chartab.c (CATEGORYP): + * buffer.h (XCHAR_OR_CHAR_INT): + Remove redundant and confusing parentheses. + + * redisplay-output.c (redisplay_clear_to_window_end): + Remove redundant initialization. + + * redisplay.h: + * redisplay-msw.c: + * redisplay-x.c: + Move declarations of bevel_modeline() into redisplay.h. + +1999-08-30 Olivier Galibert <galibert@pobox.com> + + * lisp.h: Add staticpro_nodump for undumped staticpro-ing. + * alloc.c: Add staticpro_nodump for undumped staticpro-ing. Add + alignment information for dumped data. Enhance + descriptions. Phase out Vterminal_* variables while + dumping. + * lrecord.h: Add chained descriptions and automagically-reset + lisp_objects to the description system. + + * console-stream.h: Declare the Vterminal_* variables. + + * buffer.c: Don't dump Vbuffer_alist, Vbuffer_defaults and + Vbuffer_local_symbols. + * console.c: Don't dump Vconsole_list, Vconsole_defaults and + Vconsole_local_symbols. + * eval.c: Don't dump Qunbound_suspended_errors_tag. + * lread.c: Don't dump Vread_buffer_stream. + * lstream.c: Don't dump Vlstream_free_list[]. + * search.c: Don't dump last_thing_searched. + * window.c: Don't dump minibuf_window and + Vwindow_configuration_free_list[]. + + * faces.c: Add face description. + * fns.c: Add bit_vector description. + * glyphs.c: Add image specifier description. + * objects.c: Add color, face and face boolean specifiers descriptions. + * opaque.c: Add opaque description. Don't dump Vopaque_ptr_free_list. + * rangetab.c: Add range table description. + * specifier.c: Add specifier and specifier methods description. + * specifier.h: Add specifier extra description support. + + * symbols.c: Fix symbol_value_buffer_local_description. + + * gdbinit (Lisp): Add opaque_ptr, remove opaque_list. + +1999-09-02 Hrvoje Niksic <hniksic@srce.hr> + + * extents.c (extent_remprop): Get extent's plist address + correctly. + +1999-08-31 Andy Piper <andy@xemacs.org> + + * xmu.h: define Xmu/Converters.h things. + +1999-08-31 Andy Piper <andy@xemacs.org> + + * opaque.c (equal_opaque_ptr): define. + (hash_opaque_ptr): define. + + * xmu.h: define Xmu/Misc.h things. + +1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp> + + * file-coding.c (determine_real_coding_system): Treat `coding:' + cookie. + +1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp> + + * file-coding.c (struct decoding_stream): New member `counter'. + (reset_decoding_stream): Initialize `counter'. + (decode_coding_ucs4): Use `counter'. + (decode_coding_utf8): Likewise. + +1999-08-31 Andy Piper <andy@xemacs.org> + + * redisplay-output.c (redisplay_normalize_glyph_area): make sure + the clip offset doesn't exceed the height we have available to + show. + + * window.h (struct window): add top_yoffset and left_xoffset for + pixel scrolling. + (WINDOW_TEXT_TOP_CLIP): new macro. + + * window.c (window_scroll): add behaviour for pixel-scrolling of + tall lines. + + * redisplay.h (struct display_line): add top_clip. + (DISPLAY_LINE_HEIGHT): adjust for top_clip. + (DISPLAY_LINE_YPOS): ditto. + + * redisplay.c (position_redisplay_data_type): add + start_col_xoffset to prepare for pixel-based h-scrolling. + (WINDOW_SCROLLED): new macro. + (next_tab_position): use it. + (add_glyph_rune): use new hscoll vars. + (create_text_block): ditto. + (generate_displayable_area): adjust off-by-one error. + (regenerate_window): take top_clip into account. + (regenerate_window_extents_only_changed): ditto. + (regenerate_window_incrementally): ditto. + + * redisplay-x.c (x_output_display_block): use DISPLAY_LINE_YPOS, + DISPLAY_LINE_HEIGHT and DISPLAY_LINE_YEND macros. + (x_output_string): ditto. + (x_output_blank): ditto. + (x_output_hline): ditto. + (x_output_eol_cursor): ditto. + + * redisplay-output.c (output_display_line): allow for + top_clip. use DISPLAY_LINE_YPOS, DISPLAY_LINE_HEIGHT and + DISPLAY_LINE_YEND macros. + (redisplay_output_layout): output strings in layouts correctly. + (redisplay_clear_clipped_region): allow for top_clip. + (redisplay_calculate_display_boxes): ditto. + + * redisplay-msw.c (mswindows_output_blank): use DISPLAY_LINE_YPOS, + DISPLAY_LINE_HEIGHT and DISPLAY_LINE_YEND macros. + (mswindows_output_cursor): ditto. + (mswindows_output_string): ditto. + (mswindows_redraw_exposed_window): ditto. + (mswindows_output_display_block): ditto. + + * gutter.c: new specifier type gutter-size. + (gutter_size_validate): validate gutter-size specifier. + (Fgutter_size_specifier_p): predicate for gutter-size. + (Fredisplay_gutter_area): allow the gutter area to be redisplayed + under user contol, like Fredisplay_echo_area. + (syms_of_gutter): add new functions. + (specifier_type_create_gutter): add new specifier. + (specifier_vars_of_gutter): change specifier types of *-height to + gutter-size. + + * glyphs.c (glyph_width): make work with image instances. + + * console.h (struct console_methods): change api of output_string. + + * glyphs-x.c (x_map_subwindow): move before mapping as reported by + Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp> + +1999-08-30 Andy Piper <andy@xemacs.org> + + * glyphs-x.c (x_finalize_image_instance): X_MASK -> PIXMAP_MASK + for assignment. + (init_image_instance_from_x_image): ditto. + (x_xpm_instantiate): ditto. + (x_colorize_image_instance): ditto. Reported by Richard Cognot + <cognot@ensg.u-nancy.fr> + +1999-08-29 Andy Piper <andy@xemacs.org> + + * glyphs-x.c (x_widget_instantiate): move font initialisation so + that it doesn't get saved in the user defined args. + (x_tab_control_instantiate): Set the fg color of the tab's + children. + (x_tab_control_set_property): ditto. + +1999-08-27 Damon Lipparelli <lipp@primus.com> + + * events.h (XTIMEOUT): must preface Lisp_Timeout with ``struct'' + (XSETTIMEOUT): fixup typo + +1999-08-11 Jan Vroonhof <vroonhof@math.ethz.ch> + + * syntax.c (scan_words): Unified Mule and Non-mule scanning. + Word boundary search looks back instead of forward so that it + doesn't peek over the limit. + +1999-08-20 Olivier Galibert <galibert@pobox.com> + + * config.h.in: Add PDUMP define. + * emacs.c (Fdump_emacs): Hackish, call pdump() if configured in. + + * lrecord.h: Enhance description system. + * alloc.c: Fix vector and string description. Add portable + dumper enumeration fonctions. + + * symbols.c: Fix symbols description. Add symbol_value_forward + description. + * eval.c: Add subr description. + * elhash.c (CLEAR_HENTRY): Clean value pointer too. Fix hash + table description. + (remhash_1): CLEAR_HENTRY evaluates the parameter two times now. + +1999-08-20 Olivier Galibert <galibert@pobox.com> + + * opaque.c: Kill opaque lists, make Lisp_Opaque_Ptr a lrecord of + its own. + * opaque.h: Ditto. + + * eval.c (eval_in_buffer_trapping_errors): + (run_hook_trapping_errors): + (safe_run_hook_trapping_errors): + (call0_trapping_errors): + (call1_trapping_errors): + (call2_trapping_errors): OPAQUEP -> OPAQUE_PTRP. make_opaque_ptr + now takes a non-const void *. + +1999-08-20 Olivier Galibert <galibert@pobox.com> + + * opaque.c: Remove make_opaque_long. + + * opaque.h: Remove everything opaque_long related. + + * eval.c (vars_of_eval): Make Qunbound_suspended_errors_tag an + opaque_ptr. + + * emacs.c (main_1): Remove make_opaque_long from comment. + +1999-08-20 Olivier Galibert <galibert@pobox.com> + + * event-stream.c (mark_timeout): + (print_timeout): + (event_stream_generate_wakeup): + (event_stream_resignal_wakeup): + (event_stream_disable_wakeup): + (event_stream_wakeup_pending_p): + (vars_of_event_stream): Lisp_Timeout is now a lrecord. + + * events.h (struct Lisp_Timeout): Added. + +1999-08-24 Andy Piper <andy@xemacs.org> + + * console-x.h: declare new pixmap signatures. + +1999-08-23 Andy Piper <andy@xemacs.org> + + * glyphs-x.c (x_update_subwindow): make sure the widget size is + maintained after an update. + + * event-Xt.c (emacs_Xt_handle_magic_event): use + find_matching_subwindow to check whether the exposure is totally + inside a subwindow, if it is then ignore it. + + * glyphs.c (find_matching_subwindow): new function. + + * toolbar-x.c (x_draw_blank_toolbar_button): use new + x_output_shadows signature. + (x_output_toolbar_button): use new x_output_x_pixmap signature. + + * redisplay.h (struct display_box): new structure. + (struct display_glyph_area): ditto. + declare new display_box functions. + + * redisplay-x.c (x_output_pixmap): update for new display + box stuff. + (x_bevel_area): update to allow multiple edge styles and border + segments. + (x_output_display_block): update for new display_box stuff and + signatures. + (x_clear_region): ditto. + (x_output_x_pixmap): ditto. adjust offsets rather than clip. + (console_type_create_redisplay_x): declare new console methods. + (x_output_vertical_divider): update for new bevel_area signature. + (x_output_shadows): update to allow selective drawing of edges. + + * redisplay-tty.c (tty_output_display_block): do nothing for + layouts. + + * redisplay-output.c (redisplay_output_subwindow): convert to use + display_box structure, this allows us to put subwindows anywhere + with any offset, useful for layout glyphs. + (redisplay_output_layout): new function. output a layout and its + sub-glyphs. + (redisplay_output_pixmap): new modular function combining generic + parts of the X and mswindows versions. convert to use display_box + structures. + (redisplay_clear_clipped_region): new function. clear the area a + glyph is going into. + (redisplay_normalize_glyph_area): new function. calculate the + bounds of a display_glyph_area given a display_box. + (redisplay_normalize_display_box): new function. shrink a + display_box to enclose a display_glyph_area. + (redisplay_display_boxes_in_window_p): check whether the input + display_box and display_glyph_area are actually in a window. + (redisplay_calculate_display_boxes): calculate display boxes based + on conventional display_line metrics. + (bevel_modeline): update for new bevel_area signature. + + * redisplay-msw.c (mswindows_output_blank): update for new + display_box stuff. + (mswindows_output_string): ditto. + (mswindows_output_dibitmap): ditto. + (mswindows_output_dibitmap_region): ditto. + (mswindows_output_pixmap): ditto. + (mswindows_bevel_area): update to allow multiple edge styles and + border segments. + (mswindows_output_display_block): update for new display_box stuff + and signatures. + (mswindows_clear_region): ditto. + (console_type_create_redisplay_mswindows): declare new console methods. + + * lisp.h (edge_style): new enum. + declare display_box and display_glyph_area. + + * gutter.c (output_gutter): update for new bevel_area signature. + + * glyphs.h (image_instance_type): add layout. + (IMAGE_LAYOUT_MASK): ditto. + (LAYOUT_IMAGE_INSTANCEP): new macro. + (CHECK_LAYOUT_IMAGE_INSTANCE): ditto. + (struct Lisp_Image_Instance): add offsets for layout and the + layout type itself. move mask here also. + (IMAGE_INSTANCE_LAYOUT_CHILDREN): new macro. + (IMAGE_INSTANCE_LAYOUT_BORDER): ditto. + (XIMAGE_INSTANCE_LAYOUT_CHILDREN): ditto. + (XIMAGE_INSTANCE_LAYOUT_BORDER): ditto. + + * glyphs.c (mark_image_instance): update for layouts. + (print_image_instance): ditto. + (image_instance_equal): ditto. + (image_instance_hash): ditto. + (allocate_image_instance): initialise offsets for layout. + (decode_image_instance_type): update for layouts. + (encode_image_instance_type): ditto. + (Fimage_instance_height): ditto. + (Fimage_instance_width): ditto. + (allocate_glyph): ditto. + (glyph_width): allow image instances as an argument. update for layouts. + (glyph_height_internal): ditto. + (syms_of_glyphs): add layout symbols. + + * glyphs-x.h (struct x_image_instance_data): remove mask entry. + (IMAGE_INSTANCE_X_MASK): update. + + * glyphs-x.c (x_label_instantiate): new function. instantiate a + label. + (image_instantiator_format_create_glyphs_x): initialise new layout + glyph type. + + * glyphs-widget.c: new layout type. + (check_valid_orientation): new keyword checker for layouts. + (check_valid_justification): ditto. + (check_valid_border): ditto. + (check_valid_glyph_or_image_list): ditto. + (layout_possible_dest_types): new function for layout glyph type. + (layout_normalize): ditto. + (layout_instantiate): ditto. + (syms_of_glyphs_widget): new keywords for layout. + (image_instantiator_format_create_glyphs_widget): initialise the + layout glyph type. + + * glyphs-msw.h (struct mswindows_image_instance_data): remove mask + argument. + (IMAGE_INSTANCE_MSWINDOWS_MASK): update. + + * glyphs-msw.c: declare layout format. + (image_instantiator_format_create_glyphs_mswindows): initialise it. + + * general.c: new symbols for layouts. + + * console.h (struct console_methods): new console methods for + outputting pixmaps and strings. + +1999-08-23 Didier Verna <didier@xemacs.org> + + * sound.c: revert the renaming of `bell_volume' to `Vbell_volume' + and `bell_inhibit_time' to `Vbell_inhibit_time'. + +1999-08-18 Andy Piper <andy@xemacs.org> + + * redisplay-output.c (redisplay_output_subwindow): disable + clipping attempt. + +1999-08-17 Andy Piper <andy@xemacs.org> + + * gutter.c (redraw_exposed_gutter): handle degenerate case of no + area to expose or no gutter to display. + +1999-08-16 Charles G Waldman <cgw@fnal.gov> + + * sound.c: rename `bell_volume' to `Vbell_volume' and + `bell_inhibit_time' to `Vbell_inhibit_time'. + +1999-08-13 Charles G Waldman <cgw@fnal.gov> + + * sound.c: (bell-inhibit-time): New variable. + (ding): Use it. + (sound-alist): Fix docstring. + +1999-08-17 Andy Piper <andy@xemacs.org> + + * gui-x.c (button_item_to_widget_value): xstrdup name so that + deleting it is ok. + +1999-08-16 Jeff Miller <jmiller@smart.net> + + * syntax.c (scan_words): make compile. + +1999-08-16 Andy Piper <andy@xemacs.org> + + * redisplay-output.c (redisplay_output_subwindow): try and be more + relaxed about clipping possibilities. + + * glyphs-x.c (x_tab_control_set_property): free_widget_value_tree + rather than just the widget_value. + (x_update_subwindow): ditto. + (x_widget_instantiate): ditto. + + * gutter.c (output_gutter): shrink current display lines if + required. + +1999-08-15 Andy Piper <andy@xemacs.org> + + * redisplay.h: declare free_display_lines. + + * redisplay.c (free_display_lines): make non-static. + + * gutter.c (free_frame_gutters): use free_display_lines instead of + Dynarr_free. + (calculate_gutter_size): ditto. + +1999-08-12 Jan Vroonhof <vroonhof@math.ethz.ch> + + * eval.c (run_hook_with_args_in_buffer): GCPRO globals. + +1999-08-14 Andy Piper <andy@xemacs.org> + + * glyphs.c (update_subwindow_cachel): make it less brittle. + +1999-08-04 Mike Woolley <mike@bulsara.com> + + * scrollbar-msw.c (mswindows_handle_mousewheel_event): Fixed + problem in wheelmouse code occurring when the horizontal scrollbar + is enabled but not visible. + +1999-08-08 Andy Piper <andyp@beasys.com> + + * toolbar-msw.c (mswindows_redraw_frame_toolbars): new function. + (console_type_create_toolbar_mswindows): use it. + + * glyphs.c (Fset_image_instance_property): fiddly reorganisation. + + * redisplay-output.c (redisplay_output_display_block): unmap + subwindows in the block area before outputting the block. + + * event-msw.c (mswindows_wnd_proc): check the update rect before + painting and disable expose registration while painting. + + * glyphs.c (register_ignored_expose): check + hold_ignored_expose_registration before registering expose events. + + * redisplay.c (redisplay_frame): reset the subwindow cache before + displaying the gutter. + + * glyphs-msw.c (mswindows_map_subwindow): move the window before + mapping. + + * gutter.c (update_frame_gutters): check for glyphs_changed as if + it is the subwindow cache will have been reset. + +1999-08-06 Andy Piper <andyp@beasys.com> + + * gui-x.c (button_item_to_widget_value): cope with strings. + + * glyphs.h: declare global widget functions. + (IIFORMAT_HAS_SHARED_DEVMETHOD): new macro. + + * glyphs-x.c (x_combo_box_instantiate): do generic initialization + here. remove dead code. + (image_instantiator_format_create_glyphs_x): enable combo boxes + for Motif 2.0. + + * glyphs-widget.c (widget_instantiate_1): make non-static. + (tree_view_instantiate): renamed from combo_box_instantiate. + (image_instantiator_format_create_glyphs_widget): use new/changed methods. + + * glyphs-msw.c (mswindows_combo_box_instantiate): do generic + initialization here. + + * lwlib-Xm.c (xm_update_combo_box): new function. + (xm_update_one_widget): call it. + (xm_update_one_value): deal with combo boxes as well as lists. + (xm_create_combo_box): create a drop-down combo box. + + * toolbar-msw.c (mswindows_output_toolbar): call + mswindows_move_toolbar. + +1999-08-05 Andy Piper <andyp@beasys.com> + + * window.c (Fcurrent_pixel_column): new function. use display + lines to calculate pixel position of point. + * window.c (syms_of_window): declare it. + +1999-08-05 Andy Piper <andy@xemacs.org> + + * glyphs.c (check_for_ignored_expose): ignore exposures wholly + contained in our ignore list. + + * buffer.c (Frecord_buffer): add call to record-buffer-hook. + (syms_of_buffer): declare record-buffer-hook. + + * s/mingw32.h: define mousewheel things. + +1999-08-04 Mike Woolley <mike@bulsara.com> + + * windowsnt.h (_WIN32_WINNT): enable for win95 + + * s/cygwin32.h: define mousewheel things. + + * scrollbar-msw.h: declare mousewheel handler. + + * scrollbar-msw.c (mswindows_handle_mousewheel_event): new function. + +1999-08-04 Andy Piper <andy@xemacs.org> + + * gui-x.c (gui_items_to_widget_values): remove unused variable. + (gui_items_to_widget_values_1): ditto. + + * gui-x.h: unconditionally define since it is used everywhere. + +1999-08-04 Andy Piper <andy@xemacs.org> + + * glyphs-x.c (x_finalize_image_instance): only free pixels if we + have that type of image. + +1999-07-30 Andy Piper <andy@xemacs.org> + + * redisplay-output.c (redisplay_unmap_subwindows): add comparison + subwindow to not unmap if required. + (redisplay_unmap_subwindows_maybe): comparison is Qnil. + (redisplay_unmap_subwindows_except_us): new function. + (redisplay_output_subwindow): use it to unmap windows in the area + we are displaying into. + + * glyphs.c (update_subwindow_cachel_data): always update as we + only ever get called when an update is required. + (update_subwindow_cachel): new function. sync a subwindow with its + cachel. + (Fresize_subwindow): use it. + (register_ignored_expose): make sure we set the tail correctly. + +1999-07-28 Andy Piper <andy@xemacs.org> + + * redisplay-output.c (redisplay_clear_bottom_of_window): remove + unneeded device. + + * gutter.c (redraw_exposed_gutter): unmap subwindows from the + whole gutter. + + * gui.h: declare parse_gui_item_tree_list and + parse_gui_item_tree_children. + + * gui.c (parse_gui_item_tree_item): new function for parsing item + lists into gui-item trees. + (parse_gui_item_tree_children): ditto. + (parse_gui_item_tree_list): ditto. + + * gui-x.h: declare gui_items_to_widget_values. + + * gui-x.c (gui_items_to_widget_values_1): new function for + recursively parsing gui-items into widget_values. + (gui_item_children_to_widget_values): ditto. + (gui_items_to_widget_values): ditto. + (sanity_check_lwlib): add widgets macrolets. + + * glyphs.h (IMAGE_INSTANCE_WIDGET_ITEMS): rename from *ITEM. + (XIMAGE_INSTANCE_WIDGET_ITEMS): ditto. + (IMAGE_INSTANCE_WIDGET_ITEM): rename from *SINGLE_ITEM. + (XIMAGE_INSTANCE_WIDGET_ITEM): ditto. + (struct expose_ignore): new structure for storing ignorable expose + events. + + * glyphs.c (valid_image_instantiator_format_p): fix so that using + a console-type as a locale works. + (mark_image_instance): ITEM->ITEMS. + (image_instance_equal): ditto. + (image_instance_hash): ditto. + (struct expose_ignore_blocktype): new blocktype. + (check_for_ignored_expose): new function. checks frame exposure + list for events to ignore. + (register_ignored_expose): new function. registers an expose event + as ignorable. + (unmap_subwindow): register the expose event as ignorable. + (vars_of_glyphs): initialise the exposure blocktype. + + * glyphs-x.c (x_finalize_image_instance): use lw_destroy_widget. + (x_update_subwindow): modify all widgets using widget_value tree + rather than just a single widget value. + (x_widget_instantiate): LWLIB_USES_MOTIF -> LWLIB_WIDGETS_MOTIF. + make sure widgets don't resize themselves. + (x_tab_control_instantiate): new function. use lwlib tab functions. + (x_tab_control_set_property): new function. + (image_instantiator_format_create_glyphs_x): add tab_control. + + * glyphs-widget.c (widget_text_to_pixel_conversion): calculate + slightly more sensibly. + (initialize_widget_image_instance): ITEM->ITEMS. + (widget_instantiate_1): parse gui items generically into the ITEMS + entry. + + * glyphs-msw.c (mswindows_update_subwindow): replace + SINGLE_ITEM->ITEM. + (mswindows_register_widget_instance): ditto. + (add_tree_item): modify to use new pre-initialised gui-item + structure. + (add_tab_item): ditto. + (mswindows_tab_control_instantiate): ditto. + (mswindows_tab_control_set_property): ditto. + (image_instantiator_format_create_glyphs_mswindows): predicate + existence of widgets on HAVE_WIDGETS. + + * frame.h (struct frame): add subwindow_exposures variables. + + * frame.c (allocate_frame_core): reset subwindow_exposures links. + + * event-msw.c (mswindows_wnd_proc): check for ignored + expose events before redrawing. + + * event-Xt.c (emacs_Xt_handle_magic_event): check for ignored + expose events before redrawing. + +1999-07-30 SL Baur <steve@xemacs.org> + + * scrollbar-x.c: should include EmacsFrame.h. + From Jeff Miller <jmiller@smart.net> + +1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org> + + * XEmacs 21.2.19 is released + +1999-07-27 Jeff Miller <jmiller@smart.net> + + * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around + menubar_show_keybindings. + +1999-07-23 SL Baur <steve@miho> + + * mule-charset.c (syms_of_mule_charset): Delete duplicated + definition of Qccl_program. + + * mule-ccl.h: Make a global declaration of it here. + +1999-07-20 Bob Weiner <weiner@beopen.com> + + * s/sco7.h: Added from rr@sco.com. + +1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp> + + * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'. + +1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp> + + * file-coding.c (mule_decode): Setup `str->ccl.last_block'. + (mule_encode): Likewise. + + * mule-ccl.c (Qccl_program): New variable. + (CCL_SUSPEND): New macro. + (CCL_INVALID_CMD): New macro. + (CCL_READ_CHAR): Don't regard as invalid command while processing + the last block even if input is empty; use + `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'. + (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'. + + * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c. + (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10. + (CCL_STAT_SUSPEND_BY_DST): Likewise. + (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2. + (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3. + +1999-05-04 Ken'ichi Handa <handa@gnu.org> + + * mule-ccl.h (struct ccl_program): New member stack_idx. + + * mule-ccl.c (ccl_prog_stack_struct): Declare it as static. + (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them + before returing. + (setup_ccl_program): Initialize ccl->stack_idx to 0. + +1998-10-12 Kenichi Handa <handa@etl.go.jp> + + * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the + definitions. + +1998-08-18 Kenichi Handa <handa@etl.go.jp> + + * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while + processing the last block, don't just finish but processes eol + block of the current CCL program. + (ccl_driver): Add a new jump label ccl_repeat for the above + change. + +1998-04-15 Kenichi Handa <handa@etl.go.jp> + + * mule-ccl.c: Typo in comments fixed. + (Qccl_program_idx): New variables. + (CCL_ReadMultibyteChar2): Macro name changed from + CCL_ReadMultibyteCharacter. + (CCL_WriteMultibyteChar2): Macro name changed from + CCL_WriteMultibyteChar2. + (ccl_driver): Adjusted for the above changes. + (resolve_symbol_ccl_program): New function. + (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL + program. If CCL-PRGRAM is a vector, convert symbols in it to ID + numbers by resolve_symbol_ccl_program. + (Fccl_execute_on_string): Likewise. + (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector, + convert symbols in it to ID numbers by resolve_symbol_ccl_program. + +1998-01-21 Kenichi Handa <handa@etl.go.jp> + + * mule-ccl.h: (struct ccl_program): New member private_state. + + * mule-ccl.c + (CCL_Call): Fix the comment. + (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New + macros for CCL Commands. + (EXCMD): New macro. + (ccl_driver): New case label `CCL_Extension'. + (setup_ccl_program): Initialize the member `private_state' of CCL. + +1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org> + + * keymap.c (copy_keymap_internal): Inherit the default binding. + +1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp> + + * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get + focus the event (XIM_focus_event). + (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because + XIM_SetGeometry does nothing in input_method_motif.c, but re-unify + the interface for future use (XIM_SetGeometry). + * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot + location (XIM_SetSpotLocation). + (x_output_eol_cursor): Ditto. + +1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk> + + * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match + Olivier's change to lrecord.h of 1999-04-22 + +1999-07-20 Robert Pluim <rpluim@bigfoot.com> + + * gutter.c (redraw_exposed_gutter): Change type of pos from + enum toolbar_pos -> enum gutter_pos, since former is only defined + if toolbar support is. + +1999-07-19 Andy Piper <andy@xemacs.org> + + * glyphs-x.c (x_resize_subwindow): cope with widgets as well as + subwindows. + + * gutter.c (gutter_validate): new function for the gutter specifier. + (specifier_type_create_gutter): declare specifier validator. + + * buffer.h (INC_CHARBYTIND): add for no error checking version. + +1999-07-18 Andy Piper <andy@xemacs.org> + + * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data. + + * glyphs-msw.c (console_type_create_glyphs_mswindows): add + resize_subwindow. + (mswindows_resize_subwindow): new function. + + * gutter.c (redraw_exposed_gutter): only reset the + current_display_lines if non-zero. + (Fgutter_pixel_height): new function. + (Fgutter_pixel_width): new function. + + * event-msw.c (mswindows_wnd_proc): set the mask of the parameter + we want to retrive from the tab control. + +1999-07-17 Andy Piper <andy@xemacs.org> + + * window.c (change_window_height): mark gutters changed when we're + done. + + * gutter.c (specifier_vars_of_gutter): make defaults more + sensible. + + * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0 + height gutter. + (DEFAULT_GUTTER_WIDTH): change. + (DEFAULT_GUTTER_BORDER_WIDTH): change. + +1999-07-18 Andy Piper <andy@xemacs.org> + + * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data. + +1999-07-16 Andy Piper <andy@xemacs.org> + + * frame.c (Fmake_frame): call init_frame_gutters(). + + * redisplay.c (add_emchar_rune): use string functions if we are + working with a string. + (position_redisplay_data_type): add string element. + +1999-07-15 Andy Piper <andy@xemacs.org> + + * winslots.h: add real_gutter_size slots to hold the actual gutter + size. This is important for autodetected sizes. + + * gutter.c (calculate_gutter_size): calculate size for gutters + that have 'autodetect size. + + * redisplay-msw.c (mswindows_output_vertical_divider): adjust + extent of divider for gutters. + + * redisplay-x.c (x_output_vertical_divider): adjust extent of + divider for gutters. + + * scrollbar.c (update_scrollbar_instance): adjust scrollbar + position to take into account the gutters. + + * redisplay.c (generate_modeline): adjust modeline position to + take into account the gutters. + +1999-07-14 Andy Piper <andy@xemacs.org> + + * gutter.c (frame_topmost_window): new function. + (frame_bottommost_window): ditto. + (frame_leftmost_window): ditto. + (frame_rightmost_window): ditto. + +1999-07-13 Andy Piper <andy@xemacs.org> + + * redisplay.c (calculate_display_line_boundaries): use text + boundaries so that gutters get handled properly. + +1999-07-12 Andy Piper <andy@xemacs.org> + + * glyphs-x.c (x_widget_instantiate): set the font Motif-style if + we're using Motif. + + * redisplay-output.c (redisplay_clear_to_window_end): generalised + from redisplay-x.c + + * redisplay-x.c (redisplay_clear_to_window_end): moved to + redisplay.c + + * redisplay-msw.c (redisplay_clear_to_window_end): deleted. + + * gutter.c: new file - implements gutters. All new functions are + semantically equivalent to the toolbar functions. + (gutter_was_visible): new function. + (get_gutter_coords): ditto. + (output_gutter): ditto. + (clear_gutter): ditto. + (update_frame_gutters): ditto. + (redraw_exposed_gutter): ditto. + (redraw_exposed_gutters): ditto. + (free_frame_gutters): ditto. + (init_frame_gutters): ditto. + (decode_gutter_position): ditto. + (Fset_default_gutter_position): ditto. + (Fset_default_gutter_position): ditto. + (Fdefault_gutter_position): ditto. + (gutter_after_change): ditto. + (Fgutter_specifier_p): ditto. + (recompute_overlaying_specifier): ditto. + (gutter_specs_changed): ditto. + (default_gutter_specs_changed): ditto. + (gutter_geometry_changed_in_window): ditto. + (default_gutter_size_changed_in_window): ditto. + (default_gutter_border_width_changed_in_window): ditto. + (default_gutter_visible_p_changed_in_window): ditto. + (syms_of_gutter): ditto. + (vars_of_gutter): ditto. + (specifier_type_create_gutter): ditto. + (specifier_vars_of_gutter): ditto. + + * gutter.h: new file. Contains gutter constants and sizing macros + similar to those for the toolbar. + + * winslots.h: add gutter variables. + + * window.h: declare window_is_* functions. + + * window.c (window_is_lowest): make non-static. + (window_is_highest): ditto. + (window_top_toolbar_height): deleted. + (window_bottom_toolbar_height): deleted. + (window_left_toolbar_width): deleted. + (window_right_toolbar_width): deleted. + (window_top_gutter_height): add gutter sizing. + (window_bottom_gutter_height): ditto. + (window_left_gutter_width): ditto. + (window_right_gutter_width): ditto. + + * symsinit.h: declarations for gutters vars etc. + + * search.c (bi_find_next_emchar_in_string): new function. + + * scrollbar.c (update_scrollbar_instance): remove reference to + window_bottom_toolbar_height which did nothing. + + * redisplay.h (struct display_line): add face indices for + overriding defaults in output_display_line. + Add gutter_changed flags and declarations. + + * redisplay.c (create_string_text_block): new function, similar to + create_text_block but for strings. Display tables etc are used + from the currently selected window. + (generate_string_display_line): ditto. Similar to + generate_display_line. + (generate_displayable_area): generate display lines for a given + area on a frame. Input is the string, with associated extents, to + display. + (redisplay_frame): add gutter_changed check. + (redisplay_device): ditto. + (redisplay_without_hooks): ditto. + + * redisplay-x.c (bevel_modeline): moved to redisplay.c. + (x_redraw_exposed_area): redraw exposed gutters. + (x_bevel_area): new redisplay device method. + (x_type_create_redisplay_mswindows): add bevel_area device method. + (x_output_display_block): fiddly Martin-style cleanup. + (x_output_vertical_divider): use bevel_area. + + * redisplay-output.c (output_display_line): check display_lines + for face information before using defaults. + (bevel_modeline): new function, calls bevel_area with appropriate + values. + + * redisplay-msw.c (bevel_modeline): moved to redisplay.c. + (mswindows_redraw_exposed_area): redraw exposed gutters. + (mswindows_bevel_area): new redisplay device method. + (console_type_create_redisplay_mswindows): add bevel_area device + method. + + * indent.c (string_column_at_point): add column_at_point but for + strings. + + * glyphs-x.c (image_instantiator_format_create_glyphs_x): only + instantiate widgets that we have a toolkit for. + + * general.c: add Qgutter. + + * frame.h (struct frame): add display lines for gutters and + visibility flags. + + * frame.c (set_frame_selected_window): mark gutters changed. + + * emacs.c (main_1): add gutter initialisation. + + * device.h (struct device): add gutter_changed flag and macros to + manipulate it. + + * console.h (struct console_methods): new bevel area redisplay + method. + + * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as + REAL_INC_BYTIND is for buffers. + (INC_CHARPTR): ditto. + + * Makefile.in.in (objs): add gutter.o + +1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org> + + * XEmacs 21.2.18 is released + +1999-07-08 SL Baur <steve@mule.m17n.org> + + * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with + XIM_XLIB. + (emacs_Xt_handle_magic_event): Ditto. + * redisplay-x.c (x_output_string): Ditto. + (x_output_eol_cursor): Ditto. + +1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp> + + * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the + problem that when XIM is destroyed or missed with some reason, + xemacs will die. Now xim=xlib waits the XIM will be ready and + endures the case of XIM end up. + +1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk> + + * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT, + SIGINT and SIGCHLD before calling tt_open and restore the + afterwards. This fixes e.g. the zombie subprocesses on Solaris + +1999-07-06 SL Baur <steve@xemacs.org> + + * s/linux.h: gcc-2.8 changes for powerpc + From Justin Vallon <vallon@mindspring.com> + +1999-07-05 Didier Verna <didier@xemacs.org> + + * indent.c: new symbol Qcoerce. + (Fmove_to_column): use it + doc string update. + +1999-07-04 Andy Piper <andy@xemacs.org> + + * console.c: undo earlier Fprovide changes. + * fns.c: ditto. + * console.h: ditto. + + * console-tty.c (image_instantiator_format_create_glyphs_tty): new + function. validate appropriate image formats for tty. + + * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): + initialize consoles parameter. + (struct image_instantiator_methods): add consoles parameter. + (IIFORMAT_VALID_CONSOLE): new function. validate the format on the + console. + (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given + console. + + * glyphs-msw.c: declare instantiators for later use. + (image_instantiator_format_create_glyphs_mswindows): validate xpm + and friends on the mswindows console. + * glyphs-x.c: ditto. + + * glyphs.c (valid_image_instantiator_format_p): disallow glyphs + that have not been registered on the supplied device. + (Fvalid_image_instantiator_format_p): add locale argument. + (instantiate_image_instantiator): valid image instantiator on the + device. + + * symsinit.h: add image_instantiator_format_create_glyphs_tty() + declaration. + + * emacs.c (main_1): add call to + image_instantiator_format_create_glyphs_tty(). + +1999-06-29 Olivier Galibert <galibert@pobox.com> + + * lisp.h: Add #include <stddef.h>. + + * sysdep.c: Remove #include <stddef.h>. + * symbols.c: Remove #include <stddef.h>. + * sheap.c: Remove #include <stddef.h>. + * opaque.c: Remove #include <stddef.h>. + * nt.c: Remove #include <stddef.h>. + * mule-charset.c: Remove #include <stddef.h>. + * marker.c: Remove #include <stddef.h>. + * file-coding.c: Remove #include <stddef.h>. + * extents.c: Remove #include <stddef.h>. + * elhash.c: Remove #include <stddef.h>. + * data.c: Remove #include <stddef.h>. + * chartab.c: Remove #include <stddef.h>. + * bytecode.c: Remove #include <stddef.h>. + * alloc.c: Remove #include <stddef.h>. Fix vector description + +1999-06-30 SL Baur <steve@miho.m17n.org> + + * editfns.c: Document "%s" format spec. + Suggested by Bob Weiner <weiner@altrasoft.com> + +1999-06-29 Andy Piper <andy@xemacs.org> + + * event-msw.c: fix definition booboo. + +1999-06-28 Andy Piper <andy@xemacs.org> + + * glyphs-x.c: change tree -> tree-view, progress -> + progress_gauge, edit -> edit-field, tab -> tab-control, combo -> + combo-box. + (complex_vars_of_glyphs_x): provide-on-console the implemented + widget types. + + * glyphs-msw.c: ditto. + (complex_vars_of_glyphs_mswindows): ditto. + + * lisp.h: add Fprovide_on_console. + + * fns.c (Ffeaturep): add extra optional console argument. + (Fprovide_on_console): like Fprovide but provides only on the + specified console-type. + (Frequire): check console-features as well as global features. + + * console.c (Fconsole_features): new function. return features for + this console. + (syms_of_console): add Fconsole_features. + + * console.h (CONMETH_FEATURES): new function for accessing features. + (CONSOLE_FEATURES): ditto. + (struct console_methods): add features slot. + (INITIALIZE_CONSOLE_TYPE): initialize features slot. + +1999-06-28 Andy Piper <andy@xemacs.org> + + * event-Xt.c (handle_focus_event_1): conditionally compile for + X11R5. + + * s/cygwin32.h: fix me website address. + + * event-msw.c: add NMHDR for pre b20 cygwin builds. + + * gui-x.c (button_item_to_widget_value): only add callback if it + is non-nil. + + * glyphs-x.c: add progress, edit and combo instantiators. + (x_widget_set_property): new function. uses lwlib to set widget + values. + (x_widget_property): new function. uses lwlib to get widget + values. + (x_button_instantiate): support images in buttons. + (x_button_property): new function. use lwlib to get the selected + state. + (x_progress_instantiate): new function for instantiating progress + gauges. + (x_progress_set_property): new function. sets the progress gauge + position. + (x_edit_instantiate): new function. for instantiating edit fields. + (x_combo_instantiate): new function. for instantiating combo + boxes. + (image_instantiator_format_create_glyphs_x): add new device ii + formats. + + * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var. + + * console.h (CONSOLE_FEATURES): new features accesor. + + * conslots.h (MARKED_SLOT): add features entry. + +1999-06-25 Andy Piper <andy@xemacs.org> + + * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new + gui functions. + + * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h + + * gui.h (struct Lisp_Gui_Item): add accelerator. + + * gui.c (gui_item_add_keyval_pair): deal with accelerators. + (gui_item_init): ditto. + (gui_add_item_keywords_to_plist): ditto. + (mark_gui_item): ditto. + (gui_item_hash): ditto. + (gui_item_accelerator): new function. + (gui_name_accelerator): new function stolen from gui-x.c + + * gui-x.c (popup_selection_callback): always define. mark + subwindows changed after calling a callback. + (menu_name_to_accelerator): deleted. + (button_item_to_widget_value): forward gui_item things to gui_item + functions. + + * glyphs-x.h (struct x_subwindow_data): add data for widgets. add + appropriate accesors. + + * glyphs-x.c: declare new glyph formats. + (x_finalize_image_instance): unmanage and destroy widgets if they + exist. + (x_unmap_subwindow): handle widgets specially. + (x_map_subwindow): ditto. offset display of widgets by offset of + text widget within container. + (x_update_subwindow): new function. call lw_modify_all_widgets + when we are a widget. + (x_widget_instantiate): new function for generically creating + widgets-glyphs. toolkit specifics forwarded to lwlib. + (x_button_instantiate): new function for instantiating + widgets-glyph buttons. + (console_type_create_glyphs_x): register update_subwindow. + (image_instantiator_format_create_glyphs_x): register widget and + button types. + + * event-msw.c (mswindows_wnd_proc): remove redundant variable. + + * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1 + when we get a button press in case we do not have the focus. + (handle_focus_event_1): set the keyboard focus to the text widget + if we do not have it. + + * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item + functions. + +1999-06-24 SL Baur <steve@miho.m17n.org> + + * syntax.c (scan_words): Restore non-Mule code. + (word_constituent_p): Restore. + +1999-06-23 Olivier Galibert <galibert@pobox.com> + + * config.h.in: Add missing #undef *_USER_DEFINED. + +1999-06-23 SL Baur <steve@miho.m17n.org> + + * lisp.h (set_bit_vector_bit): Force promotion to unsigned long + int (fixes a 64-bit problem). + + * chartab.c (word_boundary_p): Use EQ not == for lisp_object + comparison. + +1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> + + * paths.h.in (PATH_DOC): Made doc-directory configurable. + +1999-06-22 Olivier Galibert <galibert@pobox.com> + + * lrecord.h: Added basic external description system. + + * symbols.c: Added symbol, symbol-value-buffer-local, + symbol-value-lisp-magic and symbol-value-varalias description. + * mule-charset.c: Added charset description. + * marker.c: Added marker description. + * keymap.c: Added keymap description. + * glyphs.c: Added glyph description. + * floatfns.c: Added float description. + * file-coding.c: Added coding-system description. + * extents.c: Added extent description. + * elhash.c: Added hash-table description. + * data.c: Added weak-list desciption. + * chartab.c: Added char-table-entry and char-table description. + * bytecode.c: Added compiled-function description. + * alloc.c: Added cons, vector and string description. + +1999-06-22 Olivier Galibert <galibert@pobox.com> + + * lrecord.h (struct lrecord_header): Reduced size to 4 bytes. + Updated everything to the removal of the "flags" substructure. + + * lisp.h (subr_lheader_initializer): Updated. + * symeval.h (symbol_value_forward_lheader_initializer): Updated. + +1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp> + + * syntax.c (word_constituent_p): Deleted. + (scan_words): Use `WORD_BOUNDARY_P'. + + * chartab.c (Vword_combining_categories): New variable. + (Vword_separating_categories): Likewise. + (CATEGORYP): New macro. + (CATEGORY_SET): Likewise. + (CATEGORY_MEMBER): Likewise. + (word_boundary_p): New function. + (complex_vars_of_chartab): Set up new variable + `word-combining-categories' and `word-separating-categories'. + +1999-06-18 Olivier Galibert <galibert@pobox.com> + + * lrecord.h: Added description as a placehold in the lrecord + implementation structures. Added the parameter to all constructor + defines. + + * alloc.c: Added placeholders. + * buffer.c: Ditto. + * bytecode.c: Ditto. + * chartab.c: Ditto. + * console.c: Ditto. + * data.c: Ditto. + * database.c: Ditto. + * device.c: Ditto. + * eldap.c: Ditto. + * elhash.c: Ditto. + * eval.c: Ditto. + * event-stream.c: Ditto. + * events.c: Ditto. + * extents.c: Ditto. + * faces.c: Ditto. + * file-coding.c: Ditto. + * floatfns.c: Ditto. + * fns.c: Ditto. + * frame.c: Ditto. + * glyphs.c: Ditto. + * gui-x.c: Ditto. + * keymap.c: Ditto. + * lstream.c: Ditto. + * marker.c: Ditto. + * mule-charset.c: Ditto. + * objects.c: Ditto. + * opaque.c: Ditto. + * process.c: Ditto. + * rangetab.c: Ditto. + * specifier.c: Ditto. + * symbols.c: Ditto. + * toolbar.c: Ditto. + * tooltalk.c: Ditto. + * window.c: Ditto. + +1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org> + + * XEmacs 21.2.17 is released + +1999-06-13 Oscar Figueiredo <oscar@xemacs.org> + + * config.h.in (HAVE_LDAP_SET_OPTION): New define + (HAVE_LDAP_GET_LDERRNO): Ditto + (HAVE_LDAP_RESULT2ERROR): Ditto + (HAVE_LDAP_PARSE_RESULT): Ditto + (HAVE_UMICH_LDAP): Removed + (HAVE_NS_LDAP): Removed + + * eldap.h (struct Lisp_LDAP): Removed the `livep' member as + suggested by Olivier Galibert + (CHECK_LIVE_LDAP): Test on `ld' instead of `livep' + + * eldap.c: Take the removal of `livep' into account in all the + necessary functions + (signal_ldap_error): Take two additional parameters + Added new finer compilation conditions in order to use + ldap_parse_result or ldap_result2error if available + (Fldap_open): Conform to this new API + (Fldap_search_internal): Ditto + +1999-06-17 SL Baur <steve@miho.m17n.org> + + * data.c (struct int_or_double): Should use EMACS_INT not int. + +1999-06-16 Norbert Koch <n.koch@eai-delta.de> + + * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in + redisplay-x.c + +1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp> + + * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with + `CCL_MODE_ENCODING'. + + * file-coding.c (mule_decode): Run `ccl_driver' with + `CCL_MODE_DECODING'. + (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'. + + * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'. + (ccl_driver): Add new argument `conversion_mode'. + (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'. + (Fccl_execute_on_string): Likewise [perhaps it is better to add + new optional argument]. + + * mule-ccl.h (CCL_MODE_ENCODING): New macro. + (CCL_MODE_DECODING): New macro. + (ccl_driver): Add new argument `conversion_mode'. + +1999-06-15 SL Baur <steve@miho.m17n.org> + + * mule-charset.c (Fsplit_char): New subr. + (Fchar_octet): delete. + (syms_of_mule_charset): DEFSUBR it. + +1999-06-13 Andy Piper <andy@xemacs.org> + + * menubar.h: update declarations involving gui_items. + + * lisp.h: declare Lisp_Gui_Item. + + * glyphs.h (struct Lisp_Image_Instance): update type of gui_item. + + * glyphs.c (mark_image_instance): modify for new lisp-based gui_items. + (print_image_instance): ditto. + (image_instance_equal): ditto. + (image_instance_hash): ditto. + + * event-msw.c (mswindows_need_event): assert badly_p status. + (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with + callbacks in tree-view and tab-control widgets. + (emacs_mswindows_next_event): modify use of + mswindows_dequeue_dispatch_event. + + * dialog-msw.c (mswindows_popup_dialog_box): modify for new + lisp-based gui_items. + + * glyphs-msw.c (mswindows_update_subwindow): update use of + gui_items. + (mswindows_register_gui_item): new function. + (mswindows_register_gui_item): fix to use lisp gui_items. + (mswindows_widget_instantiate): ditto. + (mswindows_button_instantiate): ditto. + (add_tree_item): new function to recursively add tree view + elements. + (add_tree_item_list): ditto. + (mswindows_tree_instantiate): new function. instantiate tree view + controls. + (add_tab_item): new function to add tabs to a tab control. + (mswindows_tab_instantiate): new function. instantiate tab + controls. + (image_instantiator_format_create_glyphs_mswindows): add tree view + and tab controls. + (vars_of_glyphs_mswindows): ditto. + + * glyphs-widget.c (check_valid_item_list_1): allow nested lists in + item lists. + (check_valid_item_list): ditto. + (initialize_widget_image_instance): fix to use new lisp gui_item. + (widget_instantiate_1): allow the setting of default textwidth in + characters. + (widget_instantiate): change to use new widget_instantiate_1 + signature. + (combo_instantiate): ditto. + (static_instantiate): ditto. + (tab_instantiate): new function for tab widgets. + (image_instantiator_format_create_glyphs_widget): add tab and tree + view widgets. + + * menubar-msw.c (displayable_menu_item): convert to use lisp + gui_items. + (populate_menu_add_item): ditto. + (populate_or_checksum_helper): ditto. + + * menubar.c (menu_parse_submenu_keywords): convert to use lisp + gui_items. + (Fmenu_find_real_submenu): ditto. + + * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct. + + * gui.c (gui_item_add_keyval_pair): gui_items are now lisp + objects, convert functions that use them accordingly. + (gui_item_init): ditto. + (gui_item_active_p): ditto. + (gui_item_selected_p): ditto. + (gui_item_included_p): ditto. + (gui_item_display_flush_left): ditto. + (gui_item_display_flush_right): ditto. + (mark_gui_item): ditto. + (allocate_gui_item): new function to create a gui_item. + (make_gui_item_from_keywords_internal): ditto. create and return a + gui_item as well as setting keywords. + (gui_parse_item_keywords): ditto. + (gui_parse_item_keywords_no_errors): ditto. + (gui_add_item_keywords_to_plist): new function, not yet used. + (gui_item_hash): new function. + (gui_item_id_hash): use gui_item_hash. + (gui_item_equal): new function. + (print_gui_item): new function. + +1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org> + + * XEmacs 21.2.16 is released + +1999-06-10 Andy Piper <andy@xemacs.org> + + * select-msw.c (mswindows_own_selection): only set the clipboard + if asked. + (mswindows_get_foreign_selection): only get the clipboard if + asked. + (mswindows_disown_selection): only disown the clipboard if asked. + +1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp> + + * file-coding.c (coding_system_from_mask): Use `raw-text' instead + of `no-conversion'. + (complex_vars_of_mule_coding): Use `raw-text' as the coding-system + of coding-category `no-conversion'. + +1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp> + + * file-coding.c (Qraw_text): New variable. + (syms_of_mule_coding): Add new symbol `raw-text'. + (complex_vars_of_mule_coding): Add new coding-system `raw-text'; + define coding-system `binary' independently; define coding-system + `no-conversion' as an alias for `raw-text'. + + * file-coding.h (Qraw_text): New variable. + +1999-06-08 SL Baur <steve@xemacs.org> + + * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC. + +1999-06-06 Hrvoje Niksic <hniksic@srce.hr> + + * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and + base64.el. + (base64_decode_1): Signal errors instead of returning -1. + +1999-06-07 Hrvoje Niksic <hniksic@srce.hr> + + * mule-charset.c (Fmake_char): Update docstring. + +1999-06-07 Hrvoje Niksic <hniksic@srce.hr> + + * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers. + +1999-06-05 Hrvoje Niksic <hniksic@srce.hr> + + * fns.c (base64_decode_1): Allow and ignore any non-base64 + characters in input. + +1999-05-27 Olivier Galibert <galibert@pobox.com> + + * emacs.c (Fdump_emacs): Add clear_message() lost with the removal + of report_pure_usage(). + +1999-06-04 Hrvoje Niksic <hniksic@srce.hr> + + * fns.c (Fstring_lessp): Remove O(n^2) under Mule. + +1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org> + + * XEmacs 21.2.15 is released + +1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp> + + * frame.c (Fset_mouse_position): + (Fset_mouse_pixel_position): + * window.c (Fsplit_window): + (Fmove_to_window_line): + Fix crash when invoking functions with an already-deleted window + argument. + + * indent.c (vertical_motion_1): + (vmotion_pixels): + (Fvertical_motion_pixels): + * window.c (Fwindow_displayed_text_pixel_height): + Fix error message when invoking functions with an already-deleted + window argument. + +1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch> + + * sysdep.c (request_sigio_on_device): Guard against glibc + 2.1's stub streams implementation. + +1999-06-03 SL Baur <steve@xemacs.org> + + * config.h.in: + * emacs.c: Implement x.y.z version numbers + From Jan Vroonhof <vroonhof@math.ethz.ch> + +1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp> + + * mule-charset.c (complex_vars_of_mule_charset): Registry of + japanese-jisx0208-1978 should not match with "jisx0208.1983" nor + "jisc6226.1983". + +1999-06-03 SL Baur <steve@xemacs.org> + + * frame-x.c: + * device-x.c: rename session option to wmcommand. + From Oliver Graf <ograf@rhein-zeitung.de> + +1999-05-27 Hrvoje Niksic <hniksic@srce.hr> + + * fns.c (Fsubstring): Don't traverse the same region twice with + charcount_to_bytecount(). + +1999-06-03 SL Baur <steve@steve1.m17n.org> + + * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive + garbage. + + * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it + doesn't really work as is implied by the commentary). + Don't define SYSTEM_MALLOC so the old GNU malloc can be used. + +1999-06-02 SL Baur <steve@steve1.m17n.org> + + * symsinit.h: Declare vars_of_ntproc. + * emacs.c (main_1): Call it. + + * ntproc.c (syms_of_ntproc): Move variable initializations from + here ... + (vars_of_ntproc): ... to here [new function]. + + * file-coding.c (syms_of_file_coding): Rename. + (vars_of_file_coding): Ditto. + (complex_vars_of_file_coding): Ditto. + + * symsinit.h: Rename *_mule_coding to *_file_coding. + + * emacs.c (main_1): Call them by the proper name. + + * device-msw.c (syms_of_device_mswindows): Move variable + initializations from here ... + (vars_of_device_mswindows): ... to here. + + * chartab.c (vars_of_chartab): New function. + + * symsinit.h: New function, vars_of_chartab. + + * emacs.c (main_1): Call it. + + * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ... + (vars_of_mule_canna): ... to here. + + * mule-ccl.c (vars_of_mule_ccl): New function. Move variable + initializations out of syms_of_mule_ccl. + + * symsinit.h: Declare new function vars_of_mule_ccl. + + * emacs.c (main_1): Call it. + +1999-05-27 Hrvoje Niksic <hniksic@srce.hr> + + * fns.c (base64_decode_1): Ignore whitespace. + +1999-05-27 Hrvoje Niksic <hniksic@srce.hr> + + * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and + ARG2. + +1999-05-21 Andy Piper <andy@xemacs.org> + + * xselect.c: deleted. + + * symsinit.h: declare select initialisation. + + * select.h: new file. declare commonly used select functions and + variables. + + * select.c: new file. generalised from xselect.c. + (clean_local_selection_data): moved from xselect.c. + (get_local_selection): ditto. device specific pieces called via a + devmeth. + (handle_selection_clear): ditto. + (Fown_selection_internal): renamed and generalised from + Fx_own_selection_internal. moved from xselect.c. + (Fdisown_selection_internal): ditto. + (Fselection_owner_p): ditto. + (Fselection_exists_p): ditto. + (Fget_selection_internal): ditto. + (syms_of_select): new function. QXXXX values moved from xselect.c + (vars_of_select): new function. selection_converter_alist, + lost_selection_hooks moved and renamed from xselect.c + + * select-x.c: renamed from xselect.c. + (x_own_selection): converted to device specific. non-X-specific + bits moved to select.c. + (x_get_foreign_selection): ditto. + (x_disown_selection): ditto. + (x_selection_exists_p): ditto. + (console_type_create_select_x): new function. + + * select-msw.c (mswindows_own_selection): new device method to set + the clipboard when we 'own' the selection. + (mswindows_get_foreign_selection): new device method to get the + clipboard. + (mswindows_disown_selection): new device method to delete the + selection when we 'disown' it. + (console_type_create_select_mswindows): new function. + + * emacs.c (main_1): add select to things to initialise. + + * console.h (struct console_methods): new console methods for + selection. + + * Makefile.in.in (x_objs): xselect.c renamed to select-x.c + +1999-05-20 Hrvoje Niksic <hniksic@srce.hr> + + * print.c (long_to_string): Install a faster version. + +1999-05-16 Andy Piper <andy@xemacs.org> + + * ntproc.c (syms_of_ntproc): default + win32-start-process-share-console to t. + +1999-05-14 Hrvoje Niksic <hniksic@srce.hr> + + * config.h.in: Do it here. + + * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here. + +1999-05-14 Andy Piper <andy@xemacs.org> + + * toolbar-msw.c (mswindows_output_toolbar): hash on something + hashable. + +1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org> + + * XEmacs 21.2.14 is released + +1999-05-12 Andy Piper <andy@xemacs.org> + + * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way. + +1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk> + + * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for + run_temacs_argv array -- fixes random memory corruption crash + +1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch> + + * window.c (Fcurrent_window_configuration): + Save minibuffer height; + + * window.c (set_window_configuration): use it. + +1999-05-10 Robert Pluim <rpluim@bigfoot.com> + + * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version + +1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch> + + * redisplay.c (redisplay_window): Do not put data + in the line start cache if it is not guaranteed to be correct + +1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch> + + * window.c (struct window_config): Removed frame + size members. + (window_config_equal): No longer compare frame sizes. + (Fset_window_configuration): Resize old top window to fit in the + current frame directly, no longer use a fake frame resize. + (Fcurrent_window_configuration): No longer save frame size + +1999-05-11 Andy Piper <andy@xemacs.org> + + * ntproc.c (sys_spawnve): actually assign argv[0] instead of the + first character. + +1999-05-10 Hrvoje Niksic <hniksic@srce.hr> + + * sysdep.c (init_system_name): If gethostname gives a proper + domain name, don't look further for one. + +1999-05-09 Hrvoje Niksic <hniksic@srce.hr> + + * symbols.c (Fintern): Avoid frequent XSYMBOL (foo). + (Fintern_soft): Accept a symbol argument. + +1999-05-06 Hrvoje Niksic <hniksic@srce.hr> + + * symbols.c (Fintern): ...do it here. + + * lread.c (read_atom): Don't handle keywords here. + +1999-05-06 Hrvoje Niksic <hniksic@srce.hr> + + * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD. + +1999-05-03 Olivier Galibert <galibert@pobox.com> + + * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it + is interned in the main obarray. + +1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk> + + * menubar-x.c (pre_activate_callback): set accelerator field in + "No menu" entries to nil. Avoid crash in + command_builder_operate_menu_accelerator + +1999-05-03 Olivier Galibert <galibert@pobox.com> + + * symeval.h (symbol_value_forward_lheader_initializer): Ditto. + + * lisp.h (DEFUN): Fix lrecord header initialisation. + +1999-05-02 Andy Piper <andy@xemacs.org> + + * objects-msw.c (mswindows_font_instance_truename): add a ';'. + + * ntproc.c (sys_kill): cast using MS mandated defines. + +1999-04-29 Andy Piper <andy@xemacs.org> + + * m/intel386.h: remove redundant definitions. + + * s/mingw32.h: new header for mingw32. + + * unexnt.c: (open_input_file): function moved to nt.c. + (close_file_data): ditto. + (rva_to_section): function moved to ntproc. + + * symsinit.h: declare syms_of_ntproc(); + + * objects-msw.c (mswindows_font_instance_truename): new function. + + * ntproc.c: remove many warnings. + (_sys_read_ahead): moved from nt.c and made static. + (rva_to_section): moved from unexnt.c but not defined under + mingw32. + (win32_executable_type): implement what we can for mingw32 + headers. + (sys_spawnve): fix bad MULE/GCPRO bug in filename handling. + + * ntheap.h: remove declarations of functions that are now static. + + * ntheap.c: support static heap. + + * nt.h: conditionalise X_OK definition. + + * nt.c: eliminate many warnings and support mingw32. + (open_input_file): function moved from unexnt.c and made static + (close_file_data): ditto. + (_sys_read_ahead): moved to ntproc.c + + * emacs.c: make sure syms_of_ntptroc gets called under windows. + + * console-msw.h: support mingw32. + * getloadavg.c: ditto. + * ntplay.c: ditto. + * sysdep.c: ditto. + * sysdir.h: ditto. + * systime.h: ditto. + * systty.h: ditto. + + * config.h.in: don't turn on DEBUG_ENCAPSULATION by default because + some systems don't have all of the encapsulated system calls. + + * callproc.c: warning elimination. + * dired-msw.c: ditto. + * process-nt.c: ditto. + * realpath.c: ditto. + + * Makefile.in.in: tweak : and ; for building under mswindows. + +1999-04-26 Michael Harnois <mharnois@willinet.net> + + * eldap.c (allocate_ldap): Adapt to the new semantics of + alloc_lcrecord_type(). + +1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp> + + * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed. + +1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp> + + * Delete mule-coding.c and mule-coding.h because they are not + used. + +1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk> + + * objects.c (print_font_instance): Check for NILP(f->device), + i.e. Vthe_null_font_instance. + (font_instance_truename_internal): ditto. + (Ffont_instance_properties): ditto. + +1999-04-22 Olivier Galibert <galibert@pobox.com> + + * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an + array anymore. + +1999-04-22 Hrvoje Niksic <hniksic@srce.hr> + + * Makefile.in.in (tests): Don't mention tests explicitly -- makes + it easier to add new ones. + +1999-04-22 Hrvoje Niksic <hniksic@srce.hr> + + * symbols.c (reject_constant_symbols): Ditto. + (init_symbols_once_early): Ditto. + + * print.c (print_symbol): Don't use ->obarray. + + * symbols.c (Funintern): Ditto. + + * alloc.c (Fmake_symbol): Don't set ->obarray. + + * lisp.h (struct Lisp_Symbol): Removed .obarray field. + + * symbols.c (init_symbols_once_early): Removed + Vpure_uninterned_symbol_table. + (Fintern): Don't store to ->obarray field. + +1999-04-22 Hrvoje Niksic <hniksic@srce.hr> + + * data.c (vars_of_data): Default debug_issue_ebola_notices to 0. + (eq_with_ebola_notice): Remove abracadabra support. + +1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> + + * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to + retrieve the distinguished names of entries + +1999-03-08 Martin Buchholz <martin@xemacs.org> + + * lread.c (read_escape): Make hex escapes read only two hex digits. + +1999-04-05 Olivier Galibert <galibert@pobox.com> + + * Makefile.in.in: Remove puresize-adjust.h and recursive makes. + * make-src-depend: Remove puresize-adjust.h. + * src-headers: Remove puresize-adjust.h. + * config.h.in: Kill everything purespace/gung-ho related. + + * dbxrc: Make gung-ho mandatory. + * gdbinit: Ditto. + + * lrecord.h: Make gung-ho mandatory. Remove pure flag and add + c_readonly and lisp_readonly. Remove implementation arrays. + (C_READONLY_RECORD_HEADER_P): Added. + (LISP_READONLY_RECORD_HEADER_P): Added. + (SET_C_READONLY_RECORD_HEADER): Added. + (SET_LISP_READONLY_RECORD_HEADER): Added. + + * lisp.h: Kill everything purespace/non gung-ho related. + (CHECK_C_WRITEABLE): Added. + (CHECK_LISP_WRITEABLE): Added. + (C_READONLY): Added. + (LISP_READONLY): Added. + + * lisp-union.h: Make gung-ho mandatory. + * lisp-disunion.h: Ditto. + + * alloc.c: Kill everything purespace/non gung-ho related. Fix all + set_lheader_implementation calls. + (c_readonly): Added. + (lisp_readonly): Added. + (make_string_nocopy): Added. + (Fpurecopy): Changed to do nothing. Kept the old documentation + for reference purposes for the next patches. + (sweep_lcrecords_1): Don't free C readonly lcrecords. + (sweep_bit_vectors_1): Don't free C readonly bitvectors. + (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords. + + * fns.c: Make gung-ho mandatory. + (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE. + (Fremprop): Ditto. + (Ffillarray): Ditto. + + * data.c: Make gung-ho mandatory. + (pure_write_error): Removed. + (c_write_error): Added. + (lisp_write_error): Added. + (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE. + (Fsetcdr): Ditto. + (Faset): Ditto. + + * symbols.c: Make gung-ho mandatory. make_pure_pname -> + make_string or make_string_nocopy. Fix various + alloc_lcrecord_type. + + * lread.c: Remove everything purespace related. + (Flocate_file_clear_hashing): purified -> c_readonly. + (locate_file): Ditto. + (read_atom): make_pure_pname -> make_string. + + * emacs.c (Frun_emacs_from_temacs): Remove purespace stats + reporting. + (Fdump_emacs): Ditto. + + * print.c (print_internal): Make gung-ho mandatory. + * ntheap.c (sbrk): Ditto. + * mem-limits.h (EXCEEDS_LISP_PTR): Ditto + * symeval.h (symbol_value_forward_lheader_initializer): Ditto. + + * sheap.c (more_static_core): Remove puresize-adjust.h from + message. + + * syntax.c (complex_vars_of_syntax): make_pure_string -> + make_string_nocopy. + * keymap.c (make_keymap): Fix alloc_lcrecord_type. + (vars_of_keymap): make_pure_string -> make_string_nocopy. + * events.c (deinitialize_event): Fix set_lheader_implementation. + (zero_event): Ditto. + * specifier.c (make_specifier_internal): Fix alloc_lcrecord. + * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type. + * mule-charset.c (make_charset): Ditto. + * console.c (allocate_console): Ditto. + (complex_vars_of_console): Ditto. + * file-coding.c (allocate_coding_system): Ditto. + * device.c (allocate_device): Ditto + * gui-x.c (gcpro_popup_callbacks): Ditto. + * extents.c (allocate_extent_auxiliary): Ditto. + (allocate_extent_info): Ditto. + (copy_extent): Ditto. + * glyphs.c (allocate_image_instance): Ditto. + (allocate_glyph): Ditto. + * frame.c (allocate_frame_core): Ditto. + * database.c (allocate_database): Ditto. + * tooltalk.c (make_tooltalk_message): Ditto. + (make_tooltalk_pattern): Ditto. + * rangetab.c (Fmake_range_table): Ditto. + (Fcopy_range_table): Ditto. + * process.c (make_process_internal): Ditto. + * chartab.c (Fmake_char_table): Ditto. + (make_char_table_entry): Ditto. + (copy_char_table_entry): Ditto. + (Fcopy_char_table): Ditto. + * elhash.c (make_general_lisp_hash_table): Ditto. + (Fcopy_hash_table): Ditto. + * buffer.c (allocate_buffer): Ditto. + (complex_vars_of_buffer): Ditto. + * event-stream.c (allocate_command_builder): Ditto. + * objects.c (Fmake_color_instance): Ditto. + (Fmake_font_instance): Ditto. + (vars_of_objects): Ditto. + * toolbar.c (update_toolbar_button): Ditto. + * window.c (allocate_window): Ditto. + (make_dummy_parent): Ditto. + (Fcurrent_window_configuration): Fix alloc_lcrecord. + (vars_of_window): Fix make_lcrecord_list. + * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list -> + Flist. + * lstream.c (Lstream_new): Fix make_lcrecord_list. + * opaque.c (make_opaque): Fix alloc_lrecord. + (make_opaque_list): Fix alloc_lrecord_type. + +1999-04-19 Hrvoje Niksic <hniksic@srce.hr> + + * process.c (Fstart_process_internal): Ditto. + + * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling + locate_file(). + + * glyphs-x.c (x_locate_pixmap_file): Ditto. + + * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to + locate_file(). + + * emodules.c (vars_of_module): New variable Vmodule_extensions. + (emodules_load): Use it when calling locate_file(). + + * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling + locate_file(). + + * callproc.c: Vlisp_EXEC_SUFFIXES: New variable. + (vars_of_callproc): Initialize it. + (Fcall_process_internal): Use it when calling locate_file(). + + * alloc.c (disksave_object_finalization): Use + Flocate_file_clear_hashing(). + + * lread.c (Flocate_file_clear_hashing): Clear all hasing when + given `t' as argument. + +1999-04-18 Hrvoje Niksic <hniksic@srce.hr> + + * lread.c (locate_file): Expand `pathel' when appropriate. + (Flocate_file_clear_hashing): Expand path elements. + (Flocate_file_clear_hashing): Use Vlocate_file_hash_table. + + * dired.c (make_directory_hash_table): Create the hash-table only + if the directory open is successful. + + * lread.c (decode_mode_1): New function. + (decode_mode): Ditto. + (Flocate_file): Use them. + (Flocate_file): Expand FILENAME. + (locate_file_map_suffixes): New function. + (locate_file_in_directory_mapper): New function. + (locate_file_in_directory): Use locate_file_in_directory_mapper() + and locate_file_map_suffixes(). + (locate_file_construct_suffixed_files): Use + locate_file_map_suffixes(). + (locate_file_without_hash): Don't GCPRO path. + (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP. + (syms_of_lread): Remove Qlocate_file_hash_table. + (locate_file_find_directory_hash_table): Use + Vlocate_file_hash_table. + (locate_file_refresh_hashing): Ditto. + + * lread.c: Renamed read_objects to Vread_objects. + +1999-04-16 Olivier Galibert <galibert@pobox.com> + + * mule-charset.c: Generally resync with fsf 20.3 charset + interface. + (make_charset): Add long and short name. Use id instead of + leading byte. + (Fmake_charset): Ditto. + (Fmake_reverse_direction_charset): Ditto. + (Fcharset_property): Ditto. + (Fcharset_short_name): Added. + (Fcharset_long_name): Added. + (Fcharset_description): Renamed from charset-doc-string. + (syms_of_mule_charset): Synced symbols. + (complex_vars_of_mule_charset): Synced charsets. + + * mule-charset.h: Removed leading byte (uses id instead), added + short and long name. + +1999-04-15 Hrvoje Niksic <hniksic@srce.hr> + + * file-coding.c (Fdefine_coding_system_alias): New function. + +1999-04-08 Olivier Galibert <galibert@pobox.com> + + * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859 + and -ascii fonts for displaying ascii instead of iso8859-1 only. + +1998-12-14 Hrvoje Niksic <hniksic@srce.hr> + + * extents.c (set_extent_glyph_1): Make sure that the glyph we + attach to the extent is valid. + +1998-12-12 Hrvoje Niksic <hniksic@srce.hr> + + * dired.c (user_name_completion): Mule-ize. + (user_name_completion): Use xmalloc/xrealloc/xfree. + (user_name_completion): Use DO_REALLOC. + (user_name_completion): Cut down the number of static variables; + use a structure. + (user_name_completion): Username completion is always + case-sensitive. + +1998-12-06 Hrvoje Niksic <hniksic@srce.hr> + + * fns.c (base64_decode_1): Remove COUNTER. + (base64_decode_1): Accept CRLF in addition to CR. + (base64_decode_1): Disallow a stray character after final EOF; the + check was probably a remnant of buggy recode code. + +1998-12-05 Hrvoje Niksic <hniksic@srce.hr> + + * fns.c (init_provide_once): Provide `base64'. + +1998-12-04 Hrvoje Niksic <hniksic@srce.hr> + + * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity. + (Fbase64_encode_region): If buffer is read-only, bail out early. + (Fbase64_decode_region): Ditto. + (Fbase64_encode_region): Initialize SPECCOUNT to pacify the + compiler. + (Fbase64_encode_string): Ditto. + (Fbase64_decode_region): Ditto. + (Fbase64_decode_string): Ditto. + +1998-11-25 Hrvoje Niksic <hniksic@srce.hr> + + * dired.c (Fdirectory_files): Remove redundant code. + +1999-03-05 Philip Aston <philipa@parallax.co.uk> + + * frame-msw.c Make raise-frame restore minimised windows. + +1999-03-05 Philip Aston <philipa@parallax.co.uk> + + * device-msw.c: Fix DEFVAR format - Death to phantom quote, and + add magic newline. + +1999-03-05 Philip Aston <philipa@parallax.co.uk> + + * toolbar-msw.c Consider captions when deciding whether to rebuild + toolbar. This fixes the initial toolbar display for those of us + who don't like captions. These patches applied by Andy Piper. + +1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org> + + * XEmacs 21.2.13 is released + +1999-03-12 SL Baur <steve@xemacs.org> + + * file-coding.c: Guard ucs table initialization with ifdef MULE. + +1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp> + + * file-coding.c: docstring and comment improvements. + (decode_ucs4) flag possible data loss with comment. + +1999-03-10 Martin Buchholz <martin@xemacs.org> + + * 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. + +1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp> + + * 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 <morioka@jaist.ac.jp> + + * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO + 2022 registry to private area. + +1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp> + + * file-coding.c (encode_utf8): New function. + (encode_coding_utf8): New implementation. + +1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp> + + * 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'. + +1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp> + + * chartab.h: EXFUN `Fget_char_table'. + + * file-coding.c (encode_ucs4): New function. + (encode_coding_ucs4): Use `encode_ucs4'. + +1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp> + + * file-coding.c (decode_coding_ucs4): New implementation. + +1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp> + + * file-coding.c (decode_coding_ucs4): fixed. + + * 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'. + +1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp> + + * file-coding.c (decode_coding_utf8): New implementation. + +1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp> + + * file-coding.c (decode_coding_utf8): fixed. + +1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp> + + * 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'. + +1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp> + + * 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. + +1999-03-08 Martin Buchholz <martin@xemacs.org> + + * 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 + + * alloc.c: Define lrecord_coding_system only if ! FILE_CODING + +1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp> + + * fns.c (Fbase64_encode_string): Calculate `allength' in the same + way of `Fbase64_encode_region'. + +1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org> + + * fns.c (base64_encode_1): Don't add a newline at the tail. + +1999-03-08 Andy Piper <andy@xemacs.org> + + * menubar-msw.c (displayable_menu_item): correct off-by-one & + handling. + +1999-03-07 Martin Buchholz <martin@xemacs.org> + + * 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 <stdio.h>. + 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 <martin@xemacs.org> + + * 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 <martin@xemacs.org> + + * 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 <builds@cvs.xemacs.org> + + * XEmacs 21.2.12 is released + +1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp> + + * device-x.c: Support to find best visual without flashing. + +1999-03-02 Paul Keusemann <pkeusem@visi.com> + + * 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 <martin@xemacs.org> + + * 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 <andy@xemacs.org> + + * event-stream.c (init_event_stream): make sure native mswindows + gets an appropriate event loop. + +1999-02-22 Andy Piper <andy@xemacs.org> + + * 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 <builds@cvs.xemacs.org> + + * XEmacs 21.2.11 is released + +1999-02-25 SL Baur <steve@xemacs.org> + + * 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 <ienaga@jsys.co.jp> + +1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp> + + * glyphs-x.c (cononvert_EImage_to_XImage): correct + bytes per pixel counting. + +1999-02-15 Andy Piper <andy@xemacs.org> + + * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes + major lockups. + +1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp> + + * fns.c (Fbase64_encode_string): New optional argument + `NO_LINE_BREAK'. + +1999-02-16 Martin Buchholz <martin@xemacs.org> + + * gdbinit: Fix up commands to run temacs. Add lisp-shadows command. + * alloc.c (xcalloc): undef xcalloc, just like xmalloc + +1999-02-10 Martin Buchholz <martin@xemacs.org> + + * 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 <builds@cvs.xemacs.org> + + * XEmacs 21.2.10 is released + +1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu> + + * 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 <builds@cvs.xemacs.org> + + * XEmacs 21.2.9 is released + +1999-01-30 Martin Buchholz <martin@xemacs.org> + + * 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 <martin@xemacs.org> + + * gui.c (gui_parse_item_keywords_internal): Make static. + +1999-01-21 Andy Piper <andy@xemacs.org> + + * 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 <adrian@xemacs.org> + + * event-stream.c (vars_of_event_stream): Fixing documentation. + +1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk> + + * 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 <hniksic@srce.hr> + + * search.c (Freplace_match): Handle single backslash at end of + NEWTEXT correctly. + +1999-01-12 William M. Perry <wmperry@aventail.com> + + * eldap.c (Fldap_open): slow down interrupts around ldap_open to + avoid connection errors. + +1999-01-12 Andy Piper <andy@xemacs.org> + + * redisplay-output.c (redisplay_update_line): backout change that + shouldn't have gone ine. + +1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> + + * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may + collide with ldap.el + +1999-01-11 Andy Piper <andy@xemacs.org> + + * 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 <jkj@sco.com> + + * 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. + +1999-01-01 <martin@xemacs.org> + + * device-x.c (Fx_set_font_path): + Add proper cast to permit compilation under C++. + + * buffer.c (directory_is_current_directory): + Add proper casts to permit compilation under C++. + +1998-12-30 Damon Lipparelli <lipp@primus.com> + + * event-msw.c (mswindows_wnd_proc): + Fixed failure when building with MSVC 5. + +1998-12-29 Martin Buchholz <martin@xemacs.org> + + * file-coding.c (decode_coding_iso2022): + - Prevent crash when decoding ISO7/Lock detected files + - the usual martin fiddling + +1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * 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 <radford@robby.caltech.edu> + + * 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 <andy@xemacs.org> + + * 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 <andy@xemacs.org> + + * 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 <martin@xemacs.org> + + * XEmacs 21.2.8 is released. + +1998-12-28 Martin Buchholz <martin@xemacs.org> + + * editfns.c (get_home_directory): + (user-home-directory): Simplify. + + + * 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 <martin@xemacs.org> + + * 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 <martin@xemacs.org> + + * XEmacs 21.2.7 is released. + +1998-12-23 Martin Buchholz <martin@xemacs.org> + + * 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 <martin@xemacs.org> + + * 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 <andy@xemacs.org> + + * 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 <martin@xemacs.org> + + * console-msw.c: Function definitions follow coding standards + - This prevents e.g. find-tag on Lisp_Event finding DEVENT + +1998-12-11 Martin Buchholz <martin@xemacs.org> + + * 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 <martin@xemacs.org> + + * lisp.h: Fix up prototypes to match alloc.c + +1998-12-08 Martin Buchholz <martin@xemacs.org> + + * 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 <martin@xemacs.org> + + * 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 <martin@xemacs.org> + + * 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 <martin@xemacs.org> + + * 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 <hniksic@srce.hr> + + * 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 <Oscar.Figueiredo@di.epfl.ch> + + * 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 <martin@xemacs.org> + + * event-msw.c (mswindows_cancel_dispatch_event): + Gratuitous code prettification + + +1998-12-07 Hrvoje Niksic <hniksic@srce.hr> + + * 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 <martin@xemacs.org> + + * 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-02 Didier Verna <didier@xemacs.org> + + * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the + accelerator field to nil for labels. + +1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * menubar-msw.c (displayable_menu_item): + Escape occurrences of '&' and support occurrences of the + '%_' accelerator indicator in menus. + +1998-11-26 Didier Verna <didier@xemacs.org> + + * 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 <ge204@eng.cam.ac.uk> + + * glyphs.c (normalize_image_instantiator): GCPRO instantiator + +1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * 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 <andy@xemacs.org> + + * strftime.c (zone_name): CONSTify. + +1998-12-15 Andy Piper <andy@xemacs.org> + + * 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. + + * glyphs.h (struct Lisp_Image_Instance): we have properties now. + + * 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. + + * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well + as setting the class cursor so that GC actually changes the + cursor. + + * config.h: don't undef MAIL_USE_POP. + +1998-12-13 Andy Piper <andy@xemacs.org> + + * 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. + + * 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. + +1998-12-10 Andy Piper <andy@xemacs.org> + + * Makefile.in.in (objs): add gui.o + +1998-12-10 Andy Piper <andy@xemacs.org> + + * gui.c: adjust defines of HAVE_POPUPS so that we can build with + no window system. + +1998-12-09 Andy Piper <andy@xemacs.org> + + * 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. + +1998-12-08 Andy Piper <andy@xemacs.org> + + * gui-msw.c (mswindows_handle_gui_wm_command): call + MARK_SUBWINDOWS_CHANGED. + + * glyphs-msw.c (mswindows_finalize_image_instance): make sure + subwindows really get deleted. + + * redisplay.c: new variable subwindows_changed[_set]. + (redisplay_window): use it. + (redisplay_frame): ditto. + (redisplay_device): ditto. + (redisplay_without_hooks): ditto. + + * 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. + +1998-12-07 Andy Piper <andy@xemacs.org> + + * frame.c (Fmake_frame): reset subwindow cachels on non-stream + frames. + + * redisplay.c (redisplay_frame): invalidate subwindow cachels. + + * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR* + messages and paint widget glyphs as appropriate with their face fg + & bg. + +1998-12-06 Andy Piper <andy@xemacs.org> + + * 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. + + * 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. + + * 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. + + * 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. + + * 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. + +1998-12-04 Andy Piper <andy@xemacs.org> + + * event-msw.c (mswindows_wnd_proc): mule-ize. + + * 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. + + * 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 <andy@xemacs.org> + + * 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 <andy@xemacs.org> + + * 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 <andy@xemacs.org> + + * 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. + + * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to + x_subwindow_data. + +1998-11-04 Andy Piper <andy@xemacs.org> + + * 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. + + * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for + storing window ids of widgets. + + * 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 hashtable. + (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. + + * 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. + + * frame.c (mark_frame): mark subwindow_cachels. + (allocate_frame_core): instantiate subwindow_cachels. + + * frame-msw.c (mswindows_init_frame_1): instntiate and mark the + widget hashtable. + + * event-msw.c (mswindows_wnd_proc): add call to + mswindows_handle_gui_wm_command to handle widget callbacks. + + * emacs.c (main_1): add calls to glyphs-widget initialisation + routines. + + * 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. + + * console-stream.c (stream_clear_region): change signature to + match new generic clear region function. + + * Makefile.in.in: add glyphs-widget.o to list of objects. + + * console-msw.h (struct mswindows_frame): add widget hashtable for + wiring command ids to callbacks. + +1998-12-16 Andy Piper <andy@xemacs.org> + + * XEmacs 21.2.6 is released + +1998-12-08 Hrvoje Niksic <hniksic@srce.hr> + + * md5.c (Fmd5): Correctly initiate string input stream. + + * Makefile.in.in (tests): Add md5-tests.el. + +1998-12-06 Martin Buchholz <martin@xemacs.org> + + * 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 <martin@xemacs.org> + + * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded + bytecode. + +1998-12-13 Martin Buchholz <martin@xemacs.org> + + * console-msw.c: Function definitions follow coding standards + - This prevents e.g. find-tag on Lisp_Event finding DEVENT + +1998-12-11 Martin Buchholz <martin@xemacs.org> + + * 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 <martin@xemacs.org> + + * lisp.h: Fix up prototypes to match alloc.c + +1998-12-09 Andy Piper <andy@xemacs.org> + + * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use + XSETINT for assigning lisp objects. + +1998-12-07 Martin Buchholz <martin@xemacs.org> + + * 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. + +1998-12-07 Martin Buchholz <martin@xemacs.org> + + * sysdep.c (set_descriptor_non_blocking): + Since O_NONBLOCK is now always #defined, make use of fcntl + conditional on F_SETFL being defined. + +1998-12-09 Andy Piper <andy@xemacs.org> + + * menubar-msw.c (mswindows_handle_wm_command): add back in checks + that got removed in the merge + +1998-11-30 Greg Klanderman <greg@alphatech.com> + + * dired.c (vars_of_dired): bugfix for previous conditionalization + of user-name-completion on non- Windows NT. + +1998-12-08 Martin Buchholz <martin@xemacs.org> + + * windowsnt.h: Remove `support' for using index and rindex + + * filelock.c (current_lock_owner): + - Change uses of index -> strchr, rindex -> strrchr + +1998-12-06 Martin Buchholz <martin@xemacs.org> + + * 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 <builds@cvs.xemacs.org> + + * XEmacs 21.2.5 is released + +1998-11-30 Martin Buchholz <martin@xemacs.org> + + * 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): + * 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): + * 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): + * 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 <jareth@camelot.co.jp> + + * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0 + +1998-11-28 SL Baur <steve@altair.xemacs.org> + + * XEmacs 21.2-beta4 is released. + +1998-11-27 SL Baur <steve@altair.xemacs.org> + + * mule-charset.c (complex_vars_of_mule_charset): Fix graphic + property in control-1 charset. + From Julian Bradfield <jcb@daimi.au.dk> + +1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch> + + * gui-x.c (button_item_to_widget_value): Ignore :key-sequence + keyword. + Add stub for :label. + + * gui.c (gui_item_add_keyval_pair): ditto. + + * 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. + +1998-11-27 Hrvoje Niksic <hniksic@srce.hr> + + * dired.c (make_directory_hash_table): make_string() is OK because + readdir() Mule-encapsulates. + +1998-11-26 Hrvoje Niksic <hniksic@srce.hr> + + * fns.c (Fbase64_encode_string): Fix docstring. + (Fbase64_decode_string): Ditto. + +1998-11-26 Hrvoje Niksic <hniksic@srce.hr> + + * editfns.c (Ftranslate_region): Use + convert_bufbyte_string_into_emchar_string(). + +1998-11-25 Hrvoje Niksic <hniksic@srce.hr> + + * 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. + +1998-11-25 Hrvoje Niksic <hniksic@srce.hr> + + * chartab.c (Freset_char_table): Fix wrong placement of #endif. + +1998-11-24 Hrvoje Niksic <hniksic@srce.hr> + + * chartab.c (Freset_char_table): Don't blindly fill chartables of + type `char' with nils. + + * chartab.c (canonicalize_char_table_value): Coerce ints to chars + for tables of type `char'. + +1998-11-26 Didier Verna <didier@xemacs.org> + + * 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. + +1998-11-26 Didier Verna <didier@xemacs.org> + + * process-unix.c (unix_create_process): handle properly + Vfile_name_coding_system for converting the program and directory + names. + +1998-11-27 SL Baur <steve@altair.xemacs.org> + + * m/arm.h: New file. + From James LewisMoss <dres@ioa.com> + +1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp> + + * m/mips-nec.h: + Fix the realpath() problem of UnixWare2.1.3. + Patches for NEC's sysv4.2 machine. + +1998-11-25 Hrvoje Niksic <hniksic@srce.hr> + + * dired.c (Fdirectory_files): Remove redundant code. + +1998-11-25 Hrvoje Niksic <hniksic@srce.hr> + + * 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. + +1998-11-25 Hrvoje Niksic <hniksic@srce.hr> + + * fns.c (base64_value_to_char): Base64 stuff. + +1998-11-24 Hrvoje Niksic <hniksic@srce.hr> + + * editfns.c (Fbuffer_substring): New function. + + * lisp.h: Declare make_string_from_buffer_no_extents(). + + * insdel.c (make_string_from_buffer_1): New function. + (make_string_from_buffer_no_extents): Ditto. + +1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> + + * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes + sound work on AIX with OSS installed. Linux should still work. + +1998-11-03 Andy Piper <andyp@parallax.co.uk> + + * config.h.in: name change for cygwin/version.h + + * configure.in: check for cygwin/version.h now. + + * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR -> + CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20. + move cygwin32/version.h to cygwin/version.h + +1998-11-03 Olivier Galibert <galibert@pobox.com> + + * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from + int to long. + +1998-10-22 Andy Piper <andyp@parallax.co.uk> + + * 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. + +1998-10-22 Andy Piper <andyp@parallax.co.uk> + + * 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. + +1998-10-19 Greg Klanderman <greg@alphatech.com> + + * dired.c: conditionalize inclusion of user-name-completion + primitives on non-Windows NT. The needed functions don't exist on NT. + +1998-11-24 SL Baur <steve@altair.xemacs.org> + + * gifrlib.h: Clean up types for 64 bit compile. + * dgif_lib.c (DGifInitRead): Ditto. + (MakeSavedImage): Ditto. + * emacs.c (decode_path): Ditto. + From Steve Carney <carney@pa.dec.com> + +1998-10-16 William M. Perry <wmperry@aventail.com> + + * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps + (cehckboxes instead of checkboxes). + +1998-10-15 SL Baur <steve@altair.xemacs.org> + + * XEmacs 21.2-beta3 is released. + +1998-10-13 Raymond Toy <toy@rtp.ericsson.se> + + * 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. + +1998-10-13 Andy Piper <andyp@parallax.co.uk> + + * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS -> + HAVE_MS_WINDOWS typo. + +1998-10-13 SL Baur <steve@altair.xemacs.org> + + * process-unix.c (unix_send_process): Set closed flag on writable + pipe after SIGPIPE is received and before we call deactivate_process. + +1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk> + + * 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. + +1998-10-09 SL Baur <steve@altair.xemacs.org> + + * window.c (specifier_vars_of_window): Set default vertical + divider width to 1 on ttys. + +1998-10-08 Martin Buchholz <martin@xemacs.org> + + * alloc.c: + * unexec.c: + * malloc.c: + Add <stddef.h> to get ptrdiff_t declaration + +1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * scrollbar-msw.c: Use the same vertical scrollbar drag hack as + is used for Motif or Lucid scrollbars under X. + +1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com> + + * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running + `configure' + +1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp> + + * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget. + +1998-10-05 Andy Piper <andyp@parallax.co.uk> + + * s/cygwin32.h: more cygwin b20 reorganisation. + +1998-10-01 Raymond Toy <toy@rtp.ericsson.se> + + * nas.c: Added necessary support functions to be able to handle + WAVE files in memory, just like the support for SND files in + memory. + +1998-09-30 SL Baur <steve@altair.xemacs.org> + + * callproc.c (child_setup): Fix spelling typo. + +1998-09-29 SL Baur <steve@altair.xemacs.org> + + * XEmacs 21.2-beta2 is released. + +1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp> + + * 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. + +1998-09-02 Andy Piper <andyp@parallax.co.uk> + + * config.h.in: ditto. + + * s/cygwin32.h: rearrange declarations to cope with cygwin + b20. Include cygwin32/version.h if it exists. + +1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * 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. + + font_enum_callback_1() and _2() moved to objects-msw.c. + + * faces.c (complex_vars_of_faces): Make the mswindows default + face font fully specified and provide some fallbacks. + + * 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. + + New public non-method mswindows_enumerate_fonts() that fills + in the supplied mswindows device's font list. + + 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. + +1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE, + on the size of code fragments passed to run_in_other_process. + + run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine + the amount of memory to allocate in the other process. + + Removed sigkill_code_end(), sigint_code_end() and + sig_enable_code_end() since they are now redundant. + + send_signal() and enable_child_signals(): Don't try to work + out the end of the code fragments passed to + run_in_other_process() + +1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp> + + * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for + FreeBSD-current. + + * src/unexelf.c: Partially synched with FSF's 20.3. + +1998-09-10 Hrvoje Niksic <hniksic@srce.hr> + + * 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. + +1998-09-09 Hrvoje Niksic <hniksic@srce.hr> + + * 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 <hniksic@srce.hr> + + * insdel.c (init_buffer_text): Remove INDIRECT_P parameter. + (uninit_buffer_text): Ditto. + + * buffer.c (Fmake_indirect_buffer): Implement stricter + error-checking. + +1998-09-04 Hrvoje Niksic <hniksic@srce.hr> + + * insdel.c (change_function_restore): Reverse order of + function-call and assignment. + (first_change_hook_restore): Ditto. + + * 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. + + * extents.h (struct extent_auxiliary): Add before_change_functions + and after_change_functions. + + * insdel.c (signal_before_change): Use it. + (signal_after_change): Ditto. + + * extents.c (report_extent_modification): New function. + + * insdel.c (signal_before_change): Don't check for Armageddon. + (signal_after_change): Ditto. + +1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de> + + * 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. + + * window.c (Fset_window_start): set start_at_line_beg correctly + (Fset_window_buffer): Ditto + +1998-09-06 Hrvoje Niksic <hniksic@srce.hr> + + * insdel.c (init_buffer_text): Remove INDIRECT_P parameter. + (uninit_buffer_text): Ditto. + + * buffer.c (Fmake_indirect_buffer): Implement stricter + error-checking. + +1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch> + + * emacs.c (main_1): Removed references to *vars_of_filelock. + + * lisp.h: Added Fsystem_name. + + * 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). + +1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch> + + * 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. + +1998-08-28 Andy Piper <andyp@parallax.co.uk> + + * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use. + +1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * fileio.c (file-name-directory, file_name_as_directory): + Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT. + +1998-09-02 Andy Piper <andyp@parallax.co.uk> + + * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC + + * ralloc.c: uncomment __morecore. + +1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * event-msw.c(winsock_writer): Supply a dummy 4th argument to + WriteFile() to fix a winsock 1.x bug on Win95. + +1998-08-28 Hrvoje Niksic <hniksic@srce.hr> + + * 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. + + * console-x.h (struct x_device): New flag being_deleted. + (DEVICE_X_BEING_DELETED): New macro. + + * 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. + +1998-08-27 Hrvoje Niksic <hniksic@srce.hr> + + * device-x.c (x-seppuku-on-epipe): Removed. + +1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de> + + * frame-x.c (x_delete_frame): Flush the X output buffer after + calling XtDestroyWidget to ensure that the windows are really + killed right now. + +1998-08-26 Hrvoje Niksic <hniksic@srce.hr> + + * 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. + +1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp> + + * glyphs-eimage.c (gif_instantiate): Fix a crash in handling + interlaced GIF files that are smaller than 4 lines high... + +1998-08-31 Hrvoje Niksic <hniksic@srce.hr> + + * buffer.c (map_over_sharing_buffers): Deleted. + + * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h. + + * buffer.c (Fkill_buffer): Keep indirect_children updated while + killing them. + +1998-08-31 Hrvoje Niksic <hniksic@srce.hr> + + * insdel.c (buffer_insert_string_1): Advance the point bytind in + all the buffers. + (buffer_delete_range): Ditto. + + * marker.c (init_buffer_markers): Set point-marker to the value of + point in an indirect buffer. + +1998-08-30 Hrvoje Niksic <hniksic@srce.hr> + + * undo.c (undo_prelude): Test last-undo-buffer against base + buffer. + + * insdel.c (MAP_INDIRECT_BUFFERS): Use it. + + * buffer.h (BUFFER_BASE_BUFFER): New macro. + +1998-08-30 Hrvoje Niksic <hniksic@srce.hr> + + * insdel.c (init_buffer_text): Initialize it here. + + * line-number.c: Address line_number_cache through buffer->text. + + * buffer.c (mark_buffer): Mark line number cache. + + * bufslots.h (line_number_cache): Move to struct buffer_text. + + * 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. + + * insdel.c (MAP_INDIRECT_BUFFERS): New macro. + + * buffer.c (Fmake_indirect_buffer): Uncomment. + +1998-08-31 Hrvoje Niksic <hniksic@srce.hr> + + * macros.c (Fend_kbd_macro): Remove trailing period from error + message. + (Fexecute_kbd_macro): Ditto. + +1998-08-21 Greg Klanderman <greg@alphatech.com> + + * 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. + +1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> + + * lread.c (vars_of_lread): Removed `source-directory' variable. + +1998-08-22 Hrvoje Niksic <hniksic@srce.hr> + + * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to + Cygwin. + +1998-08-19 SL Baur <steve@altair.xemacs.org> + + * dired.c (vars_of_dired): Fix misapplied patch. + +1998-08-16 Martin Buchholz <martin@xemacs.org> + + * fns.c (Fremrassq, remrassq_no_quit): + A XCAR that should have been an XCDR turned Fremrassq into Fremassq + +1998-07-17 Didier Verna <didier@xemacs.org> + + * 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. + +1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug: + Manually track the state of the left and right Ctrl and Alt + modifiers. + +1998-08-07 Matt Stupple <matts@tibco.com> + + * 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. + +1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * menubar-msw.c (displayable_menu_item): take account of menu + depth when deciding whether to try to display accelerators. + +1998-08-04 Andy Piper <andyp@parallax.co.uk> + + * event-msw.c: use MsgWaitForMultipleObjects if there are no + subprocesses. + + * glyphs-msw.c: fix a couple of potential handle leaks. + +1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp> + + * 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. + +1998-07-20 Martin Buchholz <martin@xemacs.org> + + * casefiddle.c (casify_object): + Change algorithm from O(N**2) to O(N). + Code cleanup. + Doc string cleanup. + +1998-07-22 Greg Klanderman <greg@alphatech.com> + + * dired.c (file_name_completion_unwind): don't leak the cons. + +1998-07-20 Greg Klanderman <greg@alphatech.com> + + * 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. + +1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp> + + * 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. + +1998-07-23 Martin Buchholz <martin@xemacs.org> + + * 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. + +1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de> + + * callint.c (Fcall_interactively): GCPRO prompt string before + passing it to Fread_key_sequence + +1998-07-27 SL Baur <steve@altair.xemacs.org> + + * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and + Vvertical_divider_map. + + * mule-canna.c (vars_of_mule_canna): Initialize every symbol to + Qnil or 0, none were initialized prior to this change. + + 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 <vroonhof@math.ethz.ch> + + * 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 <steve@altair.xemacs.org> + + * XEmacs 21.2-beta1 is released. + +1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> + + * 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 <jhar@tardis.ed.ac.uk> + + * 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 <galibert@pobox.com> + + * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv + byte order is dependant of the local byte order). + From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp> + +1998-07-18 SL Baur <steve@altair.xemacs.org> + + * glyphs-msw.c (mswindows_resource_normalize): Qresource -> + Qmswindows_resource. + From Jonathan Harris <jhar@tardis.ed.ac.uk> + +1998-07-12 SL Baur <steve@altair.xemacs.org> + + * 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 <steve@altair.xemacs.org> + + * 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 <steve@altair.xemacs.org> + + * XEmacs 21.0-pre4 is released. + +1998-07-01 James N. Potts <jnpotts@plutonium.net> + + * 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-separators that + reportedly cause problems under Win95. + +1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * 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. + + * unexnt.c, ntheap.h: + Removed unused find_section() and get_section_size(). + + * 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. + +1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * filelock.c: Removed Vconfigure_lock_directory - already + defined in emacs.c. + + * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already + defined in frame.c and general.c respectively. + + * glyphs-msw.c: Removed Qresource - already defined in + general.c. + +1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> + + * eldap.c (Fldap_search_internal): Docstring fixes + +1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * nt.c (init_environment): Removed unused PRELOAD_WINSOCK, + EMACSDOC and TERM variables. Added EMACSDEBUGPATHS, + EMACSPACKAGEPATH and INFOPATH variables. + Removed unused get_emacs_configuration function. + + * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because + it is now defined at build-time by the makefile. + +1998-07-01 James N. Potts <jnpotts@plutonium.net> + + * 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-separators that + reportedly cause problems under Win95. + +1998-07-05 Andy Piper <andyp@parallax.co.uk> + + * 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. + +1998-07-06 Olivier Galibert <galibert@pobox.com> + + * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem + when the X server endianness is different than the client's one. + +1998-06-29 Kyle Jones <kyle_jones@wonderworks.com> + + * 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. + +1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * fileio.c: Don't do directory separator canonicalisation in + substitute-in-file-name because we don't know that the + filename refers to a local file. + +1998-06-24 Adrian Aichner <adrian@xemacs.org> + + * process-nt.c (nt_create_process): Try appending the standard + executable file extensions to the filename if none supplied. + +1998-06-29 SL Baur <steve@altair.xemacs.org> + + * fileio.c (Fsubstitute_in_file_name): Enable double slash notation + for cygwin32. + From Keisuke Mori <ksk@ntts.com> + +1998-06-24 Andy Piper <andyp@parallax.co.uk> + + * 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. + +1998-06-29 Kyle Jones <kyle_jones@wonderworks.com> + + * 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. + +1998-06-29 SL Baur <steve@altair.xemacs.org> + + * 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. + +1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * event-msw.c: Guard against recursion when freeing + FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing. + + * frame-msw.c: Don't set WS_VISIBLE attribute on first frame. + Call ShowWindow twice in init_frame_3 to get round runemacs + weirdness. + +1998-06-27 Hrvoje Niksic <hniksic@srce.hr> + + * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto. + + * winslots.h: Rename. + + * 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. + +1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> + + * unexaix.c: Line number information works correctly again. + +1998-06-22 Olivier Galibert <galibert@pobox.com> + + * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry. + +1998-06-21 Martin Buchholz <martin@xemacs.org> + + * editfns.c (get_home_directory): ANSIfy. + XEmacs is compilable under C *and* C++. + It's XEmacs, not Xemacs! + +1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * console-msw.h: added a list of fonts to device data. + + * device-msw.c: enumerate list of available fonts in + mswindows_init_device. Free list in mswindows_delete_device. + + * 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 haven't been specified. + +1998-06-23 Greg Klanderman <greg@alphatech.com> + + * 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. + + * redisplay.c (decode_mode_spec): for current-column, show + window's point's column, not buffer's point's column. + +1998-06-23 Andy Piper <andyp@parallax.co.uk> + + * 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. + + * console-msw.h: declare mswindows_enqueue_magic_event. + + * event-msw.c (mswindows_enqueue_magic_event): make global. + +1998-06-24 Hrvoje Niksic <hniksic@srce.hr> + + * 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. + +1998-06-21 Olivier Galibert <galibert@pobox.com> + + * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something + suitable for an int used as a boolean (btw, C sucks.). + +1998-06-18 Andy Piper <andyp@parallax.co.uk> + + * object-msw.c: remove warnings. + + * device-msw.c: #define wrongly named cygwin structure elements. + + * s/cygwin32.h: define DEMI_BOLD + +1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * 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. + +1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * console-msw.h: added a list of fonts to device data. + + * device-msw.c: enumerate list of available fonts in + mswindows_init_device. Free list in mswindows_delete_device. + + * 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 haven't been specified. + +1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * 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. + +1998-06-19 David Bush <david.bush@adn.alcatel.com> + + * 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 + + * 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. + + * lisp.h: Declare user_login_name + +1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> + + * unexaix.c (make_hdr): Fixed bias computations so debugging info + works again. + Some other insignificant nitpicks. + +1998-06-18 Andy Piper <andyp@parallax.co.uk> + + * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when + creating the image list and make sure he bk color is transparent. + +1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch> + + * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from + completed_timeouts. The timer could have expired. + +1998-06-17 Andy Piper <andyp@parallax.co.uk> + + * console-msw.h: move XEMACS_RECT_WH inside frame + parameters. define macors to access it. + + * frame-msw.c (mswindows_init_frame_1): use new target_rect + parameter to initialize 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. + + * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather + than duplicated code. + +1998-06-15 Colin Rafferty <colin@xemacs.org> + + * Makefile.in.in: Made EXTW_LINK expand properly. + +1998-06-12 Martin Buchholz <martin@xemacs.org> + + * redisplay.c (vars_of_redisplay): default value of + column-number-start-at-one should be NIL! + +1998-06-11 Martin Buchholz <martin@xemacs.org> + + * casefiddle.c: + (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar" + +1998-06-05 Hrvoje Niksic <hniksic@srce.hr> + + * eldap.c (Fldap_search_internal): Use build_ext_string instead of + build_string to avoid crashes under Mule. + +1998-06-13 Andy Piper <andyp@parallax.co.uk> + + * ntplay.c (play_sound_data_1): don't delete the sound data until + the next sound is played and the previous one finished. + +1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu> + + * fileio.c (directory-sep-char): Escape backslashes. + +1998-06-10 Hrvoje Niksic <hniksic@srce.hr> + + * event-stream.c: Fix docstring reference. + +1998-06-12 Hrvoje Niksic <hniksic@srce.hr> + + * alloc.c (make_float): Remove useless initialization of `next' + field. + (make_pure_float): Ditto. + + * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'. + +1998-06-08 Kirill M. Katsnelson <kkm@kis.ru> + + * fileio.c (Fmake_directory_internal): Remove conditionals + on WINDOWSNT when calling mkdir. + + * ntproc.c: Deleted the following unused functions: + register_child, reap_subprocess, sys_wait. + + * 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. + + * sysdep.c: Removed MS-DOS code. + (sys_rename): Deal with Microsoft rename weirdness. + (sys_open): Implemented for Windows. + (sys_fopen): Ditto. + (sys_mkdir): Ditto. + +1998-06-08 Kirill M. Katsnelson <kkm@kis.ru> + + * buffer.c (complex_vars_of_buffer): Removed %t description from + the docstring. + +1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com> + + * 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). + +1998-06-04 Kirill M. Katsnelson <kkm@kis.ru> + + * event-stream.c: Defined Qcancel_mode_internal. + (syms_of_event_stream): defsymbol'ed it. + + * events.h: Externed it. + + * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler. + +1998-06-04 Oliver Graf <ograf@fga.de> + + * 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 + +1998-06-03 Kirill M. Katsnelson <kkm@kis.ru> + + * process-nt.c (signal_cannot_launch): Use signal_simple_error() + instead of error(). + +1998-06-03 Kirill M. Katsnelson <kkm@kis.ru> + + * dialog-msw.c (button_width): Removed `inline' from the function + declaration. + +1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com> + + * frame-msw.c: add WS_VISIBLE flag to the first frame created. + Note that adding this flag to subsequent frames causes problems. + +1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de> + + * glyphs-eimage.c (png_instantiate) move 'struct + png_memory_storage tbr' out of nested block to avoid dangling + reference + +1998-06-02 Andy Piper <andyp@parallax.co.uk> + + * faces.h: + * faces.c: rename 3d-object -> gui-element. add toolbar face which + inherits from gui-element. + + * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent + with existing code, generate masks correctly. + +1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com> + + * glyphs-eimage.c: Changed included header for gifs to use + Gifreader instead of giflib. + + * glyphs-x.c: removed the image-related functions that were + moved into glyphs-eimage. + +1998-06-02 David Bush <david.bush@adnb.alcatel.com> + + * glyphs.c (bitmap_to_lisp_data) Define XFree to be free + if built without X Windows support. + +1998-06-02 Hrvoje Niksic <hniksic@srce.hr> + + * fns.c (Fconcat): Synch docstring with new reality. + +1998-06-03 SL Baur <steve@altair.xemacs.org> + + * frame.c: Remove reference to msdos.h (which is going away). + Suggested by Hrvoje Niksic and Kirill Katsnelson. + +1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com> + + * glyphs-eimage.c (jpeg_instantiate): Fix handling of + grayscale images/ + + +1998-05-30 Kirill M. Katsnelson <kkm@kis.ru> + + * events.h: Fixed commentary about misc-user scrollbar events. + + * 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. + +1998-05-29 Andy Piper <andyp@parallax.co.uk> + + * 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. + +1998-06-01 SL Baur <steve@altair.xemacs.org> + + * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy. + * msdos.c (Frecent_doskeys): Ditto. + + * unexalpha.c (unexec): Reverse parameters in call to memcpy. + Suggested by Reggie Perry <perry@zso.dec.com> + + * buffer.h: Eliminate size in declaration. + +1998-06-01 Olivier Galibert <galibert@pobox.com> + + * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge. + +1998-06-01 Kirill M. Katsnelson <kkm@kis.ru> + + * gui.c (gui_item_init): Changed the default value for config member + from Qunbound to Qnil. + +1998-06-01 Greg Klanderman <greg@alphatech.com> + + * indent.c (vmotion_pixels): Don't #define abs(). + +1998-05-30 Kirill M. Katsnelson <kkm@kis.ru> + + * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose + respectively. + +1998-05-30 Andy Piper <andyp@parallax.co.uk> + + * glyphs.h: add xbm declarations. + + * console.h: add xbm_instantiate_method device method. + + * 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. + + * 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. + + * 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 <ben@666.com> 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. + +1998-05-30 Kirill M. Katsnelson <kkm@kis.ru> + + * 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. + + * procimpl.h (struct process_methods): Changed semantics of + create_process method so it accepts lisp strings instead of + char pointers. + + * process.c (Fstart_process_internal): Moved building of + unix style argv from here to process-unix.c, ... + + * process-unix.c (unix_create_process): ... right here. + + * process-nt.c (nt_create_process): Changed this function to + support new semantics, so avoided a GC problem. + + * 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. + + * 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. + + * console-msw.h: Removed prototype for mswindows_bump_queue(). + Added prototype for mswindows_enqueue_misc_user_event(). + + * menubar-msw.c (mswindows_handle_wm_command): Use + mswindows_enqueue_misc_user_event(). + + * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto. + + * dialog-msw.c (dialog_proc): Ditto. + + * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto. + (mswindows_handle_scrollbar_event): Use frame, not window, for misc + user events channel. + +1998-05-29 Greg Klanderman <greg@alphatech.com> + + * 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. + + * 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. + +1998-05-30 Kirill M. Katsnelson <kkm@kis.ru> + + * toolbar.h: Removed misleading commentary, as Martin suggested. + +1998-05-30 Kirill M. Katsnelson <kkm@kis.ru> + + * lisp.h: Extern Qactivate_menubar_hook. + + * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to + run_hook (). + +1998-05-29 Andy Piper <andyp@parallax.co.uk> + + * glyphs-msw.c: use BPLINE macro. + + * 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. + +1998-05-28 Martin Buchholz <martin@xemacs.org> + + * alloc.c (dbg_constants): + * dbxrc: + * gdbinit: + Remove toolbar_data debugging code, since that lrecord has + also been removed. + +Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com> + + * alloc.c: zap cached value of (user-home-directory), so that + it's not undumped. + + * 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. + + * buffer.h: Added extern entries for initial_directory[] and + init_initial_directory(). + + * 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. + + * emacs.c: Rearrange NT initialization order so that + environment/registry variables will be properly entered into + Vprocess_environment. + + * fileio.c: replaced egetenv("HOME") with calls to the new + get_home_directory(). + + * lisp.h: Added function prototypes for uncache_home_directory() + and get_home_directory(), along with lisp prototypes for + Fuser_home_directory() and friends. + + * nt.c: replaced getenv("HOME") with calls to the new + get_home_directory(). + + * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress + warnings about getcwd(), etc. not having prototypes. + +1998-05-28 Kirill M. Katsnelson <kkm@kis.ru> + + * process-nt.c (send_signal): Emulate SIGHUP. + (validate_signal_number): Ditto. + + * 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. + +1998-05-24 Oliver Graf <ograf@fga.de> + + * frame-x.c (cde-start-drag-internal): added filename and multi- + data transfers + (x_cde_convert_callback) dito + +1998-05-26 Oliver Graf <ograf@fga.de> + + * frame-x.c: include event-mod.h also with CDE + (x_cde_convert_callback) made the thing working + (cde-start-drag-internal) also debugging + +1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de> + + * 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. + +1998-05-15 Greg Klanderman <greg@alphatech.com> + + * window.c (Fwindow_displayed_text_pixel_height): New function. + (syms_of_window): DEFSUBR it. + + * indent.c (Fvertical_motion_pixels): New function - request + movement in pixels. + (vmotion_pixels): helper. + (syms_of_indent): DEFSUBR. + * lisp.h: declaration for vmotion_pixels(). + + * 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. + + * window.c: rename window-text-pixel-{height,width,edges} to + window-text-area-pixel-*. + +1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de> + + * tooltalk.c (vars_of_tooltalk) added staticpro for + Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str + +1998-05-27 Andy Piper <andyp@parallax.co.uk> + + * faces.c: create a new 3d_object_face, make modeline and + vertical_divider faces fallback to this rather than the default. + +1998-05-21 Andy Piper <andyp@parallax.co.uk> + + * s/cygwin32.h: define charsets for cygwin. + +1998-05-25 Andy Piper <andyp@parallax.co.uk> + + * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes + and coordinates. resize bitmaps if we have already settled on a + different size. + + * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler. + +1998-05-25 Hrvoje Niksic <hniksic@srce.hr> + + * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto. + + * menubar-msw.c (mswindows_handle_wm_command): Ditto. + + * gui.h: Ditto. + + * gui-x.c (popup_selection_callback): Ditto. + + * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback. + + * gui.c (get_callback): Renamed to get_gui_callback. + +1998-05-17 Martin Buchholz <martin@xemacs.org> + + * glyphs.h: order rearrangement. + + * 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. + +1998-05-24 Martin Buchholz <martin@xemacs.org> + + * general.c: multiple definition of `Qicon'. general.c seems + like a good home for Qicon. + +1998-05-20 Kirill M. Katsnelson <kkm@kis.ru> + + * This patch is to fix compilation warnings under Windows. + + * 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). + + * sysfloat.h (logb): Finally, get logb() prototyped. + + * sysfile.h: Added Windows specific includes. + Removed old Windows specific code bracketed with #if 0. + + * sysdep.h: Added prototype for xrealpath(). + + * sysdep.c (sys_getpid): Added function, to support '95 negative pids. + + * symsinit.h: Added prototypes for syms_of_dired_mswindows, + vars_of_dired_mswindows and init_ntproc (Grrr). + + * realpath.c: Added Windows specific include files. + (xrealpath): Conditionalized declaration of some auto variables on + S_IFLNK, to avoid warnings. + + * 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? + + * nt.h: Added prototypes for set_process_dir and convert_time. + + * 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. + + * floatfns.c (Flogb): Casted arguments to unary minus to signed. + + * gmalloc.c (morecore): Ditto. + (_free_internal): Ditto. + + * lread.c (parse_integer): Ditto. + + * dired-msw.c: Added several include files. + + * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List + of Compilers to Shut Up. + + * callproc.c: Added #includes to suppress warnings under Windows. + (init_callproc): Removed #if0'ed code and unused variables. + +1998-05-25 Andy Piper <andyp@parallax.co.uk> + + * device-msw.c (mswindows_device_system_metrics): do planes in a + way consistent with X. + + * 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. + + * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look + to be closer to X version. + + * event-msw.c: use tooltip string directly. + + * redisplay-msw.c: reinstate Kirill's bg pixmap change. + + * objects-msw.c: frob rgb colors that only Kyle uses. + + * dialog-msw.c (button_width): INLINE -> inline. + +1998-05-23 SL Baur <steve@altair.xemacs.org> + + * getloadavg.c (getloadavg): Fix typo. + +1998-05-23 Kirill M. Katsnelson <kkm@kis.ru> + + * objects-msw.c (mswindows_initialize_font_instance): Added support + for font character sets. + Replaced 'XXX' with '####' in comments throughout the file. + +1998-05-23 Kirill M. Katsnelson <kkm@kis.ru> + + * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and + console_type_create_dialog_mswindows(), to initialize Windows dialog + support. + + * symsinit.h: Prototyped the above functions. + + * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency + checks to dialog.c... + + * 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. + + * dialog-msw.c: New file, dialogs for Windows. + +1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> + + * eldap.c (ldap_search_unwind): Return Qnil instead of nothing + (Fldap_search_internal): Removed unused variable `err' + + * eldap.h: Moved Lisp_LDAP declaration here instead of using a + forward declaration + +1998-05-17 Martin Buchholz <martin@xemacs.org> + + * 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. + + * 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. + +1998-05-21 Kirill M. Katsnelson <kkm@kis.ru> + + * unexnt.c (copy_executable_and_dump_data_section): Suppress + printing dump stats when building without DEBUG_XEMACS. + (dump_bss_and_heap): Ditto. + +1998-05-21 Andy Piper <andyp@parallax.co.uk> + + * 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. + +1998-05-20 Andy Piper <andyp@parallax.co.uk> + + * general.c: + * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c. + + * glyphs-msw.c: change cursor imgae type name to resource. Fix + some nits. + +1998-05-20 Kirill M. Katsnelson <kkm@kis.ru> + + * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for + {top,bottom}-{left,right} values in addition to + {top,bottom}_{left,right}. + +1998-05-18 Hrvoje Niksic <hniksic@srce.hr> + + * fileio.c (Fmake_temp_name): Remove unreached code. + + * process-nt.c (validate_signal_number): Use + signal_simple_error(). + +1998-05-19 Martin Buchholz <martin@xemacs.org> + + * 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 + +1998-05-19 Andy Piper <andyp@parallax.co.uk> + + * glyphs-msw.c (mswindows_create_resized_mask) + (mswindows_create_resized_bitmap): new funnctions split out from + mswindows_resize_dibitmap_instance. + + * glyphs-msw.h: declare new resize functions. + + * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize + functions so that the original bitmaps are preserved. + + * sheap.c: fixup static heap exhausted error to avoid FAQs. + + * redisplay-msw.c (mswindows_output_blank): fixup brush from bg + color if we are trying to output 0 depth bg pixmap. + + * scrollbar-msw.c: warning elimination. + +1998-05-18 Martin Buchholz <martin@xemacs.org> + + * frame-x.c (x_update_frame_external_traits): Start preprocessor + directives in column 1. + + * search.c (skip_chars): Avoid using xzero with arrays, since some + compilers get confused by the construct &array. + +1998-05-18 Kirill M. Katsnelson <kkm@kis.ru> + + * objects-msw.h: + * objects-msw.c: Changed the charset value for a new font from + "don't care" to "ansi". + + * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix. + +1998-05-18 Kirill M. Katsnelson <kkm@kis.ru> + + * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift + modifier on control chars. + Use IsCharAlpha() instead of isaplha(). + +1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp> + + * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, ""). + +1998-05-18 Kirill M. Katsnelson <kkm@kis.ru> + + * 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. + + * objects-msw.h (struct mswindows_color_instance_data): Removed + brush slot, and corresponding accessor macro. + +1998-05-18 Kirill M. Katsnelson <kkm@kis.ru> + + * 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 because 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. + + * 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. + + * toolbar-x.c (x_output_toolbar): The same change as in + toolbar-msw.c + (x_output_toolbar): Ditto. + (x_redraw_exposed_toolbar): Ditto. + + * 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. + + * 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. + + * 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. + + * 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. + +1998-05-17 Kirill M. Katsnelson <kkm@kis.ru> + + * symsinit.h: Externed syms_of_process_nt() + + * emacs.c (main_1): Call syms_of_process_nt() + + * 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. + +1998-05-17 Martin Buchholz <martin@xemacs.org> + + * window.c (have_undivided_common_edge): Make file-local function + static. + (map_windows): Return 0 if all map functions successful. + Fix typos. + + * winslots.h: Use unlikely names for local variables in macros to + avoid shadowing warnings. + +1998-05-17 Andy Piper <andyp@parallax.co.uk> + + * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width + so that we re-output if the toolbar size has changed. + +1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> + + * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c. + + * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c. + + * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully + greater). + +1998-05-16 Kirill M. Katsnelson <kkm@kis.ru> + + * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to + get bitmap manifest constants defined. + + * console-msw.h: Include system files in angle brackets, not in + quotes. + + * window.c (specifier_vars_of_window): Fixed a typo in + `vertical-divider-line-width' docstirng. + +1998-05-16 Olivier Galibert <galibert@pobox.com> + + * 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. + + * insdel.c (buffer_delete_range): Use an EMACS_INT. + + * cmds.c (Fforward_line): Use EMACS_INTs. + + * 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. + + * lisp.h: Change scan_buffer to pass EMACS_INTs. + +1998-05-16 Hrvoje Niksic <hniksic@srce.hr> + + * menubar-msw.c (mswindows_handle_wm_command): Ditto. + + * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto. + + * gui-x.c (popup_selection_callback): Use it. + + * gui.h (get_callback): Declare it. + + * gui.c (get_callback): New function. + +1998-05-15 SL Baur <steve@altair.xemacs.org> + + * window.c (have_undivided_common_edge): Guard scrollbar specific + stuff. + (window_needs_vertical_divider_1): Ditto. + +1998-05-16 Hrvoje Niksic <hniksic@srce.hr> + + * emacs.c (decode_path): Eliminate compiler warning. + (Fdecode_path): Renamed to Fsplit_path. + (Fsplit_string_by_char): New function. + +1998-05-14 Damon Lipparelli <lipp@primus.com> + + * winslots.h: close comment + +1998-05-16 Kirill M. Katsnelson <kkm@kis.ru> + + * callproc.c: Removed declared and unused variable Qbuffer_file_type. + + * bufslots.h: Removed buffer_file_type slot. + + * 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. + +1998-05-15 Kirill M. Katsnelson <kkm@kis.ru> + + * faces.c (complex_vars_of_faces): Defined + Vvertical_divider_face. + (vars_of_faces): Staticpro it. + + * faces.h: Externed Vvertical_divider_face. + + * redisplay-x.c (x_output_vertical_divider): Use + Vvertical_divider_face to draw the divider instead of modeline + face. + + * redisplay-msw.c (mswindows_output_vertical_divider): Draw + divider face using Vvertical_divider_face background. + Fix drawing spacing gaps around the divider. + +1998-05-14 Didier Verna <didier@xemacs.org> + + * 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. + + * 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. + + * winslots.h: new slots: vertical_specifier _line_width and + _spacing. Plus corrected a comment typo. + +1998-05-15 Kirill M. Katsnelson <kkm@kis.ru> + + * window.h: Declared window_divider_width(). + + * console-stream.c (stream_divider_width): Removed method. + (console_type_create_stream): And declaration for it. + + * 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. + + * 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. + + * scrollbar.c (update_scrollbar_instance): Use + window_divider_width() instead of divider_width redisplay method. + + * console.h (struct console_methods): Removed divider_width_method. + + * 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. + + * 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. + +1998-05-15 Andy Piper <andyp@parallax.co.uk> + + * toolbar-msw.c: guess toolbar frame size a bit more accurately. + +1998-05-15 Andy Piper <andyp@parallax.co.uk> + + * 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. + +1998-05-14 Martin Buchholz <martin@xemacs.org> + + * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like + VINTR and VQUIT. + + * process-unix.c (process_signal_char): Use VSUSP instead of + non-standard VSWTCH. Always prefer VSUSP to VSWTCH. + +1998-05-14 Kirill M. Katsnelson <kkm@kis.ru> + + * 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. + +1998-05-15 Kirill M. Katsnelson <kkm@kis.ru> + + ** Dialog separation into a device method from Andy Piper + + * emacs.c (main_1): Call console_type_create_dialog_x(). + + * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted + into this device method. + (console_type_create_dialog_x): New function. + + * dialog.c (Fpopup_dialog_box): New function. + (syms_of_dialog): Defsubr it. + + * console.h (struct console_methods): Declared + popup_dialog_box_method(). + + * symsinit.h: Defined console_type_create_dialog_{x,mswindows} + +1998-05-14 Oliver Graf <ograf@fga.de> + + * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created + * frame-x.c (x_cde_transfer_callback): checked for merge errors + +1998-05-13 Oliver Graf <ograf@fga.de> + + * dragdrop.c (vars_of_dragdrop): provide dragdrop-api + +1998-05-15 Kirill M. Katsnelson <kkm@kis.ru> + + * console.h (device_metrics): Removed dbcs, input-method-editor + and right-to-left metrics. + + * device.c (Fdevice_system_metric): Ditto. + (Fdevice_system_metrics): Ditto. + (syms_of_device): Ditto. + (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back + again. + +1998-05-14 Hrvoje Niksic <hniksic@srce.hr> + + * line-number.h (mark_line_number_cache): Remove unused + declaration. + + * line-number.c (LINE_NUMBER_FAR): Increase to 32768. + (get_nearest_line_number): Simplify. + (add_position_to_cache): Make the old marker point nowhere. + +1998-05-14 Kirill M. Katsnelson <kkm@kis.ru> + + ** 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): + + * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER. + + * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER. + +1998-05-14 Kirill M. Katsnelson <kkm@kis.ru> + + * 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. + + * window.h: Prototype invalidate_vertical_divider_cache_in_window. + (struct window): Added need_vertical_divider_p and + need_vertical_divider_valid_p. + + * winslots.h: Added vertical_divider_draggable_p slot. + + * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented. + (specifier_vars_of_scrollbar): Used it in all vertical specifiers. + + * frame.c (invalidate_vertical_divider_cache_in_frame): New function. + + * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call + invalidate_vertical_divider_cache_in_frame(). + Prototype it. + +1998-05-14 Andy Piper <andyp@parallax.co.uk> + + * toolbar-msw.c: provide correct parameters to TB_SETROWS. + + * glyphs-msw.c (mswindows_initialize_image_instance_mask): size + masks correctly and don't select 0. + +1998-05-14 Kirill M. Katsnelson <kkm@kis.ru> + + * winslots.h: New file, declaration of some struct window and + struct saved_window members. + + * window.h (struct window): Include it, with required preprocessor + magic. + + * window.c (mark_window): Ditto. + (allocate_window): Ditto. + (struct saved_window): Ditto. + (mark_window_config): Ditto. + (saved_window_equal): Ditto. + (Fset_window_configuration): Ditto. + +1998-05-14 Kirill M. Katsnelson <kkm@kis.ru> + + * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix. + +1998-05-12 Didier Verna <didier@xemacs.org> + + * 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. + +1998-05-12 Didier Verna <didier@xemacs.org> + + * console.h (struct console_methods): the divider_width console + method now requires a struct window * argument. + + * 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. + + * console-stream.c (stream_divider_width): pass a struct window * + argument. + + * redisplay-tty.c (tty_divider_width): ditto. + + * window.c (window_right_gutter_width): totdi. + + * redisplay.c (generate_modeline): ittod. + + * scrollbar.c (update_scrollbar_instance): ttido. + + * redisplay-msw.c (mswindows_divider_width): ottid. + WARNING: this enables to compile, but the feature is not functional. + + * window.h (struct window): new field + vertical_divider_shadow_thickness. + + * 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. + +1998-05-14 Kirill M. Katsnelson <kkm@kis.ru> + + * device-msw.c (mswindows_device_system_metrics): Support a deluge + of metrics. + +1998-05-12 Oliver Graf <ograf@fga.de> + + * frame-x.c (x_cde_transfer_callback): fixed for the new protocol + * event-Xt.c (x_event_to_emacs_event): C++ compability + +1998-05-14 Hrvoje Niksic <hniksic@srce.hr> + + * emacs.c (Fdecode_path): Default SEPCHAR to value of + path-separator. + +1998-05-14 Hrvoje Niksic <hniksic@srce.hr> + + * emacs.c (vars_of_emacs): Do it here; change the meaning of + Vpath_separator. + + * fileio.c (vars_of_fileio): Don't define Vpath_separator here. + +1998-05-14 Hrvoje Niksic <hniksic@srce.hr> + + * emacs.c (decode_path_1): New function. + (decode_path): Use it. + (Fdecode_path): Renamed from Fdecode_path_internal; use + decode_path_1. + +1998-05-12 Hrvoje Niksic <hniksic@srce.hr> + + * macros.c (Fzap_last_kbd_macro_event): New function. + (Fend_kbd_macro): Remove REMOVE_LAST kludge. + +1998-05-10 Andy Piper <andyp@parallax.co.uk> + + * 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. + +1998-05-12 Martin Buchholz <martin@xemacs.org> + + * inline.c: Include eldap.h + + * menubar-x.c (x_update_frame_menubar_internal): + Remove: unused variable `container' + +1998-05-11 Martin Buchholz <martin@xemacs.org> + + * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly. + Unfortunately, the resulting temacs still cannot dump. + + * symbols.c (symbol_is_constant): + (verify_ok_for_buffer_local): + -Wswitch Warning suppression - add default case to switches. + + * 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. + + * buffer.c: + * fileio.c: + * lread.c: + * xselect.c: + Change empty docstrings into no doc strings at all. + Fix bogus FSF-format docstrings. + + * extents.c: + Standardize docstrings. + + * floatfns.c: + Explain problems with matherr. + + * glyphs.c: make DEFUNs etags-readable, i.e. single-line + + * 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) + + * gdbinit: + * dbxrc: + Take new EMACSBOOTSTRAPLOADPATH into account. + Update documentation strings + + * 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 + +1998-05-12 Didier Verna <didier@xemacs.org> + + * redisplay.c: removed the scrolling modeline code that didn't + make it for 21.0. To be continued ... + +1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> + + * emacs.c (Fdecode_path_internal): Removed bogus handling of nil + and empty string inputs. + +1998-05-12 Hrvoje Niksic <hniksic@srce.hr> + + * redisplay-x.c (x_output_vertical_divider): Fixed typo. + +1998-05-10 Oliver Graf <ograf@fga.de> + + * 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 + +1998-05-11 Oliver Graf <ograf@fga.de> + + * 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] + +1998-05-12 Kirill M. Katsnelson <kkm@kis.ru> + + * 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. + + * scrollbar.c (update_scrollbar_instance): Position vertical + scrollbar left to divider if the latter present. + + * redisplay.h: Declared OVER_DIVIER constant. + + * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER + case. + + * 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. + + * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally + stick the divider to the right window side. + + * 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. + + * 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. + + * events.c (Fevent_over_divider_p): Added this function. + + * events.h: EXFUNed it. + +1998-05-12 Kirill M. Katsnelson <kkm@kis.ru> + + * toolbar.c (update_frame_toolbars): Re-layout frame windows if + toolbar geometry is suspected to change. + +1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * src/device-msw.c + * src/event-msw.c + Condition dnd and dde code on HAVE_DRAGNDROP. + +1998-05-11 Hrvoje Niksic <hniksic@srce.hr> + + * events.c (format_event_object): Print space as SPC etc. + +1998-05-11 Hrvoje Niksic <hniksic@srce.hr> + + * print.c (print_internal): In the default case, abort() if + ERROR_CHECK_TYPECHECK. + + * fileio.c (Fmake_temp_name): Doc fix. + +1998-05-10 Hrvoje Niksic <hniksic@srce.hr> + + * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS. + + * undo.c (Fprimitive_undo): Fixed typo. + +1998-05-11 Hrvoje Niksic <hniksic@srce.hr> + + * fns.c (concat): Signal error on integer argument. + +1998-05-10 Kirill M. Katsnelson <kkm@kis.ru> + + * console.h (device_metrics): Prefixed each constatnt with DM_ + + * 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. + + * device-msw.c (mswindows_device_system_metrics): Renamed + device_metrics enum constants. + Return Qunbound instead of Qnil. + + * device-tty.c (tty_device_system_metrics): Ditto. + + * device-x.c (x_device_system_metrics): Ditto. + +1998-05-10 Andy Piper <andyp@parallax.co.uk> + + * 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. + + * toolbar-msw.c: use masks if they exist. + + * glyphs-msw.c: set up masks correctly. + + * event-msw.c: typedef SOCKET if cygwin and not msg select(). + +1998-05-10 Hrvoje Niksic <hniksic@srce.hr> + + * regex.c (re_match_2_internal): Check for quit. + +1998-05-10 Hrvoje Niksic <hniksic@srce.hr> + + * frame.c (Ffocus_frame): New function. + +1998-05-06 Oliver Graf <ograf@fga.de> + + * Makefile.in.in: removed dragdrop.o from objs + * config.h.in: HAVE_DRAGNDROP added + * emacs.c: do syms_of_dragdrop only if HAVE_DRAGNDROP is defined + * event-Xt.c: dragdrop.h include now depends on HAVE_DRAGNDROP + changed calls to dnd_url_hexify_string + MIME data is now a list of MIME strings or lists + this was required by CDE, and a good idea in any case + * dragdrop.c (dnd_url_hexify_string): method prefix code added + * dragdrop.h: dnd_url_hexify_string prototype changed + * frame-x.c (x_cde_transfer_callback): CDE adapted the new API + +1998-05-05 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * event-msw.c: now creates misc-user-events on dnd drops + +1998-05-05 Oliver Graf <ograf@fga.de> + + * events.h: changed comment for misc_user_events + * events.c (make-event): removed dnd_data defs + * frame.c: removed everything referring to drag_and_drop_functions + * frame-x.c (x_cde_transfer_callback): disabled (needs to be changed) + * lisp.h: removed Qdnd_data + * general.c: removed Qdnd_data + * symsinit.h: added syms_of_dragdrop + * frame.el: deleted default-drag-and-drop-functions + +1998-05-04 Oliver Graf <ograf@fga.de> + + * events.c: removed all dnd_drop stuff + * events.h: extended misc_user_data by button info + removed dnd_drop event + * emacs.c: added call to syms_of_dragdrop + * dragdrop.c: created + * dragdrop.h: created + * event-stream.c (enqueue_misc_user_event): initialization of the + new fields of misc_user_data + dnd_drop stuff removed + * keymap.c: drop symbols removed + * Makefile.in.in: added dragdrop.o to objs + +1998-05-09 SL Baur <steve@altair.xemacs.org> + + * EmacsFrame.c (EmacsFrameSetValues): Fix typo. + Suggested by: Kirill M. Katsnelson <kkm@kis.ru> + +1998-05-09 Kirill M. Katsnelson <kkm@kis.ru> + + * This change adds four scrollbar specifiers: + {horizontal,vertical}-scrollbar-visible-p and + scrollbar-on-{top,left}-p. + Spare parts supplied by Didier Verna <didier@xemacs.org> + + * frameslots.h: Added slots for the four specifier caching. + + * frame.h: FRAME_SCROLLBAR_{WIDTH,HEIGHT} count for scrollbar + visible specifiers. + Removed old resource-only controlled scrollbar_on_* ints. + + * frame-x.c (x_layout_widgets): Removed (to x-scrollbar.el) + initialization of old style scrollbar placement from resources. + + * frame-tty.c (tty_init_frame_1): Removed initialization of old + style scrollbar placement. + + * frame-msw.c (mswindows_init_frame_1): Removed random + initialization of scrollbar sizes to 15 pixel. + + * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Use + scrollbar placement specifiers cached values from window, instead + of the old per-frame values. + (mswindows_output_vertical_divider): Ditto. + + * redisplay-x.c (x_output_vertical_divider): Ditto. + + * redisplay-output.c (redisplay_clear_bottom_of_window): Ditto. + + * scrollbar.c (update_scrollbar_instance): Ditto. + (specifier_vars_of_scrollbar): Declared the four specifiers. + + * window.h (struct window): Defined slots for caching the new + specifiers. + + * window.c (mark_window): Mark them. + (allocate_window): Initialize them. + (struct saved_window): Store them in a cool place. + (saved_window_equal): Compare them. + (save_window_save): Save them. + (Fset_window_configuration): Fetch them back. + (window_needs_vertical_divider): Check for scrollbar placement + using window cached specs. + (window_top_gutter_height): Ditto. + (window_bottom_gutter_height): Ditto. + (window_left_gutter_width): Ditto. + (window_right_gutter_width): Ditto. + (window_scrollbar_width): Account for scrollbar visibility + specification in window. + (window_scrollbar_height): Ditto. + +1998-04-18 Kirill M. Katsnelson <kkm@kis.ru> + + * device.c (Fdevice_system_metrics): Added function. + Moved (device-pixel-height), (device-pixel-width), + (device-mm-width), (device-mm-height), (device-bitplanes), + (device-color-cells) to device.el, amd make them call + (device-system-metrics). + + * console.h (struct console_methods): Replaced methods: + device_pixel_width_method(), device_pixel_height_method(), + device_mm_width_method(), device_mm_height_method(), + device_bitplanes_method(), device_color_cells_method() + with single device_system_metrics_method(). + (device_metrics): Declared enumeration of supported + device system metrics. + + * device-msw.c (mswindows_device_system_metrics): Implement + device_system_metrics_method(), remove six obsolete methods. + + * device-tty.c (tty_device_system_metrics): Ditto. + + * device-x.c (x_device_system_metrics): Ditto. + +1998-05-10 Kirill M. Katsnelson <kkm@kis.ru> + + * EmacsFrame.c (update_various_frame_slots): Do not store internal + border width there. + (EmacsFrameInitialize): Do it rather here. + (EmacsFrameSetValues): If EditRes has changed internal border + width, mark frame size as slipped. + +1998-05-06 Kirill M. Katsnelson <kkm@kis.ru> + + * frame.h (struct frame): Added char_{width,height} member + variables and access macros + Added size_slipped redisplay bit and mark/clear macros. + + * redisplay.c (redisplay_frame): Adjust frame size if size slipped + bit is set. + (redisplay_device): Call redisplay_frame if size slipped bit is set. + + * frame.c (adjust_frame_size): Redisplay beats frame back in shape + with this. Added. + (frame_size_slipped): Added. + (internal_set_frame_size): Clear size slipped bit. + (change_frame_size_1): Store real charsize into frame object. + (vars_of_frame): Declared adjust-frame-function. + + * frame-msw.c (mswindows_update_frame_external_traits): Same + change as for frame-x.c + (mswindows_frame_size_fixed_p): Implemented the method. + + * frame-x.c (x_update_frame_external_traits): Do not call + Fset_frame_size to adjust frame, redisplay will do. + + * faces.c (update_EmacsFrame): Mark frame as slipped when default + font changes. + + * toolbar.c (compute_frame_toolbars_data): Removed obsoleted call + to change_frame_size. Redisplay will fix it later. + Removed toolbar_*_changed_in_frame specifier + change handlers. + (specifier_vars_of_toolbar): Calls to these routed to + frame_size_slipped generic handler. + + * toolbar-x.c: Removed toolbar_*_changed_in_frame device methods. + + * scrollbar-x.c: Removed scrollbar_*_changed_in_frame device + methods. + + * scrollbar.c: Removed scrollbar_*_changed_in_frame specifier + change handlers. + (specifier_vars_of_scrollbar): Calls to the above changed to + frame_size_slipped generic handler. + + * menubar-x.c (x_update_frame_menubar_internal): Do not resize + frame, just mark frame size as slipped. + + * device-x.c: Removed declaration of in_specifier_change_function. + + * EmacsFrame.c (EmacsFrameSetValues): Do not check + in_specifier_change_function. + (EmacsFrameSetValues): Simulate a call to resize callback when no + actual geometry change happened. + + * console.h (struct console_methods): Removed declarations for all + <specifier>_changed_in_frame methods for toolbars and scrollbars. + Added frame_size_fixed_p method. + +1998-05-08 SL Baur <steve@altair.xemacs.org> + + * redisplay.c (decode_mode_spec): Guard against garbage + overwriting the stack. + +1998-05-08 Kirill M. Katsnelson <kkm@kis.ru> + + * dired-msw.c (vars_of_dired_mswindows): Syntax fix for union + lisp object type. + + * menubar-msw.c (populate_menu_add_item): Ditto. + + * ntheap.c (sbrk): Ditto. + + * ntproc.c (create_child): Ditto. + (syms_of_ntproc): Ditto. + +1998-05-07 Andy Piper <andyp@parallax.co.uk> + + * glyphs-msw.c: updates to support total transparency. + (mswindows_initialize_image_instance_icon): don't resize bitmaps + for icons. + (mswindows_initialize_image_instance_mask): new function. + Use these new functions as appropriate. + + * glyphs-msw.h (mswindows_initialize_image_instance_icon): + function renamed. + + * frame-msw.c: use renamed mswindows_initialize_image_instance_icon. + + * redisplay-msw.c: MaskBlt bitmaps if we have a mask, BitBlt + otherwise. + +1998-05-07 Kirill M. Katsnelson <kkm@kis.ru> + + * unexnt.c (read_in_bss): Removed unused variables, replaced exits + with aborts. + (map_in_heap): Ditto. + +1998-05-06 SL Baur <steve@altair.xemacs.org> + + * frame.c (adjust_frame_size): Don't mix integers and Lisp_Objects. + +1998-05-07 Kirill M. Katsnelson <kkm@kis.ru> + + * print.c (write_string_to_stdio_stream): Under MS Windows, flush + stdio and stderr after output. Ouch. + +1998-05-05 Andy Piper <andyp@parallax.co.uk> + + * event-msw.c: comment out broken dnd stuff and don't use msw socket + support if we have cygwin select. + +1998-05-03 Kirill M. Katsnelson <kkm@kis.ru> + + * events.h (STREAM_* defines): Defined constants for the parameter + FLAGS to create_stream_pair_cb(). + + * process.c (Fopen_network_stream_internal): Use flags from events.h + (Fopen_multicast_group_internal): Ditto. + + * process-unix.c (unix_create_process): Ditto. + + * event-unixoid.c (event_stream_unixoid_create_stream_pair): Ditto. + Changed #ifdef process type logic to catch configuretion errors + when no process type is defined. + + * event-msw.c: Implemented winsock_stream + (get_process_input_waitable): Differentiate network connections. + (emacs_mswindows_select_process): Ditto. + (emacs_mswindows_create_stream_pair): Ditto. + (emacs_mswindows_delete_stream_pair): Ditto. + + * process-nt.c: Implemented network connections. + (nt_init_process): Initialize Winsock. + + * sysdep.c (init_system_name): Ask for the right name right from + the system. + + * ntproc.c: Removed select emulation crap and dynamic Windock + loading. + + * nt.c: Removed a lot of terrible wrappers for socket functions. + + * s/windowsnt.h: Removed sys_select encapsulation. + +1998-05-05 Hrvoje Niksic <hniksic@srce.hr> + + * search.c (Fmatch_data): Synch with FSF. + +1998-05-04 Greg Klanderman <greg@alphatech.com> + + * events.h: Add extern declarations for focus_follows_mouse and + investigate_frame_change(). + * cmdloop.c (Fcommand_loop_1): cleanup focus-follows-mouse + handling - move externs to events.h. + +1998-05-05 Andy Piper <andyp@parallax.co.uk> + + * glyphs-msw.c: generate an AND mask when creating an icon and really + make it an icon if that is what is required. + + * glyphs-msw.h (mswindows_create_icon_from_image): new cursor + argument. + + * frame-msw.c (mswindows_set_frame_pointer): set the frame cursor when + asked. + +1998-05-05 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> + + * s/windowsnt.h: + * s/rtu.h: + * s/aix4.h: + * m/wicat.h: + * m/gould.h: + * m/gould-np1.h + * unexhp9k3.c: + * unexconvex.c: + * unexalpha.c: + * unexaix.c: + * regex.c: + * process-unix.c: + * mule-mcpath.c: + * msdos.c: + * lisp.h: + * gmalloc.c: + * getloadavg.c: + * broken-sun.h: + Removed references to ancient bcmp, bzero, and bcopy. + +1998-05-04 Andy Piper <andyp@parallax.co.uk> + + * gui.el: make gui-button-face colors apply in the mswindows + domain as well as for x. + + * objects-msw.c (mswindows_string_to_color): grok + rgb:rrrr/gggg/bbbb color formats used by xpm-button.el. + +1998-05-04 Greg Klanderman <greg@alphatech.com> + + * window.c (Fselect_window): Add optional second argument + `norecord' to avoid recording a buffer change. + * window.h: change the EXFUN for Fselect_window. + * window.c (Fdelete_window): call Fselect_window with 2nd arg Qnil. + (Fother_window): ditto. + (temp_output_buffer_show): ditto. + (Fset_window_configuration): ditto. + (Fset_window_configuration): ditto. + * frame.c (Fselect_frame): ditto. + (Fset_frame_selected_window): ditto. + (delete_frame_internal): ditto. + * device.c (Fselect_device): ditto. + * console.c (Fselect_console): ditto. + * callint.c (Fcall_interactively): ditto. + +1998-05-05 Hrvoje Niksic <hniksic@srce.hr> + + * search.c (Fregexp_quote): Loop by characters, not by bytes. + +1998-05-05 Jan Vroonhof <vroonhof@math.ethz.ch> + + * redisplay.c (window_line_number): Guard against selected_device + = nil. + + * frame-x.c (x_init_frame_2): Revert to updating frame title. + +1998-05-05 SL Baur <steve@altair.xemacs.org> + + * emacs.c (shut_down_emacs): Update crash report information. + +1998-05-04 Kyle Jones <kyle_jones@wonderworks.com> + + * linuxplay.c: Initialize audio_dev to /dev/dsp at + compile time instead of at run-time. Don't initialize + mixer_fd, audio_fd and audio_vol to -1; none of them need + it, and XEmacs will crash on some architectures when + these variable are modified after being initialized. + Declare audio_dev, audio_vol, audio_fd, and mixer_fd as + static, since none of them need to be visible outside + linuxplay.c. + +1998-04-27 Hrvoje Niksic <hniksic@srce.hr> + + * eldap.c (make_ldap): New function. + (finalize_ldap): Use it. + (Fldap_open): Ditto. + + * eldap.c (struct Lisp_LDAP): Removed connection status symbol. + + * eldap.h (LDAP_LIVE_P): Removed + (CHECK_LIVE_LDAP): Adapt to changes in struct Lisp_LDAP + +1998-05-03 Hrvoje Niksic <hniksic@srce.hr> + + * lread.c: (read_escape): Restore handling of \M-a; clarify + comment. + +1998-05-04 Kyle Jones <kyle_jones@wonderworks.com> + + * realpath.c: Rename realpath() to xrealpath(). + + * fileio.c: Call xrealpath() instead of realpath(). + + * sysdep.h: Use #define to map xrealpath() calls to + realpath() on systems that have realpath(). + +1998-05-04 Martin Buchholz <martin@xemacs.org> + + * rangetab.c: + * rangetab.h: Move #include's from rangetab.h into rangetab.c for + consistency. + * inline.c: include rangetab.h to get GCC inlines + +1998-05-03 SL Baur <steve@altair.xemacs.org> + + * event-stream.c (event_stream_next_event): Reverse previous patch to + slow down poll for quit. + Suggested by Kyle Jones <kyle_jones@wonderworks.com> + + * lread.c (read_escape): Turn off interpretation of "\M..." + Suggested by Olivier Galibert <galibert@pobox.com> + + * lread.c (read_escape): add explanatory comment about why + FSF_KEYS are being turned off. + +1998-05-02 SL Baur <steve@altair.xemacs.org> + + * lread.c (FSF_KEYS): Remove if built with Mule. + +1998-05-01 Kirill M. Katsnelson <kkm@kis.ru> + + * event-msw.c (ntpipe_shove_flusher): Removed. + (init_shove_stream): Flusher undeclared. + +1998-05-02 SL Baur <steve@altair.xemacs.org> + + * rangetab.c: `default_dumped' removed. + +1998-05-02 Hrvoje Niksic <hniksic@srce.hr> + + * events.c (Fmake_event): Initialize key data for key-press + events. + +1998-05-02 Hrvoje Niksic <hniksic@srce.hr> + + * fileio.c (close_stream_unwind): Renamed to delete_stream_unwind. + Delete the stream. + (Finsert_file_contents_internal): Delete STREAM after use. + (Fmake_temp_name): Improve randomness of generated file names. + (Fmake_temp_name): Don't initialize COUNT if in temacs. + +1998-05-02 Olivier Galibert <galibert@pobox.com> + + * buffer.h: Put the range_table lrecrod declaration where it + belongs... + + * rangetab.h: New file - ...which is here. + + * rangetab.c: Move declarations to rangetab.h + +1998-05-01 Hrvoje Niksic <hniksic@srce.hr> + + * data.c (Fneq): Fix docstring. + (arithcompare_many): Slightly simplify. + +1998-04-29 Andy Piper <andyp@parallax.co.uk> + + * s/cygwin32.h: don't define BROKEN_CYGWIN anymore since we normally + link with unixoid event loop now. + +1998-05-01 Kirill M. Katsnelson <kkm@kis.ru> + + * event-stream.c (event_stream_next_event): Disable polling for + quit while XEmacs is blocked waiting for an event. + +1998-05-01 Kirill M. Katsnelson <kkm@kis.ru> + + * specifier.h: Corrected documentation on magic specifiers. + Documented DEPTH parameter to instantiate_method. + Renamed reveal->unlock_ghost_specifiers_protected(). + + * specifier.c: Removed the reveal mechanism and made ghost + specifiers read-only, so they are accessible as fallbacks of magic + specifier, but aren't modifiable unless C code enables so. + (specifier_equal): Compare specifier fallbacks as well. + + * scrollbar.c (init_frame_scrollbars): + (init_device_scrollbars): + (init_global_scrollbars): Renamed + reveal->unlock_ghost_specifiers_protected(). + +1998-05-01 Hrvoje Niksic <hniksic@srce.hr> + + * fileio.c (Fcar_less_than_car): Fix Flss caller. + (Fcdr_less_than_cdr): Ditto. + + * lisp.h: Fix declarations. + + * data.c: Enable many arguments versions of <, >, <=, >= and /=. + + * bytecode.c (Fbyte_code): Use arithcompare. + + * data.c (arithcompare): Make non-static. + +1998-04-30 Greg Klanderman <greg@alphatech.com> + + * frame.c (Fselect_frame): update docstring to describe + focus-follows-mouse behavior. + +1998-05-01 Hrvoje Niksic <hniksic@srce.hr> + + * print.c (Fwrite_char): Don't touch Vprint_gensym. + (print_error_message): Don't gcpro TAIL. + (Fdisplay_error): Simplify. + +1998-04-30 Hrvoje Niksic <hniksic@srce.hr> + + * print.c (print_internal): Use long_to_string(). + + * redisplay.c (decode_mode_spec): Remove bogus calculation of the + number of digits. + + * print.c (Fprin1): Removed THE_STREAM. + (Fprinc): Ditto. + (Fprint): Ditto. + (Fdisplay_error): Canonicalize STREAM here. + (print_error_message): Don't canonicalize STREAM. + (print_error_message): Use print_internal() instead of Fprin1 and + Fprinc. + + * print.c: (Fprin1_to_string): Delete internal stream explicitly. + (Ferror_message_string): Ditto. + (Fterpri): Use write_char_internal. + +1998-04-18 Martin Buchholz <martin@xemacs.org> + + * console-x.h: Initialize_Locale should not depend on HAVE_XIM, + esp. in the future. + + * Makefile.in.in: be more careful generating depend. + + * *.c (F*): Unfortunately, etags can only detect per-line + patterns, and so the DEFUN macro must have the lisp name and the C + name on the same line for a complete TAGS file. Make it so. + + * signal.c (init_signals_very_early): + * process.c (Fsignal_process): Order the signals in decreasing + order of standardization. Provide helpful standardization + comments. Add missing signal names. + + * unexhp9k800.c: Remove undefined roundup. + * symsinit.h: Add prototype for init_hpplay(). + +1998-04-30 Hrvoje Niksic <hniksic@srce.hr> + + * window.c (Fcenter_to_window_line): New function. + (Frecenter): Use it. + +1998-04-30 Hrvoje Niksic <hniksic@srce.hr> + + * dired.c (make_directory_hash_table): Constify. + + * scrollbar.c (Fscrollbar_page_up): Use Fcenter_to_window_line + instead of Frecenter. + (Fscrollbar_page_down): Ditto. + (Fscrollbar_to_top): Ditto. + (Fscrollbar_to_bottom): Ditto. + + * window.c (Frecenter): Removed. + +1998-04-29 Andy Piper <andyp@parallax.co.uk> + + * console.h: xpm_normalize is not a console method anymore. + + * event-msw.c: honour toolbar help string length. + + * glyphs-msw.c: make copyright more meaningful. implement color + symbol support for Xpm. (extract_xpm_color_symbols) new function. + + * glyphs.c (pixmap_to_lisp_data) (xpm_normalize): fucntions moved + from glyphs-x.c + + * glyphs.h: declare pixmap_to_lisp_data. + + * toolbar-msw.c: more meaningful copyright. + +1998-04-30 Hrvoje Niksic <hniksic@srce.hr> + + * macros.c (Fend_kbd_macro): New arg REMOVE-LAST. + + * gui-x.c (popup_selection_callback): Treat anonymous interactive + and compiled-function interactive callbacks as commands. + +1998-04-28 Hrvoje Niksic <hniksic@srce.hr> + + * abbrev.c (obarray_has_blank_p): Simplify. + +1998-04-27 Hrvoje Niksic <hniksic@srce.hr> + + * getloadavg.c (getloadavg): Removed some code repetition. + +1998-05-01 Kirill M. Katsnelson <kkm@kis.ru> + + * process-nt.c: Document usage of #pragma warning. + (alloc_process_memory): Spell _ALPHA_ correctly. + +1998-04-29 SL Baur <steve@altair.xemacs.org> + + * Makefile.in.in: Change `progname' to `PROGNAME' for + consistency. + +1998-04-29 Kirill M. Katsnelson <kkm@kis.ru> + + * frame.c (change_frame_size_1): Adjust frame row/columns taking + real toolbar size into account, not the theoretical one. + + * toolbar.c (set_frame_toolbar): Removed unused parameter. + Return void, not unused int. + Logic which checks whether toolbar to be recomputed moved here + from macro COMPUTE_TOOLBAR_DATA (r.i.p) + (compute_frame_toolbars_data): Removed COMPUTE_TOOLBAR_DATA. It + did not work due to a bug, and also did not check whether toolbar + size has changed. + Compute new character sizes passed to change_frame_size, do not + use the old (pre-toolbar-change) ones. + (update_frame_toolbars): Honor frame_changed and clear frame bits. + (recompute_overlaying_specifier): New helper function, called from + default toolbar specifier change handlers. + (default_toolbar_specs_changed): Use it. + (default_toolbar_size_changed_in_frame): Ditto. + (default_toolbar_border_width_changed_in_frame): Ditto. + (default_toolbar_visible_p_changed_in_frame): Ditto. + (toolbar_geometry_changed_in_window): New handler. The old one, + some_windows_value_changed, did not do the trick. + (default_toolbar_size_changed_in_window): New handler for default + toolbar. + (default_toolbar_border_width_changed_in_window): Ditto. + (default_toolbar_visible_p_changed_in_window): Ditto. + (specifier_vars_of_toolbar): Use one of the above four handlers + instead of some_windows_value_changed in toolbar specifiers. + +1998-04-29 Andy Piper <andyp@parallax.co.uk> + + * redisplay-msw.c (mswindows_output_string) + (mswindows_output_string): output the background pixmap if we have + one. + +1998-04-28 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> + + * paths.h.in: Added PATH_PROGNAME and PATH_VERSION. + +1998-04-28 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> + + * emacs.c (complex_vars_of_emacs): Added `emacs-program-name' and + `emacs-program-version'. + +1998-04-29 Kirill M. Katsnelson <kkm@kis.ru> + + * process-nt.c: Signal support for Windows NT. + New code under subheadings "Running remote threads" and "Sending + signals". + (nt_create_process): Create new process suspended, then enable + signals in it, then resume it. + (nt_kill_child_process): Implemented + (nt_kill_process_by_pid): Ditto. + (process_type_create_nt): Registered the two above. + +1998-04-28 P. E. Jareth Hein <jareth@camelot-soft.com> + + * glyphs-x.c : slight cleanup and bugfix related to memory + corruption and possible leaks. Also fix a visual problem + with XPM pointers + +1998-04-28 P. E. Jareth Hein <jareth@camelot-soft.com> + + * glyphs-x.c (x_init_image_instance_from_eimage): Make sure + automatic pointers are null... + +1998-04-27 Greg Klanderman <greg@alphatech.com> + + * cmdloop.c (Fcommand_loop_1): Call investigate_frame_change if + focus_follows_mouse is true. + + * event-stream.c (next_event_internal): Only call + investigate_frame_change if focus_follows_mouse is false. + + * event-stream.c (investigate_frame_change): Fix + focus_follows_mouse handling. It was the case that, with + focus_follows_mouse true, (select-frame (next-frame)) could leave + next-frame with input focus, but not window manager focus. Now + needs to be called from 2 places, conditional on the value of + focus_follows_mouse. + +1998-04-24 Kirill M. Katsnelson <kkm@kis.ru> + + * frame.c (Fmake_frame): GC-protect new frame immediately upon + creation. + +1998-04-27 Kirill M. Katsnelson <kkm@kis.ru> + + * frame.c (delete_frame_internal): Fixed spurious minibuffer + frames when creating minibufferless frames (reverted to 20.3 + source, change not in ChangeLog) + +1998-04-26 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> + + * eldap.h: Added CONCHECK_LDAP macro + + * eldap.c: Moved definition of most Lisp_object keywords to + general.c + (Fldap_close): Modified semantics to match those of + `Fclose_database' + (Fldap_search_internal): Do not consider a + `LDAP_SIZELIMIT_EXCEEDED' a fatal error + + * general.c: Added several keywords needed by eldap.c. Sorted + keywords alphabetically. + +1998-04-24 Hrvoje Niksic <hniksic@srce.hr> + + * eldap.c (finalize_ldap): New function; use it when declaring + LDAP lrecord type. + +1998-04-27 Kirill M. Katsnelson <kkm@kis.ru> + + * fileio.c (Fwrite_file_contents_internal): Prefer stat() over + fstat() back for Windows, where closing a file changes its + modification time. + +1998-04-26 Amir J. Katz <amir@ndsoft.com> + + * sysdep.h: Simplified definition of strerror() + +Sun Apr 23 1998 Andy Piper <andyp@parallax.co.uk> + + * emacs.c: + * symsinit.h: + * glyphs-eimage.c: rename glyphs_read to glyphs_eimage. + + * glyphs.c: + * console.h: + * glyphs-x.c: + * glyphx-msw.c: make xpm_normalize and xpm_instantiate device + methods and use them appropriately. Remove redundant pixmap file + handling functions. + +Sun Apr 23 1998 Andy Piper <andyp@parallax.co.uk> + + * glyphs-msw.c: use XINT for lisp ints. + + * console-msw.c: remove redundant functions that break under union + type. + + * frame-msw.c: build lisp ints for functions that expect them. + + * objects-msw.c: don't LISP_HASH COLORREF's. + + * sheap.c: remove dependency on VALMASK. + +1998-04-27 SL Baur <steve@altair.xemacs.org> + + * debug.c (vars_of_debug): Remove `Fprovide("internal-debug")'. + +1998-04-27 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * device-msw.c: Unconditionally use InitCommonControls() instead + of InitcommonControlsEx() - the latter is not defined in all + environments. + +1998-04-26 SL Baur <steve@altair.xemacs.org> + + * Makefile.in.in: Religiously use ${progname}. + + * paths.h.in: Remove reference to user-defined site-lisp location. + * debug.c (vars_of_debug): Rename feature to 'internal-debug. + +1998-04-24 Martin Buchholz <martin@xemacs.org> + + * mule-charset.h: + * mule-charset.c: + Use ints instead of bitfields for Lisp_Charset fields. This + should work around bugs in the latest egcs snapshot, and make + XEmacs faster. Introduce dimension and chars as fields in + Lisp_Charset instead of computing them every time. The extra + space is about 1k, a reasonable price. + +1998-04-25 SL Baur <steve@altair.xemacs.org> + + * glyphs-x.c (xface_normalize): Add console_type parameters to + calls to `potential_pixmap_file_instantiator'. + +Sat Apr 24 1998 Andy Piper <andyp@parallax.co.uk> + + * event-msw.c: fix and enable signal pipe handling when using msg + select(). + +1998-04-25 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> + + * process-unix.c (allocate_pty): Typo fix. + +1998-04-25 Olivier Galibert <galibert@pobox.com> + + * s/irix5-0.h (PTY_OPEN): Ditto + * s/irix4-0.h (PTY_OPEN): Restore the stb variable. + +1998-04-25 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> + + * emacs.c (complex_vars_of_emacs): Typo fixes. + + * emacs.c: Added configure-exec-prefix-directory. + + * paths.h.in: Added PATH_EXEC_PREFIX. + +1998-04-25 Olivier Galibert <galibert@pobox.com> + + * unexelfsgi.c (unexec): Kludge for Irix 5.3 which clears the + .sbss section no matter what. Defensively remove the alignment fix + if the .sbss section type isn't modified (Irix 6.5SE). Remove some + warnings. + +1998-04-24 Martin Buchholz <martin@xemacs.org> + + * data.c (Fnot): There has traditionally been kludgy startup lisp + code that called `null' even if `not' was more appropriate, + because `not' was defined in lisp. This is one primitive + sufficiently important that it should ALWAYS be defined. + +Sat Apr 24 1998 Andy Piper <andyp@parallax.co.uk> + + * Makefile.in.in: add glyphs-eimage.o to build. + + * console.h: added console methods init_image_instance_from_eimage + and locate_pixmap_file. + + * emacs.c: add initialisation for glyphs-eimage.c + + * symsinit.h: declare glyphs-eimage functions. + + * glyphs-eimage.c: New file - generalised eimage support for gif, + tiff, png and jpeg, mainly from glyphs-x.c. + + * glyphs-msw.c: added init_image_instance_from_eimage. Tidied up + file location. + + * glyphs-x.c: disable gif, tiff, png and jpeg support in this + file. Added init_image_instance_from_eimage. Tidied up file + location. + + * glyphs.h: + * glyphs.c: abstract image location. + +Fri Apr 24 19:38:19 1998 Andy Piper <andyp@parallax.co.uk> + + * config.h.in: support our special select + + * event-msw.c: + * toolbar-msw.c: + * console-msw.h: toolbar cleanup. + + * device-msw.c: + * emacs.c: + * frame-msw.c: + * glyphs-msw.h: + * ntplay.c: + * process-unix.c: + * select-msw.c: + * sheap.c: + * s/cygwin32.h: warning elimination. + +1998-04-24 Hrvoje Niksic <hniksic@srce.hr> + + * fns.c (Fload_average): New argument USE_FLOATS. + + * alloc.c (Fstring): New function, synched with FSF 20.3. + +Thu Apr 23 19:38:19 1998 Andy Piper <andyp@parallax.co.uk> + + * unexcw.c: cope with the reversed executable sections written by + binutils-2.9 ld and egcs. + +1998-04-24 Kirill M. Katsnelson <kkm@kis.ru> + + * menubar-msw.c (populate_or_checksum_helper): Fixed to compile + with union type. + +1998-04-23 Hrvoje Niksic <hniksic@srce.hr> + + * fns.c (Fload_average): Respect errno when reporting getloadavg() + errors. + + * getloadavg.c (getloadavg): Cleaner Solaris implementation, based + on sample code by Casper Dik. + +1998-04-23 SL Baur <steve@altair.xemacs.org> + + * frame-x.c (x_delete_frame): remove dead code. + +1998-04-22 SL Baur <steve@altair.xemacs.org> + + * print.c (Falternate_debugging_output): Unconditionally define. + +1998-04-22 Hrvoje Niksic <hniksic@srce.hr> + + * eval.c: Ditto. + + * alloc.c: Ditto. + + * lread.c: Ditto. + + * print.c: Removed standalone hacks. + +1998-04-23 Kirill M. Katsnelson <kkm@kis.ru> + + * toolbar-msw.c (mswindows_clear_toolbar): Fixed wabbit buttons. + (mswindows_output_toolbar): Gave 3D look to toolbars. Still no + pretty, needs more work. + (mswindows_move_toolbar): Renamed so because it does not deal with + redrawing exposed toolbars. + Properly position toolbars. + (mswindows_redraw_exposed_toolbars): Changed calls to the above. + (mswindows_find_toolbar_pos): Do not assert if toolbar not + found: a command can come from a menu. + (mswindows_handle_toolbar_wm_command): Quickly return nil if + toolbar not found. + +1998-04-22 Kirill M. Katsnelson <kkm@kis.ru> + + * device-msw.c (tagINITCOMMONCONTROLSEX): Uniform declaration + between SDK and cygwin. + (mswindows_init_device): InitCommonControls -> + InitCommonControlsEx typo fix. + +Wed Apr 22 12:59:35 1998 Andy Piper <andyp@parallax.co.uk> + + * glyphs-msw.c (EImage2DIBitmap): count the number of bytes correctly. + +Wed Apr 22 12:59:35 1998 Andy Piper <andyp@parallax.co.uk> + + * config.h.in: support for HAVE_MSG_SELECT. + + * console-msw.h: add support for four toolbars. + + * device-msw.c: init common controls. + + * event-msw.c: if HAVE_MSG_SELECT is defined use unixoid event + stream tye callbacks and select() on events rather than MWFMO. + Added event handling for tooltip messages. If you have this + special select then all process support works under cygwin. + + * frame-msw.c: add support for four toolbars. + + * redisplay-msw.c: update toolbars when an area is exposed. + + * signal.c: _WIN32 -> WINDOWSNT. + + * event-stream.c: enable unixoid initialization if we have it. + + * event-unixoid.c: allow us to turn off the signal pipe. + + * toolbar-msw.c: major overhaul. Enable support for all four + toolbars, fix display and sizing problems, enable tooltip support, + be more optimal about deleting toolbars. + + * toolbar.h: reinstate 0 toolbar border width for msw. + + * s/cygwin32.h: minor define updates. + +1998-04-22 Hrvoje Niksic <hniksic@srce.hr> + + * print.c (Falternate_debugging_output): Define only if + DEBUG_XEMACS. + +1998-04-21 Hrvoje Niksic <hniksic@srce.hr> + + * fileio.c (Fmake_temp_name): Updated docstring. + +1998-04-21 Hrvoje Niksic <hniksic@srce.hr> + + * print.c (print_prepare): New argument FRAME_KLUDGE. + (print_prepare): If writing to a frame, return a resizing buffer + stream. + (print_finish): Flush the stream. + (Fprin1): Adjust calls to print_prepare() and print_finish(). + (Fprinc): Ditto. + (Fprint): Ditto. + (print_internal): Optimize printing of characters. + + * print.c (RESET_PRINT_GENSYM): New macro. + (print_prepare): Use it. + (print_finish): Ditto. + (Fwrite_char): Ditto. + (Fprin1_to_string): Ditto. + +1998-04-22 SL Baur <steve@altair.xemacs.org> + + * config.h.in: add FOR_MSW variable. + From Itay Ben-Yaacov <pezz@www-mail.huji.ac.il> + +1998-04-20 Kirill M. Katsnelson <kkm@kis.ru> + + * alloc.c (report_pure_usage): Remove ifdef WINDOWSNT around + "Don't panic, I will restart make". + +1998-04-19 Kirill M. Katsnelson <kkm@kis.ru> + + * process.c (vars_of_process): Declared lisp variable + windowed-process-io. + + * procimpl.h: Externally declared it. + + * process-nt.c (nt_create_process): Changed to honor the above + variable, and to utilize SHGetFileInfo to determine file type. + +1998-04-21 Martin Buchholz <martin@xemacs.org> + + * mule-ccl.c: Fix compiler warnings. I hate compiler warnings. + The code is clearer anyways without macros that goto. + +1998-04-22 SL Baur <steve@altair.xemacs.org> + + * glyphs.h: Add prototypes for signal_image_error and + signal_image_error_2. + Suggested by Hrvoje Niksic <hniksic@srce.hr> + +1998-04-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> + + * fileio.c: Changed `directory-sep-char' to `path-separator', + following a change in GNU Emacs. + +1998-04-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> + + * eldap.c: As suggested by Hrvoje Niksic + (Fldap_search_internal): Loop and GCPRO cleanup + (print_ldap): Removed text translation + +1998-04-19 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> + + * eldap.c: (print_ldap): Ignore escapeflag + (Fldap_search_internal): Added unwind protection to appropriately + free the LDAP temporary structures in case of interruption. Added + a QUIT to the result fetching loop. + +1998-04-19 SL Baur <steve@altair.xemacs.org> + + * emacs.c (TopLevel): New variables: Vinfodock_major_version, + Vinfodock_minor_version, Vinfodock_build_version. + (vars_of_emacs): Initialize them. + + * config.h.in: Add InfoDock version numbers. + + * device-x.c (have_xemacs_resources_in_xrdb): distinguish whether + we're running as InfoDock or XEmacs. + +1998-04-18 SL Baur <steve@altair.xemacs.org> + + * glyphs-x.c: Remove definition of Q_color_symbols. + + * glyphs.h: Declare Q_color_symbols and evaluate_xpm_color_symbols. + +1998-04-17 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * console-msw.h: + Added "commctrl.h" and "X11/xpm.h" includes to support toolbars + and XPM. + + * glyphs-msw.c: + Removed (!NILP (Vmswindows_bitmap_file_path)) check in + locate_pixmap_file() so that lookups of absolute paths don't fail + if this is unset. + Added new mswindows_xpm_normalize(); + + * glyphs.h: + * glyphs.c: + * glyphs-x.c: + Moved generic XPM support out of glyphs-x.c into glyphs.c. + Functions moved: + signal_image_error, signal_image_error_2, + check_valid_xpm_color_symbols, evaluate_xpm_color_symbols, + xpm_possible_dest_types. + xpm_normalize and xpm_instantiate in glyphs.c just call the + appropriate x_ or mswindows_ funtion in glyphs-x.c or + glyphs-msw.c. + + * toolbar-msw.c: + Don't assert on empty toolbar. + + * toolbar.c: + * toolbar.h: + Adjusted mswindows default toolbar height/widths so redisplay is + correct. + +1998-04-18 Hrvoje Niksic <hniksic@srce.hr> + + * tooltalk.c (tt_message_arg_ival_string): Ditto. + + * redisplay.c (window_line_number): Ditto. + (decode_mode_spec): Ditto. + + * glyphs.c (print_image_instance): Ditto. + + * doprnt.c (emacs_doprnt_1): Ditto. + + * data.c (Fnumber_to_string): Use long_to_string(). + + * lisp.h: Declare long_to_string(). + + * print.c (Fprin1_to_string): Do the Vprint_gensym_alist stunt. + + * emacs.c (main_1): Don't create print stream. + + * print.c: Removed print_stream implementation. + (print_prepare): Don't create a print_stream. + (long_to_string): New function, from GNU Wget. + (print_internal): Use it. + (output_string): alloca() copies only for strings smaller than + 65536 bytes; else, inhibit gc. + +1998-04-18 Hrvoje Niksic <hniksic@srce.hr> + + * config.h.in: Check for DLERROR. + + * sysdll.c: Cosmetic changes. + +1998-04-18 Hrvoje Niksic <hniksic@srce.hr> + + * sysdll.c (dll_error): It's `dlerror', not `dl_error'. + +1998-04-17 Kirill M. Katsnelson <kkm@kis.ru> + + * specifier.c (prune_specifiers): Fix for Vall_specifiers + corruption. + + * specifier.h: Fixed GC_* macros to utilize GC_EQ, as suggested by + Steve. + +1998-04-17 Hrvoje Niksic <hniksic@srce.hr> + + * dll.c (Fdll_open): Simplify interface. + + * sysdll.c: Allocate BUF dynamically. + + * cmds.c (internal_self_insert): Removed `no-self-insert' hack. + +Fri Apr 17 12:59:35 1998 Andy Piper <andyp@parallax.co.uk> + + * event-msw.c: don't use LocalAlloc()/LocalFree(). With unix + processes use a filestream for output. This makes subprocess + support work under cygwin. + +1998-04-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> + + * fileio.c (vars_of_fileio): Resurreced directory-sep-char to be + DIRECTORY_SEP instead of hardwired "/". + +1998-04-16 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> + + * fileio.c (file_name_as_directory): Now returns "./" (or NT + equivalent) for "". + +1998-04-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> + + * eldap.c: Fully rewritten introducing a new opaque LDAP Lisp + data type. + + * eldap.h: Ditto + +1998-04-17 Olivier Galibert <galibert@pobox.com> + + * fileio.c (vars_of_fileio): Finish directory_sep_char removal. + +1998-04-14 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> + + * emacs.c (main_1): Added option --debug-paths and analogous + variable. + +1998-04-15 Hrvoje Niksic <hniksic@srce.hr> + + * frame-msw.c (Vmswindows_frame_being_created): Don't staticpro. + + * console-msw.h, event-msw.c, frame-msw.c: Renamed + mswindows_frame_being_created to Vmswindows_frame_being_created. + +1998-04-12 Kirill M. Katsnelson <kkm@kis.ru> + + * event-msw.c (emacs_mswindows_quit_p): Do not check for quit + character in modal loop. + + * fileio.c: Removed Vdirectory_sep_char variable. + + * lisp.h: Removed extern decl for the above. + +1998-04-16 SL Baur <steve@altair.xemacs.org> + + * indent.c (vertical_motion_1): set_marker_restricted takes + Lisp_Objects. + +1998-04-17 Hrvoje Niksic <hniksic@srce.hr> + + * md5.c (Fmd5): Correctly rename argument. + + * print.c (Fprin1_to_string): Remove useless variable. + +1998-04-13 Greg Klanderman <greg@alphatech.com> + + * indent.c (vertical_motion_1): new helper function to share + common code between Fvertical_motion and Fvertical_motion_pixels. + Properly handle the WINDOW argument as the doc string indicates it + should. Update docstrings to be more clear and concise. + (Fvertical_motion): use vertical_motion_1. + (Fvertical_motion_pixels): use vertical_motion_1. + +1998-04-15 Kirill M. Katsnelson <kkm@kis.ru> + + * specifier.h: Introduced magic specifiers. Please read comments + in specifier.h. + + * specifier.c: Reworked many functions to support magic + specifiers. + + * scrollbar.c (specifier_vars_of_scrollbar): Made magic specifiers + Vscrollbar_width and Vscrollbar_height. + (init_frame_scrollbars): Enabled critical lisp code operate on + ghost specifiers. + (init_device_scrollbars): Ditto. + (init_global_scrollbars): Ditto. + + * scrollbar-msw.c (Fmswindows_init_scrollbar_metrics): Scrollbar + init function, called from init-scrollbars-from-resuorce in + lisp/scrollbar.c + (syms_of_scrollbar_mswindows): DEFSUBR it. + + * emacs.c (main_1): Called syms_of_scrollbar_mswindows() + + * symsinit.h: Declared syms_of_scrollbar_mswindows() + +Thu Apr 16 12:59:35 1998 Andy Piper <andyp@parallax.co.uk> + + * frame-msw.c: + * console-msw.h: add toolbars to frame parameters. + + * emacs.c: call console_type_create_mswindows_toolbar + + * event-msw.c: call toolbar handling code in main event loop. + + * glyphs-msw.c (mswindows_create_icon_from_image) + (mswindows_resize_dibitmap_instance): new functions. Remove mask + stuff from various others. + + * redisplay-msw.c: + * menubar-msw.c: warning elimination. + + * toolbar-msw.c: new file. Reasonable implementation of toolbars + for mswindows. Some features are not complete. + + * toolbar.c: enable toolbar parameters for mswindows. + + * toolbar.h: choose slightly different toolbar defaults for + mswindows. + +1998-04-16 Hrvoje Niksic <hniksic@srce.hr> + + * lisp.h (CHECK_IMPURE): Use it. + + * data.c (pure_write_error): Accept an argument. + + * emacs.c (vars_of_emacs): New variable `internal-error-checking'; + initialize it. + +1998-04-16 Hrvoje Niksic <hniksic@srce.hr> + + * fileio.c (Fmake_temp_name): Avoid random(); simplify. + +1998-04-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> + + * emacs.c (complex_vars_of_emacs): Changed configure-exec-path to + configure-exec-directory. + (decode_path): Doesn't call file-name-as-directory no more as + empty components would lead to evil behavior. + +1998-04-16 Hrvoje Niksic <hniksic@srce.hr> + + * extents.c (decode_extent): Unify the error message. + +1998-04-17 Hrvoje Niksic <hniksic@srce.hr> + + * md5.c (Fmd5): Simplify; use only input and encoding streams. + (Fmd5): Separate coding guesswork into md5_coding_system(). + (Fmd5): Don't close the stream; deleting it is enough. + +1998-04-16 Hrvoje Niksic <hniksic@srce.hr> + + * fileio.c (Finsert_file_contents_internal): Prefer fstat() over + stat. + +1998-04-15 Martin Buchholz <martin@xemacs.org> + + * fns.c (Fsubseq): Make (subseq nil 0 0) return nil, not #*. + +1998-04-16 SL Baur <steve@altair.xemacs.org> + + * device-x.c (get_device_from_display): Use "infodock" as the + fallback name when running as InfoDock. + +1998-04-14 Greg Klanderman <greg@alphatech.com> + + * device-x.c (compute_x_app_name): New function needed to compute + application name to use now that XtOpenDisplay is decomposed into + XOpenDisplay and XtDisplayInitialize. + (x_init_device): use it. + +1998-04-06 Greg Klanderman <greg@alphatech.com> + + * device-x.c (have_xemacs_resources_in_xrdb): adhere to coding + standards and avoid opening display twice by breaking + XtOpenDisplay into XOpenDisplay and XtDisplayInitialize. + (x_init_device): Ditto. + +1998-04-15 Olivier Galibert <galibert@pobox.com> + + * s/aix3-2-5.h: Ditto. + + * s/aix4-1.h: Ditto. + + * s/aix4-2.h: Ditto. + + * s/bsd386.h: Ditto. + + * s/bsdos2-1.h: Ditto. + + * s/dgux.h: Ditto. + + * s/esix.h: Ditto. + + * s/esix5r4.h: Ditto. + + * s/hpux8.h: Ditto. + + * s/hpux9-shr.h: Ditto. + + * s/hpux9-x11r4.h: Ditto. + + * s/hpux9.h: Ditto. + + * s/hpux9shxr4.h: Ditto. + + * s/isc3-0.h: Ditto. + + * s/isc4-0.h: Ditto. + + * s/ptx.h: Ditto. + + * s/sco4.h: Ditto. + + * s/sco5.h: Ditto. + + * s/usg5-3.h: Ditto. + + * s/usg5-4-2.h: Ditto. + + * s/usg5-4.h: Kill a bunch of now autodetected defines. + +1998-04-05 Greg Klanderman <greg@alphatech.com> + + * window.c (Fwindow_displayed_pixel_height): rename more + appropriately as window-text-pixel-height. + (syms_of_window): Update the DEFSUBR. + (Fwindow_text_pixel_width): New function for completeness. + (Fwindow_text_pixel_edges): New function. + (syms_of_window): DEFSUBR 2 new functions. + +1998-04-13 Greg Klanderman <greg@alphatech.com> + + * redisplay.c (redisplay_window): When echo area is active, and we + swap in the echo area buffer, restore the minibuffer's pointm and + startp when we restore the minibuffer to the window. This avoids + having the minibuffer point randomly change when it is active but + not selected and a message is shown. + +1998-04-16 Hrvoje Niksic <hniksic@srce.hr> + + * md5.c: replaced RSA reference code with GNU textutils implementation. + +1998-04-14 Martin Buchholz <martin@xemacs.org> + + * signal.c (init_signals_very_early): Make `nohup xemacs &' work. + Wrap #ifdefs around uses of SIGQUIT and SIGILL. + +1998-04-12 Kirill M. Katsnelson <kkm@kis.ru> + + * objects-msw.c (mswindows_initialize_font_instance): Fixed assert + abuse; proper cleanup on GDI error. + +1998-04-14 Kirill M. Katsnelson <kkm@kis.ru> + + * console-msw.h: Declared get_nt_process_handle() and + mswindows_bump_queue(). + Removed declarations for mswindows_enqueue_dispatch_event() and + mswindows_enqueue_magic_event(). + + * event-msw.c (emacs_mswindows_create_stream_pair): Casts on + handle types and get_osfhandle() return type. From Andy Piper. + (emacs_mswindows_select_process): Get Win32 process handle + directly from process lrecord. + (get_process_handle): Removed function. + (emacs_mswindows_handle_magic_event): Removed handling of + XM_BUMPQUEUE magic event. + (mswindows_wnd_proc): Removed handling of WM_EXITMENULOOP message, + which called a do-nothing handler in menubar-msw.c + (mswindows_wnd_proc, WM_EXITSIZEMOVE): Queue an empty event + instead of magic event, via mswindows_bump_queue(). + (mswindows_wnd_proc, WM_CLOSE): Ditto. + (mswindows_need_event): Call mswindows_bump_queue() upon process + termination, in case process pipe does not get closed along. + Do not close process handle. + (mswindows_bump_queue): Added function. + (mswindows_enqueue_dispatch_event): Made static. + (ntpipe_slurp_*): Revamped the slurp thread implementation so the + stream does not expect the thread to terminate when stream is closed. + (ntpipe_slurp_reader): Fixed an attempt to read zero bytes from + the pipe. + + * event-stream.c (event_stream_deal_with_async_timeout): + Conditionalized timer-based polling for finished processes on + HAVE_UNIX_PROCESSES. + + * menubar-msw.c (mswindows_handle_wm_command): Queued proper bump + queue event. + (mswindows_handle_wm_exitmenuloop): Removed function. + + * menubar-msw.h: Removed unused function prototype. + + * process-nt.c (get_nt_process_handle): Added function. + + * signal.c (init_poll_for_sigchld): Conditionalized on + HAVE_UNIX_PROCESSES. + +1998-04-13 Kirill M. Katsnelson <kkm@kis.ru> + + * frame-msw.c: Implemented the following methods: + mswindows_get_mouse_position() + mswindows_set_mouse_position() + mswindows_frame_totally_visible_p() + +1998-04-11 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> + + * emacs.c: Renamed inhibit-package-init to inhibit-early-packages + to better reflect its semantics. + Renamed inhibit-update-autoloads to inhibit-package-autoloads. + (complex_vars_of_emacs): Added site-directory and lisp-directory. + -no-packages -> no-early-packages. + + * Makefile.in.in: Reflected reinstatement of paths.h.in. + + * paths.h.in: Reinstated. + + * paths.h.in.in: Removed. + + * config.h.in: Moved configure path and directory options from + paths.h.in.in. + +1998-04-11 Kirill M. Katsnelson <kkm@kis.ru> + + * event-msw.c (emacs_mswindows_quit_p): don't recurse. + +1998-04-10 Kirill M. Katsnelson <kkm@kis.ru> + + * callproc.c (init_callproc): Correctly initialize + `shell-file-name' for WINDOWSNT + + * emacs.c (main_1): Properly called new functions (see symsinit.h + entry for which). + + * event-msw.c (struct ntpipe_slurp_stream): + (slurp_thread): + (make_ntpipe_input_stream): + (get_ntpipe_input_stream_waitable): + (get_ntpipe_input_stream_param): + (ntpipe_slurp_reader): + (ntpipe_slurp_closer): + (init_slurp_stream): Win32 pipe input stream implementation. + (struct ntpipe_shove_stream): + (shove_thread): + (make_ntpipe_output_stream): + (get_ntpipe_output_stream_param): + (ntpipe_shove_writer): + (ntpipe_shove_was_blocked_p): + (ntpipe_shove_flusher): + (ntpipe_shove_closer): + (init_shove_stream): Win32 pipe output stream implementation. + (mswindows_enqueue_process_event): Dispatch helper. + (find_waitable_handle): + (add_waitable_handle): + (remove_waitable_handle): New three, waitable handles handling. + (mswindows_need_event_in_modal_loop): Simplified. + (mswindows_need_event): Simplified. + (mswindows_need_event): Generate process events on process output; + kick status_notify when a process ends. + (mswindows_find_console): Simplified. + (emacs_mswindows_event_pending_p): Adjusted parameters to + mswindows_need_event(). + (emacs_mswindows_next_event): Ditto. + (get_process_input_waitable): + (get_process_handle): Process select/unselect helpers. + (emacs_mswindows_select_process): Implemented. + (emacs_mswindows_unselect_process): Implemented. + (emacs_mswindows_quit_p): Call mswindows_drain_windows_queue() + directly so do not even try do dequeue process events. Saved a + byte and a tick. + (emacs_mswindows_create_stream_pair): Implemented. + (emacs_mswindows_delete_stream_pair): Implemented. + (vars_of_event_mswindows): Registered the above two. + (lstream_type_create_mswindows_selectable): Function called from + emacs.c to create two pipe lstream types. + + * ntproc.c (sys_select): Disgustful brain fart this file is. + + * process-nt.c: New file: Asynchronous subprocess implemenation + for Win32. + + * process.h: Declare Fprocess_id(). + + * signal.c (init_signals_very_early): Conditionalize possibly + nonexistent signals. + + * symsinit.h: Declared: + lstream_type_create_mswindows_selectable () + process_type_create_nt () + vars_of_process_nt () + + * s/windowsnt.h: Defined HAVE_WIN32_PROCESSES. + Removed fake SIGTRAP, SIGPIPE and SIGCHLD. + +1998-04-10 Martin Buchholz <martin@xemacs.org> + + * fns.c (Fnthcdr): + Most times through the loop will get a cons, so optimize for that. + + * bytecode.c (Fbyte_code): Remove '91 vintage compiler bug workaround. + Add NATNUMP check for Bnth bytecode. + Bnth: Optimize case of n > length (list). + QUITs not necessary since even if list is circular, n will count + down to 0. + Bnthcdr: inline the code for nthcdr (we have a bytecode for it, + after all) + Bcdr, Bcar: Use tail recursion. + +1998-04-10 Hrvoje Niksic <hniksic@srce.hr> + + * redisplay.c (redisplay_window): Don't lose with negative + scroll_step. + +1998-04-09 Hrvoje Niksic <hniksic@srce.hr> + + * fileio.c (Fmake_temp_name): Don't use `+' in generated file + names. + (Fmake_temp_name): Randomize the initial values of counters. + +1998-04-07 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> + + * Makefile.in.in: paths.h.in is now generated from paths.h.in.in. + + * emacs.c (decode_path): Removed parsing of "::" into nil component. + +1998-04-09 Martin Buchholz <martin@xemacs.org> + + * lstream.c (make_filedesc_stream_1): Fix another Martin blooper. + +1998-04-07 SL Baur <steve@altair.xemacs.org> + + * emacs.c (Fdump_emacs): Delete superfluous open comment. + +1998-04-06 SL Baur <steve@altair.xemacs.org> + + * emacs.c (Fdump_emacs): Move call to disable_free_hook back to + Fdump_emacs where it belongs. + +1998-04-07 Kirill M. Katsnelson <kkm@kis.ru> + + * nt.c (sys_mkdir): Added the second unused parameter, after UNIX + version. Suggested by Martin. + +1998-04-07 Kirill M. Katsnelson <kkm@kis.ru> + + * event-msw.c (mswindows_wnd_proc): Fix member access macro names. + + * frame-msw.c (mswindows_frame_property): + (mswindows_internal_frame_property_p): + (mswindows_frame_properties): Implemented for the 'left and 'top + properties. + (console_type_create_frame_mswindows): Regsitered the above. + (mswindows_set_title_from_bufbyte): Update title only if it has + really changed. This avoids a bit of flashing. + + * console-msw.h (FRAME_MSWINDOWS_TITLE_CHECKSUM): To update title + smoother. + (MSWINDOWS_FRAME_*(f)): Were MSWINDOWS_FRAME_*(f). Eeek! + +1998-04-06 Kazuyuki IENAGA <ienaga@jsys.co.jp> + + * unexfreebsd.c: introduce FreeBSD port's patch to avoid + FreeBSD-current warns "Absurd new brk addr". + +1998-04-06 Colin Rafferty <colin@xemacs.org> + + * glyphs-x.c (struct gif_error_struct): Made the err_str point to + a CONST char* instead of non-const. + (tiff_memory_write): Add fake return statement to shut up warnings. + +1998-04-06 Hrvoje Niksic <hniksic@srce.hr> + + * fileio.c (Finsert_file_contents_internal): Correctly handle + special files larger than 32K. + +1998-04-06 Hrvoje Niksic <hniksic@srce.hr> + + * fileio.c (Fmake_temp_name): Don't call mktemp(). + +1998-04-06 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * unexelf.c: include <config.h> first. + +1998-04-04 Martin Buchholz <martin@xemacs.org> + + * sysdep.c: Add #include <sys/termio.h> for AIXHFT as suggested + on c.e.x. + + * nt.c: + * ntproc.c: + Change "config.h" to <config.h>. Add dire warnings to code since + config.h is not included first. + + * powerpc.h: Avoid redefinition warning on START_FILES. + + * window.c: Rename Vminibuf_scroll_window to Vminibuffer_scroll_window. + * hpplay.c: Rename play_gain to hp_play_gain in accordance with + coding standards. + + * frame-x.c (x_lower_frame): + (x_raise_frame_1): Clarify code. Save a nanosecond if frame not + visible. + + * fileio.c (Fmake_temp_name): Use static CONST suffix; save a + nanosecond. + +1998-04-05 Amir J. Katz <amir@ndsoft.com> + + * sysproc.h: Added #include <sys/types.h> before <sys/socket.h> + otherwise callproc.c does not compile on SunOS 4.1.4 with gcc 2.8.1 + + * sysdep.h: strerror() does not return CONST in gcc 2.8.1 + +1998-04-05 Hrvoje Niksic <hniksic@srce.hr> + + * redisplay.c (generate_fstring_runes): Grok specifiers and + symbols indirecting to specifiers. + +1998-04-06 Olivier Galibert <galibert@pobox.com> + + * events.c (print_event): XINT() may return a long. + + * insdel.c (make_gap): Thou shan't cast EMACS_INT_MAX to int. + (buffer_insert_string_1): ditto. + + * regex.c (print_partial_compiled_pattern): Neither EMACS_INTs nor + ptrdiff_t are portably printable as an int. + + * redisplay.c (window_line_number): Don't assume that an EMACS_INT + in an int. + + * alloc.c (report_pure_usage): Don't assume that a size_t is + displayable as an int. + +1998-04-06 SL Baur <steve@altair.xemacs.org> + + * process-unix.c: Fix typo in #ifdef. + From Hrvoje Niksic <hniksic@srce.hr> + +1998-04-06 Olivier Galibert <galibert@pobox.com> + + * unexelfsgi.c (unexec): Don't treat the sbss section as bss if it + isn't one. Needed for irix 6.5. + +1998-04-05 Martin Buchholz <martin@xemacs.org> + + * sysdep.h: Two prototypes that weren't properly size_t'ed + +1998-04-04 Martin Buchholz <martin@xemacs.org> + + * ralloc.c: mallopt <==> malloc.h. + +1998-04-04 Martin Buchholz <martin@xemacs.org> + + * emacs.c: #include <paths.h>, not "paths.h" + This is a standard bug. It manifests if you configure in the + source tree, then configure elsewhere with --srcdir. + Remove misleading PATH_EXEC comment; PATH_PACKAGEPATH is also used. + +1998-04-04 Olivier Galibert <galibert@pobox.com> + + * s/386bsd.h: Removed obsolete define. + +1998-04-04 Olivier Galibert <galibert@pobox.com> + + * s/386-ix.h: Removed useless define. + + * sysdep.c (insque): Removed. Not used anywhere in the code. + +1998-04-04 Olivier Galibert <galibert@pobox.com> + + * process-unix.c (unix_kill_child_process): Use TIOCSIGSEND or + TIOCSIGNAL as needed. + + * s/usg5-4.h: Remove kludgy TIOCSIGSEND #define which breaks on + irix 6.5. + +1998-03-28 Hrvoje Niksic <hniksic@srce.hr> + + * insdel.c (emchar_string_displayed_columns): Simplify for + non-Mule case. + + * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Issue nicer output. + +1998-04-01 Martin Buchholz <martin@xemacs.org> + + * sysdir.h (sys_mkdir): + * sysfile.h (sys_read): + (sys_write): + (sys_chmod): + (sys_creat): + + * sysdep.c (sys_read_1): + (sys_read): + (sys_write_1): + (sys_write): + (sys_mkdir): + (sys_readlink): + (sys_chmod): + (sys_creat): + + * nt.c (sys_read): + (sys_chmod): + (sys_creat): + (sys_write): Change types of sys_* in accordance with published + standards. Use size_t and mode_t instead of unsigned int and int. + +1998-04-03 Martin Buchholz <martin@xemacs.org> + + * config.h.in (enum_field): + * lisp-union.h: + * extents.h: + * redisplay.c (add_margin_runes): + Prefer enums for use as bitfields in preference to unsigned int, + but allow the possibility to suppress it if a compiler disallows + it or emits annoying warnings. Currently only __SUNPRO_C cc -Xc + used unsigned ints. + + * event-stream.c: Fixup DEFVAR for + Vcomposed_character_default_binding; Real bug! + * event-msw.c: Rename mswindows_button2* to mswindows_mouse_button* + * emacs.c: Rename suppress_early_backtrace to + suppress_early_error_handler_backtrace + * objects-x.c: Rename handle_nonfull_spec_fonts to + x_handle_non_fully_specified_fonts + * lread.c: Rename puke_on_fsf_keys to + fail-on-bucky-bit-character-escapes + * lread.c: + * doc.c: Rename Vdoc_file_name to Vinternal_doc_file_name + * fileio.c: + * bufslots.h: + * buffer.c: Rename save_length to saved_size + * alloc.c: Rename pureptr to pure_bytes_used + * abbrev.c: Rename last_abbrev_point to last_abbrev_location + * lisp.h: + DEFVAR_* are supposed to be named following a standard convention. + +1998-04-03 Martin Buchholz <martin@xemacs.org> + + * callint.c: + * ralloc.c: + * data.c: + * eldap.c: + * extents.c: + * frame-msw.c: + * frame-x.c: + * general.c: + * process.c: + * xselect.c: + Rationalize defsymbol handling. + defsymbols are supposed to have equivalent C and Lisp names, for + consistency. At least one real bug (end-glyph-layout) fixed. + Move multiply defsymbol'ed stuff into general.c. + +1998-04-03 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> + + * m/ibmrs6000.inp: Removed; obsoleted by configure.in changes. + +1998-04-03 Martin Buchholz <martin@xemacs.org> + + * console-tty.c (Fset_console_tty_input_coding_system): + (Fset_console_tty_output_coding_system): + Input/Output and encoding/decoding were reversed. + +1998-04-02 SL Baur <steve@altair.xemacs.org> + + * m/powerpc.h: Remove LD_SWITCH_MACHINE for Linux. + +1998-04-02 Greg Klanderman <greg@alphatech.com> + + * window.c (set_window_pixsize): Move up call to + check_min_window_sizes. + + * indent.c (vmotion_1): renamed from vmotion() and added + additional argument to optionally return the pixel motion. + (vpix_motion): Helper for vmotion_1. + (vmotion): Wrapper - just call vmotion_1() with the right args. + (Fvertical_motion_pixels): New function. + (syms_of_indent): DEFSUBR it. + +1998-04-02 Martin Buchholz <martin@xemacs.org> + + * xselect.c: + * event-Xt.c: + * emacs.c: + Remove last vestiges of #ifdef EPOCH code. It had no chance of + working anyways. In honour of seeing Marc Andreesen in person for + the first time today. + +1998-04-01 Martin Buchholz <martin@xemacs.org> + + * extents.h: + * lisp-union.h: + Don't use enums as bitfields - only unsigned ints. + Fixes: warning: nonportable bit-field type + + * eval.c (call_with_suspended_errors): More volatilizing to + appease Sunpro cc. + + * mem-limits.h: + * ralloc.c: Remove #undef NULL; they're not even used! + + * process-unix.c (unix_send_process): send_process is a method, so + we can't include volatile in the prototype. We make the argument + non-volatile, make a volatile copy, and then use that instead. + + * frame-x.c (x_delete_frame): The `frame' variable is initialized + but not actually used. + + * Makefile.in.in (xselect.o): The last line of b34-pre2's + src/Makefile.in.in contains a dependency that should have been + patched away. + (mostlyclean): Remove the removal of depend.* - no such files + exist anymore + + * make-src-depend: include a dependency on only one of + lisp-union.h or lisp-disunion.h. + +1998-04-01 Martin Buchholz <martin@xemacs.org> + + * specifier.c (specifier_instance_from_inst_list): A nanosecond + saved is a nanosecond earned. + +1998-03-31 Greg Klanderman <greg@alphatech.com> + + * redisplay.c (update_line_start_cache): Fix bug involving + invisible text in which the line_start_cache gets hosed. + +Sun Mar 29 1998 Andy Piper <andyp@parallax.co.uk> + + * console-msw.h: define FRAME_MSWINDOWS_CDC. + + * frame-msw.c: (mswindows_set_frame_icon) new function. Works but + no masks as yet. + + * glyphs-msw.c: GNUize the code. Fix 24bpp display and make the + default. Add managment of icons. + + * glyphs-msw.h: add icon attributes. + + * redisplay-msw.c: (mswindows_output_pixmap) remove unused cursor + code. + + * objects-msw.c: eliminate char subscript warning. + +1998-04-01 SL Baur <steve@altair.xemacs.org> + + * sysdll.c (dll_close): fix typo. + Suggested by Marcus Thiessel <marcus_thiessel@hp.com> + + +1998-03-28 Kyle Jones <kyle_jones@wonderworks.com> + + * device.c (Fset_device_class): Recompute cached + specifiers everywhere if device class is changed. + Set various redisplay flags so that the device's + various frames are redisplayed. + +1998-03-31 SL Baur <steve@altair.xemacs.org> + + * lrecord.h (DECLARE_NONRECORD): Remove redundant paren. + Suggested by Martin Buchholz <martin@xemacs.org> + +1998-04-01 Kirill M. Katsnelson <kkm@kis.ru> + + * gui.c (gui_item_display_flush_left): Fix suffix length. + +1998-04-01 Kirill M. Katsnelson <kkm@kis.ru> + + * s/windowsnt.h: Defined SIZEOF_LONG_LONG and SIZEOF_VOID_P + + * dired-msw.c: Included <limits.h> + + * config.h.in (VOID_P_BITS): Fixed so that uses SIZEOF_VOID_P + +1998-03-31 SL Baur <steve@altair.xemacs.org> + + * glyphs.c (image_instantiate_cache_result): Correct order of + parameters to Fputhash. + Suggested by Kirill M. Katsnelson <kkm@kis.ru> + +1998-03-30 Martin Buchholz <martin@xemacs.org> + + * redisplay.c (create_right_glyph_block): glyph_type should really + be glyph_layout. + +1998-03-29 Martin Buchholz <martin@xemacs.org> + + * sysfile.h: Move all encapsulations from lisp.h/emacsfns.h into + sysfile.h. Users of the functionality herein will have to + #include sysfile.h. + Check all .o files for missing #includes. + * config.h.in: + Discovered that config.h.in was missing ENCAPSULATE_CLOSEDIR, as a + result of fixing the above. + + * gui.c (gui_item_add_keyval_pair): We should not use the idiom + error ("%S", lisp_object) in C code. + I converted the code to use signal_simple_error_2 instead. + (signal_too_long_error): Ditto. + + * glyphs.c (image_instantiate_cache_result): Use XC[AD]R instead + of Fc[ad]r. This is always called with valid conses, and in fact, + already assumed it. + + * font-lock.c (find_context): Use context_none with context + instead of ccontext_none. + + * fns.c (Flength): The CONSP and NILP code can be combined. + Change the name of the arg to SEQUENCE from OBJ. + (Fnthcdr): CHECK_NATNUM instead of CHECK_INT. Optimize out Fcdr calls. + (Felt): Change argument from seq to sequence to match docstring. + +1998-03-28 Martin Buchholz <martin@xemacs.org> + + * fns.c (string_putprop): + (string_getprop): Make method functions static. + + * window.c (find_window_by_pixel_pos): Warning suppression. + + * imgproc.c (splitbox): Warning suppression. + + * redisplay-x.c (x_output_eol_cursor): Remove redundant XSETWINDOW. + + * glyphs-x.c (signal_image_error): + (signal_image_error_2): + (convert_EImage_to_XImage): Make functions static. + + * editfns.c (Fbuffer_size): Rename the `F' function to + Fbuffer_size in accordance with coding standards. + + * dll.c (Fdll_open): Fix up data conversion. + Provide auxiliary function maybe_call_library_function(). + + * device-x.c (get_x_display): make function static. + + * data.c (Fcar): Should generate listp, not consp error. + (Fcdr): Should generate listp, not consp error. + +1998-03-27 Martin Buchholz <martin@xemacs.org> + + * console-tty.c (free_tty_console_struct): + Replace con->console_data with CONSOLE_type_DATA (con) + + * *.[ch]: C++ compilability of xemacs, on Linux and Solaris. + + * casetab.c (Fcase_table_p): Optimize. + + * eval.c: + * bytecode.c: + Rename Fcondition_case_3 to condition_case_3 - it's not a DEFUN. + + * buffer.h: + Remove all *BUFFER_OR_STRING* macros - unused. + (memind_to_bytind): Merge two versions of function by moving + #ifdef ERROR_CHECK_BUFPOS into the function body. + (*_DATA_ALLOCA*): get types correct. rewrite for clarity. + + * balloon_help.c (balloon_help_destroy): rearrange order of + functions, and remove prototype from header file. + + * alloc.c (deadbeef_memory): Rewrite. Use size_t for clarity. + Don't bother with the left-over bytes, since in practice we will + always get called with a size multiple of 4. + (Fmake_list): CHECK_NATNUM instead of CHECK_INT + (vector[4567]): Currently unused; ifdef out. + (make_pure_float): make function static. + (garbage_collect_1): Optimize. + +1998-03-23 Martin Buchholz <martin@xemacs.org> + + * marker.c (print_marker): Fix compiler warning, real bug! + + * device.h (MARK_DEVICE_FRAMES_FACES_CHANGED): + * frame.h (MARK_FRAME_FACES_CHANGED): + (MARK_FRAME_TOOLBARS_CHANGED): + (MARK_FRAME_SIZE_CHANGED): + (MARK_FRAME_CHANGED): + (MARK_FRAME_WINDOWS_CHANGED): + (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): + Fix multiple evaluation of macro arguments. + Macros are a fact of life. Callers have to use temp variables to + avoid multiple evaluation of arguments. + + * data.c (Ftrue_list_p): New function, with obvious meaning. + This is terminology from Cltl2. + Also define a corresponding macro TRUE_LIST_P. + + * device-x.c (validify_resource_component): Optimize. Rename. + Use the standard technique of using a precomputed table of valid chars. + + (x_get_resource_prefix): + (Fx_get_resource): + (Fx_get_resource_prefix): + Avoid fixed buffer sizes. Use a char_dynarr. + Run validify_resource_component on all computed components. + + * lisp.h: Define a char_dynarr type. + +1998-03-22 Martin Buchholz <martin@xemacs.org> + + * fns.c (Fcopy_alist): Optimize. + + * alloc.c (acons): New function. Now used in the C code. + Definition in cl.el is commented out. Add docstring. + Use acons in functions which create alists. + * lisp/cl.el (acons): Add docstring. Really otta be a macro, tho. + + * buffer.c (Fbuffer_memory_usage): + * window.c (Fwindow_memory_usage): + Clean up horrible consing code using new acons function. + Fix incorrect value reported for gap-overhead. + + * fns.c (Fmember): + (Fold_member): + (Fmemq): + (Fold_memq): + (memq_no_quit): + (Fassoc): + (Fold_assoc): + (Fassq): + (Fold_assq): + (assq_no_quit): + (Frassoc): + (Fold_rassoc): + (Frassq): + (Fold_rassq): + (rassq_no_quit): + (Fdelete): + (Fold_delete): + (Fdelq): + (Fold_delq): + (delq_no_quit): + (delq_no_quit_and_free_cons): + (Fremassoc): + (Fremassq): + (remassq_no_quit): + (Fremrassoc): + (Fremrassq): + (remrassq_no_quit): + (Fnreverse): + (Freverse): + (Fnthcdr): + Optimize. + Replace calls to Fcar, Fcdr, Fsetcar with XCAR and XCDR. + Simplify logic. + Many of these functions wouldn't QUIT if called on cyclic lists. + e.g. try (progn (setq x '(nil)) (setcdr x x) (reverse x)) + One benchmark of delq showed it to be 3 times faster. + + * emacs.c: + * database.c: + Cleanup of database functions. + Make the get_subtype and get_type methods return Lisp_Objects, + instead of C strings. No more need for both dbm_type and dbm_lisp_type. + Rewrite the doc strings to be consistent with XEmacs tradition. + Replace old `dbm' names with `database'. + Rename struct database to struct Lisp_Database. + Rename DEFUN arguments to `database', when applicable. + + * buffer.c: + * chartab.c: + * console.c: + * data.c: + * database.c: + * device.c: + * elhash.c: + * eval.c: + * event-stream.c: + * extents.c: + * faces.c: + * frame.c: + * glyphs.c: + * keymap.c: + * lstream.c: + * mule-charset.c: + * mule-coding.c: + * objects.c: + * opaque.c: + * process.c: + * rangetab.c: + * specifier.c: + * symbols.c: + * tooltalk.c: + * window.c: + Place DEFINE_LRECORD_* after definition of static object methods, to + avoid redundant declarations. + + * console.c: + * console.h: + * device.c: + * device.h: + * extents.c: + * extents.h: + * frame.c: + * frame.h: + * glyphs.c: + * glyphs.h: + * lisp.h: + * lstream.c: + * lstream.h: + * signal.c: + * specifier.c: + * specifier.h: + Eliminate MAC_* macros. + The MAC_ macros use non-standard comiler extenstions which cause + gcc to generate bad code on Sparc/Solaris. Attractive though the + idea of using those compiler extensions is, they are just not + robust enough to use in the real world. So we eliminate them. + We put up with some sub-optimalities, like macros with multiple + evaluation. Such is life with C. The MAC_ macros were pretty + darn ugly anyways. We CAN use inline functions, since the advent + of C++ means that compilers must support those anyways. + +1998-03-21 Martin Buchholz <martin@xemacs.org> + + * alloc.c (list*): Optimize recursion levels. + + * alloc.c: Add debugger support via enum dbg_constants. + * gdbinit: Complete rewrite. + * gdbinit.union: Remove + * gdbinit.pre-4.14: Remove + * dbxrc: Complete rewrite. + * man/xemacs-faq.texi: + Proper robust debugger support for gdb and Sun's dbx. + Support all combinations of Kylish DEFINEs. + Work out of the box with no user customizations. + See the updated faq for details. + + * emacsfns.h: Remove. Move declarations to lisp.h + * dynarr.h: Remove. Move declarations to lisp.h + * lisp.h. + Optimize header file handling to improve compile time over a network. + Introduce EXFUN macro for external declaration to correspond to DEFUN. + Include header files only when necessary, i.e. not from lisp.h: + - unistd.h, limits.h, fnctl.h, blocktype.h, dynarr.h, emacsfns.h + + + * lisp.h: + * lisp-union.h: + * lisp-disunion.h: + Rewrite low level object frobbing. + Make it safe to use XSETOBJ on uninitialized Lisp_Objects. + (markbit might have been set otherwise) + Move XPRNTRVAL->XPNTR computation out of lisp-*union.h, since it + is union-type-independent. + + * EmacsFrame.c: + * alloc.c: + * chartab.c: + * console.c: + * dialog-x.c: + * doc.c: + * elhash.c: + * eval.c: + * event-Xt.c: + * event-stream.c: + * event-unixoid.c: + * extents.c: + * faces.c: + * file-coding.c: + * frame.c: + * glyphs.c: + * insdel.c: + * keymap.c: + * lstream.c: + * marker.c: + * menubar-x.c: + * mule-coding.c: + * opaque.c: + * ralloc.c: + * rangetab.c: + * redisplay-msw.c: + * redisplay-output.c: + * redisplay-tty.c: + * redisplay-x.c: + * redisplay.c: + * scrollbar-x.c: + * scrollbar.c: + * specifier.c: + * symbols.c: + * toolbar-x.c: + * toolbar.c: + * window.c: + As a result of the above lisp*.h changes, we can now safely remove + initializations of Lisp_Objects before calling XSETOBJ on them. + This was only being done half the time, anyways. + + * Makefile.in.in (depend): New target. calls make-src-depend. + * depend: New file. Generated by make-src-depend + * make-src-depend: New file. generates up-to-date dependencies. + Makefile dependencies are now automagically maintained, and + CORRECT. lisp.h and friends are now included in the dependencies, + since this complies with the principle of least astonishment. + + * symbols.c (symbol_is_constant): Optimize. + +1998-03-30 SL Baur <steve@altair.xemacs.org> + + * frame.c (vars_of_frame): Default frame name should be InfoDock + for InfoDock. + +1998-03-29 SL Baur <steve@altair.xemacs.org> + + * emacs.c (voodoo_free_hook): ELF libraries built with newer + versions of GCC do horrible things in dumped binaries after exit() + is called. + (Fkill_emacs): Use it. + +1998-03-28 SL Baur <steve@altair.xemacs.org> + + * s/linux.h: For simplicity, do not use standard linking because + it is deadly with new GCC. + +Sat Mar 28 10:16:29 1998 Andy Piper <andyp@parallax.co.uk> + + * Makefile.in.in: fix fastdump target + + * console-msw.h: add memory dc to frame. + + * frame-msw.c: manage memory dc on frame creation/deleteion + + * frame.h: mess with toolbar macros so that xemacs doesn't die + in redisplay with a triple build. + + * g;yphs-msw.c: GNUize the code. Fix 24bpp display and make the + default. + + * glyphs-msw.h: remove memory dc from image attributes. + + * redisplay-msw.c: fix redisplay to use new frame memory dc. + + * sheap.c: bump initial sheap yet again to allow byyte + recompilation. + + * unexcw.c: fix section parsing for multiple idata and rdata + sections. + +1998-03-27 SL Baur <steve@altair.xemacs.org> + + * emacs.c: Enabled free-hook.c code if + LOSING_GCC_DESTRUCTOR_FREE_BUG is defined. + +1998-03-28 Kyle Jones <kyle_jones@wonderworks.com> + + * Fixed display bug where changes to builtin glyphs like + Vcontrol_arrow_glyph would not be propagated + immediately to the display. + + * device.h: Added glyphs_changed field to device + struct. Created MARK_DEVICE_GLYPHS_CHANGED macro. + + * frame.h: Added glyphs_changed field to frame + struct. Created MARK_FRAME_GLYPHS_CHANGED macro. + + * redisplay.h: Declared glyph_changed and + glyph_changed_set variables, mimicking clip_changed + and clip_changed_set. New macro MARK_GLYPHS_CHANGED. + + * redisplay.c: Defined glyph_changed and + glyph_changed_set variables, mimicking + clip_changed and clip_changed_set. + + (redisplay_window): Reset the window's glyph cache is + f->glyphs_changed is non-zero. Call regenerate_window + if f->glyphs_changed is non-zero. + + (redisplay_frame): Clear f->glyphs_changed after + successful redisplay of all windows on frame. + + (redisplay_device): Redisplay frame if f->glyphs_changed + is non-zero. Clear d->glyphs_changed after successful + redisplay of all frames on device + + (redisplay_without_hooks): Redisplay devices if + glyphs_changed is non-zero. Redisplay an individual + device if d->glyphs_changed is non-zero. Clear + glyphs_changed after successful redisplay of all + devices. + + (redisplay_glyphs_changed): Dropped use of + MARK_CLIP_CHANGED. Call MARK_FRAME_GLYPHS_CHANGED for + all affected frames. For locales that are not device + related, mark all frames. + + * redisplay-output.c (compare_display_blocks): + Output the whole display block if f->glyphs_changed is + non-nil. + +1998-03-27 Kyle Jones <kyle_jones@wonderworks.com> + + * callproc.c (Fcall_process_internal): In the case where + fd_error and fd1 are the same don't close that + descriptor twice. + +1998-03-27 SL Baur <steve@altair.xemacs.org> + + * frame-x.c (x_update_frame_external_traits): Need a Lisp_Object + frame as well as a struct frame. + +1998-03-27 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> + + * emacs.c (main_1): Reinstated PATH searching for invocation data. + +1998-03-26 Kirill M. Katsnelson <kkm@kis.ru> + + * menubar.c (Fmenu_find_real_submenu): See the entry for gui.h. + + * menubar-msw.c (populate_menu_add_item): Used GCPRO_GUI_ITEM + macro to aviod warnings, in 2 places. + (populate_or_checksum_helper): Ditto + (populate_or_checksum_helper): Added placeholder for menu right + flash customization. + + * gui.h (GCPRO_GUI_ITEM): Code which warning-free GC protects a + GUI_ITEM structure moved into this macro from menubar.c + + * frame-x.c (x_update_frame_external_traits): Moved part of the + former update_EmacsFrame() here. + (console_type_create_frame_x): Declared the above method. + + * frame-msw.c (mswindows_set_frame_properties): Do not try to + resize the frame if called from Fmake_frame the first time + (potential race condition). + (mswindows_init_frame_1): Fixed support for popup frames. + (mswindows_delete_frame): Fixed memory leak. + (mswindows_get_frame_parent): Implemented. + (mswindows_update_frame_external_traits): Moved part of the former + update_EmacsFrame() here. + (console_type_create_frame_mswindows): Declare get_frame_parent + and update_frame_external_traits methods. + + * faces.c (update_EmacsFrame): Converted into a device method + `update_frame_external_traits'. + + * event-msw.c (mswindows_wnd_proc, WM_SIZE): Rewrote to avoid + relying on an assumption on when Windows calls this handler. + (mswindows_find_frame): Return the frame being created if the + windows does not yet have associated frame object + (mswindows_find_frame): Casted long to Lisp_Object properly. + + * device.c (window_system_pixelated_geometry): Changed to call the + device_implementation_flags device method. + + * device-msw.c (mswindows_device_implementation_flags): + Implemented. + (console_type_create_device_mswindows): Declared the above. + + * console.h (struct console_methods): Added + device_implementation_flags_method and + update_frame_external_traits_method. + Defined flags retuned by device_implementation_flags_method. + + * console-msw.h (struct mswindows_frame): Added charheight and + charwidth fields. + Added macros for referring to these two, Rvalue. + Moved Windows-specific macros from frame.h here. + (typedef struct XEMACS_RECT_WH): Added. + Declared global variables. + +1998-03-19 Kirill M. Katsnelson <kkm@kis.ru> + + * console-msw.h: Added prototypes for + mswindows_protect_modal_loop() and + mswindows_unmodalize_signal_maybe(). + + * scrollbar-msw.c (mswindows_update_scrollbar_instance_status): + Removed redundant call to set_frame_size method. + + * frame.c (Fframe_property): For a window system with pixel-based + geometry, convert passed char-based metrics to pixels. + (Fframe_properties): Ditto. + (Fset_frame_height): Ditto. + (Fset_frame_width): Ditto. + (Fset_frame_size): Ditto. + (frame_conversion_internal): Added a parameter, controlling + whether the function uses real char metrics or 1 when geometry is + pixel-based. + Allow NULL for output int* params. + (pixel_to_char_size): frame_conversion_internal() is called with + indication to fake font size to 1. + (char_to_pixel_size): Ditto. + (round_size_to_char): Ditto. + (pixel_to_real_char_size): + (char_to_real_pixel_size): + (round_size_to_real_char): New three counterparts of the above + metioned functions, which always use real character metrics. + (change_frame_size_1): Use real character metrics when computing + minibuffer height. + + * frame.h: Prototypes for pixel_to_real_char_size(), + char_to_real_pixel_size(), round_size_to_real_char(). + + * frame-msw.c (mswindows_init_frame_1): Rewritten to support + system-default new window width and height. + (mswindows_init_frame_2): Commented out, unused. + (mswindows_after_init_frame): Added frame method. + (mswindows_set_frame_size): Reworked to support pixel base + geometry. + (mswindows_set_frame_position): Cahnged to use SetWindowPos. + (mswindows_lower_frame): Ditto. + (mswindows_set_frame_properties): Fixed to perform correct + calculation, and to support pixel geometry. + (console_type_create_frame_mswindows): init_frame_2 removed, + after_init_frame added. + + * faces.c (default_face_height_and_width_1): Added. + (update_EmacsFrame): Changed method of notifying mswindwows frame, + so modeline border gets redrawn. + + * faces.h: Prototype for default_face_height_and_width_1(). + + * event-msw.c (mswindows_wnd_proc, WM_SIZE): Redisplay after + maximize/restore window. + (mswindows_wnd_proc, WM_WINDOWPOSCHANGING): Do not round size to + char if window is maximized. + Use real char metrics for rounding. + Call DefWindowProc to process WM_GETMINMAXINFO + (mswindows_set_chord_timer): Changed chord timeout from 1/2 to 1/3 + system double click time + + * device.c (domain_device_type): New function. + (window_system_pixelated_geometry): New function. + (Fdomain_device_type): New function, lisp interface to + domain_device_type(). + (syms_of_device): DEFSUBRed the above. + + * device.h: Ptorotypes for domain_device_type() and + window_system_pixelated_geometry(). + + * menubar-msw.c (mswindows_update_frame_menubars): Call + update_frame_menubar_maybe always. + +1998-03-27 SL Baur <steve@altair.xemacs.org> + + * s/hpux11.h: + * s/hpux11-shr.h: New files. + From Marcus Thiessel <marcus_thiessel@hp.com> + + * Makefile.in.in: temporarily comment -lmcheck support. + Suggested by Marcus Thiessel <marcus_thiessel@hp.com> + +1998-03-26 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> + + * emacs.c (vars_of_emacs): Fixed bug: Now respects configure + setting of inhibit-site-lisp. + (main_1): inhibit-site-lisp is now exclusively + configure-initialized. + +1998-03-27 Hrvoje Niksic <hniksic@srce.hr> + + * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Don't feed + error_with_frob() with LispObjects. + +1998-03-26 Kirill M. Katsnelson <kkm@kis.ru> + + * redisplay-msw.c (mswindows_output_cursor): Added parameters for + character under cursor, and a flag indicating whether the cursir + is over an image. Draw bar cursor always over an image glyph. + Callers are changed accross the file. + Honor the value of window::text_cursor_visible_p. + (mswindows_output_pixmap): Cursor drawing code #if0ed. + (mswindows_output_display_block): Call to output cursor after + drawind an image. + +1998-03-27 P. E. Jareth Hein <jareth@camelot-soft.com> + + * glyphs-x.c: + * imgproc.c: + * imgproc.h: + * glyphs-x.h: Added in a colormap variable in the X specific image + struct to handle IMAGE_POINTER images which must be allocated in the + default colormap of the screen. Also reformated the code to follow + coding standards. + + * glyphs.h: + * glyphs.c: + * glyphs-x.c: added image-conversion-error type + + * objects-x.c (allocate_nearest_color): Corrected a minor bug involving + setting the values into XColor. + +1998-03-25 P. E. Jareth Hein <jareth@camelot-soft.com> + + * free-hook.c (check_realloc): Handle the degerate case of realloc with + a NULL value acting the same as malloc. + +1998-03-24 Kyle Jones <kyle_jones@wonderworks.com> + + * redisplay-x.c (x_output_eol_cursor): Use x_clear_region + instead of XClearArea to erase the cursor so that background + pixmaps are handled properly. New fourth parameter findex + added so that it can be passed to x_clear_region. + +1998-03-25 Kirill M. Katsnelson <kkm@kis.ru> + + * process.c (Fprocess_send_eof): Close output stream before + deleting stream pair. + (deactivate_process): Ditto, both input and output streams. + + * event-unixoid.c (event_stream_unixoid_delete_stream_pair): Do + not close passed lstreams. + +1998-03-24 Kirill M. Katsnelson <kkm@kis.ru> + + * fileio.c (Ffile_readable_p): GC protect fix, MS Windows specific. + +Mon Mar 23 22:14:12 1998 Andy Piper <andyp@parallax.co.uk> + + * configure.in: compile in glyphs-msw.o when compiling fopr + mswindows. + +Mon Mar 23 22:14:12 1998 Andy Piper <andyp@parallax.co.uk> + + * msw-glyphs.el: add support for xpm and bmp. change + eval-and-compile to progn. + +Mon Mar 23 22:14:12 1998 Andy Piper <andyp@parallax.co.uk> + + * Makefile.in.in: fastdump - new target for dumping bypassing + bytecompilation, DOC. Add dependencies for glyphs-msw.o. Move + imgproc.o to object list. + + * glyphs-msw.h: + * glyphs-msw.c: new files adding support for xpm and bmp and + EImages. + + * redisply-msw.c: add support for outputing color pixmaps. + + * console-msw.h: add bitspixel field to mswindows frame. + + * device-msw.c: initialise bitspixel field in mswindows frame. + + * glyphs-x.c (xpm_instantiate): call mswindows_xpm_instantiate if + the device type is mswindows. + + * emacs.c: call glyphs-msw.c init functions if compiling with + mswindows. + + * symsinit.h: add prototypes for glyphs-msw.c functions. + + * sheap.c: make includes src-dir compliant. + + * events.c: remove cygwin ^H <-> erase hack. + + * s/cygwin32.h: remove NOMULTIPLEJOBS defn. + +1998-03-24 P. E. Jareth Hein <jareth@camelot-soft.com> + + * glyphs-x.c (my_jpeg_output_message): Added new function to redirect + any error/warning messages from the jpeg library to XEmacs. Also + get rid of an unneeded temp variable in the tiff code. + +1998-03-14 Hrvoje Niksic <hniksic@srce.hr> + + * insdel.c (fixup_internal_substring): Protect asserts with #ifdef + ERROR_CHECK_BUFPOS. + + * minibuf.c (scmp_1): c1 and c2 are Emchar, not Bufbyte. + (Ftry_completion): Fixed typo. + + * dired.c (file_name_completion): Removed `readfunc', a remnant of + dead VMS code. + +1998-03-13 Hrvoje Niksic <hniksic@srce.hr> + + * dired.c (Fdirectory_files): Simplify logic. + + * symbols.c (reject_constant_symbols): Allow setting a keyword's + function slot. + +1998-03-23 Hrvoje Niksic <hniksic@srce.hr> + + * lread.c (readevalloop): Don't specbind Qstandard_input to + READCHARFUN. + +1998-03-09 Hrvoje Niksic <hniksic@srce.hr> + + * lread.c (read_atom): Ditto. + + * symbols.c (reject_constant_symbols): Do the keyword stunts only + if the symbol is in Vobarray. + + * symbols.c (reject_constant_symbols): Signal error when + attempting to assign a value to a keyword, unless the value is the + keyword itself. + + * symbols.c (Fintern): Initialize symbol's ->obarray to t only + when OBARRAY is Vobarray. + +1998-03-21 Hrvoje Niksic <hniksic@srce.hr> + + * events.c (Fmake_event): Allow creation of misc-user-events. + +1998-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> + + * config.h.in, emacs.c: Changed allow-site-lisp to + inhibit-site-lisp. Made -no-autoloads set inhibit-site-lisp. + +1998-03-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> + + * <Today>: The Big Path Searching Overhaul. + + * symsinit.h: Added declaration for complex_vars_of_emacs in + emacs.c. + + * paths.h.in: Adjusted the comments to reality as dictated by + configure. + + * filelock.c (complex_vars_of_filelock): Added support for lock + directories passed in from configure. + + * emacs.c (complex_vars_of_emacs): Added all relevant installation + paths passed from configure. They all have the prefix "configure-" now. + + * config.h.in: Added HAVE_SITE_LISP configuration option. + + * callproc.c (init_callproc): Ripped out all the bogus path setup. + + * Makefile.in.in: Updated all calls of "temacs -l" with absolute + file names because auf the more minimalistic load-path setup in + lread.c. Also set EMACSBOOTSTRAPLOADPATH on calling temacs rather + than EMACSLOADPATH because EMACSLOADPATH is now more persistent than + before. + + * lread.c (init_lread): Ripped out bogus load-path setup. + +1998-03-21 Kyle Jones <kyle_jones@wonderworks.com> + + * frame.h: Move the check for an initialize_frame_toolbars + method into FRAME_RAW_REAL_TOOLBAR_VISIBLE to avoid getting + clunked by toolbar-less builds. + +1998-03-20 SL Baur <steve@altair.xemacs.org> + + * m/powerpc.h (LD_SWITCH_MACHINE): Fix path to ppc.ldscript. + +1998-03-16 Hrvoje Niksic <hniksic@srce.hr> + + * redisplay.c (window_line_number_buf): Made it larger. + + * opaque.c (print_opaque): Ditto. + + * lstream.c (print_lstream): Avoid `%p'. + + * keymap.c (ensure_meta_prefix_char_keymapp): Use + error_with_frob(). + + * input-method-xlib.c (EmacsXtCvtStringToXIMStyles): Allocate buf + dynamically. + + * event-Xt.c (describe_event_window): Allocate buf dynamically. + + * doc.c (Fsubstitute_command_keys): Warn of sprintf(). + + * device-x.c (x_init_device): Allocate path dynamically. + (x_init_device): Allocate buf1 and buf2 dynamically. + +1998-03-14 Hrvoje Niksic <hniksic@srce.hr> + + * ExternalShell.c (GetGeometry): Use a larger buffer for + sprintf(). + +1998-03-19 Kirill M. Katsnelson <kkm@kis.ru> + + * redisplay.c (point_would_be_visible): Fix + window::line_cache_validation_override reference counter. + (start_with_line_at_pixpos): Ditto. + +1998-03-20 Olivier Galibert <olivier.galibert@mines.u-nancy.fr> + + * insdel.c (bytecount_to_charcount): Use 'L' suffix on long + constants probably too large for an int. + +1998-03-18 Hrvoje Niksic <hniksic@srce.hr> + + * lread.c (read_atom_0): Signal Qend_of_file if readcharfun + returned -1. + (read_escape): Ditto. + (FSF_LOSSAGE): Ditto. + +1998-03-20 SL Baur <steve@altair.xemacs.org> + + * emacs.c: path-separator (and parse-colon-path) moved from Lisp + into C because we need it for early initialization. + + * Makefile.in.in (libmcheck): Add. + + * config.h.in: Add HAVE_LIBMCHECK and HAVE_MCHECK_H. + + * hash.c (grow_hashtable): Fix tests to compare against + Qnull_pointer since this function may be called before any symbols + or the Lisp engine is initialized. + + * emacs.c (main_1): Restore usage of free-hook.c. + + * free-hook.c (check_realloc): Change aborts to printfs. + (check_free): Ditto. + +1998-03-18 SL Baur <steve@altair.xemacs.org> + + * emacs.c (Fkill_emacs): Use LIST_LOOP_DELETING because our + control variable is being modified underneath us. + - Avoid calling delete_console_internal on stream consoles. + + * console-tty.c (free_tty_console_struct): NULL out pointers after + xfree'ing. + + * console-stream.c (allocate_stream_console_struct): Fix memory + leak -- if the stream_console struct is already allocated, don't + reallocate it. + (free_stream_console_struct): Don't leave dangling freed pointer + around. + + * redisplay-output.c (redisplay_redraw_cursor): Fully bracket. + +1998-03-17 SL Baur <steve@altair.xemacs.org> + + * frame.c (delete_frame_internal): Correct check. + + * imgproc.c: Include <config.h>. + +1998-03-13 P. E. Jareth Hein <jareth@camelot-soft.com> + + * glyphs-x.c: fix for upside-down TIFFs. + +1998-03-14 Kirill M. Katsnelson <kkm@kis.ru> + + * fileio.c (Finsert_file_contents_internal): Removed all DOS_NT + specific code; rely on FILE_CODING streams instead. + (Fwrite_region_internal): Ditto. + (decide_buffer_type): Function removed. + (buf_decide_buffer_type): Function removed. + (Many places): References to DOS_NT replaced with WINDOWSNT. MSDOS- + specific code removed. + + * lread.c (Fload_internal): Removed ugly DOS style re-opening a + file in text mode. '\r' is perfectly handled in readevallop(). + + * redisplay.c (decode_mode_spec): Made %t decode to "T" unconditionally. + + * s/windowsnt.h (FILE_CODING): Define always. + +1998-03-15 Kirill M. Katsnelson <kkm@kis.ru> + + * s/windowsnt.h: Added prototypes for generally used functions + implemented in nt.c + + * fileio.c (Ffile_readable_p): Conditionalized declared never used + variables. + (Fexpand_file_name): Ditto. + (check_executable): Ditto. + + * lread.c (parse_integer): Eliminated a warning resulted from + applying unary minus to unsigned int. + +1998-03-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> + + * eldap.c: (Fldap_search_internal): Print error information from + errno when connection fails + +1998-03-16 Hrvoje Niksic <hniksic@srce.hr> + + * lread.c: New macro, to avoid exposing an lstream to Lisp error + handlers. + (reader_nextchar): Use it. + (read1): Ditto. + +1998-03-15 Kyle Jones <kyle_jones@wonderworks.com> + + * cmds.c (Fforward_char): Dropped support for + signal-error-on-buffer-boundary. Added details to + doc string. + + (Fbackward_char): Dropped support for + signal-error-on-buffer-boundary by way of change to + Fforward_char. Added details to doc string. + + Definition of signal-error-on-buffer-boundary moved to + lisp/simple.el. + + * window.c (Fscroll_up): Dropped support for + signal-error-on-buffer-boundary. Added details to + doc string. + + (Fscroll_down): Dropped support for + signal-error-on-buffer-boundary. Added details to doc + string. + +1998-03-15 Kyle Jones <kyle_jones@wonderworks.com> + + * redisplay-tty.c (tty_clear_frame): Record that the + real location of teh cursor has been moved to 0,0. + Failure to do this makes the display code believe the + cursor is in a place where it is not. + +1998-03-15 Kyle Jones <kyle_jones@wonderworks.com> + + * console.h: Added set_final_cursor_coords method to console + struct. + + * console-tty.h: Added final_cursor_x and final_cursor_y + slots to console struct. Added CONSOLE_TTY_FINAL_CURSOR + macros to access them. + + * redisplay.c (create_text_block): No longer + turn off the cursor if computing a block when + cursor_in_echo_area is 0 and the echo area is + inactive. Needed so that the cursor will not be + frozen in the minibuffer when cursor_in_echo_area + is non-zero. + + * redisplay-output.c (redisplay_move_cursor): Don't + bail if we're moving the cursor in a selected + minibuffer window. Needed so that simple cursor + optimization can be done in the minibuffer even when + cursor_in_echo_area is non-zero. + + (redraw_cursor_in_window): Set final cursor coordinates + as a special case for cursor_in_echo_area != 0, since + the buffer switching between minibuffer and echo area + buffer seems to confuse the normal cursor positiong + code otherwise. Set final cursor coordinates in the + general case before calling output_display_line. + + * redisplay-tty.c: New function tty_set_final_cursor_coords. + + (tty_output_end): Set logical cursor position to the final + cursor position as specified in CONSOLE_TTY_CURSOR_{X,Y}, + and then go to it. + + (tty_redisplay_shutdown): Changed code to use + tty_set_final_cursor_coords() to go to the bottom + left of the screen instead of using cmgoto() + + (console_type_create_redisplay_tty): Declare that tty + consoles have the set_final_cursor_coords method. + +1998-03-13 Hrvoje Niksic <hniksic@srce.hr> + + * emacs.c (main_1): Avoid snprintf(); allocate the buffer + dynamically. + +1998-03-13 P. E. Jareth Hein <jareth@camelot-soft.com> + + * glyphs-x.c (png_instantiate): Added in override support + for png backgrounds. + +1998-03-13 P. E. Jareth Hein <jareth@camelot-soft.com> + + * glyphs-x.c (png_instantiate): Fixed a bug that was causing + overruns when attempting to display transparent pngs + +1998-03-13 P. E. Jareth Hein <jareth@camelot-soft.com> + + * glyphs-x.c (png_instantiate): Fix brainfart in error handling code. + +1998-03-13 SL Baur <steve@altair.xemacs.org> + + * emacs.c (main_1): Guard call to snprintf. + + * config.h.in: Add HAVE_SNPRINTF. + +1998-03-13 Kirill M. Katsnelson <kkm@kis.ru> + + * event-stream.c (init_event_stream): Initialize mswindows event + loop in stream mode if no other window systems available. Thanks + to Darryl Okahata. + +1998-03-04 Kirill M. Katsnelson <kkm@kis.ru> + + * alloc.c (garbage_collect_1): Removed #ifndef WINDOWSNT around + mark_profiling_info(). + +1998-03-11 SL Baur <steve@altair.xemacs.org> + + * console-tty.c (Fset_console_tty_coding_system): Guard against + terminal-coding-system being left unitialized by a locale. + From Kazuyuki IENAGA <ienaga@jsys.co.jp> + +1998-03-11 P. E. Jareth Hein <jareth@camelot-soft.com> + + * config.h.in: Added in new feature check HAVE_VSNPRINT to check + for safe ways to deal with vsprintf and friends. + + * glyphs-x.c (gif_instantiate): Changed gif support to call external + library Giflib 3.1. Altered GIF/JPEG/PNG formats to use new EImage + format for dealing with images to better support color handling, and + facilitate the change to a device-neutral implementation. Added TIFF + support. + + * Makefile.in.in: Removed all gif related files + + * emacs.c (main_1): Removed reference to init_gif_err + * symsinit.h: ditto + + * dgif_lib.c: Removed from the source distribution + * gif_err.c: ditto + * gif_lib.h: ditto + * gifalloc.c: ditto + +Mon Mar 09 13:00:55 1998 Andy Piper <andyp@parallax.co.uk> + + * file-coding.c: warning elimination + + * ntplay.c: new file. basic implementation of sound support. + + * redisplay-msw.c (mswindows_update_dc): cachel bug is gone so we + don't need this code under cygwin. + + * sheap.c: need large heap slop for byte compiling with three + display types. + + * sound.c: eliminate warnings. enable sound under mswindows. + + * s/cygwin32.h: miscellaneous updates for sound support. + +1998-03-09 SL Baur <steve@altair.xemacs.org> + + * config.h.in: Add BITMAPDIR. + + * glyphs-x.c (locate_pixmap_file): Assume BITMAPDIR is a + colon-separated path. + + * emacs.c (main_1): Initialize dll support with the path the + binary. + (make_arg_list_1): Ditto. + + * sysdll.h: Add legalese. + * sysdll.c: Ditto. + + * sysdll.c: sysdll.h needs to be included with double quotes not + angle brackets. + Use RTLD_GLOBAL as an open flag if it exists. + +1998-03-09 Martin Buchholz <Martin Buchholz <martin@xemacs.org>> + + * eldap.c (Fldap_search_internal): call garbage_collect_1 instead + of Fgarbage_collect. The two are identical except the latter + generates some `fresh' garbage :) + +1998-03-09 SL Baur <steve@altair.xemacs.org> + + * keymap.c: Add symbols for mouse-4 and mouse-5. + (define_key_check_and_coerce_keysym): Mouse-4, Mouse-5 keysym support. + (syms_of_keymap): Ditto. + +1998-01-26 Hrvoje Niksic <hniksic@srce.hr> + + * marker.c (print_marker): Print marker's lheader.uid. + (Fbuffer_has_markers_at): New function, synched with FSFmacs 20.2. + (Fbuffer_has_markers_at): Disabled by default. + +1998-01-25 Hrvoje Niksic <hniksic@srce.hr> + + * sound.c (Fplay_sound_file): Place the result of continuable + error back to FILE. + +1998-03-09 SL Baur <steve@altair.xemacs.org> + + * emacs.c, config.h.in: New DLL support. + * sysdll.h, sysdll.c: New files. + * dll.c: renamed from dlopen.c, use interface defined in sysdll.c. + From William Perry <wmperry@aventail.com> + + * eldap.h: Fix copyright. + * eldap.c: Ditto. + +1998-03-08 SL Baur <steve@altair.xemacs.org> + + * Makefile.in.in: Add dependencies for process-unix.o. + +1998-03-08 Kyle Jones <kyle_jones@wonderworks.com> + + * glyphs-x.c (write_lisp_string_to_temp_file): + Don't explicitly initialize conversion_out_dynarr, because + doing so may cause it to be put into read-only space + and modifying it later would make XEmacs crash. + +1998-03-07 Kyle Jones <kyle_jones@wonderworks.com> + + * events.h: Add do_backspace_mapping parameter to + function prototype of character_to_event. + + * events.c: Add fifth parameter to character_to_event to + control the backspace mapping. In character_to_event map most + characters that match tty-erase-char to the backspace keysym, + but only if do_backspace_mapping paramter is non-zero. + + (Fcharacter_to_event): Tell character_to_event() to DO + backspace mapping. + + * event-stream.c: + (maybe_read_quit_event): Tell character_to_event() to DO + backspace mapping. + + (maybe_kbd_translate): Tell character_to_event() to DO backspace + mapping. + + (lookup_command_event): Tell character_to_event() to DO backspace + mapping. + + * event-unixoid.c: + (read_event_from_tty_or_stream_desc): Tell character_to_event() + to DO backspace mapping. + + * keymap.c: + (get_keyelt): Tell character_to_event() to NOT DO backspace + mapping. + + (define_key_parser): Tell character_to_event() to NOT DO backspace + mapping. + + (Fsingle_key_description): Tell character_to_event() to DO + backspace mapping. + +1998-03-04 Kirill M. Katsnelson <kkm@kis.ru> + + * alloc.c (Fpurecopy): Do not mark symbols through + Vpure_uninterned_symbol_table twice: hash (OBJ, nil) instead of + (OBJ, OBJ). + +1998-03-07 SL Baur <steve@altair.xemacs.org> + + * emacs.c (shut_down_emacs): Disable forced auto-save in a crash. + It causes more problems than it solves. + +1998-03-02 Greg Klanderman <greg@alphatech.com> + + * window.c (Fwindow_displayed_pixel_height) New function. + (Fenlarge_window_pixels): New function. + (Fshrink_window_pixels): New function. + (window_displayed_pixel_height): New, helper for + Fwindow_displayed_pixel_height. + (change_window_height): Add `inpixels' argument. + (syms_of_window): 3 new DEFSUBR's. + +Thu Mar 05 12:01:35 1998 Andy Piper <andyp@parallax.co.uk> + + * redisplay-msw.c (mswindows_output_cursor): separate getting + cachel index from retrieving cachel to work around apparent bug in + gcc. + +1998-03-06 Kyle Jones <kyle_jones@wonderworks.com> + + * events.c (character_to_event): The tty_erase_char test + doesn't do anything because it's in the wrong place. + Moved it to where it can take effect. + + * dired.c (Fdirectory_files): Initialize GCPRO'ed variable. + + * events.c (character_to_event): Never map '(control + foo) to QKbackspace. Only map ASCII 8 to QKbackspace; + don't map any other key. + +1998-03-05 Kyle Jones <kyle_jones@wonderworks.com> + + * src/redisplay-output.c (redisplay_move_cursor): Bail if + cursor_in_echo_area is non-zero and we're fiddling + with the cursor in a minibuffer window, since that is a + special case that is handled elsewhere and this function + need not handle it. Return 1 so the caller will assume we + succeeded. + +Wed Mar 04 08:55:12 1998 Andy Piper <andyp@parallax.co.uk> + + * device.c (init_global_resources): compile in based on window + system not just x. + + * console.c (select_console_1): add mswindows console type. + +1998-03-04 Kyle Jones <kyle_jones@wonderworks.com> + + * redisplay-output.c (redisplay_redraw_cursor): Redraw + the cursor in the minibuffer window if cursor_in_echo_area + is non-zero. + +Wed Mar 04 08:55:12 1998 Andy Piper <andyp@parallax.co.uk> + + * emacs.c (main_1): predicate display_use to mswindows only if x + is not already selected. + + * event-msw.c: comment out non-code for HAVE_TOOLBAR case. don't + compile debug_process_finalisation if x is compiled in. + + * event-stream.c (init_event_stream): don't make X and mswindows + mutually exclusive. Select msw event loop if started that way, + X/tty event loop otherwise. + + * frame.h: protect toolbar #defines from assuming ints are in + toolbar_data. This happens if you have two display types compiled + in and one supports toolbars and the other doesn't. + + * s/cygwin32.h: warning elimination. + +1998-03-03 SL Baur <steve@altair.xemacs.org> + + * editfns.c (Ftemp_directory): New function. + From Glynn Clements <glynn@sensei.co.uk> + + * editfns.c (Ftemp_directory): Use build_ext_string. + +1998-03-02 Martin Buchholz <Martin Buchholz <martin@xemacs.org>> + + * symsinit.h: add prototype for syms_of_dlopen + +1998-03-02 Kyle Jones <kyle_jones@wonderworks.com> + + * window.c (save_window_save): save value of + default_toolbar_height slot. + + (Fset_window_configuration): restore value of + default_toolbar_height slot. + +Fri Feb 20 21:22:34 1998 Darryl Okahata <darrylo@sr.hp.com> + + * "Fast" dired-in-C enhancements for Windows 95/NT: + + * ntproc.c: + * device-msw.c: + Moved definition of `Vwin32_downcase_file_names' from ntproc.c + to device-msw.c, and renamed it to + `Vmswindows_downcase_file_names'. It doesn't really belong + here, but I didn't want to create a new file, just for this one + variable. This fixes a bug in `expand-file-name' that caused + all returned filenames to be lowercased (this was supposed to be + conditional upon Vmswindows_downcase_file_names, but wasn't, as + it was never initialized due to obsolescence of ntproc.c). This + variable is also used by the dired-in-C enhancements. + + Also moved and renamed `Vwin32_get_true_file_attributes' to + `Vmswindows_get_true_file_attributes'. This affects stat() in + nt.c, and so it really does need to be initialized. + + However, there's still one more variable in ntproc.c that still + needs to be moved/renamed, `Vwin32_pipe_read_delay', but I + didn't touch this, as this is a subprocess issue. + + * dired-msw.c: New file for dired-in-C enhancements for + Windows 96/NT. + + * emacs.c: Initialization calls for dired-msw.c. + + * nt.c (convert_time): make into public function (dired-in-C + functions use it). + +1998-02-28 Kirill M. Katsnelson <kkm@kis.ru> + + * sysdep.h: Prototypes for the above 2 functions + + * sysdep.c (get_pty_max_bytes): Moved here from process.c + (get_eof_char): Ditto + + * symsinit.h: Prototypes for initialization functions called from + emacs.c: process_type_create_mswindows, process_type_create_unix, + vars_of_process_mswindows, vars_of_process_unix. + + * procimpl.h: New file. Includes prototypes and other stuff shared + by process.c and implementation files (process-unix.c, + process-msw.c in future). + + * process.h (PROCESS_LIVE_P): Changed to test against stream + existence, to avoid dependency on fds. + + * process.c: Only process implementation independent code is now + in this file. Moved the rest into process-unix.c + (Fopen_network_stream_internal): Added 5th parameter, protocol + family. Defaults to 'tcp/ip when unspecified. + + * process-unix.c: New file, implementation of UNIX + processes. UNIX-specific code from the old process.c is here. + + * Lstream.c (Lstream_was_blocked_p): New function. Replaces + filedesc_stream_was_blocked_p. + (filedesc_was_blocked_p): Implementation of the method for + filedesc stream + (filedesc_stream_set_pty_flushing): set pty_flushing flag + (filedesc_stream_fd): New function, returns fd of the stream + + * lstream.h (lstream_implementation): was_blocked_p is a new + optional lstream method. + Added prototypes for functions in lstream.c + + * lisp.h: (USID): Typedef for Unique Stream IDentifier. Reuqired + by the new code in many places. + + * events.h (struct event_stream): Declaration of the two mandatory + event stream methods, required by process support. + + * event-unixoid.c (event_stream_unixoid_create_stream_pair): + Implementation of the method shared by TTY and X + (event_stream_unixoid_delete_stream_pair): Ditto + + * event-tty.c (emacs_tty_next_event): get_process_from_usid() + instead of get_process_from_fd() + (emacs_tty_create_stream_pair): New events tream method + (emacs_tty_delete_stream_pair): New events tream method + + * event-stream.c (event_stream_create_stream_pair): New event + stream method + (event_stream_delete_stream_pair): Ditto + + * event-msw.c (debug_process_finalization): Although if0'ed, + removed obsolete code + + * event-Xt.c (emacs_Xt_create_stream_pair): Implementation if the + new event stream method + (emacs_Xt_delete_stream_pair): Ditto + + * emacs.c (main_1): Added calls to process_type_create*() and + vars_of_process() + + * callproc.c: (many places): removed DOS support + +1998-03-02 SL Baur <steve@altair.xemacs.org> + + * process.c (Fprocess_status): Restore old behavior -- call + Fget_process on a string argument. + +Mon Mar 02 11:37:36 1998 Andy Piper <andyp@parallax.co.uk> + + * file-coding.h: + * file-coding.c: more cleanup by only including iso2022 stuff in a + mule build. (setup_eol_coding_systems) move (T) -> :T etc. + + * event-stream.c: (Fopen_dribble_file) Qescape_quoted only exists in + mule. + + * md5.c: remove warning. + + * unexcw.c: move .idata -> .rdata for cygwin b19. + + * Makefile.in.in: add msw dependencies. + + * sheap.c: up static heap parameters. + + * s/cygwin32.h: add prototypes to eliminate warnings. + +1998-03-02 SL Baur <steve@altair.xemacs.org> + + * Makefile.in.in (blddir): Import blddir. + Add blddir to dump-time load-path. + + * nas.c (play_sound_data): Add braces for clarity. + (play_sound_file): Ditto. + +1998-03-01 SL Baur <steve@altair.xemacs.org> + + * alloc.c: Boost static vector size for breathing room. Double + the size if we may be dynamically linking. + + * dlopen.c (Fdl_open): Use RTLD_GLOBAL flag on dlopen if available. + + * device-x.c (x_init_device): Hardcode `Emacs' as the filename + containing localized menubars. + + * config.h.in: Add HAVE_UNIX_PROCESSES for 20.6. + + * alloc.c (init_alloc_once_early): Document movement of mmap + enabling code to emacs.c. + + * Makefile.in.in: Update FILE_CODING dependencies. + +1998-03-01 Kyle Jones <kyle_jones@wonderworks.com> + + * file-coding.c (setup_eol_coding_systems): Don't try + to copy the mnemonic property of the coding system + unless it is a string. + + (allocate_coding_system): Initialize coding system + struct member 'mnemonic' to Qnil. Leaving its value + set to 0 causes a crash. + +1998-03-01 SL Baur <steve@altair.xemacs.org> + + * file-coding.c (DEFINE_SUB_CODESYS): Undo previous patch. + +1998-03-01 Kyle Jones <kyle_jones@wonderworks.com> + + * callint.c: Read coding system names for the 'z' and + 'Z' interactive specs if FILE_CODING or MULE is defined. + Previously, coding system names were read only if MULE was + defined. + + * file-coding.h: Removed charset-based category types + from enumerated coding_category_type if not building + with MULE. + + * file-coding.c (syms_of_mule_coding): Don't define + symbols for charset-based coding systems unless + building with MULE. + +1998-02-28 SL Baur <steve@altair.xemacs.org> + + * alloc.c (garbage_collect_1): Guard call to selected_frame so it + cannot be called during GC. + - Update current count of staticpro'ed objects. + +1998-02-28 Kyle Jones <kyle_jones@wonderworks.com> + + * menubar.c (Fmenu_find_real_submenu): Document the + "use struct as array" hack. Convert struct pointer to + array to avoid compiler warnings. + +1998-02-26 SL Baur <steve@altair.xemacs.org> + + * buffer.c (complex_vars_of_buffer): Fix DOC string for + buffer-file-coding-system. + +1998-02-26 Damon Lipparelli <lipp@primus.com> + + * symsinit.h: syms_of_ldap() is actually syms_of_eldap(). + + * eldap.c: removed duplicates. + +1998-02-26 SL Baur <steve@altair.xemacs.org> + + * file-coding.c (setup_eol_coding_systems): Disable SUB_CODESYS + feature -- it causes stack corruption in Mule. + +1998-02-27 Kirill M. Katsnelson <kkm@kis.ru> + + * events.c (character_to_event): The code which guesses TTY + backspace character is conditionalized on HAVE_TTY + +1998-02-26 SL Baur <steve@altair.xemacs.org> + + * console.c (complex_vars_of_console): Guard tty_erase_char with + HAVE_TTY. + * conslots.h: Ditto. + +1998-02-25 SL Baur <steve@altair.xemacs.org> + + * events.c (character_to_event): Correct operations on tty_erase_char. + From Martin Buchholz <martin@xemacs.org> + + * file-coding.c (setup_eol_coding_systems): Unix/Binary sub + coding-system display should default to the empty string. + - Use '(t)' for Mac/Text mode. + +Tue Feb 17 12:50:37 1998 Andy Piper <andyp@parallax.co.uk> + + * Makefile.in.in: make sure clean removes msw executables. This + prevents the build stalling after puresize has been adjusted. Add + file-coding.o to list of objects. + + * buffer.c: + * buffer.h: + * bufslots.h: + * callproc.c: + * console-tty.c: + * emacs.c: + * event-Xt.c: + * event-stream.c: + * glyphs-x.c: + * lread.c: + * md5.c: + * mule-canna.c: + * mule-ccl.c: + * process.c: + * redisplay-x.c: + * redisplay.c: remove #ifdef MULE's from stuff that relates to + file-coding. include file-coding.h rather than mule-coding.h + where applicable. + + * mule-coding.c: #if 0 out functionality until file-coding is + split up. + + * file-coding.h: + * file-coding.c: new files. copies of mule-coding.h and + mule-coding.c. The mule case is unchanged. The non-mule case + removes coding relating to other charsets - iso2022, big5, sjis, + ccl. (setup_eol_coding_systems) add the eol type to the subsidiary + coding system mnemonics so that it shows on the modeline, + currently (B) for unix style (T) for mac and dos styles. + + * fileio.c: remove #ifdef MULE's from stuff that relates to + file-coding. include file-coding.h rather than mule-coding.h where + applicable. FSFMACS_SPEEDY_INSERT is gone since file coding is + always on. + + * sheap.c: (more_static_core) remove spurious \n's from error + message. + +1998-02-25 Kyle Jones <kyle_jones@wonderworks.com> + + * lisp-disunion.h: Added XUINT macro. + + * lisp-union.h: Added XUINT macro. + + * data.c (Flsh): Used XUINT instead of XINT to + extract the value of the first argument to avoid sign + extension of the result. + +1998-02-25 SL Baur <steve@altair.xemacs.org> + + * s/decosf4-0.h: Add -D_BSD. + From Tore Olsen <toreo@tihlde.hist.no> + +1998-02-21 Greg Klanderman <greg@alphatech.com> + + * device-x.c (x_init_device): allow `x-emacs-application-class' to + be nil prior to connecting to the X server. When this is the + case, the application class is chosen based on whether the user + has any resources with application class `XEmacs' set in the + resource database. + (vars_of_device_x): make x-emacs-application-class nil by default + and document new behavior in its doc string. + +1998-02-23 Aki Vehtari <Aki.Vehtari@hut.fi> + + * menubar.c: Doc fix: suffix can be form. + + * gui.c (gui_parse_item_keywords): Allow button descriptors + at least 2 long. + (gui_item_display_flush_left): Suffix can be form. + + * gui-x.c (button_item_to_widget_value): Allow button descriptors + at least 2 long. + (button_item_to_widget_value): Suffix can be form. + +1998-02-24 SL Baur <steve@altair.xemacs.org> + + * s/sol2.h: define HAVE_GETLOADAVG for late edition Solaris + From Georg Nikodym <georgn@Canada.Sun.COM> + +1998-02-24 Didier Verna <didier@xemacs.org> + + * redisplay.c (generate_fstring_runes): fixed the modeline + scrolling lossage (the % constructs appearing in the + modeline). Now that we can have negative positions and boundaries, + max_pos == -1 can't mean 'no limit' anymore. Me, stupido! + (add_string_to_fstring_db_runes): Ditto. + (add_glyph_to_fstring_db_runes): Ditto. + +1998-02-19 Jim Radford <radford@robby.caltech.edu> + + * sysdep.c: Don't clobber SIGIO event flags we don't care about. + * device.h: removed old_sigio_flag, sigio_enabled from device + Secretly (on Solaris) F_SETOWN calls I_SETSIG. We unknowingly + clobbered the changes so restoring the owner would cause + F_SETOWN's I_SETSIG to fail therby causing an annoying syslog + message. Changed FASYNC version to match (untested). + +1998-02-22 SL Baur <steve@altair.xemacs.org> + + * emacs.c (main): Enable mmap for glibc-2.1 and Linux libc5. + Enable mmap only for non-Mule for glibc-2.0. + +1998-02-21 SL Baur <steve@altair.xemacs.org> + + * config.h.in: Define _NO_MALLOC_WARNING_ if using dlmalloc from + Linux libc5. + +1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * emacs.c: declare hooks only if !DOUG_LEA_MALLOC since the + declaration conflicts with glibc's own. + +1998-02-19 SL Baur <steve@altair.xemacs.org> + + * config.h.in: Remove HAVE_TERM, add USE_MINIMAL_TAGBITS and + USE_INDEXED_LRECORD_IMPLEMENTATION. + + * process.c (Fopen_network_stream_internal): Remove TERM support. + + * sysproc.h: Remove TERM support. + +1998-02-20 Kazuyuki IENAGA <ienaga@jsys.co.jp> + + * input-method-xfs.c: add setlocale(LC_CTYPE, "") right after + setlocale(LC_NUMERIC, "C"). Because, without this, the LC_CTYPE + got a side effect of LC_NUMERIC then set to "C". + +1998-02-19 SL Baur <steve@altair.xemacs.org> + + * emacs.c (main): Enable mmap'ing with XEmacs/Mule. + + * redisplay.c (add_string_to_fstring_db_runes): Fix infloop + problem with long modelines and glyphs. + + * unexelf.c: The proper way to check for GNU libc is with __GLIBC__. + Suggested by Andreas Jaeger <aj@arthur.rhein-neckar.de> + +1998-02-18 SL Baur <steve@altair.xemacs.org> + + * Makefile.in.in: Remove all references to prefix-args. + +1998-02-18 Kirill M. Katsnelson <kkm@kis.ru> + + * sysdep.c (mswindows_set_errno): New function + (mswindows_set_last_errno): Ditto + These convert Win32 error code to ANSI C errno. + + * sysdep.h: Prototypes for the above 2 functions. + + * menubar-msw.c (vars_of_menubar_mswindows): Fprovide + ('mswindows-menubar) removed. See the entry of 1998-01-03 + + * process.c: FSFmacs proc_buffered_char static array + #if0'ed in 2 places. It is never used. + +1998-02-01 Kyle Jones <kyle_jones@wonderworks.com> + + * window.c (save_window_save): Save window-cached + speciifer values. + (saved_window_equal): Added comparisons of window-cached + specifier values. + (Fset-window-configuration): Restore window-cached + specifier values. + +1998-02-18 Didier Verna <didier@xemacs.org> + + * modeline.el (mouse-drag-modeline): added the horizontal + scrolling functionality for the modeline. This could still be + improved, for instance when the mouse goes out of the modeline. + +1998-02-18 Didier Verna <didier@xemacs.org> + + * redisplay.c: + (generate_formatted_string_db): new flag to distinguish a modeline + string from a title or icon one, plus use a negative first pos to + indicate the modeline hscroll amount. + (add_string_to_fstring_db_runes): completely rewrote this function + to handle the case of scrolled modelines. + (add_glyph_to_fstring_db_runes): handle the case of scrolled + modelines. + + * window.c: + (Fmodeline_hscroll): new function to return the modeline current + horizontal scroll amount. + (Fset_modeline_hscroll): new function to scroll the modeline + horizontaly. + Plus some updates related to this new functionality (windows + configuration, notably). + + * window.h (struct window): added the new field modeline_hscroll. + +1998-02-18 SL Baur <steve@altair.xemacs.org> + + * m/alpha.h: + * unexelf.c: Synched with Emacs 20.2. + From Aki Vehtari <Aki.Vehtari@hut.fi> + + * emacs.c (main): Don't call __sbrk(). + * gmalloc.c (__sbrk): Ditto. + Suggested by Andreas Jaeger <aj@arthur.rhein-neckar.de> + +1998-02-17 SL Baur <steve@altair.xemacs.org> + + * console-tty.c (Fset_console_tty_coding_system): New function. + From Kazuyuki IENAGA <ienaga@jsys.co.jp> + +1998-02-15 SL Baur <steve@altair.xemacs.org> + + * ralloc.c (init_ralloc): DOUG_LEA_MALLOC support. + (r_alloc_reinit): Ditto. + [All non-HAVE_MMAP code]: Synched with Emacs 20.2. + + * emacs.c: Synch DOUG_LEA_MALLOC support from Emacs 20.2. + (main): Ditto. + Add LINUX_SBRK_BUG workaround, what is it? + (Fdump_emacs): DOUG_LEA_MALLOC support from Emacs 20.2. + + * alloc.c: Synch DOUG_LEA_MALLOC support from Emacs 20.2. + (init_alloc_once_early): Ditto. + + * config.h.in: Add DOUG_LEA_MALLOC symbol. + + * unexfreebsd.c (run_time_remap): Change printf format string to + match parameters given. + +1998-02-14 SL Baur <steve@altair.xemacs.org> + + * s/sco5.h: Define LIB_GCC as -lgcc for gcc 2.8 and egcs. + Suggested by Robert Lipe <robertl@dgii.com> + +1998-02-14 Martin Buchholz <martin@xemacs.org> + + * event-Xt.c (x_reset_key_mapping): + * device-x.c: + (x-keysym-on-keyboard-p): + (x-keysym-on-keyboard-sans-modifiers-p): + Use x-keysym-on-keyboard-sans-modifiers-p instead of + x-keysym-on-keyboard-p to detect backspace. + Use symbols instead of strings (now deprecated) with x-keysym-*-p. + Clean up symbols used with dead keys, checking Linux and solaris + keysyms. + Simplify x-win-*.el using above methods. + Change documentation for x-keysym-*-p functions. + +1998-02-13 SL Baur <steve@altair.xemacs.org> + + * unexelfsgi.c: Various changes. + From Olivier Galibert <galibert@pobox.com> + + * s/freebsd.h: Avoid redefining BSD. + From Kazuyuki IENAGA <ienaga@jsys.co.jp> + + * extents.c (extent_fragment_update): Break up a line to avoid a + Digital UNIX 3.2g C compiler bug. + From Tonny Madsen <tma@nettest.dk> + + * process.c (create_process): Restore save_environ hackery. + +1998-02-10 SL Baur <steve@altair.xemacs.org> + + * emacsfns.h: Remove mocklisp declarations. + + * redisplay-msw.c (mswindows_update_dc): Enable evil kludge for + cygwin. + From Andy Piper <andyp@parallax.co.uk> + +1998-02-09 SL Baur <steve@altair.xemacs.org> + + * menubar-msw.c (vars_of_menubar_mswindows): Fix patch failure. + Suggested by: kny@tekla.fi + + * data.c (Fold_eq): PC-ize. + + * chartab.c: PC-ize. + + * window.c (toplevel): PC-ize. + (syms_of_window): Ditto. + + * search.c (Freplace_match): PC-ize. + + * lread.c: PC-ize. + + * buffer.c (Fbuffer_enable_undo): PC-ize. + (Fbuffer_disable_undo): ditto. + + * eval.c (return_from_signal): PC-ize. + + * casetab.c: PC-ize. + + * callproc.c (Fcall_process_internal): PC-ize. + +1998-02-02 Kirill M. Katsnelson <kkm@kis.ru> + + * gui.h (struct gui_item): Menu item, submenu or GUI button + properties are abstracted into this new structure. + Added prototypes for the following functions + + * gui.c (gui_item_init): New function + (gui_item_add_keyval_pair): Ditto + (gui_parse_item_keywords): Ditto + (gui_item_active_p): Ditto + (gui_item_included_p): Ditto + (gui_item_display_flush_left): Ditto + (gui_item_display_flush_right): Ditto. The above listen new + functions manipulate on properties common to menu items and GUI + buttons. + + * menubar.c (current_frame_menubar): Moved from menubar-msw.c + (menu_parse_submenu_keywords): New function + (Fmenu_find_real_submenu): Ditto, lisp accessible. The last two + functions operate on menu properties stored in struct gui_item, + but are specific to menus only. + + * menubar.h: Prototypes for the above functions. + + * menubar-msw.c: Modified to utilize struct gui_item instead of + plists, to reduce garbage. Suggested by Ben Wing. + Unreachable menus are fixed. + +1998-01-03 Kirill M. Katsnelson <kkm@kis.ru> + + * menubar-msw.c (allocate_menu_item_id): Added third parameter to + hash, suffix. Menus tend to put non-localizable items into suffix + with empty name. + (update_frame_menubar_maybe): top_level_menu is now set here. + (mswindows_popup_menu): Ditto. It was incorrect to set it from + populate. + (vars_of_menubar_mswindows): Fprovide ('mswindows-menubar) removed: + (featurep (and 'mswindows 'menubars)) tests the same. + (mswindows_update_frame_menubars): update_..._maybe () now called + only if frame->menubar_changed is set. Is it right to patch + menubar.c instead? + +1998-02-08 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * objects-msw.c: + Updated color database to X11R6. Also added support for + "#RRRGGGBBB" and "#RRRRGGGGBBBB" in addition to "#RRGGBB". + +1998-02-08 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * console.h: + * console-stream.c: + * redisplay.c: + * redisplay-msw.c: + * redisplay-tty.c: + * redisplay-x.c: + Added the frame as a parameter to the text_width device + method. + + * redisplay-msw.c: + Support for proportional fonts. + +1998-02-07 Hrvoje Niksic <hniksic@srce.hr> + + * window.c (map_windows): Don't return the value of map_windows_1. + (map_windows): If F is NULL, map through all the windows. + (mark_windows_in_use): Use map_windows(); made it static. + (mark_windows_in_use_closure): New function. + +1998-02-01 Hrvoje Niksic <hniksic@srce.hr> + + * alloc.c (Fpurecopy): Check for non-`nil'-ness instead of + checking for Vobarray. + + * dlopen.c (Fdl_open): Indirect FUNCTION explicitly, for clarity. + + * elhash.c: Removed broken hashtable_hash(). + +1998-01-28 Hrvoje Niksic <hniksic@srce.hr> + + * symbols.c (Fintern): Use Qt instead of the actual obarray. + (init_symbols_once_early): Ditto. + +1998-01-27 Hrvoje Niksic <hniksic@srce.hr> + + * lisp.h (DO_REALLOC): Name the variable `do_realloc_newsize' + instead of `newsize', to avoid name collisions. + +1998-01-26 Hrvoje Niksic <hniksic@srce.hr> + + * print.c (print_symbol): Be more wary about the contents of + Vprint_gensym_alist. + +1998-02-06 SL Baur <steve@altair.xemacs.org> + + * emacs.c (Frun_emacs_from_temacs): Disable largely meaning-free + purity/impurity summary. Compile with -DREPORT_PURE_USAGE to get + it back. + + * process.c (create_process): Unused variable elimination. + + * lread.c (Fload_internal): Compiler warning suppression. + + * alloc.c (report_pure_usage): Remove unused variable. + +Wed Jan 28 13:41:22 1998 Andy Piper <andyp@parallax.co.uk> + + * Makefile.in.in: add support for sheap-adjust.h generation for + static heap. + +Wed Jan 28 13:41:22 1998 Andy Piper <andyp@parallax.co.uk> + + * Makefile.in.in: add sheap-adjust.h support, basically copied + from puresize-adjust.h. predicate sheap.o on HEAP_IN_DATA. fix + xemacs target slightly to not be a single shell command, this + fixes an obscure bug in cygwin gmake. + + * alloc.c (report_pure_usage): call sheap_adjust_h if HEAP_IN_DATA + is defined. + + * sysfile.h: add abstracted OPEN_BINARY, OPEN_TEXT etc defines. On + Unix these are all 0 and have no effect. On systems defining + O_BINARY these use it. WINDOWSNT is currently unaffected because + there are individual #ifdefs in each source file, but with this + change they could be removed. + + * emacs.c: + * doc.c: + * lread.c: + * process.c: generalize open() calls with OPEN_BINARY. Does + nothing under Unix. + + * emacs.c: predicate inclusion of windows.h on WINDOWSNT not + _WIN32. + + * process.c: + * sysdep.c: + * signal.c: predicate SIGIO stuff also on !BROKEN_SIGIO, this is + required for building on cygwin32 b19 which has SIGIO that only + works on sockets. + + * fileio.c: + * event-stream.c: generalize open() calls with OPEN_BINARY. Does + nothing under Unix. Use open() instead of creat() to make this + possible. use CREAT_MODE from sysfile.h + + * config.h.in: add MULE_CODING, currently not used. add support + for HAVE_A_OUT_H. + + * elhash.c: + * menubar-msw.c: + * mule-ccl.c: + * device-msw.c: warning elimination. + + * event-msw.c: add undeclared Dde calls for cygwin. + + * redisplay-msw.c: warning elimination under mule. + + * gmalloc.c: make initalize() really do that. If HEAP_IN_DATA is + defined catch free() & realloc() calls with addresses in the data + space. __morecore calls more_static_core for temacs, when dumped + switches to sbrk(). + + * console-msw.h: undef CONST after windows.h inclusion since this + defines CONST. #ifdef out shellapi under cygwin. + + * device-msw.c: include sysdep.h + + * objects-msw.c: add dummy mswindows_font_spec_matches_charset and + mswindows_find_charset_font so that we can build with mule. + + * mem-limits: return -1 for get_lim_data() when HEAP_IN_DATA is + defined. + + * sheap.c: new file. defines sheap_adjust_h and more_static_core + so that data space can be used by gmalloc before dumping when + HEAP_IN_DATA is defined. beef up error message about what to do if + sheap space runs out. + + * sysdep.c: make start_of_data return something sensible for + HEAP_IN_DATA. + + * systime.h: don't use itimer stuff on cygwin b19. + + * unexcw.c: new file. Full unexec() support for cygwin using the + HEAP_IN_DATA setup provided by sheap.c and friends. No run-time + remapping is performed. This could be generalized to support many + platforms that use COFF. you need a.out.h from my website to build + this. cygwin b19 will have this. + + * s/cygwin32.h: fixed commentary. compile in unexcw.o for dumping + support. removed irrelevent things. define BROKEN_SIGIO. remove + include of windows.h. add correct process support defines, process + support might work when non-blocking io is implemented in cygwin. + +1998-02-02 P. E. Jareth Hein <jareth@camelot-soft.com> + + * glyphs.c: Removed ImageMagick support, re-instituted the previous + support for JPEG, GIF and PNG with the new color system. + +1998-02-05 Olivier Galibert <galibert@pobox.com> + + * unexelf.c: Fix alignment problems on Linux. + +1998-02-01 Kyle Jones <kyle_jones@wonderworks.com> + + * redisplay.c (redisplay_window): After outputting + the window, invalidate its the line start cache if the + we're displaying the minibuffer window and the echo + area is active. The cache is only valid for the echo + area buffer, and that buffer isn't associated with the + minibuffer window anymore. + +1998-01-31 SL Baur <steve@altair.xemacs.org> + + * alloc.c (disksave_object_finalization): Additional checking for + sanity when zeroing out unused portions of string_chars_block's. + (Fpurecopy): Spelling fixes in comment. + (PURESIZE_SLOP): Set default slop to 0. + +1998-01-31 Kyle Jones <kyle_jones@wonderworks.com> + + * chartab.c (make_char_table): Initialize mirror + tables with Spunct in all the slots. Syntax table + initialization doesn't touch slots for nonexistent + characters sets. If character sets corresponding to + those slots are created later Qnil values in the slots + will cause crashes. + (copy_char_table_entry): Return copy not original. + +1998-01-28 Jonathon Harris <jhar@tardis.ed.ac.uk> + + * msw-proc.c: + * event-msw.h: + * event-msw.c: + * console-msw.h: + Deleted the first two and merged them into the last two files. + + * device-msw.c: + * event-msw.c: + * frame-msw.c: + Added file-based drag and drop support. The "System/Open" DDE command + is also implemented as if it were a drag and drop operation. + + * emacsfns.h: + * event-stream.c: + * events.c: + * events.h: + * frame.c: + * keymap.c: + Replaced all "#ifdef HAVE_OFFIX_DND" with + "#if defined(HAVE_OFFIX_DND) || defined(HAVE_MS_WINDOWS)" + + * device.h: Added DEVICE_MSWINDOWS_P and related macros. + + * objects-msw.c: + * select-msw.c: + Eliminated warnings. + + * redisplay-msw.c: Changed color of "dead" box between scrollbars + to windows' "button" color for compatibility with other windows apps. + +1998-01-20 Stephen Turnbull <turnbull@sk.tsukuba.ac.jp> + + * Makefile.in.in: move `rm puresize-adjust.h' from distclean + to mostlyclean + +1998-01-29 SL Baur <steve@altair.xemacs.org> + + * Makefile.in.in (dlopen.o): Add dependencies. + + * s/sunos4-0.h: Conditionalize use of broken-sun.h for old Gccs. + Suggested by Amir J Katz <amir@ndsoft.com> + +1998-01-28 SL Baur <steve@altair.xemacs.org> + + * faces.c (init_device_faces): This function can call lisp. + +1998-01-28 P. E. Jareth Hein <jareth@camelot-soft.com> + + * mule-coding.h: + * mule-coding.c: (determine_real_coding_system): removed the + static declaration to allow reuse. + + * md5.c (Fmd5): Rewrote to fully support MULE, as well as streamline + the code. + + * mule-ccl.c (ccl_driver): Set initial values of variables to shut up + the compiler and to give better error message if a quit happens before + any ccl_code is generated. + +1998-01-28 SL Baur <steve@altair.xemacs.org> + + * glyphs.c (allocate_glyph): This function can GC. + Wrap GCPRO around unprotected function calls. + (specifier_vars_of_glyphs): Comment change -- Can we GC here? + +1998-01-27 SL Baur <steve@altair.xemacs.org> + + * lread.c (Fload_internal): Add extra GCPRO around call to + Fassoc. + Enable purespace usage counts always. + + * m/powerpc.h: Isolate changes for mklinux from AIX. + +1998-01-27 Hrvoje Niksic <hniksic@srce.hr> + + * symbols.c (init_symbols_once_early): Decreased default size of + Vpure_uninterned_symbol_table to 50. + +1998-01-27 SL Baur <steve@altair.xemacs.org> + + * redisplay-x.c (x_output_string): Correction for handling underlined + fonts when XGetFontProperty fails. + From Chris Felaco <felaco@iatcmail.ed.ray.com> + +1998-01-27 Kyle Jones <kyle_jones@wonderworks.com> + + * alloc.c (Fpurecopy): Store symbols that aren't + interned in Vobarray into Vpure_uninterned_symbol_table. + + * symbols.c (init_symbols_once_early): Initialize + Vpure_uninterned_symbol_table. + + * emacsfns.h: Declare Vpure_uninterned_symbol_table. + +1998-01-26 SL Baur <steve@altair.xemacs.org> + + * alloc.c (report_pure_usage): New macro PURESIZE_SLOP to allow + for extra pure space. + +1998-01-23 SL Baur <steve@altair.xemacs.org> + + * sound.c (Fplay_sound_file): Use NILP for comparison of + Lisp_Object. + +Wed Jan 21 10:49:47 1998 Andy Piper <andyp@parallax.co.uk> + + * unexcw.cc: new file for cygwin32 unexec() requires cygwin32 + b19. Predicated on HAVE_COFF_H. + + * console.c: + * device-msw.c: + * event-msw.c: + * frame-msw.c: + * msw-proc.c: + * objects-msw.c: + Eliminate warnings. + + * redisplay-msw.c (mswindows_update_gc): eliminate warnings and + extend hack for bogus bg values. + + * symsinit.h: add msw headers to eliminate warnings. + + * s/cygwin32.h: various updates for unexec() support. + + * lastfile.c: add my_ebss for cygwin32 unexec() support. + + * gmalloc.c: made __malloc_initialized non-static so that + it goes into the bss where we expect it. + + * emacs.c: put run_time_remap() in a place where initialized is + not always true. + + * Makefile.in.in: add support for compiling .cc files. + + * config.h.in: added HAVE_COFF_H support. + +1998-01-23 Hrvoje Niksic <hniksic@srce.hr> + + * print.c (print_cons): Use XCAR/XCDR. + (print_string): Fix up so it Vprint_string_length works under Mule + correctly. + + * eval.c (Feval): Increase profile call count. + + * keymap.c: Fixed typo. + +1998-01-22 Hrvoje Niksic <hniksic@srce.hr> + + * symbols.c (Funintern): Reset symbol's obarray property. + +1998-01-22 Karl M. Hegbloom <karlheg@bittersweet.inetarena.com> + + * alloc.c (size_vector): Declare *p as CONST to eliminate warning. + +1998-01-22 Hrvoje Niksic <hniksic@srce.hr> + + * print.c (print_symbol): Recognize Vprint_gensym being a cons; + use Vprint_gensym_alist. + + * symbols.c (init_symbols_once_early): Ditto. + + * alloc.c (Fmake_symbol): Reset it. + + * symbols.c (Fintern): Set it. + + * lisp.h (struct Lisp_Symbol): New element `obarray'. + + * print.c (print_prepare): Reset Vprint_gensym_alist. + (print_finish): Ditto. + + * lread.c: Recognize #n= and #n#. + (readevalloop): Reset read_objects to nil. + (Fread): Ditto. + +1998-01-23 SL Baur <steve@altair.xemacs.org> + + * toolbar.c (update_toolbar_button): Eliminate redundant NILP + checks. + From Martin Buchholz <martin@xemacs.org> + +1998-01-21 Hrvoje Niksic <hniksic@srce.hr> + + * dlopen.c: New file. + +1998-01-19 Steven L Baur <steve@altair.xemacs.org> + + * eval.c (prog1): Don't GCPRO unitialized variable. + (prog2): Ditto. + From Martin Buchholz <martin@xemacs.org> + +1998-01-19 Hrvoje Niksic <hniksic@srce.hr> + + * sound.c (Fplay_sound_file): Use + signal_simple_continuable_error() instead of error(). + +1998-01-18 Hrvoje Niksic <hniksic@srce.hr> + + * README: Updated. + +1998-01-18 SL Baur <steve@altair.xemacs.org> + + * glyphs-x.c (imagick_instantiate): Dynamically allocate pixar + with alloca. + From Damon Lipparelli <lipp@primus.com> + +1998-01-14 Martin Buchholz <martin@xemacs.org> + + * eval.c (For, Fand, Fif, Fcond, Fprogn, Fprog1, Fprog2): + Modernize and streamline. + Replace Fcdr with XCDR, Fcar with XCAR for efficiency. + Remove REGISTER declarations. + +1998-01-13 Martin Buchholz <martin@xemacs.org> + + * emacsfns.h: + * alloc.c: + Add proper prototypes for print_cons, print_vector, print_string. + + * dired.c (directory-files): + * elhash.c (elisp_maphash): + * elhash.h (elisp_maphash): + * lrecord.h: + * mule-ccl.c (setup_ccl_program): + * mule-coding.c (coding_system_charset): + * offix-cursors.h (cursor_bits): + Warning elimination. + + * redisplay.c (add_blank_rune): + * redisplay.c (add_glyph_rune): + * redisplay.c (add_emchar_rune): + Warning elimination. Avoid useless computation in non-mule case. + + * config.h.in: + Define HAVE_INVERSE_HYPERBOLIC using 1 configure test, not 3. + * src/alloc.c: + * src/events.c: + Rearrange order of declarations and definitions to avoid forward + * src/mem-limits.h: Add motivating comment for future cleanup. + + * s/linux.h: Cleanup. Remove old cruft. + + * config.h.in: + Always define _GNU_SOURCE when using GNU libc. + Support --without-FOO as a synonym for --with-FOO=no. + Always use $srcdir to locate config.guess. + Make it clear that CONFIGURATION is optional. + De-emphasize CONFIGURATION parameter. Random cleanup. + More compatible with standard GNU install instructions. + --with-menubars=athena3d ==> --with-menubars=lucid. + +1998-01-14 Hrvoje Niksic <hniksic@srce.hr> + + * fileio.c (Fexpand_file_name): Synched with FSF. + +1998-01-13 Hrvoje Niksic <hniksic@srce.hr> + + * objects-msw.c (mswindows_color_instance_rgb_components): + Multiply components by 257 instead of shifting by 8. + +1998-01-15 Hrvoje Niksic <hniksic@srce.hr> + + * elhash.c (Fhashtable_type): New function. + (Fhashtable_test_function): Ditto. + +1998-01-12 SL Baur <steve@altair.xemacs.org> + + * profile.c (Fclear_profiling_info): Fix typing error. + + * elhash.c (elisp_map_remhash): Fix typing error. + (elisp_maphash): Ditto. + +1998-01-12 Hrvoje Niksic <hniksic@srce.hr> + + * mule-ccl.c (Fccl_execute_on_string): Use Dynar_free to free a + Dynarr. + +1998-01-13 Hrvoje Niksic <hniksic@srce.hr> + + * profile.c (vars_of_profile): New variable + `call-count-profile-table'. + (Fclear_profiling_info): Clear call-count-profile-table. + + * eval.c (funcall_recording_as): Use it. + + * profile.c (profile_increase_call_count): New function. + + * lstream.c (stdio_flusher): Comment addition. + + * objects-msw.c (mswindows_string_to_color): Support #RRRGGGBBB, + as well as #RRGGBB. + (mswindows_X_color_map): Reformatted. + +1998-01-12 Hrvoje Niksic <hniksic@srce.hr> + + * line-number.c (invalidate_line_number_cache): Comment fixup. + + * symbols.c (Fapropos_internal): Docstring fix. + + * fns.c (Fstring_equal): Docstring fix. + +1998-01-12 Hrvoje Niksic <hniksic@srce.hr> + + * profile.c (get_profiling_info_maphash): Return int. + (mark_profiling_info_maphash): Ditto. + + * elhash.c (Finternal_hash_value): New debugging function, + undefined by default. + +1998-01-11 Hrvoje Niksic <hniksic@srce.hr> + + * mule-coding.c (add_coding_system_to_list_mapper): Ditto. + + * mule-charset.c (add_charset_to_list_mapper): Return int. + + * faces.c (add_face_to_list_mapper): Return int. + (mark_face_as_clean_mapper): Ditto. + (update_face_inheritance_mapper): Ditto. + + * keymap.c (keymap_submaps_mapper_0): Return int. + (keymap_submaps_mapper): Ditto. + (copy_keymap_inverse_mapper): Ditto. + (copy_keymap_mapper): Ditto. + (map_keymap_unsorted_mapper): Ditto. + (map_keymap_sorted_mapper): Ditto. + + * elhash.c (hashtable): Added a hash method. + (hashtable_hash): New function. + +1998-01-09 Hrvoje Niksic <hniksic@srce.hr> + + * elhash.c (lisp_maphash_function): Return 0. + (hashtable_equal_mapper): Bail out when an element is not `equal'. + + * hash.c (maphash): Bail out if map function returns non-zero. + +1998-01-11 SL Baur <steve@altair.xemacs.org> + + * eval.c (Fbacktrace): Treat first parameter to byte-code + specially. + +Sat Jan 10 11:36:11 1998 Andy Piper <andyp@parallax.co.uk> + + * config.h.in: undef HAVE_SYS_UN_H so that it gets defined by + configure for gnuserv with UNIX_DOMAIN_SOCKETS. + +1998-01-09 SL Baur <steve@altair.xemacs.org> + + * buffer.c (reset_buffer_local_variables): Synch case-table + resetting stuffs from Emacs 20.2. + Suggested by Aki Vehtari <Aki.Vehtari@hut.fi> + + * src/symbols.c (Fsetq_default): Fix docstring. + From Didier Verna <didier@xemacs.org> + +1998-01-07 Kirill M. Katsnelson <kkm@kis.ru> + + * msw-proc.c (mswindows_wnd_proc): Calls to redisplay() from out + of WM_SIZE handler limited to the case of dragging frame borders. + + * redisplay-msw.c (mswindows_bevel_modeline): Added support for + negative modeline height. + (mswindows_output_cursor): Added bar cursor drawing + (mswindows_flash): Flash frame by inverting client area. + +1998-01-08 Andy Piper <andyp@parallax.co.uk> + + * lread.c: guess load path if its not set just like the dumped + version does. + + * doc.c: guess doc path if its not set just like the dumped + version does + +Thu Jan 08 09:42:36 1998 Andy Piper <andyp@parallax.co.uk> + + * emacs.c: don't load loadup.el when CANNOT_DUMP is set, this + is almost never right on XEmacs. + + * s/cygwin32.h: add comments about how to buid. Move some + variables into configure so that we don't have to set them. + + * config.h.in: define HAVE_WINDOW_SYSTEM if HAVE_MS_WINDOWS is + set. + +1998-01-06 Kirill M. Katsnelson <kkm@kis.ru> + + * lread.c (Fload_internal): On Win32, this reopened the file + without first closing the handle. This caused running out of + handles. + + * nt.c (sys_open): This one made big mess when opening a handle + next after MAXDESC-1. Fixed. + +1998-01-06 Kirill M. Katsnelson <kkm@kis.ru> + + * objects-msw.c (mswindows_string_to_color): Patched not to modify + const char* parameter. + (hexval): Modified to accept uppercase hex digits. + + * ntproc.c (sys_spawnve): char* arguments made CONST, to comply + with standard header declaration. + + * sysdep.c: Fixed ugly prototypes copied from system headers. Who + says the solution is as ugly, is right. + Added a couple of #include directives to avoid undefined functions. + (struct save_signal): Added parameter to function pointer + prototype when compiled under ANSI C. + (save_signal_handlers): Ditto + + * s/windowsnt.h: Added prototypes for functions defined via + sys_<name> which are not found or differ on Win32: pipe, sleep, + spawnve, wait, kill + Macros created from former nt.c functions: random srandom setpgrp + Defined HAVE_STRCASECMP, and strcasecmp defined to _stricmp which + is provided by the compiler. + Removed hack which prevented winsock.h from including. + + * nt.c (random): Removed and made a macro in s/windowsnt.h + (srandom): Ditto + (setpgrp): Ditto + (unrequest_sigio): #if0'ed. It is unreferenced; in XEmacs, calls + to it seem to be controlled by HAVE_SIGIO. + (request_sigio): Ditto + + * nt.h: Removed FD_* macros. Rely on definitions in winsock.h. + Changed EMACSDEBUG references to DEBUG_XEMACS + + * event-msw.c (mswindows_cancel_dispatch_event): Returns Qnil when + event not found in the queue. Used to return undefined value. + +1998-01-07 SL Baur <steve@altair.xemacs.org> + + * emacs.c (main_1): Add `-no-autoloads' to suppress loading + autoloads at startup. + + * Makefile.in.in (xemacs): Fix call to list load-path shadows. + +1998-01-02 Charles G. Waldman <cgw@pgt.com> + + * frame.h: fix erroneous FRAME_RIGHT_BORDER_START macro. + Corrects display glitch when toolbar is on the right. + +1998-01-02 Kirill M. Katsnelson <kkm@kis.ru> + + * emacs.c (make_arg_list_1): On Win32 platforms, GetModuleFileName + is consulted instead of argv[0] to get full path to the xemacs + executable. + +1998-01-01 SL Baur <steve@altair.xemacs.org> + + * m/sparc.h: Cleans up some warnings about unused variables in + getloadavg.c under Sparc/Linux. + From Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp> + + * fileio.c (vars_of_fileio): Enable directory-sep-char always for + compatibility. + + * emacs.c (main_1): Inhibit reloading dumped lisp when using + `-batch' or `-vanilla'. + +1997-12-31 SL Baur <steve@altair.xemacs.org> + + * emacs.c: New variables `inhibit-update-dumped-lisp' and + `inhibit-update-autoloads'. + (vars_of_emacs): Initialize them. + +1997-12-29 Kirill M. Katsnelson <kkm@kis.ru> + + * msw-proc.c (mswindows_enqueue_magic_event): Made extern. User by + menubar-msw.c + + * event-msw.h: Prototype for mswindows_enqueue_magic_event + + * event-msw.c (mswindows_wm_timer_callback): Fixed counter of + outstanding timer events (decremented only when KillTimer + succeeds) + (emacs_mswindows_remove_timeout): Ditto + + * console-msw.h: Added frame structure field for menu checksum + + * menubar-msw.c: Miscellaneous patches and bug fixes. + +1997-12-30 SL Baur <steve@altair.xemacs.org> + + * emacs.c (main): Clarify calls to main_1. + + * data.c (Fcompiled_function_annotation): Hide DEFUN from + make-docfile. + + * emacs.c (main_1): The invocation name requires recomputing when + running after dumping. + +1997-12-29 SL Baur <steve@altair.xemacs.org> + + * free-hook.c (check_free): Added explicit braces to avoid + dangling else clause. + * sound.c (Fplay_sound_file): Ditto. + * process.c (set_process_filter): Ditto. + * linuxplay.c (linux_play_data_or_file): Ditto. + * regex.c (regex_compile): Ditto. + +1997-12-28 SL Baur <steve@altair.xemacs.org> + + * emacs.c (main_1): Fix logic to run in place when XEmacs is a + login shell. + (main_1): New parameter restart. + (main): Use it. + + * bytecode.h: Disable COMPILED_FUNCTION_ANNOTATION_HACK. + + * print.c (debug_short_backtrace): Guard call to + Fcompiled_function_annotation. + + * alloc.c (disksave_object_finalization): Don't zero out + load-history if history of pure symbols is desired. + + * lread.c (build_load_history): If LOADHIST_DUMPED is defined, add + pure symbols to load-history. + + * emacsfns.h: New symbols added -- LOADHIST_DUMPED, define to get + a history of dumped lisp. LOADHIST_BUILTIN, define to get a + history of symbols defined in C source. + +1997-12-23 Andy Piper <andyp@parallax.co.uk> + + * Conditionals to enable XEmacs to compile (not run!) under + CygWin32. Files touched: + events.c + getloadavg.c + mem-limits.h + objects-msw.c + select-msw.c + sysdep.c + * s/cygwin.h: New file. + +1997-12-26 Kirill M. Katsnelson <kkm@kis.ru> + + * menubar-msw.c, menubar-msw.h: New files. Menus support. + + * console-msw.h: Added frame menu hashtable variable. + + * gui.c: popup_up_p variable and Fpopup_up_p and + separator_string_p functions are moved from gui-x.c + + * gui.h: New file declaring the above. It is #included into the + following files: + dialog-x.c + gui-x.c + menubar-x.c + + * emacs.c: Added calls to *_of_menubar_mswindows() + + * event-msw.c: Generalization of modal pump interface so it may be + used bu menubars also. Some functions and vars renamed, to + reflect more general approach (event_pump -> modal_loop) + + * frame-msw.c: Initialization and marking of menu hashtable. + + * msw-proc.c: Added handling for menu window messages. + + * opaque.c: opaque objects given hash and equal methods, so they + can be compared with 'equal. Menubar uses opaque pointers as + hash keys in an 'equal style hashtable. + + * Most of the above touched files: Eliminated compiler warnings. + +1997-12-18 Hrvoje Niksic <hniksic@srce.hr> + + * elhash.c (print_hashtable): Use `%u' for fullness. + (hashtable_equal): New function. + (hashtable_equal_mapper): Ditto. + + * lread.c (vars_of_lread): Initialize Vread_buffer_stream here + instead of in init_lread. + +1997-12-26 P. E. Jareth Hein <jareth@camelot-soft.com> + + * glyphs-x.c (imagick_instantiate): Add in error and + warning handling for ImageMagick files + +1997-12-26 SL Baur <steve@altair.xemacs.org> + + * Makefile.in.in (distclean): Remove `xemacs.*'. + +1997-12-22 SL Baur <steve@altair.xemacs.org> + + * device.c (vars_of_device): Provide `devices' feature so W3's + devices.el emulation won't bloat XEmacs. + + * lread.c (Fload_internal): Strip path and extension when + considering a file as a candidate for running after-load functions. + +1997-12-20 Kirill M. Katsnelson <kkm@kis.ru> + + * s/windowsnt.h: SIZEOF_SHORT set to 16 bits instead of 32, to get + real. + + * redisplay-msw.c: (many functions): FillRect replaced with + ExtTextOut where possible, which is much faster. + (mswindows_redisplay_deadbox_maybe): New function which fixes + deadbox, a square bounded by scrollbar ends and window corner + (usually the lower right corner). + + * emacs.c (assert_failed): On Win32 platforms, when assertion + fails, debugger break occurs if DEBUG_XEMACS is defined. + + * event-msw.c (mswindows_pump_outstanding_events): Fixed so two + consequtive Fsignals are not lost. + + * scrollbar-msw.c (mswindows_update_scrollbar_instance_values): + Added SBF_DISABLENOSCROLL flag so the bar is greyed out when + all lines are visible. + (mswindows_update_scrollbar_instance_status): Ditto for freshly + assigned scrollbar. + + * scrollbar.c (Fscrollbar_set_hscroll): Fixed fitting scroll + limits into range. + +1997-12-18 Kirill M. Katsnelson <kkm@kis.ru> + + * events-msw.c: Added support for modal event dispatch pump. + This mechanism is for scrollbars and menus. + + * events-msw.h: Public declaration for the pump function. + + * msw-proc.c: Pump scrollbar misc user events through the + brand new pump. Pumps! + + * scrollbar-msw.c: Minor range fixes. Added misc events for + horizontal bar, which did not fix it... + +Thu Dec 18 09:53:12 1997 <jsparkes@internetivity.com (Jeff Sparkes)> + + * objects-msw.c (mswindows_print_color_instance): Scale 8 bit RGB + components up to 16 bit X sizes. + (mswindows_string_to_color): numeric colors are #RRGGBB not #BBGGRR. + + * objects-msw.c (mswindows_color_instance_rgb_components): ditto + + * objects.c (Fcolor_instance_rgb_components): Document range of + components as 0-65535. + +1997-12-18 SL Baur <steve@altair.xemacs.org> + + * doc.c (verify_doc_mapper): Fix return value and argument list + for map_obarray. + + * device-x.c: New variable -- Vx_app_defaults_directory. + (x_init_device): Use locale directory searched from package-path. + +1997-12-18 Kyle Jones <kyle_jones@wonderworks.com> + + * EmacsFrame.c: Added foregroundToolBarColor and + foreground resources to the resources[] definition. + Moved default gray8o color value from the + bcakgroundToolBarCOlor resource to th background + resource since the override order is now reversed in + toolbar-x.c. Don't provide a default value for the + foreground resource that the toolbar code looks at. + + * EmacsFrame.h: Define foregroundToolBarColor string + for use in the resoruces code. + + * EmacsFrameP.h: Added foreground_toolbar_pixel slot + to EmacsFramePart struct. + + * toolbar-x.c: Let the toolbar specific background + resource override the global background resource. Added + support for a toolbar specific foreground resource, + which is not currently used for anything internally. + +1997-12-17 Hrvoje Niksic <hniksic@srce.hr> + + * redisplay.c (decode_mode_spec): Comment fixup. + + * tooltalk.c (Freceive_tooltalk_message): Ditto. + + * search.c (Freplace_match): Ditto. + + * frame-x.c (x_frame_property): Ditto. + + * console.c (Fcurrent_input_mode): Ditto. + + * callint.c (Fcall_interactively): Ditto. + + * abbrev.c (Fexpand_abbrev): Ditto. + + * dired.c (file_name_completion): Use Qzero instead of + make_int(0). + + * fileio.c (Finsert_file_contents_internal): Use + report_file_error() to report reading error. + + * cmds.c (internal_self_insert): Don't self-insert if the expanded + symbol's hook has a non-nil `no-self-insert' property; synch with + FSF 20.2. + + * abbrev.c (Fexpand_abbrev): Return Vlast_abbrev, like in FSF + 20.2. + +1997-12-16 Hrvoje Niksic <hniksic@srce.hr> + + * abbrev.c (abbrev_match): User map_obarray() instead of + crockishly copying it. + (abbrev_match_mapper): New function. + (Fexpand_abbrev): Check whether `pre-abbrev-expand-hook' has + killed the buffer. + + * symbols.c (map_obarray): Accept a void * argument. + (mapatoms_1): Adapt. + (apropos_accum): Use fast_lisp_string_match(). + (Fapropos_internal): Don't cons. + (map_obarray): Stop mapping if FN returns non-zero. + + * marker.c (unchain_marker): Guard assert() with ERROR_CHECK_GC. + (bi_marker_position): Guard assert() with ERROR_CHECK_BUFPOS. + (set_bi_marker_position): Ditto. + +1997-12-15 Hrvoje Niksic <hniksic@srce.hr> + + * fileio.c (Finsert_file_contents_internal): Use make_int when + checking for overflow. + (Finsert_file_contents_internal): Use EXTERNAL_LIST_LOOP. + (Ffind_file_name_handler): Ditto. + + * dired.c (file_name_completion): Use noseeum_cons. + (file_name_completion_unwind): Free the cons. + +1997-12-16 <jsparkes@internetivity.com (Jeff Sparkes)> + + * scrollbar.c: Add HAVE_MS_WINDOWS to scrollbar-page functions. + + * msw-proc.c: Handle scrolling events. + + * frame-msw.c: Initialize scrollbar width and height. This should + not be necessary, since the window shouldn't be created until + init_frame_2 + + * emacs.c: Call mswindows scrolbar setup when appropriate. + + * scrollbar-msw.c: Created for mswindows-scrollbar support. + + * scrollbar-msw.h: Ditto. + +1997-12-16 Kirill M. Katsnelson <kkm@kis.ru> + + * msw-proc.c: Minor bug in the middle button emulation code + exterminated. + + * msw-proc.c: Character translation procedure reworked, so C-M-char + keys now work properly. Keyboard layouts that use AltGr for + third register characters are detected and handled. The code + has been tested on French and UK keyboard layouts. + + * msw-proc.c: #if 0'ed remains of threaded code are removed. + + * event-msw.c: Mouse motion was incorrectly counted for a user event. + + * event-msw.c: lisp variables beginnig with w32- are renamed to + begin with mswindows-. + +1997-12-15 Hrvoje Niksic <hniksic@srce.hr> + + * fileio.c (Finsert_file_contents_internal): Use it. + (Fcopy_file): Ditto. + + * sysdep.c (interruptible_open): New function. + +1997-12-16 Kyle Jones <kyle_jones@wonderworks.com> + + * frame-x.c (x_init_frame_2): Don't call + update_frame_title. Some modeline specs depend on + f->device->selected_frame being non-nil and that will + not be true during initialization of the first frame on + a device. + +1997-12-16 SL Baur <steve@altair.xemacs.org> + + * fileio.c: clean up paren levels between ifdefs. + From Hrvoje Niksic <hniksic@srce.hr> + +1997-12-15 P. E. Jareth Hein <jareth@camelot-soft.com> + + * glyphs-x.c (imagick_instantiate): Remove an assumption that + all machines have LSB XImage support. + +1997-12-14 Kyle Jones <kyle_jones@wonderworks.com> + + * Makefile.in.in: Moved $(OFFIX_O) from x_objs to + X11_objs to avoid having its initialized global + variables be dumped read-only. + +1997-12-14 SL Baur <steve@altair.xemacs.org> + + * offix.c (DndSetData): Use standard INT_MAX instead of MAXINT. + Replace <values.h> with <limits.h> + +1997-12-13 Kirill M. Katsnelson <kkm@kis.ru> + + * msw-proc.c: added emulation for middle mouse button by chording + left and right buttons + * event-msw.c: added lisp variables for resize behavior and middle + button emulation thresholds + * msw-proc.c: {un}map-frame-hook now are not called directly from + the window procedure, rather from magic event handler. + * Formulated golden rule for calling lisp from window procedure: + "NOOOOOO!". May be violated under circumstances although. + * frame-msw.c: corrected problem with setting frame width and height + properties, introduced by 95-style look. + +1997-12-12 SL Baur <steve@altair.xemacs.org> + + * input-method-xlib.c (describe_XIC): Add casts, use unsigned long + int. + + * eval.c (funcall_subr): Ifdef out as it is now unused. + + * emacsfns.h: Declare Fdisplay_error. + + * callint.c (Fquote_maybe): Don't use `==' on Lisp_Objects. + +1997-12-12 Michael Sperber <sperber@informatik.uni-tuebingen.de> + + * fileio.c: Removed stillborn set-buffer-modtime. + +1997-12-10 Hrvoje Niksic <hniksic@srce.hr> + + * elhash.c (hashtable_instantiate): If SIZE is nil, set it to + length of DATA. + (print_hashtable): Would bogusly print #(hashtable). + (verify_function): Use XCAR. + +1997-12-12 Hrvoje Niksic <hniksic@srce.hr> + + * elhash.c (print_hashtable_data_mapper): Use a C structure + instead of consing. + +1997-12-12 Hrvoje Niksic <hniksic@srce.hr> + + * callint.c (quotify_arg): Don't quotify vectors, keywords, + bit-vectors and lambdas. + (Fquote_maybe): New subr, from quotify_arg. + (quotify_args): Use it. + (Fcall_interactively): Ditto. + +1997-12-11 Hrvoje Niksic <hniksic@srce.hr> + + * window.c (Fset_window_point): Ditto for Fgoto_char. + (Fset_window_configuration): Ditto. + + * undo.c (Fprimitive_undo): Ditto for Fset_buffer_modified_p, + Fgoto_char and Fdelete_region. + + * print.c (temp_output_buffer_setup): Ditto. + + * glyphs.c (make_string_from_file): Ditto. + + * glyphs-x.c (pixmap_to_lisp_data): Ditto for Ferase_buffer. + (pixmap_to_lisp_data): Ditto for Fbuffer_substring. + + * bytecode.c (Fbyte_code): Use Qnil instead of Fcurrent_buffer() + when calling functions that use decode_buffer() internally -- it + is faster. + + Change done for Fgoto_char, Fchar_after, Ffollowing_char, + Fpreceding_char, Findent_to, Feolp, Feobp, Fbolp, Fbobp, + Fforward_char, Fforward_word, Fskip_chars_forward, + Fskip_chars_backward, Fforward_line, Fbuffer_substring, + Fdelete_region, Fnarrow_to_region, Fwiden, Fend_of_line, Fupcase + and Fdowncase. + +1997-12-11 Jonathan Harris <jhar@tardis.ed.ac.uk>, Kirill M. Katsnelson <kkm@kis.ru> + + * The first collegial patch in the xemacs-nt history. Well... + * device-msw.c, event-msw.c, event-msw.h, frame-msw.c, msw-proc.c: + xemacs is now single-threaded application. Due to this, the + problem with crash during input events in GC got resolved. + * xemacs frames are given "95ish" look with raised border. + * stop character (ctrl+g) now works. SIGINT (ctrl+c or ctrl+break + at the console) is still broken although. + * frame "as lisp object" is now stored in window-associated space + provided by the system. This enables obtaining frame object given + window handle in constant time. + * mswindows_cancel_dispatch_event() now has limited handling + for key_press_event's in addition to timeout_event's. + +1997-12-11 SL Baur <steve@altair.xemacs.org> + + * intl.c (init_intl_very_early): Force LC_NUMERIC to "C". + * input-method-xfs.c (Initialize_Locale): Ditto. + * input-method-motif.c (Initialize_Locale): Ditto. + * input-method-xlib.c (Initialize_Locale): Ditto. + Suggested by Didier Verna <didier@xemacs.org> and + Martin Buchholz <martin@xemacs.org> + +1997-12-10 Karl M. Hegbloom <karlheg@bittersweet.inetarena.com> + + * config.h.in: #undef MAGICK_HEADERS_ARE_UNDER_X11 + + * glyphs-x.c: #ifdef MAGICK_HEADERS_ARE_UNDER_X11 added. + +1997-12-11 SL Baur <steve@altair.xemacs.org> + + * glyphs-x.c (_XOS_H_): Try to avoid including Xos.h on Solaris. + Suggested by Samuel Tardieu <sam@inf.enst.fr> + +1997-12-11 David Hobley <davidh@wr.com.au> + + * pure.c: Removed WINDOWSNT conditional. + +1997-12-10 SL Baur <steve@altair.xemacs.org> + + * Makefile.in.in: Doc changes, update dependencies. + + * frame-x.c (x_init_frame_1): Remove unused variable. + + * fns.c (internal_equal): Guard label with ifdef. + (internal_old_equal): Ditto. + + * symsinit.h: Declare structure_type_create_hashtable. + + * elhash.c (finish_marking_weak_hashtables): Move unused variable + so gcc doesn't complain about it. + + * elhash.h: Declare new weak hashtables. + + * elhash.c (print_hashtable): Fix format. + +1997-12-10 Hrvoje Niksic <hniksic@srce.hr> + + * frame-tty.c (tty_raise_frame_no_select): Use LIST_LOOP. + (tty_lower_frame): Ditto. + + * faces.c (face_validate): Don't check for doubly defined + keywords; the reader does that. + + * emacs.c (main_1): Call structure_type_create_hashtable(). + + * general.c (syms_of_general): Added Qtest and Qsize. + + * elhash.c (structure_type_create_hashtable): New function. + (hashtable_type_validate): Ditto. + (hashtable_test_validate): Ditto. + (hashtable_size_validate): Ditto. + (hashtable_data_validate): Ditto. + (hashtable_instantiate): Ditto. + + * extents.c (extent_putprop): Made it work. + (extent_remprop): Ditto. + +1997-12-08 Kirill M. Katsnelson <kkm@kis.ru> + + * device.h: device::fdin and device::fdout are now defined for + systems which do not HAVE_UNIXOID_EVENT_LOOP. + * device-tty.c, process.c, signal.c: call to signal_fake_event() + bracketed out by #ifdef HAVE_UNIXOID_EVENT_LOOP / #endif + directives. + * signal.c: For Win32 systems, longjmp in signal handler excluded + * nt.c, syssignal.h, systime.h: emulation for SIGALRM and SIGPROF + and setitimer for Win32 platforms. Profiling now works. + * emacs.c: calls to syms_of_profile and vars_of_profile enabled + on Win32 platforms. + * ntproc.c: handling of SIGCHLD now done by the common signal + faking mechanism. (To no avail - subprocesses still broken) + * s/windowsnt.h: Signal constants added + * redisplay-msw.c: "Sticky" beep which blocked XEmacs until the + sound finishes is now repaired + +1997-12-06 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * frame-msw.c, msw-proc.c + Further changes to resizing code so that changing default + font, either in .emacs or later, works properly. + + * msw-proc.c + Minor optimization: Mouse movement events aren't generated + while the user is resizing the frame. + Function keys are returned lower-case. + +1997-12-09 P. E. Jareth Hein <jareth@camelot-soft.com> + + * glyphs-x.c (imagick_instantiate): fix it so that it works + properly for PseudoClass files. Still needs some thinking for + full color... Also added support for old image instantiators + in various places using the OLDCOMPAT define + +1997-12-08 Kyle Jones <kyle_jones@wonderworks.com> + + * event-stream.c (Faccelerate_menu): Check for the + existence of a menubar associated with the selected frame + before trying to use it. Signal an error if there is + no menubar. + +1997-12-06 P E Jareth Hein <jareth@camelot-soft.com> + + * device-x.c: Change -privcmap to -privatecolormap. + * events.c: corret minor think-o. + +1997-12-04 Jonathon Harris <jhar@tardis.ed.ac.uk> + + * event-msw.c, faces.c, msw-proc.c: + Frame resizing happens in multiples of the default character size. + * frame-msw.c: + mswindows_set_frame_size() and + mswindows_set_frame_properties() now call AdjustWindowRect to + set the correct window size. + +1997-12-04 Jeff Sparkes <jsparkes@internetivity.com> + + * frame-msw.c: added frame functions for move, resize, + iconify, raise, lower, visible_p, iconified_p, focus, + make visible, make invisible, set title. + +1997-12-01 Jonathon Harris <jhar@tardis.ed.ac.uk> + + * event-msw.c, event-msw.h, frame-msw.c, msw-proc.c: + - Implemeted simple emacs_mswindows_event_pending_p(). + - Fixed deleting frames. + - Rewrote timeout code, eliminating "!NILP(rest)" bug. + - Special processing for 'Ctrl-@' keystroke. + - Support for some new keysyms. + +1997-12-03 Hrvoje Niksic <hniksic@srce.hr> + + * lstream.c (make_stdio_stream_1): Set it. + (make_filedesc_stream_1): Ditto. + (finalize_lstream): Use it. + + * lstream.h: New flag LSTREAM_FL_CLOSE_AT_DISKSAVE. + +1997-11-29 Jeff Miller <jmiller@smart.net> + + * menubar-x.c: define restore_in_menu_callback() when motif + menubars are used. + + * menubar-x.c: change #ifdef LWLIB_MENUBARS_MOTIF to + #if defined LWLIB_MENUBARS_LUCID || defined LWLIB_MENUBARS_MOTIF + around code for incremental menu build. + + * event-stream.c: Changed HAVE_MENUBARS to HAVE_MENUBARS_LUCID in + the #ifdef wrappers around menubar accelerator stuff. + +1997-12-05 SL Baur <steve@altair.xemacs.org> + + * keymap.h: update describe_map_tree prototype + +1997-12-03 Hrvoje Niksic <hniksic@srce.hr> + + * lstream.c (make_stdio_stream_1): Set it. + (make_filedesc_stream_1): Ditto. + (finalize_lstream): Use it. + + * lstream.h: New flag LSTREAM_FL_CLOSE_AT_DISKSAVE. + +1997-12-03 Hrvoje Niksic <hniksic@srce.hr> + + * editfns.c (save_excursion_restore): Fix comment. + + * fns.c (Fmapvector): GCPRO the vector. + +1997-12-01 Hrvoje Niksic <hniksic@srce.hr> + + * cmdloop.c (default_error_handler): Respect + errors-deactivate-region; use display-error. + + * editfns.c (vars_of_editfns): New variable user-full-name. + (init_editfns): Initialize it. + (Fuser_full_name): Use it. + (vars_of_editfns): Docfixes. + + * dired.c (Fdirectory_files): Use FORMAT_FILENAME instead of + FORMAT_BINARY. + (make_directory_hash_table): Ditto. + (file_name_completion): Bind `completion-ignore-case' to t under + MS Windows. + (file_name_completion): Signal an error if a member of + `completion-ignored-extensions' is not a string. + +1997-11-30 Hrvoje Niksic <hniksic@srce.hr> + + * doc.c (Fsubstitute_command_keys): Don't use + Vprin1_to_string_buffer. + + * keymap.c (describe_map_tree): Accept a BUFFER argument. + (describe_map): Ditto. + (describe_command): Ditto. + +1997-11-29 Hrvoje Niksic <hniksic@srce.hr> + + * insdel.c (signal_before_change): Don't treat + Vprin1_to_string_buffer specially. + (signal_after_change): Ditto. + + * buffer.c (Fkill_buffer): Don't treat Vprin1_to_string_buffer + specially. + (complex_vars_of_buffer): Ditto. + + * print.c (Ferror_message_string): Use Vprin1_to_string_stream. + + * events.c (Fmake_event): Changed error message. + + * print.c (Fprin1_to_string): Use a resizing-buffer stream. + +1997-12-03 Hrvoje Niksic <hniksic@srce.hr> + + * buffer.c (Fkill_buffer): Use EXTERNAL_LIST_LOOP. + (Fget_file_buffer): Use LIST_LOOP. + +1997-12-02 Hrvoje Niksic <hniksic@srce.hr> + + * editfns.c (save_excursion_save): Don't save VISIBLE-P. + (save_excursion_restore): Changed accordingly. + (save_excursion_restore): Free the markers and conses even if the + buffer is dead. + (save_restriction_restore): Use XCAR/XCDR. + (Fencode_time): Use XCAR/XCDR, when safe. + + * menubar.c (Fnormalize_menu_item_name): Use INC_CHARPTR; allow + `%%' to mean `%'. + + * minibuf.c (regexp_ignore_completion_p): Use EXTERNAL_LIST_LOOP; + check type of list elements. + + * dired.c (file_name_completion): Set up a proper unwind form. + (file_name_completion_unwind): New function. + (file_name_completion): Allow errors. + + * line-number.c (invalidate_line_number_cache): Would lose in + precence of Finsert_before_markers. + (narrow_line_number_cache): Only mark LINE_NUMBER_BEGV as dirty. + (buffer_line_number): Recalculate LINE_NUMBER_BEGV on demand. + (buffer_line_number): Would ignore LINE_NUMBER_FAR. + +1997-12-01 Hrvoje Niksic <hniksic@srce.hr> + + * fns.c (Fmapvector): Don't stack-allocate args; allocate the + vector and call mapcar1 with its data. + +1997-12-02 P E Jareth Hein <jareth@camelot-soft.com> + + * objects-x.c: Added colormap/visual support, rewrote + allocate_nearest_color, and changed the x-color-instance to deal + with possibly not freeing a color. + + * objects-x.h: Added dealloc_on_gc flag for x-color-instances. + + * redisplay-x.c: Added colormap/visual support. + + * balloon-x.c: Added colormap/visual support. + + * console-x.h: Added colormap/visual support by adding visual, + depth and colormap slots to a device. + + * device-x.c: Added colormap/visual support with the command line + options "-privcmap" and "-visual" and Xresources + ".privateColormap" and ".EmacsVisual". Also changed the + device-init so that the app-shell is always realized to properly + deal with GCs (previously only realized when OFFIX was + supported), and added the x-display-visual-depth lisp function to + complement x-display-visual-class. + + * event-Xt.c: Added colormap/visual support, and stuck in a + patch/hack to change the way Xt inherits visuals to match the way + it inherits colormaps. + + * frame-x.c: Added colormap/visual support. + + * glyphs-x.c: Added colormap/visual support. Will probably need a + lot more work. + +1997-11-27 Kyle Jones <kyle_jones@wonderworks.com> + + * src/keymap.c (munging_key_map_event_binding): Don't do + the meta char hack when processing key-translation-map. + Return nil if the map to be processed (function-key-map + or key-translation-map) is not a keymap. + +1997-11-27 SL Baur <steve@altair.xemacs.org> + + * device-msw.c: Turn on italic flag if appropriate + * objects-msw.c: Set device-class to color. + From Jeff Sparkes <jsparkes@internetivity.com> + + * glyphs-x.c: Should include <magick/magick.h> since that is what + is autodetected by configure. + +1997-11-26 SL Baur <steve@altair.xemacs.org> + + * events.c (Fmake_event): correct type bug. + From Colin Rafferty <craffert@ml.com> + +1997-11-26 Kyle Jones <kyle_jones@wonderworks.com> + + * lisp-disunion.h (VALMASK): Use 1UL instead of 1L to + shut up Sun's niggling compiler warnings about integer + overflow. + + * print.c (Fprin1_to_string): Don't change and + restore the current buffer; no buffer change is needed + to accomplish the task. + +1997-11-23 Jeff Miller <jmiller@smart.net> + + * Makefile.in.in removed energize support + * buffer.c removed energize support + * config.h.in removed energize support + * console-x.h removed energize support + * doc.c removed energize support + * emacs.c removed energize support + * extents.c removed energize support + * extents.h removed energize support + * frame-x.c removed energize support + * gui-x.c removed energize support + * menubar-x.c removed energize support + * process.c removed energize support + * puresize.h removed energize support + * symsinit.h removed energize support + * sysproc.h removed energize support + * syssignal.h removed energize support + * undo.c removed energize support + * window.c removed energize support + + * energize.c removed + * energize.h removed + +1997-11-23 Kyle Jones <kyle_jones@wonderworks.com> + + * faces.c (face_property_was_changed): Don't call + update_faces_inheritance, it isn't needed. + +1997-11-22 Kyle Jones <kyle_jones@wonderworks.com> + + * redisplay-x.c (x_flash): Flash the root window + area instead of the entire frame area. + + * frame.h: Added echo_area_garbaged field to frame + struct. + + * frame.c (change_frame_size_1): Set the + echo_area_garbaged flag in a frame that has been + resized. + + * redisplay.c (redisplay_frame): Clear echo_area_garbaged + flag on frame after displaying the frame. + + (Fredisplay_echo_area): Clear echo_area_garbaged + flag on frame after displaying in echo area. + + * redisplay.c: Added hscroll_glyph_width_adjust field + to position_redisplay_data_type struct. + + (add_hscroll_rune): Compute the difference in width + between the hscroll glyph and a canonical space; store + it in data->hscroll_glyph_width_adjust. + + (create_text_block): In tab field computation, adjust + left margin to account for the difference between the + width of the hscroll glyph and the width of a canonical + space. + +1997-11-19 Kyle Jones <kyle_jones@wonderworks.com> + + * Emacs.ad: Change uses of Gray75 to Gray80. + Don't set modeline colors here. + + * EmacsFrame.c: Fetch "background" resource for use by + the toolbar initialization code; default this fetched + value to -1 if it is unspecified, which is different + from what is found in ef->core.background_pixel in that + case. + + * EmacsFrame.h: Define macros for "Background" and + "background" resource strings. + + * EmacsFrameP.h: Added background_pixel field to + EmascFrmaePart struct. + + * toolbar-x.c (x_initialize_frame_toolbar_gcs): Added + code to use the global background resource as the + toolbar background color if it is sepcified. Otherwise + fall back to the backgroundToolBarColor resource. + +1997-11-17 Marc Paquette <marcpa@cam.org> + + * callproc.c (Fcall_process_internal): Fix for bug in + CRLF -> LF conversion. + +1997-11-19 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * redisplay-msw.c: Calls GdiFlush() in _ouput_end, _clear_frame and + _redraw_exposed_area + + * frame-msw.c: mswindows_init_frame_2 + Sets frame's pixel width and height + +1997-11-19 Kyle Jones <kyle_jones@wonderworks.com> + + * callproc.c (call_process_cleanup): Actaully wait + for the process, rather than not doing it and saying we + did. + +1997-11-20 Hrvoje Niksic <hniksic@srce.hr> + + * callproc.c (Fcall_process_internal): Close fd_error. + +1997-11-19 Didier Verna <didier@xemacs.org> + + * emacs.c (main_1): Added the missing argmatch call to check + for the '-h' option. + +1997-11-18 SL Baur <steve@altair.xemacs.org> + + * mule-coding.h: Replace freshly broken ENCODE_SJIS and + DECODE_SJIS macros with working versions from beta4. + +1997-11-17 Kyle Jones <kyle_jones@wonderworks.com> + + * frame-x.c (x_init_frame_1): Set frame visibility + flag to 1 immediately so that echo area message are + displayed in it promptly. + + * redisplay.c (Fredisplay_echo_area): If frame has + changed, clear it to avoid garbled messages. + + * window.c (set_window_pixsize): Restore the bail out + if no size change, but do it after the loop that recomputers + major child corner coordinates. + + * keymap.c (describe_map_mapper): Recognize the + buttonXup keysyms as mouse bindings. + +1997-11-17 Tor Arntsen <tor@spacetec.no> + + * Makefile.in.in (update-elc.stamp): Add temacs to dependency. + +1997-11-16 Kyle Jones <kyle_jones@wonderworks.com> + + * Added suport for toolbar borders. + + * EmacsFrame.c: Added X resources for new toolbar + borders. + + (EmacsFrameSetValues): Added Fadd_spec_to_specifier + calls to move resourced toolbar border width data + into the speciifers. + + * EmacsFrame.h: Defined X resource strings for + toolbar border width resources. + + * EmacsFrameP.h: Added toolbar border width fields + to the EmacsFramePart struct. + + * console.h: Added toolbar_border_width_changed_in_frame_method + field to struct console. + + * events.c (event_x_y_pixel_internal): Factor the + toolbar border into pixel offset. + + * frame.c: Document new toolbar border width + speciifer as being usable as frame properties. + + (frame_conversion_internal): Factor the toolbar border + widths into the geometry calculations. + + (change_frame_size_1): Ditto. + + * frame.h: Added field to struct frame for toolbar + border widths. Modified geomtry macros and created + others in support of the new toolbar border widths. + + * frameslot.h: Added a default_toolbar_border_width + slot. + + * redisplay-x.c (x_clear_frame): Factor the toolbar + border widths into the geometry calculations. + + * toolbar-x.c (x_draw_blank_toolbar_button): Add + support for drawing a border along with the blank + button. Accept border_width and vertical args. + + (x_output_toolbar_button): Added support for drawing a + border along with the button. + + (X_OUTPUT_BUTTONS_LOOP): Pass border_width and vert + args to x_draw_blank_toolbar_button. Set vertical and + border_width fields in toolbar button. + + (x_output_toolbar): Support toolbar border widths. + + (x_toolbar_size_changed_in_frame_1): Mark all toolbar + buttons in the change toolbar as dirty so that they + are refreshed if had been painted over. + + New function: x_toolbar_border_width_changed_in_frame. + Used it as a console method. + + * toolbar.c: New function: mark_frame_toolbar_buttons_dirty. + + New function: toolbar_border_width_changed_in_frame. + Used it as a specifier frame slot change method. + + (get_toolbar_coords): Factor the toolbar border + widths into the geometry calculations. + + (Fset_default_toolbar_position): Update the fallback + border width specifiers for the affected toolbar + positions. + + (specifier_vars_of_toolbar): Added specifiers for the + toolbar border widths. + + * toolbar.h: Added vertical and border_width field + to the toolbar button struct. + + * window.h: Added default_toolbar_border_width slot + to window struct, along with four slots for the four + window local toolbar border width values. + +1997-11-16 Kyle Jones <kyle_jones@wonderworks.com> + + * frame-x.c: Fixed typo in the documentation of the + top-toolbar-shadow-color frame property. + +1997-11-16 Skip Montanaro <skip@calendar.com> + + * redisplay.c: suppress buffer computation in several places if + MULE is not defined. + +1997-11-16 Hrvoje Niksic <hniksic@srce.hr> + + * events.c (print_event): Use `event-x-pixel' and `event-y-pixel', + to be consistent with `make-event' and `event-properties'. + (Fmake_event): Allow nil dnd-data. + +1997-11-15 Jonathan Harris <jhar@tardis.ed.ac.uk> + + * console.h + mswindows is now a window-system according to + CONSOLE_TYPESYM_WIN_P + + * device.msw.c + Now calls init_baud_rate & init_one_device + + * msw-proc.c + Fixed C-key so key is returned unshifted + + * redisplay-msw.c + Modeline and vertical divider appearance tweaks + + +1997-11-14 SL Baur <steve@altair.xemacs.org> + + * console.c (Fsuspend_emacs): Fix docstring. Evaluating + `suspend-hook' cannot stop suspension. + +1997-11-14 Marc Paquette <marcpa@cam.org> + + * callproc.c (Fcall_process_internal): Do CRLF -> LF + conversion when reading process output. + +1997-11-14 Hrvoje Niksic <hniksic@srce.hr> + + * redisplay.c (init_redisplay): Handle not having DISPLAY and not + having TTY support. + +1997-11-14 Hrvoje Niksic <hniksic@srce.hr> + + * events.c (Fmake_event): Support DND events. + +1997-11-10 Hrvoje Niksic <hniksic@srce.hr> + + * events.c (Fmake_event): Reenable the event creation code. + (Fmake_event): Canonicalize the plist. + +1997-11-13 SL Baur <steve@altair.xemacs.org> + + * mule-charset.c (Fcharset_id): Typecast result to Lisp_Object. + + * mule-ccl.c (CCL_WRITE_STRING): Reorder parens to avoid compiler + barf on Lisp_Object. + (Fregister_ccl_program): Remove unused variable idx. + + * mule-canna.c: Fix declaration of mule_strlen(). + + * mule-coding.h (ENCODE_SJIS): Parenthesize first two params to + avoid compilation problems. + +1997-11-13 Olivier Galibert <olivier.galibert@mines.u-nancy.fr> + + * mule-charset.h: Added preliminary support for charset Ids. + + * mule-charset.c: Added preliminary support for charset Ids. + + * redisplay-msw.c (separate_textual_runs): Synched with FSF 20.2 + ccl API. + + * redisplay-x.c (separate_textual_runs): Synched with FSF 20.2 ccl + API. + + * mule-coding.c: Synched with FSF 20.2 ccl API. + + * mule-coding.h: Moved ccl part to mule-ccl.h. + + * mule-ccl.c: Synched with FSF 20.2. + + * mule-ccl.h: New file. + +Thu Nov 13 21:34:13 1997 Marc Paquette <marcpa@cam.org> + + * nt.c (REG_ROOT): Use a registry key different that the one for + NTEmacs. + +1997-11-12 SL Baur <steve@altair.xemacs.org> + + * lrecord.h: Fix typo in set_lheader_implementation. + From: Robert Pluim <Robert_Pluim@BayNetworks.COM> + +1997-11-13 Olivier Galibert <galibert@renaissance.loria.fr> + + * configure.in: Remove HAVE_TIMEZONE_DECL test. + +1997-11-13 Olivier Galibert <galibert@renaissance.loria.fr> + + * s/freebsd.h: Remove HAVE_TIMEZONE_DECL forced value. + + * config.h.in: Remove HAVE_TIMEZONE_DECL reference. + + * systime.h: Remove timezone conditional declaration. + +1997-11-12 Kyle Jones <kyle_jones@wonderworks.com> + + * console.c: Use symbol_value_forward_lheader_initializer + in various DEFVAR* macros. Forgot this in previous + related patch. + + * lisp-disunion.h: Provide a no-op XUNMARK macro for + the GC error checking code even if GCMARKBITS is not + greater than 0. + + * lisp-union.h: Ditto. + +1997-11-10 Hrvoje Niksic <hniksic@srce.hr> + + * event-stream.c: Make echo_keystrokes a Lisp_Object. + (maybe_echo_keys): Adapt to that. + +1997-11-11 SL Baur <steve@altair.xemacs.org> + + * eval.c (throw_or_bomb_out): Remove abort. + Suggested by: Kyle Jones <kyle_jones@wonderworks.com> + +1997-11-11 Kyle Jones <kyle_jones@wonderworks.com> + + * Added support for referencing lrecord_implementations + via an index in an lrecord_header rather than a raw + pointer. Also added a mark bit and a pure bit. + + * alloc.c: Made lrecord_type_index() and + lrecord_implementations_table[] global, previously they + were static. Used new XRECORD_LHEADER_IMPLEMENTATION + and LHEADER_IMPLEMENTATION macros to access + lrecord_implementations found in Lisp_Objects and + lrecord_headers instead of referencing ->implementation. + + (gc_record_type_p): For USE_INDEXED_LRECORD_IMPLEMENTATION, + there's no need to check for equality to type or type + 1. + lrecords are no longer marked by incrementing the + implementation pointer. + + (init_alloc_once_early): Initialized subr and + symbol_value_forward lrecord indexes early so that the + staticly defined subrs and symbol_value_forward object + indexes match the lrecord_implementations_table. + + * buffer.c: Used symbol_value_forward_lheader_initializer in + various DEFVAR* macros. Used new XRECORD_LHEADER_IMPLEMENTATION + macro. + + * elhash.c: Used new XRECORD_LHEADER_IMPLEMENTATION + macro. + + * fns.c: Used new XRECORD_LHEADER_IMPLEMENTATION macro. + + * lisp.h: Defined subr_lheader_initializer macro, used it in + DEFUN macro. + + * lrecord.h: For USE_INDEXED_LRECORD_IMPLEMENTATION, + changed lrecord_header to contain an index into + lrecord_implementations_table[], plus a mark bit and a pure + bit. Added support code for this. Defined new + XRECORD_LHEADER_IMPLEMENTATION and LHEADER_IMPLEMENTATION + macros to be used to find the lrecord_implementation + of a Lisp_Object. + + * print.c: Used new XRECORD_LHEADER_IMPLEMENTATION and + LHEADER_IMPLEMENTATION macros. + + * symbols.c: Used symbol_value_forward_lheader_initializer in + definition of guts_of_unbound_marker. + + * symeval.h: Defined symbol_value_forward_lheader_initializer + macro. Used symbol_value_forward_lheader_initializer in various + macros. Used new XRECORD_LHEADER_IMPLEMENTATION macro. + + +1997-11-10 SL Baur <steve@altair.xemacs.org> + + * window.c (set_window_pixsize): Remove unused variable. + + * extents.c (print_extent_1): Fix type check error in sprintf. + + * doc.c (Fsnarf_documentation): Remove unused label weird_function. + + * symsinit.h: Restore declaration of vars_of_dialog_x. + + * database.c (Fopen_database): Fix unused variable message. + + * sysdep.c (sys_subshell): vfork() is a demented, obsolete hack. + + * offix.c (struct): Make ImageData, MaskData be unsigned char *. + + * event-Xt.c (x_event_to_emacs_event): Clean up typecasting. + * frame-x.c (Foffix_start_drag_internal): Ditto. + +1997-11-09 Kyle Jones <kyle_jones@wonderworks.com> + + * extents.c (print_extent_1): Use %lx instead of %p + to get the same output on all compilers. + +1997-11-09 Hrvoje Niksic <hniksic@srce.hr> + + * line-number.c: Use markers. + + * redisplay.c (window_line_number): Restored. + + * line-number.c (allocate_line_number_cache): Account for + narrowing. + (buffer_line_number): New function. + + * line-number.c (get_nearest_line_number): New function. + (window_line_number): Use it. + (narrow_line_number_cache): New function. + (invalidate_line_number_cache): Ditto. + (insert_invalidate_line_number_cache): Ditto. + (delete_invalidate_line_number_cache): Ditto. + (add_line_number): Ditto. + + * editfns.c (widen_buffer): Update line number cache. + (Fnarrow_to_region): Ditto. + (save_restriction_restore): Ditto. + + * insdel.c (buffer_insert_string_1): Invalidate cache for + insertion. + (buffer_delete_range): Invalidate cache for deletion. + + * line-number.c: New file. + (window_line_number): Moved from redisplay.c. + + * print.c (debug_print): Print a carriage return, too. + + * bufslots.h: New slot `line_number_cache'. + +1997-11-09 Kyle Jones <kyle_jones@wonderworks.com> + + * event-stream.c: New Lisp variable: last-command-event-time. + +1997-11-08 SL Baur <steve@altair.xemacs.org> + + * lread.c (init_lread): start from lisp, not lisp/prim. + + * Makefile.in.in: lisp/prim does exist any more. + +1997-11-07 Kyle Jones <kyle_jones@wonderworks.com> + + * abbrev.c (abbrev_lookup): Don't delete dash at the + abbrev start location; abbrev-prefix-mark no longer + inserts one. + +Wed November 05 23:40:00 1997 <jhar@tardis.ed.ac.uk> + + * fileio.c: insert-file-contents-internal + Added a bodge to do CRLF->LF conversion of text files, + conditioned on DOS_NT. This is currently only one-way, so all + text files written by XEmacs will be UNIXified. CRLF conversion + is required to make bytecompile work. + + * Added file headers to: + console-w32.c, console-w32.h, + device-w32.c, event-w32.c, event-w32.h, frame-w32.c, + objects-w32.c, objects-w32.h, redisplay-w32.c, w32-proc.c + +Sun November 01 12:00:00 1997 <jhar@tardis.ed.ac.uk> + + * redisplay-x.c: x_output_vertical_divider: + If HAVE_SCROLLBARS was not defined, coordinate of the right of + the divider was being used unitialised. + + * console.h: Added Qw32 and CONSOLE_W32* macros, conditioned on + HAVE_W32GUI. + + * emacs.c: Added calls to the following, conditioned on HAVE_W32GUI: + syms_of_*_w32, vars_of_*_w32, console_type_create_*w32. + + * event-stream.c: Conditioned on HAVE_W32GUI: + - vars_of_event_stream calls vars_of_event_w32. + - init_event_stream calls init_event_w32_late. + + * events-mod.h: Removed comment about having alternative making + MOD_* constants for different windowing systems. + + * events.c: Conditioned on HAVE_W32GUI: + - event-equal: Added case for w32 magic events. + - event-hash: Added case for w32 magic events. + + * events.h: Conditioned on HAVE_W32GUI: + Added struct underlying_w32_event to magic_data. + + * faces.c: complex_vars_of_faces + Added fallbacks for w32 faces, conditioned on HAVE_W32GUI. + + * frame.c: set-frame-properties + Added reference to default-w32-frame-plist to docstring. + + * general.c: Added new Lisp_Object Qw32 and defsymbol. + + * redisplay-output.c: redisplay_update_line + Conditioned reference to stupid_vertical_scrollbar_drag_hack on + HAVE_X_WINDOWS. This will need a proper fix when w32 gets + scrollbars. + + * redisplay-tty.c: init_tty_for_redisplay + Conditioned blocking and unblocking of SIGTTOU on !WIN32 because + these signals don't exist under win32. + + * redisplay.c: init_redisplay + Initialise window system to w32, conditioned on HAVE_W32GUI. + + * symsinit.h: Added syms_of_*_w32, vars_of_*_w32 and + init_event_w32_late. + + * sysdep.c: Conditioned various things on WIN32 in addition to + MSDOS. + + * New files: + console-w32.c, console-w32.h, + device-w32.c, event-w32.c, event-w32.h, frame-w32.c, + objects-w32.c, objects-w32.h, redisplay-w32.c, w32-proc.c + +1997-11-07 Hrvoje Niksic <hniksic@srce.hr> + + * doc.c (Fdocumentation_property): GCPRO doc. + (Fsubstitute_command_keys): Disallow zero bsize. + +1997-11-06 Hrvoje Niksic <hniksic@srce.hr> + + * events.c (Fevent_modeline_position): Return nil if event is not + over modeline, as the docstring says. + +1997-11-05 Martin Buchholz <Martin Buchholz <martin@xemacs.org>> + + * s/aix3-1.h: Remove ^L character wich confuses AIX make. + +1997-11-06 Tomasz Cholewo <tjchol01@mecca.spd.louisville.edu> + + * event-stream.c (Fnext_command_event): Document keystroke echoing. + +1997-11-06 Hrvoje Niksic <hniksic@srce.hr> + + * fns.c (Ffeaturep): Use call1, to prevent stack thrashing with + circular lists. + - Update docstring. + +1997-11-06 Kyle Jones <kyle_jones@wonderworks.com> + + * frame-x.c (x_delete_frame): Removed code that + blocked the deletion of popup frames. No need for it. + +1997-11-05 SL Baur <steve@altair.xemacs.org> + + * balloon_help.h: Replace <X11/Intrinsic.h> with "xintrinsic.h" + * balloon_help.c: Ditto. + * offix.h: Ditto. + + * mule-coding.c (coding_system_charset): Add prototype. + +1997-11-04 Kazuyuki IENAGA <ienaga@jsys.co.jp> + + * s/freebsd.h: Add HAVE_TIMEZONE_DECL. Configure will fail at + checking for the existence of `extern long timezone'. + FreeBSD actualy has the `timezone', but due to its <time.h> and + <sys/time.h>, it cannot be recognized by configure. + +1997-11-03 Hrvoje Niksic <hniksic@srce.hr> + + * data.c (Fsubr_interactive): New function. + +1997-11-03 Kyle Jones <kyle_jones@wonderworks.com> + + * frame.c (change_frame_size_1): Added explanatory + comment. + + * window.c (set_window_pixsize): Don't bail out + before looping over the major children if there is no + size change indicated. The top and left coordinates + may need to be recomputed, e.g. in toolbar visibility + updates. + +1997-11-02 Kyle Jones <kyle_jones@wonderworks.com> + + * fileio.c (Ffile_truename): Make the errno == EACCES case + behave the same as errno == ENOENT. + +1997-11-03 Kyle Jones <kyle_jones@wonderworks.com> + + * frame.c (Fframe_property, Fframe_properties): Check + for minibuffer-onlyness of frame before checking whether + it has a minibuffer. This makes the minibuffer property + value be reported as 'only when that is appropriate. The + check order was reversed which resulted in minibuffer-only + frames having the minibuffer property reported as t. + +1997-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * m/vax.h: + * s/cxux.h: + * s/xenix.h: + * s/umax.h: + * s/msdos.h: + * s/template.h: + * termcap.c: + * signal.c: + * lread.c: + * callproc.c + * buffer.c: Remove VMS dependent code. + +1997-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * syspwd.h: + * systty.h: + * systime.h: + * syssignal.h: + * sysproc.h: + * sysfloat.h: + * sysfile.h: + * regex.h: + * process.h: + * ndir.h: + * mule-mcpath.h: + * getpagesize.h: + * sysdep.h: + * fileio.c: + * process.c: Remove old VMS code. + +1997-11-02 SL Baur <steve@altair.xemacs.org> + + * glyphs-x.c: Use <magick/magick.h> instead of <magick.h> + +1997-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * sysdep.c: + * getloadavg.c: + * malloc.c: Remove old VMS code. + +1997-11-02 Hrvoje Niksic <hniksic@srce.hr> + + * database.c (print_database): Don't use a static buffer to store + file name. + + * dired.c (make_directory_hash_table): Ditto. + + * fileio.c (Ffile_truename): Use `make_ext_string' instead of + `make_string'. + +1997-11-01 Hrvoje Niksic <hniksic@srce.hr> + + * database.c (CONCHECK_DATABASE): Define. + + * dired.c (Fdirectory_files): Use `make_ext_string' instead of + `make_string', to avoid crashes under Mule. + (file_name_completion): Use `make_ext_string'. + + * database.c (new_database): Renamed to `allocate_database', as + per coding conventions. + +1997-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * dired.c: Remove VMS dependent code. + +1997-11-01 Kyle Jones <kyle_jones@wonderworks.com> + + * buffer.h: Change XCHAR_OR_CHAR_INT to use XCHAR or + XINT as appropriate instead of using XREALINT. + + * regex.c (re_search_2): cast translate[*d] to + unsigned char when indexing fastmap to avoid sign + change when value has the 0x80 bit set. + +1997-10-31 SL Baur <steve@altair.xemacs.org> + + * linuxplay.c (audio_init): Update for newer Linux kernels. + From Robert Bihlmeyer <robbe@orcus.priv.at> + +1997-11-01 Hrvoje Niksic <hniksic@srce.hr> + + * fileio.c (Finsert_file_contents_internal): Fix misleading + comment. + +1997-10-31 Kyle Jones <kyle_jones@wonderworks.com> + + * callproc.c: GC protect current_dir while infile and + error_file are being initialized. + +1997-10-30 SL Baur <steve@altair.xemacs.org> + + * config.h.in: Remove HAVE_GIF, HAVE_JPEG, HAVE_PNG, HAVE_TIFF and + replace with HAVE_IMAGEMAGICK. + +1997-10-30 Kyle Jones <kyle_jones@wonderworks.com> + + * process.c (Fprocess_send_string): Protect against + SIGPIPE when flushing outstream. + +1997-10-30 SL Baur <steve@altair.xemacs.org> + + * input-method-xfs.c: Xlocale.h must be included after config.h. + * input-method-motif.c: ditto. + * input-method-xlib.c: ditto. + +1997-10-28 Kyle Jones <kyle_jones@wonderworks.com> + + * Under LRECORD_VECTOR, moved vectors from being an basic + lrecord tpye to an lcrecord. + Added support for 31 bits Lisp integers. + Added support for maskless pointers to Lisp objects. + + * alloc.c + + (allocate_lisp_storage): Use XSETOBJ instead of + XSETCONS to avoid tripping the ERROR_CHECK_TYPECHECK + code with uninitialized data. XSETCONS used to work + until it became an lrecord type. + + Removed sweep_vectors_1, all_vectors and other vector + specific GC related objects in the LRECORD_VECTOR + case, as they are unneeded now that lrecord-based + vectors are lcrecords. + + Added `equal' methods for lrecord-based conses, vectors + and strings. I was mistaken before; they are needed. + + (pure_cons): moved XSETCONS call to after the + set_lheader_implementation call, to avoid tripping the + type checking code on an uninitialized implementation + pointer. + + (make_pure_vector): moved XSETVECTOR call to after the + set_lheader_implementation call, to avoid tripping the + type checking code on an uninitialized implementation + pointer. + + (Fpurecopy): return if given a null pointer. THis can + happen when initializing Qnil. + + (mark_object): return if passed a null pointer. I + think this can happen when marking through some kind of + objects that contain Lisp_Objects and null pointers. + + (marked_p): Ditto + + * buffer.c + + (mark_buffer): Don't mark conses in the indirect children + list is said list is in fact a null pointer. The + indirect children list gets reset to a null pointer + when a bfufer is killed. + + (complex_vars_of_buffer): initialize indirect_children + slow of Vbuffer_local_symbols and Vbuffer_defaults to + nil. + + * chartab.c + + (Fcheck_category_at): Don't use XREALINT to extract a + char from a Lisp_Object, use XCHAR instead. + + (Fchar_in_category): Ditto. + + * data.c + + (eq_with_ebola_notice): Use XCHAR_OR_INT instead of + XREALINT to extract data from a Lisp_Object that could + contain a charater or an integer. + + (make_int): use XSETINT in the USE_MINIMAL_TAGBITS + case. + + (make_char): use XSETINT in the USE_MINIMAL_TAGBITS + case. + + (Flsh): XUINT is gone; use XINT instead. + + * elhash.c + + (elisp_hvector_malloc): Use Qnull_pointer instead of + Qzero, as Qzero is no longer guaranteed to contain an + all-zero bit pattern. + + (make_lisp_hashtable): Ditto. + + (Fcopy_hashtable): Ditto. + + * emacsfns.h + + Conditionalize the declaration of make_char() on + whether a make_char macro exists or not. + + * fns.c + + (internal_equal): Conditionalize existence of cons, + string and vector comparison code on whether they are + lrecord-based. + + (internal_old_equal): Ditto. + + * lisp-disunion.h + + USE_MINIMAL_TAGBITS support. + + 31 bit Lisp integer support. + + Conditionalized existence of markbit related macros on + the existence of a markbit in a Lisp_Object. There are + no markbits in the USE_MINIMAL_TAGBITS implementation + of a Lisp_Object. + + Replaced XUINT with XPNTRVAL. + + Added declaration for Qnull_pointer. + + * lisp-union.h + + USE_MINIMAL_TAGBITS support. + + 31 bit Lisp integer support. + + Conditionalized existence of markbit related macros on + the existence of a markbit in a Lisp_Object. There are + no markbits in the USE_MINIMAL_TAGBITS implementation + of a Lisp_Object. + + Replaced XUINT with XPNTRVAL. + + Added a make_char macro, similar to the make_int + macro, for use with the GCC-specific XMAKE_LISP hack. + + * lisp.h + + USE_MINIMAL_TAGBITS support. + + 31 bit Lisp integer support. + + Added GCMARKBITS macro to specify how many markbits a + Lisp_Object contains. + + Support for lcrecord-based vectors. + + Added XCHAR_OR_INT for accessing data in an object + that might contain either a character or an integer. + + Made HACKEQ_UNSAFE use XCHAR_OR_INT instead of + XREALINT during its Ebola check. + + * print.c + + Made the printing code undestand the split Lisp integer type. + + * symbols.c + + Added declaration for Qnull_pointer. + +1997-10-27 Martin Buchholz <mrb@eng.sun.com> + + * m/ibmrs6000.h: + * s/aix3-2.h: C_SWITCH_SYSTEM ==> configure.in + * s/aix4-1.h: -li18n ==> configure.in + * s/aix4.h: Always include strings.h + * config.h.in: Add AIXV3 define, suggested by xmkmf. Remove + AIX_SMT_EXP. + * unexaix.c: Fix nested comments compiler warning + +1997-10-27 Kyle Jones <kyle_jones@wonderworks.com> + + * profile.c (sigprof_handler): Don't call XUNMARK on + fun, it isn't needed. + + * faces.c (face_property_matching_instance): Check + for charset == Qunbound, which it can be if the + character set is unspecified. + +1997-10-27 SL Baur <steve@altair.xemacs.org> + + * mule-wnnfns.c (vars_of_mule_wnn): Provide 'wnn feature. + + * mule-canna.c (vars_of_mule_canna): Provide 'CANNA feature. + +1997-10-27 Kazuyuki IENAGA <ienaga@jsys.co.jp> + + * device-x.c (x_init_device): To avoid crazy menubars due to + lack of suitable font loading. Disabled locale based app-defaults + loading when menubars=motif or menubars=lucid + xfs feature is not + used. Currently, the menubar resource has no effect for tty use. + +1997-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * README: Remove references to VMS. + + * vlimit.h: + * s/vms5-5.h: + * s/vms4-4.h: + * s/vms4-2.h: + * s/vms4-0.h: + * s/vms.h: Remove files since VMS isn't supported any more. + +1997-10-25 Kyle Jones <kyle_jones@wonderworks.com> + + * toolbar.h: Reduce MINIMUM_SHADOW_THICKNESS to 1. + +1997-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * database.c: Added support for Berkeley DB 2.x. + +1997-10-23 SL Baur <steve@altair.xemacs.org> + + * alloc.c: Disable purespace statistics unless --debug is in + effect. + + * console-stream.c (init_console_stream): At the price of a tiny + memory leak, reinitialize FILE fields of the console. + From Tonny Madsen <tma@nettest.dk> + + * emacs.c: New variable `inhibit_package_init'. + (vars_of_emacs): Use it. + (main_1): Initialize from command line. + + * Makefile.in.in (xemacs): Specify -vanilla when searching for + shadows. + + * emacs.c: Remove VMS ifdefs. + (standard_args): Added -no-packages, --no-packages. + Added -vanilla, --vanilla. + (Frun_emacs_from_temacs): Guard pure usage report with DEBUG_XEMACS + (Fdump_emacs): Ditto. + +1997-10-22 Hrvoje Niksic <hniksic@srce.hr> + + * fns.c (Ffeaturep): Use `Fcar' with `or'. + +1997-10-22 Kyle Jones <kyle_jones@wonderworks.com> + + * alloc.c: drop the Lisp_Type_Record case clause + that I added to the switch statement in a previous + patch. The string, vector and cons cases belong in + the `default' clause with the other lrecord types. + +1997-10-22 Kyle Jones <kyle_jones@wonderworks.com> + + * Added support for strings as lrecords. + + * lisp.h: #ifdef'd out Lisp_Type_String enum value + if LRECORD_STRING is defined. + + * alloc.c: Added allocation and garbage collection + code for lrecord-based strings. + + * print.c: move Lisp_String printing code to a + separate function so that it could be used as a + `print' method for lrecord-based strings. + +1997-10-20 Jan Vroonhof <vroonhof@math.ethz.ch> + + * extents.c: Renamed shot property to initial-redisplay-function + (extent_fragment_update): Changed the bookkeeping whether an event + has been spawned. The initial-redisplay-function property is no + longer set to nil. + + * extents.h: ditto + +1997-10-20 Kyle Jones <kyle_jones@wonderworks.com> + + * Added support for conses and vectors to be lrecords. + + * alloc.c: Modified allocation and GC code for + LRECORD_CONS and LRECORD_VECTOR support. Moved some + macros to lrecord.h. + + * bytecode.c: Warning comment about LRECORD_CONS. + + * elhash.c: Let internal_hash handle vector hashing + if LRECORD_VECTOR is defined, just as it does when + LRECORD_VECTOR is not defined. The code could have + been copied into an `hash' method function but I don't + see any point to it. Added lrecord style marking code + to finish_marking_weak_hashtables. Bracketed code + that groks the non-lrecord method of marking vectors + with #ifdefs. + + * fns.c: Let internal_equal and internal_old_equal + handle vector comparisons when LRECORD_VECTOR is + defined, just as it does when LRECORD_VECTOR is not + defined. The code could have been copied into an + `equal' method function but I don't see any point to + it. + + * lisp.h: Added typecheck macros for LRECORD_CONS + support. LRECORD_VECTOR macros were already present. + + * print.c: New functions print_cons and print_vector + for LRECORD_CONS and LRECORD_VECTOR support. + Some GC protection also added. + + * lrecord.h: Received some macros from alloc.c, so + that they could be used in lisp.h. + +1997-10-20 Hrvoje Niksic <hniksic@srce.hr> + + * fns.c (Ffeaturep): Handle `not' correctly. + + * lread.c (vars_of_lread): Use defsymbol for featurep. + +1997-10-15 Olivier Galibert <olivier.galibert@mines.u-nancy.fr> + + * s/irix5-0.h: Removed -G 0 from LD_SWITCH_SYSTEM. .sbss sections + are supported since unexelfsgi.c upgrade. + +1997-10-16 Kyle Jones <kyle_jones@wonderworks.com> + + * lstream.c (Lstream_close): Don't return early if the + closer method reports failure. Doing so caused GC and + memory corruption crashes. + +1997-10-14 Hrvoje Niksic <hniksic@srce.hr> + + * extents.c (Fset_extent_property): Allow `keymap' property to be + set to nil. + +1997-10-15 SL Baur <steve@altair.xemacs.org> + + * mule-coding.c (acceptable_control_char_p): Add C-_ for info. + (detect_coding_iso2022): Ditto. + From SENDA Shigeya <senda@ic.rdc.ricoh.co.jp> + +1997-10-09 MORIOKA Tomohiko <morioka@jaist.ac.jp> + + * mule-coding.c (make-coding-system, detect-coding-region): Modify + DOC-string because of renaming `automatic-conversion' -> + `undecided' to sync with Emacs 20.2. + + (make-coding-system, coding-system-type, detect-coding-region): + Rename `Qautomatic_conversion' -> `Qundecided'. + + * general.c (syms_of_general): Rename `automatic-conversion' -> + `undecided' to sync with Emacs 20.2. + + * emacsfns.h, event-Xt.c (x_to_emacs_keysym): Rename + `Qautomatic_conversion' -> `Qundecided'. + + * buffer.c (buffer-file-coding-system): Modify DOC-string because + of renaming `automatic-conversion' -> `undecided' to sync with + Emacs 20.2. + +1997-10-15 Olivier Galibert <olivier.galibert@mines.u-nancy.fr> + + * lisp.h (MANY): Bump SUBR_MAX_ARGS to 12 and add corresponding + DEFUN_n macros. + +1997-10-13 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp> + + * console-tty.c: Include gpmevent.h + * gpmevent.c (connect_to_gpm): change to void + * gpmevent.h: Ditto. + +1997-10-13 Kyle Jones <kyle_jones@wonderworks.com> + + * lisp-disunion.h (XSETOBJ): cast Lisp type enum to + an EMACS_UINT quantity to avoid a compiler warning about + integer overflow when the most significat bit of the + type tag is shifted into the sign bit position of an + EMACS_INT. + +1997-10-12 SL Baur <steve@altair.xemacs.org> + + * s/freebsd.h: Add X11 guard for building without X11. + From Hrvoje Niksic <hniksic@srce.hr> + +1997-10-12 Kyle Jones <kyle_jones@wonderworks.com> + + * doprnt.c (emacs_doprnt_1): if forwarded field width + is negative, set minus_flag and make the field width + positive. Makes (format "%*s" -10 "abc") work like + (format "%-*s" 10 "abc"). + +1997-10-12 SL Baur <steve@altair.xemacs.org> + + * unexsol2.c (unexec): CONST isn't defined here. + From Adrian Aichner <aichner@ecf.teradyne.com> + +1997-10-11 SL Baur <steve@altair.xemacs.org> + + * realpath.c (realpath): CONST IS LOSING but removing it conflicts + with system headers. + + * callproc.c: New variable infopath-internal. + (complex_vars_of_callproc): Declare and initialized it. + + * paths.h.in: New variable PATH_INFOPATH. + +1997-10-10 Martin Buchholz <mrb@eng.sun.com> + + * systty.h: + - change Xemacs --> XEmacs + + * buffer.c: + * editfns.c: + * msdos.c: + - Remove bogus FSF-origin \n\ sequences. + +1997-10-09 Kyle Jones <kyle_jones@wonderworks.com> + + * doprnt.c (parse_doprnt_spec): parse `*' field width + and precision specs and set up spec forwarding. + + * doprnt.c (emacs_doprnt_1): implement `*' by + forwarding flags, precision and field width data from a + spec to a subsequent spec. + + * editfns.c: document new `*' field width and + precision spec. + +1997-10-09 SL Baur <steve@altair.xemacs.org> + + * database.c (Fclose_database): Rename C function. + (Fdatabase_last_error): Ditto. + (Fopen_database): Ditto. + (Fput_database): Ditto. + (Fremove_database): Ditto. + (Fget_database): Ditto. + (syms_of_dbm): Reflect above changes. + From Martin Buchholz <mrb@Eng.Sun.COM> + +1997-10-08 Hrvoje Niksic <hniksic@srce.hr> + + * events.c (Fmake_event): Allow only frames as channel. + +1997-10-07 Hrvoje Niksic <hniksic@srce.hr> + + * extents.c (print_extent_1): Fixed typo. + +1997-10-07 Kyle Jones <kyle_jones@wonderworks.com> + + * insdel.c (buffer_replace_char): if doing delete/insert + because of characters with deiffering byte lengths,move + point forward with the insertion if it was moved backwrad + to equal the insertion point by the earlier deletion. + +1997-10-06 SL Baur <steve@altair.xemacs.org> + + * window.c (Fset_window_dedicated_p): register -> REGISTER. + + * unexalpha.c (update_dynamic_symbols): register-> REGISTER. + + * sysdep.c: Global change: register -> REGISTER. + + * strcat.c (strcat): register -> REGISTER. + + * search.c: Global change: register -> REGISTER. + + * regex.c: Global change: register -> REGISTER. + - Ensure REGISTER is always defined. + + * nt.c: Global change: register -> REGISTER. + + * linuxplay.c: Global change: register -> REGISTER. + + * input-method-xlib.c (best_style): register -> REGISTER. + + * gifalloc.c: Global change: register -> REGISTER. + - Ensure REGISTER is always defined. + + * getloadavg.c (getloadavg): register -> REGISTER. + + * eval.c (unwind_to_catch): [Unused variable] register -> REGISTER. + + * cmds.c (Fpoint_at_bol): register -> REGISTER. + + * chartab.c (check_category_char): register -> REGISTER. + + * buffer.c (assoc_ignore_text_properties): [Unused function] + register -> REGISTER. + + * alloca.c: Global change: register -> REGISTER. + + * xmu.h (XmuCopyISOLatin1Lowered): Global change: const -> CONST. + + * gif_lib.h: Global change: const -> CONST. + + * balloon_help.h (balloon_help_move_to_pointer): const -> CONST. + + * xmu.c: Global change: const -> CONST. + + * unexsol2.c (unexec): const -> CONST. + + * unexhp9k3.c (unexec_error): const -> CONST. + + * unexfreebsd.c (unexec_error): const -> CONST. + + * sunOS-fix.c (mbstowcs): const-> CONST. + (wcstombs): Ditto. + + * strcpy.c (strcpy): const -> CONST. + + * strcmp.c: Global change: const -> CONST. + + * strcat.c (strcat): const -> CONST. + + * realpath.c (realpath): const -> CONST. + + * keymap.c (where_is_recursive_mapper): const -> CONST. + + * extents.c (extent_priority_sort_function): const -> CONST. + + * dgif_lib.c (DGifOpenFileName): const -> CONST. + + * balloon_help.c: Global change: const -> CONST. + +1997-10-03 SL Baur <steve@altair.xemacs.org> + + * lisp.h: Nuke register declarations. + +1997-10-03 Karl M. Hegbloom <karlheg@inetarena.com> + + * window.c (Frecenter): Correct variable names in docstring. + +1997-10-03 Karl M. Hegbloom <karlheg@inetarena.com> + + * fns.c: Add some cross references between destructive and + non-destructive versions of similar functions. + +Fri Oct 3 12:28:08 1997 Kyle Jones <kyle_jones@wonderworks.com> + + * lisp-disunion.h: Move markbit to be between the + type bits and the value bits. Previously it was always + the sign bit of a EMACS_INT, unless modified by a + #define in a machine dependent .h file. + +1997-10-02 Hrvoje Niksic <hniksic@srce.hr> + + * profile.c (Fclear_profiling_info): Made interactive. + +1997-10-02 SL Baur <steve@altair.xemacs.org> + + * glyphs-x.c (USE_TEMP_FILES_FOR_PNG_IMAGES): Move outside of + HAVE_JPEG ifdef. + +1997-10-01 SL Baur <steve@altair.xemacs.org> + + * lisp.h (min): Fully parenthize. + (max): Ditto. + + * Makefile.in.in (widget.o): Insert dependencies. + - Insert HAVE_OFFIX_DND dependencies. + + * casefiddle.c (casify_object): Back out bogus undocumented patch + from 20.3-beta18. + +1997-09-30 SL Baur <steve@altair.xemacs.org> + + * events.c (Fevent_type): Add OffiX guard. + (command_event_p): Ditto. + (mark_event): Ditto. + (print_event): Ditto. + +1997-09-30 SL Baur <steve@altair.xemacs.org> + + * mule-canna.c (Fcanna_set_bunsetsu): Return a value. + (Fcanna_parse): Remove unused variables `ks' and `ksv'. + (Fcanna_henkan_begin): Remove unused variable `res'. + (Fcanna_henkan_next): Remove unused variable `nbun'. + (count_char): Change return type to void. + + * event-Xt.c (x_event_to_emacs_event): Remove unused variable + `event-size'. + + * menubar.c (Fnormalize_menu_item_name): Remove unused variable + `res'. + + * redisplay-x.c (x_flash): Reorganize test to prefer select over + poll. + + * xselect.c (Fx_store_cutbuffer_internal): Remove unused variable + `encoding'. + +1997-09-30 Hrvoje Niksic <hniksic@srce.hr> + + * frame.c (Fmake_frame): Call `custom-initialize-frame'. + +1997-09-24 MORIOKA Tomohiko <morioka@jaist.ac.jp> + + * mule-coding.c: Rename `pathname-coding-system' to + `file-name-coding-system' to sync with Emacs 20.2. + +1997-09-26 Hrvoje Niksic <hniksic@srce.hr> + + * window.c (saved_window_equal): Ditto. + + * process.c (Fget_process): Use internal_equal. + + * lread.c (build_load_history): Use internal_equal. + (build_load_history): Use XCAR/XCDR where safe. + + * events.c (event_equal): Ditto. + + * event-stream.c (Fdispatch_event): Ditto. + + * elhash.c (lisp_object_eql_equal): Ditto. + (lisp_object_equal_equal): Ditto. + + * device.c (find_device_of_type): Ditto. + + * console.c (find_console_of_type): Ditto. + + * console-tty.c (tty_init_console): Ditto. + + * console-stream.c (stream_init_console): Use internal_equal. + (stream_canonicalize_console_connection): Ditto. + + * fns.c (Fmember): Use internal_equal, to avoid a necessary + funcall and NILP check. + (Fold_member): Ditto for internal_old_equal. + (Fassoc): Use XCAR when we know we deal with a cons. Use + internal_equal. Removed tem. + (Fold_assoc): Ditto. + (Fassq): Use XCAR. + (Frassoc): Use internal_equal; remove tem. + (Fold_rassoc): Ditto for internal_old_equal. + (Frassq): Use XCDR with what we know is a cons. + (Fold_rassq): Ditto. + (Fdelete): Use internal_equal. + (Fold_delete): Ditto for internal_old_equal. + (Fremassoc): Use internal_equal; use XCAR/XCDR with what we know + is a cons. + (Fremrassoc): Ditto. + + * dired.c (Fdirectory_files): Nreverse the list only if it will be + sorted. + +Fri Sep 26 13:55:28 1997 Kyle Jones <kyle_jones@wonderworks.com> + + * faces.c (update_face_cachel_data): Don't allow the + background pixmap of the default face to override the + background of a face if that color has been specified. + +1997-09-26 Hrvoje Niksic <hniksic@srce.hr> + + * dired.c (close_directory_fd): New function. + (Fdirectory_files): Use it to set up an unwind-protection to close + the descriptor. + (Fdirectory_files): Allow QUIT in re_search. + (Fdirectory_files): If the file is too big, allocate necessary + data with malloc. + (Fdirectory_files): Use simple Fcons to build the list. + (close_directory_fd): Free the opaque pointer. + +1997-09-25 Hrvoje Niksic <hniksic@srce.hr> + + * extents.c (Fset_extent_properties): New function. + +1997-09-24 SL Baur <steve@altair.xemacs.org> + + * dired.c (Fdirectory_files): Remove broken VMS stuff. + (file_name_completion_stat): Ditto. + (file_name_completion): Ditto. + (Top Level): Ditto. + (syms_of_dired): Ditto. + +1997-09-25 Hrvoje Niksic <hniksic@srce.hr> + + * widget.c (Fwidget_apply): Don't GCPRO result of Fwidget_get. + +1997-09-24 SL Baur <steve@altair.xemacs.org> + + * symsinit.h: Declare syms_of_widget. + + * emacsfns.h: Declare Fchar_syntax. + + * bytecode.c (Fbyte_code): Call Fchar_syntax for the Bchar_syntax + bytecode. + + * syntax.c (Fchar_syntax): convert nil input to \000 for + compatibility. + + * alloc.c (report_pure_usage): Increase slop to 512 bytes in betas + and reduce it to 4 bytes in releases. + +1997-09-23 SL Baur <steve@altair.xemacs.org> + + * Makefile.in.in (objs): Add new C file widget.o. + +1997-09-22 SL Baur <steve@altair.xemacs.org> + + * editfns.c (vars_of_editfns): New feature 'ampersand-full-name + declared if AMPERSAND_FULL_NAME configuration option is enabled. + + * callproc.c (vars_of_callproc): Update docstring of `data-directory'. + +Sun Sep 21 14:14:44 1997 Kyle Jones <kyle_jones@wonderworks.com> + + * lisp.h: underspecify lisp_fn_t function prototype + to avoid compiler errors in inline_funcall_subr(). + + * eval.c (Fprogn): Walk forms list with XCDR, access + with XCAR. Check forms list CONSP, so that XCDR and XCAR are + safe. + + * eval.c (Fsetq): replace Flength call with for-loop + to compute list length. Walk arg list with XCDR, + access with XCAR. Check arg list with CONSP, so that + XCDR and XCAR are safe. + + * eval.c: New macro inline_funcall_subr, an inline + version of funcall_subr + primitive_funcall. + + * eval.c (Feval): replace Flength call with for-loop + to compute list length. Use XCAR and XCDR in some + places where it is safe to do so. Use + inline_funcall_subr() in place of funcall_subr(). + + * eval.c (funcall_recording_as): Use XCAR instead of + Fcar where it was safe. + + * eval.c (Fapply): replace Flength call with for-loop + to compute list length. + + * eval.c (apply_lambda):Use XCAR and XCDR in some + places where it is safe to do so. + + * eval.c (funcall_lambda): Walk param list with XCDR, access + with XCAR. Check param list CONSP, so that XCDR and XCAR are + safe. + + * symbols.c (find_symbol_value): return quickly if no + symbol magic is involved, to avoid the expensive call + to find_symbol_value_1. + + * symbols.c (store_symval_forwarding): don't call + reject_constant_symbols unless there is a chance a + constant symbol is involved. This break the + encapsulation of the constants check, but symbol stores + are used heavily and speed is most important than + cleanliness in this case. + +1997-09-21 Joel Peterson <tarzan@aosi.com> + + * menubar.c (normalize-menu-item-name): New function. + +1997-09-21 SL Baur <steve@altair.xemacs.org> + + * keymap.c (get_relevant_extent_keymaps): Previous patch reversed. + +1997-09-20 SL Baur <steve@altair.xemacs.org> + + * Makefile.in.in (xemacs): Adoption of shadow.el to print + load-path shadowings after successful dump. + +1997-09-20 Hrvoje Niksic <hniksic@srce.hr> + + * redisplay.c (scroll_conservatively): New variable. + (redisplay_window): Use it. + +1997-09-16 SL Baur <steve@altair.xemacs.org> + + * events.c (Fmake_event): Add default case, remove unused variables. + +1997-08-21 Jan Vroonhof <vroonhof@math.ethz.ch> + + * extents.c (extent_fragment_update): Trigger one_shot_function + + * extents.c (set-extent-one-shot-function): New function + + * extents.h (struct extent_auxiliary): Added one_shot_function + + * extens.c: Added one_shot_function to assesor functions. + +1997-09-14 Hrvoje Niksic <hniksic@srce.hr> + + * fileio.c (Fexpand_file_name): Don't treat "//" and "~/" in the + middle of path specially. + +1997-09-10 Hrvoje Niksic <hniksic@srce.hr> + + * event-stream.c (inhibit_input_event_recording): New boolean + variable. + (Fnext_event): Use it. + +1997-09-13 Hrvoje Niksic <hniksic@srce.hr> + + * fns.c (Fmapc): Renamed from Fmapc_internal. + +1997-09-10 Hrvoje Niksic <hniksic@srce.hr> + + * database.c (Fmake_database): Expand FILE. + + * redisplay.c (window-system): Warn against using it. + +1997-09-08 SL Baur <steve@altair.xemacs.org> + + * emacs.c (PACKAGE_PATH): Reverse PACKAGE_PATH. + Suggested by Colin Rafferty <craffert@ml.com> + +1997-09-03 SL Baur <steve@altair.xemacs.org> + + * print.c (print_internal): Special treatment for C-\. + +1997-08-13 P E Jareth Hein <jareth@camelot-soft.com> + + * insdel.c (buffer_delete_range): Changed the location where point + was actually moved to after all other movement handling. This + prevents a MULE related crash in VALID_BYTIND. + +1997-08-11 SL Baur <steve@altair.xemacs.org> + + * doc.c (Fsnarf_documentation): Semi-clarify types of weird + functions. + +1997-08-05 Jens-Ulrik Holger Petersen <petersen@kurims.kyoto-u.ac.jp> + + * eval.c (vars_of_eval): Updated docstring for `debug_on_error' to + mention `debug-ignored-errors'. + +1997-08-01 SL Baur <steve@altair.xemacs.org> + + * emacsfns.h: Fix declaration. + + * event-stream.c (syms_of_event_stream): HAVE_MENUBARS not + HAVE_MENUBAR. + +1997-07-31 SL Baur <steve@altair.xemacs.org> + + * frame-x.c (x_offix_drop_event_handler): Use stderr_out instead + of fprintf. + + * mule-coding.c (parse_iso2022_esc): Add abort() trap on unhandled + condition. + + * mule-wnnfns.c (Fwnn_dict_search): Remove unused variable. + (Fwnn_hindo_update): Ditto. + (Fwnn_inspect): Ditto. + (Fwnn_bunsetu_henkou): Ditto. + + * eval.c (call_with_suspended_errors): Fix Gcc warning: + argument `retval' might be clobbered by `longjmp' or `vfork' + +1997-07-30 SL Baur <steve@altair.xemacs.org> + + * redisplay.c: `window-system' isn't going away any time soon. + +1997-07-29 SL Baur <steve@altair.xemacs.org> + + * callint.c (Fcall_interactively): Allow floating point numbers + for `n' and `N' interactive specs. + +1997-07-27 SL Baur <steve@altair.xemacs.org> + + * event-stream.c (command_builder_find_leaf): Fix typo in + HAVE_MENUBARS. + + * gui-x.c (popup_selection_callback): Fix typo in HAVE_MENUBARS. + + * event-stream.c (syms_of_event_stream): accelerate_menu needed + guards. + + * emacs.c (vars_of_emacs): Main default package directory is now + ${prefix}/lib/xemacs/packages. + +1997-07-25 David Moore <dmoore@ucsd.edu> + + * alloc.c (Fmake_byte_code): GC protect newly allocated function + when looking up filename. + +1997-07-25 SL Baur <steve@altair.xemacs.org> + + * Makefile.in.in: Added support for linking with dmalloc. + +1997-07-25 P E Jareth Hein <jareth@camelot-soft.com> + + * xselect.c (x_atom_to_symbol): Fixed a memory corruption bug + where a possibly MULEified string was getting freed before use. + +1997-07-21 SL Baur <steve@altair.xemacs.org> + + * callproc.c: New variable Vdata_directory_list. + * emacsfns.h: Declare it. + + * fns.c (Frequire): Undo previous change. + + * print.c (print_internal): Handle circular objects like Emacs + handles them (and as documented in the Lispref). + + * database.c (Fputdatabase): Complain when `val' is not a string. + + * event-stream.c (command_builder_find_leaf): Guard menubar + accelerator stuffs with HAVE_MENUBAR. + * gui-x.c (popup_selection_callback): Ditto. + +1997-07-20 SL Baur <steve@altair.xemacs.org> + + * event-stream.c (menu_move_up): Guard menubar accelerator code + with HAVE_MENUBARS. + + * emacs.c (decode_path): New function, derived from latter portion + of decode_env_path. + (decode_env_path): Break out the naughty bits -- shouldn't do + getenv and separator parsing in one function. + New variable Vpackage_path. + (vars_of_emacs): Use it. + + * editfns.c (Fstring_to_char): Return nil instead of `0' for empty + string. + +1997-07-10 Hrvoje Niksic <hniksic@srce.hr> + + * fileio.c (Finsert_file_contents_internal): Handle non-regular + files. + +1997-07-12 Steven L Baur <steve@altair.xemacs.org> + + * Makefile.in.in (LOCK_OBJ): Only include filelock.[co] when + CLASH_DETECTION is defined. + +1997-07-11 Steven L Baur <steve@altair.xemacs.org> + + * emacs.c (main_1): Spelling fix. + +1997-07-10 Steven L Baur <steve@altair.xemacs.org> + + * Makefile.in.in (dump-elcs): Shouldn't use SATISFIED hack. + (xemacs-no-site-file): Not supported any more. + (binary): New dependency for dumping XEmacs. + (xemacs): Attempt to be a little smarter about not dumping a new + XEmacs if it is not needed. + (temacs): Remove `xemacs' after success. + +1997-07-09 Hrvoje Niksic <hniksic@srce.hr> + + * extents.c: Allow non-symbol properties of extents. + +1997-07-08 Hrvoje Niksic <hniksic@srce.hr> + + * data.c (Fstring_to_number): Use `check_int_range'. + (Fstring_to_number): Would bug out on wrong type check. + +1997-07-07 Steven L Baur <steve@altair.xemacs.org> + + * data.c (Fcompiled_function_doc_string): Implement correctly. + Was forgotten cut & paste identical clone to + Fcompiled_function_interactive? + + * Makefile.in.in (alloc.o): Remove dependency on puresize_adjust.h + so alloc.c need not be recompiled when puresize changes. + + * alloc.c (PURIFIED): Use get_PURESIZE() instead of constant. + (check_purespace): Ditto. + (alloc_pure_lrecord): Ditto. + (report_pure_usage): Ditto. + (disksave_object_finalization): Ditto. + (report_pure_usage): Modify message reported when Build is + restarted due to change in PURESIZE_ADJUSTMENT. + + * puresize.h: Remove dependency on puresize_adjust.h. + (get_PURESIZE): New function -- declare it. + + * pure.c: Move final PURESIZE computation and include of + puresize_adjust.h into here so alloc.c need not be recompiled each + time the puresize is adjusted. + (get_PURESIZE): New function. + +1997-07-06 Steven L Baur <steve@altair.xemacs.org> + + * data.c (Fstring_to_number): Wrong parameter was being checked. + + * emacs.c (vars_of_emacs): Fprovide the system type as a feature. + +1997-07-03 Steven L Baur <steve@altair.xemacs.org> + + * data.c (Fstring_to_number): Fix typo. base isn't an integer. + +1997-07-01 Steven L Baur <steve@altair.xemacs.org> + + * data.c, emacsfns.h: This is the port of GNU Emacs capability. + I am still not sure what this buys us, but I guess it doesn't hurt + to have it. + From Hrvoje Niksic <hniksic@srce.hr> + + * glyphs.c (make_string_from_file): Use + insert-file-contents-literally instead of + insert-file-contents-internal. + +1997-06-30 Steven L Baur <steve@altair.xemacs.org> + + * fns.c (check_losing_bytecode): Correct reported version. + + * Makefile.in.in (${libsrc}DOC): Break up line length for stupid + make programs. + +1997-06-29 Steven L Baur <steve@altair.xemacs.org> + + * emacsfns.h: Put void in prototype. + Suggested by Ben Wing. + +1997-07-01 MORIOKA Tomohiko <morioka@jaist.ac.jp> + + * glyphs.c (make_string_from_file): must protect from + `format-alist'. + +1997-06-28 Steven L Baur <steve@altair.xemacs.org> + + * config.h.in: Back out previous change to LOSING_BYTECODE. It's + just not worth it. + +1997-06-27 Mike Scheidler <c23mts@eng.delcoelect.com> + + * s/sol2.h: Undefined _XOPEN_SOURCE for Solaris 2.4. + +1997-06-28 Hrvoje Niksic <hniksic@srce.hr> + + * abbrev.c (abbrev_match): New function. + (abbrev_oblookup): New function. + (obarray_has_blank_p): New function. + (abbrev_count_case): New function. + (Fexpand_abbrev): Use them. Allow abbreviations to contain + arbitrary characters. + +1997-06-28 Steven L Baur <steve@altair.xemacs.org> + + * config.h.in: LOSING_BYTECODE will not be compiled into XEmacs. + + * doc.c (Fsnarf_documentation): Remove VMS dependent stuff for + cleanliness. + +1997-06-28 Hrvoje Niksic <hniksic@srce.hr> + + * print.c (Ferror_message_string): Simplify. + +1997-06-27 Steven L Baur <steve@altair.xemacs.org> + + * symbols.c (Fdefine_function): Correct docstring. + (Fsetplist): Ditto. + (Ffset): Ditto. + (Fsetq_default): Ditto. + +1997-06-27 Hrvoje Niksic <hniksic@srce.hr> + + * eval.c (skip_debugger): Removed comment and #ifdef-ed code. + (signal_call_debugger): Call skip_debugger after wants_debugger. + (signal_call_debugger): Gcpro cons sent to skip_debugger. + +1997-06-26 Steven L Baur <steve@altair.xemacs.org> + + * process.c (create_process): Default to fork instead of vfork. + + * callproc.c (Fcall_process_internal): Default to fork instead of + vfork. + + * emacsfns.h: Add declarations of Ferror_message_string(), + Frunning_temacs_p(). + + * eval.c: Remove declarations of Ferror_message_string(), + Frunning_temacs_p(). + + * Makefile.in.in (${libsrc}DOC): Correct dependency for the docfile. + (${mo_dir}emacs.po): Remove obsolete references to lisp source. + +1997-06-29 MORIOKA Tomohiko <morioka@jaist.ac.jp> + + * mule-charset.c: Modify charset DOC-strings to be more detailed. + +1997-06-25 Steven L Baur <steve@altair.xemacs.org> + + * alloc.c (Flist): Optimize. + From Hrvoje Niksic. + +1997-06-23 Steven L Baur <steve@altair.xemacs.org> + + * lisp.h: Get uintptr_t stuffs because it is needed for including + emacsfns.h. + + * sysdep.h: Removed uintptr_t stuffs. + +1997-06-22 Steven L Baur <steve@altair.xemacs.org> + + * fns.c (concat): Replace Fcar/Fcdr with XCAR/XCDR. + (Fnreverse): Ditto. + (internal_equal): Ditto. + (internal_old_equal): Ditto. + (Fnconc): Ditto. + (Freverse): Saner implementation. + From Hrvoje Niksic <hniksic@srce.hr> + + * s/linux.h: getpgrp with glibc is now properly detected by + configure. + Suggested by Andreas Jaeger <aj@arthur.rhein-neckar.de> + +1997-06-20 Steven L Baur <steve@altair.xemacs.org> + + * events.c: Remove declaration of Qempty. + +1997-06-20 Olivier Galibert <Olivier.Galibert@mines.u-nancy.fr> + + * frame-x.c, EmacsFrame.c, menubar-x.c, redisplay-x.c, scrollbar-x.c: + Make 64 bit clean. + +1997-06-19 Martin Buchholz <mrb@eng.sun.com> + + * config.h.in: + - Autodetect X defines using xmkmf. + - Compute rpath on *bsd* systems as well. + - rewrite PRINT_VAR m4 macro. + - detect sizes of void* and long long for future use by unex*.c + * regex.c: _GNU_SOURCE may be defined by config.h; don't redefine. + +1997-06-18 Martin Buchholz <mrb@eng.sun.com> + + * Makefile.in: + * s/*.h: + * m/*.h: + * config.h.in: + * emacs.c: + * version.sh: + * configure.in: Another rewrite. + - support powerpcle (Solaris on ppc) + - Now just have one s/sol2.h for all Solaris versions + - Specifying colon-separated directories actually works now. + - OS_RELEASE is a new define to avoid proliferation of s&m files. + - extract more stuff from s&m files. + - more debugging info + - More changes to avoid the `echo -e' problem + - Add more tests: fcntl.h AC_TYPE_*, AC_FUNC_GETPGRP + - Back out -lPW test. + - More paranoid xpm test + - Put version information in version.sh instead of version.el + - Make quoted pre-processor string tokens out of all macro values + to be used only by configure. + * xmu.c: DON'T use Xos.h + * sysdep.c (wait_for_termination): + * search.c: + * editfns.c: + * console-*: + +1997-06-18 Steven L Baur <steve@altair.xemacs.org> + + * unexelfsgi.c: Some things that Needed To Be Done(tm) into + unexelfsgi: + - support for .sbss section (no more -G 0 needed, 0.00001% speed + increase) + - support for Elf64 (64bits executables) + From Olivier Galibert <Olivier.Galibert@mines.u-nancy.fr> + + * fns.c (Fmapvector): New function converted from Lisp. + From Hrvoje Niksic <hniksic@srce.hr> + +Wed Jun 18 16:42:10 1997 Steven L Baur <steve@altair.xemacs.org> + + * Makefile.in.in: Convert two missed C style comments. + (LIBES): Remove LIBS_DEBUG which is no longer defined. + (LIBES): lwlibs_libs was misspelled. + +1997-06-17 Hrvoje Niksic <hniksic@srce.hr> + + * eval.c (vars_of_eval): New variable Vdebug_ignored_errors. + (skip_debugger): New function; use Vdebug_ignored_errors. + (signal_call_debugger): Use it. + +1997-06-17 Steven L Baur <steve@altair.xemacs.org> + + * emacs.c (vars_of_emacs): Moved symbols emacs-version, + emacs-major-version, and emacs-minor-version from version.el to + here. + + * general.c (syms_of_general): New symbols and, not, and or. + + * emacsfns.h: New symbols Qand, Qnot, Qor. + + * Makefile.in.in: Call temacs to compute lisp libraries to + include in the DOC file. + +1997-06-15 Steven L Baur <steve@altair.xemacs.org> + + * Makefile.in.in (lisp): Remove explicit mention of auto-autoloads.el. + +Sat Jun 14 21:55:27 1997 Kyle Jones <kyle_jones@wonderworks.com> + + * console.c (Fselect_console): + Check DEVICE_SELECTED_FRAME of console's selected + device for non-nil value before using it as a frame. + +1997-06-13 Steven L Baur <steve@altair.xemacs.org> + + * data.c (eq_with_ebola_notice): Remove horrible hack to avoid + unavoidable Ebola notices in the bytecompiler. + + * emacsfns.h: Fextent_in_region_p: Move. + + * keymap.c Fextent_in_region_p: Move. + +Fri Jun 13 00:38:29 1997 Kyle Jones <kyle_jones@wonderworks.com> + + * console.c (Fsuspend_console): + Disable input on ttys. Hide unhidden frames. + + * console.c (Fresume_console): + Enable input on ttys. Raise the device selected frame. + +Fri Jun 13 00:25:46 1997 Kyle Jones <kyle_jones@wonderworks.com> + + * process.c (status_notify): + Revert back to the code that does not use + save_excursion_restore. Just bounds check opoint + instead. + + * process.c (read_process_output): + Bounds check saved clip region and point values for + validity before using them. Call Fwiden before calling + Fnarrow_to_region to insure values will not be out of + range. + +1997-06-12 Steven L Baur <steve@altair.xemacs.org> + + * alloc.c: Make the GC cursor appear on all frames. + From Hrvoje Niksic <hniksic@srce.hr> + +1997-06-11 Steven L Baur <steve@altair.xemacs.org> + + * data.c (eq_with_ebola_notice): Add byte-optimize-logmumble and + byte-compile-push-constant to list of ignored functions. + +1997-06-11 Hrvoje Niksic <hniksic@srce.hr> + + * bytecode.c (Bsave_current_buffer): Register. + (Fbyte_code): Do action. + + * editfns.c (Fsave_current_buffer): New SUBR. + +1997-06-11 Steven L Baur <steve@altair.xemacs.org> + + * syntax.c (Fchar_syntax): Handle case of being passed nil. + + * data.c (eq_with_ebola_notice): Add more legitimate places in the + bytecompiler that should not get Ebola notices. + +Tue Jun 10 00:34:40 1997 Kyle Jones <kyle_jones@wonderworks.com> + + * process.c (status_notify): + Use record_unwind_protect and save_excursion_restore to + handle the point and buffer restoration. Cleaner. Doesn't + crash the editor if before/after-change-functions change + things behind our back. + +1997-06-10 Steven L Baur <steve@altair.xemacs.org> + + * data.c (vars_of_data): Set Ebola warning backtrace limit to 16. + (eq_with_ebola_notice): Bypass Ebola warnings for special + bytecompiler functions where they are 100% spurioius. + +1997-06-11 MORIOKA Tomohiko <morioka@jaist.ac.jp> + + * Makefile.in.in: Use lisp/mule/language/misc-lang.el instead of + lisp/mule/ipa-hooks.el. + +1997-06-10 MORIOKA Tomohiko <morioka@jaist.ac.jp> + + * Makefile.in.in: Use lisp/mule/language/thai.elc instead of + lisp/mule/thai-hooks.elc. + +1997-06-09 MORIOKA Tomohiko <morioka@jaist.ac.jp> + + * Makefile.in.in: Use lisp/mule/language/chinese.el, + lisp/mule/language/cyrillic.el, lisp/mule/language/european.el, + lisp/mule/language/greek.el, lisp/mule/language/japanese.el and + lisp/mule/language/korean.el instead of + lisp/mule/chinese-hooks.el, lisp/mule/cyrillic-hooks.el, + lisp/mule/european-hooks.el, lisp/mule/greek-hooks.el, + lisp/mule/japanese-hooks.el and lisp/mule/korean-hooks.el. + +1997-06-09 Steven L Baur <steve@altair.xemacs.org> + + * keymap.c: Declare Fextent_in_region_p. + + * s/linux.h: Can't use ORDINARY_LINK in linux until usage of -lPW + is determined more sensibly. + +1997-06-09 Hrvoje Niksic <hniksic@srce.hr> + + * keydefs.c (get_relevant_extent_keymaps): Choose correct keymap + at extent boundaries. + +Mon Jun 9 19:35:19 1997 Kyle Jones <kyle_jones@wonderworks.com> + + * redisplay.c (pixel_to_glyph_translation): + Fixed off by one error in computation of closest + position when mouse is in the frame's right-side + border area. + +Sat Jun 7 22:07:41 1997 Kyle Jones <kyle_jones@wonderworks.com> + + * frame.c (delete_frame_internal): + Calling Fselect_frame isn't sufficient to set the + frame device's selected frame if the frame we're + selecting is on a different device. Call + set_device_selected_frame apprpriately in that case. + Also don't set the frame device's selected frame to a + frame that's on another device. + +1997-06-09 Steven L Baur <steve@altair.xemacs.org> + + * sysdep.c: MS Windows NT doesn't (yet) do child TTY processes. + From David Hobley <davidh@wr.com.au> + +Sat Jun 7 22:00:54 1997 Kyle Jones <kyle_jones@wonderworks.com> + + * device-x.c (x_delete_device): + Add an EQ check so that we don't set Vdefault_x_device + back to the device we're deleting. + +1997-06-05 Steven L Baur <steve@altair.xemacs.org> + + * frame.c (Fmake_frame): Correct checking of first_frame_on_device. + From Hrvoje Niksic <hniksic@srce.hr> + +1997-06-04 Steven L Baur <steve@altair.xemacs.org> + + * device.c (delete_deviceless_console): New function. + (Fmake_device): Use it. Fix problem of creation of a frame on a + tty where something fails during initialization. + From Kyle Jones <kyle_jones@wonderworks.com> + + * specifier.c (Fboolean_specifier_p): Correct spelling in + Docstring (synch from Infodock 3.5). + + * frame.c: Update docstring. + +1997-06-03 Hrvoje Niksic <hniksic@srce.hr> + + * sysdep.c (tty_init_sys_modes_on_device): Initialize it. + + * console.c (complex_vars_of_console): New variable + `tty-erase-char'. + + * conslots.h (MARKED_SLOT): New slot. + +Mon Jun 2 02:49:44 1997 Kyle Jones <kyle_jones@wonderworks.com> + + * frame.c, frame-tty.c + Treat tty frames like a cross between stacked window + system frames and frames on virtual displays. All + frames but the top frame are visible but hidden by + default. next-frame and previous-frame now skip + invisible tty frames by default. raise-frame and + lower-frame now control whether a frame is hidden + instead of whether it is visible. Frames are no + longer automatically raised when they are selected. + After a raise/lower operation selection of the new + topmost frame is deferred until a selection magic + event is read. + +Sat May 31 19:59:49 1997 Kyle Jones <kyle_jones@wonderworks.com> + + * frame-tty.c (tty_init_frame_3: + Defer selection of the newly created frame until + an event is read. + +1997-06-02 Steven L Baur <steve@altair.xemacs.org> + + * search.c (REGEXP_CACHE_SIZE): Bump to 20. + Suggested by Karl M. Hegbloom <karlheg@inetarena.com> + +1997-05-30 Steven L Baur <steve@altair.xemacs.org> + + * device-tty.c (tty_asynch_device_change): + * gpmevent.c (connect_to_gpm): Makes it so it doesn't **ck up the + mouse stuff on an XTerm, and resets the internal GPM variables for + the width and height of the screen when we get a sigwinch. + From William M. Perry <wmperry@aventail.com> + +1997-05-29 Steven L Baur <steve@altair.xemacs.org> + + * eval.c (Fprogn): Delete mocklisp support. + (Fwhile): Ditto. + (Fcommandp): Ditto. + (Feval): Ditto. + (funcall_recording_as): Ditto. + (funcall_lambda): Ditto. + + * elhash.c (verify_function): Delete mocklisp support. + + * doc.c (Fdocumentation): Delete mocklisp support. + + * data.c (wrong_type_argument): Delete mocklisp support. + + * config.h.in: Delete mocklisp support. + + * callint.c (Fcall_interactively): Delete mocklisp support. + + * emacs.c (main_1): Delete mocklisp initialization. + + * symsinit.h: Delete mocklisp.c decls. + + * Makefile.in.in: Delete mocklisp stuffs. + +Thu May 29 03:00:16 1997 Kyle Jones <kyle@crystal.wonderworks.com> + + * frame.c (change_frame_size_1): + Drop code that returns immediately if the old frame + size is equal to the new. + Leave the minibuffer height the same if the frame has + been initialized, and the minibuffer height is tall + enough to display at least one line of text in the default + font, and the old minibuffer height is a multiple of the + default font height. This should cause the minibuffer + height to be recomputed on font changes but not for + other frame size changes, which seems reasonable. + +1997-05-26 Steven L Baur <steve@altair.xemacs.org> + + * event-stream.c (Frecent_keys): Take optional parameter to + indicate how many keystrokes to return. + (Frecent_keys_ring_size): New function returns the maximum number + of events `recent-keys' can return. + (Fset_recent_keys_ring_size): New function. Modifies the above. + + From Hrvoje Niksic <hniksic@srce.hr> + + * event-stream.c: New variable recent_keys_ring_size replacing a + hard-coded macro. + +1997-05-23 Steven L Baur <steve@altair.xemacs.org> + From Hrvoje Niksic <hniksic@srce.hr> + + * sysdep.c: Correction of subprocess support when compiling + without ttys. + +1997-05-21 Steven L Baur <steve@altair.xemacs.org> + + * editfns.c (format-time-string): Update DOCstring. Make time + parameter optional. + +Wed May 21 11:58:17 1997 Kyle Jones <kyle@crystal.wonderworks.com> + + * insdel.c (signal_first_change): + record the current buffer for the unwind instead of the + buffer that's about to become the current buffer. + +Tue May 20 23:23:39 1997 Steven L Baur <steve@altair.xemacs.org> + + * frame.c: Correct spelling typo in docstring. + +Mon May 19 03:40:46 1997 Kyle Jones <kyle@crystal.WonderWorks.COM> + + * redisplay.c: (window_line_number) + don't prefer buffer point value over window point + value unless window, frame, device and console are + all selected. + + * redisplay.c: (redisplay_window) + don't prefer buffer point value over window point + value unless window, frame, device and console are + all selected. + + * redisplay.c: (create_text_block) + don't prefer buffer point value over window point + value unless window, frame, device and console are + all selected. + +Sun May 18 13:03:50 1997 Steven L Baur <steve@altair.xemacs.org> + + * Makefile.in.in (distclean): remove xemacs-version.h. + +Sun May 11 13:38:46 1997 Kyle Jones <kyle@crystal.WonderWorks.COM> + + * frame.c (change_frame_size_1): + return without doing anything if the frame has benn + initialized and the new frame size is same as the + current frame size. + +Sat May 17 19:35:48 1997 Steven L Baur <steve@altair.xemacs.org> + + * device-tty.c (tty_asynch_device_change): Make + `no-redraw-on-reenter' work. Patch from Hrvoje Niksic. + +Sat May 17 23:39:03 1997 Hrvoje Niksic <hniksic@srce.hr> + + * frame-tty.c: Support multiple frames. + + * redisplay.c (decode_mode_spec): New coding `%N'. + +Sun May 11 23:36:08 1997 Steven L Baur <steve@altair.xemacs.org> + + * buffer.c: Rename Vdelete_auto_save_files to coding standards. + + * frame.c: Rename Vallow_deletion_of_last_visible_frame to coding + standards. + +Thu May 8 19:10:03 1997 Steven L Baur <steve@altair.xemacs.org> + + * frame.c: Change internal type of + `allow-deletion-of-last-visible-frame' to boolean. + + * buffer.c: Change internal type of `delete-auto-save-files' to + boolean. + +Sat May 3 15:28:56 1997 Steven L Baur <steve@altair.xemacs.org> + + * redisplay.c: `column-number-start-at-one' is a user customizable + variable. + + * event-stream.c (vars_of_event_stream): `focus-follows-mouse' is + a user customizable variable. + + * cmds.c (vars_of_cmds): `signal-error-on-buffer-boundary' is a + user customizable variable. + + * lread.c (parse_integer): Fix incorrect upper bounds on loop. + +Thu May 1 18:59:20 1997 Steven L Baur <steve@altair.xemacs.org> + + * glyphs-x.c (Fmake_subwindow): Update error message. + +Wed Apr 30 18:07:18 1997 Steven L Baur <steve@altair.xemacs.org> + + * lread.c: New variable featurep. + (read1): Add processing for #- and #+. + (read_list_conser): Handle case where a feature test has removed a + portion of the input stream. + (vars_of_lread): New feature `xemacs'. + + * fns.c (Ffeaturep): Remove function when using #-, #+ feature + reader syntax. + + * Makefile.in.in (lisp): Put features.elc in the dump list. + +Thu May 1 05:24:25 1997 Hrvoje Niksic <hniksic@srce.hr> + + * buffer.c (Fmake_indirect_buffer): Don't pretend it's there. + +Fri Apr 25 10:53:07 1997 Steven L Baur <steve@altair.xemacs.org> + + * glyphs-x.c: libpng already includes setjmp.h, so don't attempt + to include it twice. + +Thu Apr 24 09:14:13 1997 Steven L Baur <steve@altair.xemacs.org> + + * balloon-x.c (vars_of_balloon_x): Don't override advertised and + supported balloon-help. + +Tue Apr 22 11:54:02 1997 Steven L Baur <steve@altair.xemacs.org> + + * emacs.c (main_1): Add syms_of_balloon_x and guard with + HAVE_X_WINDOWS. + (main_1): Add vars_of_balloon_x and guard with HAVE_X_WINDOWS. + + * process.c (get_process): This function can be passed a BUFFER as + a parameter. + +Tue Apr 22 01:32:00 1997 Kyle Jones <kyle@crystal.WonderWorks.COM> + + * menubar-x.c (pre_activate_hook): + set in_menu_callback around call to call to + menu_item_descriptor_to_widget_value. + + * event-stream.c (Fnext_event): + signal error if in_menu_callback non-nil to avoid + reentering the menubar code and causing a crash later. + + * cmdloop.c (command_loop_3): + signal error if in_menu_callback non-nil to avoid + inflooping calling Fnext_event, which will signal an + error if the situation is not caught earlier. + +Tue Apr 22 08:22:22 1997 Hrvoje Niksic <hniksic@srce.hr> + + * balloon-x.c, balloon_help.c, balloon_help.h: Modified to conform + to XEmacs coding standards. + +Thu Apr 17 17:16:34 1997 Steven L Baur <steve@altair.xemacs.org> + + * balloon-x.c: New file from Douglas Keller. + + * balloon_help.c: New file from Douglas Keller. + + * balloon_help.h: New file from Douglas Keller. + +Sun Apr 13 09:56:54 1997 Steven L Baur <steve@altair.xemacs.org> + + * emacs.c (shut_down_emacs): Advertise using send-pr as the + mechanism for submitting a bug report. + + * Makefile.in.in: Handle pathological case of mis-autodetected + TOOLTALK. + +Sun Apr 13 11:33:34 1997 David Moore <dmoore@ucsd.edu> + + * regex.c (re_search_2): Prevent incorrect matching and infinite + loop with \\` and MULE. + +Sat Apr 12 05:57:51 1997 Steven L Baur <steve@altair.xemacs.org> + + * Makefile.in.in (lisp): Dump cus-start.elc with XEmacs. + + * event-Xt.c (x_to_emacs_keysym): Allow for dead keys. (Patch + from Joachim Schnitter). + + * Makefile.in.in: Allow native sound for BSD/I. + + * linuxplay.c: Rename global sndbuf to linuxplay_sndbuf. + Make sndbuf, mix_fd, audio_vol, audio_fd, audio_dev non-static to + avoid dump time lossage. + (sndcnv8U_2mono): Rename global sndbuf to linuxplay_sndbuf. + (sndcnv8S_2mono): Ditto. + (sndcnv2monounsigned): Ditto. + (sndcnv2unsigned): Ditto. + (sndcnvULaw_2mono): Ditto. + (sndcnv16_2monoLE): Ditto. + (sndcnv16_2monoBE): Ditto. + (sndcnv2byteLE): Ditto. + (sndcnv2byteBE): Ditto. + (sndcnv2monobyteLE): Ditto. + (sndcnv2monobyteBE): Ditto. + (linux_play_data_or_file): Ditto. + (linux_play_data_or_file): Ditto. + (linux_play_data_or_file): Ditto. + +Sat Apr 12 01:59:14 1997 Kyle Jones <kyle_jones@WonderWorks.COM> + + * glyphs-x.c, glyphs.c, glyphs.h: Added domain parameter to all + image *_instantiate functions so that the domsin is available to + specifier lookups in the various instantiator functions. Passed + domain argument to extract_xpm_color_names for the + Fspecifier_instance call. + +Fri Apr 11 20:02:40 1997 Steven L Baur <steve@altair.xemacs.org> + + * glyphs-x.c (extract_xpm_color_names): Add checking to handle + case for when XEmacs is in initialization. + + * events.c (Fevent_type): Remove handling for dead_event. + (Fevent_properties): Remove handling for dead_event. + +Thu Apr 10 20:41:53 1997 David Moore <dmoore@ucsd.edu> + + * ntproc.c (sys_spawnve): Clean up GC protection. + + * fileio.c (Ffile_executable_p): Clean up GC protection. + +Thu Apr 10 12:48:49 1997 Steven L Baur <steve@altair.xemacs.org> + + * glyphs.c: Undo duplicate declaration of display_table. + + * glyphs.h: Back out name change of autodetect to + automatic_conversion. + + * glyphs.c: Back out name change of autodetect to + automatic_conversion. + + * glyphs-x.c (image_instantiator_format_create_glyphs_x): Back out + name change of autodetect to automatic_conversion. + + * events.c (Fevent_properties): Do something sensible for + dead_event and empty_event. + + * general.c: Restore autodetect symbol. + + * emacsfns.h: Declare new symbol Qempty. + + * general.c: Add symbol to identify empty events. + + * events.c (Fevent_type): Don't abort() when presented with an + empty_event or a dead_event. + +Mon Apr 7 18:12:26 1997 David Moore <dmoore@ucsd.edu> + + * xmu.c: Renamed local `initialized' variable to `hex_initialized' + and don't assign to static, as some compilers crash. + (initHexTable): Use it. + (XmuReadBitmapData): Use it. + +Sun Apr 6 18:03:47 1997 David Moore <dmoore@ucsd.edu> + + * fileio.c (Fexpand_file_name): Clean up GC protection. + + * dired.c (Fdirectory_files): Clean up GC protection. + + * insdel.c (signal_after_change): Don't run after_change_functions + on special Vprin1_to_string_buffer. + (signal_before_change): Ditto for before_change_functions. + +Fri Apr 4 14:41:17 1997 David Moore <dmoore@ucsd.edu> + + * buffer.c (Fkill_buffer): Don't kill special + Vprin1_to_string_buffer. + +Mon Apr 7 19:13:40 1997 Steven L Baur <steve@altair.xemacs.org> + + * Makefile.in.in (xemacs-version.h): Added to rename main_1 to + something reflecting the XEmacs version in use (for lusers + reporting crashes who forget to include the version number). + + * toolbar.c (specifier_vars_of_toolbar): Strip HAVE_NEXTSTEP. + + * sound.c: Strip HAVE_NEXTSTEP. + + * redisplay.c (init_redisplay): Strip HAVE_NEXTSTEP. + + * faces.c: Strip HAVE_NEXTSTEP. + (update_EmacsFrame): Ditto. + + * events.c (event_equal): Strip HAVE_NEXTSTEP. + (event_hash): Ditto. + (format_event_object): Ditto. + + * event-stream.c (init_event_stream): Strip HAVE_NEXTSTEP. + + * emacs.c (main_1): Strip HAVE_NEXTSTEP. + Attempt hack to change name of main_1 to something reflecting the + current version for lusers who don't include version numbers with + stack backtraces. + + * device.c: Strip HAVE_NEXTSTEP. + + * console.c (Fconsole_type): Remove reference to unimplemented ns + windows type. + +Sun Apr 6 08:08:33 1997 Steven L Baur <steve@altair.xemacs.org> + + * frame.h: Strip NeXTStep stuff. + + * device.h: Strip NeXTStep stuff. + + * console.h: More NeXTStep trimming. + + * console-x.h: Strip Epoch stuff. + + * symsinit.h (init_sunpro): Strip vms/Epoch stuff. + + * events.h (union magic_data): Strip NeXTStep stuff. + + * console.h: Strip NeXTStep stuff. + + * config.h.in: Strip unimplemented NeXTStep/Epoch stuff out. + + * Makefile.in.in: Remove unused NeXTStep support. It's all in the + cvs attic if someone wishes to revive it. + (epoch.o): Remove last vestiges of non-existent epoch support. + +Sat Apr 5 17:16:49 1997 Steven L Baur <steve@altair.xemacs.org> + + * fns.c: Correct DOC string to not equate integers and + characters. + +Thu Apr 3 08:01:50 1997 Steve Carney <carney@gvc.dec.com> + + * s/decosf4.0-static.h: New file. + +Tue Apr 1 12:22:32 1997 Steven L Baur <steve@altair.xemacs.org> + + * config.h.in: MAIL_USE_POP, KERBEROS, HESIOD -- new parameters to + deal with upgraded movemail.c. + +Fri Mar 28 19:25:22 1997 Steven L Baur <steve@altair.xemacs.org> + + * inline.c: Restore this blasphemous file. + + * Makefile.in.in (inline.o): Restore the bletcherous + inline.c. + +Tue Mar 25 11:36:08 1997 David Moore <dmoore@ucsd.edu> + + * fileio.c (barf_or_query_if_file_exists): GC fixes. + (Ffile_readable_p): ditto. + (Ffile_writable_p): ditto. + (Ffile_symlink_p): ditto. + (Ffile_accessible_directory_p): ditto. + + * sound.c (Fplay_sound_file): Fix up gc problems with file + handlers. + + * buffer.c (Fkill_buffer): Fix up buffer killing problems with + file handlers. + + * sysdep.c (sys_subshell): Fix up gc problems with file handlers. + + * callproc.c (Fcall_process_internal): Fix up gc problems with + file handlers. +Tue Mar 25 17:16:14 1997 Steven L Baur <steve@altair.xemacs.org> + + * ralloc.c (MHASH): Make 64bit Alpha happier. + +Tue Mar 25 11:36:08 1997 David Moore <dmoore@ucsd.edu> + + * fileio.c (auto_save_expand_name_error): New function. + (auto_save_expand_name): Ditto. + (Fdo_auto_save): Protect against an error in Fexpand_file_name + from kicking us inappropriately out of auto-save. + +Mon Mar 24 21:50:13 1997 Steven L Baur <steve@altair.xemacs.org> + + * s/linux.h (GETPGRP_NEEDS_ARG): Define if compiling with glibc + 2.1 (suggested by Andreas Jaeger). + +Mon Mar 24 12:40:56 1997 David Moore <dmoore@ucsd.edu> + + * profile.c: Fixed some comments about GC status of functions. + + * profile.c (inside_profiling): New variable to lock the + profiling table. + (sigprof_handler): Check it. + (Fget_profiling_info): Set it. + (mark_profiling_info): Set it. + (Fclear_profiling_info): Set it. + + * eval.c (PUSH_BACKTRACE): New macro. + (POP_BACKTRACE): Ditto. + + * eval.c (Fcommand_execute): Use them and fix problem with + backtrace_list build ordering requirements for profiling code. + (Feval): Ditto. + (funcall_recording_as): Ditto. + +Fri Mar 21 20:19:09 1997 Steven L Baur <steve@altair.xemacs.org> + + * Makefile.in.in: strip inline.o. + +Fri Mar 21 18:54:04 1997 David Moore <dmoore@ucsd.edu> + + * fileio.c (call2_check_string_or_nil): New function. + (Ffile_name_directory): Use it. + (Fsubstitute_in_file_name): Use it. + + * fileio.c (Fexpand_file_name): GC protect against file handlers. + (Fdelete_file): ditto + (Ffile_writable_p): ditto + (Ffile_directory_p): ditto + (Ffile_regular_p): ditto + (Fset_file_modes): ditto + (Ffile_newer_than_file_p): ditto + (Fset_visited_file_modtime): ditto + + *fileio.c (Ffile_truename): Unnecessary GC protection. + (Fdelete_directory): Fix broken caller-must-GC-protect call. + + * filelock.c (lock_file): New comments warning that this function + may kill the current buffer. + (unlock_file): ditto + (Flock_buffer): ditto + (Funlock_buffer): ditto + (unlock_buffer): ditto + + * filelock.c (unlock_all_files): GC protect against unlock_file + killing random buffers. + + * buffer.c (Fkill_buffer): GC protect against unlock_file killing + the buffer. + + * insdel.c (prepare_to_modify_buffer): GC protect against + lock_file() killing the buffer. + +Fri Mar 21 19:11:15 1997 Steven L Baur <steve@altair.xemacs.org> + + * mule-coding.c (vars_of_mule_coding): Add + enable-multibyte-characters for MULE compatibility. + +Thu Mar 20 13:25:26 1997 Steven L Baur <steve@altair.xemacs.org> + + * glyphs-x.c: Implement a dummy function to insert a fake EOI + marker if called. Based on code from William Perry. + +Wed Mar 19 10:49:05 1997 Steven L Baur <steve@altair.xemacs.org> + + * menubar-x.c (pre_activate_callback): Attempt to avoid recursive + expansion of submenus via :filter expansion. + + * glyphs-x.c (x_print_image_instance): Move define of + HAVE_SUBWINDOWS to glyphs-x.h. + (our_skip_input_data): Implement with some error checking based on + patch by Dominic Froud. + + * glyphs-x.h (HAVE_SUBWINDOWS): Define to keep inline.c from + barfing. + +Tue Mar 18 11:15:23 1997 Steven L Baur <steve@altair.xemacs.org> + + * glyphs-x.c: Strip unimplemented subwindows code. + +Mon Mar 17 15:40:12 1997 David Moore <dmoore@ucsd.edu> + + * glyphs-x.c (our_own_dgif_slurp_from_gif2x11_c): Only get the + first image out of a multi-image or animated gif. + +Mon Mar 17 15:27:26 1997 Steven L Baur <steve@altair.xemacs.org> + + * Makefile.in.in (xemacs): Invert sense of test for successful + completion of XEmacs dump. + +Sat Mar 15 14:21:39 1997 David Moore <dmoore@ucsd.edu> + + * fileio.c (Fdo_auto_save): Protect against file handlers which + may kill the buffer being saved or otherwise modify Vbuffer_alist. + +Sat Mar 15 15:32:51 1997 Steven L Baur <steve@altair.xemacs.org> + + * Makefile.in.in (lisp): Add auto-customize.elc. + +Fri Mar 14 19:10:37 1997 David Moore <dmoore@ucsd.edu> + + * extents.c (extent_changed_for_redisplay): New parameter. + (extent_changed_for_redisplay): Notify redisplay if invisible text + has become visible. + (extent_maybe_changed_for_redisplay): New parameter. + (extent_attach): Use it. + (extent_detach): Use it. + (Fset_extent_parent): Use it. + (set_extent_invisible): Use visibility change parameter. + (Fset_extent_face): Ditto. + (Fset_extent_mouse_face): Ditto. + (set_extent_glyph): Ditto. + (do_highlight): Ditto. + +Thu Mar 13 10:40:37 1997 Steven L Baur <steve@altair.xemacs.org> + + * s/sunos4-1-4-shr.h: New file. + + * s/sunos4-1-4.h: New file. + + * s/sunos4-1.h (BROKEN_SIGIO): Define. + +Wed Mar 12 14:29:40 1997 Steven L Baur <steve@altair.xemacs.org> + + * emacs.c (fatal_error_signal): (mostly) useless check on + /usr/proc/bin/pstack removed. + + * s/bsdos3.h: New file for BSDI 3.0. + + * editfns.c (Fchar_equal): Correct DOC string. + (Fchar_Equal): (char=) CL Case sensitve comparison added. + + * data.c (Fcharacterp): Make DOC string less confrontational. + +Mon Mar 10 23:51:04 1997 Martin Buchholz <mrb@eng.sun.com> + + * input-method-motif.c (XIM_init_frame): Fix XIM crash on some + versions of X11R6 XIM. + +Sun Mar 9 21:46:53 1997 Tomasz J. Cholewo <t.cholewo@ieee.org> + + * minibuf.c (regexp_ignore_completion_p): Reverse meaning of + completion-regexp-list. + +Thu Mar 6 19:15:29 1997 Steven L Baur <steve@altair.xemacs.org> + + * data.c (eq_with_ebola_notice): Unobfuscate Ebola warning!!! + message. + +Wed Mar 5 16:11:22 1997 Steven L Baur <steve@altair.xemacs.org> + + * process.c (get_internet_address): Put upper bounds on attempting + to get system name (similar to nearly identical processing in + sysdep.c. + +Tue Mar 4 17:30:48 1997 Steven L Baur <steve@altair.xemacs.org> + + * puresize.h (PURESIZE): *Must* use angle brackets for + puresize_adjust.h or build will lose with --srcdir. + + * alloc.c (report_pure_usage): Adjust error message printed when + too low on PURESIZE. + + * Makefile.in.in: Move site-packages. + Add vpath correction for puresize_adjust.h. + +Mon Mar 3 20:37:54 1997 Steven L Baur <steve@altair.xemacs.org> + + * Makefile.in.in (lisp): Remove custom-xmas.elc. + +Sat Mar 1 01:20:39 1997 Steven L Baur <steve@altair.xemacs.org> + + * doc.c (weird_doc): Don't print `duplicate' messages as they are + almost always due to symbols that are both autoloaded and dumped. + + * data.c (syms_of_data): char-int and int-char -> char-to-int and + int-to-char. + +Thu Feb 27 21:48:32 1997 Steven L Baur <steve@altair.xemacs.org> + + * Makefile.in.in (xemacs): Loop when dumping until SATISFIED. + + * lstream.c (signal_simple_internal_error): Remove the abort(). + + * alloc.c (Fpurecopy): Make it work for byte compiled functions. + (Fgarbage_collect): Disable garbage collection if we're dumping + XEmacs and we've overflowed purespace. + +Thu Feb 27 14:14:53 1997 Darrell Kindred <dkindred@cmu.edu> + + * event-Xt.c (change_frame_visibility): New function. + (handle_map_event): Use it. + (emacs_Xt_handle_magic_event): Correction of handling of + VisibilityNotify. + +Thu Feb 27 14:12:57 1997 Steven L Baur <steve@altair.xemacs.org> + + * frame-x.c (x_frame_visible_p): Reverse previous change. + +Sun Mar 2 14:01:32 1997 David Moore <dmoore@ucsd.edu> + + * regex.c (re_search_2): Properly handle crossing the buffer gap + when doing a backwards search under MULE. + +Wed Feb 26 10:24:40 1997 Steven L Baur <steve@altair.xemacs.org> + + * Makefile.in.in: make-docfile takes a "-i" parameter to pass + site-loaded lisp files. + + * alloc.c (report_pure_usage): Adjust restart message. + +Tue Feb 25 10:58:12 1997 Steven L Baur <steve@altair.xemacs.org> + + * Makefile.in.in: Add PURESIZE.h to special treatment in vpath. + + * alloc.c (PURESIZE_h): New function. + (report_pure_usage): Use it. If PURESIZE is not the right amount, + use the correct value. + + * puresize.h: Use dynamic computation of PURESIZE. + + * PURESIZE.h: New file. + + * fns.c (Frandom): Fix docstring. + +Mon Feb 24 17:35:05 1997 Jonathan Edwards <edwards@intranet.com> + + * process.c (record_exited_processes): Fix obvious typo in + checking for SIGCLD. + +Sun Feb 23 01:45:49 1997 Martin Buchholz <mrb@eng.sun.com> + + * scrollbar.c (update_scrollbar_instance): Fix for + all-hail-xemacs scrollbar drag bug. + + * scrollbar.c (Fscrollbar_to_bottom): Now calls Frecenter(-3) + as end-of-buffer does, instead of hostile Frecenter(0). Makes + C-button-1 on down-arrow friendlier. + +Sun Feb 23 16:56:17 1997 David Hobley <david@spook-le0.cia.com.au> + Initial MS Windows NT support. + * unexnt.c: New file. + + * ntproc.c: New file. + + * ntheap.h: New file. + + * ntheap.c: New file. + + * nt.h: New file. + + * nt.c: New file. + +Sun Feb 23 15:56:58 1997 Steven L Baur <steve@altair.xemacs.org> + + * floatfns.c (_GNU_SOURCE): Define if compiling with glibc 2. + + * gmalloc.c: Guard __getpagesize definition against glibc 2. + +Sat Feb 22 17:12:47 1997 Steven L Baur <steve@altair.xemacs.org> + + * Makefile.in.in (lisp): Snarf docstrings from new file + itimer-autosave.elc. + +Fri Feb 21 18:21:32 1997 Jan Vroonhof <vroonhof@math.ethz.ch> + + * event-Xt.c (emacs_Xt_handle_magic_event): Correction for frame + freezing bug. + +Wed Feb 19 12:54:32 1997 Per Abrahamsen <abraham@dina.kvl.dk> + + * buffer.c (Fbuffer_disable_undo): Default to current buffer. + +Tue Feb 18 12:37:28 1997 Steven L Baur <steve@altair.xemacs.org> + + * Makefile.in.in (lisp): Dump new file custom-xmas.elc. + +Mon Feb 17 11:29:07 1997 Steven L Baur <steve@altair.xemacs.org> + + * print.c (Ferror_message_string): New function, ported from Emacs + 19.34. + (print_error_message): Ditto. + + * extents.c (verify_extent_mapper): Experimental deletion of code + to allow deletion of read-only extents. + + * symbols.c (hash_string): Replace algorithm with one given in + Aho, Sethi & Ullman. + +Sun Feb 16 14:53:58 1997 Steven L Baur <steve@altair.xemacs.org> + + * keymap.c (lookup_keys): Wrong sense in test. + + * Makefile.in.in: Don't dump font.elc. + +Sat Feb 15 02:30:51 1997 Steven L Baur <steve@altair.xemacs.org> + + * cmds.c: Define new symbol signal-error-on-buffer-boundary. + (Fforward_char): Use it. + (Fbackward_char): Use it. + + * window.c (Fscroll_up): Use it. + (Fscroll_down): Use it. + + * keymap.c (syms_of_keymap): define mouse-[123] and + down-mouse-[123] pseudo-keysym aliases for Emacs compatibility. + +Thu Feb 13 21:28:35 1997 Steven L Baur <steve@altair.xemacs.org> + + * Makefile.in.in: Don't dump tm with XEmacs under any + circumstances. + + * puresize.h: Remove extra SunPro puresize for MULE+tm. + +Sun Feb 9 04:40:36 1997 Axel Seibert <aseibert@cybernet-ag.net> + + * emacs.c (main_1): Fix NeXT malloc initialization. + +Fri Feb 7 11:36:56 1997 Steven L Baur <steve@altair.xemacs.org> + + * mule-coding.c (Fdecode_coding_region): Make explicit call to + `barf_if_buffer_read_only'. + (Fencode_coding_region): Ditto. + +Thu Feb 6 22:39:39 1997 Steven L Baur <steve@altair.xemacs.org> + + * extents.c (syms_of_extents): Remove references to replicating + extents. + + * extents.h (struct extent): Remove references to replicating + extents. + +Thu Feb 6 01:11:43 1997 Jareth Hein <jhod@po.iijnet.or.jp> + + * mule-coding.c (ENCODE_SJIS): Correct typo. + +Thu Feb 6 01:10:22 1997 Steven L Baur <steve@altair.xemacs.org> + + * frame.c (delete_frame_internal): Protect against deletion of + frames with living popup children. + +Wed Feb 5 17:13:17 1997 David Moore <dmoore@UCSD.EDU> + + * emacs.c (main_1): Try to avoid collisions against potentially + incompatible system mallocs. + +Mon Feb 3 23:04:41 1997 Joel Peterson <tarzan@aosi.com> + + * redisplay.c: Activate face/charset redisplay caching. + +Mon Feb 3 22:01:09 1997 Kyle Jones <kyle_jones@wonderworks.com> + + * eval.c (do_debug_on_exit): Don't restore old value of + debug_on_next_call improperly. + +Fri Jan 31 10:28:47 1997 David Byers <davby@ida.liu.se> + + * frame.c (frame_matches_frametype): Fix next-window when the next + window is on another frame. + +Thu Jan 30 20:25:00 1997 Steven L Baur <steve@altair.xemacs.org> + + * syntax.c (scan_sexps_forward): Change test on targetdepth to + match Emacs 19.34. + +Wed Jan 29 22:11:53 1997 James LewisMoss <dres@scsn.net> + + * gmalloc.c: Corrections for namespace collision with Linux libc + malloc. + +Mon Jan 27 21:46:53 1997 Tomasz J. Cholewo <tjchol01@mecca.spd.louisville.edu> + + * fileio.c (Fwrite_region_internal): pack lockname to write-region + handler. + +Mon Jan 27 04:50:50 1997 David Moore <dmoore@UCSD.EDU> + + * gmalloc.c (malloc): Guard against incompatible system mallocs + with conflicting symbols. + +Sun Jan 26 12:27:04 1997 Steven L Baur <steve@altair.xemacs.org> + + * redisplay.c (add_emchar_rune): Back out optimization change of + caching last_charset. + +Sun Jan 26 09:10:45 1997 Hrvoje Niksic <hniksic@srce.hr> + + * s/decosf4-0.h: Digital Unix 4.0 has a realpath, but it's buggy. + And I *do* mean buggy. + +Thu Jan 23 10:41:19 1997 Steven L. Baur <steve@altair.xemacs.org> + + * puresize.h: Increase SUNPRO usage to reflect tm & cc-mode. + Decrease BASE_PURESIZE and increase MULE_PURESIZE_EXTRA. + +Wed Jan 22 21:09:52 1997 Steven L Baur <steve@altair.xemacs.org> + * puresize.h (BASE_PURESIZE): Tighten up. + + * scrollbar.c (scrollbar-page-up): Add Athena3d to Lucid/Motif + code. + (scrollbar-page-down): Ditto. + + * scrollbar-x.c (x_create_scrollbar_instance): Add Athena3d to + Lucid/Motif code. + (x_update_vertical_scrollbar_callback): Ditto. + (x_update_horizontal_scrollbar_callback): Add Athena3d to Lucid + special case code. + + * scrollbar-x.h (struct x_scrollbar_data): Add start drag position + for Athena3d. + + * redisplay-output.c (redisplay_update_line): A vain attempt to + get the Athena vertical thumb adjusted after drag. + + * EmacsFrame.c: Default to lower/right with Athena3d libraries. + +Wed Jan 22 18:38:52 1997 Ian Wells <I.Wells@tarragon-et.co.uk> + + * m/aviion.h: Remove definition of m88k. + + * s/dgux5-4r4.h: New file. + +Wed Jan 22 18:32:49 1997 Steven L Baur <steve@altair.xemacs.org> + + * buffer.h: Put proper typecasts on calls to alloca(). + +Tue Jan 21 22:25:23 1997 Steven L. Baur <steve@altair.xemacs.org> + + * config.h.in: Add LWLIB_USES_ATHENA symbol + + * Makefile.in.in (TOOLKIT_LIBS): It is possible to have both + Athena and Motif in the same link. + +Tue Jan 21 20:43:41 1997 Hrvoje Niksic <hniksic@srce.hr> + + * redisplay-tty.c (tty_ring_bell): Don't ring tty bell if the + volume is set to 0. + +Tue Jan 21 20:38:58 1997 Axel Seibert <aseibert@cybernet-ag.net> + + * s/nextstep.h (signal_handler_t): define as int. + +Mon Jan 20 21:12:57 1997 Martin Buchholz <mrb@eng.sun.com> + + * event-Xt.c (emacs_Xt_handle_magic_event): + (frame-totally-visible-p) sometimes incorrectly returned nil. + +Thu Jan 16 17:24:29 1997 Joel Peterson <tarzan@aosi.com> + + * menubar-x.c (pre_activate_callback): Correctly handle buffer + local variables in :included clauses. + (compute_menubar_data): Ditto. + +Wed Jan 15 21:44:53 1997 Joel Peterson <tarzan@aosi.com> + + * redisplay.c (add_emchar_rune): Enable last_charset display + optimization. + +Wed Jan 15 19:06:27 1997 David Moore <dmoore@UCSD.EDU> + + * event-stream.c (Faccept_process_output): Avoid checking an + uninitialized variable. + +Wed Jan 15 14:14:24 1997 Steven L Baur <steve@altair.xemacs.org> + + * regex.c: Modify values of re_max_failures and MAX_FAILURE_ITEMS + to match Emacs 19.34. + +Mon Jan 13 00:36:01 1997 Martin Buchholz <mrb@eng.sun.com> + + * sysdep.c (sys_execvp): Fix when compiled with + --const-is-losing=no. Old code could crash if argv contained + non-ascii characters and the execvp failed and then caller + examined argv (for error message, for example). + +Sun Jan 12 17:22:24 1997 Steven L Baur <steve@altair.xemacs.org> + + * Makefile.in.in: TM .elcs moved to SUNPRO_LISP only. + +Fri Jan 10 20:21:47 1997 Ben Wing <ben@666.com> + + * minibuf.c (Ftry_completion): Don't crash if not given a proper + obarray. + +Fri Jan 10 09:49:44 1997 Ted Phelps <phelps@dstc.edu.au> + + * objects-x.c (x_initialize_font_instance): Hardcode 'n' for + default font width. + +Mon Jan 6 15:16:46 1997 Carsten Leonhardt <leo@arioch.tng.oche.de> + + * Makefile.in.in: Linking with canna requires -lRKC. + +Mon Jan 6 12:22:57 1997 Frederic Poncin <fp@info.ucl.ac.be> + + * gmalloc.c: Don't declare __sbrk on SparcLinux. + +Sun Jan 5 18:04:47 1997 Soren Dayton <csdayton@cs.uchicago.edu> + + * Makefile.in.in: IRIX6 can use sgiplay.c too. + +Sat Jan 4 12:15:16 1997 Steven L Baur <steve@altair.xemacs.org> + + * toolbar.c (specifier_vars_of_toolbar): Clean up fallback + specifiers so XEmacs can be built without tty support. + + * console-stream.c: Moved function bodies of + semi_canonicalize_console_connection, + canonicalize_console_connection, + semi_canonicalize_device_connection, and + canonicalize_device_connection into this file from console-tty.c. + Moved variable Vstdio_str into this file. + + * console-tty.c: See above. + +Fri Jan 3 18:07:11 1997 Axel Seibert <aseibert@cybernet-ag.net> + + * m/next.h: Cleanup accumulated cruft. + + * s/nextstep.h: Remove useless #undef REL_ALLOC/HAVE_MMAP. + + * syssignal.h: Don't typedef SIGTYPE on NeXT. + +Fri Jan 3 12:06:44 1997 Michael Sperber <sperber@informatik.uni-tuebingen.de> + + * m/ibmrs6000.inp: Added various get.* symbols. + +Sun Dec 29 20:16:08 1996 Steven L Baur <steve@altair.xemacs.org> + + * m/next.h: Remove signal_handler_t #define. + + * s/nextstep.h: Remove signal_handler_t #define. + +Fri Dec 27 21:13:33 1996 Martin Buchholz <mrb@Eng.Sun.COM> + + * event-Xt.c (x_to_emacs_keysym): Corrections to SUNOS_GCC_LO_BUG. + +Mon Dec 23 11:37:16 1996 Martin Buchholz <mrb@Eng.Sun.COM> + + * fns.c (Ffillarray): Fix for (fillarray #*10 0) + +Mon Dec 23 10:27:14 1996 Steven L Baur <steve@altair.xemacs.org> + + * bitmaps.h: Change to unsigned char. + + * frame-x.c (x_cde_transfer_callback): Typecast fix. + + * keymap.c (define_key_check_and_coerce_keysym): Typecast fix. + +Fri Dec 20 19:21:56 1996 Steven L Baur <steve@altair.xemacs.org> + + * Makefile.in.in (lisp): Remove cc-mode as a dumped package. + + * keymap.c (define_key_check_and_coerce_keysym): Make obsolete + binding of kp_.* not lose. + + * bitmaps.h: Add left & right arrows to show extended lines. + +Fri Dec 20 15:32:53 1996 David Moore <dmoore@UCSD.EDU> + + * event-stream.c (event_stream_wakeup_pending_p): New function. + (Faccept_process_output): Fix timeout handling race conditions. + (Fsleep_for): Ditto. + (Fsit_for): Ditto. + +Thu Dec 19 22:25:26 1996 Steve Carney <carney@gvc.dec.com> + + * cmds.c (Fbeginning_of_line): Adjust for 64 bit machines. + +Thu Dec 19 00:44:10 1996 Bart Robinson <lomew@cs.utah.edu> + + * syssignal.h: The declaration of SIGTYPE shouldn't be protected + by HAVE_SIGPROCMASK. + +Wed Dec 18 20:40:21 1996 Martin Buchholz <mrb@eng.sun.com> + + * dgif_lib.c: Miscellaneous cleanup, including removing signed + bitfields. + + * mule-charset.h: Change charset names. + + * mule-coding.c (struct iso2022_decoder): Uniform unsigned bitfields. + Change charset names. + + * mule-charset.c: Change charset names. + + * mule-canna.c: Change charset names. + + * EmacsShell-sub.c: Ansify and reformat. + + * console-tty.h (struct tty_console): Uniform unsigned bitfields. + + * glyphs-x.c: Ansify. + + * specifier.c: Use lisp_fn_t. + + * EmacsShell.c: Ansify. + + * vm-limit.c: Ansify. + + * emacsfns.h: Use lisp_fn_t. + + * lstream.c (struct filedesc_stream): Unsigned int bitfields. + + * xselect.c (hack_motif_clipboard_selection): Change charset name. + (Fx_store_cutbuffer_internal): Change charset name. + + * ralloc.c: Ansify and clean up. + + * frame.h (struct frame): Uniform unsigned bit fields. + + * event-Xt.c: Documentation change. + + * lisp.h: Introduce lisp_fn_t. + Remove SunPro C compiler warning message workaround. + + * xmu.c: Ansify. + + * doprnt.c (struct printf_spec): Use unsigned bitfields. + + * fileio.c: various code formatting changes. + + * eval.c: reorganize primitive funcalls. + + * config.h.in (NeedFunctionPrototypes): Force slightly better type + checking in X header files. + + * Makefile.in.in: #undef i386, move mime-setup.elc?. + + * s/sunos4-0-shr.h: Documentation change. + + * s/sol2.h (__EXTENSIONS__): Add. + Include <setjmp.h> under certain conditions. + +Mon Dec 16 19:13:10 1996 Steven L Baur <steve@altair.xemacs.org> + + * lstream.c (Lstream_pseudo_close): Return status on error. + (Lstream_close): Ditto. (Fixes disk full-no error on write bug). + +Sat Dec 14 16:54:52 1996 Steven L Baur <steve@altair.xemacs.org> + + * glyphs-x.c (jpeg_instantiate): Use file I/O for JPEG loading + because the in-core code is broken. + +Fri Dec 13 16:43:45 1996 Steven L Baur <steve@altair.xemacs.org> + + * device-x.c (x_init_device): Don't make nonexistent X server the + default when running on a tty. + + * event-Xt.c (x_to_emacs_keysym): Rename kp_.* keysyms to be kp-\1. + + * redisplay-tty.c (keys): Rename kp_.* keynames to kp-\1. + +Fri Dec 13 14:48:42 1996 Michael Sperber <sperber@informatik.uni-tuebingen.de> + + * lread.c (Fload_internal): Change arity of call to + file-name-handlers. + + * fileio.c (Finsert_file_contents_internal): Ditto. + +Thu Dec 12 16:55:34 1996 Lars Magne Ingebrigtsen <larsi@ifi.uio.no> + + * cmds.c (Fpoint_at_eol, Fpoint_at_bol): New functions. + (Fend_of_line, Fbeginning_of_line): Use them. + +Tue Dec 10 11:17:32 1996 Shane Holder <holder@mordor.rsn.hp.com> + + * s/hpux9shxr4.h: hpux9shr.h -> hpux9-shr.h + + * s/hpux10.h: hpux9shr.h -> hpux9-shr.h + +Sat Dec 7 18:29:34 1996 Steven L Baur <steve@altair.xemacs.org> + + * puresize.h (BASE_PURESIZE): Bumped up PURESIZE by 10k. + +Sat Dec 7 16:26:34 1996 Martin Buchholz <mrb@Eng.Sun.COM> + + * config.h.in: configure for POSIX getcwd if available. + +Sat Dec 7 15:48:39 1996 Steven L Baur <steve@altair.xemacs.org> + + * s/sunos4-1-shr.h: Renamed from sunos4-1shr.h. + + * s/sunos4-1-3-shr.h: Renamed from sunos4-1-3shr.h. + + * s/sunos4-1-2-shr.h: Renamed from sunos4-1-2-shr.h. + + * s/sunos4-0-shr.h: Renamed from sunos4-0shr.h. + + * s/hpux9-shr.h: Renamed from hpux9shr.h. + + * s/hpux8-shr.h: Renamed from hpux8shr.h. + + * s/hpux10-shr.h: Renamed from hpux10shr.h. + +Wed Dec 4 23:38:03 1996 Steven L Baur <steve@altair.xemacs.org> + + * redisplay.c: Allow column numbers in modeline to start from 1.