comparison 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
comparison
equal deleted inserted replaced
1161:8e95979f01c6 1162:fe1300cee118
1 2002-12-15 Ben Wing <ben@xemacs.org> 1 2002-12-15 Ben Wing <ben@xemacs.org>
2
3 * ChangeLog: Combine all ChangeLog files.
4 * ChangeLog.1, ChangeLog.2: Deleted.
2 5
3 * window.c (Fset_window_point): Correct to FSF behavior. This 6 * window.c (Fset_window_point): Correct to FSF behavior. This
4 fixes some bugs in GNUS reported by Jeff Miller. 7 fixes some bugs in GNUS reported by Jeff Miller.
5 8
6 2002-12-14 Ben Wing <ben@xemacs.org> 9 2002-12-14 Ben Wing <ben@xemacs.org>
20767 (glyph_layout): ditto. 20770 (glyph_layout): ditto.
20768 20771
20769 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr> 20772 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
20770 20773
20771 * insdel.c (signal_after_change): Remove extraneous unbind_to(). 20774 * insdel.c (signal_after_change): Remove extraneous unbind_to().
20775
20776 2000-01-09 Norbert Koch <norbert@s.netic.de>
20777
20778 * sysfile.h: Remove definition of HAVE_FSYNC. It's tested for
20779 in configure.
20780
20781 2000-01-09 Martin Buchholz <martin@xemacs.org>
20782
20783 * lisp.h (xfree_1): Make non-public.
20784 * (xzero): Use '\0' in memset call for clarity.
20785 * (ALIGNOF): Use __alignof__ instead of undocumented __alignof.
20786 * alloc.c (allocate_string_chars_struct):
20787 (make_uninit_string):
20788 (resize_string):
20789 (verify_string_chars_integrity):
20790 (compact_string_chars): Now only called for small strings.
20791 (sweep_strings):
20792 String allocation rewrite.
20793 Properly handle resizing big strings.
20794 Fixes crash when evaluating:
20795 (aset (make-string 9003 ??) 1 (make-char 'latin-iso8859-1 57))
20796 Use consistent coding convention.
20797 Never use xfree_1() directly.
20798 General cleanup.
20799 (CHARS_TO_STRING_CHAR): Remove. No longer needed.
20800 Big strings had unused space at beginning.
20801
20802 * scrollbar.c (specifier_vars_of_scrollbar):
20803 * scrollbar.c (complex_vars_of_scrollbar):
20804 * gutter.c (specifier_vars_of_gutter):
20805 * menubar.c (specifier_vars_of_menubar):
20806 * toolbar.c (specifier_vars_of_toolbar):
20807 * glyphs.c (specifier_vars_of_glyphs):
20808 * redisplay.c (specifier_vars_of_redisplay):
20809 * window.c (specifier_vars_of_window):
20810 * lisp.h (slot_offset): Remove slot_offset.
20811 Replace all calls to `slot_offset' with the standard name, `offsetof'.
20812
20813 * menubar-x.c (compute_menubar_data):
20814 Remove Fset_buffer(), always called by unwind_protect.
20815 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Fiddling.
20816 * menubar-x.c (set_frame_menubar): comment fix.
20817
20818 * keymap.c (lookup_keys): Remove extra parens.
20819 * keymap.c (lookup_events): Remove extra parens.
20820
20821 * dbxrc (run-temacs): Allow function to take arguments.
20822
20823 * Makefile.in.in (PURIFY_FLAGS): No longer need pointer-mask.
20824
20825 2000-01-08 Andy Piper <andy@xemacs.org>
20826
20827 * event-msw.c (mswindows_wnd_proc): don't need to check for widget
20828 face anymore.
20829
20830 * frame.c (change_frame_size_1): use new glyph_* signatures.
20831 (frame_conversion_internal): ditto.
20832
20833 * toolbar-x.c (x_get_button_size): Use modified glyph_*
20834 signatures.
20835
20836 * redisplay.c (add_glyph_rune): Use modified glyph_* signatures.
20837 (add_glyph_rune): dittto.
20838 (add_margin_runes): ditto.
20839 (create_left_glyph_block): ditto.
20840 (create_right_glyph_block): ditto.
20841 (redisplay_window): ditto.
20842
20843 * redisplay-output.c (redisplay_output_layout): Use modified
20844 glyph_* signatures.
20845
20846 * glyphs.h: (struct image_instantiator_methods): change signature
20847 of query_geometry and layout.
20848 (struct Lisp_Image_Instance): Clean up fields for dynamic geometry
20849 calculations.
20850 (struct expose_ignore): change field types.
20851 (struct subwindow_cachel): ditto. declare new functions and
20852 accessor macros.
20853
20854 * glyphs.c: (instantiate_image_instantiator): assign glyph when
20855 creating the image instance.
20856 (image_instance_hash): fixup for new and deleted fields.
20857 (image_instance_equal): ditto.
20858 (mark_image_instance): ditto.
20859 (print_image_instance): ditto.
20860 (allocate_image_instance): zero width and height. assign attached
20861 glyph. mark as dirty for future layout.
20862 (make_image_instance_1): pass Qnil as the glyph its attached to.
20863 (Fimage_instance_height): simply return the height.
20864 (Fimage_instance_width): simply return the width.
20865 (image_instance_query_geometry): new function. query the image
20866 instance's geometry by wiring through to format and device
20867 specific methods. fallback on the existing geometry.
20868 (image_instance_layout): new function. layout the image instance
20869 by querying its geometry and then wiring through to format and
20870 device specific methods.
20871 (query_string_geometry): new function to decide the bounding box
20872 of a string. text glyph geometry calculations moved here.
20873 (query_string_font): new function. find out the font for a given
20874 string in a given face.
20875 (text_query_geometry): return geometry based on
20876 quert_string_geometry.
20877 (formatted_string_instantiate): call string_instantiate.
20878 (image_instantiate): put strings in the per-window cache. Feed the
20879 glyph to the instantiated image instance.
20880 (glyph_height_internal): deleted.
20881 (glyph_width): simply return the required dimension. re-layout if
20882 the instance is dirty. Remove references to face_index and
20883 frame_face which were only used for strings.
20884 (glyph_ascent): ditto.
20885 (glyph_descent): ditto.
20886 (glyph_height): ditto.
20887 (Fglyph_width): use new glyph_width function.
20888 (Fglyph_ascent): use new glyph_ascent function.
20889 (Fglyph_descent): use new glyph_descent function.
20890 (Fglyph_height): use new glyph_height function.
20891 (glyph_property_was_changed):
20892 (glyph_image_instance_maybe): new function to possible create an
20893 image instance from a glyph if we don't have one already.
20894 (glyph_dirty_p): use it.
20895 (glyph_layout): new function for laying out a glyph.
20896 (glyph_query_geometry): new function for finding out the desired
20897 geometry of a glyph.
20898 (update_glyph_cachel_data): use new glyph_* signatures.
20899 (update_subwindow): call resize_subwindow.
20900 (map_subwindow): call update_subwindow if the image is dirty.
20901 (subwindow_instantiate): add comment.
20902 (Fresize_subwindow): don't actually resize the window, just record
20903 the values and let update_subwindow handle it.
20904 (Fglyph_animated_timeout_handler): use
20905 MARK_IMAGE_INSTANCE_CHANGED.
20906 (image_instantiator_format_create): declare things with
20907 query_geometry and layout functions.
20908
20909 * glyphs-x.c: (x_update_subwindow): remove widget sizing.
20910 (update_widget_face): use query_string_font.
20911 (x_widget_set_property): don't return Qt when setting is
20912 succesful.
20913 (x_combo_box_instantiate): call widget_instantiate rather than
20914 widget_instantiate_1.
20915
20916 * glyphs-widget.c: (widget_face_font_info): deleted.
20917 (widget_text_to_pixel_conversion): deleted.
20918 (widget_set_property): make sure the new text gets propagated to
20919 the image instance.
20920 (widget_layout): new function. wire through to device and format
20921 specific methods.
20922 (widget_query_geometry): new function. wire through to device and
20923 format specific methods. fallback on geometry of widget text.
20924 (initialize_widget_image_instance): fixup new fields.
20925 (widget_instantiate_1): deleted.
20926 (tree_view_instantiate): deleted.
20927 (tree_view_query_geometry): new function. returns desired sizing
20928 of tree view.
20929 (tab_control_instantiate): deleted.
20930 (tab_control_query_geometry): new function. returns desired sizing
20931 of tab.
20932 (widget_instantiate): subsume widget_instantiate_1. Fixup geometry
20933 things in the light of dynamic layout.
20934 (static_instantiate): deleted.
20935 (layout_instantiate): use new glyph_* signatures.
20936 (image_instantiator_format_create_glyphs_widget): fixup
20937 query_geometry and layout declarations for various widgets.
20938
20939 * glyphs-msw.c: (mswindows_widget_instantiate): add comment.
20940 (mswindows_button_instantiate): use query_string_font for geometry
20941 calculations.
20942 (mswindows_update_subwindow): ditto.
20943 (mswindows_combo_box_instantiate): fixup for new geometry
20944 management.
20945 (mswindows_widget_set_property): Don't return Qt so that other
20946 methods can be called.
20947
20948 2000-01-08 Martin Buchholz <martin@xemacs.org>
20949
20950 * gdbinit: rename to .gdbinit so that gdb will automatically source it.
20951
20952 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
20953
20954 * insdel.c (signal_before_change): Make sure START and END are
20955 within the buffer before calling report_extent_modification().
20956 (signal_after_change): Ditto for START, NEW_END, and ORIG_END.
20957
20958 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
20959
20960 * extents.h: Correct prototype of report_extent_modification().
20961
20962 * insdel.c (signal_before_change): Place record_unwind_protect()
20963 outside MAP_INDIRECT_BUFFERS loops.
20964 (signal_after_change): Ditto.
20965
20966 * extents.c (report_extent_modification): Don't expect pointer to
20967 inside_change_hook.
20968 (report_extent_modification_mapper): Explain why
20969 closure->speccount is almost unused.
20970
20971 * insdel.c (change_function_restore): Call Fset_buffer only if
20972 necessary.
20973 (signal_before_change): Don't propagate inside_change_hook to
20974 report_extent_modification().
20975
20976 2000-01-07 Martin Buchholz <martin@xemacs.org>
20977
20978 * elhash.c (make_general_lisp_hash_table): Remove purify UMR.
20979 (hash_table_rehash_threshold): Removed. Update all callers.
20980
20981 2000-01-03 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
20982
20983 * s/windowsnt.h: Fix mail locking stuff.
20984
20985 * s/aix3-2.h: Remove HAVE_FSYNC which is now autodetected.
20986
20987 * emacs.c (vars_of_emacs): Added `mail-lock-methods' and
20988 `configure-mail-lock-method' variables.
20989
20990 * config.h.in: Fix mail locking stuff.
20991
20992 2000-01-04 Martin Buchholz <martin@xemacs.org>
20993
20994 * mule-charset.h (REP_BYTES_BY_FIRST_BYTE):
20995 Remove macro, always use inline function.
20996 * mule-charset.c (make_charset): Don't assign to rep_bytes_by_first_byte.
20997 (rep_bytes_by_first_byte): Make const.
20998
20999 2000-01-03 Didier Verna <didier@xemacs.org>
21000
21001 * redisplay.c (generate_fstring_runes): new parameter `offset'.
21002 Take offset into account when outputting strings or glyphs.
21003 (generate_formatted_string_db): call generate_fstring_runes with
21004 an offset of 0 if generating a frame or icon title, or the
21005 modeline hscroll if generating a modeline.
21006
21007 * redisplay.h: remove prototype of `generate_formatted_string' and
21008 add prototype for `generate_formatted_string_db', now used in
21009 "frame.c".
21010
21011 * frame.c: `title_string_display_line' and
21012 `title_string_emchar_dynarr', formerly known as
21013 `format_string_display_line' and `format_string_emchar_dynarr'
21014 moved here from "redisplay.c".
21015 (generate_title_string): formerly known as
21016 `generate_format_string', moved here from "redisplay.c".
21017 (update_frame_title): take these name changes into account.
21018 (init_frame): new function. Initialize here the variables that
21019 were previously in "redisplay.c" and initialized in
21020 `init_redisplay'.
21021
21022 * frame.h: prototype for `init_frame'.
21023
21024 * window.c (Fmodeline_hscroll): restore the definition (remove the
21025 MODELINE_IS_SCROLLABLE #ifdef).
21026 (Fset_modeline_hscroll): ditto, docstring improvement, and return
21027 the actual value that was set.
21028 (struct saved_window): turn the `modeline_hscroll' field into a
21029 Charcount.
21030 (syms_of_window): restore the declaration of
21031 `[set-]modeline-hscroll' (remove the MODELINE_IS_SCROLLABLE #ifdef).
21032
21033 * window.h (struct window): turn the `modeline_hscroll field' into
21034 a Charcount.
21035
21036 * emacs.c: include "frame.h" to get `init_frame'.
21037 (main_1): call `init_frame'.
21038
21039 1999-12-31 Martin Buchholz <martin@xemacs.org>
21040
21041 * XEmacs 21.2.26 is released.
21042
21043 1999-12-31 Andy Piper <andy@xemacs.org>
21044
21045 * glyphs-x.c (x_widget_instantiate): Avoid X errors calling
21046 XMapWindow() on a NULL pointer X window.
21047
21048 1999-12-31 Martin Buchholz <martin@xemacs.org>
21049
21050 * data.c (indirect_function): Use signal_void_function_error().
21051
21052 * lisp.h: Modify prototypes for signal_*(). Add SUBR_FUNCTION macro.
21053
21054 * eval.c (PRIMITIVE_FUNCALL): Optimize.
21055 (signal_void_function_error): return result of Fsignal().
21056 (signal_invalid_function_error): return result of Fsignal().
21057 (signal_wrong_number_of_arguments_error): return result of Fsignal().
21058 (signal_malformed_list_error): Add DOESNT_RETURN.
21059 (signal_malformed_property_list_error): Add DOESNT_RETURN.
21060 (signal_circular_list_error): Add DOESNT_RETURN.
21061 (signal_circular_property_list_error): Add DOESNT_RETURN.
21062 (Feval): Use returned results of signal_*(). Avoids a crash!
21063 (Ffuncall): Use returned results of signal_*(). Avoids the crash:
21064 (setq debug-on-error t) (funcall 'foo) kbd{r42} kbd{RET}
21065 - Only check for fun_nargs < subr_min_args if fun_nargs != max_args.
21066 (function_argcount): Use signal_invalid_function_error().
21067 (funcall_lambda): Use signal_wrong_number_of_arguments_error().
21068 Use signal_invalid_function_error().
21069
21070 1999-12-28 Andy Piper <andy@xemacs.org>
21071
21072 * debug.c: rename debug_loop elements to X_ to avoid name clashes.
21073
21074 * menubar-x.c (menu_item_descriptor_to_widget_value_1): strdup
21075 string_chars.
21076 (menu_item_descriptor_to_widget_value_1): strdup name.
21077 (pre_activate_callback): strdup name.
21078
21079 * scrollbar-x.c (scrollbar_instance_to_widget_value): strdup name.
21080 (x_update_scrollbar_instance_status): use free_widget_value_tree.
21081
21082 * dialog-x.c (maybe_run_dbox_text_callback): strdup name. use
21083 free_widget_value_tree.
21084 (dbox_descriptor_to_widget_value): ditto.
21085
21086 * gui-x.c (widget_value_unwind): use free_widget_value_tree.
21087 (gui_items_to_widget_values_1): ditto.
21088 (gui_items_to_widget_values): ditto.
21089 (free_popup_widget_value_tree): free name.
21090
21091 1999-12-27 Andy Piper <andy@xemacs.org>
21092
21093 * nt.c (fstat): use get_osfhandle rather than the handle
21094 directly. From Fabrice Popineau.
21095
21096 * process-nt.c (nt_open_network_stream): take types into account
21097 when warning. From Fabrice Popineau.
21098
21099 1999-12-24 Martin Buchholz <martin@xemacs.org>
21100
21101 * XEmacs 21.2.25 is released.
21102
21103 1999-12-22 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
21104
21105 * syntax.c (vars_of_syntax): Initialize parse-sexp_ignore_comments.
21106
21107 1999-12-21 Martin Buchholz <martin@xemacs.org>
21108
21109 * editfns.c (Fpoint_min):
21110 (Fpoint_min_marker):
21111 (Fpoint_max):
21112 (Fpoint_max_marker):
21113 (Fchar_after):
21114 (Fchar_before):
21115 Docstring fixes. What's a `buffer pointer' anyways?
21116
21117 * editfns.c (char=): Remove unused and undocumented optional
21118 third BUFFER argument.
21119
21120 * toolbar.h (DEVICE_SUPPORTS_TOOLBARS_P):
21121 * fns.c (plists_differ):
21122 * elhash.c (HASH_CODE):
21123 * elhash.c (KEYS_EQUAL_P):
21124 * redisplay-output.c (redisplay_move_cursor):
21125 * redisplay.c (create_text_block):
21126 * floatfns.c (Flogb):
21127 * glyphs-msw.c (mswindows_initialize_image_instance_mask):
21128 * glyphs-msw.c (xpm_to_eimage):
21129 * buffer.h (POINT_MARKER_P):
21130 * syntax.c (scan_lists):
21131 * cmdloop.c (Fcommand_loop_1):
21132 * widget.c (Fwidget_apply):
21133 * regex.c (STREQ):
21134 Remove extra parens, esp. of the form ((expr))
21135
21136 * floatfns.c (Flogb): Make 64-bit clean.
21137
21138 1999-12-12 Daniel Pittman <daniel@danann.net>
21139
21140 * configure.in:
21141 * configure.usage:
21142 Clean up Athena widget support:
21143 - Add `with-athena' to select a variant.
21144 - Remove all `athena3d' options.
21145 - Robust detection of Athena libraries and headers.
21146 - Refuse to build with mismatched library and headers.
21147 - Only build a 3d Athena if the user asks for it.
21148
21149 1999-12-21 Andy Piper <andy@xemacs.org>
21150
21151 * redisplay.c (redisplay_frame): check for faces changed when
21152 reseting subwindow caches.
21153
21154 * glyphs.h (struct ii_keyword_entry): add copy_p.
21155 (struct image_instantiator_methods): add query_geometry_method and
21156 layout_children_method.
21157 (IIFORMAT_VALID_GENERIC_KEYWORD): new macro to take into account
21158 copying characteristics of keywords.
21159 (IIFORMAT_VALID_NONCOPY_KEYWORD): new macro for defining keywords
21160 whose arguments should not be copied by the specifier code.
21161 (image_instance_geometry): new enum for layouts.
21162 (struct Lisp_Image_Instance): re-jig for layouts and update
21163 macros.
21164
21165 * glyphs.c (string_instantiate): rename variables.
21166 (image_instantiate): add strings to those widgets that are
21167 instantiated per-window.
21168 (image_copy_vector_instantiator): new function for copying glyph
21169 specifier instantiators.
21170 (image_copy_instantiator): ditto.
21171
21172 * glyphs-x.c (x_update_subwindow): use new face update functions.
21173 (update_widget_face): update to use new lwlib arg functions.
21174 (update_tab_widget_face): new function for updating tab control
21175 label faces.
21176 (x_widget_instantiate): use new face update functions and new
21177 lwlib arg functions.
21178 (x_tab_control_instantiate): ditto.
21179 (x_tab_control_set_property): ditto.
21180
21181 * glyphs-widget.c (VALID_GUI_KEYWORDS): use NONCOPY keyword for
21182 callbacks and other things that could recurse.
21183 (VALID_GUI_KEYWORDS):
21184
21185 * event-msw.c: fix cpp stuff for cygwin < b20.
21186
21187 * config.h.in: move uid_t and friends to before the s&m files so
21188 that they can be used there.
21189
21190 * Makefile.in.in (debug-temacs): new target that adds emacs
21191 environment before invoking gdb.
21192
21193 * lwlib.h (_widget_args): new structure for holding widget
21194 args. It is reference counted so that we don't have to copy Xt
21195 args.
21196 (_widget_value): remove widget args. Add reference to widget_args.
21197
21198 * lwlib.c (free_widget_value_contents): free widget args using
21199 free_widget_value_args.
21200
21201 * lwlib-Xaw.c (xaw_update_one_widget): use new arg packet.
21202 (xaw_update_one_widget): use XtIsSubclass for determining labels.
21203
21204 * lwlib.c (lw_add_value_args_to_args): modify to use our reference
21205 counted arg packet.
21206 (lw_add_widget_value_arg): new function. Add an arg to the arg
21207 packet.
21208 (free_widget_value_args): new function. Remove a reference counted
21209 arg packet.
21210 (lw_copy_widget_value_args): new function. Copy reference counted
21211 arg packet.
21212 (merge_widget_value_args): new function. Do a merge of widget
21213 args.
21214 (merge_widget_value): use it.
21215 (copy_widget_value_tree): copy widget args using reference
21216 counting, since we can't easily copy the args we have been given.
21217
21218 * specifier.h (struct specifier_methods): add copy_instantiator_method.
21219
21220 * specifier.c (build_up_processed_list): use
21221 copy_instantiator_method if defined.
21222
21223 1999-12-19 Martin Buchholz <martin@xemacs.org>
21224
21225 * fns.c (Ffillarray): Use O(N), not O(N^2) algorithm for strings.
21226
21227 1999-12-19 Hrvoje Niksic <hniksic@iskon.hr>
21228
21229 * profile.c (sigprof_handler): FUN retrieved from the backtrace
21230 can also be a cons representing anonymous interpreted function.
21231
21232 1999-12-18 Martin Buchholz <martin@xemacs.org>
21233
21234 * fns.c (mapcar1):
21235 (Fmapconcat):
21236 (Fmapcar):
21237 (Fmapvector):
21238 Docstring fixes. Make them consistent with the lispref and ANSI Lisp.
21239
21240 1999-12-17 Martin Buchholz <martin@xemacs.org>
21241
21242 * print.c (print_internal): print ?+ instead of ?\+, etc...
21243 Make printing a little more efficient.
21244 Prevent buffer overflow if sizeof EMACS_INT > 8.
21245 My first 128-bit fix!
21246
21247 1999-12-14 Karl M. Hegbloom <karlheg@inetarena.com>
21248
21249 * filelock.c (unlock_all_files): GC_CONSP should be CONSP
21250
21251 1999-12-17 Martin Buchholz <martin@xemacs.org>
21252
21253 * database.c:
21254 * window.c:
21255 * event-stream.c:
21256 Remove last vestigial uses of GC_*
21257
21258 * fns.c (mapcar1): Fix ***THREE*** obscure crashes in one function!
21259 - Two of those involve evil mapping functions that destructively
21260 modify a list being mapped over.
21261 - Any garbage collection when mapping over a string could cause a
21262 crash (typically in mapconcat).
21263
21264 1999-12-08 Adrian Aichner <adrian@xemacs.org>
21265
21266 * s\windowsnt.h (DIRECTORY_SEP): Initialize from
21267 `Vdirectory_sep_char'.
21268
21269 * lisp.h: Add declaration for `Vdirectory_sep_char' to allow
21270 customization of `DIRECTORY_SEP' under native Windows NT.
21271
21272 1999-12-14 Katsumi Yamaoka <yamaoka@jpl.org>
21273
21274 * buffer.c (Fbury_buffer): Add directions to the docstring.
21275
21276 1999-12-14 Martin Buchholz <martin@xemacs.org>
21277
21278 * XEmacs 21.2.24 is released.
21279
21280 1999-12-13 Martin Buchholz <martin@xemacs.org>
21281
21282 * sound.c (vars_of_sound): Provide esd-sound if HAVE_ESD_SOUND
21283
21284 * nas.c: Fix compiler warnings. Ansify. C++ compilation support.
21285
21286 1999-12-13 Kazuyuki IENAGA <ienaga@jsys.co.jp>
21287
21288 * input-method-xlib.c: Make sure src/ does not use Athena, except
21289 indirectly through lwlib.
21290
21291 1999-12-13 Gunnar Evermann <ge204@eng.cam.ac.uk>
21292
21293 * dbxrc (pobj): Add opaque_ptr, remove opaque_list.
21294
21295 1999-12-10 Shenghuo ZHU <zsh@cs.rochester.edu>
21296
21297 * file-coding.c (add_coding_system_to_list_mapper):
21298 - (coding-system-list) should list aliases correctly.
21299
21300 1999-12-07 Andy Piper <andy@xemacs.org>
21301
21302 * fileio.c (vars_of_fileio): directory separator fix from Mike Alexander.
21303 * windowsnt.h (ditto):
21304
21305 1999-11-27 Adrian Aichner <adrian@xemacs.org>
21306
21307 * sysfile.h: Encapsulate `fstat' for Windows NT just like stat to
21308 get consistent file modification times.
21309
21310 * sysdep.h: Declare `wait_for_termination' to use process handle,
21311 not PID, on Windows NT native.
21312
21313 * sysdep.c (wait_for_termination): Use process handle, not PID, on
21314 Windows NT native. Set exit code correctly on Windows NT.
21315 (sys_subshell): Use process handle, not PID,
21316 on Windows NT native.
21317 (sys_fstat): Add ENCAPSULATE_FSTAT for Windows NT.
21318
21319 * process-nt.c (nt_create_process): Remove negative pid hack for
21320 Windows 95.
21321 (nt_send_process): Declare vol_proc volatile.
21322 (get_internet_address): warn_when_safe if IP address cannot be
21323 found.
21324 (nt_open_network_stream): warn_when_safe if network stream fails
21325 to open.
21326
21327 * ntproc.c (create_child): Remove negative pid hack for Windows
21328 95. Remove incorrect and unnecessary USE_UNION_TYPE handling.
21329
21330 * nt.c (fstat): Encapsulate for Windows NT just like stat to get
21331 consistent file modification times.
21332
21333 * callproc.c (call_process_cleanup): Use process handle, not PID,
21334 on Windows NT native.
21335 (Fcall_process_internal): Ditto. Close fd_error in parent. Don't
21336 check for negative pid on Windows NT/9[58].
21337
21338 1999-12-07 Martin Buchholz <martin@xemacs.org>
21339
21340 * XEmacs 21.2.23 is released.
21341
21342 1999-12-06 Martin Buchholz <martin@xemacs.org>
21343
21344 * events.c (Fcopy_event): Don't copy the lrecord_header.
21345
21346 * lisp.h (DO_REALLOC):
21347 Optimize.
21348 Remove redundant parens.
21349 Remove generic hygienic macro comment.
21350
21351 * lrecord.h (set_lheader_implementation): Remove redundant parens.
21352
21353 1999-12-05 Martin Buchholz <martin@xemacs.org>
21354
21355 * lstream.c (Lstream_adding):
21356 - Never compare a size_t and a possibly negative number.
21357 - Optimize.
21358
21359 1999-12-05 Kyle Jones <kyle_jones@wonderworks.com>
21360
21361 * lisp/itimer.el: (require 'lisp-float-type). Use
21362 floats directly in itimer-time-difference.
21363
21364 1999-12-05 Andy Piper <andy@xemacs.org>
21365
21366 * redisplay-output.c (redisplay_output_layout): avoid name hiding.
21367
21368 * gui.h: declare gui_add_item_keywords_to_plist.
21369
21370 * window.c (Fdelete_window): mark subwindows as changed so that
21371 they can be GC'd if necessary.
21372
21373 1999-12-02 Jan Vroonhof <vroonhof@math.ethz.ch>
21374
21375 * src/callproc.c (Fcall_process_internal): Be careful in writing
21376 terminating null when copying args. nargs can be < 4.
21377 Idea from Klaus Frank <klausf@i3.informatik.rwth-aachen.de>
21378
21379 1999-11-29 Kyle Jones <kyle_jones@wonderworks.com>
21380
21381 * src/sound.c (Fding): Remove zero initialization of
21382 static variables to avoid crashes on systems that dump
21383 the initialized data segment read-only.
21384
21385 1999-12-05 Jan Vroonhof <vroonhof@math.ethz.ch>
21386
21387 * glyphs-x.c (convert_EImage_to_XImage): Guard against other
21388 visual classes. From Rasmus Borup Hansen <rbh@math.ku.dk>
21389
21390 1999-12-04 Martin Buchholz <martin@xemacs.org>
21391
21392 * lstream.c: (filedesc_reader):
21393 (filedesc_writer): Try number 2: Support broken systems where
21394 return type of read() and write() is different from ssize_t.
21395
21396 * systty.h:
21397 * sysdep.h:
21398 * sysdep.c:
21399 - Replace macro calls to EMACS_GET_TTY and EMACS_SET_TTY with
21400 function equivalents emacs_get_tty() and emacs_set_tty().
21401 - Moved prototypes to systty.h, where struct event_tty is defined.
21402 - Renamed bogus `waitp' parameter to `flushp'.
21403
21404 * lstream.c (filedesc_reader): Support broken systems where return
21405 type of read() is different from ssize_t.
21406
21407 * events.c (Fcopy_event): Avoid redundant EQ test if event2 is nil.
21408
21409 * event-stream.c (menu_move_up): Remove redundant if block.
21410 (menu_move_down): Gratuitous rewriting.
21411 (menu_move_left): Work around Cygnus codefusion-990706 compiler bug.
21412 (menu_move_right): Ditto.
21413
21414 * lrecord.h (copy_lcrecord):
21415 (zero_lcrecord):
21416 Always add parentheses around uses of macro arguments.
21417
21418 * sysdll.c: #include <stdlib.h> for exit().
21419 * unexhp9k800.x: #include <stdlib.h> for malloc().
21420 Use proper prototype for Save_Shared_Data(void).
21421
21422 1999-12-04 Jan Vroonhof <vroonhof@math.ethz.ch>
21423
21424 * src/redisplay.c (point_would_be_visible): Correct for topclip.
21425
21426 1999-12-02 Hrvoje Niksic <hniksic@iskon.hr>
21427
21428 * lisp.h: Declare Qself_insert_defer_undo.
21429
21430 * event-stream.c (Fdispatch_event): Get the magic undo thing from
21431 a symbol property, so commands other than self-insert-command can
21432 install it.
21433 (syms_of_event_stream): Define Qself_insert_defer_undo.
21434
21435 1999-11-30 Martin Buchholz <martin@xemacs.org>
21436
21437 * floatfns.c (emacs_rint): Rename rint to emacs_rint, so that
21438 `#undef HAVE_RINT' works.
21439
21440 * sysdep.h: Fix up prototypes for sys_read_1(), sys_write_1()
21441
21442 1999-11-25 Andy Piper <andy@xemacs.org>
21443
21444 * select-msw.c (Fmswindows_set_clipboard): selection fixes from
21445 Mike Alexander.
21446 (Fmswindows_delete_selection): ditto.
21447
21448 * redisplay.h (CLASS_REDISPLAY_FLAGS_CHANGEDP): add size_changed.
21449 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
21450
21451 * redisplay.c (redisplay_device): move size changed to macros in
21452 redisplay.h
21453 (redisplay_without_hooks): ditto.
21454
21455 * redisplay-output.c (redisplay_output_layout): rename to avoid
21456 name hiding.
21457
21458 * process-nt.c (struct nt_process_data): mks toolkit fixes from
21459 Mike Alexander.
21460 (nt_create_process): ditto.
21461 (nt_send_process): ditto.
21462
21463 * nt.c (init_environment): make sure mingw32 gets the cached
21464 system info.
21465
21466 * gui.h: declare gui_add_item_keywords_to_plist.
21467
21468 * event-msw.c (mswindows_wnd_proc): Clipboard fixes from Mike
21469 Alexander.
21470
21471 * console-msw.h: fix cygwin define/header 1.0 problems.
21472 * glyphs-msw.c: ditto.
21473 * ntplay.c: ditto.
21474 * unexcw.c: ditto.
21475 * s/cygwin32/h: ditto.
21476
21477 1999-11-29 XEmacs Build Bot <builds@cvs.xemacs.org>
21478
21479 * XEmacs 21.2.22 is released
21480
21481 1999-11-28 Martin Buchholz <martin@xemacs.org>
21482
21483 * XEmacs 21.2.21 is released.
21484
21485 1999-11-26 Martin Buchholz <martin@xemacs.org>
21486
21487 * callproc.c (Fcall_process_internal):
21488 * config.h.in:
21489 * esd.c:
21490 * event-msw.c (ntpipe_slurp_reader):
21491 * event-msw.c (ntpipe_shove_writer):
21492 * event-msw.c (winsock_reader):
21493 * event-msw.c (winsock_writer):
21494 * event-stream.c (dribble_out_event):
21495 * fileio.c:
21496 * fileio.c (Fexpand_file_name):
21497 * glyphs-x.c (write_lisp_string_to_temp_file):
21498 * gpmevent.c (tty_get_foreign_selection):
21499 * lisp.h: Update prototypes.
21500 * lstream.c (Lstream_flush_out):
21501 * lstream.c (Lstream_write_1):
21502 * lstream.c (Lstream_was_blocked_p):
21503 * lstream.c (Lstream_read_more):
21504 * lstream.c (Lstream_read):
21505 * lstream.c (Lstream_fputc):
21506 * lstream.c (make_stdio_output_stream):
21507 * lstream.c (stdio_flusher):
21508 * lstream.c (stdio_closer):
21509 * lstream.c (make_filedesc_output_stream):
21510 * lstream.c (errno_would_block_p):
21511 * lstream.c (filedesc_writer):
21512 * lstream.c (make_lisp_string_input_stream):
21513 * lstream.c (make_fixed_buffer_output_stream):
21514 * lstream.c (fixed_buffer_reader):
21515 * lstream.c (make_resizing_buffer_output_stream):
21516 * lstream.c (make_dynarr_output_stream):
21517 * lstream.c (make_lisp_buffer_output_stream):
21518 * lstream.c (lisp_buffer_reader):
21519 * lstream.h (lstream_implementation):
21520 * md5.c (Fmd5):
21521 * miscplay.h (reset_parsestate):
21522 * process-nt.c (nt_send_process):
21523 * process-unix.c (unix_send_process):
21524 * sound.c:
21525 * sysdep.c (sys_close):
21526 * sysdep.c (sys_read_1):
21527 * sysdep.c (sys_write_1):
21528 * sysfile.h:
21529 * file-coding.c (determine_real_coding_system):
21530 * file-coding.c (Fdetect_coding_region):
21531 * file-coding.c (struct decoding_stream):
21532 * file-coding.c (decoding_reader):
21533 * file-coding.c (Fdecode_coding_region):
21534 * file-coding.c (struct encoding_stream):
21535 * file-coding.c (encoding_reader):
21536 * file-coding.c (Fencode_coding_region):
21537 * file-coding.c (convert_to_external_format):
21538 * file-coding.c (convert_from_external_format):
21539 - Lstream functions mirror Unix98 read(),write(). Therefore use
21540 Unix98 types size_t and ssize_t.
21541 - Try to make Lstream* functions 64-bit clean. Someday someone
21542 may actually want to read from a Lstream with more than 2**32 bytes.
21543 - Add configure support for ssize_t.
21544 - Update all callers of Lstream_read and Lstream_write to
21545 use the new types.
21546 - Fix esd* initiated C++ compile errors.
21547 - Remove comments referring to `fpurge' - we don't want to call it
21548 even if it's there.
21549
21550 * lisp.h
21551 - Remove some lingering Lucid compiler support.
21552
21553 * lisp.h
21554 - Add prototype for Fdelete_process.
21555
21556 * gpmevent.c (Freceive_gpm_event): Remove unused variables.
21557
21558 1999-11-27 Martin Buchholz <martin@xemacs.org>
21559
21560 * Makefile.in.in (depend): Only update `depend' if there were changes.
21561
21562 1999-11-26 Martin Buchholz <martin@xemacs.org>
21563
21564 * editfns.c (get_system_name): Remove.
21565
21566 1999-11-26 Martin Buchholz <martin@xemacs.org>
21567
21568 * device-x.c (x_init_device):
21569 - Replace magic number `17' with equivalent expn using sizeof.
21570 - Replace strcmp with marginally more efficient memcmp.
21571 - Avoid using C++ reserved word `class'.
21572
21573 * file-coding.c (determine_real_coding_system):
21574 - Look for both initial and final -*- cookies.
21575 - Replace EQ (foo, Qnil) with NILP (foo)
21576 - Make searching for cookies more efficient.
21577 - Recognize only rfc 1521 characters in charset names.
21578
21579 1999-11-22 Kazuyuki IENAGA <kazz@imasy.or.jp>
21580
21581 * input-method-xlib.c (IMDestroyCallback): #ifdef'd by
21582 "THIS_IS_X11R6", because it shouldn't be evaluated unless X11R6.
21583 * input-method-xlib.c (IMInstantiateCallback): Ditto.
21584 * input-method-xlib.c (XIM_init_device): Revive XOpenIM function
21585 call for X11R5 systems.
21586 * input-method-xlib.c (XIM_delete_frame): Enabled XDestroyIC()
21587 again because XIM doesn't concern with frame deletion itself.
21588 The XIC will be cleared by XIM when XIM is closing (at XIM destroy
21589 callback).
21590
21591 1999-10-25 Kazuyuki IENAGA <kazz@imasy.or.jp>
21592
21593 * input-method-xlib.c: Added new lisp object Qxim_xlib.
21594 New macro xim_warn(str), xim_warn1(fmt,str) and xim_info(str).
21595 All the valid stderr_out were changed to those macros.
21596 (IMDestroyCallback): Don't test the XIC if the frame is not X
21597 frame.
21598 (IMInstantiateCallback): Treat the client_data as "device" not
21599 "frame" because the caller changed from frame to device.
21600 Here initializes XIM and activates XICs for each frame which
21601 doesn't have XIC.
21602 (XIM_init_device): Register the XIM instantiation callback which
21603 had been performed by XIM_init_frame() before.
21604 (XIM_delete_frame): Added a test for the XIM before clearing XIC.
21605 (XIM_init_frame): Placed an actual code for XIC activation which
21606 was moved from IMInstantiateCallback.
21607 (syms_of_input_method_xlib): New function which includes a symbol
21608 Qxim_xlib that uses in emacs.c.
21609
21610 * emacs.c: Added a function entry "syms_of_input_method_xlib" for
21611 input_method_xlib.
21612
21613 * symsinit.h: Added a declaration of "syms_of_input_method_xlib".
21614
21615 1999-11-05 Robert Pluim <rpluim@bigfoot.com>
21616
21617 * emacs.c (shut_down_emacs): Point users to PROBLEMS file
21618
21619 1999-11-16 Jan Vroonhof <vroonhof@math.ethz.ch>
21620
21621 * redisplay-output.c (compare_runes): Add comments about
21622 results from profiling.
21623
21624 * redisplay.h (struct rune): Do not use bitfields for members.
21625 (struct rune): Add various comments about further optimizations.
21626
21627 1999-11-19 Eric Darve <darve@crocco.stanford.edu>
21628
21629 * abbrev.c (abbrev_oblookup): Check whether wordend <= wordstart
21630 if Vabbrev_start_location is used too.
21631
21632 1999-10-27 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
21633
21634 * file-coding.c (detect_eol_type): Return CR when two
21635 sequential CR are found.
21636 (determine_real_coding_system): Check EOL type when coding:
21637 cookie is found and EOL type is not specified.
21638 Don't assume 8bit char as part of coding: cookie.
21639
21640 1999-10-26 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
21641
21642 * file-coding.c (determine_real_coding_system): Check if
21643 '-*-' exists. End searching for coding: cookie at the end
21644 of line. Check whether character before coding: is space,
21645 tab or ';'.
21646
21647 1999-11-07 William M. Perry <wmperry@aventail.com>
21648
21649 * gpmevent.c: Completely rewrote GPM mouse support for linux
21650 console. The TTY console and event stream are modified at run
21651 time, so this code can now be used as a module.
21652 (tty_get_foreign_selection): New function to allow pasting from
21653 other virtual consoles.
21654 (Fgpm_enable): New lisp-visible function to turn GPM on or off
21655 at run time.
21656
21657 * device-tty.c (tty_asynch_device_change): No longer need to
21658 notify GPM code of window/console height/width changes.
21659
21660 * console-tty.c (tty_init_console): Removed outdated GPM support
21661 that was part of the console/event code.
21662
21663 * event-Xt.c (emacs_Xt_select_console): Ditto
21664
21665 * event-Xt.c (emacs_Xt_unselect_console): Ditto
21666
21667 * event-unixoid.c (read_event_from_tty_or_stream_desc): Ditto
21668
21669 * frame-tty.c (console_type_create_frame_tty): Ditto
21670
21671 1999-11-17 Martin Buchholz <martin@xemacs.org>
21672
21673 * nt.c:
21674 * sysdep.c:
21675 * s/mingw32.h:
21676 * s/windowsnt.h:
21677 - Use Unix 98 types uid_t, gid_t, pid_t.
21678 - Define them.
21679
21680 1999-11-01 Olivier Galibert <galibert@pobox.com>
21681
21682 * alloc.c (reinit_alloc_once_early): Move purify_flag init...
21683 * emacs.c (main_1): ...here, to get the correct value even with
21684 the portable dumper.
21685
21686 1999-11-17 Martin Buchholz <martin@xemacs.org>
21687
21688 * lisp.h (BIT_VECTOR_LONG_STORAGE): Add extra parens. It's a macro!
21689
21690 * tooltalk.c (tt_build_string): Remove extra parens.
21691 * process.c (print_process): Remove extra parens.
21692 * buffer.h (BI_BUF_PTR_BYTE_POS):
21693 (BUF_PTR_BYTE_POS):
21694 (BI_BUF_BYTE_ADDRESS):
21695 (BI_BUF_BYTE_ADDRESS_BEFORE):
21696 (valid_memind_p):
21697 (bytind_to_memind):
21698 (memind_to_bytind):
21699 Remove extra parens. Inline functions are not macros.
21700
21701 * editfns.c (Fuser_login_name):
21702 (user_login_name):
21703 Use proper type uid_t.
21704
21705 1999-11-15 Martin Buchholz <martin@xemacs.org>
21706
21707 * syntax.c (complex_vars_of_syntax): Make more readable.
21708 (define_standard_syntax): New function.
21709
21710 * syntax.c (forward-comment): Gradually make XEmacs 64-bit-clean.
21711
21712 1999-11-14 Martin Buchholz <martin@xemacs.org>
21713
21714 * mule-ccl.c (CCL_WRITE_STRING): Fix compiler warnings.
21715
21716 1999-11-12 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
21717
21718 * mule-charset.h (LEADING_BYTE_OFFICIAL_1, LEADING_BYTE_OFFICIAL_2):
21719 New enum type to make sure no gap in the leading byte definition.
21720
21721 1999-11-11 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
21722
21723 * mule-charset.h (LEADING_BYTE_CYRILLIC_ISO_8859_5,
21724 LEADING_BYTE_LATIN_ISO8859_9): Moved to 0x8B and 0x8C
21725 to remove a hole in leading byte definition.
21726
21727 1999-11-10 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
21728
21729 * mule-charset.c (non_ascii_valid_charptr_p): Check if
21730 private charset is defined.
21731
21732 1999-11-09 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
21733
21734 * mule-ccl.c (ccl_driver): Make sure generated sequences
21735 are valid when doing `CCL_WRITE_STRING'.
21736 (ccl-execute-on-string): Pass CCL_MODE_DECODING to ccl_driver.
21737
21738 1999-11-10 XEmacs Build Bot <builds@cvs.xemacs.org>
21739
21740 * XEmacs 21.2.20 is released
21741
21742 1999-11-04 Martin Buchholz <martin@xemacs.org>
21743
21744 * mule-ccl.c (ccl_driver): Warning suppression
21745
21746 1999-11-01 SL Baur <steve@miho.m17n.org>
21747
21748 * emacs.c (main_1): Guard call to reinit_vars_of_debug when not
21749 building a debugged XEmacs.
21750
21751 1999-10-28 Andreas Jaeger <aj@suse.de>
21752
21753 * src/emacs.c (main_1): Don't set the malloc hooks if using
21754 DOUG_LEA_MALLOC.
21755
21756 1999-10-30 Olivier Galibert <galibert@pobox.com>
21757
21758 * alloc.c (pdump_dump_rtables): Don't forget to dump the last
21759 registered type.
21760 (pdump): Ditto.
21761
21762 1999-10-25 Olivier Galibert <galibert@pobox.com>
21763
21764 * emacs.c (main_1): Call reinit_vars_of_scrollbar_x.
21765
21766 * symsinit.h: Declare reinit_vars_of_scrollbar_x.
21767
21768 1999-10-25 Martin Buchholz <martin@xemacs.org>
21769
21770 * redisplay.h (CLASS_RESET_CHANGED_FLAGS):
21771 (GLOBAL_RESET_CHANGED_FLAGS):
21772 (CLASS_REDISPLAY_FLAGS_CHANGEDP):
21773 (RESET_CHANGED_SET_FLAGS):
21774 Fix C++ compile errors/warnings.
21775 These macros were just a tad too clever.
21776
21777 * process-unix.c (unix_open_network_stream):
21778 * objects-x.c (allocate_nearest_color):
21779 * mule-charset.c (vars_of_mule_charset):
21780 * fileio.c (Ffile_truename):
21781 * file-coding.c (vars_of_file_coding):
21782 Fix compile errors/warnings.
21783
21784 * alloc.c (xstrdup): Use fact that memcpy returns its first arg.
21785 (allocate_lisp_storage): Simplify.
21786
21787 1999-10-24 Olivier Galibert <galibert@pobox.com>
21788
21789 * conslots.h: Add defines with first and last slot names.
21790 * bufslots.h: Add defines with first and last slot names.
21791
21792 * buffer.c (common_init_complex_vars_of_buffer): Renamed from
21793 reinit_complex_vars_of_buffer
21794 (reinit_complex_vars_of_buffer): Reset the slots to the dumped
21795 value.
21796 (complex_vars_of_buffer): Dump the slots values.
21797
21798 * console.c (common_init_complex_vars_of_console): Renamed from
21799 reinit_complex_vars_of_console
21800 (reinit_complex_vars_of_console): Reset the slots to the dumped
21801 value.
21802 (complex_vars_of_console): Dump the slots values.
21803
21804 * alloc.c: Rename reloc_table to pdump_reloc_table, rt_list to
21805 pdump_rt_list and move them at the beginning of the file.
21806 (gc_sweep): Unmark pdumped objects after the sweep phase.
21807 (pdump_dump_rtables): Change a bare 256 to
21808 last_lrecord_type_index_assigned. Add a separator between the
21809 adresses or lrecords and the ones of C structs in the dump file.
21810 (pdump_load): Cope with the new separator and the renamings. Stop
21811 looking for the hash tables list after it has been found (duh!).
21812
21813 1999-10-24 Robert Bihlmeyer <robbe@orcus.priv.at>
21814
21815 * sound.c: support HAVE_ESD_SOUND
21816
21817 * miscplay.c:
21818 * miscplay.h:
21819 * linuxplay.c: Move large part of linuxplay to generalized file
21820 miscplay. Make it platform independent.
21821
21822 * esd.c: New file
21823
21824 1999-10-24 Adrian Aichner <adrian@xemacs.org>
21825
21826 * lisp.h (Dynarr_declare): Fix boo-boo.
21827
21828 1999-10-24 Olivier Galibert <galibert@pobox.com>
21829
21830 * process-unix.c (allocate_pty): Fix HAVE_GETPT.
21831 * process.h: Ditto.
21832
21833 1999-10-24 Jan Vroonhof <vroonhof@math.ethz.ch>
21834
21835 * redisplay.c (start_with_line_at_pixpos): Remove assert(cur_elt
21836 >=0). Handle the cur_elt == 0 case.
21837
21838 1999-10-24 Jan Vroonhof <vroonhof@math.ethz.ch>
21839
21840 * unexelf.c: Merge Martin's c++ fixes back in
21841
21842 1999-10-20 Jan Vroonhof <vroonhof@math.ethz.ch>
21843
21844 * unexelf.c (unexec): Only copy the global offset
21845 table from memory on sgi machines.
21846
21847 1999-08-13 Alexandre Oliva <oliva@dcc.unicamp.br>, Vin Shelton <acs@xemacs.org>
21848
21849 * unexelf.c: Enable GNU/Linux/alpha to build with gcc 2.95 by
21850 adding support for an sbss section. Get IRIX 5.2 to build using
21851 unexelf.c.
21852
21853 * m/iris4d.h: Use unexelf.o for unexec.
21854
21855 * m/iris5d.h: Use unexelf.o for unexec.
21856
21857 1999-10-24 Jan Vroonhof <vroonhof@math.ethz.ch>
21858
21859 * unexelf.c: Revert to 21.1 version
21860
21861 1999-08-28 Jan Vroonhof <vroonhof@math.ethz.ch>
21862
21863 * window.c (Fwindow_truncated_p): New function.
21864
21865 1999-08-25 Jonathan Marten <jonathan.marten@uk.sun.com>
21866
21867 * window.c (window_truncation_on): Always return 0 for minibuffer
21868 windows, to enable auto scrolling.
21869
21870 1999-10-24 Neal Becker <nbecker@fred.net>
21871 * process.h: Unix98 PTY support
21872
21873 1999-10-17 Jan Vroonhof <vroonhof@math.ethz.ch>
21874
21875 * fileio.c (Ffile_truename): Do proper mule decoding on
21876 the argument to xrealpath()
21877
21878 1999-08-19 Stephen Tse <stephent@sfu.ca>
21879
21880 * process-unix.c (unix_open_network_stream): Add udp network
21881 support; rename variable Qtcpip to Qtcp, parameter family to
21882 protocol for consistency with Qudp.
21883
21884 * process-nt.c (nt_open_network_stream): Rename variable Qtcpip to
21885 Qtcp, parameter family to protocol for consistency with Qudp.
21886
21887 * process.c (global_variables): Add a new variable Qudp for udp
21888 network support; rename variable Qtcpip to Qtcp for consistency
21889 with Qudp.
21890 (Fopen_network_stream_internal): Rename parameter FAMILY to
21891 PROTOCOL for consistency; fix a minor typo and add an explanation
21892 in docstring for udp programming.
21893 (Fopen_multicast_group_internal): Fix a minor typo in docstring.
21894 (syms_of_process): Add a new variable Qudp for udp network
21895 support; rename variable Qtcpip to Qtcp for consistency with Qudp.
21896
21897 * process.h (extern_variables): Add a new variable Qudp for udp
21898 network support; rename variable Qtcpip to Qtcp for consistency
21899 with Qudp.
21900
21901 * procimpl.h: Add a new variable Qudp for udp network support;
21902 rename variable Qtcpip to Qtcp for consistency with Qudp.
21903 (struct process_methods): Rename parameter family to protocol.
21904
21905
21906 1999-10-24 Olivier Galibert <galibert@pobox.com>
21907
21908 * alloc.c (pdump_make_hash): Divide pointers by 8 for a better hash.
21909
21910 1999-10-23 Olivier Galibert <galibert@pobox.com>
21911
21912 * lrecord.h (struct lrecord_header): Removed dumped flags.
21913
21914 * dynarr.c: Use DUMPEDP instead of dumped flag.
21915
21916 * lisp.h (DUMPEDP): Added. Removed dumped flag from dynarr.
21917
21918 * alloc.c: Removed hash_next linked list pointer.
21919
21920 * *.c *.h: Removed markobj and mark_object parameters, removed GC_
21921 and XGC macros.
21922
21923 1999-10-14 Andy Piper <andy@xemacs.org>
21924
21925 * redisplay-x.c (x_output_shadows): fix dodgy maths for border
21926 calculations.
21927
21928 * gutter.c (output_gutter): be more accurate about the area to be
21929 cleared since X seems to manage to do the clear after drawing the
21930 border.
21931
21932 * redisplay.h (RESET_CHANGED_FLAGS): new macro for setting
21933 redisplay flags as a group.
21934 (RESET_CHANGED_SET_FLAGS): ditto.
21935 (CLASS_RESET_CHANGED_FLAGS): ditto.
21936 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
21937 (REDISPLAY_FLAGS_CHANGEDP): new macro for testing redisplay flags
21938 as a group.
21939 (CLASS_REDISPLAY_FLAGS_CHANGEDP): ditto.
21940 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
21941
21942 * redisplay.c (redisplay_frame): use CLASS_RESET_CHANGED_FLAGS
21943 instead of setting flags individually.
21944 (redisplay_device): ditto CLASS_REDISPLAY_FLAGS_CHANGEDP.
21945 (redisplay_device): ditto.
21946 (redisplay_device): ditto CLASS_RESET_CHANGED_FLAGS.
21947 (redisplay_without_hooks): ditto GLOBAL_REDISPLAY_FLAGS_CHANGEDP.
21948 (redisplay_without_hooks): ditto CLASS_REDISPLAY_FLAGS_CHANGEDP.
21949 (redisplay_without_hooks): ditto.
21950 (redisplay_without_hooks): ditto GLOBAL_RESET_CHANGED_FLAGS.
21951
21952 * redisplay-x.c (x_output_string): unmap subwindows in the area.
21953 (x_output_blank): ditto.
21954
21955 * redisplay-output.c (redisplay_output_display_block): don't unmap
21956 subwindows in case layout optimization can avoid it.
21957 (redisplay_output_subwindow): unmap subwindows in the area.
21958 (redisplay_output_layout): optimize the output of layouts - only
21959 output glyphs that have changed if nothing else of redisplay
21960 significance has occurred.
21961 (redisplay_output_pixmap): change args to
21962 redisplay_clear_clipped_region.
21963 (redisplay_clear_clipped_region): allow the clipped region to be
21964 cleared of all subwindows except the one passed in.
21965
21966 * redisplay-msw.c (mswindows_output_blank): unmap subwindows in
21967 the area.
21968 (mswindows_output_cursor): ditto.
21969 (mswindows_output_string): ditto.
21970
21971 * gutter.c (calculate_gutter_size): if the window buffer is nil
21972 then don't continue.
21973 (update_frame_gutters): be more lenient about when we actually
21974 update the gutter. Layout optimization makes this
21975 non-costly. Cache redisplay flags that we want to temporarily
21976 ignore.
21977
21978 * glyphs.c (Fglyph_animated_timeout_handler): handle image
21979 specific timeouts rather than iterating over the instance cache.
21980 (glyph_animated_timeout_mapper): deleted.
21981 (add_glyph_animated_timeout): use a weak list to hold onto the
21982 image so that it can be GC'ed.
21983 (disable_glyph_animated_timeout): disable a specific timeout.
21984 (vars_of_glyphs): disable-animated-pixmaps is a new boolean for
21985 controlling whether pixmaps are animated or not.
21986
21987 * glyphs-msw.c (mswindows_finalize_image_instance): make sure the
21988 image timeout gets disabled when the image gets freed.
21989
21990 * glyphs-eimage.c (gif_instantiate): remove meaningless
21991 comment. Cope with timeouts specified in the gif extension block.
21992
21993 * event-msw.c (vars_of_event_mswindows): new variable
21994 mswindows-meta-activates-menu.
21995 (mswindows_wnd_proc): only goto defproc with VK_MENU if the user
21996 wants it.
21997
21998 * glyphs-x.c (x_finalize_image_instance): delete mask first so
21999 that we can compare with image.
22000
22001 1999-10-14 Jonathan Harris <jhar@tardis.ed.ac.uk>
22002
22003 * event-msw.c (mswindows_key_to_emacs_keysym):
22004 Recognise keypad keys as different from normal keys.
22005
22006 1999-10-14 Didier Verna <didier@xemacs.org>
22007
22008 * glyphs-x.c (x_finalize_image_instance): avoid freeing null pixmaps.
22009
22010 1999-10-10 Olivier Galibert <galibert@pobox.com>
22011
22012 * symbols.c (init_symbols_once_early): dump Vquit_flag.
22013
22014 * symsinit.h: Updated.
22015
22016 * ntproc.c (vars_of_ntproc): Use defsymbol.
22017
22018 * emacs.c (main_1): Updated reinit calls.
22019
22020 * lisp.h: Removed Fpurecopy and pure_put declarations.
22021 * fns.c: Removed pure_put.
22022
22023 * eval.c (Fdefvar): pure_put -> Fput
22024 (Fdefconst): Ditto.
22025 * frame-x.c (init_x_prop_symbols): Ditto.
22026 * symbols.c (deferror): Ditto.
22027
22028 * alloc.c (Fmake_byte_code): Remove Fpurecopy call.
22029 * buffer.c (vars_of_buffer): Ditto.
22030 * bytecode.c (Ffetch_bytecode): Ditto.
22031 (optimize_compiled_function): Ditto.
22032 * emacs.c (vars_of_emacs): Ditto.
22033 * emodules.c (vars_of_module): Ditto.
22034 * eval.c (define_function): Ditto.
22035 (Fautoload): Ditto.
22036 * frame.c (vars_of_frame): Ditto.
22037 * intl.c (Fset_domain): Ditto.
22038 * lread.c (load_force_doc_string_unwind): Ditto.
22039 * menubar.c (vars_of_menubar): Ditto.
22040 * minibuf.c (reinit_complex_vars_of_minibuf): Ditto.
22041
22042 * debug.c (reinit_vars_of_debug): Extracted.
22043 * device-x.c (reinit_vars_of_device_x): Ditto.
22044 * emodules.c (reinit_vars_of_module): Ditto.
22045 * font-lock.c (reinit_vars_of_font_lock): Ditto.
22046 * glyphs-widget.c (reinit_vars_of_glyphs_widget): Ditto.
22047 * glyphs.c (reinit_vars_of_glyphs): Ditto.
22048 * gui-x.c (reinit_vars_of_gui_x): Ditto.
22049 * insdel.c (reinit_vars_of_insdel): Ditto.
22050 * menubar-x.c (reinit_vars_of_menubar_x): Ditto.
22051 * minibuf.c (reinit_complex_vars_of_minibuf): Ditto.
22052 * mule-wnnfns.c (reinit_vars_of_mule_wnn): Ditto.
22053 * print.c (reinit_vars_of_print): Ditto.
22054 * redisplay.c (reinit_vars_of_redisplay): Ditto.
22055 * select-x.c (reinit_vars_of_xselect): Ditto.
22056 * undo.c (reinit_vars_of_undo): Ditto.
22057
22058 1999-10-10 Olivier Galibert <galibert@pobox.com>
22059
22060 * symsinit.h: Updated declarations, see other ChangeLog entries.
22061
22062 * redisplay.c (init_redisplay): Ensure proper reinitialisation.
22063
22064 * lrecord.h (XD_DYNARR_DESC): Introduce XD_INT_RESET and use it.
22065
22066 * glyphs.c: Add the ii_keyword_entry and related descriptions.
22067 Fix the image_instantiator_methods one.
22068
22069 * file-coding.c: Plonk all data that needs to be dumped in a
22070 dynamically allocated structure.
22071
22072 * extents.c (reinit_vars_of_extents): Extracted from
22073 vars_of_extents.
22074
22075 * event-stream.c (vars_of_event_stream): Don't staticpro when
22076 pdump_wire is enough.
22077
22078 * event-msw.c (reinit_vars_of_event_mswindows): Extracted from
22079 vars_of_event_mswindows.
22080
22081 * event-Xt.c (reinit_vars_of_event_Xt): Extracted from
22082 vars_of_event_Xt.
22083
22084 * eval.c (vars_of_eval): Don't staticpro when pdump_wire is enough.
22085
22086 * emacs.c (main_1): Added some reinit calls.
22087
22088 * device-x.c (reinit_console_type_create_device_x): Extracted from
22089 console_type_create_device_x.
22090
22091 * console.h: Declare the console_type_entry_dynarr description.
22092
22093 * console.c: Unstatic the console_type_entry_dynarr description.
22094
22095 * alloc.c: Removed some dubious comments. Handle XD_INT_RESET.
22096
22097 1999-10-07 Olivier Galibert <galibert@pobox.com>
22098
22099 * symsinit.h: Updated declarations, see other ChangeLog entries.
22100
22101 * minibuf.c (reinit_complex_vars_of_minibuf): Extracted from
22102 complex_vars_of_minibuf.
22103
22104 * lrecord.h: Removed XD_PARENT_INDIRECT (unused and
22105 unimplemented), added XD_LO_LINK.
22106
22107 * lisp.h (pdump_wire_list): Add declaration.
22108
22109 * glyphs.h (INITIALIZE_DEVICE_IIFORMAT): Fix bug found by Andy.
22110 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): Fix stupid bug.
22111 (REINITIALIZE_IMAGE_INSTANTIATOR_FORMAT): Remove, useless once the
22112 stupid bug fixed.
22113
22114 * glyphs.c (reinit_image_instantiator_format_create): Remove.
22115
22116 * glyphs-x.c (reinit_image_instantiator_format_create_glyphs_x):
22117 Remove.
22118
22119 * glyphs-widget.c
22120 (reinit_image_instantiator_format_create_glyphs_widget): Remove.
22121
22122 * glyphs-msw.c
22123 (reinit_image_instantiator_format_create_glyphs_mswindows):
22124 Remove.
22125
22126 * glyphs-eimage.c
22127 (reinit_image_instantiator_format_create_glyphs_eimage): Remove.
22128
22129 * frame.c (Fmake_frame): Don't reset the face cache when using the
22130 stream device.
22131
22132 * file-coding.c: Dumped the_codesys_prop_dynarr and added all
22133 relevant descriptions.
22134
22135 * events.c (reinit_vars_of_events): Extracted from vars_of_events.
22136
22137 * eval.c: The subr is _not_ a lcrecord.
22138
22139 * emacs.c (main_1): Call vars_of_specifier early before any
22140 specifier creation (e.g in vars_of_glyphs, at least). Remove the
22141 useless reinit_image_instantiator_format*. Add
22142 reinit_vars_of_events and reinit_complex_vars_of_minibuf. Add
22143 calls to lstream_type_create* and process_type_create*.
22144
22145 * elhash.c: Dump Vall_weak_hash_tables correctly.
22146
22147 * data.c: Dump Vall_weak_lists correctly.
22148
22149 * console.c: Fix description.
22150
22151 * console-stream.c (init_console_stream): Do initializations
22152 correctly in the pdump case.
22153
22154 * chartab.c: Fix description. Dump Vall_syntax_tables correctly.
22155 (Fcopy_char_table): Link into Vall_syntax_tables.
22156
22157 * alloc.c (pdump_wire_list): Added.
22158 (Fgarbage_collect): Fix loop in stats couting missing the last
22159 lrecord type.
22160 (pdump_register_sub): Added XD_LO_LINK.
22161 (pdump_dump_data): Ditto. Fixed XD_LO_RESET_NIL forgttting the
22162 counter.
22163 (pdump_reloc_one): Ditto.
22164 (pdump_scan_by_alignement): Use last_lrecord_type_index_assigned
22165 instead of 256.
22166 (pdump_dump_wired): Added lists.
22167 (pdump): Use last_lrecord_type_index_assigned instead of 256.
22168 Dump last_lrecord_type_index_assigned value. Fix minor bugs.
22169
22170 1999-10-07 Andy Piper <andy@xemacs.org>
22171
22172 * glyphs-msw.c (mswindows_finalize_image_instance): zero out
22173 bitmap slices.
22174
22175 * glyphs-x.c (x_finalize_image_instance): fix FMW problem.
22176
22177 1999-10-06 Andy Piper <andy@xemacs.org>
22178
22179 * elhash.c (resize_hash_table): Correct reference to lrecord_header.
22180
22181 1999-10-06 Damon Lipparelli <lipp@primus.com>
22182
22183 * elhash.h: forward declare Lisp_Hash_Table.
22184
22185 1999-10-06 Andy Piper <andy@xemacs.org>
22186
22187 * glyphs.c (Fset_image_instance_property): mark glyphs as dirty
22188 after setting an image instance property.
22189
22190 1999-10-05 Andy Piper <andy@xemacs.org>
22191
22192 * gutter.c (update_frame_gutters): output gutters if
22193 windows_changed is set. This is the only way of catching changes
22194 in selected window which obviously can affect the specifiers.
22195
22196 * redisplay.c: new state flags, subwindows_state_changed and
22197 subwindows_state_changed set.
22198 (redisplay_window): use them.
22199 (redisplay_device): ditto.
22200 (redisplay_without_hooks): ditto.
22201 (redisplay_frame): ditto. Reset subwindow cachels if
22202 subwindows_changed is set.
22203 (redisplay_window): call mark_glyph_cachels_as_clean after
22204 redisplaying.
22205
22206 * redisplay-x.c (x_output_x_pixmap): select correct
22207 pixmap image for display depending on the currently selected
22208 slice.
22209
22210 * redisplay-output.c (compare_runes): check dirtiness when
22211 checking RUNE_DGLYPH runes.
22212 (compare_display_blocks): relax invalidation of display blocks
22213 since we can now detect whether individual glyphs have changed or
22214 not.
22215
22216 * redisplay-msw.c (mswindows_output_dibitmap): select correct
22217 bitmap image for display depending on the currently selected
22218 slice.
22219
22220 * glyphs.h (struct Lisp_Image_Instance): add a dirty flag.
22221 (IMAGE_INSTANCE_DIRTYP): new macro.
22222 (XIMAGE_INSTANCE_DIRTYP): ditto.
22223 (MARK_IMAGE_INSTANCE_CHANGED): ditto.
22224 (GLYPH_DIRTYP): ditto.
22225 (XGLYPH_DIRTYP): ditto.
22226 (MARK_GLYPH_CHANGED): ditto.
22227 (GLYPH_CACHEL_DIRTYP): ditto.
22228 (struct glyph_cachel): add a dirty flag.
22229
22230 * glyphs.c (update_frame_subwindows): Don't update on
22231 glyphs_changed.
22232 (glyph_animated_timeout_mapper): new function. Map over the
22233 instance cache lookinng for animated images to update.
22234 (Fglyph_animated_timeout_handler): new function. Lisp callback for
22235 handling animated image timeout events.
22236 (disable_glyph_animated_timeout): new function. Add the animated
22237 image timeout.
22238 (disable_glyph_animated_timeout): new function. Remove the
22239 animated image timeout.
22240 (syms_of_glyphs): initialize Qglyph_animated_timeout_handler and
22241 friends.
22242 (vars_of_glyphs): initialize Vglyph_animated_ticker.
22243 (image_instance_equal): add the currently displayed slice.
22244 (image_instance_hash): ditto.
22245 (allocate_glyph): initialize dirty flag.
22246 (glyph_width): rename glyph -> glyph_or_image.
22247 (glyph_height_internal): ditto.
22248 (glyph_dirty_p): new function. Determine whether the image
22249 instance in the domain and/or glyph is dirty.
22250 (set_glyph_dirty_p): set the dirtiness.
22251 (update_glyph_cachel_data): take dirtiness into account. Pass the
22252 image instance we are interested in to glyph_width and friends.
22253 (get_glyph_cachel_index): make non-static. Always call
22254 update_glyph_cachel_data.
22255 (mark_glyph_cachels_as_not_updated): meaningless formatting
22256 change.
22257 (mark_glyph_cachels_as_clean): new function. Clean dirtiness from
22258 glyph cachels.
22259
22260 * glyphs-x.h (struct x_image_instance_data): change
22261 pixmap to a list of pixmaps.
22262 (IMAGE_INSTANCE_X_PIXMAP_SLICE): new macro.
22263 (IMAGE_INSTANCE_X_PIXMAP_SLICES): ditto.
22264 (XIMAGE_INSTANCE_X_PIXMAP_SLICE): ditto.
22265 (XIMAGE_INSTANCE_X_PIXMAP_SLICES): ditto.
22266
22267 * glyphs-x.c (x_finalize_image_instance): make sure multi pixmap
22268 images get deleted properly.
22269 (init_image_instance_from_x_image): add slices paramater and use
22270 it to initialize x_image_instance_data correctly.
22271 (image_instance_add_x_image): new function. Add new pixmaps to our
22272 set of instantiated pixmaps for an image. Used by animated images.
22273 (x_init_image_instance_from_eimage): add a slices
22274 parameter. Instantiate all images from the eimage.
22275 (x_xpm_instantiate): update use of
22276 init_image_instance_from_x_image.
22277 (init_image_instance_from_xbm_inline): ditto.
22278 (x_initialize_pixmap_image_instance): add slices paramater and use
22279 it to allocate x_image_instance_data correctly.
22280
22281 * glyphs-msw.h (struct mswindows_image_instance_data): change
22282 bitmap to a list of bitmaps.
22283 (IMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICE): new macro.
22284 (IMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICES): ditto.
22285 (XIMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICE): ditto.
22286 (XIMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICES): ditto.
22287
22288 * glyphs-msw.c (init_image_instance_from_dibitmap): add slices
22289 paramater and use it to initialize mswindows_image_instance_data
22290 correctly.
22291 (image_instance_add_dibitmap): new function. Add new bitmaps to
22292 our set of instantiated bitmaps for an image. Used by animated
22293 images.
22294 (mswindows_init_image_instance_from_eimage): add a slices
22295 parameter. Instantiate all images from the eimage.
22296 (mswindows_xpm_instantiate): update use of
22297 init_image_instance_from_dibitmap.
22298 (bmp_instantiate): ditto.
22299 (init_image_instance_from_xbm_inline): ditto.
22300 (mswindows_finalize_image_instance): make sure all the bitmap
22301 slices get deleted.
22302 (mswindows_initialize_dibitmap_image_instance): add slices
22303 paramater and use it to allocate mswindows_image_instance_data
22304 correctly.
22305
22306 * glyphs-eimage.c (jpeg_instantiate): give extra paramter to
22307 init_image_instance_from_eimage.
22308 (png_instantiate): ditto.
22309 (tiff_instantiate): ditto.
22310 (gif_instantiate): allocate bitmaps for all gif slices not just
22311 the first one.
22312
22313 * device.h (struct device): add subwindows_state_changed flag.
22314 (MARK_DEVICE_SUBWINDOWS_STATE_CHANGED): new macro.
22315 (MARK_DEVICE_FRAMES_GLYPHS_CHANGED): ditto.
22316
22317 * console.h (struct console_methods): add a slice parameter to
22318 init_image_instance_from_eimage_method.
22319
22320 * redisplay.c (create_string_text_block): Allow buffer to be nil
22321 without crashing.
22322
22323 1999-09-24 Andy Piper <andy@xemacs.org>
22324
22325 * glyphs-x.c: only include gui-x.h if we are building with
22326 widgets.
22327
22328 * gui-x.c (vars_of_gui_x): only set popup_up_p if we have popups.
22329
22330 1999-09-28 Lee Kindness <lkindness@csl.co.uk>
22331
22332 * objects-x.c (allocate_nearest_color): will return 0 (failure)
22333 when the colormap is full and the color it has computed to be the
22334 'nearest' has been allocated read/write.
22335
22336 1999-10-02 Olivier Galibert <galibert@pobox.com>
22337
22338 * search.c (reinit_vars_of_search): Reinit the search cache
22339 correctly.
22340
22341 * elhash.h: Make the description visible. Declare
22342 resize_hash_table.
22343
22344 * elhash.c (resize_hash_table): Extracted from enlarge_hash_table
22345 to generalize the hash table reorganization.
22346 (reorganize_hash_table): Added.
22347 (enlarge_hash_table): Uses resize_has_table.
22348
22349 * casetab.c (complex_vars_of_casetab): staticpro the mule mirror
22350 tables.
22351
22352 * alloc.c: Add correct management of blocks of structures.
22353 Reorganize hash tables at reload since the hash values can change
22354 with the pointers.
22355
22356 1999-10-01 Olivier Galibert <galibert@pobox.com>
22357
22358 * lisp.h: Add pdump_wire declaration
22359
22360 * elhash.c (vars_of_elhash): Wire Vall_weak_hash_tables.
22361 * symbols.c (init_symbols_once_early): Wire Qnil and Qunbound.
22362
22363 * alloc.c (pdump_wire): Added..
22364 (pdump_load): Support it.
22365 (pdump): Support it
22366
22367 * glyphs-msw.c
22368 (reinit_image_instantiator_format_create_glyphs_mswindows): Fix
22369 macro calls.
22370
22371 1999-09-28 Olivier Galibert <galibert@pobox.com>
22372
22373 * symsinit.h: Added lots of prototypes.
22374
22375 * symeval.h: Added defsymbol_nodump declaration.
22376
22377 * symbols.c (find_symbol_value): Lame attempt at making the
22378 startup go further.
22379 (defsymbol_nodump): Added.
22380
22381 * mule-charset.c: Collapsed global lisp objects arrays in one
22382 dumpable structure.
22383
22384 * lrecord.h: Added some flags.
22385
22386 * lisp.h: Added dumped flag to dynarrs. Added dumpstruct
22387 declaration.
22388
22389 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): Don't
22390 staticpro dynamic variables.
22391
22392 * glyphs.c (reinit_specifier_type_create_image): Added.
22393 (image_instantiator_format_create): Dump image instantiator format
22394 dynarr.
22395 (reinit_image_instantiator_format_create): Added.
22396
22397 * emacs.c (main_1): Added reinits calls.
22398
22399 * dynarr.c: Protect dumped dynarrays from going berzek in free or
22400 realloc.
22401
22402 * specifier.h (INITIALIZE_SPECIFIER_TYPE): Don't staticpro dynamic
22403 variables.
22404 * specifier.c (specifier_type_create): Dump the specifier type
22405 dynarr.
22406 (reinit_specifier_type_create): Added.
22407 * console.h (INITIALIZE_CONSOLE_TYPE): Don't staticpro dynamic
22408 variables.
22409 * console.c (console_type_create): Dump the console type dynarr.
22410 (reinit_vars_of_console): Extracted from vars_of_console.
22411 (reinit_complex_vars_of_console): Extracted from
22412 complex_vars_of_console
22413 * window.c (reinit_vars_of_window): Extracted from vars_of_window.
22414 * toolbar.c (reinit_specifier_type_create_toolbar): Added.
22415 * search.c (reinit_vars_of_search): Extracted from vars_of_search.
22416 * objects.c (reinit_specifier_type_create_objects): Added.
22417 (reinit_vars_of_objects): Extracted from vars_of_objects.
22418 * lstream.c (reinit_vars_of_lstream): Extracted from
22419 vars_of_lstream.
22420 * lread.c (reinit_vars_of_lread): Extracted from vars_of_lread.
22421 * gutter.c (reinit_specifier_type_create_gutter): Added.
22422 * glyphs-x.c (reinit_image_instantiator_format_create_glyphs_x):
22423 Added.
22424 * glyphs-widget.c
22425 (reinit_image_instantiator_format_create_glyphs_widget): Added
22426 * glyphs-msw.c
22427 (reinit_image_instantiator_format_create_glyphs_mswindows): Added.
22428 * glyphs-eimage.c
22429 (reinit_image_instantiator_format_create_glyphs_eimage): Added.
22430 * event-stream.c (reinit_vars_of_event_stream): Extracted from
22431 vars_of_event_stream
22432 * eval.c (reinit_vars_of_eval): Extracted from vars_of_eval.
22433 * device.c (reinit_vars_of_device): Extracted from vars_of_device.
22434 * console-x.c (reinit_console_type_create_x): Added.
22435 * console-tty.c (reinit_console_type_create_tty): Added
22436 * console-stream.c (reinit_console_type_create_stream): Added.
22437 (init_console_stream): If PDUMP, always reinitialise basic
22438 devices.
22439 * console-msw.c (reinit_console_type_create_mswindows): Added.
22440 * buffer.c (reinit_vars_of_buffer): Extracted from
22441 init_vars_of_buffer.
22442 (reinit_complex_vars_of_buffer): Extracted from
22443 complex_vars_of_buffer
22444
22445 * alloc.c: Further with the portable dumping, the revenge.
22446 (dumpstruct): Added.
22447 (reinit_alloc_once_early): Extracted from init_alloc_once_early.
22448
22449 * specifier.c (sizeof_specifier): Correct size computation.
22450 (make_specifier_internal): Ditto.
22451
22452 1999-09-27 Olivier Galibert <galibert@pobox.com>
22453
22454 * alloc.c: Further with the portable dumping.
22455
22456 1999-09-27 Martin Buchholz <martin@xemacs.org>
22457
22458 * glyphs-x.c (update_widget_face): Remove bogus cast
22459
22460 * data.c (sign_extent_lisp):
22461 * data.c (check_int_range):
22462 * data.c (Faref):
22463 * data.c (Faset):
22464 * data.c (number_char_or_marker_to_int):
22465 * data.c (number_char_or_marker_to_double):
22466 * data.c (Frem):
22467 * data.c (Fmod):
22468 * extents.c (print_extent_1):
22469 * fns.c (print_bit_vector):
22470 * fns.c (Flength):
22471 * fns.c (Fsafe_length):
22472 * fns.c (copy_list):
22473 * fns.c (Fsubseq):
22474 * fns.c (Felt):
22475 * fns.c (Flast):
22476 * fns.c (Fnbutlast):
22477 * insdel.h:
22478 * marker.c (print_marker):
22479 * syntax.h:
22480 * bytecode.c (bytecode_arithcompare):
22481 * bytecode.c (bytecode_arithop):
22482 * lisp.h:
22483 * lisp.h (EXTERNAL_LIST_LOOP_DELETE_IF):
22484 * lisp.h (TRUE_LIST_P):
22485 * lisp.h (CHECK_TRUE_LIST):
22486 * lisp.h (bit_vector_length):
22487 * lisp.h (GCPRO4): Make consistent.
22488 * lisp.h (NGCPRO4): Make consistent.
22489 * lisp.h (NNGCPRO4): Make consistent.
22490 * alloc.c (Fmake_list):
22491 * alloc.c (Fmake_string):
22492 Use proper 64-bit types, e.g. EMACS_INT or size_t instead of int.
22493 This should make all arithmetic 64-bit clean.
22494
22495 Use %ld with (long) casts in print statements of types with sizes
22496 possibly larger than int.
22497
22498 Following functions had mismatched prototypes!!:
22499 do_marker_adjustment(), fixup_internal_substring(), scan_lists(),
22500 char_quoted(), make_string_from_buffer(),
22501 make_string_from_buffer_no_extents()
22502
22503 The types of Bufpos, Bytind, Memind, Bytecount, Charcount,
22504 Extcount are all now EMACS_INT. I hope to see the day when I can
22505 create a buffer with more than INT_MAX characters, without having
22506 XEmacs slow down to a crawl. I also hope to be able to create a
22507 list with more than INT_MAX cons cells.
22508
22509 * redisplay.c (decode_mode_spec):
22510 The %p and %P specs in the mode line were not correct for buffers
22511 larger than MAX_INT/100! The %p spec was off by .5% even for
22512 small buffers!
22513
22514 1999-09-27 Martin Buchholz <martin@xemacs.org>
22515
22516 * cmdloop.c (num_input_keys):
22517 * print.c (debug_temp):
22518 * emacs.c (Vinfo_directory):
22519 Delete unused variables
22520
22521 * console-x.h (x_interline_space): Mark as unimplemented.
22522 * redisplay-x.c (x_interline_space): Mark as unimplemented.
22523
22524 * event-Xt.c (pending_timeouts):
22525 * linuxplay.c (linuxplay_sndbuf):
22526 * profile.c (QS*):
22527 * search.c (searchbufs):
22528 * specifier.c (specifier_type_entry_dynarr):
22529 * undo.c (pending_boundary):
22530 * event-stream.c (the_low_level_timeout_blocktype):
22531 * extents.c (gap_array_marker_freelist):
22532 * extents.c (extent_list_marker_freelist):
22533 * print.c (being_printed):
22534 * print.c (alternate_do_pointer):
22535 * alloc.c (first_string_chars_block):
22536 * alloc.c (current_string_chars_block):
22537 * emacs.c (initial_argv):
22538 * emacs.c (initial_argc):
22539 * eval.c (lisp_eval_depth):
22540 * free-hook.c (pointer_table):
22541 * free-hook.c (free_queue):
22542 * free-hook.c (current_free):
22543 * free-hook.c (strict_free_check):
22544 * redisplay.c (formatted_string_emchar_dynarr):
22545 * redisplay.c (formatted_string_display_line):
22546 * redisplay.c (formatted_string_extent_dynarr):
22547 * redisplay.c (formatted_string_extent_start_dynarr):
22548 * redisplay.c (formatted_string_extent_end_dynarr):
22549 * redisplay.c (updating_line_start_cache):
22550 * redisplay.c (last_display_warning_tick):
22551 * redisplay.c (display_warning_tick):
22552 * redisplay.c (internal_cache):
22553 * window.c (Vwindow_configuration_free_list):
22554 Make static.
22555
22556 * redisplay.c (Vinitial_window_system): Make CONST.
22557
22558 1999-09-24 Martin Buchholz <martin@xemacs.org>
22559
22560 * redisplay-tty.c (term_get_fkeys_1): Minor aesthetic improvements.
22561
22562 * doprnt.c (get_doprnt_args): Use int, not short, with va_arg.
22563
22564 1999-09-24 Andy Piper <andy@xemacs.org>
22565
22566 * redisplay-output.c (output_display_line): only clear the borders
22567 if we are not displaying the gutter.
22568
22569 1999-09-24 Jan Vroonhof <vroonhof@math.ethz.ch>
22570
22571 * frame-x.c (x_any_window_to_frame): Let Xt find the widget and
22572 then use x_any_widget_or_parent_to_frame().
22573 (x_find_frame_for_window): remove special cases.
22574
22575 1999-09-24 Andy Piper <andy@xemacs.org>
22576
22577 * scrollbar-x.c (x_window_is_scrollbar): deleted.
22578 * scrollbar-x.h: ditto.
22579
22580 1999-09-23 Martin Buchholz <martin@xemacs.org>
22581
22582 * alloc.c (this_marks_a_marked_record): Remove.
22583
22584 * buffer.c (mark_buffer):
22585 * buffer.c (nuke_all_buffer_slots):
22586 * console.c (mark_console):
22587 * console.c (nuke_all_console_slots):
22588 * frame.c (mark_frame):
22589 * frame.c (nuke_all_frame_slots):
22590 Treat MARKED_SLOT() macros consistently.
22591
22592 * device.h (error_check_device_type):
22593 * faces.c (face_getprop):
22594 * fileio.c (DRIVE_LETTER):
22595 * filelock.c (lock_file_1):
22596 * frame-x.c (x_create_widgets):
22597 * frame.h (error_check_frame_type):
22598 * keymap.c (print_keymap):
22599 * keymap.c (Fkey_description):
22600 * keymap.c (where_is_recursive_mapper):
22601 * mule-charset.h (CHARSET_LEADING_BYTE):
22602 * objects-msw.c (mswindows_color_instance_hash):
22603 * objects.c (color_instance_equal):
22604 * objects.h (struct color_specifier):
22605 * objects.h (struct font_specifier):
22606 * objects.h (struct face_boolean_specifier):
22607 * opaque.h (get_opaque_ptr):
22608 * opaque.h (set_opaque_ptr):
22609 * process-unix.c (set_socket_nonblocking_maybe):
22610 * specifier.h (SPECIFIER_TYPE_P):
22611 * symbols.c (store_symval_forwarding):
22612 * syssignal.h (EMACS_KILLPG):
22613 * terminfo.c (emacs_tparam):
22614 * glyphs.c (glyph_putprop):
22615 * glyphs.c (glyph_remprop):
22616 * glyphs.c (Fimage_instance_subwindow_id):
22617 * window.c (mark_window):
22618 * window.c (mark_window_config):
22619 * window.c (Fset_window_configuration):
22620 * window.c (save_window_save):
22621 * eval.c (Fuser_variable_p):
22622 * eval.c (Fcommand_execute):
22623 * eval.c (Feval):
22624 * eval.c (Ffuncall):
22625 * lisp.h (XPNTR):
22626 * lisp.h (INT_OR_FLOATP):
22627 * lisp.h (GC_INT_OR_FLOATP):
22628 * lisp.h (XFLOATINT):
22629 * lisp.h (IS_ANY_SEP):
22630 * mule-ccl.c (Fccl_execute):
22631 * mule-ccl.c (Fccl_execute_on_string):
22632 * redisplay-x.c (x_output_string):
22633 Remove redundant extra parentheses.
22634
22635 1999-09-22 Martin Buchholz <martin@xemacs.org>
22636
22637 * chartab.c (word_boundary_p): Add prototype for warning avoidance.
22638 * eval.c (PRIMITIVE_FUNCALL): ANSIfy
22639 * free-hook.c (fun_ptr): ANSIfy
22640 * getloadavg.c: Remove declaration for errno.
22641 * gui.c (allocate_gui_item): ANSIfy
22642 * gui.h (allocate_gui_item): ANSIfy
22643 * mule-ccl.c (resolve_symbol_ccl_program): Make static
22644 * realpath.c: Remove K&R support.
22645 * redisplay-x.c (x_output_display_block): Don't shadow previous local
22646 * glyphs-widget.c (layout_instantiate): Don't shadow previous local
22647 * gutter.c (get_gutter_coords): Make static.
22648 * lread.c (locate_file_map_suffixes): Make static.
22649 * ralloc.c (relinquish): ANSIfy
22650 * redisplay.c:
22651 * lisp.h:
22652 Move prototypes from redisplay.c to lisp.h
22653
22654 1999-09-22 Martin Buchholz <martin@xemacs.org>
22655
22656 * glyphs-x.c (x_widget_set_property):
22657 - Remove unnecessary initialization.
22658 - Use char*, not Bufbyte *, with GET_C_STRING_OS_DATA_ALLOCA
22659 * glyphs-x.c (x_widget_instantiate):
22660 - Use char*, not Bufbyte *, with GET_C_STRING_OS_DATA_ALLOCA
22661 * unexelf.c (unexec):
22662 Add cast for C++ compilability.
22663 * redisplay.h:
22664 Fix a typo.
22665 * ralloc.c (r_alloc_reinit):
22666 SET_FUN_PTR was broken wrt ANSI aliasing!
22667 To compensate, use __typeof__ when using gcc, else live with
22668 possible (but rare) warnings.
22669 * ralloc.c (init_ralloc):
22670 Ditto
22671 * ralloc.c: Use the real dlmalloc prototype for __morecore.
22672 * lread.c (locate_file_map_suffixes):
22673 * input-method-xlib.c (XIM_init_frame):
22674 - Xlib functions should use XPointer, not XtPointer.
22675 * input-method-xlib.c (XIM_delete_frame):
22676 - Xlib functions should use XPointer, not XtPointer.
22677 * input-method-xlib.c (IMDestroyCallback):
22678 - Simplify.
22679 - XFRAME (obj) can never be NULL, so don't test for it.
22680 * gutter.h:
22681 Add GUTTER_POS_LOOP for iterating over all gutter_pos'es
22682 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
22683 Run c-backslash-region on macro body.
22684 * gutter.c (gutter_was_visible):
22685 Remove redundant parens - this is not a macro.
22686 * gutter.c (redraw_exposed_gutters):
22687 Use GUTTER_POS_LOOP.
22688 * gutter.c (gutter_specs_changed):
22689 Use GUTTER_POS_LOOP.
22690 * gutter.c (gutter_geometry_changed_in_window):
22691 Use GUTTER_POS_LOOP.
22692 * gutter.c (update_frame_gutters):
22693 Use GUTTER_POS_LOOP.
22694 * gutter.c (init_frame_gutters):
22695 Use GUTTER_POS_LOOP.
22696 * file-coding.c (determine_real_coding_system):
22697 Fix C++ compile error.
22698 * emodules.c (find_make_module):
22699 Cast return value from xrealloc
22700 * emacs.c (Fkill_emacs):
22701 Use __typeof__, when available.
22702 * emacs.c (voodoo_free_hook):
22703 Use __typeof__, when available.
22704 (Unfortunately, the type of __free_hook is glibc-version-dependent)
22705 * dired.c (user_cache): Use Bufbyte *, not char *
22706 * dired.c (Fuser_name_all_completions): Ditto.
22707
22708 1999-09-22 Andy Piper <andy@xemacs.org>
22709
22710 * redisplay.c (redisplay_frame): reset the gutter display lines
22711 when we reset the subwindows.
22712
22713 * gutter.c (reset_gutter_display_lines): new function.
22714
22715 * window.c (Flast_nonminibuf_window): new function equivalent to
22716 FRAME_LAST_NONMINIBUF_WINDOW ().
22717 (syms_of_window): declare it.
22718
22719 * redisplay.c (create_string_text_block): don't add bogus eol
22720 markers to gutter display lines.
22721
22722 * glyphs.c (reset_subwindow_cachels): make sure we unmap
22723 subwindows using unmap_subwindow so that expose events get
22724 registered correctly.
22725
22726 * window.c (window_scroll): use Vwindow_pixel_scroll_increment to
22727 determine how much to scroll the window.
22728 (vars_of_window): Vwindow_pixel_scroll_increment is a new
22729 variable.
22730
22731 1999-09-20 Robert Pluim <rpluim@nortelnetworks.com>
22732
22733 * glyphs-x.c (update_widget_face): Guard fontList declaration for
22734 non-motif uses.
22735
22736 1999-09-20 Andy Piper <andy@xemacs.org>
22737
22738 * glyphs-msw.c (mswindows_update_subwindow): update faces.
22739
22740 1999-09-19 Andy Piper <andy@xemacs.org>
22741
22742 * glyphs.c (update_frame_subwindows): update if faces have
22743 changed.
22744
22745 * glyphs-x.c (x_widget_instantiate): create the clip widget using
22746 lwlib rather than directly.
22747 (x_finalize_image_instance): delete the clip widget using lwlib.
22748 (x_update_subwindow): update widget faces.
22749 (update_widget_face): new function for updating the face
22750 properties of a widget.
22751 (x_widget_set_property): update widget faces.
22752
22753 * lwlib-Xlw.c (xlw_create_clip_window): new function. We need to
22754 manage the clip widgets using lwlib so that we can delete them in
22755 a safe manner.
22756
22757 1999-09-16 Martin Buchholz <martin@xemacs.org>
22758
22759 * lisp-union.h:
22760 * lisp-disunion.h:
22761 Define new, potentially faster INT arithmetic macros
22762 INT_PLUS, INT_MINUS, INT_PLUS1, INT_MINUS1
22763 * bytecode.c (execute_optimized_function):
22764 Use new macros.
22765 Fix metering code
22766 * bytecode.c (bytecode_negate):
22767 Optimize for integer case.
22768
22769 1999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
22770
22771 * m/mips.h: Support for mips-linux: Add !linux around places
22772 that are not valid for linux, define TEXT_START, DATA_START,
22773 DATA_SEG_BITS.
22774
22775 1999-09-16 Andy Piper <andy@xemacs.org>
22776
22777 * redisplay-output.c (redisplay_output_subwindow): clip subwindows
22778 that don't completely fit on-screen rather than just unmapping
22779 them.
22780
22781 * glyphs.h: change signature of map_subwindow.
22782
22783 * glyphs.c (map_subwindow): add display_glyph_area to the
22784 signature. make sure the mapped area saved in the subwindow_cachel
22785 reflects this.
22786 (Fforce_subwindow_map): make a no-op. I don't think this does
22787 anything useful.
22788
22789 * glyphs-x.h (struct x_subwindow_data): save the Display rather
22790 than the Screen. Add a clipwindow and clipwidget handle.
22791 (IMAGE_INSTANCE_X_CLIPWINDOW): new accessor.
22792 (IMAGE_INSTANCE_X_CLIPWIDGET): ditto.
22793 (XIMAGE_INSTANCE_X_CLIPWIDGET): ditto.
22794 (XIMAGE_INSTANCE_X_CLIPWINDOW): ditto.
22795
22796 * glyphs-x.c (x_finalize_image_instance): destroy the clipwidget
22797 as well as the widget itself.
22798 (x_unmap_subwindow): unmap the clipwindow and clipwidget rather
22799 than the widgets and subwindows themselves. move the widget inside
22800 the clipwidget.
22801 (x_subwindow_instantiate): hold onto the Display rather than the
22802 Screen. allocate a clipwindow to put the subwindow inside.
22803 (x_resize_subwindow): use saved Display directly.
22804 (x_widget_instantiate): allocate a clipwidget of type EmacsManager
22805 to put widgets inside.
22806
22807 * glyphs-widget.c: remove group stuff.
22808
22809 * glyphs-msw.h (struct mswindows_subwindow_data): new structure to
22810 hold the clipwindow.
22811 (IMAGE_INSTANCE_MSWINDOWS_CLIPWINDOW): new accessor.
22812 (XIMAGE_INSTANCE_MSWINDOWS_CLIPWINDOW): ditto.
22813
22814 * glyphs-msw.c: remove group stuff.
22815 (mswindows_finalize_image_instance): destroy clipwindow as well as
22816 the widget itself.
22817 (mswindows_unmap_subwindow): unmap the clipwindow rather than the
22818 widget.
22819 (mswindows_map_subwindow): ditto. move the widget within the
22820 clipwindow.
22821 (mswindows_subwindow_instantiate): allocate and initialize
22822 mswindows_subwindow_data. allocate a clipwindow with the subwindow
22823 as a child.
22824 (mswindows_widget_instantiate): ditto.
22825 (mswindows_control_wnd_proc): new function that allows us to
22826 propagate events from the widget to the main windows control loop.
22827
22828 * device-msw.c (mswindows_init_device): register new widget clip window
22829 class.
22830
22831 * console.h (struct console_methods): add display_glyph_area to
22832 map_window.
22833
22834 * console-msw.h: declare new window class and wnd proc for
22835 widgets.
22836
22837 1999-09-14 Martin Buchholz <martin@xemacs.org>
22838
22839 * general.c:
22840 * eldap.c:
22841 Move symbols used only by eldap.c into eldap.c as statics.
22842
22843 1999-09-09 Martin Buchholz <martin@xemacs.org>
22844
22845 * window.c (syms_of_window):
22846 * symbols.c (syms_of_symbols):
22847 * redisplay.c (syms_of_redisplay):
22848 * print.c (syms_of_print):
22849 * lisp.h:
22850 * intl.c (syms_of_intl):
22851 * general.c (syms_of_general):
22852 * frame.c (syms_of_frame):
22853 * fileio.c (syms_of_fileio):
22854 * file-coding.h:
22855 * file-coding.c (syms_of_file_coding):
22856 * extents.c (syms_of_extents):
22857 * event-stream.c (syms_of_event_stream):
22858 * event-stream.c (Fnext_event):
22859 * device.c (syms_of_device):
22860 * data.c (syms_of_data):
22861 * casetab.c (syms_of_casetab):
22862 * casetab.c (check_case_table):
22863 * callint.c (syms_of_callint):
22864 * buffer.c (syms_of_buffer):
22865 Delete unused C symbols:
22866 Qbuffer_file_name, Qbuffer_undo_list, Quser_variable_p,
22867 Qcurrent_prefix_arg, Qtranslate_table, Qkeywordp,
22868 Qnumber_or_marker_p, Qcons, Qkeyword, Qignore, Qdelete_device,
22869 Qcommand_execute, Qglyph_invisible,
22870 Qbuffer_file_coding_system, Qfile_name_handler_alist,
22871 Qframe_x_p, Qframe_tty_p, Qblack, Qkeyboard, Qmenubar, Qpath,
22872 Qvector, Qwhite, Qcase, Qdomain, Qalternate_debugging_output,
22873 Qprint_escape_newlines, Qprint_readably, Qfloat_output_format,
22874 Qwindow_scroll_functions, Qfboundp, Qscroll_up, Qscroll_down
22875
22876 Rename symbols as required by the CHECK_RECORD macro:
22877 - Qcase_table_p to Qcase_tablep
22878 - Qcoding_system_p to Qcoding_systemp
22879
22880 * debug.h:
22881 * debug.c (syms_of_debug):
22882 Make debug.c's internal Lisp_Objects static.
22883
22884 * events.c (vars_of_events):
22885 * events.c (syms_of_events):
22886 Use regular old defsymbol instead of KEYSYM + staticpro().
22887
22888 * select-x.c (CHECK_CUTBUFFER):
22889 Rewrite in accordance with coding standards.
22890
22891 * keymap.c (syms_of_keymap):
22892 Use SPC in the same way as RET, TAB, etc.
22893
22894 1999-08-27 Jan Vroonhof <vroonhof@math.ethz.ch>
22895
22896 * xemacs-20/src/menubar-x.c (make_dummy_xbutton_event): Don't add
22897 offset twice if HAVE_WMCOMMAND is defined.
22898
22899 1999-09-13 Mike McEwan <mike@lotusland.demon.co.uk>
22900
22901 * redisplay-x.c (x_output_vertical_divider): make sure
22902 shadow_thickness is positive.
22903
22904 1999-09-10 Julian Back <jback@rudd.compulink.co.uk>
22905
22906 * process-nt.c (nt_create_process): fixup to cope with
22907 Vprocess_environment.
22908
22909 1999-09-02 Andy Piper <andy@xemacs.org>
22910
22911 * redisplay-output.c (redisplay_output_layout): call output
22912 routines with clear_clip false. output layout borders with text
22913 correctly.
22914
22915 * redisplay-msw.c (mswindows_output_blank): call output routines
22916 with clear_clip true.
22917 (mswindows_output_string): ditto.
22918 (mswindows_output_display_block): ditto.
22919
22920 * redisplay-x.c (x_output_display_block): call output routines
22921 with clear_clip true.
22922
22923 * redisplay.h: fix output routines for clear_clip parameter.
22924
22925 * redisplay-output.c (redisplay_output_layout): cope with glyphs
22926 in the border.
22927
22928 * glyphs-widget.c (layout_instantiate): deal with border glyphs.
22929 (check_valid_glyph_or_instantiator): renamed from
22930 check_valid_glyph_or_image.
22931 (check_valid_border): allow glyphs or their instantiators.
22932 (check_valid_glyph_or_instantiator_list): renamed from
22933 check_valid_glyph_or_image_list,
22934 (glyph_instantiator_to_glyph): new function. make sure a glyph is
22935 a glyph and not an instantiator.
22936 (substitute_keyword_value): new function. replace a keyword value
22937 with a new one.
22938
22939 1999-09-01 Andy Piper <andy@xemacs.org>
22940
22941 * glyphs.c (string_set_property): new function to set the data of
22942 a string.
22943 (image_instantiator_format_create): use it.
22944
22945 1999-09-07 Hrvoje Niksic <hniksic@srce.hr>
22946
22947 * fns.c (Fmapc): Rename back to Fmapc_internal.
22948
22949 1999-07-30 Gleb Arshinov <gleb@cs.stanford.edu>
22950
22951 * ntheap.h: CONST (semantically constant) name field of file_data
22952 struct
22953
22954 * unexnt.c (open_output_file): match function definition with
22955 function declaration
22956
22957 * editfns.c: #include "sysfile.h" for getcwd() prototype
22958
22959 * gif_io.c: #include "sysfile.h" for close() prototype
22960
22961 1999-09-02 Martin Buchholz <martin@xemacs.org>
22962
22963 * elhash.c:
22964 * elhash.h:
22965 Change the :type keyword to :weakness, for compatibility with the
22966 GNU Emacs 20.5 hash table implementation.
22967 Keep (but don't document) the :type keyword for compatibility.
22968 Obsolete function hash-table-type
22969 General cleanup.
22970 Define function sxhash for compatibility with Common Lisp and GNU Emacs.
22971
22972 1999-09-01 Martin Buchholz <martin@xemacs.org>
22973
22974 * floatfns.c (arith_error):
22975 * floatfns.c (range_error):
22976 * floatfns.c (range_error2):
22977 * floatfns.c (domain_error):
22978 * floatfns.c (domain_error2):
22979 * lrecord.h (LRECORDP):
22980 * console-x.h (X_ERROR_OCCURRED):
22981 * console-x.h (HANDLING_X_ERROR):
22982 * chartab.c (CATEGORYP):
22983 * buffer.h (XCHAR_OR_CHAR_INT):
22984 Remove redundant and confusing parentheses.
22985
22986 * redisplay-output.c (redisplay_clear_to_window_end):
22987 Remove redundant initialization.
22988
22989 * redisplay.h:
22990 * redisplay-msw.c:
22991 * redisplay-x.c:
22992 Move declarations of bevel_modeline() into redisplay.h.
22993
22994 1999-08-30 Olivier Galibert <galibert@pobox.com>
22995
22996 * lisp.h: Add staticpro_nodump for undumped staticpro-ing.
22997 * alloc.c: Add staticpro_nodump for undumped staticpro-ing. Add
22998 alignment information for dumped data. Enhance
22999 descriptions. Phase out Vterminal_* variables while
23000 dumping.
23001 * lrecord.h: Add chained descriptions and automagically-reset
23002 lisp_objects to the description system.
23003
23004 * console-stream.h: Declare the Vterminal_* variables.
23005
23006 * buffer.c: Don't dump Vbuffer_alist, Vbuffer_defaults and
23007 Vbuffer_local_symbols.
23008 * console.c: Don't dump Vconsole_list, Vconsole_defaults and
23009 Vconsole_local_symbols.
23010 * eval.c: Don't dump Qunbound_suspended_errors_tag.
23011 * lread.c: Don't dump Vread_buffer_stream.
23012 * lstream.c: Don't dump Vlstream_free_list[].
23013 * search.c: Don't dump last_thing_searched.
23014 * window.c: Don't dump minibuf_window and
23015 Vwindow_configuration_free_list[].
23016
23017 * faces.c: Add face description.
23018 * fns.c: Add bit_vector description.
23019 * glyphs.c: Add image specifier description.
23020 * objects.c: Add color, face and face boolean specifiers descriptions.
23021 * opaque.c: Add opaque description. Don't dump Vopaque_ptr_free_list.
23022 * rangetab.c: Add range table description.
23023 * specifier.c: Add specifier and specifier methods description.
23024 * specifier.h: Add specifier extra description support.
23025
23026 * symbols.c: Fix symbol_value_buffer_local_description.
23027
23028 * gdbinit (Lisp): Add opaque_ptr, remove opaque_list.
23029
23030 1999-09-02 Hrvoje Niksic <hniksic@srce.hr>
23031
23032 * extents.c (extent_remprop): Get extent's plist address
23033 correctly.
23034
23035 1999-08-31 Andy Piper <andy@xemacs.org>
23036
23037 * xmu.h: define Xmu/Converters.h things.
23038
23039 1999-08-31 Andy Piper <andy@xemacs.org>
23040
23041 * opaque.c (equal_opaque_ptr): define.
23042 (hash_opaque_ptr): define.
23043
23044 * xmu.h: define Xmu/Misc.h things.
23045
23046 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
23047
23048 * file-coding.c (determine_real_coding_system): Treat `coding:'
23049 cookie.
23050
23051 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
23052
23053 * file-coding.c (struct decoding_stream): New member `counter'.
23054 (reset_decoding_stream): Initialize `counter'.
23055 (decode_coding_ucs4): Use `counter'.
23056 (decode_coding_utf8): Likewise.
23057
23058 1999-08-31 Andy Piper <andy@xemacs.org>
23059
23060 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
23061 the clip offset doesn't exceed the height we have available to
23062 show.
23063
23064 * window.h (struct window): add top_yoffset and left_xoffset for
23065 pixel scrolling.
23066 (WINDOW_TEXT_TOP_CLIP): new macro.
23067
23068 * window.c (window_scroll): add behaviour for pixel-scrolling of
23069 tall lines.
23070
23071 * redisplay.h (struct display_line): add top_clip.
23072 (DISPLAY_LINE_HEIGHT): adjust for top_clip.
23073 (DISPLAY_LINE_YPOS): ditto.
23074
23075 * redisplay.c (position_redisplay_data_type): add
23076 start_col_xoffset to prepare for pixel-based h-scrolling.
23077 (WINDOW_SCROLLED): new macro.
23078 (next_tab_position): use it.
23079 (add_glyph_rune): use new hscoll vars.
23080 (create_text_block): ditto.
23081 (generate_displayable_area): adjust off-by-one error.
23082 (regenerate_window): take top_clip into account.
23083 (regenerate_window_extents_only_changed): ditto.
23084 (regenerate_window_incrementally): ditto.
23085
23086 * redisplay-x.c (x_output_display_block): use DISPLAY_LINE_YPOS,
23087 DISPLAY_LINE_HEIGHT and DISPLAY_LINE_YEND macros.
23088 (x_output_string): ditto.
23089 (x_output_blank): ditto.
23090 (x_output_hline): ditto.
23091 (x_output_eol_cursor): ditto.
23092
23093 * redisplay-output.c (output_display_line): allow for
23094 top_clip. use DISPLAY_LINE_YPOS, DISPLAY_LINE_HEIGHT and
23095 DISPLAY_LINE_YEND macros.
23096 (redisplay_output_layout): output strings in layouts correctly.
23097 (redisplay_clear_clipped_region): allow for top_clip.
23098 (redisplay_calculate_display_boxes): ditto.
23099
23100 * redisplay-msw.c (mswindows_output_blank): use DISPLAY_LINE_YPOS,
23101 DISPLAY_LINE_HEIGHT and DISPLAY_LINE_YEND macros.
23102 (mswindows_output_cursor): ditto.
23103 (mswindows_output_string): ditto.
23104 (mswindows_redraw_exposed_window): ditto.
23105 (mswindows_output_display_block): ditto.
23106
23107 * gutter.c: new specifier type gutter-size.
23108 (gutter_size_validate): validate gutter-size specifier.
23109 (Fgutter_size_specifier_p): predicate for gutter-size.
23110 (Fredisplay_gutter_area): allow the gutter area to be redisplayed
23111 under user contol, like Fredisplay_echo_area.
23112 (syms_of_gutter): add new functions.
23113 (specifier_type_create_gutter): add new specifier.
23114 (specifier_vars_of_gutter): change specifier types of *-height to
23115 gutter-size.
23116
23117 * glyphs.c (glyph_width): make work with image instances.
23118
23119 * console.h (struct console_methods): change api of output_string.
23120
23121 * glyphs-x.c (x_map_subwindow): move before mapping as reported by
23122 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
23123
23124 1999-08-30 Andy Piper <andy@xemacs.org>
23125
23126 * glyphs-x.c (x_finalize_image_instance): X_MASK -> PIXMAP_MASK
23127 for assignment.
23128 (init_image_instance_from_x_image): ditto.
23129 (x_xpm_instantiate): ditto.
23130 (x_colorize_image_instance): ditto. Reported by Richard Cognot
23131 <cognot@ensg.u-nancy.fr>
23132
23133 1999-08-29 Andy Piper <andy@xemacs.org>
23134
23135 * glyphs-x.c (x_widget_instantiate): move font initialisation so
23136 that it doesn't get saved in the user defined args.
23137 (x_tab_control_instantiate): Set the fg color of the tab's
23138 children.
23139 (x_tab_control_set_property): ditto.
23140
23141 1999-08-27 Damon Lipparelli <lipp@primus.com>
23142
23143 * events.h (XTIMEOUT): must preface Lisp_Timeout with ``struct''
23144 (XSETTIMEOUT): fixup typo
23145
23146 1999-08-11 Jan Vroonhof <vroonhof@math.ethz.ch>
23147
23148 * syntax.c (scan_words): Unified Mule and Non-mule scanning.
23149 Word boundary search looks back instead of forward so that it
23150 doesn't peek over the limit.
23151
23152 1999-08-20 Olivier Galibert <galibert@pobox.com>
23153
23154 * config.h.in: Add PDUMP define.
23155 * emacs.c (Fdump_emacs): Hackish, call pdump() if configured in.
23156
23157 * lrecord.h: Enhance description system.
23158 * alloc.c: Fix vector and string description. Add portable
23159 dumper enumeration fonctions.
23160
23161 * symbols.c: Fix symbols description. Add symbol_value_forward
23162 description.
23163 * eval.c: Add subr description.
23164 * elhash.c (CLEAR_HENTRY): Clean value pointer too. Fix hash
23165 table description.
23166 (remhash_1): CLEAR_HENTRY evaluates the parameter two times now.
23167
23168 1999-08-20 Olivier Galibert <galibert@pobox.com>
23169
23170 * opaque.c: Kill opaque lists, make Lisp_Opaque_Ptr a lrecord of
23171 its own.
23172 * opaque.h: Ditto.
23173
23174 * eval.c (eval_in_buffer_trapping_errors):
23175 (run_hook_trapping_errors):
23176 (safe_run_hook_trapping_errors):
23177 (call0_trapping_errors):
23178 (call1_trapping_errors):
23179 (call2_trapping_errors): OPAQUEP -> OPAQUE_PTRP. make_opaque_ptr
23180 now takes a non-const void *.
23181
23182 1999-08-20 Olivier Galibert <galibert@pobox.com>
23183
23184 * opaque.c: Remove make_opaque_long.
23185
23186 * opaque.h: Remove everything opaque_long related.
23187
23188 * eval.c (vars_of_eval): Make Qunbound_suspended_errors_tag an
23189 opaque_ptr.
23190
23191 * emacs.c (main_1): Remove make_opaque_long from comment.
23192
23193 1999-08-20 Olivier Galibert <galibert@pobox.com>
23194
23195 * event-stream.c (mark_timeout):
23196 (print_timeout):
23197 (event_stream_generate_wakeup):
23198 (event_stream_resignal_wakeup):
23199 (event_stream_disable_wakeup):
23200 (event_stream_wakeup_pending_p):
23201 (vars_of_event_stream): Lisp_Timeout is now a lrecord.
23202
23203 * events.h (struct Lisp_Timeout): Added.
23204
23205 1999-08-24 Andy Piper <andy@xemacs.org>
23206
23207 * console-x.h: declare new pixmap signatures.
23208
23209 1999-08-23 Andy Piper <andy@xemacs.org>
23210
23211 * glyphs-x.c (x_update_subwindow): make sure the widget size is
23212 maintained after an update.
23213
23214 * event-Xt.c (emacs_Xt_handle_magic_event): use
23215 find_matching_subwindow to check whether the exposure is totally
23216 inside a subwindow, if it is then ignore it.
23217
23218 * glyphs.c (find_matching_subwindow): new function.
23219
23220 * toolbar-x.c (x_draw_blank_toolbar_button): use new
23221 x_output_shadows signature.
23222 (x_output_toolbar_button): use new x_output_x_pixmap signature.
23223
23224 * redisplay.h (struct display_box): new structure.
23225 (struct display_glyph_area): ditto.
23226 declare new display_box functions.
23227
23228 * redisplay-x.c (x_output_pixmap): update for new display
23229 box stuff.
23230 (x_bevel_area): update to allow multiple edge styles and border
23231 segments.
23232 (x_output_display_block): update for new display_box stuff and
23233 signatures.
23234 (x_clear_region): ditto.
23235 (x_output_x_pixmap): ditto. adjust offsets rather than clip.
23236 (console_type_create_redisplay_x): declare new console methods.
23237 (x_output_vertical_divider): update for new bevel_area signature.
23238 (x_output_shadows): update to allow selective drawing of edges.
23239
23240 * redisplay-tty.c (tty_output_display_block): do nothing for
23241 layouts.
23242
23243 * redisplay-output.c (redisplay_output_subwindow): convert to use
23244 display_box structure, this allows us to put subwindows anywhere
23245 with any offset, useful for layout glyphs.
23246 (redisplay_output_layout): new function. output a layout and its
23247 sub-glyphs.
23248 (redisplay_output_pixmap): new modular function combining generic
23249 parts of the X and mswindows versions. convert to use display_box
23250 structures.
23251 (redisplay_clear_clipped_region): new function. clear the area a
23252 glyph is going into.
23253 (redisplay_normalize_glyph_area): new function. calculate the
23254 bounds of a display_glyph_area given a display_box.
23255 (redisplay_normalize_display_box): new function. shrink a
23256 display_box to enclose a display_glyph_area.
23257 (redisplay_display_boxes_in_window_p): check whether the input
23258 display_box and display_glyph_area are actually in a window.
23259 (redisplay_calculate_display_boxes): calculate display boxes based
23260 on conventional display_line metrics.
23261 (bevel_modeline): update for new bevel_area signature.
23262
23263 * redisplay-msw.c (mswindows_output_blank): update for new
23264 display_box stuff.
23265 (mswindows_output_string): ditto.
23266 (mswindows_output_dibitmap): ditto.
23267 (mswindows_output_dibitmap_region): ditto.
23268 (mswindows_output_pixmap): ditto.
23269 (mswindows_bevel_area): update to allow multiple edge styles and
23270 border segments.
23271 (mswindows_output_display_block): update for new display_box stuff
23272 and signatures.
23273 (mswindows_clear_region): ditto.
23274 (console_type_create_redisplay_mswindows): declare new console methods.
23275
23276 * lisp.h (edge_style): new enum.
23277 declare display_box and display_glyph_area.
23278
23279 * gutter.c (output_gutter): update for new bevel_area signature.
23280
23281 * glyphs.h (image_instance_type): add layout.
23282 (IMAGE_LAYOUT_MASK): ditto.
23283 (LAYOUT_IMAGE_INSTANCEP): new macro.
23284 (CHECK_LAYOUT_IMAGE_INSTANCE): ditto.
23285 (struct Lisp_Image_Instance): add offsets for layout and the
23286 layout type itself. move mask here also.
23287 (IMAGE_INSTANCE_LAYOUT_CHILDREN): new macro.
23288 (IMAGE_INSTANCE_LAYOUT_BORDER): ditto.
23289 (XIMAGE_INSTANCE_LAYOUT_CHILDREN): ditto.
23290 (XIMAGE_INSTANCE_LAYOUT_BORDER): ditto.
23291
23292 * glyphs.c (mark_image_instance): update for layouts.
23293 (print_image_instance): ditto.
23294 (image_instance_equal): ditto.
23295 (image_instance_hash): ditto.
23296 (allocate_image_instance): initialise offsets for layout.
23297 (decode_image_instance_type): update for layouts.
23298 (encode_image_instance_type): ditto.
23299 (Fimage_instance_height): ditto.
23300 (Fimage_instance_width): ditto.
23301 (allocate_glyph): ditto.
23302 (glyph_width): allow image instances as an argument. update for layouts.
23303 (glyph_height_internal): ditto.
23304 (syms_of_glyphs): add layout symbols.
23305
23306 * glyphs-x.h (struct x_image_instance_data): remove mask entry.
23307 (IMAGE_INSTANCE_X_MASK): update.
23308
23309 * glyphs-x.c (x_label_instantiate): new function. instantiate a
23310 label.
23311 (image_instantiator_format_create_glyphs_x): initialise new layout
23312 glyph type.
23313
23314 * glyphs-widget.c: new layout type.
23315 (check_valid_orientation): new keyword checker for layouts.
23316 (check_valid_justification): ditto.
23317 (check_valid_border): ditto.
23318 (check_valid_glyph_or_image_list): ditto.
23319 (layout_possible_dest_types): new function for layout glyph type.
23320 (layout_normalize): ditto.
23321 (layout_instantiate): ditto.
23322 (syms_of_glyphs_widget): new keywords for layout.
23323 (image_instantiator_format_create_glyphs_widget): initialise the
23324 layout glyph type.
23325
23326 * glyphs-msw.h (struct mswindows_image_instance_data): remove mask
23327 argument.
23328 (IMAGE_INSTANCE_MSWINDOWS_MASK): update.
23329
23330 * glyphs-msw.c: declare layout format.
23331 (image_instantiator_format_create_glyphs_mswindows): initialise it.
23332
23333 * general.c: new symbols for layouts.
23334
23335 * console.h (struct console_methods): new console methods for
23336 outputting pixmaps and strings.
23337
23338 1999-08-23 Didier Verna <didier@xemacs.org>
23339
23340 * sound.c: revert the renaming of `bell_volume' to `Vbell_volume'
23341 and `bell_inhibit_time' to `Vbell_inhibit_time'.
23342
23343 1999-08-18 Andy Piper <andy@xemacs.org>
23344
23345 * redisplay-output.c (redisplay_output_subwindow): disable
23346 clipping attempt.
23347
23348 1999-08-17 Andy Piper <andy@xemacs.org>
23349
23350 * gutter.c (redraw_exposed_gutter): handle degenerate case of no
23351 area to expose or no gutter to display.
23352
23353 1999-08-16 Charles G Waldman <cgw@fnal.gov>
23354
23355 * sound.c: rename `bell_volume' to `Vbell_volume' and
23356 `bell_inhibit_time' to `Vbell_inhibit_time'.
23357
23358 1999-08-13 Charles G Waldman <cgw@fnal.gov>
23359
23360 * sound.c: (bell-inhibit-time): New variable.
23361 (ding): Use it.
23362 (sound-alist): Fix docstring.
23363
23364 1999-08-17 Andy Piper <andy@xemacs.org>
23365
23366 * gui-x.c (button_item_to_widget_value): xstrdup name so that
23367 deleting it is ok.
23368
23369 1999-08-16 Jeff Miller <jmiller@smart.net>
23370
23371 * syntax.c (scan_words): make compile.
23372
23373 1999-08-16 Andy Piper <andy@xemacs.org>
23374
23375 * redisplay-output.c (redisplay_output_subwindow): try and be more
23376 relaxed about clipping possibilities.
23377
23378 * glyphs-x.c (x_tab_control_set_property): free_widget_value_tree
23379 rather than just the widget_value.
23380 (x_update_subwindow): ditto.
23381 (x_widget_instantiate): ditto.
23382
23383 * gutter.c (output_gutter): shrink current display lines if
23384 required.
23385
23386 1999-08-15 Andy Piper <andy@xemacs.org>
23387
23388 * redisplay.h: declare free_display_lines.
23389
23390 * redisplay.c (free_display_lines): make non-static.
23391
23392 * gutter.c (free_frame_gutters): use free_display_lines instead of
23393 Dynarr_free.
23394 (calculate_gutter_size): ditto.
23395
23396 1999-08-12 Jan Vroonhof <vroonhof@math.ethz.ch>
23397
23398 * eval.c (run_hook_with_args_in_buffer): GCPRO globals.
23399
23400 1999-08-14 Andy Piper <andy@xemacs.org>
23401
23402 * glyphs.c (update_subwindow_cachel): make it less brittle.
23403
23404 1999-08-04 Mike Woolley <mike@bulsara.com>
23405
23406 * scrollbar-msw.c (mswindows_handle_mousewheel_event): Fixed
23407 problem in wheelmouse code occurring when the horizontal scrollbar
23408 is enabled but not visible.
23409
23410 1999-08-08 Andy Piper <andyp@beasys.com>
23411
23412 * toolbar-msw.c (mswindows_redraw_frame_toolbars): new function.
23413 (console_type_create_toolbar_mswindows): use it.
23414
23415 * glyphs.c (Fset_image_instance_property): fiddly reorganisation.
23416
23417 * redisplay-output.c (redisplay_output_display_block): unmap
23418 subwindows in the block area before outputting the block.
23419
23420 * event-msw.c (mswindows_wnd_proc): check the update rect before
23421 painting and disable expose registration while painting.
23422
23423 * glyphs.c (register_ignored_expose): check
23424 hold_ignored_expose_registration before registering expose events.
23425
23426 * redisplay.c (redisplay_frame): reset the subwindow cache before
23427 displaying the gutter.
23428
23429 * glyphs-msw.c (mswindows_map_subwindow): move the window before
23430 mapping.
23431
23432 * gutter.c (update_frame_gutters): check for glyphs_changed as if
23433 it is the subwindow cache will have been reset.
23434
23435 1999-08-06 Andy Piper <andyp@beasys.com>
23436
23437 * gui-x.c (button_item_to_widget_value): cope with strings.
23438
23439 * glyphs.h: declare global widget functions.
23440 (IIFORMAT_HAS_SHARED_DEVMETHOD): new macro.
23441
23442 * glyphs-x.c (x_combo_box_instantiate): do generic initialization
23443 here. remove dead code.
23444 (image_instantiator_format_create_glyphs_x): enable combo boxes
23445 for Motif 2.0.
23446
23447 * glyphs-widget.c (widget_instantiate_1): make non-static.
23448 (tree_view_instantiate): renamed from combo_box_instantiate.
23449 (image_instantiator_format_create_glyphs_widget): use new/changed methods.
23450
23451 * glyphs-msw.c (mswindows_combo_box_instantiate): do generic
23452 initialization here.
23453
23454 * lwlib-Xm.c (xm_update_combo_box): new function.
23455 (xm_update_one_widget): call it.
23456 (xm_update_one_value): deal with combo boxes as well as lists.
23457 (xm_create_combo_box): create a drop-down combo box.
23458
23459 * toolbar-msw.c (mswindows_output_toolbar): call
23460 mswindows_move_toolbar.
23461
23462 1999-08-05 Andy Piper <andyp@beasys.com>
23463
23464 * window.c (Fcurrent_pixel_column): new function. use display
23465 lines to calculate pixel position of point.
23466 * window.c (syms_of_window): declare it.
23467
23468 1999-08-05 Andy Piper <andy@xemacs.org>
23469
23470 * glyphs.c (check_for_ignored_expose): ignore exposures wholly
23471 contained in our ignore list.
23472
23473 * buffer.c (Frecord_buffer): add call to record-buffer-hook.
23474 (syms_of_buffer): declare record-buffer-hook.
23475
23476 * s/mingw32.h: define mousewheel things.
23477
23478 1999-08-04 Mike Woolley <mike@bulsara.com>
23479
23480 * windowsnt.h (_WIN32_WINNT): enable for win95
23481
23482 * s/cygwin32.h: define mousewheel things.
23483
23484 * scrollbar-msw.h: declare mousewheel handler.
23485
23486 * scrollbar-msw.c (mswindows_handle_mousewheel_event): new function.
23487
23488 1999-08-04 Andy Piper <andy@xemacs.org>
23489
23490 * gui-x.c (gui_items_to_widget_values): remove unused variable.
23491 (gui_items_to_widget_values_1): ditto.
23492
23493 * gui-x.h: unconditionally define since it is used everywhere.
23494
23495 1999-08-04 Andy Piper <andy@xemacs.org>
23496
23497 * glyphs-x.c (x_finalize_image_instance): only free pixels if we
23498 have that type of image.
23499
23500 1999-07-30 Andy Piper <andy@xemacs.org>
23501
23502 * redisplay-output.c (redisplay_unmap_subwindows): add comparison
23503 subwindow to not unmap if required.
23504 (redisplay_unmap_subwindows_maybe): comparison is Qnil.
23505 (redisplay_unmap_subwindows_except_us): new function.
23506 (redisplay_output_subwindow): use it to unmap windows in the area
23507 we are displaying into.
23508
23509 * glyphs.c (update_subwindow_cachel_data): always update as we
23510 only ever get called when an update is required.
23511 (update_subwindow_cachel): new function. sync a subwindow with its
23512 cachel.
23513 (Fresize_subwindow): use it.
23514 (register_ignored_expose): make sure we set the tail correctly.
23515
23516 1999-07-28 Andy Piper <andy@xemacs.org>
23517
23518 * redisplay-output.c (redisplay_clear_bottom_of_window): remove
23519 unneeded device.
23520
23521 * gutter.c (redraw_exposed_gutter): unmap subwindows from the
23522 whole gutter.
23523
23524 * gui.h: declare parse_gui_item_tree_list and
23525 parse_gui_item_tree_children.
23526
23527 * gui.c (parse_gui_item_tree_item): new function for parsing item
23528 lists into gui-item trees.
23529 (parse_gui_item_tree_children): ditto.
23530 (parse_gui_item_tree_list): ditto.
23531
23532 * gui-x.h: declare gui_items_to_widget_values.
23533
23534 * gui-x.c (gui_items_to_widget_values_1): new function for
23535 recursively parsing gui-items into widget_values.
23536 (gui_item_children_to_widget_values): ditto.
23537 (gui_items_to_widget_values): ditto.
23538 (sanity_check_lwlib): add widgets macrolets.
23539
23540 * glyphs.h (IMAGE_INSTANCE_WIDGET_ITEMS): rename from *ITEM.
23541 (XIMAGE_INSTANCE_WIDGET_ITEMS): ditto.
23542 (IMAGE_INSTANCE_WIDGET_ITEM): rename from *SINGLE_ITEM.
23543 (XIMAGE_INSTANCE_WIDGET_ITEM): ditto.
23544 (struct expose_ignore): new structure for storing ignorable expose
23545 events.
23546
23547 * glyphs.c (valid_image_instantiator_format_p): fix so that using
23548 a console-type as a locale works.
23549 (mark_image_instance): ITEM->ITEMS.
23550 (image_instance_equal): ditto.
23551 (image_instance_hash): ditto.
23552 (struct expose_ignore_blocktype): new blocktype.
23553 (check_for_ignored_expose): new function. checks frame exposure
23554 list for events to ignore.
23555 (register_ignored_expose): new function. registers an expose event
23556 as ignorable.
23557 (unmap_subwindow): register the expose event as ignorable.
23558 (vars_of_glyphs): initialise the exposure blocktype.
23559
23560 * glyphs-x.c (x_finalize_image_instance): use lw_destroy_widget.
23561 (x_update_subwindow): modify all widgets using widget_value tree
23562 rather than just a single widget value.
23563 (x_widget_instantiate): LWLIB_USES_MOTIF -> LWLIB_WIDGETS_MOTIF.
23564 make sure widgets don't resize themselves.
23565 (x_tab_control_instantiate): new function. use lwlib tab functions.
23566 (x_tab_control_set_property): new function.
23567 (image_instantiator_format_create_glyphs_x): add tab_control.
23568
23569 * glyphs-widget.c (widget_text_to_pixel_conversion): calculate
23570 slightly more sensibly.
23571 (initialize_widget_image_instance): ITEM->ITEMS.
23572 (widget_instantiate_1): parse gui items generically into the ITEMS
23573 entry.
23574
23575 * glyphs-msw.c (mswindows_update_subwindow): replace
23576 SINGLE_ITEM->ITEM.
23577 (mswindows_register_widget_instance): ditto.
23578 (add_tree_item): modify to use new pre-initialised gui-item
23579 structure.
23580 (add_tab_item): ditto.
23581 (mswindows_tab_control_instantiate): ditto.
23582 (mswindows_tab_control_set_property): ditto.
23583 (image_instantiator_format_create_glyphs_mswindows): predicate
23584 existence of widgets on HAVE_WIDGETS.
23585
23586 * frame.h (struct frame): add subwindow_exposures variables.
23587
23588 * frame.c (allocate_frame_core): reset subwindow_exposures links.
23589
23590 * event-msw.c (mswindows_wnd_proc): check for ignored
23591 expose events before redrawing.
23592
23593 * event-Xt.c (emacs_Xt_handle_magic_event): check for ignored
23594 expose events before redrawing.
23595
23596 1999-07-30 SL Baur <steve@xemacs.org>
23597
23598 * scrollbar-x.c: should include EmacsFrame.h.
23599 From Jeff Miller <jmiller@smart.net>
23600
23601 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
23602
23603 * XEmacs 21.2.19 is released
23604
23605 1999-07-27 Jeff Miller <jmiller@smart.net>
23606
23607 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
23608 menubar_show_keybindings.
23609
23610 1999-07-23 SL Baur <steve@miho>
23611
23612 * mule-charset.c (syms_of_mule_charset): Delete duplicated
23613 definition of Qccl_program.
23614
23615 * mule-ccl.h: Make a global declaration of it here.
23616
23617 1999-07-20 Bob Weiner <weiner@beopen.com>
23618
23619 * s/sco7.h: Added from rr@sco.com.
23620
23621 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
23622
23623 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
23624
23625 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
23626
23627 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
23628 (mule_encode): Likewise.
23629
23630 * mule-ccl.c (Qccl_program): New variable.
23631 (CCL_SUSPEND): New macro.
23632 (CCL_INVALID_CMD): New macro.
23633 (CCL_READ_CHAR): Don't regard as invalid command while processing
23634 the last block even if input is empty; use
23635 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
23636 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
23637
23638 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
23639 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
23640 (CCL_STAT_SUSPEND_BY_DST): Likewise.
23641 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
23642 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
23643
23644 1999-05-04 Ken'ichi Handa <handa@gnu.org>
23645
23646 * mule-ccl.h (struct ccl_program): New member stack_idx.
23647
23648 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
23649 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
23650 before returing.
23651 (setup_ccl_program): Initialize ccl->stack_idx to 0.
23652
23653 1998-10-12 Kenichi Handa <handa@etl.go.jp>
23654
23655 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
23656 definitions.
23657
23658 1998-08-18 Kenichi Handa <handa@etl.go.jp>
23659
23660 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
23661 processing the last block, don't just finish but processes eol
23662 block of the current CCL program.
23663 (ccl_driver): Add a new jump label ccl_repeat for the above
23664 change.
23665
23666 1998-04-15 Kenichi Handa <handa@etl.go.jp>
23667
23668 * mule-ccl.c: Typo in comments fixed.
23669 (Qccl_program_idx): New variables.
23670 (CCL_ReadMultibyteChar2): Macro name changed from
23671 CCL_ReadMultibyteCharacter.
23672 (CCL_WriteMultibyteChar2): Macro name changed from
23673 CCL_WriteMultibyteChar2.
23674 (ccl_driver): Adjusted for the above changes.
23675 (resolve_symbol_ccl_program): New function.
23676 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
23677 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
23678 numbers by resolve_symbol_ccl_program.
23679 (Fccl_execute_on_string): Likewise.
23680 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
23681 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
23682
23683 1998-01-21 Kenichi Handa <handa@etl.go.jp>
23684
23685 * mule-ccl.h: (struct ccl_program): New member private_state.
23686
23687 * mule-ccl.c
23688 (CCL_Call): Fix the comment.
23689 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
23690 macros for CCL Commands.
23691 (EXCMD): New macro.
23692 (ccl_driver): New case label `CCL_Extension'.
23693 (setup_ccl_program): Initialize the member `private_state' of CCL.
23694
23695 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
23696
23697 * keymap.c (copy_keymap_internal): Inherit the default binding.
23698
23699 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
23700
23701 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
23702 focus the event (XIM_focus_event).
23703 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
23704 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
23705 the interface for future use (XIM_SetGeometry).
23706 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
23707 location (XIM_SetSpotLocation).
23708 (x_output_eol_cursor): Ditto.
23709
23710 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
23711
23712 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
23713 Olivier's change to lrecord.h of 1999-04-22
23714
23715 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
23716
23717 * gutter.c (redraw_exposed_gutter): Change type of pos from
23718 enum toolbar_pos -> enum gutter_pos, since former is only defined
23719 if toolbar support is.
23720
23721 1999-07-19 Andy Piper <andy@xemacs.org>
23722
23723 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
23724 subwindows.
23725
23726 * gutter.c (gutter_validate): new function for the gutter specifier.
23727 (specifier_type_create_gutter): declare specifier validator.
23728
23729 * buffer.h (INC_CHARBYTIND): add for no error checking version.
23730
23731 1999-07-18 Andy Piper <andy@xemacs.org>
23732
23733 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
23734
23735 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
23736 resize_subwindow.
23737 (mswindows_resize_subwindow): new function.
23738
23739 * gutter.c (redraw_exposed_gutter): only reset the
23740 current_display_lines if non-zero.
23741 (Fgutter_pixel_height): new function.
23742 (Fgutter_pixel_width): new function.
23743
23744 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
23745 we want to retrive from the tab control.
23746
23747 1999-07-17 Andy Piper <andy@xemacs.org>
23748
23749 * window.c (change_window_height): mark gutters changed when we're
23750 done.
23751
23752 * gutter.c (specifier_vars_of_gutter): make defaults more
23753 sensible.
23754
23755 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
23756 height gutter.
23757 (DEFAULT_GUTTER_WIDTH): change.
23758 (DEFAULT_GUTTER_BORDER_WIDTH): change.
23759
23760 1999-07-18 Andy Piper <andy@xemacs.org>
23761
23762 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
23763
23764 1999-07-16 Andy Piper <andy@xemacs.org>
23765
23766 * frame.c (Fmake_frame): call init_frame_gutters().
23767
23768 * redisplay.c (add_emchar_rune): use string functions if we are
23769 working with a string.
23770 (position_redisplay_data_type): add string element.
23771
23772 1999-07-15 Andy Piper <andy@xemacs.org>
23773
23774 * winslots.h: add real_gutter_size slots to hold the actual gutter
23775 size. This is important for autodetected sizes.
23776
23777 * gutter.c (calculate_gutter_size): calculate size for gutters
23778 that have 'autodetect size.
23779
23780 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
23781 extent of divider for gutters.
23782
23783 * redisplay-x.c (x_output_vertical_divider): adjust extent of
23784 divider for gutters.
23785
23786 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
23787 position to take into account the gutters.
23788
23789 * redisplay.c (generate_modeline): adjust modeline position to
23790 take into account the gutters.
23791
23792 1999-07-14 Andy Piper <andy@xemacs.org>
23793
23794 * gutter.c (frame_topmost_window): new function.
23795 (frame_bottommost_window): ditto.
23796 (frame_leftmost_window): ditto.
23797 (frame_rightmost_window): ditto.
23798
23799 1999-07-13 Andy Piper <andy@xemacs.org>
23800
23801 * redisplay.c (calculate_display_line_boundaries): use text
23802 boundaries so that gutters get handled properly.
23803
23804 1999-07-12 Andy Piper <andy@xemacs.org>
23805
23806 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
23807 we're using Motif.
23808
23809 * redisplay-output.c (redisplay_clear_to_window_end): generalised
23810 from redisplay-x.c
23811
23812 * redisplay-x.c (redisplay_clear_to_window_end): moved to
23813 redisplay.c
23814
23815 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
23816
23817 * gutter.c: new file - implements gutters. All new functions are
23818 semantically equivalent to the toolbar functions.
23819 (gutter_was_visible): new function.
23820 (get_gutter_coords): ditto.
23821 (output_gutter): ditto.
23822 (clear_gutter): ditto.
23823 (update_frame_gutters): ditto.
23824 (redraw_exposed_gutter): ditto.
23825 (redraw_exposed_gutters): ditto.
23826 (free_frame_gutters): ditto.
23827 (init_frame_gutters): ditto.
23828 (decode_gutter_position): ditto.
23829 (Fset_default_gutter_position): ditto.
23830 (Fset_default_gutter_position): ditto.
23831 (Fdefault_gutter_position): ditto.
23832 (gutter_after_change): ditto.
23833 (Fgutter_specifier_p): ditto.
23834 (recompute_overlaying_specifier): ditto.
23835 (gutter_specs_changed): ditto.
23836 (default_gutter_specs_changed): ditto.
23837 (gutter_geometry_changed_in_window): ditto.
23838 (default_gutter_size_changed_in_window): ditto.
23839 (default_gutter_border_width_changed_in_window): ditto.
23840 (default_gutter_visible_p_changed_in_window): ditto.
23841 (syms_of_gutter): ditto.
23842 (vars_of_gutter): ditto.
23843 (specifier_type_create_gutter): ditto.
23844 (specifier_vars_of_gutter): ditto.
23845
23846 * gutter.h: new file. Contains gutter constants and sizing macros
23847 similar to those for the toolbar.
23848
23849 * winslots.h: add gutter variables.
23850
23851 * window.h: declare window_is_* functions.
23852
23853 * window.c (window_is_lowest): make non-static.
23854 (window_is_highest): ditto.
23855 (window_top_toolbar_height): deleted.
23856 (window_bottom_toolbar_height): deleted.
23857 (window_left_toolbar_width): deleted.
23858 (window_right_toolbar_width): deleted.
23859 (window_top_gutter_height): add gutter sizing.
23860 (window_bottom_gutter_height): ditto.
23861 (window_left_gutter_width): ditto.
23862 (window_right_gutter_width): ditto.
23863
23864 * symsinit.h: declarations for gutters vars etc.
23865
23866 * search.c (bi_find_next_emchar_in_string): new function.
23867
23868 * scrollbar.c (update_scrollbar_instance): remove reference to
23869 window_bottom_toolbar_height which did nothing.
23870
23871 * redisplay.h (struct display_line): add face indices for
23872 overriding defaults in output_display_line.
23873 Add gutter_changed flags and declarations.
23874
23875 * redisplay.c (create_string_text_block): new function, similar to
23876 create_text_block but for strings. Display tables etc are used
23877 from the currently selected window.
23878 (generate_string_display_line): ditto. Similar to
23879 generate_display_line.
23880 (generate_displayable_area): generate display lines for a given
23881 area on a frame. Input is the string, with associated extents, to
23882 display.
23883 (redisplay_frame): add gutter_changed check.
23884 (redisplay_device): ditto.
23885 (redisplay_without_hooks): ditto.
23886
23887 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
23888 (x_redraw_exposed_area): redraw exposed gutters.
23889 (x_bevel_area): new redisplay device method.
23890 (x_type_create_redisplay_mswindows): add bevel_area device method.
23891 (x_output_display_block): fiddly Martin-style cleanup.
23892 (x_output_vertical_divider): use bevel_area.
23893
23894 * redisplay-output.c (output_display_line): check display_lines
23895 for face information before using defaults.
23896 (bevel_modeline): new function, calls bevel_area with appropriate
23897 values.
23898
23899 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
23900 (mswindows_redraw_exposed_area): redraw exposed gutters.
23901 (mswindows_bevel_area): new redisplay device method.
23902 (console_type_create_redisplay_mswindows): add bevel_area device
23903 method.
23904
23905 * indent.c (string_column_at_point): add column_at_point but for
23906 strings.
23907
23908 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
23909 instantiate widgets that we have a toolkit for.
23910
23911 * general.c: add Qgutter.
23912
23913 * frame.h (struct frame): add display lines for gutters and
23914 visibility flags.
23915
23916 * frame.c (set_frame_selected_window): mark gutters changed.
23917
23918 * emacs.c (main_1): add gutter initialisation.
23919
23920 * device.h (struct device): add gutter_changed flag and macros to
23921 manipulate it.
23922
23923 * console.h (struct console_methods): new bevel area redisplay
23924 method.
23925
23926 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
23927 REAL_INC_BYTIND is for buffers.
23928 (INC_CHARPTR): ditto.
23929
23930 * Makefile.in.in (objs): add gutter.o
23931
23932 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
23933
23934 * XEmacs 21.2.18 is released
23935
23936 1999-07-08 SL Baur <steve@mule.m17n.org>
23937
23938 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
23939 XIM_XLIB.
23940 (emacs_Xt_handle_magic_event): Ditto.
23941 * redisplay-x.c (x_output_string): Ditto.
23942 (x_output_eol_cursor): Ditto.
23943
23944 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
23945
23946 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
23947 problem that when XIM is destroyed or missed with some reason,
23948 xemacs will die. Now xim=xlib waits the XIM will be ready and
23949 endures the case of XIM end up.
23950
23951 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
23952
23953 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
23954 SIGINT and SIGCHLD before calling tt_open and restore the
23955 afterwards. This fixes e.g. the zombie subprocesses on Solaris
23956
23957 1999-07-06 SL Baur <steve@xemacs.org>
23958
23959 * s/linux.h: gcc-2.8 changes for powerpc
23960 From Justin Vallon <vallon@mindspring.com>
23961
23962 1999-07-05 Didier Verna <didier@xemacs.org>
23963
23964 * indent.c: new symbol Qcoerce.
23965 (Fmove_to_column): use it + doc string update.
23966
23967 1999-07-04 Andy Piper <andy@xemacs.org>
23968
23969 * console.c: undo earlier Fprovide changes.
23970 * fns.c: ditto.
23971 * console.h: ditto.
23972
23973 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
23974 function. validate appropriate image formats for tty.
23975
23976 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
23977 initialize consoles parameter.
23978 (struct image_instantiator_methods): add consoles parameter.
23979 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
23980 console.
23981 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
23982 console.
23983
23984 * glyphs-msw.c: declare instantiators for later use.
23985 (image_instantiator_format_create_glyphs_mswindows): validate xpm
23986 and friends on the mswindows console.
23987 * glyphs-x.c: ditto.
23988
23989 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
23990 that have not been registered on the supplied device.
23991 (Fvalid_image_instantiator_format_p): add locale argument.
23992 (instantiate_image_instantiator): valid image instantiator on the
23993 device.
23994
23995 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
23996 declaration.
23997
23998 * emacs.c (main_1): add call to
23999 image_instantiator_format_create_glyphs_tty().
24000
24001 1999-06-29 Olivier Galibert <galibert@pobox.com>
24002
24003 * lisp.h: Add #include <stddef.h>.
24004
24005 * sysdep.c: Remove #include <stddef.h>.
24006 * symbols.c: Remove #include <stddef.h>.
24007 * sheap.c: Remove #include <stddef.h>.
24008 * opaque.c: Remove #include <stddef.h>.
24009 * nt.c: Remove #include <stddef.h>.
24010 * mule-charset.c: Remove #include <stddef.h>.
24011 * marker.c: Remove #include <stddef.h>.
24012 * file-coding.c: Remove #include <stddef.h>.
24013 * extents.c: Remove #include <stddef.h>.
24014 * elhash.c: Remove #include <stddef.h>.
24015 * data.c: Remove #include <stddef.h>.
24016 * chartab.c: Remove #include <stddef.h>.
24017 * bytecode.c: Remove #include <stddef.h>.
24018 * alloc.c: Remove #include <stddef.h>. Fix vector description
24019
24020 1999-06-30 SL Baur <steve@miho.m17n.org>
24021
24022 * editfns.c: Document "%s" format spec.
24023 Suggested by Bob Weiner <weiner@altrasoft.com>
24024
24025 1999-06-29 Andy Piper <andy@xemacs.org>
24026
24027 * event-msw.c: fix definition booboo.
24028
24029 1999-06-28 Andy Piper <andy@xemacs.org>
24030
24031 * glyphs-x.c: change tree -> tree-view, progress ->
24032 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
24033 combo-box.
24034 (complex_vars_of_glyphs_x): provide-on-console the implemented
24035 widget types.
24036
24037 * glyphs-msw.c: ditto.
24038 (complex_vars_of_glyphs_mswindows): ditto.
24039
24040 * lisp.h: add Fprovide_on_console.
24041
24042 * fns.c (Ffeaturep): add extra optional console argument.
24043 (Fprovide_on_console): like Fprovide but provides only on the
24044 specified console-type.
24045 (Frequire): check console-features as well as global features.
24046
24047 * console.c (Fconsole_features): new function. return features for
24048 this console.
24049 (syms_of_console): add Fconsole_features.
24050
24051 * console.h (CONMETH_FEATURES): new function for accessing features.
24052 (CONSOLE_FEATURES): ditto.
24053 (struct console_methods): add features slot.
24054 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
24055
24056 1999-06-28 Andy Piper <andy@xemacs.org>
24057
24058 * event-Xt.c (handle_focus_event_1): conditionally compile for
24059 X11R5.
24060
24061 * s/cygwin32.h: fix me website address.
24062
24063 * event-msw.c: add NMHDR for pre b20 cygwin builds.
24064
24065 * gui-x.c (button_item_to_widget_value): only add callback if it
24066 is non-nil.
24067
24068 * glyphs-x.c: add progress, edit and combo instantiators.
24069 (x_widget_set_property): new function. uses lwlib to set widget
24070 values.
24071 (x_widget_property): new function. uses lwlib to get widget
24072 values.
24073 (x_button_instantiate): support images in buttons.
24074 (x_button_property): new function. use lwlib to get the selected
24075 state.
24076 (x_progress_instantiate): new function for instantiating progress
24077 gauges.
24078 (x_progress_set_property): new function. sets the progress gauge
24079 position.
24080 (x_edit_instantiate): new function. for instantiating edit fields.
24081 (x_combo_instantiate): new function. for instantiating combo
24082 boxes.
24083 (image_instantiator_format_create_glyphs_x): add new device ii
24084 formats.
24085
24086 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
24087
24088 * console.h (CONSOLE_FEATURES): new features accesor.
24089
24090 * conslots.h (MARKED_SLOT): add features entry.
24091
24092 1999-06-25 Andy Piper <andy@xemacs.org>
24093
24094 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
24095 gui functions.
24096
24097 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
24098
24099 * gui.h (struct Lisp_Gui_Item): add accelerator.
24100
24101 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
24102 (gui_item_init): ditto.
24103 (gui_add_item_keywords_to_plist): ditto.
24104 (mark_gui_item): ditto.
24105 (gui_item_hash): ditto.
24106 (gui_item_accelerator): new function.
24107 (gui_name_accelerator): new function stolen from gui-x.c
24108
24109 * gui-x.c (popup_selection_callback): always define. mark
24110 subwindows changed after calling a callback.
24111 (menu_name_to_accelerator): deleted.
24112 (button_item_to_widget_value): forward gui_item things to gui_item
24113 functions.
24114
24115 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
24116 appropriate accesors.
24117
24118 * glyphs-x.c: declare new glyph formats.
24119 (x_finalize_image_instance): unmanage and destroy widgets if they
24120 exist.
24121 (x_unmap_subwindow): handle widgets specially.
24122 (x_map_subwindow): ditto. offset display of widgets by offset of
24123 text widget within container.
24124 (x_update_subwindow): new function. call lw_modify_all_widgets
24125 when we are a widget.
24126 (x_widget_instantiate): new function for generically creating
24127 widgets-glyphs. toolkit specifics forwarded to lwlib.
24128 (x_button_instantiate): new function for instantiating
24129 widgets-glyph buttons.
24130 (console_type_create_glyphs_x): register update_subwindow.
24131 (image_instantiator_format_create_glyphs_x): register widget and
24132 button types.
24133
24134 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
24135
24136 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
24137 when we get a button press in case we do not have the focus.
24138 (handle_focus_event_1): set the keyboard focus to the text widget
24139 if we do not have it.
24140
24141 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
24142 functions.
24143
24144 1999-06-24 SL Baur <steve@miho.m17n.org>
24145
24146 * syntax.c (scan_words): Restore non-Mule code.
24147 (word_constituent_p): Restore.
24148
24149 1999-06-23 Olivier Galibert <galibert@pobox.com>
24150
24151 * config.h.in: Add missing #undef *_USER_DEFINED.
24152
24153 1999-06-23 SL Baur <steve@miho.m17n.org>
24154
24155 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
24156 int (fixes a 64-bit problem).
24157
24158 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
24159 comparison.
24160
24161 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
24162
24163 * paths.h.in (PATH_DOC): Made doc-directory configurable.
24164
24165 1999-06-22 Olivier Galibert <galibert@pobox.com>
24166
24167 * lrecord.h: Added basic external description system.
24168
24169 * symbols.c: Added symbol, symbol-value-buffer-local,
24170 symbol-value-lisp-magic and symbol-value-varalias description.
24171 * mule-charset.c: Added charset description.
24172 * marker.c: Added marker description.
24173 * keymap.c: Added keymap description.
24174 * glyphs.c: Added glyph description.
24175 * floatfns.c: Added float description.
24176 * file-coding.c: Added coding-system description.
24177 * extents.c: Added extent description.
24178 * elhash.c: Added hash-table description.
24179 * data.c: Added weak-list desciption.
24180 * chartab.c: Added char-table-entry and char-table description.
24181 * bytecode.c: Added compiled-function description.
24182 * alloc.c: Added cons, vector and string description.
24183
24184 1999-06-22 Olivier Galibert <galibert@pobox.com>
24185
24186 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
24187 Updated everything to the removal of the "flags" substructure.
24188
24189 * lisp.h (subr_lheader_initializer): Updated.
24190 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
24191
24192 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
24193
24194 * syntax.c (word_constituent_p): Deleted.
24195 (scan_words): Use `WORD_BOUNDARY_P'.
24196
24197 * chartab.c (Vword_combining_categories): New variable.
24198 (Vword_separating_categories): Likewise.
24199 (CATEGORYP): New macro.
24200 (CATEGORY_SET): Likewise.
24201 (CATEGORY_MEMBER): Likewise.
24202 (word_boundary_p): New function.
24203 (complex_vars_of_chartab): Set up new variable
24204 `word-combining-categories' and `word-separating-categories'.
24205
24206 1999-06-18 Olivier Galibert <galibert@pobox.com>
24207
24208 * lrecord.h: Added description as a placehold in the lrecord
24209 implementation structures. Added the parameter to all constructor
24210 defines.
24211
24212 * alloc.c: Added placeholders.
24213 * buffer.c: Ditto.
24214 * bytecode.c: Ditto.
24215 * chartab.c: Ditto.
24216 * console.c: Ditto.
24217 * data.c: Ditto.
24218 * database.c: Ditto.
24219 * device.c: Ditto.
24220 * eldap.c: Ditto.
24221 * elhash.c: Ditto.
24222 * eval.c: Ditto.
24223 * event-stream.c: Ditto.
24224 * events.c: Ditto.
24225 * extents.c: Ditto.
24226 * faces.c: Ditto.
24227 * file-coding.c: Ditto.
24228 * floatfns.c: Ditto.
24229 * fns.c: Ditto.
24230 * frame.c: Ditto.
24231 * glyphs.c: Ditto.
24232 * gui-x.c: Ditto.
24233 * keymap.c: Ditto.
24234 * lstream.c: Ditto.
24235 * marker.c: Ditto.
24236 * mule-charset.c: Ditto.
24237 * objects.c: Ditto.
24238 * opaque.c: Ditto.
24239 * process.c: Ditto.
24240 * rangetab.c: Ditto.
24241 * specifier.c: Ditto.
24242 * symbols.c: Ditto.
24243 * toolbar.c: Ditto.
24244 * tooltalk.c: Ditto.
24245 * window.c: Ditto.
24246
24247 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
24248
24249 * XEmacs 21.2.17 is released
24250
24251 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
24252
24253 * config.h.in (HAVE_LDAP_SET_OPTION): New define
24254 (HAVE_LDAP_GET_LDERRNO): Ditto
24255 (HAVE_LDAP_RESULT2ERROR): Ditto
24256 (HAVE_LDAP_PARSE_RESULT): Ditto
24257 (HAVE_UMICH_LDAP): Removed
24258 (HAVE_NS_LDAP): Removed
24259
24260 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
24261 suggested by Olivier Galibert
24262 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
24263
24264 * eldap.c: Take the removal of `livep' into account in all the
24265 necessary functions
24266 (signal_ldap_error): Take two additional parameters
24267 Added new finer compilation conditions in order to use
24268 ldap_parse_result or ldap_result2error if available
24269 (Fldap_open): Conform to this new API
24270 (Fldap_search_internal): Ditto
24271
24272 1999-06-17 SL Baur <steve@miho.m17n.org>
24273
24274 * data.c (struct int_or_double): Should use EMACS_INT not int.
24275
24276 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
24277
24278 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
24279 redisplay-x.c
24280
24281 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
24282
24283 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
24284 `CCL_MODE_ENCODING'.
24285
24286 * file-coding.c (mule_decode): Run `ccl_driver' with
24287 `CCL_MODE_DECODING'.
24288 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
24289
24290 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
24291 (ccl_driver): Add new argument `conversion_mode'.
24292 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
24293 (Fccl_execute_on_string): Likewise [perhaps it is better to add
24294 new optional argument].
24295
24296 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
24297 (CCL_MODE_DECODING): New macro.
24298 (ccl_driver): Add new argument `conversion_mode'.
24299
24300 1999-06-15 SL Baur <steve@miho.m17n.org>
24301
24302 * mule-charset.c (Fsplit_char): New subr.
24303 (Fchar_octet): delete.
24304 (syms_of_mule_charset): DEFSUBR it.
24305
24306 1999-06-13 Andy Piper <andy@xemacs.org>
24307
24308 * menubar.h: update declarations involving gui_items.
24309
24310 * lisp.h: declare Lisp_Gui_Item.
24311
24312 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
24313
24314 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
24315 (print_image_instance): ditto.
24316 (image_instance_equal): ditto.
24317 (image_instance_hash): ditto.
24318
24319 * event-msw.c (mswindows_need_event): assert badly_p status.
24320 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
24321 callbacks in tree-view and tab-control widgets.
24322 (emacs_mswindows_next_event): modify use of
24323 mswindows_dequeue_dispatch_event.
24324
24325 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
24326 lisp-based gui_items.
24327
24328 * glyphs-msw.c (mswindows_update_subwindow): update use of
24329 gui_items.
24330 (mswindows_register_gui_item): new function.
24331 (mswindows_register_gui_item): fix to use lisp gui_items.
24332 (mswindows_widget_instantiate): ditto.
24333 (mswindows_button_instantiate): ditto.
24334 (add_tree_item): new function to recursively add tree view
24335 elements.
24336 (add_tree_item_list): ditto.
24337 (mswindows_tree_instantiate): new function. instantiate tree view
24338 controls.
24339 (add_tab_item): new function to add tabs to a tab control.
24340 (mswindows_tab_instantiate): new function. instantiate tab
24341 controls.
24342 (image_instantiator_format_create_glyphs_mswindows): add tree view
24343 and tab controls.
24344 (vars_of_glyphs_mswindows): ditto.
24345
24346 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
24347 item lists.
24348 (check_valid_item_list): ditto.
24349 (initialize_widget_image_instance): fix to use new lisp gui_item.
24350 (widget_instantiate_1): allow the setting of default textwidth in
24351 characters.
24352 (widget_instantiate): change to use new widget_instantiate_1
24353 signature.
24354 (combo_instantiate): ditto.
24355 (static_instantiate): ditto.
24356 (tab_instantiate): new function for tab widgets.
24357 (image_instantiator_format_create_glyphs_widget): add tab and tree
24358 view widgets.
24359
24360 * menubar-msw.c (displayable_menu_item): convert to use lisp
24361 gui_items.
24362 (populate_menu_add_item): ditto.
24363 (populate_or_checksum_helper): ditto.
24364
24365 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
24366 gui_items.
24367 (Fmenu_find_real_submenu): ditto.
24368
24369 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
24370
24371 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
24372 objects, convert functions that use them accordingly.
24373 (gui_item_init): ditto.
24374 (gui_item_active_p): ditto.
24375 (gui_item_selected_p): ditto.
24376 (gui_item_included_p): ditto.
24377 (gui_item_display_flush_left): ditto.
24378 (gui_item_display_flush_right): ditto.
24379 (mark_gui_item): ditto.
24380 (allocate_gui_item): new function to create a gui_item.
24381 (make_gui_item_from_keywords_internal): ditto. create and return a
24382 gui_item as well as setting keywords.
24383 (gui_parse_item_keywords): ditto.
24384 (gui_parse_item_keywords_no_errors): ditto.
24385 (gui_add_item_keywords_to_plist): new function, not yet used.
24386 (gui_item_hash): new function.
24387 (gui_item_id_hash): use gui_item_hash.
24388 (gui_item_equal): new function.
24389 (print_gui_item): new function.
24390
24391 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
24392
24393 * XEmacs 21.2.16 is released
24394
24395 1999-06-10 Andy Piper <andy@xemacs.org>
24396
24397 * select-msw.c (mswindows_own_selection): only set the clipboard
24398 if asked.
24399 (mswindows_get_foreign_selection): only get the clipboard if
24400 asked.
24401 (mswindows_disown_selection): only disown the clipboard if asked.
24402
24403 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
24404
24405 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
24406 of `no-conversion'.
24407 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
24408 of coding-category `no-conversion'.
24409
24410 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
24411
24412 * file-coding.c (Qraw_text): New variable.
24413 (syms_of_mule_coding): Add new symbol `raw-text'.
24414 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
24415 define coding-system `binary' independently; define coding-system
24416 `no-conversion' as an alias for `raw-text'.
24417
24418 * file-coding.h (Qraw_text): New variable.
24419
24420 1999-06-08 SL Baur <steve@xemacs.org>
24421
24422 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
24423
24424 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
24425
24426 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
24427 base64.el.
24428 (base64_decode_1): Signal errors instead of returning -1.
24429
24430 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
24431
24432 * mule-charset.c (Fmake_char): Update docstring.
24433
24434 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
24435
24436 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
24437
24438 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
24439
24440 * fns.c (base64_decode_1): Allow and ignore any non-base64
24441 characters in input.
24442
24443 1999-05-27 Olivier Galibert <galibert@pobox.com>
24444
24445 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
24446 of report_pure_usage().
24447
24448 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
24449
24450 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
24451
24452 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
24453
24454 * XEmacs 21.2.15 is released
24455
24456 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
24457
24458 * frame.c (Fset_mouse_position):
24459 (Fset_mouse_pixel_position):
24460 * window.c (Fsplit_window):
24461 (Fmove_to_window_line):
24462 Fix crash when invoking functions with an already-deleted window
24463 argument.
24464
24465 * indent.c (vertical_motion_1):
24466 (vmotion_pixels):
24467 (Fvertical_motion_pixels):
24468 * window.c (Fwindow_displayed_text_pixel_height):
24469 Fix error message when invoking functions with an already-deleted
24470 window argument.
24471
24472 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
24473
24474 * sysdep.c (request_sigio_on_device): Guard against glibc
24475 2.1's stub streams implementation.
24476
24477 1999-06-03 SL Baur <steve@xemacs.org>
24478
24479 * config.h.in:
24480 * emacs.c: Implement x.y.z version numbers
24481 From Jan Vroonhof <vroonhof@math.ethz.ch>
24482
24483 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
24484
24485 * mule-charset.c (complex_vars_of_mule_charset): Registry of
24486 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
24487 "jisc6226.1983".
24488
24489 1999-06-03 SL Baur <steve@xemacs.org>
24490
24491 * frame-x.c:
24492 * device-x.c: rename session option to wmcommand.
24493 From Oliver Graf <ograf@rhein-zeitung.de>
24494
24495 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
24496
24497 * fns.c (Fsubstring): Don't traverse the same region twice with
24498 charcount_to_bytecount().
24499
24500 1999-06-03 SL Baur <steve@steve1.m17n.org>
24501
24502 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
24503 garbage.
24504
24505 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
24506 doesn't really work as is implied by the commentary).
24507 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
24508
24509 1999-06-02 SL Baur <steve@steve1.m17n.org>
24510
24511 * symsinit.h: Declare vars_of_ntproc.
24512 * emacs.c (main_1): Call it.
24513
24514 * ntproc.c (syms_of_ntproc): Move variable initializations from
24515 here ...
24516 (vars_of_ntproc): ... to here [new function].
24517
24518 * file-coding.c (syms_of_file_coding): Rename.
24519 (vars_of_file_coding): Ditto.
24520 (complex_vars_of_file_coding): Ditto.
24521
24522 * symsinit.h: Rename *_mule_coding to *_file_coding.
24523
24524 * emacs.c (main_1): Call them by the proper name.
24525
24526 * device-msw.c (syms_of_device_mswindows): Move variable
24527 initializations from here ...
24528 (vars_of_device_mswindows): ... to here.
24529
24530 * chartab.c (vars_of_chartab): New function.
24531
24532 * symsinit.h: New function, vars_of_chartab.
24533
24534 * emacs.c (main_1): Call it.
24535
24536 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
24537 (vars_of_mule_canna): ... to here.
24538
24539 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
24540 initializations out of syms_of_mule_ccl.
24541
24542 * symsinit.h: Declare new function vars_of_mule_ccl.
24543
24544 * emacs.c (main_1): Call it.
24545
24546 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
24547
24548 * fns.c (base64_decode_1): Ignore whitespace.
24549
24550 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
24551
24552 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
24553 ARG2.
24554
24555 1999-05-21 Andy Piper <andy@xemacs.org>
24556
24557 * xselect.c: deleted.
24558
24559 * symsinit.h: declare select initialisation.
24560
24561 * select.h: new file. declare commonly used select functions and
24562 variables.
24563
24564 * select.c: new file. generalised from xselect.c.
24565 (clean_local_selection_data): moved from xselect.c.
24566 (get_local_selection): ditto. device specific pieces called via a
24567 devmeth.
24568 (handle_selection_clear): ditto.
24569 (Fown_selection_internal): renamed and generalised from
24570 Fx_own_selection_internal. moved from xselect.c.
24571 (Fdisown_selection_internal): ditto.
24572 (Fselection_owner_p): ditto.
24573 (Fselection_exists_p): ditto.
24574 (Fget_selection_internal): ditto.
24575 (syms_of_select): new function. QXXXX values moved from xselect.c
24576 (vars_of_select): new function. selection_converter_alist,
24577 lost_selection_hooks moved and renamed from xselect.c
24578
24579 * select-x.c: renamed from xselect.c.
24580 (x_own_selection): converted to device specific. non-X-specific
24581 bits moved to select.c.
24582 (x_get_foreign_selection): ditto.
24583 (x_disown_selection): ditto.
24584 (x_selection_exists_p): ditto.
24585 (console_type_create_select_x): new function.
24586
24587 * select-msw.c (mswindows_own_selection): new device method to set
24588 the clipboard when we 'own' the selection.
24589 (mswindows_get_foreign_selection): new device method to get the
24590 clipboard.
24591 (mswindows_disown_selection): new device method to delete the
24592 selection when we 'disown' it.
24593 (console_type_create_select_mswindows): new function.
24594
24595 * emacs.c (main_1): add select to things to initialise.
24596
24597 * console.h (struct console_methods): new console methods for
24598 selection.
24599
24600 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
24601
24602 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
24603
24604 * print.c (long_to_string): Install a faster version.
24605
24606 1999-05-16 Andy Piper <andy@xemacs.org>
24607
24608 * ntproc.c (syms_of_ntproc): default
24609 win32-start-process-share-console to t.
24610
24611 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
24612
24613 * config.h.in: Do it here.
24614
24615 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
24616
24617 1999-05-14 Andy Piper <andy@xemacs.org>
24618
24619 * toolbar-msw.c (mswindows_output_toolbar): hash on something
24620 hashable.
24621
24622 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
24623
24624 * XEmacs 21.2.14 is released
24625
24626 1999-05-12 Andy Piper <andy@xemacs.org>
24627
24628 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
24629
24630 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
24631
24632 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
24633 run_temacs_argv array -- fixes random memory corruption crash
24634
24635 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
24636
24637 * window.c (Fcurrent_window_configuration):
24638 Save minibuffer height;
24639
24640 * window.c (set_window_configuration): use it.
24641
24642 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
24643
24644 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
24645
24646 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
24647
24648 * redisplay.c (redisplay_window): Do not put data
24649 in the line start cache if it is not guaranteed to be correct
24650
24651 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
24652
24653 * window.c (struct window_config): Removed frame
24654 size members.
24655 (window_config_equal): No longer compare frame sizes.
24656 (Fset_window_configuration): Resize old top window to fit in the
24657 current frame directly, no longer use a fake frame resize.
24658 (Fcurrent_window_configuration): No longer save frame size
24659
24660 1999-05-11 Andy Piper <andy@xemacs.org>
24661
24662 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
24663 first character.
24664
24665 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
24666
24667 * sysdep.c (init_system_name): If gethostname gives a proper
24668 domain name, don't look further for one.
24669
24670 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
24671
24672 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
24673 (Fintern_soft): Accept a symbol argument.
24674
24675 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
24676
24677 * symbols.c (Fintern): ...do it here.
24678
24679 * lread.c (read_atom): Don't handle keywords here.
24680
24681 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
24682
24683 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
24684
24685 1999-05-03 Olivier Galibert <galibert@pobox.com>
24686
24687 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
24688 is interned in the main obarray.
24689
24690 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
24691
24692 * menubar-x.c (pre_activate_callback): set accelerator field in
24693 "No menu" entries to nil. Avoid crash in
24694 command_builder_operate_menu_accelerator
24695
24696 1999-05-03 Olivier Galibert <galibert@pobox.com>
24697
24698 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
24699
24700 * lisp.h (DEFUN): Fix lrecord header initialisation.
24701
24702 1999-05-02 Andy Piper <andy@xemacs.org>
24703
24704 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
24705
24706 * ntproc.c (sys_kill): cast using MS mandated defines.
24707
24708 1999-04-29 Andy Piper <andy@xemacs.org>
24709
24710 * m/intel386.h: remove redundant definitions.
24711
24712 * s/mingw32.h: new header for mingw32.
24713
24714 * unexnt.c: (open_input_file): function moved to nt.c.
24715 (close_file_data): ditto.
24716 (rva_to_section): function moved to ntproc.
24717
24718 * symsinit.h: declare syms_of_ntproc();
24719
24720 * objects-msw.c (mswindows_font_instance_truename): new function.
24721
24722 * ntproc.c: remove many warnings.
24723 (_sys_read_ahead): moved from nt.c and made static.
24724 (rva_to_section): moved from unexnt.c but not defined under
24725 mingw32.
24726 (win32_executable_type): implement what we can for mingw32
24727 headers.
24728 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
24729
24730 * ntheap.h: remove declarations of functions that are now static.
24731
24732 * ntheap.c: support static heap.
24733
24734 * nt.h: conditionalise X_OK definition.
24735
24736 * nt.c: eliminate many warnings and support mingw32.
24737 (open_input_file): function moved from unexnt.c and made static
24738 (close_file_data): ditto.
24739 (_sys_read_ahead): moved to ntproc.c
24740
24741 * emacs.c: make sure syms_of_ntptroc gets called under windows.
24742
24743 * console-msw.h: support mingw32.
24744 * getloadavg.c: ditto.
24745 * ntplay.c: ditto.
24746 * sysdep.c: ditto.
24747 * sysdir.h: ditto.
24748 * systime.h: ditto.
24749 * systty.h: ditto.
24750
24751 * config.h.in: don't turn on DEBUG_ENCAPSULATION by default because
24752 some systems don't have all of the encapsulated system calls.
24753
24754 * callproc.c: warning elimination.
24755 * dired-msw.c: ditto.
24756 * process-nt.c: ditto.
24757 * realpath.c: ditto.
24758
24759 * Makefile.in.in: tweak : and ; for building under mswindows.
24760
24761 1999-04-26 Michael Harnois <mharnois@willinet.net>
24762
24763 * eldap.c (allocate_ldap): Adapt to the new semantics of
24764 alloc_lcrecord_type().
24765
24766 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
24767
24768 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
24769
24770 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
24771
24772 * Delete mule-coding.c and mule-coding.h because they are not
24773 used.
24774
24775 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
24776
24777 * objects.c (print_font_instance): Check for NILP(f->device),
24778 i.e. Vthe_null_font_instance.
24779 (font_instance_truename_internal): ditto.
24780 (Ffont_instance_properties): ditto.
24781
24782 1999-04-22 Olivier Galibert <galibert@pobox.com>
24783
24784 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
24785 array anymore.
24786
24787 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
24788
24789 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
24790 it easier to add new ones.
24791
24792 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
24793
24794 * symbols.c (reject_constant_symbols): Ditto.
24795 (init_symbols_once_early): Ditto.
24796
24797 * print.c (print_symbol): Don't use ->obarray.
24798
24799 * symbols.c (Funintern): Ditto.
24800
24801 * alloc.c (Fmake_symbol): Don't set ->obarray.
24802
24803 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
24804
24805 * symbols.c (init_symbols_once_early): Removed
24806 Vpure_uninterned_symbol_table.
24807 (Fintern): Don't store to ->obarray field.
24808
24809 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
24810
24811 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
24812 (eq_with_ebola_notice): Remove abracadabra support.
24813
24814 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
24815
24816 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
24817 retrieve the distinguished names of entries
24818
24819 1999-03-08 Martin Buchholz <martin@xemacs.org>
24820
24821 * lread.c (read_escape): Make hex escapes read only two hex digits.
24822
24823 1999-04-05 Olivier Galibert <galibert@pobox.com>
24824
24825 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
24826 * make-src-depend: Remove puresize-adjust.h.
24827 * src-headers: Remove puresize-adjust.h.
24828 * config.h.in: Kill everything purespace/gung-ho related.
24829
24830 * dbxrc: Make gung-ho mandatory.
24831 * gdbinit: Ditto.
24832
24833 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
24834 c_readonly and lisp_readonly. Remove implementation arrays.
24835 (C_READONLY_RECORD_HEADER_P): Added.
24836 (LISP_READONLY_RECORD_HEADER_P): Added.
24837 (SET_C_READONLY_RECORD_HEADER): Added.
24838 (SET_LISP_READONLY_RECORD_HEADER): Added.
24839
24840 * lisp.h: Kill everything purespace/non gung-ho related.
24841 (CHECK_C_WRITEABLE): Added.
24842 (CHECK_LISP_WRITEABLE): Added.
24843 (C_READONLY): Added.
24844 (LISP_READONLY): Added.
24845
24846 * lisp-union.h: Make gung-ho mandatory.
24847 * lisp-disunion.h: Ditto.
24848
24849 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
24850 set_lheader_implementation calls.
24851 (c_readonly): Added.
24852 (lisp_readonly): Added.
24853 (make_string_nocopy): Added.
24854 (Fpurecopy): Changed to do nothing. Kept the old documentation
24855 for reference purposes for the next patches.
24856 (sweep_lcrecords_1): Don't free C readonly lcrecords.
24857 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
24858 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
24859
24860 * fns.c: Make gung-ho mandatory.
24861 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
24862 (Fremprop): Ditto.
24863 (Ffillarray): Ditto.
24864
24865 * data.c: Make gung-ho mandatory.
24866 (pure_write_error): Removed.
24867 (c_write_error): Added.
24868 (lisp_write_error): Added.
24869 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
24870 (Fsetcdr): Ditto.
24871 (Faset): Ditto.
24872
24873 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
24874 make_string or make_string_nocopy. Fix various
24875 alloc_lcrecord_type.
24876
24877 * lread.c: Remove everything purespace related.
24878 (Flocate_file_clear_hashing): purified -> c_readonly.
24879 (locate_file): Ditto.
24880 (read_atom): make_pure_pname -> make_string.
24881
24882 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
24883 reporting.
24884 (Fdump_emacs): Ditto.
24885
24886 * print.c (print_internal): Make gung-ho mandatory.
24887 * ntheap.c (sbrk): Ditto.
24888 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
24889 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
24890
24891 * sheap.c (more_static_core): Remove puresize-adjust.h from
24892 message.
24893
24894 * syntax.c (complex_vars_of_syntax): make_pure_string ->
24895 make_string_nocopy.
24896 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
24897 (vars_of_keymap): make_pure_string -> make_string_nocopy.
24898 * events.c (deinitialize_event): Fix set_lheader_implementation.
24899 (zero_event): Ditto.
24900 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
24901 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
24902 * mule-charset.c (make_charset): Ditto.
24903 * console.c (allocate_console): Ditto.
24904 (complex_vars_of_console): Ditto.
24905 * file-coding.c (allocate_coding_system): Ditto.
24906 * device.c (allocate_device): Ditto
24907 * gui-x.c (gcpro_popup_callbacks): Ditto.
24908 * extents.c (allocate_extent_auxiliary): Ditto.
24909 (allocate_extent_info): Ditto.
24910 (copy_extent): Ditto.
24911 * glyphs.c (allocate_image_instance): Ditto.
24912 (allocate_glyph): Ditto.
24913 * frame.c (allocate_frame_core): Ditto.
24914 * database.c (allocate_database): Ditto.
24915 * tooltalk.c (make_tooltalk_message): Ditto.
24916 (make_tooltalk_pattern): Ditto.
24917 * rangetab.c (Fmake_range_table): Ditto.
24918 (Fcopy_range_table): Ditto.
24919 * process.c (make_process_internal): Ditto.
24920 * chartab.c (Fmake_char_table): Ditto.
24921 (make_char_table_entry): Ditto.
24922 (copy_char_table_entry): Ditto.
24923 (Fcopy_char_table): Ditto.
24924 * elhash.c (make_general_lisp_hash_table): Ditto.
24925 (Fcopy_hash_table): Ditto.
24926 * buffer.c (allocate_buffer): Ditto.
24927 (complex_vars_of_buffer): Ditto.
24928 * event-stream.c (allocate_command_builder): Ditto.
24929 * objects.c (Fmake_color_instance): Ditto.
24930 (Fmake_font_instance): Ditto.
24931 (vars_of_objects): Ditto.
24932 * toolbar.c (update_toolbar_button): Ditto.
24933 * window.c (allocate_window): Ditto.
24934 (make_dummy_parent): Ditto.
24935 (Fcurrent_window_configuration): Fix alloc_lcrecord.
24936 (vars_of_window): Fix make_lcrecord_list.
24937 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
24938 Flist.
24939 * lstream.c (Lstream_new): Fix make_lcrecord_list.
24940 * opaque.c (make_opaque): Fix alloc_lrecord.
24941 (make_opaque_list): Fix alloc_lrecord_type.
24942
24943 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
24944
24945 * process.c (Fstart_process_internal): Ditto.
24946
24947 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
24948 locate_file().
24949
24950 * glyphs-x.c (x_locate_pixmap_file): Ditto.
24951
24952 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
24953 locate_file().
24954
24955 * emodules.c (vars_of_module): New variable Vmodule_extensions.
24956 (emodules_load): Use it when calling locate_file().
24957
24958 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
24959 locate_file().
24960
24961 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
24962 (vars_of_callproc): Initialize it.
24963 (Fcall_process_internal): Use it when calling locate_file().
24964
24965 * alloc.c (disksave_object_finalization): Use
24966 Flocate_file_clear_hashing().
24967
24968 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
24969 given `t' as argument.
24970
24971 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
24972
24973 * lread.c (locate_file): Expand `pathel' when appropriate.
24974 (Flocate_file_clear_hashing): Expand path elements.
24975 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
24976
24977 * dired.c (make_directory_hash_table): Create the hash-table only
24978 if the directory open is successful.
24979
24980 * lread.c (decode_mode_1): New function.
24981 (decode_mode): Ditto.
24982 (Flocate_file): Use them.
24983 (Flocate_file): Expand FILENAME.
24984 (locate_file_map_suffixes): New function.
24985 (locate_file_in_directory_mapper): New function.
24986 (locate_file_in_directory): Use locate_file_in_directory_mapper()
24987 and locate_file_map_suffixes().
24988 (locate_file_construct_suffixed_files): Use
24989 locate_file_map_suffixes().
24990 (locate_file_without_hash): Don't GCPRO path.
24991 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
24992 (syms_of_lread): Remove Qlocate_file_hash_table.
24993 (locate_file_find_directory_hash_table): Use
24994 Vlocate_file_hash_table.
24995 (locate_file_refresh_hashing): Ditto.
24996
24997 * lread.c: Renamed read_objects to Vread_objects.
24998
24999 1999-04-16 Olivier Galibert <galibert@pobox.com>
25000
25001 * mule-charset.c: Generally resync with fsf 20.3 charset
25002 interface.
25003 (make_charset): Add long and short name. Use id instead of
25004 leading byte.
25005 (Fmake_charset): Ditto.
25006 (Fmake_reverse_direction_charset): Ditto.
25007 (Fcharset_property): Ditto.
25008 (Fcharset_short_name): Added.
25009 (Fcharset_long_name): Added.
25010 (Fcharset_description): Renamed from charset-doc-string.
25011 (syms_of_mule_charset): Synced symbols.
25012 (complex_vars_of_mule_charset): Synced charsets.
25013
25014 * mule-charset.h: Removed leading byte (uses id instead), added
25015 short and long name.
25016
25017 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
25018
25019 * file-coding.c (Fdefine_coding_system_alias): New function.
25020
25021 1999-04-08 Olivier Galibert <galibert@pobox.com>
25022
25023 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
25024 and -ascii fonts for displaying ascii instead of iso8859-1 only.
25025
25026 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
25027
25028 * extents.c (set_extent_glyph_1): Make sure that the glyph we
25029 attach to the extent is valid.
25030
25031 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
25032
25033 * dired.c (user_name_completion): Mule-ize.
25034 (user_name_completion): Use xmalloc/xrealloc/xfree.
25035 (user_name_completion): Use DO_REALLOC.
25036 (user_name_completion): Cut down the number of static variables;
25037 use a structure.
25038 (user_name_completion): Username completion is always
25039 case-sensitive.
25040
25041 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
25042
25043 * fns.c (base64_decode_1): Remove COUNTER.
25044 (base64_decode_1): Accept CRLF in addition to CR.
25045 (base64_decode_1): Disallow a stray character after final EOF; the
25046 check was probably a remnant of buggy recode code.
25047
25048 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
25049
25050 * fns.c (init_provide_once): Provide `base64'.
25051
25052 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
25053
25054 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
25055 (Fbase64_encode_region): If buffer is read-only, bail out early.
25056 (Fbase64_decode_region): Ditto.
25057 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
25058 compiler.
25059 (Fbase64_encode_string): Ditto.
25060 (Fbase64_decode_region): Ditto.
25061 (Fbase64_decode_string): Ditto.
25062
25063 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
25064
25065 * dired.c (Fdirectory_files): Remove redundant code.
25066
25067 1999-03-05 Philip Aston <philipa@parallax.co.uk>
25068
25069 * frame-msw.c Make raise-frame restore minimised windows.
25070
25071 1999-03-05 Philip Aston <philipa@parallax.co.uk>
25072
25073 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
25074 add magic newline.
25075
25076 1999-03-05 Philip Aston <philipa@parallax.co.uk>
25077
25078 * toolbar-msw.c Consider captions when deciding whether to rebuild
25079 toolbar. This fixes the initial toolbar display for those of us
25080 who don't like captions. These patches applied by Andy Piper.
25081
25082 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
25083
25084 * XEmacs 21.2.13 is released
25085
25086 1999-03-12 SL Baur <steve@xemacs.org>
25087
25088 * file-coding.c: Guard ucs table initialization with ifdef MULE.
25089
25090 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
25091
25092 * file-coding.c: docstring and comment improvements.
25093 (decode_ucs4) flag possible data loss with comment.
25094
25095 1999-03-10 Martin Buchholz <martin@xemacs.org>
25096
25097 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
25098 (ucs_to_char):
25099 (Fucs_char):
25100 (Fset_char_ucs):
25101 (decode_coding_ucs4):
25102 (encode_coding_ucs4):
25103 (detect_coding_utf8):
25104 (decode_coding_utf8):
25105 (encode_utf8):
25106 (encode_coding_utf8):
25107 Add CHECK_* macros where needed to avoid crashes.
25108 #ifdef out all composite character support using
25109 #ifdef ENABLE_COMPOSITE_CHARS
25110 Use normal XEmacs coding standards.
25111 Fix docstrings.
25112 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
25113
25114 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
25115
25116 * file-coding.c (make-coding-system): Add description about
25117 `ucs-4' and `utf-8'.
25118 (detection_state): Modify to implement ucs-4 and utf-8.
25119 (detect_coding_type): Likewise.
25120 (detect_coding_ucs4): New implementation.
25121 (detect_coding_utf8): New implementation.
25122 (encode_utf8): fixed.
25123 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
25124 `utf-8'.
25125
25126 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
25127
25128 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
25129 2022 registry to private area.
25130
25131 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
25132
25133 * file-coding.c (encode_utf8): New function.
25134 (encode_coding_utf8): New implementation.
25135
25136 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
25137
25138 * file-coding.c (ucs_to_mule_table): New variable; abolish
25139 `Vucs_to_mule_table'
25140 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
25141 (set-ucs-char): New function.
25142 (ucs_to_char): New function.
25143 (ucs-char): New function.
25144 (set-char-ucs): New function.
25145 (char-ucs): New function.
25146 (decode_ucs4): Use `ucs_to_char'.
25147 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
25148 `mule-to-ucs-table'.
25149
25150 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
25151
25152 * chartab.h: EXFUN `Fget_char_table'.
25153
25154 * file-coding.c (encode_ucs4): New function.
25155 (encode_coding_ucs4): Use `encode_ucs4'.
25156
25157 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
25158
25159 * file-coding.c (decode_coding_ucs4): New implementation.
25160
25161 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
25162
25163 * file-coding.c (decode_coding_ucs4): fixed.
25164
25165 * file-coding.c (Vmule_to_ucs_table): New variable.
25166 (mule_char_to_ucs4): New function.
25167 (encode_coding_ucs4): New implementation.
25168 (complex_vars_of_mule_coding): Define variable
25169 `mule-to-ucs-table'.
25170
25171 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
25172
25173 * file-coding.c (decode_coding_utf8): New implementation.
25174
25175 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
25176
25177 * file-coding.c (decode_coding_utf8): fixed.
25178
25179 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
25180
25181 * file-coding.c (Vucs_to_mule_table): New variable.
25182 (decode_ucs4): Refer `Vucs_to_mule_table'.
25183 (complex_vars_of_mule_coding): Define variable
25184 `ucs-to-mule-table'.
25185
25186 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
25187
25188 * file-coding.c (detect_coding_ucs4): New function (not
25189 implemented yet).
25190 (decode_coding_ucs4): New function.
25191 (encode_coding_ucs4): New function (not implemented yet).
25192 (detect_coding_utf8): New function (not implemented yet).
25193 (decode_coding_utf8): New function.
25194 (encode_coding_utf8): New function (not implemented yet).
25195 (make-coding-system): New type `ucs4' and `utf8'.
25196 (coding-system-type): Likewise.
25197 (detection_state): Add `ucs4' and `utf8'.
25198 (detect_coding_type): Likewise.
25199 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
25200 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
25201 (decode_ucs4): New function (very incomplete).
25202 (syms_of_mule_coding): Add `ucs4' and `utf8'.
25203
25204 * file-coding.h: Add definitions for UCS-4 and UTF-8.
25205
25206 1999-03-08 Martin Buchholz <martin@xemacs.org>
25207
25208 * mule-charset.c:
25209 (non_ascii_valid_char_p):
25210 (lookup_composite_char):
25211 (composite_char_string):
25212 (make-composite-char):
25213 (composite-char-string):
25214 (syms_of_mule_charset):
25215 (complex_vars_of_mule_charset):
25216 * mule-charset.h (LEADING_BYTE_COMPOSITE):
25217 (CHAR_LEADING_BYTE):
25218 (MAKE_CHAR):
25219 * file-coding.h (CODING_STATE_COMPOSITE):
25220 (CODING_STATE_ISO2022_LOCK):
25221 (iso_esc_flag):
25222 (LEADING_BYTE_COMPOSITE):
25223 * file-coding.c (struct iso2022_decoder):
25224 (decoding_closer):
25225 (reset_iso2022):
25226 (parse_iso2022_esc):
25227 (encode_coding_iso2022):
25228 #ifdef out all composite character support using
25229 #ifdef ENABLE_COMPOSITE_CHARS
25230
25231 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
25232
25233 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
25234
25235 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
25236 way of `Fbase64_encode_region'.
25237
25238 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
25239
25240 * fns.c (base64_encode_1): Don't add a newline at the tail.
25241
25242 1999-03-08 Andy Piper <andy@xemacs.org>
25243
25244 * menubar-msw.c (displayable_menu_item): correct off-by-one &
25245 handling.
25246
25247 1999-03-07 Martin Buchholz <martin@xemacs.org>
25248
25249 * console-stream.h (struct stream_console):
25250 * event-unixoid.c (event_stream_unixoid_select_console):
25251 (event_stream_unixoid_unselect_console):
25252 * print.c (Fexternal_debugging_output):
25253 * sysdep.c (reset_one_device):
25254 * console-stream.c (stream_init_console):
25255 (stream_delete_console):
25256 (allocate_stream_console_struct): move into stream_init_console.
25257 (free_stream_console_struct): move into stream_delete_console.
25258 Use `fd' only for file descriptors.
25259 Therefore, rename members of struct stream_console.
25260
25261 * systime.h: Unix98 says sys/time.h should define select(), but
25262 some systems define that in unistd.h. So include that file always.
25263
25264 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
25265 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
25266 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
25267 non-boolean context
25268 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
25269
25270 * EmacsShell.c:
25271 * balloon_help.c:
25272 Add #include <stdio.h>.
25273 Some versions of assert.h use printf() without #include'ing stdio.h
25274
25275 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
25276 (log_gcpro): Remove unused variable FRAME.
25277 (show_gcprohist): Ansify.
25278 Comment the #endif's
25279
25280 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
25281 after it's just been XtDestroy'ed!
25282
25283 1999-02-18 Martin Buchholz <martin@xemacs.org>
25284
25285 * opaque.c (print_opaque):
25286 (sizeof_opaque):
25287 (equal_opaque):
25288 (hash_opaque):
25289 Egcs 1.1.1 seems to have a bug where
25290 INTP (p->size_or_chain)
25291 will crash XEmacs. Fix by introducing intermediate variable.
25292
25293 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
25294
25295 * dired.c (Fdirectory_files):
25296 (Ffile_name_completion):
25297 (Ffile_name_all_completions):
25298 (file_name_completion):
25299 - Use `directory' instead of `dirname' to sync with FSF Emacs and
25300 avoid compiler warnings.
25301 - Fix up docstrings so that C variables match documentation.
25302
25303 1999-03-05 Martin Buchholz <martin@xemacs.org>
25304
25305 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
25306 variables as small as possible to help out the compiler and the maintainer.
25307
25308 * alloc.c: (disksave_object_finalization):
25309 Set all the *-load-path variables to
25310 nil, not just load-path itself. This gets the locate-file hash
25311 tables garbage collected BEFORE dump, and has the side effect of
25312 preventing crashes on OSF4.0+egcs.
25313
25314 * alloc.c:
25315 * gdbinit:
25316 * dbxrc:
25317 - Clean up gdb/dbx debugging support.
25318 - Storing an EMACS_INT in an enum is not 64-bit clean!
25319 - So change the enum to a set of separate variables.
25320 - Add test cases to help debug the debugging support!
25321 - Add `lisp-shadows' and `run-temacs' targets for dbx.
25322 - Both dbx and gdb have been tested now.
25323
25324 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
25325
25326 * XEmacs 21.2.12 is released
25327
25328 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
25329
25330 * device-x.c: Support to find best visual without flashing.
25331
25332 1999-03-02 Paul Keusemann <pkeusem@visi.com>
25333
25334 * database.c (berkdb_map): Add flags argument to cursor call (must
25335 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
25336
25337 1999-03-03 Martin Buchholz <martin@xemacs.org>
25338
25339 * hash.c:
25340 * hash.h:
25341 General cleanup. Get free-hook.c working again.
25342 Remove unused functions:
25343 make_strings_hash_table, copy_hash, expand_hash_table.
25344
25345 * malloc.c:
25346 * mem-limits.h:
25347 Always use new ANSI-style function prototypes.
25348
25349 * unexalpha.c (unexec): Never use implicit int.
25350
25351 * sgiplay.c (close_sound_file):
25352 (play_sound_file):
25353 (restore_audio_port):
25354 (play_sound_data):
25355 (audio_initialize):
25356 (play_internal):
25357 (drain_audio_port):
25358 (write_mulaw_8_chunk):
25359 (write_linear_chunk):
25360 (write_linear_32_chunk):
25361 (initialize_audio_port):
25362 (open_audio_port):
25363 (set_channels):
25364 (set_output_format):
25365 (adjust_audio_volume):
25366 (get_current_volumes):
25367 (parse_snd_header):
25368 Always use new ANSI-style function prototypes.
25369 Use unistd.h for missing prototypes.
25370
25371 * unexelfsgi.c (round_up):
25372 (find_section):
25373 (unexec): Always use new ANSI-style function prototypes
25374
25375 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
25376
25377 * console.h (struct console_methods): Always use full ANSI prototypes
25378
25379 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
25380
25381 1999-03-02 Andy Piper <andy@xemacs.org>
25382
25383 * event-stream.c (init_event_stream): make sure native mswindows
25384 gets an appropriate event loop.
25385
25386 1999-02-22 Andy Piper <andy@xemacs.org>
25387
25388 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
25389 than SW_SHOWNORMAL to prevent resizing of maximised frames.
25390 (mswindows_raise_frame): remove comment.
25391
25392 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
25393
25394 * XEmacs 21.2.11 is released
25395
25396 1999-02-25 SL Baur <steve@xemacs.org>
25397
25398 * mule-charset.c (Qleading_byte): New variable to implement
25399 charset-leading-byte function.
25400 (Fcharset_property): Use it.
25401 (syms_of_mule_charset): Initialize it.
25402 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
25403
25404 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
25405
25406 * glyphs-x.c (cononvert_EImage_to_XImage): correct
25407 bytes per pixel counting.
25408
25409 1999-02-15 Andy Piper <andy@xemacs.org>
25410
25411 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
25412 major lockups.
25413
25414 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
25415
25416 * fns.c (Fbase64_encode_string): New optional argument
25417 `NO_LINE_BREAK'.
25418
25419 1999-02-16 Martin Buchholz <martin@xemacs.org>
25420
25421 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
25422 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
25423
25424 1999-02-10 Martin Buchholz <martin@xemacs.org>
25425
25426 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
25427 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
25428
25429 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
25430
25431 * XEmacs 21.2.10 is released
25432
25433 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
25434
25435 * process-nt.c (nt_send_process):
25436 Fix for process-send-region/process-send-string breaking when size
25437 of the input > 128 chars: change maximum chunk size for process
25438 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
25439 succeeds.
25440
25441 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
25442
25443 * XEmacs 21.2.9 is released
25444
25445 1999-01-30 Martin Buchholz <martin@xemacs.org>
25446
25447 * bytecode.c (funcall_compiled_function): Call
25448 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
25449
25450 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
25451 #ifdef 0 out unused macro.
25452
25453 1999-01-27 Martin Buchholz <martin@xemacs.org>
25454
25455 * gui.c (gui_parse_item_keywords_internal): Make static.
25456
25457 1999-01-21 Andy Piper <andy@xemacs.org>
25458
25459 * glyphs-msw.c: add xface support.
25460 (mswindows_xface_instantiate): new function copied from glyphs-x.c
25461 (image_instantiator_format_create_glyphs_mswindows): do device
25462 specific initialisation for xfaces.
25463 (xbm_create_bitmap_from_data): line data must be padded to a word
25464 boundary.
25465
25466 * glyphs-x.c (xface_validate): moved to glyphs.c
25467 (xface_normalize): ditto.
25468 (xface_possible_dest_types): ditto.
25469 (image_instantiator_format_create_glyphs_x): do device specific
25470 initialisation for xfaces.
25471
25472 * glyphs.h: declare xface symbol.
25473
25474 * glyphs.c: move generic xface support here.
25475 (xface_validate): moved from glyphs-x.c
25476 (xface_normalize): ditto.
25477 (xface_possible_dest_types): ditto.
25478 (image_instantiator_format_create): xface declarations moved from
25479 glyphs-x.c.
25480
25481 1999-01-14 Adrian Aichner <adrian@xemacs.org>
25482
25483 * event-stream.c (vars_of_event_stream): Fixing documentation.
25484
25485 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
25486
25487 * glyphs-eimage.c (gif_instantiate): Correct handling of
25488 interlaced gifs to avoid writing past the end of the eimage
25489 buffer.
25490
25491 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
25492
25493 * search.c (Freplace_match): Handle single backslash at end of
25494 NEWTEXT correctly.
25495
25496 1999-01-12 William M. Perry <wmperry@aventail.com>
25497
25498 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
25499 avoid connection errors.
25500
25501 1999-01-12 Andy Piper <andy@xemacs.org>
25502
25503 * redisplay-output.c (redisplay_update_line): backout change that
25504 shouldn't have gone ine.
25505
25506 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
25507
25508 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
25509 collide with ldap.el
25510
25511 1999-01-11 Andy Piper <andy@xemacs.org>
25512
25513 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
25514 (DISPLAY_LINE_YPOS): new macro.
25515
25516 * redisplay-msw.c (mswindows_output_string): use it.
25517 (mswindows_output_pixmap): ditto.
25518 (mswindows_output_display_block): ditto.
25519
25520 * redisplay-output.c (redisplay_output_display_block): new
25521 function. just call the devmeth, maybe insert some generic code
25522 here later.
25523 (compare_display_blocks): use it.
25524 (output_display_line): ditto.
25525 (redisplay_unmap_subwindows_maybe): new function. potentially
25526 unmap subwindows in the given area.
25527
25528 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
25529 resetting.
25530
25531 1999-01-10 J. Kean Johnston <jkj@sco.com>
25532
25533 * Makefile.in.in: Set value of moduledir
25534 - Changed DUMPENV to include $(MODULEPATH)
25535 - Added install rule to install header files for use by ellcc.
25536
25537 * config.h.in: Added INHIBIT_SITE_MODULES
25538 - Added HAVE__DLERROR
25539 - Added HAVE_DLFCN_H
25540 - Added DLSYM_NEEDS_UNDERSCORE
25541
25542 * dll.c: Removed.
25543
25544 * emodules.c: New file containing dynamic loading code.
25545
25546 * emodules.h: New file.
25547
25548 * emacs.c: Added variables Vmodule_directory,
25549 Vsite_module_directory, Vconfigure_module_directory and
25550 Vconfigure_site_module_directory.
25551 - (main_1): Added new variable inhibit_site_modules and command
25552 line options `-no-site-modules' and `--no-site-modules'.
25553 - (main_1): Call syms_of_module() instead of syms_of_dll().
25554 - (main_1): Call vars_of_module().
25555 - (vars_of_emacs): Introduce inhibit-site-modules,
25556 module-directory, configure-module-directory,
25557 site-module-directory, and configure-site-module-directory to the
25558 Lisp reader.
25559
25560 * lisp.h: Declare load_module and list_modules, as well as
25561 Vmodule_directory, Vsite_module_directory,
25562 Vconfigure_module_directory and Vconfigure_site_module_directory.
25563
25564 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
25565 - Added correct support for site-lisp directory.
25566
25567 * symbols.c (defsubr): Modified to allow modules to add new subrs
25568 after dump time.
25569 - (defsubr_macro): Same.
25570 - (defvar_magick): Only use purespace when not initialized, so
25571 that loaded modules can still add symbols.
25572
25573 * symsinit.h: Add definitions for syms_of_module(),
25574 vars_of_module(). Removed syms_of_dll().
25575
25576 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
25577 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
25578 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
25579
25580 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
25581 explicitly pass -belf for native cc.
25582
25583 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
25584 hard-coding the library name.
25585
25586 1999-01-01 <martin@xemacs.org>
25587
25588 * device-x.c (Fx_set_font_path):
25589 Add proper cast to permit compilation under C++.
25590
25591 * buffer.c (directory_is_current_directory):
25592 Add proper casts to permit compilation under C++.
25593
25594 1998-12-30 Damon Lipparelli <lipp@primus.com>
25595
25596 * event-msw.c (mswindows_wnd_proc):
25597 Fixed failure when building with MSVC 5.
25598
25599 1998-12-29 Martin Buchholz <martin@xemacs.org>
25600
25601 * file-coding.c (decode_coding_iso2022):
25602 - Prevent crash when decoding ISO7/Lock detected files
25603 - the usual martin fiddling
25604
25605 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
25606
25607 * event-msw.c:
25608 glyphs-msw.c:
25609 Fixed failures when building with MSVC.
25610 * unexnt.c (dump_bss_and_heap):
25611 Removed compiler warning by removing bss_data variable.
25612
25613 1998-12-18 Jim Radford <radford@robby.caltech.edu>
25614
25615 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
25616 so that packages that distribute their own fonts can access them.
25617
25618 1998-12-28 Andy Piper <andy@xemacs.org>
25619
25620 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
25621 that have an image provided.
25622
25623 * glyphs.h: add Q_image decl.
25624
25625 * glyphs-widget.c new functionality allowing images in
25626 widgets.
25627 (check_valid_glyph_or_image): new function to validate
25628 glyphs passed in through :image.
25629 (widget_normalize): new function. convert :image parameters into
25630 real glyphs if not already so.
25631 (widget_instantiate_1): mess with size parameters to be similar to
25632 :image if provided.
25633 (syms_of_glyphs_widget): new keyword :image.
25634 (image_instantiator_format_create_glyphs_widget): normalize
25635 buttons and allow :image.
25636
25637 1998-12-27 Andy Piper <andy@xemacs.org>
25638
25639 * frame-msw.c (mswindows_init_frame_1): warning elimination.
25640
25641 * glyphs-widget.c (check_valid_anything): no-op function.
25642 (check_valid_callback): check callbacks in gui_items.
25643 (check_valid_symbol): as it sounds.
25644 (check_valid_string_or_vector): ditto.
25645 (widget_validate): modified for descriptors that are vectors or
25646 sequences of keyword/val pairs.
25647 (widget_instantiate_1): ditto.
25648 (image_instantiator_format_create_glyphs_widget): allow gui_item
25649 keywords in the instantiator.
25650
25651 * gui.c (gui_parse_item_keywords_internal): renamed from
25652 gui_parse_item_keywords but taking error behaviour.
25653 (gui_parse_item_keywords): use it.
25654 (gui_parse_item_keywords_no_errors): ditto.
25655 (gui_item_add_keyval_pair): add Error_behavior flag and only
25656 signal invalid keywords if required.
25657
25658 * gui.h: new gui signatures.
25659
25660 * menubar.c (menu_parse_submenu_keywords): use new
25661 gui_item_add_keyval_pair signature.
25662
25663 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
25664
25665 1998-12-28 Martin Buchholz <martin@xemacs.org>
25666
25667 * XEmacs 21.2.8 is released.
25668
25669 1998-12-28 Martin Buchholz <martin@xemacs.org>
25670
25671 * editfns.c (get_home_directory):
25672 (user-home-directory): Simplify.
25673
25674
25675 * callproc.c (child_setup):
25676 - Environment variables were being passed to inferior processes
25677 using internal encoding.
25678 - Convert to external encoding.
25679 - Rename local var `tem' to better name `tail'.
25680 - Use Flength instead of `manual' calculation.
25681
25682 * buffer.c (kill-buffer):
25683 (record-buffer):
25684 (set-buffer-major-mode):
25685 (current-buffer):
25686 - Fix up parameter names to correspond to docstrings.
25687 - Don't use `bufname' when a buffer will do as well.
25688 - Remove one unneeded GCPRO.
25689
25690 * buffer.h (initial_directory):
25691 * buffer.c (init_initial_directory):
25692 - use correct conversions between internal and external format.
25693 (directory_is_current_directory): new function
25694 (init_buffer): convert initial_directory to internal format.
25695 - solve crashes when current working directory is non-ASCII.
25696
25697 * alloc.c (xmalloc):
25698 (xcalloc):
25699 (xrealloc):
25700 - remove stupid casts, since XEmacs requires an ANSI C system.
25701 (lrecord_type_index): replace abort() with more readable assert().
25702
25703 (reset_lcrecord_stats): remove.
25704 (sweep_lcrecords_1):
25705 - replace call to reset_lcrecord_stats() with call to xzero().
25706
25707 1998-12-27 Martin Buchholz <martin@xemacs.org>
25708
25709 * process-unix.c (unix_create_process):
25710 - Fix crash invoking program with non-ASCII name.
25711 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
25712 - Remove unused variable `env'.
25713 - Rename `temp' to better name `save_errno'.
25714 - Reorganize code for clarity. But still too chicken to nuke the
25715 BSD 4.2 support.
25716
25717 1998-12-24 Martin Buchholz <martin@xemacs.org>
25718
25719 * XEmacs 21.2.7 is released.
25720
25721 1998-12-23 Martin Buchholz <martin@xemacs.org>
25722
25723 * glyphs.c (decode_device_ii_format):
25724 - Fix indentation.
25725 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
25726
25727 * glyphs-x.c (x_subwindow_instantiate):
25728 - A image instance mask was being assigned to a image instance type!
25729 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
25730
25731 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
25732 Fix indentation.
25733 * glyphs-x.h: Make indentation consistent.
25734
25735 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
25736
25737 * glyphs-widget.c (check_valid_glyph): Warning suppression.
25738 - Make it static
25739 - #ifdef it out, since it's not actually used yet (FIX THIS!)
25740
25741 * glyphs-widget.c:
25742 * glyphs.h:
25743 Move declarations of decode_device_ii_format and
25744 decode_image_instantiator_format into glyphs.h where they belong.
25745
25746 1998-12-22 Martin Buchholz <martin@xemacs.org>
25747
25748 * frame-x.c (x_delete_frame): Revert part of my changes at the
25749 suggestion of Gunnar Evermann - unfortunately no one really
25750 understands this code.
25751
25752 * callproc.c (init_callproc): code cleanup.
25753
25754 * free-hook.c (malloc):
25755 (check_malloc):
25756 (__free_hook):
25757 (__malloc_hook):
25758 (__realloc_hook):
25759 (block_input_malloc):
25760 (block_input_realloc):
25761 * device-x.c (x_delete_device):
25762 * emacs.c (voodoo_free_hook):
25763 * events.c (print_event):
25764 (CHECK_EVENT_TYPE):
25765 (CHECK_EVENT_TYPE2):
25766 (CHECK_EVENT_TYPE3):
25767 Use proper prototypes.
25768 Make C_E_T macros a little faster.
25769 Pedantic fiddly little changes. You really don't care.
25770
25771 1998-12-22 Andy Piper <andy@xemacs.org>
25772
25773 * redisplay-output.c (redisplay_clear_region): make sure that
25774 fg/bg colors get set even when we are in the border area.
25775
25776 1998-12-13 Martin Buchholz <martin@xemacs.org>
25777
25778 * console-msw.c: Function definitions follow coding standards
25779 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
25780
25781 1998-12-11 Martin Buchholz <martin@xemacs.org>
25782
25783 * events.h (struct timeout_data):
25784 * event-tty.c (tty_timeout_to_emacs_event):
25785 * event-msw.c (mswindows_wm_timer_callback):
25786 * event-Xt.c (Xt_timeout_to_emacs_event):
25787 * event-msw.c (mswindows_cancel_dispatch_event):
25788 Make sure Lisp_Objects inside events are initialized to Qnil, not
25789 Qnull_pointer, which is now illegal.
25790
25791 1998-12-10 Martin Buchholz <martin@xemacs.org>
25792
25793 * lisp.h: Fix up prototypes to match alloc.c
25794
25795 1998-12-08 Martin Buchholz <martin@xemacs.org>
25796
25797 * windowsnt.h: Remove `support' for using index and rindex
25798
25799 * filelock.c (current_lock_owner):
25800 - Change uses of index -> strchr, rindex -> strrchr
25801
25802 1998-12-07 Martin Buchholz <martin@xemacs.org>
25803
25804 * sysdep.c (set_descriptor_non_blocking):
25805 Since O_NONBLOCK is now always #defined, make use of fcntl
25806 conditional on F_SETFL being defined.
25807
25808 * console-msw.c (DHEADgER):
25809 (DOPAQUE_DATA):
25810 (DEVENT):
25811 (DCONS):
25812 (DCONSCDR):
25813 (DSTRING):
25814 (DVECTOR):
25815 (DSYMBOL):
25816 (DSYMNAME):
25817 - max_align_t should not be visible to the user of the
25818 XOPAQUE_DATA macro.
25819 - use Bufbyte instead of char
25820 - parens around (FOOP (obj)) are always redundant.
25821 If they were necessary, we should fix the macro instead.
25822 - Always use string_data(foo) instead of foo->data.
25823
25824
25825 1998-12-06 Martin Buchholz <martin@xemacs.org>
25826
25827 * frame-msw.c (mswindows_init_frame_1):
25828 - use make_lisp_hash_table, not Fmake_hash_table
25829 - include elhash.h
25830
25831 * lisp.h:
25832 * alloc.c (make_vector): remove travesty
25833 (Fmake_vector):
25834 (make_pure_vector):
25835 (pure_cons):
25836 (make_bit_vector_internal):
25837 (make_bit_vector):
25838 (make_bit_vector_from_byte_vector):
25839 (Fmake_bit_vector):
25840 - make vector_equal a little faster.
25841 - Don't use variable name `new'.
25842 - Use size_t instead of EMACS_INT.
25843 - usual Martin-style pointless bit-twiddling.
25844
25845 * fns.c (mapcar1):
25846 (Fmapconcat):
25847 (Fmapcar):
25848 (Fmapvector):
25849 Make mapcar faster. In particular, make
25850 (mapc #'identity long-string)
25851 MUCH faster under Mule.
25852 * tests/automated/lisp-tests.el: Test 'em!
25853
25854 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
25855 bytecode.
25856
25857 1998-12-01 Martin Buchholz <martin@xemacs.org>
25858
25859 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
25860 Qnil, not NULL, to initialize `null' Lisp_Objects.
25861
25862 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
25863
25864 * specifier.c (display_table_validate): Update.
25865
25866 * redisplay.c (create_text_block): Use them.
25867
25868 * glyphs.c (display_table_entry): New function.
25869 (get_display_tables): Ditto.
25870
25871 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
25872
25873 * eldap.c (toplevel): Mention that eldap.c compiles with
25874 OpenLDAP libs
25875 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
25876 (Fldap_search_internal): Ditto
25877
25878 1998-12-11 Martin Buchholz <martin@xemacs.org>
25879
25880 * event-msw.c (mswindows_cancel_dispatch_event):
25881 Gratuitous code prettification
25882
25883
25884 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
25885
25886 * fns.c (Fnconc): Fix use of wrong_type_argument().
25887
25888 * floatfns.c (Ffloat): Fix docstring.
25889 (Ffloat): Fix use of wrong_type_argument().
25890 (Fabs): Ditto.
25891 (extract_float): Ditto.
25892 (Fceiling): Ditto.
25893 (Fround): Ditto.
25894 (Ftruncate): Ditto.
25895
25896 1998-12-06 Martin Buchholz <martin@xemacs.org>
25897
25898 * frame-msw.c (mswindows_init_frame_1):
25899 - use make_lisp_hash_table, not Fmake_hash_table
25900 - include elhash.h
25901
25902 * lisp.h:
25903 * alloc.c (make_vector): remove travesty
25904 (Fmake_vector):
25905 (make_pure_vector):
25906 (pure_cons):
25907 (make_bit_vector_internal):
25908 (make_bit_vector):
25909 (make_bit_vector_from_byte_vector):
25910 (Fmake_bit_vector):
25911 - make vector_equal a little faster.
25912 - Don't use variable name `new'.
25913 - Use size_t instead of EMACS_INT.
25914 - usual Martin-style pointless bit-twiddling.
25915
25916 * fns.c (mapcar1):
25917 (Fmapconcat):
25918 (Fmapcar):
25919 (Fmapvector):
25920 Make mapcar faster. In particular, make
25921 (mapc #'identity long-string)
25922 MUCH faster under Mule.
25923 * tests/automated/lisp-tests.el: Test 'em!
25924
25925 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
25926 bytecode.
25927
25928 1998-12-02 Didier Verna <didier@xemacs.org>
25929
25930 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
25931 accelerator field to nil for labels.
25932
25933 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
25934
25935 * menubar-msw.c (displayable_menu_item):
25936 Escape occurrences of '&' and support occurrences of the
25937 '%_' accelerator indicator in menus.
25938
25939 1998-11-26 Didier Verna <didier@xemacs.org>
25940
25941 * dired.c (Fdirectory_files): use make_string instead of
25942 make_ext_string on the filename. The conversion external->internal
25943 format is already done in sys_readdir.
25944
25945 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
25946
25947 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
25948
25949 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
25950
25951 * event-msw.c
25952 (Belatedly) added Kirill to list of file's authors.
25953 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
25954 quit checking. WM_PAINT messages cause redisplay, but
25955 windows' states are not necessarily stable when this function
25956 gets called.
25957
25958 1998-12-17 Andy Piper <andy@xemacs.org>
25959
25960 * strftime.c (zone_name): CONSTify.
25961
25962 1998-12-15 Andy Piper <andy@xemacs.org>
25963
25964 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
25965 (mswindows_widget_property): return Qunbound when no property available.
25966 (mswindows_button_property): ditto.
25967 (mswindows_combo_property): ditto.
25968 (mswindows_widget_set_property): ditto.
25969
25970 * glyphs-widget.c (check_valid_item_list): use properties.
25971
25972 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
25973
25974 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
25975 (Fimage_instance_property): ditto.
25976 * glyphs-widget.c (widget_property): ditto.
25977 (widget_set_property): ditto.
25978
25979 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
25980 as setting the class cursor so that GC actually changes the
25981 cursor.
25982
25983 * config.h: don't undef MAIL_USE_POP.
25984
25985 1998-12-13 Andy Piper <andy@xemacs.org>
25986
25987 * glyphs-msw.c
25988 (image_instantiator_format_create_glyphs_mswindows): line ->
25989 label.
25990 (mswindows_label_instantiate): ditto. Play with window flags.
25991 (image_instantiator_format_create_glyphs_mswindows): ditto.
25992 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
25993
25994 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
25995 cope with lines and labels.
25996 (static_instantiate): use widget_instantiate_1.
25997 line -> label.
25998 (image_instantiator_format_create_glyphs_widget): ditto.
25999
26000 1998-12-10 Andy Piper <andy@xemacs.org>
26001
26002 * Makefile.in.in (objs): add gui.o
26003
26004 1998-12-10 Andy Piper <andy@xemacs.org>
26005
26006 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
26007 no window system.
26008
26009 1998-12-09 Andy Piper <andy@xemacs.org>
26010
26011 * glyphs.c (finalize_image_instance): mark glyphs changed when an
26012 image instance is removed so that the subwindow cache gets reset
26013 and thus destroyed images get GC'd.
26014
26015 1998-12-08 Andy Piper <andy@xemacs.org>
26016
26017 * gui-msw.c (mswindows_handle_gui_wm_command): call
26018 MARK_SUBWINDOWS_CHANGED.
26019
26020 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
26021 subwindows really get deleted.
26022
26023 * redisplay.c: new variable subwindows_changed[_set].
26024 (redisplay_window): use it.
26025 (redisplay_frame): ditto.
26026 (redisplay_device): ditto.
26027 (redisplay_without_hooks): ditto.
26028
26029 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
26030 subwindows redisplay as per glyphs equivalent.
26031 * redisplay.h: ditto.
26032 (MARK_SUBWINDOWS_CHANGED): ditto.
26033 (RESET_CHANGED_SET_FLAGS): ditto.
26034 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
26035
26036 1998-12-07 Andy Piper <andy@xemacs.org>
26037
26038 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
26039 frames.
26040
26041 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
26042
26043 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
26044 messages and paint widget glyphs as appropriate with their face fg
26045 & bg.
26046
26047 1998-12-06 Andy Piper <andy@xemacs.org>
26048
26049 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
26050 here rather than in glyphs-widget - do this because we only want
26051 to provide what is really available.
26052
26053 * glyphs.c (Fimage_instance_property): new function to get the
26054 properties of image instances. wires through to console specific
26055 methods and then to widget specific methods.
26056 (Fset_image_instance_property): ditto but for setting widget properties.
26057 (check_valid_face): make extern so that it can be used elsewhere.
26058
26059 * glyphs-widget.c (widget_property): new function. gets the
26060 properties of widgets in general and wires the function through to
26061 widget specific ones.
26062 (widget_set_property): ditto but for setting widget properties.
26063
26064 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
26065 add items to the list. Play with window styles a bit to get the
26066 desired effect.
26067 (mswindows_widget_property): break out specific widget properties.
26068 (mswindows_button_property): new function. gets the checked state
26069 of a button.
26070 (mswindows_combo_property): new function. gets the current
26071 selection in the combo box.
26072 (mswindows_widget_set_property): new function. sets specific
26073 properties of specific widgets.
26074
26075 * glyphs-widget.c (check_valid_item_list): new function. check
26076 that items for a combo-box are just a list of strings.
26077 (combo_validate): new function. check there is an item list.
26078 (widget_instantiate_1): new function. renamed from
26079 widget_instantiate so that we can do slightly different things for
26080 other widgets.
26081 (widget_instantiate): call widget_instantiate_1.
26082 (combo_instantiate): new function to instantiate combo boxes,
26083 defaults height to the pixel height of the number of items in the
26084 box.
26085 (syms_of_glyphs_widget): move widget keywords here.
26086 (image_instantiator_format_create_glyphs_widget): use new combo
26087 functions.
26088
26089 1998-12-04 Andy Piper <andy@xemacs.org>
26090
26091 * event-msw.c (mswindows_wnd_proc): mule-ize.
26092
26093 * glyphs.c (pixmap_to_lisp_data): mule-ize.
26094
26095 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
26096 (resource_name_to_resource): ditto.
26097 (mswindows_resource_instantiate): ditto.
26098 (mswindows_widget_instantiate): ditto.
26099 (mswindows_widget_set_property): ditto.
26100
26101 * redisplay-output.c (redisplay_output_subwindow): don't show
26102 subwindows if they are obscured at the edge of the frame, emacs
26103 gets into some sort of redisplay loop otherwise.
26104
26105 * gui.h: prototype gui_item_selected_p.
26106
26107 * gui.c (gui_item_selected_p): new function to determine the
26108 selected state of a gui_item.
26109
26110 * frame.h (struct frame): add subwindows_changed flag.
26111
26112 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
26113
26114 * glyphs.c (update_subwindow): new function to update a
26115 subwindow's state.
26116 (update_frame_subwindows): new function to update all the
26117 subwindows on a frame.
26118
26119 * console.h (struct console_methods): add update_subwindow.
26120
26121 * glyphs-msw.c (mswindows_widget_property): return selected state
26122 for selected property.
26123 (mswindows_update_subwindow): new function. updates widget glyphs
26124 in redisplay as per menubars or toolbars e.g. selected state.
26125 (console_type_create_glyphs_mswindows): add update_subwindow.
26126
26127 1998-12-03 Andy Piper <andy@xemacs.org>
26128
26129 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
26130 tty coding system things are such.
26131
26132 * glyphs-widget.c (widget_face_font_info): new function for
26133 pulling out height and width metrics for a widget's face.
26134 (widget_text_to_pixel_conversion): calculate pixel sizes of text
26135 for widgets.
26136
26137 * event-msw.c (mswindows_drain_windows_queue): translate messages
26138 that are destined for subwindows. This makes edit fields interact
26139 with the keyboard correctly.
26140 nuke warnings by #ifndef'ing out stuff not required by msg select().
26141
26142 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
26143 macro defining the iiforma without the symbol required by widget.
26144 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
26145
26146 * general.c (syms_of_general): add Qwidget, Qselected.
26147
26148 * faces.c (complex_vars_of_faces): add widget face inheriting from
26149 gui-element face.
26150
26151 1998-11-09 Andy Piper <andy@xemacs.org>
26152
26153 * window.h (struct window): add a cache of subwindows on a
26154 per-window basis.
26155
26156 * window.c (mark_window): mark the subwindow_instance_cache.
26157 (allocate_window): initialise the subwindow instance_cache.
26158
26159 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
26160 instead of the devmeth.
26161 (x_clear_toolbar): ditto.
26162
26163 * redisplay-x.c (x_output_display_block): call
26164 redisplay_output_subwindow for subwindows and widgets.
26165
26166 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
26167 types to do nothing for.
26168
26169 * lisp.h: declare new widget/subwindow symbols.
26170
26171 * glyphs.c (image_instantiate): cache subwindows on a per-window
26172 basis.
26173 (subwindow_possible_dest_types): new function for subwindow dest
26174 types.
26175 (subwindow_instantiate): generic instantiation of a
26176 subwindow. specialised by device multi-methods.
26177 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
26178 subwindows.
26179 (Fimage_instance_subwindow_id): ditto.
26180 (Fresize_subwindow): ditto.
26181 (Fforce_subwindow_map): ditto.
26182
26183 * glyphs-x.c (x_print_image_instance): remove subwindow
26184 stuff. Handled genrically in glyphs.c.
26185 (x_image_instance_equal): ditto.
26186 (x_image_instance_hash): ditto.
26187 (x_finalize_image_instance): delete subwindows when required.
26188 (mark_subwindow) (print_subwindow) (finalize_subwindow)
26189 (subwindow_hash) (Fmake_subwindow): deleted because of new,
26190 glyph-based, subwindow implementation.
26191 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
26192 in glyphs.el
26193 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
26194 glyphs.c.
26195 (x_unmap_subwindow): new function to unmap X subwindows.
26196 (x_map_subwindow): new function to map X subwindows.
26197 (x_subwindow_instantiate): new function to instantiate X
26198 subwindows.
26199 (x_resize_subwindow): new function to resize X subwindows.
26200 (console_type_create_glyphs_x): add subwindow functions.
26201 (image_instantiator_format_create_glyphs_x): add device
26202 multi-methods for xpm, xbm and subwindow.
26203
26204 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
26205 (subwindow-width): ditto.
26206 (subwindow-height): ditto.
26207
26208 * glyphs-msw.c (mswindows_widget_instantiate): new function for
26209 generally instantiating ms subwindows. Used by
26210 mswindows_*_instantiate.
26211 (mswindows_edit_instantiate): instantiate an edit field on a
26212 mswindows frame.
26213
26214 1998-11-04 Andy Piper <andy@xemacs.org>
26215
26216 * symsinit.h: declare new functions.
26217
26218 * redisplay.h: declare new functions.
26219
26220 * redisplay-x.c (x_output_display_block): call
26221 redisplay_clear_region rather than x_clear_region.
26222 (x_output_string): ditto.
26223 (x_output_pixmap): ditto.
26224 (x_clear_to_window_end): ditto.
26225 (x_output_eol_cursor): ditto.
26226 (x_clear_region): only do X specific things. other duties handled
26227 in redisplay_clear_region.
26228
26229 * redisplay-tty.c (tty_clear_region): do tty specific things - some
26230 duties moved to redisplay_clear_region.
26231
26232 * redisplay-output.c (clear_left_border): use
26233 redisplay_clear_region instead of device method.
26234 (clear_right_border): ditto.
26235 (output_display_line): ditto.
26236 (redisplay_output_subwindow): ditto.
26237 (redisplay_clear_top_of_window): ditto.
26238 (redisplay_clear_region): perform duties previously handled by
26239 device methods. call the appropriate device method at the
26240 end. unmap subwindows if necessary.
26241
26242 * redisplay-msw.c (mswindows_output_string): use
26243 redisplay_clear_region instead of mswindows_clear_region.
26244 (mswindows_clear_to_window_end): ditto.
26245 (mswindows_output_display_block): output subwindows when required.
26246 (mswindows_clear_region): only do mswindows specific things,
26247 everything else is now handled in redisplay_clear_region.
26248
26249 * gui.h: add item id hash defines and declare function prototypes.
26250
26251 * gui.c (mark_gui_item): new function for marking gui_items.
26252 (gui_item_hash): generic hash function for generating command ids
26253 for gui_items.
26254
26255 * gui-msw.c: new file.
26256 (mswindows_handle_gui_wm_command): new function to handle widget
26257 callbacks.
26258
26259 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
26260 multi-methods.
26261 (IIFORMAT_HAS_SHARED_METHOD): ditto.
26262 (DEFINE_DEVICE_IIFORMAT): ditto.
26263 (INITIALIZE_DEVICE_IIFORMAT): ditto.
26264 (struct Lisp_Image_Instance): add widget and subwindow data plus
26265 appropriate access functions.
26266
26267 * glyphs.c (decode_device_ii_format): new function for decoding
26268 image instantiator functions based on a device type as well as an
26269 image format.
26270 (decode_image_instantiator_format): just call
26271 decode_device_ii_format with nil device.
26272 (add_entry_to_device_ii_format_list): new function for per device
26273 method instances.
26274 (add_entry_to_image_instantiator_format_list): just call
26275 add_entry_to_device_ii_format_list with nil device.
26276 (check_valid_vector): new function.
26277 (instantiate_image_instantiator): instantiate using per-format
26278 method and then per-format-per-device method (device
26279 multi-methods). signal an error if neither is possible.
26280 (mark_image_instance): cope with subwindows and widgets.
26281 (print_image_instance): ditto.
26282 (image_instance_equal): ditto.
26283 (image_instance_hash): ditto.
26284 (allocate_glyph): ditto.
26285 (glyph_width): ditto.
26286 (glyph_height_internal): ditto.
26287 (xpm_instantiate): removed because of device multi-methods.
26288 (mark_subwindow_cachels): new cachel functions for caching
26289 instantiated subwindows on a per-frame basis. mostly copied from
26290 glyph cachel functions.
26291 (update_subwindow_cachel_data): ditto.
26292 (add_subwindow_cachel): ditto.
26293 (get_subwindow_cachel_index): ditto.
26294 (reset_subwindow_cachels): ditto.
26295 (mark_subwindow_cachels_as_not_updated): ditto.
26296 (unmap_subwindow): generic unmapping of subwindows based on cachel
26297 data.
26298 (map_subwindow): ditto.
26299 (initialize_subwindow_image_instance): generic initialisation of
26300 subwindow data.
26301 (syms_of_glyphs): add widget keywords.
26302
26303 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
26304 x_subwindow_data.
26305
26306 1998-11-04 Andy Piper <andy@xemacs.org>
26307
26308 * glyphs-widget.c: new file for instantiating widget type glyphs.
26309 (widget_possible_dest_types): new general dest type function for
26310 widgets.
26311 (widget_validate): ditto.
26312 (initialize_widget_image_instance): ditto
26313 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
26314 before handing on control to device multi-methods.
26315 (syms_of_glyphs_widget): new function.
26316 (image_instantiator_format_create_glyphs_widget): new function,
26317 added placeholders for button, edit, combo, scrollbar
26318 (vars_of_glyphs_widget): new function.
26319
26320 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
26321 storing window ids of widgets.
26322
26323 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
26324 deletion of widget and subwindow glyphs.
26325 (mswindows_unmap_subwindow): new device function for unmapping
26326 subwindows on a msw frame.
26327 (mswindows_map_subwindow): ditto.
26328 (mswindows_register_image_instance): register instantiated widgets
26329 with the widget hashtable.
26330 (mswindows_button_instantiate): instantiate a button type widget
26331 on an msw frame.
26332 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
26333 mswindows frame.
26334 (image_instantiator_format_create_glyphs_mswindows): add device
26335 multi-methods for xbm, xpm, subwindow, edit and button.
26336
26337 * frame.h (struct frame): add subwindow_cachels dynarr for caching
26338 information about subwindows visible on the current frame. used by
26339 redisplay_clear_region to unmap subwindows as required.
26340
26341 * frame.c (mark_frame): mark subwindow_cachels.
26342 (allocate_frame_core): instantiate subwindow_cachels.
26343
26344 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
26345 widget hashtable.
26346
26347 * event-msw.c (mswindows_wnd_proc): add call to
26348 mswindows_handle_gui_wm_command to handle widget callbacks.
26349
26350 * emacs.c (main_1): add calls to glyphs-widget initialisation
26351 routines.
26352
26353 * console.h (struct console_methods): add
26354 unmap/map_subwindow_method for use be redisplay_clear_region to
26355 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
26356 with by image instantiator multi-methods. Add
26357 resize_subwindow_method.
26358
26359 * console-stream.c (stream_clear_region): change signature to
26360 match new generic clear region function.
26361
26362 * Makefile.in.in: add glyphs-widget.o to list of objects.
26363
26364 * console-msw.h (struct mswindows_frame): add widget hashtable for
26365 wiring command ids to callbacks.
26366
26367 1998-12-16 Andy Piper <andy@xemacs.org>
26368
26369 * XEmacs 21.2.6 is released
26370
26371 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
26372
26373 * md5.c (Fmd5): Correctly initiate string input stream.
26374
26375 * Makefile.in.in (tests): Add md5-tests.el.
26376
26377 1998-12-06 Martin Buchholz <martin@xemacs.org>
26378
26379 * lisp.h:
26380 * alloc.c (make_vector): remove travesty
26381 (Fmake_vector):
26382 (make_pure_vector):
26383 (pure_cons):
26384 (make_bit_vector_internal):
26385 (make_bit_vector):
26386 (make_bit_vector_from_byte_vector):
26387 (Fmake_bit_vector):
26388 - make vector_equal a little faster.
26389 - Don't use variable name `new'.
26390 - Use size_t instead of EMACS_INT.
26391 - usual Martin-style pointless bit-twiddling.
26392
26393 * fns.c (mapcar1):
26394 (Fmapconcat):
26395 (Fmapcar):
26396 (Fmapvector):
26397 Make mapcar faster. In particular, make
26398 (mapc #'identity long-string)
26399 MUCH faster under Mule.
26400 * tests/automated/lisp-tests.el: Test 'em!
26401
26402 1998-12-06 Martin Buchholz <martin@xemacs.org>
26403
26404 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
26405 bytecode.
26406
26407 1998-12-13 Martin Buchholz <martin@xemacs.org>
26408
26409 * console-msw.c: Function definitions follow coding standards
26410 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
26411
26412 1998-12-11 Martin Buchholz <martin@xemacs.org>
26413
26414 * events.h (struct timeout_data):
26415 * event-tty.c (tty_timeout_to_emacs_event):
26416 * event-msw.c (mswindows_wm_timer_callback):
26417 * event-Xt.c (Xt_timeout_to_emacs_event):
26418 * event-msw.c (mswindows_cancel_dispatch_event):
26419 Make sure Lisp_Objects inside events are initialized to Qnil, not
26420 Qnull_pointer, which is now illegal.
26421
26422 1998-12-10 Martin Buchholz <martin@xemacs.org>
26423
26424 * lisp.h: Fix up prototypes to match alloc.c
26425
26426 1998-12-09 Andy Piper <andy@xemacs.org>
26427
26428 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
26429 XSETINT for assigning lisp objects.
26430
26431 1998-12-07 Martin Buchholz <martin@xemacs.org>
26432
26433 * opaque.h:
26434 * console-msw.c (DHEADER):
26435 (DOPAQUE_DATA):
26436 (DEVENT):
26437 (DCONS):
26438 (DCONSCDR):
26439 (DSTRING):
26440 (DVECTOR):
26441 (DSYMBOL):
26442 (DSYMNAME):
26443 - max_align_t should not be visible to the user of the
26444 XOPAQUE_DATA macro.
26445 - use Bufbyte instead of char
26446 - parens around (FOOP (obj)) are always redundant.
26447 If they were necessary, we should fix the macro instead.
26448 - Always use string_data(foo) instead of foo->data.
26449
26450 1998-12-07 Martin Buchholz <martin@xemacs.org>
26451
26452 * sysdep.c (set_descriptor_non_blocking):
26453 Since O_NONBLOCK is now always #defined, make use of fcntl
26454 conditional on F_SETFL being defined.
26455
26456 1998-12-09 Andy Piper <andy@xemacs.org>
26457
26458 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
26459 that got removed in the merge
26460
26461 1998-11-30 Greg Klanderman <greg@alphatech.com>
26462
26463 * dired.c (vars_of_dired): bugfix for previous conditionalization
26464 of user-name-completion on non- Windows NT.
26465
26466 1998-12-08 Martin Buchholz <martin@xemacs.org>
26467
26468 * windowsnt.h: Remove `support' for using index and rindex
26469
26470 * filelock.c (current_lock_owner):
26471 - Change uses of index -> strchr, rindex -> strrchr
26472
26473 1998-12-06 Martin Buchholz <martin@xemacs.org>
26474
26475 * frame-msw.c (mswindows_init_frame_1):
26476 - use make_lisp_hash_table, not Fmake_hash_table
26477 - include elhash.h
26478
26479 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
26480
26481 * XEmacs 21.2.5 is released
26482
26483 1998-11-30 Martin Buchholz <martin@xemacs.org>
26484
26485 * xselect.c (receive_incremental_selection):
26486 * xselect.c (x_get_window_property):
26487 * xmu.c (XmuReadBitmapDataFromFile):
26488 * xmu.c (XmuCursorNameToIndex):
26489 * xgccache.c (describe_gc_cache):
26490 * xgccache.c (gc_cache_lookup):
26491 * xgccache.c (free_gc_cache):
26492 * xgccache.c (make_gc_cache):
26493 * window.h:
26494 * window.c (map_windows_1):
26495 * window.c (Fother_window_for_scrolling):
26496 * window.c (window_scroll):
26497 * window.c (change_window_height):
26498 * window.c (Fsplit_window):
26499 * window.c (window_left_gutter_width):
26500 * window.c (window_modeline_height):
26501 * window.c (invalidate_vertical_divider_cache_in_window):
26502 * window.c (window_needs_vertical_divider_1):
26503 * window.c (update_mirror_internal):
26504 * window.c (SET_LAST_FACECHANGE):
26505 * widget.c (Fwidget_plist_member):
26506 * unexec.c (copy_text_and_data):
26507 * unexcw.c (copy_executable_and_dump_data_section):
26508 * tooltalk.doc:
26509 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
26510 * tooltalk.c (struct Lisp_Tooltalk_Message):
26511 * toolbar.h (struct toolbar_button):
26512 * toolbar.c (default_toolbar_visible_p_changed_in_window):
26513 * toolbar.c (recompute_overlaying_specifier):
26514 * toolbar.c (toolbar_validate):
26515 * toolbar.c (toolbar_button_at_pixpos):
26516 * toolbar.c (get_toolbar_coords):
26517 * toolbar.c (update_frame_toolbars):
26518 * toolbar-x.c:
26519 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
26520 * toolbar-msw.c (mswindows_find_toolbar_pos):
26521 * toolbar-msw.c (mswindows_output_toolbar):
26522 * toolbar-msw.c (mswindows_clear_toolbar):
26523 * toolbar-msw.c:
26524 * systty.h:
26525 * syssignal.h:
26526 * sysproc.h:
26527 * sysfile.h:
26528 * sysdll.c:
26529 * sysdep.h:
26530 * sysdep.c (rmdir):
26531 * sysdep.c (sys_fopen):
26532 * sysdep.c (sys_open):
26533 * sysdep.c (tty_init_sys_modes_on_device):
26534 * sysdep.c (get_eof_char):
26535 * sysdep.c (child_setup_tty):
26536 * sysdep.c (set_descriptor_non_blocking):
26537 * syntax.h:
26538 * syntax.c (scan_words):
26539 * syntax.c:
26540 * symsinit.h:
26541 * symeval.h (struct symbol_value_varalias):
26542 * symeval.h (struct symbol_value_forward):
26543 * symbols.c (syms_of_symbols):
26544 * symbols.c (init_symbols_once_early):
26545 * symbols.c (Fbuilt_in_variable_type):
26546 * symbols.c (Fsymbol_value_in_buffer):
26547 * symbols.c (default_value):
26548 * symbols.c (Fset):
26549 * symbols.c (find_symbol_value_quickly):
26550 * symbols.c (store_symval_forwarding):
26551 * symbols.c (set_default_console_slot_variable):
26552 * symbols.c (set_default_buffer_slot_variable):
26553 * symbols.c (verify_ok_for_buffer_local):
26554 * symbols.c (symbol_is_constant):
26555 * symbols.c (oblookup):
26556 * symbols.c (Funintern):
26557 * symbols.c (Fintern):
26558 * symbols.c (check_obarray):
26559 * sunplay.c:
26560 * specifier.h (struct specifier_methods):
26561 * specifier.h:
26562 * specifier.c (specifier_instance):
26563 * specifier.c (specifier_instance_from_inst_list):
26564 * specifier.c (decode_locale_type):
26565 * specifier.c (specifier_equal):
26566 * specifier.c (finalize_specifier):
26567 * specifier.c (prune_specifiers):
26568 * specifier.c (kill_specifier_buffer_locals):
26569 * sound.c (init_native_sound):
26570 * sound.c:
26571 * signal.c (alarm):
26572 * search.c (Fmatch_data):
26573 * search.c (match_limit):
26574 * search.c (Freplace_match):
26575 * search.c (skip_chars):
26576 * search.c (scan_buffer):
26577 * search.c:
26578 * scrollbar.c (specifier_vars_of_scrollbar):
26579 * scrollbar.c (Fscrollbar_set_hscroll):
26580 * scrollbar.c (vertical_scrollbar_changed_in_window):
26581 * scrollbar.c (release_window_mirror_scrollbars):
26582 * scrollbar.c (free_scrollbar_instance):
26583 * scrollbar-x.c:
26584 * scrollbar-msw.c:
26585 * s/msdos.h (O_BINARY):
26586 * s/linux.h:
26587 * s/freebsd.h (LIBS_TERMCAP):
26588 * regex.c (re_match_2_internal):
26589 * regex.c (compile_extended_range):
26590 * regex.c (POP_FAILURE_POINT):
26591 * regex.c (PUSH_FAILURE_POINT):
26592 * redisplay.h (RESET_CHANGED_SET_FLAGS):
26593 * redisplay.h:
26594 * redisplay.h (struct display_line):
26595 * redisplay.h (struct rune):
26596 * redisplay.c (vars_of_redisplay):
26597 * redisplay.c (redisplay_variable_changed):
26598 * redisplay.c (UPDATE_CACHE_RETURN):
26599 * redisplay.c (validate_line_start_cache):
26600 * redisplay.c (mark_redisplay_structs):
26601 * redisplay.c (mark_glyph_block_dynarr):
26602 * redisplay.c (window_line_number):
26603 * redisplay.c (redisplay_frame):
26604 * redisplay.c (redisplay_window):
26605 * redisplay.c (generate_modeline):
26606 * redisplay.c (create_right_glyph_block):
26607 * redisplay.c (create_left_glyph_block):
26608 * redisplay.c (create_text_block):
26609 * redisplay.c:
26610 * redisplay-x.c (x_output_hline):
26611 * redisplay-x.c (x_output_vertical_divider):
26612 * redisplay-tty.c (tty_output_display_block):
26613 * redisplay-output.c (output_display_line):
26614 * redisplay-output.c:
26615 * redisplay-msw.c (mswindows_output_vertical_divider):
26616 * redisplay-msw.c (mswindows_ring_bell):
26617 * redisplay-msw.c (mswindows_output_cursor):
26618 * redisplay-msw.c:
26619 * rangetab.c:
26620 * ralloc.c:
26621 * puresize.h (RAW_PURESIZE):
26622 * profile.c (syms_of_profile):
26623 * profile.c (Fstart_profiling):
26624 * profile.c (sigprof_handler):
26625 * profile.c:
26626 * procimpl.h:
26627 * process.c (vars_of_process):
26628 * process.c (read_process_output):
26629 * process.c (get_process):
26630 * process.c:
26631 * process-unix.c (unix_open_multicast_group):
26632 * process-unix.c (unix_get_tty_name):
26633 * process-unix.c (unix_send_process):
26634 * process-unix.c (unix_reap_exited_processes):
26635 * process-unix.c (unix_create_process):
26636 * process-unix.c (unix_init_process_io_handles):
26637 * process-unix.c (allocate_pty):
26638 * process-unix.c:
26639 * process-nt.c (nt_open_network_stream):
26640 * process-nt.c (nt_update_status_if_terminated):
26641 * process-nt.c (nt_finalize_process_data):
26642 * process-nt.c:
26643 * print.c (debug_short_backtrace):
26644 * print.c (debug_backtrace):
26645 * print.c (print_symbol):
26646 * print.c (print_internal):
26647 * print.c (print_cons):
26648 * print.c (Fwrite_char):
26649 * print.c (print_prepare):
26650 * print.c (canonicalize_printcharfun):
26651 * print.c (output_string):
26652 * print.c:
26653 * opaque.h:
26654 * opaque.c (allocate_managed_opaque):
26655 * opaque.c:
26656 * offix.c (DndSetData):
26657 * objects.c (face_boolean_create):
26658 * objects.c (font_instantiate):
26659 * objects.c (font_create):
26660 * objects.c (color_create):
26661 * objects.c (finalize_font_instance):
26662 * objects.c (finalize_color_instance):
26663 * objects.c:
26664 * objects-x.c (x_font_instance_truename):
26665 * objects-x.c:
26666 * objects-x.c (x_initialize_font_instance):
26667 * objects-x.c (allocate_nearest_color):
26668 * objects-tty.c (tty_initialize_font_instance):
26669 * objects-tty.c (tty_initialize_color_instance):
26670 * objects-msw.c (mswindows_initialize_color_instance):
26671 * ntproc.c (syms_of_ntproc):
26672 * ntproc.c (Fwin32_set_process_priority):
26673 * ntproc.c (sys_spawnve):
26674 * ntproc.c:
26675 * ntheap.c (get_data_end):
26676 * nt.c (period):
26677 * nt.c:
26678 * nt.c (stat):
26679 * nt.c (generate_inode_val):
26680 * nt.c (sys_rename):
26681 * nas.c:
26682 * mule-wnnfns.c (Fwnn_hinsi_number):
26683 * mule-wnnfns.c (Fwnn_yuragi):
26684 * mule-wnnfns.c (Fwnn_common_learn):
26685 * mule-wnnfns.c (Fwnn_suffix_learn):
26686 * mule-wnnfns.c (Fwnn_prefix_learn):
26687 * mule-wnnfns.c (Fwnn_okuri_learn):
26688 * mule-wnnfns.c (Fwnn_complex_conv):
26689 * mule-wnnfns.c (Fwnn_last_is_first):
26690 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
26691 * mule-wnnfns.c (Fwnn_notrans_dict_add):
26692 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
26693 * mule-wnnfns.c (Fwnn_fisys_dict_add):
26694 * mule-wnnfns.c (Fwnn_hinsi_list):
26695 * mule-wnnfns.c (Fwnn_fuzokugo_set):
26696 * mule-wnnfns.c (Fwnn_dict_search):
26697 * mule-wnnfns.c (Fwnn_word_toroku):
26698 * mule-wnnfns.c (Fwnn_hindo_update):
26699 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
26700 * mule-wnnfns.c (Fwnn_kakutei):
26701 * mule-wnnfns.c (Fwnn_begin_henkan):
26702 * mule-wnnfns.c (Fwnn_dict_comment):
26703 * mule-wnnfns.c (Fwnn_dict_add):
26704 * mule-wnnfns.c (Fwnn_open):
26705 * mule-mcpath.c (mc_getcwd):
26706 * mule-coding.c (vars_of_mule_coding):
26707 * mule-coding.c (convert_to_external_format):
26708 * mule-coding.c (encoding_marker):
26709 * mule-coding.c (decoding_marker):
26710 * mule-coding.c (Fcopy_coding_system):
26711 * mule-coding.c (Fmake_coding_system):
26712 * mule-coding.c (Fcoding_system_list):
26713 * mule-coding.c (Ffind_coding_system):
26714 * mule-coding.c (symbol_to_eol_type):
26715 * mule-coding.c:
26716 * mule-charset.c (complex_vars_of_mule_charset):
26717 * mule-charset.c (vars_of_mule_charset):
26718 * mule-charset.c (Fset_charset_ccl_program):
26719 * mule-charset.c (struct charset_list_closure):
26720 * mule-charset.c (Ffind_charset):
26721 * mule-charset.c (make_charset):
26722 * mule-charset.c (non_ascii_valid_char_p):
26723 * mule-charset.c:
26724 * mule-ccl.c (ccl_driver):
26725 * mule-canna.c (c2mu):
26726 * mule-canna.c (Fcanna_henkan_begin):
26727 * mule-canna.c (Fcanna_parse):
26728 * mule-canna.c (Fcanna_store_yomi):
26729 * mule-canna.c (Fcanna_touroku_string):
26730 * mule-canna.c (Fcanna_initialize):
26731 * minibuf.c:
26732 * menubar.c (menu_parse_submenu_keywords):
26733 * menubar-x.c (make_dummy_xbutton_event):
26734 * menubar-x.c (set_frame_menubar):
26735 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
26736 * menubar-x.c:
26737 * menubar-msw.h:
26738 * menubar-msw.c (mswindows_popup_menu):
26739 * menubar-msw.c (mswindows_update_frame_menubars):
26740 * menubar-msw.c (mswindows_handle_wm_command):
26741 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
26742 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
26743 * menubar-msw.c (update_frame_menubar_maybe):
26744 * menubar-msw.c (populate_or_checksum_helper):
26745 * menubar-msw.c (empty_menu):
26746 * menubar-msw.c:
26747 * md5.c:
26748 * marker.c (set_marker_internal):
26749 * marker.c (print_marker):
26750 * malloc.c:
26751 * make-src-depend:
26752 * lstream.c (lisp_buffer_rewinder):
26753 * lstream.c (mark_lstream):
26754 * lrecord.h:
26755 * lrecord.h (struct lrecord_header):
26756 * lread.c (readevalloop):
26757 * lread.c (locate_file):
26758 * lread.c (locate_file_in_directory):
26759 * lread.c (Flocate_file):
26760 * lread.c (load_force_doc_string_unwind):
26761 * lread.c (ebolify_bytecode_constants):
26762 * lread.c:
26763 * lisp.h:
26764 * lisp-union.h:
26765 * lisp-disunion.h:
26766 * linuxplay.c (linux_play_data_or_file):
26767 * linuxplay.c (audio_init):
26768 * line-number.c:
26769 * keymap.h:
26770 * keymap.c (describe_map):
26771 * keymap.c (describe_map_mapper):
26772 * keymap.c (Fdescribe_bindings_internal):
26773 * keymap.c (Fsingle_key_description):
26774 * keymap.c (map_keymap_sorted):
26775 * keymap.c (get_relevant_keymaps):
26776 * keymap.c (Flookup_key):
26777 * keymap.c (raw_lookup_key_mapper):
26778 * keymap.c (Fdefine_key):
26779 * keymap.c (Fevent_matches_key_specifier_p):
26780 * keymap.c (key_desc_list_to_event):
26781 * keymap.c (define_key_parser):
26782 * keymap.c (define_key_check_and_coerce_keysym):
26783 * keymap.c (keymap_submaps):
26784 * keymap.c (keymap_store_internal):
26785 * keymap.c (keymap_delete_inverse_internal):
26786 * keymap.c (keymap_store_inverse_internal):
26787 * keymap.c (print_keymap):
26788 * keymap.c (Lisp_Keymap):
26789 * keymap.c:
26790 * intl.c:
26791 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
26792 * insdel.c (make_gap):
26793 * input-method-xlib.c (get_XIM_input):
26794 * input-method-xlib.c (XIM_init_frame):
26795 * imgproc.c:
26796 * hash.h:
26797 * hash.c:
26798 * gui.c:
26799 * gui-x.c (button_item_to_widget_value):
26800 * gui-x.c (popup_selection_callback):
26801 * glyphs.h (struct image_instantiator_methods):
26802 * glyphs.c (mark_glyph_cachels):
26803 * glyphs.c (Fglyph_type):
26804 * glyphs.c (image_instantiate):
26805 * glyphs.c (image_create):
26806 * glyphs.c (make_image_instance_1):
26807 * glyphs.c (finalize_image_instance):
26808 * glyphs.c:
26809 * glyphs-x.c (finalize_subwindow):
26810 * glyphs-x.c (xface_validate):
26811 * glyphs-x.c (x_locate_pixmap_file):
26812 * glyphs-x.c (convert_EImage_to_XImage):
26813 * glyphs-msw.c:
26814 * glyphs-msw.c (mswindows_resource_instantiate):
26815 * glyphs-msw.c (xpm_to_eimage):
26816 * glyphs-msw.c (convert_EImage_to_DIBitmap):
26817 * glyphs-eimage.c (tiff_instantiate):
26818 * glyphs-eimage.c (png_instantiate):
26819 * glyphs-eimage.c (struct png_error_struct):
26820 * glyphs-eimage.c (gif_memory_storage):
26821 * glyphs-eimage.c:
26822 * gifrlib.h:
26823 * getloadavg.c (getloadavg):
26824 * getloadavg.c:
26825 * gdbinit:
26826 * free-hook.c (log_gcpro):
26827 * free-hook.c (check_malloc):
26828 * free-hook.c (check_free):
26829 * free-hook.c (ROUND_UP_TO_PAGE):
26830 * free-hook.c:
26831 * frame.h (struct frame):
26832 * frame.h:
26833 * frame.c (change_frame_size_1):
26834 * frame.c (allocate_frame_core):
26835 * frame.c:
26836 * frame-x.c (x_focus_on_frame):
26837 * frame-x.c (x_init_frame_2):
26838 * frame-x.c (x_popup_frame):
26839 * frame-x.c (xemacs_XtPopup):
26840 * frame-x.c:
26841 * frame-x.c (Foffix_start_drag_internal):
26842 * frame-x.c (x_cde_destroy_callback):
26843 * frame-x.c (x_wm_hack_wm_protocols):
26844 * frame-tty.c (tty_frame_visible_p):
26845 * frame-msw.c (mswindows_make_frame_invisible):
26846 * frame-msw.c (mswindows_after_init_frame):
26847 * frame-msw.c (mswindows_init_frame_1):
26848 * fns.c (syms_of_fns):
26849 * fns.c (Fbase64_decode_string):
26850 * fns.c (Fnconc):
26851 * fns.c (Ffillarray):
26852 * fns.c (Fobject_plist):
26853 * fns.c (Fget):
26854 * fns.c (Fcanonicalize_lax_plist):
26855 * fns.c (Fcanonicalize_plist):
26856 * fns.c (Fplist_remprop):
26857 * fns.c (Fplist_get):
26858 * fns.c (advance_plist_pointers):
26859 * fns.c (internal_plist_put):
26860 * fns.c (Fnreverse):
26861 * fns.c (Fremassq):
26862 * fns.c (Felt):
26863 * fns.c (Fsubstring):
26864 * fns.c (Fbvconcat):
26865 * fns.c (Flength):
26866 * fns.c (length_with_bytecode_hack):
26867 * fns.c (print_bit_vector):
26868 * fns.c:
26869 * floatfns.c (Ffloor):
26870 * floatfns.c:
26871 * floatfns.c (in_float_error):
26872 * fileio.c (Ffile_modes):
26873 * fileio.c (Fexpand_file_name):
26874 * fileio.c (Fmake_temp_name):
26875 * fileio.c (Ffile_name_nondirectory):
26876 * fileio.c (Ffile_name_directory):
26877 * file-coding.h:
26878 * file-coding.c (vars_of_mule_coding):
26879 * file-coding.c (convert_to_external_format):
26880 * file-coding.c (encoding_marker):
26881 * file-coding.c (decoding_marker):
26882 * file-coding.c (Fcopy_coding_system):
26883 * file-coding.c (Fmake_coding_system):
26884 * file-coding.c (struct coding_system_list_closure):
26885 * file-coding.c (Ffind_coding_system):
26886 * file-coding.c (symbol_to_eol_type):
26887 * file-coding.c:
26888 * faces.h (struct face_cachel):
26889 * faces.c (vars_of_faces):
26890 * faces.c (face_property_was_changed):
26891 * faces.c (mark_face_cachels):
26892 * faces.c (temporary_faces_list):
26893 * faces.c (struct face_list_closure):
26894 * faces.c:
26895 * extents.h (struct extent):
26896 * extents.c (vars_of_extents):
26897 * extents.c (struct copy_string_extents_1_arg):
26898 * extents.c (add_string_extents_mapper):
26899 * extents.c (Fextent_property):
26900 * extents.c (Fset_extent_property):
26901 * extents.c (symbol_to_glyph_layout):
26902 * extents.c (properties_equal):
26903 * extents.c (print_extent):
26904 * extents.c (print_extent_1):
26905 * extents.c (extent_in_region_p):
26906 * extents.c (gap_array_make_gap):
26907 * extents.c:
26908 * events.h (struct Lisp_Event):
26909 * events.h:
26910 * events.c (Fevent_properties):
26911 * events.c (format_event_object):
26912 * events.c (Fmake_event):
26913 * events.c (event_equal):
26914 * events.c (print_event):
26915 * events.c (mark_event):
26916 * event-stream.c ((read-char)
26917 * event-stream.c (vars_of_event_stream):
26918 * event-stream.c (syms_of_event_stream):
26919 * event-stream.c (Fset_recent_keys_ring_size):
26920 * event-stream.c (Fsit_for):
26921 * event-stream.c (Fnext_event):
26922 * event-stream.c (execute_help_form):
26923 * event-stream.c (maybe_kbd_translate):
26924 * event-stream.c:
26925 * event-msw.c (vars_of_event_mswindows):
26926 * event-msw.c (mswindows_wnd_proc):
26927 * event-msw.c (mswindows_need_event):
26928 * event-msw.c (mswindows_drain_windows_queue):
26929 * event-msw.c (mswindows_pump_outstanding_events):
26930 * event-msw.c:
26931 * event-msw.c (slurp_thread):
26932 * event-msw.c (struct ntpipe_slurp_stream):
26933 * event-msw.c (HANDLE_TO_USID):
26934 * event-Xt.c (emacs_Xt_handle_magic_event):
26935 * event-Xt.c (x_event_to_emacs_event):
26936 * event-Xt.c (x_reset_modifier_mapping):
26937 * event-Xt.c (x_reset_key_mapping):
26938 * event-Xt.c:
26939 * eval.c (syms_of_eval):
26940 * eval.c (warn_when_safe):
26941 * eval.c (warn_when_safe_lispobj):
26942 * eval.c (Fbacktrace_frame):
26943 * eval.c (Fbacktrace):
26944 * eval.c (top_level_set):
26945 * eval.c (unbind_to_hairy):
26946 * eval.c (specbind_magic):
26947 * eval.c (specbind_unwind_wasnt_local):
26948 * eval.c (call2_trapping_errors):
26949 * eval.c (call1_trapping_errors):
26950 * eval.c (catch_them_squirmers_call2):
26951 * eval.c (call0_trapping_errors):
26952 * eval.c (run_hook_trapping_errors):
26953 * eval.c (catch_them_squirmers_eval_in_buffer):
26954 * eval.c (call4_in_buffer):
26955 * eval.c (call3_in_buffer):
26956 * eval.c (call2_in_buffer):
26957 * eval.c (call1_in_buffer):
26958 * eval.c (call0_in_buffer):
26959 * eval.c (run_hook):
26960 * eval.c (run_hook_with_args_in_buffer):
26961 * eval.c (Fapply):
26962 * eval.c (Feval):
26963 * eval.c (do_autoload):
26964 * eval.c (un_autoload):
26965 * eval.c (Fautoload):
26966 * eval.c (Finteractive_p):
26967 * eval.c (Fcommand_execute):
26968 * eval.c (signal_quit):
26969 * eval.c (call_with_suspended_errors):
26970 * eval.c (signal_error):
26971 * eval.c (return_from_signal):
26972 * eval.c (Fcall_with_condition_handler):
26973 * eval.c (run_condition_case_handlers):
26974 * eval.c (condition_case_1):
26975 * eval.c (Funwind_protect):
26976 * eval.c (unwind_to_catch):
26977 * eval.c (internal_catch):
26978 * eval.c (Fmacroexpand_internal):
26979 * eval.c (Fuser_variable_p):
26980 * eval.c (Fdefconst):
26981 * eval.c (Fdefvar):
26982 * eval.c (Ffunction):
26983 * eval.c (signal_call_debugger):
26984 * eval.c (call_debugger):
26985 * eval.c:
26986 * emacs.c (main):
26987 * emacs.c (sort_args):
26988 * emacs.c (main_1):
26989 * elhash.h:
26990 * elhash.c:
26991 * editfns.c (Fencode_time):
26992 * editfns.c (Fdecode_time):
26993 * editfns.c (Fuser_full_name):
26994 * editfns.c:
26995 * editfns.c (save_excursion_restore):
26996 * ecrt0.c:
26997 * dynarr.c:
26998 * doprnt.c (emacs_doprnt_1):
26999 * doc.c (verify_doc_mapper):
27000 * doc.c (Fsnarf_documentation):
27001 * doc.c (Fdocumentation):
27002 * dll.c:
27003 * dired.c (user_name_completion):
27004 * dired.c (Fdirectory_files):
27005 * dialog-x.c:
27006 * dialog-msw.c:
27007 * dgif_lib.c (FreeSavedImages):
27008 * dgif_lib.c (DGifGetImageDesc):
27009 * device.h:
27010 * device.h (struct device):
27011 * device.c (Fselect_device):
27012 * device.c (allocate_device):
27013 * device.c:
27014 * device-x.c (Fx_keysym_on_keyboard_p):
27015 * device-x.c (Fx_valid_keysym_name_p):
27016 * device-x.c (x_IO_error_handler):
27017 * device-x.c (x_delete_device):
27018 * device-x.c (x_finish_init_device):
27019 * device-x.c (x_init_device):
27020 * device-x.c:
27021 * device-msw.c (mswindows_init_device):
27022 * dbxrc:
27023 * database.c (vars_of_database):
27024 * database.c (Fput_database):
27025 * database.c (Fopen_database):
27026 * database.c (berkdb_remove):
27027 * database.c (berkdb_put):
27028 * database.c (Fdatabasep):
27029 * database.c (print_database):
27030 * database.c:
27031 * data.c (vars_of_data):
27032 * data.c (syms_of_data):
27033 * data.c (init_errors_once_early):
27034 * data.c (prune_weak_lists):
27035 * data.c (finish_marking_weak_lists):
27036 * data.c (print_weak_list):
27037 * data.c (Fmod):
27038 * data.c (Fstring_to_number):
27039 * data.c (Fnumber_to_string):
27040 * data.c (Findirect_function):
27041 * data.c (Fsetcdr):
27042 * data.c (Ffloatp):
27043 * data.c (Fsubr_interactive):
27044 * data.c (Farrayp):
27045 * data.c (Fkeywordp):
27046 * data.c (Fnull):
27047 * data.c:
27048 * console.h (CONSOLE_NAME):
27049 * console.h:
27050 * console.c (vars_of_console):
27051 * console.c (Fselect_console):
27052 * console.c:
27053 * console-x.h (DEVICE_X_COLORMAP):
27054 * console-x.h (struct x_device):
27055 * console-x.c (x_device_to_console_connection):
27056 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
27057 * console-tty.c (tty_init_console):
27058 * console-tty.c:
27059 * console-msw.h (struct mswindows_frame):
27060 * conslots.h:
27061 * config.h.in:
27062 * cmds.c (internal_self_insert):
27063 * cmds.c (Fforward_line):
27064 * cmds.c (Fforward_char):
27065 * cmds.c:
27066 * cmdloop.c:
27067 * chartab.c (mark_char_table_entry):
27068 * chartab.c:
27069 * casefiddle.c (casify_word):
27070 * callproc.c (child_setup):
27071 * callproc.c (Fcall_process_internal):
27072 * callproc.c:
27073 * callint.c (Fcall_interactively):
27074 * bytecode.h:
27075 * bytecode.c (execute_rare_opcode):
27076 * bytecode.c (execute_optimized_program):
27077 * bytecode.c:
27078 * bufslots.h:
27079 * buffer.h (BUFFER_REALLOC):
27080 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
27081 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
27082 * buffer.h:
27083 * buffer.h (MAP_INDIRECT_BUFFERS):
27084 * buffer.h (CHECK_LIVE_BUFFER):
27085 * buffer.c (init_initial_directory):
27086 * buffer.c (complex_vars_of_buffer):
27087 * buffer.c (vars_of_buffer):
27088 * buffer.c (finish_init_buffer):
27089 * buffer.c (Fget_file_buffer):
27090 * buffer.c (Fbuffer_list):
27091 * buffer.c (mark_buffer):
27092 * balloon_help.c (balloon_help_move_to_pointer):
27093 * balloon_help.c (show_help):
27094 * balloon_help.c:
27095 * backtrace.h:
27096 * alloc.c (garbage_collect_1):
27097 * alloc.c (sweep_strings):
27098 * alloc.c (sweep_compiled_functions):
27099 * alloc.c (sweep_bit_vectors_1):
27100 * alloc.c (sweep_vectors_1):
27101 * alloc.c (sweep_lcrecords_1):
27102 * alloc.c (tick_lcrecord_stats):
27103 * alloc.c (pure_string_sizeof):
27104 * alloc.c (mark_conses_in_list):
27105 * alloc.c (mark_object):
27106 * alloc.c (report_pure_usage):
27107 * alloc.c (make_pure_float):
27108 * alloc.c (make_pure_string):
27109 * alloc.c (free_managed_lcrecord):
27110 * alloc.c (mark_string):
27111 * alloc.c (noseeum_make_marker):
27112 * alloc.c (allocate_event):
27113 * alloc.c (Fbit_vector):
27114 * alloc.c (Fvector):
27115 * alloc.c (make_float):
27116 * alloc.c (Fmake_list):
27117 * alloc.c (Flist):
27118 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
27119 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
27120 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
27121 * alloc.c (dbg_constants):
27122 * alloc.c (gc_record_type_p):
27123 * alloc.c (free_lcrecord):
27124 * alloc.c (xmalloc):
27125 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
27126 * abbrev.c:
27127 * Makefile.in.in (mostlyclean):
27128 * Makefile.in.in (external_client_xlib_objs_nonshared):
27129 * Makefile.in.in (temacs_link_args):
27130 * Makefile.in.in (release):
27131 * Makefile.in.in (dnd_objs):
27132 * Makefile.in.in (objs):
27133 * Makefile.in.in (PROGNAME):
27134 * EmacsShell.c: cast strings to (XtPointer)
27135 * EmacsFrame.c: cast strings to (XtPointer)
27136 - mega patch
27137 - rewrite basic lisp functions for speed
27138 - rewrite bytecode interpreter for speed
27139 - rewrite list looping constructs for speed and safety using
27140 tortoise/hare.
27141 - use size_t where appropriate.
27142 - new hashtable implementation
27143 - cleanup implementation of opaques
27144 - opaques can now be purecopy'ed
27145 - move some cl functionality into C for speed.
27146 - remove last remaining VMS support
27147 - spelling fixes
27148 - improve gdb/dbx debugger support
27149 - move pure.c back into alloc.c for performance
27150 - enable report_pure_usage() if --memory-usage-stats
27151 - remove remnants of Energize support (EMACS_BTL, cadillac...)
27152 - don't use symbols with leading `_' or embedded `__'
27153 - globally cleanup duplicated semicolons `;;'
27154 - I give in on %p vs %lx - we use printf("%lx",(long) p)
27155 globally.
27156 - globally replace O_NDELAY with O_NONBLOCK.
27157 - globally replace CDISABLE with _POSIX_VDISABLE.
27158 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
27159 - define (and maybe use!) STDERR_FILENO and friends.
27160 - add support for macros defined in C
27161 - `when', `unless', `not' and `defalias' now defined in C,
27162 so that they are universally available.
27163 - rename defvar_mumble to defvar_magic
27164 - rename RETURN__ to RETURN_SANS_WARNINGS
27165 - use consistent style of initial caps in error messages
27166 - implement last, butlast, nbutlast, copy-list in C.
27167 - provide typedefs for all struct Lisp_foo types
27168 - Lisp_Objects must be initialized to Qnil rather than 0.
27169 - make sure XEmacs runs (slowly) with always_gc == 1;
27170 - fast and safe LOOP_* macros
27171 - change calls to XSETOBJ to XSETFOO
27172 - replace calls to XSETINT by make_int()
27173 - plug up memory leaks
27174 - use style markobj (foo), not silly ((markobj) (foo))
27175 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
27176
27177 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
27178
27179 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
27180
27181 1998-11-28 SL Baur <steve@altair.xemacs.org>
27182
27183 * XEmacs 21.2-beta4 is released.
27184
27185 1998-11-27 SL Baur <steve@altair.xemacs.org>
27186
27187 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
27188 property in control-1 charset.
27189 From Julian Bradfield <jcb@daimi.au.dk>
27190
27191 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
27192
27193 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
27194 keyword.
27195 Add stub for :label.
27196
27197 * gui.c (gui_item_add_keyval_pair): ditto.
27198
27199 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
27200 :key-sequence keyword.
27201 Add stub for:label.
27202 Support :active for submenus like the Windows code and FSF Emacs.
27203
27204 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
27205
27206 * dired.c (make_directory_hash_table): make_string() is OK because
27207 readdir() Mule-encapsulates.
27208
27209 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
27210
27211 * fns.c (Fbase64_encode_string): Fix docstring.
27212 (Fbase64_decode_string): Ditto.
27213
27214 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
27215
27216 * editfns.c (Ftranslate_region): Use
27217 convert_bufbyte_string_into_emchar_string().
27218
27219 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
27220
27221 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
27222 well as strings.
27223 (Ftranslate_region): Turn table into an array of Emchars for
27224 larger regions.
27225
27226 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
27227
27228 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
27229
27230 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
27231
27232 * chartab.c (Freset_char_table): Don't blindly fill chartables of
27233 type `char' with nils.
27234
27235 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
27236 for tables of type `char'.
27237
27238 1998-11-26 Didier Verna <didier@xemacs.org>
27239
27240 * input-method-xlib.c (Initialize_Locale): don't call
27241 XtSetLanguageProc. We've done the whole work here.
27242 * input-method-xfs.c (Initialize_Locale): ditto.
27243 * input-method-motif.c (Initialize_Locale): ditto.
27244
27245 1998-11-26 Didier Verna <didier@xemacs.org>
27246
27247 * process-unix.c (unix_create_process): handle properly
27248 Vfile_name_coding_system for converting the program and directory
27249 names.
27250
27251 1998-11-27 SL Baur <steve@altair.xemacs.org>
27252
27253 * m/arm.h: New file.
27254 From James LewisMoss <dres@ioa.com>
27255
27256 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
27257
27258 * m/mips-nec.h:
27259 Fix the realpath() problem of UnixWare2.1.3.
27260 Patches for NEC's sysv4.2 machine.
27261
27262 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
27263
27264 * dired.c (Fdirectory_files): Remove redundant code.
27265
27266 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
27267
27268 * fns.c (free_malloced_ptr): New function.
27269 (XMALLOC_OR_ALLOCA): New macro.
27270 (XMALLOC_UNBIND): Ditto.
27271 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
27272 to be freed in case of non-local exit.
27273 (Fbase64_encode_string): Ditto.
27274 (Fbase64_decode_region): Ditto.
27275 (Fbase64_decode_string): Ditto.
27276 (STORE_BYTE): New macro.
27277 (base64_decode_1): Use it.
27278
27279 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
27280
27281 * fns.c (base64_value_to_char): Base64 stuff.
27282
27283 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
27284
27285 * editfns.c (Fbuffer_substring): New function.
27286
27287 * lisp.h: Declare make_string_from_buffer_no_extents().
27288
27289 * insdel.c (make_string_from_buffer_1): New function.
27290 (make_string_from_buffer_no_extents): Ditto.
27291
27292 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
27293
27294 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
27295 sound work on AIX with OSS installed. Linux should still work.
27296
27297 1998-11-03 Andy Piper <andyp@parallax.co.uk>
27298
27299 * config.h.in: name change for cygwin/version.h
27300
27301 * configure.in: check for cygwin/version.h now.
27302
27303 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
27304 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
27305 move cygwin32/version.h to cygwin/version.h
27306
27307 1998-11-03 Olivier Galibert <galibert@pobox.com>
27308
27309 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
27310 int to long.
27311
27312 1998-10-22 Andy Piper <andyp@parallax.co.uk>
27313
27314 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
27315 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
27316 enable BROKEN_SIGIO under b20 to make QUIT work.
27317
27318 1998-10-22 Andy Piper <andyp@parallax.co.uk>
27319
27320 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
27321 to fit within the constraints of the screen size. I.e. make the
27322 frame small enough to fit and move it if some of it will be
27323 off-screen.
27324
27325 1998-10-19 Greg Klanderman <greg@alphatech.com>
27326
27327 * dired.c: conditionalize inclusion of user-name-completion
27328 primitives on non-Windows NT. The needed functions don't exist on NT.
27329
27330 1998-11-24 SL Baur <steve@altair.xemacs.org>
27331
27332 * gifrlib.h: Clean up types for 64 bit compile.
27333 * dgif_lib.c (DGifInitRead): Ditto.
27334 (MakeSavedImage): Ditto.
27335 * emacs.c (decode_path): Ditto.
27336 From Steve Carney <carney@pa.dec.com>
27337
27338 1998-10-16 William M. Perry <wmperry@aventail.com>
27339
27340 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
27341 (cehckboxes instead of checkboxes).
27342
27343 1998-10-15 SL Baur <steve@altair.xemacs.org>
27344
27345 * XEmacs 21.2-beta3 is released.
27346
27347 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
27348
27349 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
27350 gnuclient. Otherwise, we run xemacs as we always did. This gets
27351 rid of the annoying DOS window when running gnuclient.
27352
27353 1998-10-13 Andy Piper <andyp@parallax.co.uk>
27354
27355 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
27356 HAVE_MS_WINDOWS typo.
27357
27358 1998-10-13 SL Baur <steve@altair.xemacs.org>
27359
27360 * process-unix.c (unix_send_process): Set closed flag on writable
27361 pipe after SIGPIPE is received and before we call deactivate_process.
27362
27363 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
27364
27365 * window.c (Fset_window_start): respect narrowing when
27366 checking wheter start is at the beginning of a line.
27367 (Fset_window_buffer): Ditto
27368 Fixes repeatable crash in VM.
27369
27370 1998-10-09 SL Baur <steve@altair.xemacs.org>
27371
27372 * window.c (specifier_vars_of_window): Set default vertical
27373 divider width to 1 on ttys.
27374
27375 1998-10-08 Martin Buchholz <martin@xemacs.org>
27376
27377 * alloc.c:
27378 * unexec.c:
27379 * malloc.c:
27380 Add <stddef.h> to get ptrdiff_t declaration
27381
27382 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
27383
27384 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
27385 is used for Motif or Lucid scrollbars under X.
27386
27387 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
27388
27389 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
27390 `configure'
27391
27392 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
27393
27394 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
27395
27396 1998-10-05 Andy Piper <andyp@parallax.co.uk>
27397
27398 * s/cygwin32.h: more cygwin b20 reorganisation.
27399
27400 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
27401
27402 * nas.c: Added necessary support functions to be able to handle
27403 WAVE files in memory, just like the support for SND files in
27404 memory.
27405
27406 1998-09-30 SL Baur <steve@altair.xemacs.org>
27407
27408 * callproc.c (child_setup): Fix spelling typo.
27409
27410 1998-09-29 SL Baur <steve@altair.xemacs.org>
27411
27412 * XEmacs 21.2-beta2 is released.
27413
27414 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
27415
27416 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
27417 to prevent memory corruption in the case of jumping out of a series of
27418 nested match patterns. This is a rather brute force approach, though.
27419
27420 1998-09-02 Andy Piper <andyp@parallax.co.uk>
27421
27422 * config.h.in: ditto.
27423
27424 * s/cygwin32.h: rearrange declarations to cope with cygwin
27425 b20. Include cygwin32/version.h if it exists.
27426
27427 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
27428
27429 * device-msw.c (mswindows_init_device): Call new
27430 mswindows_enumerate_fonts() function in objects-msw.c instead
27431 of font_enum_callback_1() to enumerate fonts.
27432
27433 font_enum_callback_1() and _2() moved to objects-msw.c.
27434
27435 * faces.c (complex_vars_of_faces): Make the mswindows default
27436 face font fully specified and provide some fallbacks.
27437
27438 * objects-msw.c: font_enum_callback_1() and _2() moved here
27439 from objects-msw.c. Obtain the enumerated font's character
27440 sets by table lookup instead of using the locale-specific
27441 string provided by Windows.
27442
27443 New public non-method mswindows_enumerate_fonts() that fills
27444 in the supplied mswindows device's font list.
27445
27446 mswindows_initialize_font_instance: Use the supplied name
27447 variable instead of f->name when signalling errors. Match font
27448 weights and character sets using lookup tables which handle
27449 spaces instead of by frobbing.
27450
27451 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
27452
27453 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
27454 on the size of code fragments passed to run_in_other_process.
27455
27456 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
27457 the amount of memory to allocate in the other process.
27458
27459 Removed sigkill_code_end(), sigint_code_end() and
27460 sig_enable_code_end() since they are now redundant.
27461
27462 send_signal() and enable_child_signals(): Don't try to work
27463 out the end of the code fragments passed to
27464 run_in_other_process()
27465
27466 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
27467
27468 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
27469 FreeBSD-current.
27470
27471 * src/unexelf.c: Partially synched with FSF's 20.3.
27472
27473 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
27474
27475 * insdel.c (signal_after_change): Map across indirect buffers
27476 here, and not in the upper-level functions.
27477 (signal_first_change): Don't check for Armageddon.
27478 (signal_before_change): Map across indirect buffers here.
27479 (prepare_to_modify_buffer): ...and here.
27480
27481 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
27482
27483 * insdel.c (signal_after_change): Add return value.
27484 (buffer_insert_string_1): Use it.
27485 (buffer_delete_range): Ditto.
27486 (buffer_replace_char): Ditto.
27487 (cancel_multiple_change): Map the indirect buffers.
27488
27489 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
27490
27491 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
27492 (uninit_buffer_text): Ditto.
27493
27494 * buffer.c (Fmake_indirect_buffer): Implement stricter
27495 error-checking.
27496
27497 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
27498
27499 * insdel.c (change_function_restore): Reverse order of
27500 function-call and assignment.
27501 (first_change_hook_restore): Ditto.
27502
27503 * extents.c (mark_extent_auxiliary): Mark them.
27504 (Fset_extent_property): Set them.
27505 (Fextent_property): Get them.
27506 (Fextent_properties): Ditto.
27507 (vars_of_extents): Set their default.
27508
27509 * extents.h (struct extent_auxiliary): Add before_change_functions
27510 and after_change_functions.
27511
27512 * insdel.c (signal_before_change): Use it.
27513 (signal_after_change): Ditto.
27514
27515 * extents.c (report_extent_modification): New function.
27516
27517 * insdel.c (signal_before_change): Don't check for Armageddon.
27518 (signal_after_change): Ditto.
27519
27520 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
27521
27522 * redisplay.c (redisplay_window): make sure a new starting point
27523 is chosen if it somehow got moved from the beginning of the line
27524 -- this can happen because Fwiden was called recently.
27525
27526 * window.c (Fset_window_start): set start_at_line_beg correctly
27527 (Fset_window_buffer): Ditto
27528
27529 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
27530
27531 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
27532 (uninit_buffer_text): Ditto.
27533
27534 * buffer.c (Fmake_indirect_buffer): Implement stricter
27535 error-checking.
27536
27537 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
27538
27539 * emacs.c (main_1): Removed references to *vars_of_filelock.
27540
27541 * lisp.h: Added Fsystem_name.
27542
27543 * filelock.c: Replaced by version from FSF 20.2. Now implements
27544 locking by using symlinks which is NFS safe. However keep the
27545 GCPRO's in lock_file and the calls to callx_in_buffer like our old
27546 version (and of course use ansi C, acessor macros, etc).
27547
27548 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
27549
27550 * process-unix.c (unix_create_process): Reset SIGHUP handler to
27551 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
27552 in init_signals_very_early. However these should not be passed
27553 on to children attached to the new pty.
27554
27555 1998-08-28 Andy Piper <andyp@parallax.co.uk>
27556
27557 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
27558
27559 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
27560
27561 * fileio.c (file-name-directory, file_name_as_directory):
27562 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
27563
27564 1998-09-02 Andy Piper <andyp@parallax.co.uk>
27565
27566 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
27567
27568 * ralloc.c: uncomment __morecore.
27569
27570 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
27571
27572 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
27573 WriteFile() to fix a winsock 1.x bug on Win95.
27574
27575 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
27576
27577 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
27578 deleted.
27579 (x_event_to_emacs_event): Ditto.
27580 (emacs_Xt_handle_focus_event): Ditto.
27581 (emacs_Xt_handle_magic_event): Ditto.
27582
27583 * console-x.h (struct x_device): New flag being_deleted.
27584 (DEVICE_X_BEING_DELETED): New macro.
27585
27586 * device-x.c (x_IO_error_handler): Throw to top-level instead of
27587 returning. Before doing that, set the being_deleted flag on the
27588 device.
27589
27590 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
27591
27592 * device-x.c (x-seppuku-on-epipe): Removed.
27593
27594 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
27595
27596 * frame-x.c (x_delete_frame): Flush the X output buffer after
27597 calling XtDestroyWidget to ensure that the windows are really
27598 killed right now.
27599
27600 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
27601
27602 * menubar-x.c (my_run_hook): New unused function.
27603 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
27604 since we ignore the results of the contained functions anyway.
27605
27606 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
27607
27608 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
27609 interlaced GIF files that are smaller than 4 lines high...
27610
27611 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
27612
27613 * buffer.c (map_over_sharing_buffers): Deleted.
27614
27615 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
27616
27617 * buffer.c (Fkill_buffer): Keep indirect_children updated while
27618 killing them.
27619
27620 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
27621
27622 * insdel.c (buffer_insert_string_1): Advance the point bytind in
27623 all the buffers.
27624 (buffer_delete_range): Ditto.
27625
27626 * marker.c (init_buffer_markers): Set point-marker to the value of
27627 point in an indirect buffer.
27628
27629 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
27630
27631 * undo.c (undo_prelude): Test last-undo-buffer against base
27632 buffer.
27633
27634 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
27635
27636 * buffer.h (BUFFER_BASE_BUFFER): New macro.
27637
27638 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
27639
27640 * insdel.c (init_buffer_text): Initialize it here.
27641
27642 * line-number.c: Address line_number_cache through buffer->text.
27643
27644 * buffer.c (mark_buffer): Mark line number cache.
27645
27646 * bufslots.h (line_number_cache): Move to struct buffer_text.
27647
27648 * insdel.c (buffer_insert_string_1): Propagate signals and changes
27649 across the children buffers.
27650 (buffer_delete_range): Ditto.
27651 (buffer_replace_char): Ditto.
27652 (gap_left): Ditto.
27653 (gap_right): Ditto.
27654
27655 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
27656
27657 * buffer.c (Fmake_indirect_buffer): Uncomment.
27658
27659 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
27660
27661 * macros.c (Fend_kbd_macro): Remove trailing period from error
27662 message.
27663 (Fexecute_kbd_macro): Ditto.
27664
27665 1998-08-21 Greg Klanderman <greg@alphatech.com>
27666
27667 * dired.c (Fuser_name_completion): remove optional 2nd argument.
27668 (Fuser_name_completion_1): new function to return uniqueness
27669 indication in addition to the user name completion.
27670 (user_name_completion): change type of `uniq' argument.
27671
27672 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
27673
27674 * lread.c (vars_of_lread): Removed `source-directory' variable.
27675
27676 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
27677
27678 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
27679 Cygwin.
27680
27681 1998-08-19 SL Baur <steve@altair.xemacs.org>
27682
27683 * dired.c (vars_of_dired): Fix misapplied patch.
27684
27685 1998-08-16 Martin Buchholz <martin@xemacs.org>
27686
27687 * fns.c (Fremrassq, remrassq_no_quit):
27688 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
27689
27690 1998-07-17 Didier Verna <didier@xemacs.org>
27691
27692 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
27693 style as foreground GC for faces that have the `dim' property.
27694 (x_output_string): when the `dim' face property is set,
27695 ensure the gray pixmap has been created, and get a proper
27696 foreground GC to draw the text.
27697
27698 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
27699
27700 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
27701 Manually track the state of the left and right Ctrl and Alt
27702 modifiers.
27703
27704 1998-08-07 Matt Stupple <matts@tibco.com>
27705
27706 * ntproc.c: don't wait on char_consumed at thread entry.
27707 Additionally, to get the 'process' marked as finished, ensure
27708 that the CHILD_ACTIVE macro returns false, so before exiting
27709 close char_avail and set it to NULL, and close other handles
27710 to reduce handle leak problems.
27711
27712 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
27713
27714 * menubar-msw.c (displayable_menu_item): take account of menu
27715 depth when deciding whether to try to display accelerators.
27716
27717 1998-08-04 Andy Piper <andyp@parallax.co.uk>
27718
27719 * event-msw.c: use MsgWaitForMultipleObjects if there are no
27720 subprocesses.
27721
27722 * glyphs-msw.c: fix a couple of potential handle leaks.
27723
27724 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
27725
27726 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
27727 *decoding ONLY* back into the core.
27728 * glyphs-eimage.c: Change referenced header file for GIF
27729 reading to point to the incore version.
27730
27731 1998-07-20 Martin Buchholz <martin@xemacs.org>
27732
27733 * casefiddle.c (casify_object):
27734 Change algorithm from O(N**2) to O(N).
27735 Code cleanup.
27736 Doc string cleanup.
27737
27738 1998-07-22 Greg Klanderman <greg@alphatech.com>
27739
27740 * dired.c (file_name_completion_unwind): don't leak the cons.
27741
27742 1998-07-20 Greg Klanderman <greg@alphatech.com>
27743
27744 * dired.c (Fuser_name_completion): new function.
27745 (Fuser_name_all_completions): new function.
27746 (user_name_completion): new function.
27747 (syms_of_dired): 2 new DEFSUBRs.
27748 (vars_of_dired): initialize user name cache vars.
27749
27750 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
27751
27752 * glyphs-eimage.c (png_instantiate): Add proper handling for background
27753 colors taken from the default face. Also correct a thinko in
27754 transparency (not alpha) handling.
27755
27756 1998-07-23 Martin Buchholz <martin@xemacs.org>
27757
27758 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
27759 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
27760 * lread.c (Fload_internal): Be very careful with printfs of
27761 size_t's
27762 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
27763 argument.
27764
27765 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
27766
27767 * callint.c (Fcall_interactively): GCPRO prompt string before
27768 passing it to Fread_key_sequence
27769
27770 1998-07-27 SL Baur <steve@altair.xemacs.org>
27771
27772 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
27773 Vvertical_divider_map.
27774
27775 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
27776 Qnil or 0, none were initialized prior to this change.
27777
27778 Rename misnamed `V' prefixed integer variables:
27779 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
27780 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
27781 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
27782 Vcanna_ichiran_revLen.
27783
27784 Rename misnamed `V' prefixed integer variables and initialize
27785 properly in the vars_of routine.
27786 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
27787 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
27788 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
27789 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
27790 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
27791 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
27792 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
27793 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
27794 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
27795 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
27796 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
27797 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
27798 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
27799 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
27800 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
27801 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
27802 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
27803 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
27804 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
27805 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
27806 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
27807 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
27808 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
27809 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
27810 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
27811 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
27812 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
27813 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
27814 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
27815 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
27816 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
27817 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
27818 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
27819 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
27820 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
27821 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
27822 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
27823 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
27824 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
27825 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
27826 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
27827 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
27828 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
27829 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
27830 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
27831 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
27832
27833 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
27834
27835 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
27836 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
27837 keys thus no longer considering all keysyms on a key.
27838
27839 1998-07-19 SL Baur <steve@altair.xemacs.org>
27840
27841 * XEmacs 21.2-beta1 is released.
27842
27843 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
27844
27845 * eldap.c (Fldap_search_internal): When converting the list of
27846 attributes to search Copy the final 0 from Lisp strings to C
27847 strings.
27848 Check base, not Vldap_default_base as a a string
27849
27850 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
27851
27852 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
27853
27854 * unexnt.c: Unconditionally define bss_start and bss_size, and
27855 ensure that they don't go in the .bss section.
27856
27857 1998-07-17 Olivier Galibert <galibert@pobox.com>
27858
27859 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
27860 byte order is dependant of the local byte order).
27861 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
27862
27863 1998-07-18 SL Baur <steve@altair.xemacs.org>
27864
27865 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
27866 Qmswindows_resource.
27867 From Jonathan Harris <jhar@tardis.ed.ac.uk>
27868
27869 1998-07-12 SL Baur <steve@altair.xemacs.org>
27870
27871 * general.c (syms_of_general): Add defsymbol for Qresource.
27872
27873 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
27874 Qmswindows_resource.
27875 (TopLevel): Rename 'resource image format to 'mswindows_resource.
27876 (mswindows_resource_validate): Rename.
27877 (mswindows_resource_normalize): Rename.
27878 (mswindows_resource_possible_dest_types): Rename.
27879 (mswindows_resource_instantiate): Rename.
27880 (image_instantiator_format_create_glyphs_mswindows): Replace
27881 `resource' with `mswindows.resource'.
27882
27883 * XEmacs 21.0-pre5 is released.
27884
27885 1998-07-10 SL Baur <steve@altair.xemacs.org>
27886
27887 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
27888 server type in environment.
27889 Use alloca-ed strings instead of tiny fixed size ones.
27890
27891 1998-07-09 SL Baur <steve@altair.xemacs.org>
27892
27893 * XEmacs 21.0-pre4 is released.
27894
27895 1998-07-01 James N. Potts <jnpotts@plutonium.net>
27896
27897 * fileio.c: (expand_file_name): under win32: Don't treat names
27898 as UNC names if a drive letter has been specified. If a drive
27899 has been specified, strip out extra directory-separators that
27900 reportedly cause problems under Win95.
27901
27902 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
27903
27904 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
27905 MSVC >= 5.0. Put emacs init and zero-init data in a special
27906 section of the executable when this is defined.
27907
27908 * unexnt.c, ntheap.h:
27909 Removed unused find_section() and get_section_size().
27910
27911 * unexnt.c:
27912 Fix up the executable's checksum after dumping otherwise the
27913 profiler complains.
27914 When DUMP_SEPARATE_SECTION is defined, don't need to dump
27915 zero-init data separately from init data. Dump emacs data
27916 into a special section of the executable.
27917 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
27918 my_ebss instead of up to the end of bss.
27919
27920 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
27921
27922 * filelock.c: Removed Vconfigure_lock_directory - already
27923 defined in emacs.c.
27924
27925 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
27926 defined in frame.c and general.c respectively.
27927
27928 * glyphs-msw.c: Removed Qresource - already defined in
27929 general.c.
27930
27931 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
27932
27933 * eldap.c (Fldap_search_internal): Docstring fixes
27934
27935 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
27936
27937 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
27938 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
27939 EMACSPACKAGEPATH and INFOPATH variables.
27940 Removed unused get_emacs_configuration function.
27941
27942 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
27943 it is now defined at build-time by the makefile.
27944
27945 1998-07-01 James N. Potts <jnpotts@plutonium.net>
27946
27947 * fileio.c: (expand_file_name): under win32: Don't treat names as
27948 UNC names if a drive letter has been specified. If a drive has
27949 been specified, strip out extra directory-separators that
27950 reportedly cause problems under Win95.
27951
27952 1998-07-05 Andy Piper <andyp@parallax.co.uk>
27953
27954 * faces.c (complex_vars_of_faces): for the gui-element face don't
27955 fallback to the default face, instead provide reasonable default
27956 fallbacks that were previously hardcoded elsewhere.
27957
27958 1998-07-06 Olivier Galibert <galibert@pobox.com>
27959
27960 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
27961 when the X server endianness is different than the client's one.
27962
27963 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
27964
27965 * eval.c (run_hook_with_args_in_buffer): Check
27966 default (non-buffer-local) value of hook for
27967 nil before treating it as a function. Don't initialize
27968 the `globals' variable twice.
27969
27970 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
27971
27972 * fileio.c: Don't do directory separator canonicalisation in
27973 substitute-in-file-name because we don't know that the
27974 filename refers to a local file.
27975
27976 1998-06-24 Adrian Aichner <adrian@xemacs.org>
27977
27978 * process-nt.c (nt_create_process): Try appending the standard
27979 executable file extensions to the filename if none supplied.
27980
27981 1998-06-29 SL Baur <steve@altair.xemacs.org>
27982
27983 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
27984 for cygwin32.
27985 From Keisuke Mori <ksk@ntts.com>
27986
27987 1998-06-24 Andy Piper <andyp@parallax.co.uk>
27988
27989 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
27990 images if we have masks. This handles the xbm case (have masks)
27991 and avoids overuse of resources in the xpm case (generally no masks).
27992 Don't output small toolbars.
27993
27994 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
27995
27996 * eval.c (run_hook_with_args_in_buffer): Don't treat
27997 the default value of a buffer local hook as a list of
27998 hooks unless it is both a cons and the car of that cons
27999 is not Qlambda.
28000
28001 1998-06-29 SL Baur <steve@altair.xemacs.org>
28002
28003 * extents.c: Email address for Ben Wing is ben@xemacs.org.
28004 * process-unix.c: Ditto.
28005 * mule-coding.h: Ditto.
28006 * mule-coding.c: Ditto.
28007 * mule-charset.c: Ditto.
28008 * mule-charset.h: Ditto.
28009 * file-coding.c: Ditto.
28010 * file-coding.h: Ditto.
28011
28012 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
28013
28014 * event-msw.c: Guard against recursion when freeing
28015 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
28016
28017 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
28018 Call ShowWindow twice in init_frame_3 to get round runemacs
28019 weirdness.
28020
28021 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
28022
28023 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
28024
28025 * winslots.h: Rename.
28026
28027 * window.c (specifier_vars_of_window): Renamed
28028 vertical-divider-draggable-p to vertical-divider-always-visible-p,
28029 as suggested by Ben Wing.
28030 (specifier_vars_of_window): Fix docstrings.
28031
28032 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
28033
28034 * unexaix.c: Line number information works correctly again.
28035
28036 1998-06-22 Olivier Galibert <galibert@pobox.com>
28037
28038 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
28039
28040 1998-06-21 Martin Buchholz <martin@xemacs.org>
28041
28042 * editfns.c (get_home_directory): ANSIfy.
28043 XEmacs is compilable under C *and* C++.
28044 It's XEmacs, not Xemacs!
28045
28046 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
28047
28048 * console-msw.h: added a list of fonts to device data.
28049
28050 * device-msw.c: enumerate list of available fonts in
28051 mswindows_init_device. Free list in mswindows_delete_device.
28052
28053 * objects-msw.c: Added helper function match_font used by
28054 mswindows_initialize_font_instance and mswindows_list_fonts.
28055 Allow a charset to be specified in a font string, even if
28056 previous fields haven't been specified.
28057
28058 1998-06-23 Greg Klanderman <greg@alphatech.com>
28059
28060 * indent.c (column_at_point): column cache bugfix.
28061 Set last_known_column_point to the buffer position for
28062 which the column was requested, not buffer's point.
28063
28064 * redisplay.c (decode_mode_spec): for current-column, show
28065 window's point's column, not buffer's point's column.
28066
28067 1998-06-23 Andy Piper <andyp@parallax.co.uk>
28068
28069 * menubar-msw.c (mswindows_handle_wm_command): use
28070 enqueue_misc_user event rather than
28071 mswindows_enqueue_msic_user_event to fix customize problems. Add some
28072 checks that X does.
28073
28074 * console-msw.h: declare mswindows_enqueue_magic_event.
28075
28076 * event-msw.c (mswindows_enqueue_magic_event): make global.
28077
28078 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
28079
28080 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
28081 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
28082 (add_position_to_cache): Use EMACS_INT instead of int.
28083
28084 1998-06-21 Olivier Galibert <galibert@pobox.com>
28085
28086 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
28087 suitable for an int used as a boolean (btw, C sucks.).
28088
28089 1998-06-18 Andy Piper <andyp@parallax.co.uk>
28090
28091 * object-msw.c: remove warnings.
28092
28093 * device-msw.c: #define wrongly named cygwin structure elements.
28094
28095 * s/cygwin32.h: define DEMI_BOLD
28096
28097 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
28098
28099 * redisplay-msw.c: new function mswindows_apply_face_effects.
28100 This is called by output_string and output_cursor to display
28101 underline and strikeout on faces.
28102
28103 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
28104
28105 * console-msw.h: added a list of fonts to device data.
28106
28107 * device-msw.c: enumerate list of available fonts in
28108 mswindows_init_device. Free list in mswindows_delete_device.
28109
28110 * objects-msw.c: Added helper function match_font used by
28111 mswindows_initialize_font_instance and mswindows_list_fonts.
28112 Allow a charset to be specified in a font string, even if
28113 previous fields haven't been specified.
28114
28115 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
28116
28117 * objects-msw.c:
28118 Removed compilation warnings from mswindows_string_to_color.
28119 mswindows_list_fonts returns a more general bogus font.
28120 New lisp-visible function mswindows-color-list.
28121
28122 1998-06-19 David Bush <david.bush@adn.alcatel.com>
28123
28124 * editfns.c (Fuser_login_name): Modify to user new function
28125 user_login_name.
28126 (user_login_name): C only function to avoid Lisp object overhead
28127 Returns "unknown" instead of nil in Cygwin environment
28128
28129 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
28130 equivalent for current user in Cygwin environment. Use new
28131 function user_login_name to get username.
28132
28133 * lisp.h: Declare user_login_name
28134
28135 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
28136
28137 * unexaix.c (make_hdr): Fixed bias computations so debugging info
28138 works again.
28139 Some other insignificant nitpicks.
28140
28141 1998-06-18 Andy Piper <andyp@parallax.co.uk>
28142
28143 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
28144 creating the image list and make sure he bk color is transparent.
28145
28146 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
28147
28148 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
28149 completed_timeouts. The timer could have expired.
28150
28151 1998-06-17 Andy Piper <andyp@parallax.co.uk>
28152
28153 * console-msw.h: move XEMACS_RECT_WH inside frame
28154 parameters. define macors to access it.
28155
28156 * frame-msw.c (mswindows_init_frame_1): use new target_rect
28157 parameter to initialize desired sizing. (mswindows_init_frame_2):
28158 enable and size the frame to something sensible when we get
28159 here. (mswindows_set_frame_properites): use new
28160 mswindows_size_frame_internal function and size frame if frame
28161 parameters not just if init is finished - WM_SIZE happens too
28162 early for some specs. (mswindows_size_frame_internal): new
28163 function abstracted from mswindows_set_frame_properties.
28164 (Vmswindows_use_system_frame_size_defaults):
28165 new variable controls whether to allow the system to pick frame
28166 size defaults, defaults to nil.
28167
28168 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
28169 than duplicated code.
28170
28171 1998-06-15 Colin Rafferty <colin@xemacs.org>
28172
28173 * Makefile.in.in: Made EXTW_LINK expand properly.
28174
28175 1998-06-12 Martin Buchholz <martin@xemacs.org>
28176
28177 * redisplay.c (vars_of_redisplay): default value of
28178 column-number-start-at-one should be NIL!
28179
28180 1998-06-11 Martin Buchholz <martin@xemacs.org>
28181
28182 * casefiddle.c:
28183 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
28184
28185 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
28186
28187 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
28188 build_string to avoid crashes under Mule.
28189
28190 1998-06-13 Andy Piper <andyp@parallax.co.uk>
28191
28192 * ntplay.c (play_sound_data_1): don't delete the sound data until
28193 the next sound is played and the previous one finished.
28194
28195 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
28196
28197 * fileio.c (directory-sep-char): Escape backslashes.
28198
28199 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
28200
28201 * event-stream.c: Fix docstring reference.
28202
28203 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
28204
28205 * alloc.c (make_float): Remove useless initialization of `next'
28206 field.
28207 (make_pure_float): Ditto.
28208
28209 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
28210
28211 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
28212
28213 * fileio.c (Fmake_directory_internal): Remove conditionals
28214 on WINDOWSNT when calling mkdir.
28215
28216 * ntproc.c: Deleted the following unused functions:
28217 register_child, reap_subprocess, sys_wait.
28218
28219 * nt.c (sys_rename): Ifzeroed this implementation.
28220 Deleted the following unused functions:
28221 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
28222 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
28223 sys_read, sys_write.
28224 Merger sys_fopen and sys_open with sysdep.c implementation.
28225
28226 * sysdep.c: Removed MS-DOS code.
28227 (sys_rename): Deal with Microsoft rename weirdness.
28228 (sys_open): Implemented for Windows.
28229 (sys_fopen): Ditto.
28230 (sys_mkdir): Ditto.
28231
28232 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
28233
28234 * buffer.c (complex_vars_of_buffer): Removed %t description from
28235 the docstring.
28236
28237 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
28238
28239 * scrollbar-msw.c: initialize the cbSize element of the
28240 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
28241 to ignore the value of cbSize, but Win95 (and I presume Win98)
28242 appear to want it set to sizeof(SCROLLINFO).
28243
28244 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
28245
28246 * event-stream.c: Defined Qcancel_mode_internal.
28247 (syms_of_event_stream): defsymbol'ed it.
28248
28249 * events.h: Externed it.
28250
28251 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
28252
28253 1998-06-04 Oliver Graf <ograf@fga.de>
28254
28255 * frame-x.c (x_cde_destroy_callback): free the data
28256 (cde-start-drag-internal) corrected root position, 21.1 needs this
28257 hardcoded in Button events
28258 (offix-start-drag-internal) corrected root position
28259
28260 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
28261
28262 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
28263 instead of error().
28264
28265 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
28266
28267 * dialog-msw.c (button_width): Removed `inline' from the function
28268 declaration.
28269
28270 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
28271
28272 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
28273 Note that adding this flag to subsequent frames causes problems.
28274
28275 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
28276
28277 * glyphs-eimage.c (png_instantiate) move 'struct
28278 png_memory_storage tbr' out of nested block to avoid dangling
28279 reference
28280
28281 1998-06-02 Andy Piper <andyp@parallax.co.uk>
28282
28283 * faces.h:
28284 * faces.c: rename 3d-object -> gui-element. add toolbar face which
28285 inherits from gui-element.
28286
28287 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
28288 with existing code, generate masks correctly.
28289
28290 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
28291
28292 * glyphs-eimage.c: Changed included header for gifs to use
28293 Gifreader instead of giflib.
28294
28295 * glyphs-x.c: removed the image-related functions that were
28296 moved into glyphs-eimage.
28297
28298 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
28299
28300 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
28301 if built without X Windows support.
28302
28303 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
28304
28305 * fns.c (Fconcat): Synch docstring with new reality.
28306
28307 1998-06-03 SL Baur <steve@altair.xemacs.org>
28308
28309 * frame.c: Remove reference to msdos.h (which is going away).
28310 Suggested by Hrvoje Niksic and Kirill Katsnelson.
28311
28312 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
28313
28314 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
28315 grayscale images/
28316
28317
28318 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
28319
28320 * events.h: Fixed commentary about misc-user scrollbar events.
28321
28322 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
28323 object as an event channel, instead of window object.
28324 (x_update_horizontal_scrollbar_callback): Ditto.
28325
28326 1998-05-29 Andy Piper <andyp@parallax.co.uk>
28327
28328 * ntplay.c (play_sound_data_1) new function. convert alloca data
28329 to malloc if necessary.
28330 (play_sound_file): if the file is not in our path then convert to
28331 data and play.
28332
28333 1998-06-01 SL Baur <steve@altair.xemacs.org>
28334
28335 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
28336 * msdos.c (Frecent_doskeys): Ditto.
28337
28338 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
28339 Suggested by Reggie Perry <perry@zso.dec.com>
28340
28341 * buffer.h: Eliminate size in declaration.
28342
28343 1998-06-01 Olivier Galibert <galibert@pobox.com>
28344
28345 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
28346
28347 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
28348
28349 * gui.c (gui_item_init): Changed the default value for config member
28350 from Qunbound to Qnil.
28351
28352 1998-06-01 Greg Klanderman <greg@alphatech.com>
28353
28354 * indent.c (vmotion_pixels): Don't #define abs().
28355
28356 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
28357
28358 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
28359 respectively.
28360
28361 1998-05-30 Andy Piper <andyp@parallax.co.uk>
28362
28363 * glyphs.h: add xbm declarations.
28364
28365 * console.h: add xbm_instantiate_method device method.
28366
28367 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
28368 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
28369 (xbm_possible_dest_types): moved here from glyphs-x.c. use
28370 locate_pixmap_file device method and read_bitmap_data_from_file
28371 instead of XmuReadBitmapDataFromFile.
28372 (xbm_instatntiate): make a device method.
28373
28374 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
28375 new function that just calls XmuReadBitmapDataFromFile.
28376 (x_xbm_instatntiate): device method from xbm_instantiate.
28377
28378 * glyphs-msw.c (read_bitmap_data) (NextInt)
28379 (read_bitmap_data_from_file): new functions copied from Xmu
28380 sources.
28381 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
28382 inline data to an mswindows bitmap.
28383 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
28384 (mswindows_xbm_instantiate): mswindows-ized versions of the X
28385 functions.
28386
28387 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
28388
28389 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
28390 `modeline-visible-p'.
28391 Declared specifier lisp variables at the beginning oh the file
28392 as static.
28393
28394 * procimpl.h (struct process_methods): Changed semantics of
28395 create_process method so it accepts lisp strings instead of
28396 char pointers.
28397
28398 * process.c (Fstart_process_internal): Moved building of
28399 unix style argv from here to process-unix.c, ...
28400
28401 * process-unix.c (unix_create_process): ... right here.
28402
28403 * process-nt.c (nt_create_process): Changed this function to
28404 support new semantics, so avoided a GC problem.
28405
28406 * events.c (Fmake_event): Document misc-user events properties.
28407 (Fmake_event): Do not allow arbitrary objects for channel property
28408 of misc-user events.
28409 (Fmake_event): Change misc-user event validation: it is function
28410 which is required, not button.
28411
28412 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
28413 user events.
28414 (mswindows_enqueue_misc_user_event): Added function.
28415 (mswindows_bump_queue): Removed function.
28416 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
28417 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
28418 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
28419 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
28420 really nothing, which is my personal favorite thing.
28421
28422 * console-msw.h: Removed prototype for mswindows_bump_queue().
28423 Added prototype for mswindows_enqueue_misc_user_event().
28424
28425 * menubar-msw.c (mswindows_handle_wm_command): Use
28426 mswindows_enqueue_misc_user_event().
28427
28428 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
28429
28430 * dialog-msw.c (dialog_proc): Ditto.
28431
28432 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
28433 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
28434 user events channel.
28435
28436 1998-05-29 Greg Klanderman <greg@alphatech.com>
28437
28438 * window.c (Fwindow_displayed_text_pixel_height): was relying on
28439 incorrect semantics of vmotion_pixels which has been fixed. don't
28440 use it anymore as it can't easily be used.
28441
28442 * indent.c (vmotion_pixels): fix off by one bug moving up. also
28443 the motion was reported incorrectly if you tried to go past end of
28444 buffer.
28445
28446 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
28447
28448 * toolbar.h: Removed misleading commentary, as Martin suggested.
28449
28450 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
28451
28452 * lisp.h: Extern Qactivate_menubar_hook.
28453
28454 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
28455 run_hook ().
28456
28457 1998-05-29 Andy Piper <andyp@parallax.co.uk>
28458
28459 * glyphs-msw.c: use BPLINE macro.
28460
28461 * select-msw.c (mswindows-selection-exists-p)
28462 (mswindows-delete-selection): doc string fixes.
28463
28464 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
28465 unpressable. warning elimination.
28466
28467 1998-05-28 Martin Buchholz <martin@xemacs.org>
28468
28469 * alloc.c (dbg_constants):
28470 * dbxrc:
28471 * gdbinit:
28472 Remove toolbar_data debugging code, since that lrecord has
28473 also been removed.
28474
28475 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
28476
28477 * alloc.c: zap cached value of (user-home-directory), so that
28478 it's not undumped.
28479
28480 * buffer.c: From init_buffer(), separated out code that
28481 determined the initial directory for the *scratch* buffer, and
28482 put them into a function called "init_initial_directory()".
28483 The initial directory is now available as a global "char *"
28484 called initial_directory.
28485
28486 * buffer.h: Added extern entries for initial_directory[] and
28487 init_initial_directory().
28488
28489 * editfns.c: added new elisp function "user-home-directory",
28490 which basically returns getenv("HOME"), but attempts to use
28491 other values if $HOME isn't set.This may have to be tweaked in
28492 the future as, under Unix, "/" is used if $HOME isn't set (this
28493 probably should be set to the current directory). To support
28494 this, a new C function, "get_home_directory()", now exists,
28495 which returns the "home directory", as a "char *" string.
28496
28497 * emacs.c: Rearrange NT initialization order so that
28498 environment/registry variables will be properly entered into
28499 Vprocess_environment.
28500
28501 * fileio.c: replaced egetenv("HOME") with calls to the new
28502 get_home_directory().
28503
28504 * lisp.h: Added function prototypes for uncache_home_directory()
28505 and get_home_directory(), along with lisp prototypes for
28506 Fuser_home_directory() and friends.
28507
28508 * nt.c: replaced getenv("HOME") with calls to the new
28509 get_home_directory().
28510
28511 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
28512 warnings about getcwd(), etc. not having prototypes.
28513
28514 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
28515
28516 * process-nt.c (send_signal): Emulate SIGHUP.
28517 (validate_signal_number): Ditto.
28518
28519 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
28520 remove MOD_SHIFT from ASCII characters.
28521 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
28522 F10 is pressed.
28523
28524 1998-05-24 Oliver Graf <ograf@fga.de>
28525
28526 * frame-x.c (cde-start-drag-internal): added filename and multi-
28527 data transfers
28528 (x_cde_convert_callback) dito
28529
28530 1998-05-26 Oliver Graf <ograf@fga.de>
28531
28532 * frame-x.c: include event-mod.h also with CDE
28533 (x_cde_convert_callback) made the thing working
28534 (cde-start-drag-internal) also debugging
28535
28536 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
28537
28538 * m/sparc.h:
28539 * getloadavg.c:
28540 * malloc.c:
28541 * unexec.c:
28542 * mem-limits.h:
28543 - add __OpenBSD__ where __NetBSD__ was found.
28544 - TODO: replace platform-specific conditional compilation by
28545 feature tests in configure.in.
28546
28547 1998-05-15 Greg Klanderman <greg@alphatech.com>
28548
28549 * window.c (Fwindow_displayed_text_pixel_height): New function.
28550 (syms_of_window): DEFSUBR it.
28551
28552 * indent.c (Fvertical_motion_pixels): New function - request
28553 movement in pixels.
28554 (vmotion_pixels): helper.
28555 (syms_of_indent): DEFSUBR.
28556 * lisp.h: declaration for vmotion_pixels().
28557
28558 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
28559 to request returning motion in pixels.
28560 (Fvertical_motion_pixels): Remove, functionality merged into
28561 Fvertical_motion.
28562 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
28563 (Fmove_to_window_line): ditto.
28564 * lisp.h: Change declaration for Fvertical_motion.
28565
28566 * window.c: rename window-text-pixel-{height,width,edges} to
28567 window-text-area-pixel-*.
28568
28569 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
28570
28571 * tooltalk.c (vars_of_tooltalk) added staticpro for
28572 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
28573
28574 1998-05-27 Andy Piper <andyp@parallax.co.uk>
28575
28576 * faces.c: create a new 3d_object_face, make modeline and
28577 vertical_divider faces fallback to this rather than the default.
28578
28579 1998-05-21 Andy Piper <andyp@parallax.co.uk>
28580
28581 * s/cygwin32.h: define charsets for cygwin.
28582
28583 1998-05-25 Andy Piper <andyp@parallax.co.uk>
28584
28585 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
28586 and coordinates. resize bitmaps if we have already settled on a
28587 different size.
28588
28589 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
28590
28591 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
28592
28593 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
28594
28595 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
28596
28597 * gui.h: Ditto.
28598
28599 * gui-x.c (popup_selection_callback): Ditto.
28600
28601 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
28602
28603 * gui.c (get_callback): Renamed to get_gui_callback.
28604
28605 1998-05-17 Martin Buchholz <martin@xemacs.org>
28606
28607 * glyphs.h: order rearrangement.
28608
28609 * device-tty.c (tty_asynch_device_change): Warning suppression.
28610 * device-x.c (x_device_system_metrics): Warning suppression.
28611 Make Doc strings consistent with coding standards.
28612
28613 1998-05-24 Martin Buchholz <martin@xemacs.org>
28614
28615 * general.c: multiple definition of `Qicon'. general.c seems
28616 like a good home for Qicon.
28617
28618 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
28619
28620 * This patch is to fix compilation warnings under Windows.
28621
28622 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
28623 Added prototypes for FSF inherited functions, with which XEmacs is
28624 sprinkled thoroughly.
28625 Removed some #if 0 code. Bracketed some more definitions, probably
28626 related to Visual C versions prior to 4 (we do not support them).
28627
28628 * sysfloat.h (logb): Finally, get logb() prototyped.
28629
28630 * sysfile.h: Added Windows specific includes.
28631 Removed old Windows specific code bracketed with #if 0.
28632
28633 * sysdep.h: Added prototype for xrealpath().
28634
28635 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
28636
28637 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
28638 vars_of_dired_mswindows and init_ntproc (Grrr).
28639
28640 * realpath.c: Added Windows specific include files.
28641 (xrealpath): Conditionalized declaration of some auto variables on
28642 S_IFLNK, to avoid warnings.
28643
28644 * ntproc.c: Disabled some compiler warnings. This file is going to
28645 die, so I have not cleaned it up much.
28646 (set_process_dir): Const parameter.
28647 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
28648 (Fwin32_long_file_name): Ditto.
28649 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
28650 three functions?
28651
28652 * nt.h: Added prototypes for set_process_dir and convert_time.
28653
28654 * nt.c: More include files.
28655 (getpwnam): Consted char* argument.
28656 (get_emacs_configuration): Const return value.
28657 (opendir): Const argument.
28658 (stat): Casted converstion long->short.
28659 (stat): Removed ad hoc and questionable support for non-MSC compile.
28660 (sys_pipe): Removed unused auto variable.
28661 (_sys_read_ahead): Removed calls to DebPrint.
28662 (sys_read): Ditto, in 2 places.
28663 (term_ntproc): Added unused int parameter to signal handler, to
28664 avoid a warning when compiling a call to signal().
28665 (msw_sigset): Properly return old signandler or NULL instead of void.
28666
28667 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
28668
28669 * gmalloc.c (morecore): Ditto.
28670 (_free_internal): Ditto.
28671
28672 * lread.c (parse_integer): Ditto.
28673
28674 * dired-msw.c: Added several include files.
28675
28676 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
28677 of Compilers to Shut Up.
28678
28679 * callproc.c: Added #includes to suppress warnings under Windows.
28680 (init_callproc): Removed #if0'ed code and unused variables.
28681
28682 1998-05-25 Andy Piper <andyp@parallax.co.uk>
28683
28684 * device-msw.c (mswindows_device_system_metrics): do planes in a
28685 way consistent with X.
28686
28687 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
28688 use SetPixel, use DIBits functions.
28689 (xpm_to_eimage): frob colors more closely like xpm deos.
28690
28691 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
28692 to be closer to X version.
28693
28694 * event-msw.c: use tooltip string directly.
28695
28696 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
28697
28698 * objects-msw.c: frob rgb colors that only Kyle uses.
28699
28700 * dialog-msw.c (button_width): INLINE -> inline.
28701
28702 1998-05-23 SL Baur <steve@altair.xemacs.org>
28703
28704 * getloadavg.c (getloadavg): Fix typo.
28705
28706 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
28707
28708 * objects-msw.c (mswindows_initialize_font_instance): Added support
28709 for font character sets.
28710 Replaced 'XXX' with '####' in comments throughout the file.
28711
28712 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
28713
28714 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
28715 console_type_create_dialog_mswindows(), to initialize Windows dialog
28716 support.
28717
28718 * symsinit.h: Prototyped the above functions.
28719
28720 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
28721 checks to dialog.c...
28722
28723 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
28724 device must support dialog boxes, and the descriptor must supply at
28725 least one button.
28726
28727 * dialog-msw.c: New file, dialogs for Windows.
28728
28729 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
28730
28731 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
28732 (Fldap_search_internal): Removed unused variable `err'
28733
28734 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
28735 forward declaration
28736
28737 1998-05-17 Martin Buchholz <martin@xemacs.org>
28738
28739 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
28740 defined. Therefore there is no need to handle the case when
28741 HAVE_LDAP is undefined. Similarily, there is no reason to have
28742 any code wrapped within `#ifdef emacs', since this code is only
28743 useful within an emacs. This simplifies the code significantly.
28744
28745 * inline.c: Include eldap.h only if HAVE_LDAP.
28746 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
28747 already does that.
28748
28749 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
28750
28751 * unexnt.c (copy_executable_and_dump_data_section): Suppress
28752 printing dump stats when building without DEBUG_XEMACS.
28753 (dump_bss_and_heap): Ditto.
28754
28755 1998-05-21 Andy Piper <andyp@parallax.co.uk>
28756
28757 * gnuclient.c: don't suppress window system if there is no display
28758 and we are running under mswindows. send 'mswindows device type if
28759 we are in this situation.
28760
28761 1998-05-20 Andy Piper <andyp@parallax.co.uk>
28762
28763 * general.c:
28764 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
28765
28766 * glyphs-msw.c: change cursor imgae type name to resource. Fix
28767 some nits.
28768
28769 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
28770
28771 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
28772 {top,bottom}-{left,right} values in addition to
28773 {top,bottom}_{left,right}.
28774
28775 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
28776
28777 * fileio.c (Fmake_temp_name): Remove unreached code.
28778
28779 * process-nt.c (validate_signal_number): Use
28780 signal_simple_error().
28781
28782 1998-05-19 Martin Buchholz <martin@xemacs.org>
28783
28784 * unexhp9k800.c:
28785 * sound.c (vars_of_sound):
28786 * sysdep.c (reset_sigio_on_device):
28787 * window.c (window_bottom_gutter_height):
28788 unexhp9k800.c:258: warning: implicit declaration of function
28789 `calculate_checksum'
28790 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
28791 sysdep.c:1012: warning: unused variable `owner'
28792 window.c:993: warning: `window_right_toolbar_width' defined but not used
28793
28794 1998-05-19 Andy Piper <andyp@parallax.co.uk>
28795
28796 * glyphs-msw.c (mswindows_create_resized_mask)
28797 (mswindows_create_resized_bitmap): new funnctions split out from
28798 mswindows_resize_dibitmap_instance.
28799
28800 * glyphs-msw.h: declare new resize functions.
28801
28802 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
28803 functions so that the original bitmaps are preserved.
28804
28805 * sheap.c: fixup static heap exhausted error to avoid FAQs.
28806
28807 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
28808 color if we are trying to output 0 depth bg pixmap.
28809
28810 * scrollbar-msw.c: warning elimination.
28811
28812 1998-05-18 Martin Buchholz <martin@xemacs.org>
28813
28814 * frame-x.c (x_update_frame_external_traits): Start preprocessor
28815 directives in column 1.
28816
28817 * search.c (skip_chars): Avoid using xzero with arrays, since some
28818 compilers get confused by the construct &array.
28819
28820 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
28821
28822 * objects-msw.h:
28823 * objects-msw.c: Changed the charset value for a new font from
28824 "don't care" to "ansi".
28825
28826 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
28827
28828 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
28829
28830 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
28831 modifier on control chars.
28832 Use IsCharAlpha() instead of isaplha().
28833
28834 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
28835
28836 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
28837
28838 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
28839
28840 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
28841 charset when creating font.
28842 (mswindows_initialize_color_instance): Do not create brush along
28843 with a color.
28844 (mswindows_finalize_color_instance): Do not delete it then.
28845
28846 * objects-msw.h (struct mswindows_color_instance_data): Removed
28847 brush slot, and corresponding accessor macro.
28848
28849 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
28850
28851 * toolbar.c: Removed toolbar_data lrecord implementation.
28852 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
28853 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
28854 (compute_frame_toolbar_buttons): Ditto.
28855 (CHECK_TOOLBAR): Ditto.
28856 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
28857 (update_frame_toolbars): Do not check for changed buffer
28858 here. Toolbar information is provided by cached specs in
28859 windows. The check for buffer is eliminated because toolbars are
28860 marked changed in set_frame_selected_window() in frame.c
28861 Added check for changed toolbars geometry.
28862 (compute_frame_toolbars_data): Removed unused second parameter;
28863 Adjusted callers of this static function throughout the file.
28864 (init_frame_toolbars): Initialize current_toolbar_size.
28865 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
28866 what is its current expansion, for clarity.
28867 (init_frame_toolbars): Ditto.
28868 (init_device_toolbars): Ditto.
28869 (init_global_toolbars): Ditto.
28870
28871 * toolbar.h: Removed definition of toolbar_data lrecord.
28872 Added accessor macros FRAME_TOOLBAR_BUTTONS and
28873 FRAME_CURRENT_TOOLBAR_SIZE.
28874 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
28875
28876 * toolbar-x.c (x_output_toolbar): The same change as in
28877 toolbar-msw.c
28878 (x_output_toolbar): Ditto.
28879 (x_redraw_exposed_toolbar): Ditto.
28880
28881 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
28882 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
28883 (mswindows_output_toolbar): Ditto.
28884 (mswindows_output_toolbar): Ditto.
28885
28886 * frame.c (mark_frame): Removed marking of arrays, according to
28887 frameslots.h change.
28888 (nuke_all_frame_slots): Ditto.
28889 (set_frame_selected_window): Mark toolbars changed when
28890 last_nonminibuf_window changes.
28891
28892 * frame.h (struct frame): Moved some slots to frameslots.h.
28893 Added current_toolbar_size array.
28894 Changed references from toolbar_data to toolbar_buttons in macros
28895 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
28896 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
28897 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
28898
28899 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
28900 Moved arrays of lisp objects here from frame.h: toolbar_size,
28901 toolbar_visible_p, toolbar_border_width.
28902 Removed toolbar_data slot and added toolbar_buttons.
28903
28904 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
28905
28906 * symsinit.h: Externed syms_of_process_nt()
28907
28908 * emacs.c (main_1): Call syms_of_process_nt()
28909
28910 * process-nt.c: Quote process arguments by a call to Lisp function
28911 `nt-quote-process-args'.
28912 (syms_of_process_nt): New function.
28913 (nt_send_process): Flush data stream after each write, to avoid
28914 leaving buffered data.
28915 (nt_send_process): When blocked on process output, wait for
28916 process to slurp more for progressively increasing time intervals.
28917
28918 1998-05-17 Martin Buchholz <martin@xemacs.org>
28919
28920 * window.c (have_undivided_common_edge): Make file-local function
28921 static.
28922 (map_windows): Return 0 if all map functions successful.
28923 Fix typos.
28924
28925 * winslots.h: Use unlikely names for local variables in macros to
28926 avoid shadowing warnings.
28927
28928 1998-05-17 Andy Piper <andyp@parallax.co.uk>
28929
28930 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
28931 so that we re-output if the toolbar size has changed.
28932
28933 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
28934
28935 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
28936
28937 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
28938
28939 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
28940 greater).
28941
28942 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
28943
28944 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
28945 get bitmap manifest constants defined.
28946
28947 * console-msw.h: Include system files in angle brackets, not in
28948 quotes.
28949
28950 * window.c (specifier_vars_of_window): Fixed a typo in
28951 `vertical-divider-line-width' docstirng.
28952
28953 1998-05-16 Olivier Galibert <galibert@pobox.com>
28954
28955 * line-number.c (delete_invalidate_line_number_cache): Use an
28956 EMACS_INT.
28957 (buffer_line_number): Remove dangerous, plain wrong when using
28958 64bits emacs ints, cast.
28959
28960 * insdel.c (buffer_delete_range): Use an EMACS_INT.
28961
28962 * cmds.c (Fforward_line): Use EMACS_INTs.
28963
28964 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
28965 (scan_buffer): Ditto.
28966 (bi_find_next_newline_no_quit): Remove useless cast.
28967 (find_next_newline_no_quit): Ditto.
28968 (find_next_newline): Ditto.
28969 (find_before_next_newline): Use an EMACS_INT.
28970
28971 * lisp.h: Change scan_buffer to pass EMACS_INTs.
28972
28973 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
28974
28975 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
28976
28977 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
28978
28979 * gui-x.c (popup_selection_callback): Use it.
28980
28981 * gui.h (get_callback): Declare it.
28982
28983 * gui.c (get_callback): New function.
28984
28985 1998-05-15 SL Baur <steve@altair.xemacs.org>
28986
28987 * window.c (have_undivided_common_edge): Guard scrollbar specific
28988 stuff.
28989 (window_needs_vertical_divider_1): Ditto.
28990
28991 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
28992
28993 * emacs.c (decode_path): Eliminate compiler warning.
28994 (Fdecode_path): Renamed to Fsplit_path.
28995 (Fsplit_string_by_char): New function.
28996
28997 1998-05-14 Damon Lipparelli <lipp@primus.com>
28998
28999 * winslots.h: close comment
29000
29001 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
29002
29003 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
29004
29005 * bufslots.h: Removed buffer_file_type slot.
29006
29007 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
29008 buffer local flags.
29009 (complex_vars_of_buffer): Removed buffer-file-type variable and
29010 its default reference.
29011
29012 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
29013
29014 * faces.c (complex_vars_of_faces): Defined
29015 Vvertical_divider_face.
29016 (vars_of_faces): Staticpro it.
29017
29018 * faces.h: Externed Vvertical_divider_face.
29019
29020 * redisplay-x.c (x_output_vertical_divider): Use
29021 Vvertical_divider_face to draw the divider instead of modeline
29022 face.
29023
29024 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
29025 divider face using Vvertical_divider_face background.
29026 Fix drawing spacing gaps around the divider.
29027
29028 1998-05-14 Didier Verna <didier@xemacs.org>
29029
29030 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
29031 values for the vertical divider line width and spacing. Use the
29032 cached values from the window structure instead.
29033 (x_divider_width): ditto.
29034
29035 * window.c (specifier_vars_of_window): new specifiers:
29036 vertical-divier -line-width and -spacing.
29037 (vertical_divider_global_width_changed): formerly known as
29038 vertical_divider_shadow_thickness_changed.
29039
29040 * winslots.h: new slots: vertical_specifier _line_width and
29041 _spacing. Plus corrected a comment typo.
29042
29043 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
29044
29045 * window.h: Declared window_divider_width().
29046
29047 * console-stream.c (stream_divider_width): Removed method.
29048 (console_type_create_stream): And declaration for it.
29049
29050 * redisplay.c (pixel_to_glyph_translation): Use
29051 window_divider_width() instead of divider_width redisplay method.
29052 (pixel_to_glyph_translation): Fix top divider edge calculation
29053 when scrollbar is on top.
29054
29055 * window.c (window_divider_width): New function, an outphaser for
29056 divider_width redisplay method.
29057 (window_right_gutter_width): Use it.
29058 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
29059 specifiers, set fallback values differently on TTYs, and document
29060 the behavior of these on TTYs in the docstrings.
29061
29062 * scrollbar.c (update_scrollbar_instance): Use
29063 window_divider_width() instead of divider_width redisplay method.
29064
29065 * console.h (struct console_methods): Removed divider_width_method.
29066
29067 * redisplay-tty.c (tty_divider_width): Removed device method.
29068 (console_type_create_redisplay_tty): Removed definition for it.
29069 (tty_output_vertical_divider): Respect the value returned by
29070 window_divider_width thus divider line width specification.
29071
29072 * redisplay-msw.c (mswindows_divider_width): Removed device method.
29073 (console_type_create_redisplay_mswindows): Removed definition for it.
29074 (mswinodws_output_vertical_divider): Respect the value returned by
29075 window_divider_width thus divider line width specification.
29076
29077 1998-05-15 Andy Piper <andyp@parallax.co.uk>
29078
29079 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
29080
29081 1998-05-15 Andy Piper <andyp@parallax.co.uk>
29082
29083 * glyphs-msw.c: resource loading implementation.
29084 (cursor_normalize): new function.
29085 (cursor_validate): ditto.
29086 (cursor_instantiate): ditto.
29087 (cursor_name_to_resource): ditto.
29088 (cursor_possible_dest_types): ditto.
29089 (check_valid_symbol): ditto.
29090 (check_valid_string_or_int): ditto.
29091
29092 1998-05-14 Martin Buchholz <martin@xemacs.org>
29093
29094 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
29095 VINTR and VQUIT.
29096
29097 * process-unix.c (process_signal_char): Use VSUSP instead of
29098 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
29099
29100 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
29101
29102 * specifier.c (specifier_instance): Change locale precedence of
29103 instantiation so window locale has higher priority than buffer
29104 locale.
29105 (Fspecifier_instance): Reflect this in docstring.
29106 (Fadd_spec_list_to_specifier): Ditto.
29107 (Fadd_spec_to_specifier): Ditto.
29108 (Fremove_specifier): Ditto.
29109
29110 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
29111
29112 ** Dialog separation into a device method from Andy Piper
29113
29114 * emacs.c (main_1): Call console_type_create_dialog_x().
29115
29116 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
29117 into this device method.
29118 (console_type_create_dialog_x): New function.
29119
29120 * dialog.c (Fpopup_dialog_box): New function.
29121 (syms_of_dialog): Defsubr it.
29122
29123 * console.h (struct console_methods): Declared
29124 popup_dialog_box_method().
29125
29126 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
29127
29128 1998-05-14 Oliver Graf <ograf@fga.de>
29129
29130 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
29131 * frame-x.c (x_cde_transfer_callback): checked for merge errors
29132
29133 1998-05-13 Oliver Graf <ograf@fga.de>
29134
29135 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
29136
29137 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
29138
29139 * console.h (device_metrics): Removed dbcs, input-method-editor
29140 and right-to-left metrics.
29141
29142 * device.c (Fdevice_system_metric): Ditto.
29143 (Fdevice_system_metrics): Ditto.
29144 (syms_of_device): Ditto.
29145 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
29146 again.
29147
29148 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
29149
29150 * line-number.h (mark_line_number_cache): Remove unused
29151 declaration.
29152
29153 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
29154 (get_nearest_line_number): Simplify.
29155 (add_position_to_cache): Make the old marker point nowhere.
29156
29157 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
29158
29159 ** Renamed window-divider-map => vertical-divider-map
29160 and event-over-divider-p => event-over-vertical-divider-p,
29161 in the following files/functions:
29162 * events.h:
29163 * events.c (Fevent_over_divider_p):
29164 * keymap.c (get_relevant_keymaps):
29165 (vars_of_keymap):
29166
29167 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
29168
29169 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
29170
29171 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
29172
29173 * window.c (vertical_divider_changed_in_window): Renamed so.
29174 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
29175 (window_needs_vertical_divider_1): Decide whether we need it based
29176 on the value of the above specifier. If separators are unwanted,
29177 put them only if there's no scrollbar between this window and its
29178 right neighbor.
29179 (have_undivided_common_edge): New function, helper for the above.
29180 (window_needs_vertical_divider): Return either a cached value,
29181 or clauclate and cache one.
29182 (invalidate_vertical_divider_cache_in_window): Implemented.
29183 (map_windows): Changed return type to int, return the value from
29184 MAPFUN.
29185
29186 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
29187 (struct window): Added need_vertical_divider_p and
29188 need_vertical_divider_valid_p.
29189
29190 * winslots.h: Added vertical_divider_draggable_p slot.
29191
29192 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
29193 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
29194
29195 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
29196
29197 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
29198 invalidate_vertical_divider_cache_in_frame().
29199 Prototype it.
29200
29201 1998-05-14 Andy Piper <andyp@parallax.co.uk>
29202
29203 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
29204
29205 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
29206 masks correctly and don't select 0.
29207
29208 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
29209
29210 * winslots.h: New file, declaration of some struct window and
29211 struct saved_window members.
29212
29213 * window.h (struct window): Include it, with required preprocessor
29214 magic.
29215
29216 * window.c (mark_window): Ditto.
29217 (allocate_window): Ditto.
29218 (struct saved_window): Ditto.
29219 (mark_window_config): Ditto.
29220 (saved_window_equal): Ditto.
29221 (Fset_window_configuration): Ditto.
29222
29223 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
29224
29225 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
29226
29227 1998-05-12 Didier Verna <didier@xemacs.org>
29228
29229 * redisplay-x.c (x_output_vertical_divider): draw shadows around
29230 the divider line. The shadow thickness is currently
29231 hard-wired. This will probably be turned into a specifier soon.
29232
29233 1998-05-12 Didier Verna <didier@xemacs.org>
29234
29235 * console.h (struct console_methods): the divider_width console
29236 method now requires a struct window * argument.
29237
29238 * redisplay-x.c (x_divider_width): ditto. Plus remove
29239 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
29240 (x_output_vertical_divider): give a depressed look when the shadow
29241 thickness is negative.
29242
29243 * console-stream.c (stream_divider_width): pass a struct window *
29244 argument.
29245
29246 * redisplay-tty.c (tty_divider_width): ditto.
29247
29248 * window.c (window_right_gutter_width): totdi.
29249
29250 * redisplay.c (generate_modeline): ittod.
29251
29252 * scrollbar.c (update_scrollbar_instance): ttido.
29253
29254 * redisplay-msw.c (mswindows_divider_width): ottid.
29255 WARNING: this enables to compile, but the feature is not functional.
29256
29257 * window.h (struct window): new field
29258 vertical_divider_shadow_thickness.
29259
29260 * window.c (specifier_vars_of_window): new specifier
29261 vertical-divider-shadow-thickness.
29262 (vertical_divider_shadow_thickness_changed): new function to
29263 inform redisplay that the window has changed.
29264 (mark_window): handle new field vertical_divider_shadow_thickness
29265 from struct window.
29266 (allocate_window): ditto.
29267 (saved_window_equal): toddi.
29268 (Fset_window_configuration): totid.
29269 (save_window_save): ttdio.
29270 (struct saved_window): new field vertical_divider_shadow_thickness.
29271
29272 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
29273
29274 * device-msw.c (mswindows_device_system_metrics): Support a deluge
29275 of metrics.
29276
29277 1998-05-12 Oliver Graf <ograf@fga.de>
29278
29279 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
29280 * event-Xt.c (x_event_to_emacs_event): C++ compability
29281
29282 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
29283
29284 * emacs.c (Fdecode_path): Default SEPCHAR to value of
29285 path-separator.
29286
29287 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
29288
29289 * emacs.c (vars_of_emacs): Do it here; change the meaning of
29290 Vpath_separator.
29291
29292 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
29293
29294 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
29295
29296 * emacs.c (decode_path_1): New function.
29297 (decode_path): Use it.
29298 (Fdecode_path): Renamed from Fdecode_path_internal; use
29299 decode_path_1.
29300
29301 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
29302
29303 * macros.c (Fzap_last_kbd_macro_event): New function.
29304 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
29305
29306 1998-05-10 Andy Piper <andyp@parallax.co.uk>
29307
29308 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
29309 multiple bitmaps are output vertically as well as horizontally.
29310 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
29311 crossing lines this is handled by
29312 mswindows_output_dibitmap_region.
29313
29314 1998-05-12 Martin Buchholz <martin@xemacs.org>
29315
29316 * inline.c: Include eldap.h
29317
29318 * menubar-x.c (x_update_frame_menubar_internal):
29319 Remove: unused variable `container'
29320
29321 1998-05-11 Martin Buchholz <martin@xemacs.org>
29322
29323 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
29324 Unfortunately, the resulting temacs still cannot dump.
29325
29326 * symbols.c (symbol_is_constant):
29327 (verify_ok_for_buffer_local):
29328 -Wswitch Warning suppression - add default case to switches.
29329
29330 * redisplay.c (decode_mode_spec): Remove unused variables,
29331 Replace Fcoding_system_property (codesys, Qmnemonic) with
29332 XCODING_SYSTEM_MNEMONIC (codesys);
29333 Fcoding_system_property is for users.
29334
29335 * buffer.c:
29336 * fileio.c:
29337 * lread.c:
29338 * xselect.c:
29339 Change empty docstrings into no doc strings at all.
29340 Fix bogus FSF-format docstrings.
29341
29342 * extents.c:
29343 Standardize docstrings.
29344
29345 * floatfns.c:
29346 Explain problems with matherr.
29347
29348 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
29349
29350 * syssignal.h:
29351 if BROKEN_SIGIO, then SIGIO wants to be undefined.
29352 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
29353 Fix the weird resultant interaction (causes windows problems)
29354
29355 * gdbinit:
29356 * dbxrc:
29357 Take new EMACSBOOTSTRAPLOADPATH into account.
29358 Update documentation strings
29359
29360 * Makefile.in.in:
29361 - Adjust for luser's CDPATH being set to something weird.
29362 - Take into account bash 2.02's tendency to print the cwd when
29363 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
29364 - fix the run-temacs target to use $(DUMPENV)
29365 - fix the run-puremacs target to use $(DUMPENV)
29366 - fix the `depend' target to properly $(RM) the right files
29367 - Generate a better TAGS file for XEmacs' lisp code using
29368 hand-crafted regexps.
29369 - Use standard coding conventions for modules/Makefile.in
29370
29371 1998-05-12 Didier Verna <didier@xemacs.org>
29372
29373 * redisplay.c: removed the scrolling modeline code that didn't
29374 make it for 21.0. To be continued ...
29375
29376 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
29377
29378 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
29379 and empty string inputs.
29380
29381 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
29382
29383 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
29384
29385 1998-05-10 Oliver Graf <ograf@fga.de>
29386
29387 * event-stream.c (enqueue_misc_user_event_pos): created
29388 * lisp.h (enqueue_misc_user_event_pos): prototype added
29389 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
29390 * emacs.c: call vars_of_dragdrop
29391 * dragdrop.c (vars_of_dragdrop): provide dragdrop
29392
29393 1998-05-11 Oliver Graf <ograf@fga.de>
29394
29395 * frame-x.c (x_cde_transfer_callback): return at correct pos
29396 * event-Xt.c (x_event_to_emacs_event): changed format of drop
29397 object for MIME (see comment in dragdrop.c)
29398 * dragdrop.c: API change documented in comment
29399 removed provide of dragdrop [is provided by dragdrop.el]
29400
29401 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
29402
29403 * window.c (window_needs_vertical_divider): Enable vertical
29404 dividers for every non-rightmost window.
29405 (window_left_gutter_width): Left gutter consists of mythical
29406 toolbar and a virtual scrollbar.
29407 (window_right_gutter_width): The right one may have a divider
29408 also.
29409
29410 * scrollbar.c (update_scrollbar_instance): Position vertical
29411 scrollbar left to divider if the latter present.
29412
29413 * redisplay.h: Declared OVER_DIVIER constant.
29414
29415 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
29416 case.
29417
29418 * redisplay-x.c (x_output_vertical_divider): Output divider along
29419 the right side of the window, down to window bottom. Swapped
29420 foreground and background colors so it is visible by default.
29421
29422 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
29423 stick the divider to the right window side.
29424
29425 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
29426 deadbox painting.
29427 (mswindows_divider_width): Ask system for user preferred value.
29428 (mswindows_output_vertical_divider): Always output the divider on
29429 the right side of a window, down to bottom.
29430
29431 * keymap.c (get_relevant_keymaps): Route mouse button events which
29432 happened over a window divider through window-divider-map.
29433 (Fkey_binding): Documented that in the docstring.
29434 Defined the variable Vwindow_divider_map.
29435
29436 * events.c (Fevent_over_divider_p): Added this function.
29437
29438 * events.h: EXFUNed it.
29439
29440 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
29441
29442 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
29443 toolbar geometry is suspected to change.
29444
29445 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
29446
29447 * src/device-msw.c
29448 * src/event-msw.c
29449 Condition dnd and dde code on HAVE_DRAGNDROP.
29450
29451 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
29452
29453 * events.c (format_event_object): Print space as SPC etc.
29454
29455 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
29456
29457 * print.c (print_internal): In the default case, abort() if
29458 ERROR_CHECK_TYPECHECK.
29459
29460 * fileio.c (Fmake_temp_name): Doc fix.
29461
29462 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
29463
29464 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
29465
29466 * undo.c (Fprimitive_undo): Fixed typo.
29467
29468 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
29469
29470 * fns.c (concat): Signal error on integer argument.
29471
29472 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
29473
29474 * console.h (device_metrics): Prefixed each constatnt with DM_
29475
29476 * device.c: (Fdevice_system_metric): Renamed so from plural form
29477 (metrics); Changed parameters order and added DEFAULT parameter;
29478 Unabbreviated some metric constants; Fixed and untabified doc string.
29479 (Fdevice_system_metrics): Added. Returns a plist of all provided
29480 metrics.
29481
29482 * device-msw.c (mswindows_device_system_metrics): Renamed
29483 device_metrics enum constants.
29484 Return Qunbound instead of Qnil.
29485
29486 * device-tty.c (tty_device_system_metrics): Ditto.
29487
29488 * device-x.c (x_device_system_metrics): Ditto.
29489
29490 1998-05-10 Andy Piper <andyp@parallax.co.uk>
29491
29492 * redisplay-msw.c: implement background pixmaps (really!). Make
29493 sure bg color is transparent if we have bg pmaps.
29494 * (mswindows_output_string) (mswindows_clear_region): output bg
29495 pmap if required.
29496 * (mswindows_output_dibitmap_region): new function.
29497 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
29498 the bg color rather than transparently.
29499
29500 * toolbar-msw.c: use masks if they exist.
29501
29502 * glyphs-msw.c: set up masks correctly.
29503
29504 * event-msw.c: typedef SOCKET if cygwin and not msg select().
29505
29506 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
29507
29508 * regex.c (re_match_2_internal): Check for quit.
29509
29510 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
29511
29512 * frame.c (Ffocus_frame): New function.
29513
29514 1998-05-06 Oliver Graf <ograf@fga.de>
29515
29516 * Makefile.in.in: removed dragdrop.o from objs
29517 * config.h.in: HAVE_DRAGNDROP added
29518 * emacs.c: do syms_of_dragdrop only if HAVE_DRAGNDROP is defined
29519 * event-Xt.c: dragdrop.h include now depends on HAVE_DRAGNDROP
29520 changed calls to dnd_url_hexify_string
29521 MIME data is now a list of MIME strings or lists
29522 this was required by CDE, and a good idea in any case
29523 * dragdrop.c (dnd_url_hexify_string): method prefix code added
29524 * dragdrop.h: dnd_url_hexify_string prototype changed
29525 * frame-x.c (x_cde_transfer_callback): CDE adapted the new API
29526
29527 1998-05-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
29528
29529 * event-msw.c: now creates misc-user-events on dnd drops
29530
29531 1998-05-05 Oliver Graf <ograf@fga.de>
29532
29533 * events.h: changed comment for misc_user_events
29534 * events.c (make-event): removed dnd_data defs
29535 * frame.c: removed everything referring to drag_and_drop_functions
29536 * frame-x.c (x_cde_transfer_callback): disabled (needs to be changed)
29537 * lisp.h: removed Qdnd_data
29538 * general.c: removed Qdnd_data
29539 * symsinit.h: added syms_of_dragdrop
29540 * frame.el: deleted default-drag-and-drop-functions
29541
29542 1998-05-04 Oliver Graf <ograf@fga.de>
29543
29544 * events.c: removed all dnd_drop stuff
29545 * events.h: extended misc_user_data by button info
29546 removed dnd_drop event
29547 * emacs.c: added call to syms_of_dragdrop
29548 * dragdrop.c: created
29549 * dragdrop.h: created
29550 * event-stream.c (enqueue_misc_user_event): initialization of the
29551 new fields of misc_user_data
29552 dnd_drop stuff removed
29553 * keymap.c: drop symbols removed
29554 * Makefile.in.in: added dragdrop.o to objs
29555
29556 1998-05-09 SL Baur <steve@altair.xemacs.org>
29557
29558 * EmacsFrame.c (EmacsFrameSetValues): Fix typo.
29559 Suggested by: Kirill M. Katsnelson <kkm@kis.ru>
29560
29561 1998-05-09 Kirill M. Katsnelson <kkm@kis.ru>
29562
29563 * This change adds four scrollbar specifiers:
29564 {horizontal,vertical}-scrollbar-visible-p and
29565 scrollbar-on-{top,left}-p.
29566 Spare parts supplied by Didier Verna <didier@xemacs.org>
29567
29568 * frameslots.h: Added slots for the four specifier caching.
29569
29570 * frame.h: FRAME_SCROLLBAR_{WIDTH,HEIGHT} count for scrollbar
29571 visible specifiers.
29572 Removed old resource-only controlled scrollbar_on_* ints.
29573
29574 * frame-x.c (x_layout_widgets): Removed (to x-scrollbar.el)
29575 initialization of old style scrollbar placement from resources.
29576
29577 * frame-tty.c (tty_init_frame_1): Removed initialization of old
29578 style scrollbar placement.
29579
29580 * frame-msw.c (mswindows_init_frame_1): Removed random
29581 initialization of scrollbar sizes to 15 pixel.
29582
29583 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Use
29584 scrollbar placement specifiers cached values from window, instead
29585 of the old per-frame values.
29586 (mswindows_output_vertical_divider): Ditto.
29587
29588 * redisplay-x.c (x_output_vertical_divider): Ditto.
29589
29590 * redisplay-output.c (redisplay_clear_bottom_of_window): Ditto.
29591
29592 * scrollbar.c (update_scrollbar_instance): Ditto.
29593 (specifier_vars_of_scrollbar): Declared the four specifiers.
29594
29595 * window.h (struct window): Defined slots for caching the new
29596 specifiers.
29597
29598 * window.c (mark_window): Mark them.
29599 (allocate_window): Initialize them.
29600 (struct saved_window): Store them in a cool place.
29601 (saved_window_equal): Compare them.
29602 (save_window_save): Save them.
29603 (Fset_window_configuration): Fetch them back.
29604 (window_needs_vertical_divider): Check for scrollbar placement
29605 using window cached specs.
29606 (window_top_gutter_height): Ditto.
29607 (window_bottom_gutter_height): Ditto.
29608 (window_left_gutter_width): Ditto.
29609 (window_right_gutter_width): Ditto.
29610 (window_scrollbar_width): Account for scrollbar visibility
29611 specification in window.
29612 (window_scrollbar_height): Ditto.
29613
29614 1998-04-18 Kirill M. Katsnelson <kkm@kis.ru>
29615
29616 * device.c (Fdevice_system_metrics): Added function.
29617 Moved (device-pixel-height), (device-pixel-width),
29618 (device-mm-width), (device-mm-height), (device-bitplanes),
29619 (device-color-cells) to device.el, amd make them call
29620 (device-system-metrics).
29621
29622 * console.h (struct console_methods): Replaced methods:
29623 device_pixel_width_method(), device_pixel_height_method(),
29624 device_mm_width_method(), device_mm_height_method(),
29625 device_bitplanes_method(), device_color_cells_method()
29626 with single device_system_metrics_method().
29627 (device_metrics): Declared enumeration of supported
29628 device system metrics.
29629
29630 * device-msw.c (mswindows_device_system_metrics): Implement
29631 device_system_metrics_method(), remove six obsolete methods.
29632
29633 * device-tty.c (tty_device_system_metrics): Ditto.
29634
29635 * device-x.c (x_device_system_metrics): Ditto.
29636
29637 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
29638
29639 * EmacsFrame.c (update_various_frame_slots): Do not store internal
29640 border width there.
29641 (EmacsFrameInitialize): Do it rather here.
29642 (EmacsFrameSetValues): If EditRes has changed internal border
29643 width, mark frame size as slipped.
29644
29645 1998-05-06 Kirill M. Katsnelson <kkm@kis.ru>
29646
29647 * frame.h (struct frame): Added char_{width,height} member
29648 variables and access macros
29649 Added size_slipped redisplay bit and mark/clear macros.
29650
29651 * redisplay.c (redisplay_frame): Adjust frame size if size slipped
29652 bit is set.
29653 (redisplay_device): Call redisplay_frame if size slipped bit is set.
29654
29655 * frame.c (adjust_frame_size): Redisplay beats frame back in shape
29656 with this. Added.
29657 (frame_size_slipped): Added.
29658 (internal_set_frame_size): Clear size slipped bit.
29659 (change_frame_size_1): Store real charsize into frame object.
29660 (vars_of_frame): Declared adjust-frame-function.
29661
29662 * frame-msw.c (mswindows_update_frame_external_traits): Same
29663 change as for frame-x.c
29664 (mswindows_frame_size_fixed_p): Implemented the method.
29665
29666 * frame-x.c (x_update_frame_external_traits): Do not call
29667 Fset_frame_size to adjust frame, redisplay will do.
29668
29669 * faces.c (update_EmacsFrame): Mark frame as slipped when default
29670 font changes.
29671
29672 * toolbar.c (compute_frame_toolbars_data): Removed obsoleted call
29673 to change_frame_size. Redisplay will fix it later.
29674 Removed toolbar_*_changed_in_frame specifier
29675 change handlers.
29676 (specifier_vars_of_toolbar): Calls to these routed to
29677 frame_size_slipped generic handler.
29678
29679 * toolbar-x.c: Removed toolbar_*_changed_in_frame device methods.
29680
29681 * scrollbar-x.c: Removed scrollbar_*_changed_in_frame device
29682 methods.
29683
29684 * scrollbar.c: Removed scrollbar_*_changed_in_frame specifier
29685 change handlers.
29686 (specifier_vars_of_scrollbar): Calls to the above changed to
29687 frame_size_slipped generic handler.
29688
29689 * menubar-x.c (x_update_frame_menubar_internal): Do not resize
29690 frame, just mark frame size as slipped.
29691
29692 * device-x.c: Removed declaration of in_specifier_change_function.
29693
29694 * EmacsFrame.c (EmacsFrameSetValues): Do not check
29695 in_specifier_change_function.
29696 (EmacsFrameSetValues): Simulate a call to resize callback when no
29697 actual geometry change happened.
29698
29699 * console.h (struct console_methods): Removed declarations for all
29700 <specifier>_changed_in_frame methods for toolbars and scrollbars.
29701 Added frame_size_fixed_p method.
29702
29703 1998-05-08 SL Baur <steve@altair.xemacs.org>
29704
29705 * redisplay.c (decode_mode_spec): Guard against garbage
29706 overwriting the stack.
29707
29708 1998-05-08 Kirill M. Katsnelson <kkm@kis.ru>
29709
29710 * dired-msw.c (vars_of_dired_mswindows): Syntax fix for union
29711 lisp object type.
29712
29713 * menubar-msw.c (populate_menu_add_item): Ditto.
29714
29715 * ntheap.c (sbrk): Ditto.
29716
29717 * ntproc.c (create_child): Ditto.
29718 (syms_of_ntproc): Ditto.
29719
29720 1998-05-07 Andy Piper <andyp@parallax.co.uk>
29721
29722 * glyphs-msw.c: updates to support total transparency.
29723 (mswindows_initialize_image_instance_icon): don't resize bitmaps
29724 for icons.
29725 (mswindows_initialize_image_instance_mask): new function.
29726 Use these new functions as appropriate.
29727
29728 * glyphs-msw.h (mswindows_initialize_image_instance_icon):
29729 function renamed.
29730
29731 * frame-msw.c: use renamed mswindows_initialize_image_instance_icon.
29732
29733 * redisplay-msw.c: MaskBlt bitmaps if we have a mask, BitBlt
29734 otherwise.
29735
29736 1998-05-07 Kirill M. Katsnelson <kkm@kis.ru>
29737
29738 * unexnt.c (read_in_bss): Removed unused variables, replaced exits
29739 with aborts.
29740 (map_in_heap): Ditto.
29741
29742 1998-05-06 SL Baur <steve@altair.xemacs.org>
29743
29744 * frame.c (adjust_frame_size): Don't mix integers and Lisp_Objects.
29745
29746 1998-05-07 Kirill M. Katsnelson <kkm@kis.ru>
29747
29748 * print.c (write_string_to_stdio_stream): Under MS Windows, flush
29749 stdio and stderr after output. Ouch.
29750
29751 1998-05-05 Andy Piper <andyp@parallax.co.uk>
29752
29753 * event-msw.c: comment out broken dnd stuff and don't use msw socket
29754 support if we have cygwin select.
29755
29756 1998-05-03 Kirill M. Katsnelson <kkm@kis.ru>
29757
29758 * events.h (STREAM_* defines): Defined constants for the parameter
29759 FLAGS to create_stream_pair_cb().
29760
29761 * process.c (Fopen_network_stream_internal): Use flags from events.h
29762 (Fopen_multicast_group_internal): Ditto.
29763
29764 * process-unix.c (unix_create_process): Ditto.
29765
29766 * event-unixoid.c (event_stream_unixoid_create_stream_pair): Ditto.
29767 Changed #ifdef process type logic to catch configuretion errors
29768 when no process type is defined.
29769
29770 * event-msw.c: Implemented winsock_stream
29771 (get_process_input_waitable): Differentiate network connections.
29772 (emacs_mswindows_select_process): Ditto.
29773 (emacs_mswindows_create_stream_pair): Ditto.
29774 (emacs_mswindows_delete_stream_pair): Ditto.
29775
29776 * process-nt.c: Implemented network connections.
29777 (nt_init_process): Initialize Winsock.
29778
29779 * sysdep.c (init_system_name): Ask for the right name right from
29780 the system.
29781
29782 * ntproc.c: Removed select emulation crap and dynamic Windock
29783 loading.
29784
29785 * nt.c: Removed a lot of terrible wrappers for socket functions.
29786
29787 * s/windowsnt.h: Removed sys_select encapsulation.
29788
29789 1998-05-05 Hrvoje Niksic <hniksic@srce.hr>
29790
29791 * search.c (Fmatch_data): Synch with FSF.
29792
29793 1998-05-04 Greg Klanderman <greg@alphatech.com>
29794
29795 * events.h: Add extern declarations for focus_follows_mouse and
29796 investigate_frame_change().
29797 * cmdloop.c (Fcommand_loop_1): cleanup focus-follows-mouse
29798 handling - move externs to events.h.
29799
29800 1998-05-05 Andy Piper <andyp@parallax.co.uk>
29801
29802 * glyphs-msw.c: generate an AND mask when creating an icon and really
29803 make it an icon if that is what is required.
29804
29805 * glyphs-msw.h (mswindows_create_icon_from_image): new cursor
29806 argument.
29807
29808 * frame-msw.c (mswindows_set_frame_pointer): set the frame cursor when
29809 asked.
29810
29811 1998-05-05 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
29812
29813 * s/windowsnt.h:
29814 * s/rtu.h:
29815 * s/aix4.h:
29816 * m/wicat.h:
29817 * m/gould.h:
29818 * m/gould-np1.h
29819 * unexhp9k3.c:
29820 * unexconvex.c:
29821 * unexalpha.c:
29822 * unexaix.c:
29823 * regex.c:
29824 * process-unix.c:
29825 * mule-mcpath.c:
29826 * msdos.c:
29827 * lisp.h:
29828 * gmalloc.c:
29829 * getloadavg.c:
29830 * broken-sun.h:
29831 Removed references to ancient bcmp, bzero, and bcopy.
29832
29833 1998-05-04 Andy Piper <andyp@parallax.co.uk>
29834
29835 * gui.el: make gui-button-face colors apply in the mswindows
29836 domain as well as for x.
29837
29838 * objects-msw.c (mswindows_string_to_color): grok
29839 rgb:rrrr/gggg/bbbb color formats used by xpm-button.el.
29840
29841 1998-05-04 Greg Klanderman <greg@alphatech.com>
29842
29843 * window.c (Fselect_window): Add optional second argument
29844 `norecord' to avoid recording a buffer change.
29845 * window.h: change the EXFUN for Fselect_window.
29846 * window.c (Fdelete_window): call Fselect_window with 2nd arg Qnil.
29847 (Fother_window): ditto.
29848 (temp_output_buffer_show): ditto.
29849 (Fset_window_configuration): ditto.
29850 (Fset_window_configuration): ditto.
29851 * frame.c (Fselect_frame): ditto.
29852 (Fset_frame_selected_window): ditto.
29853 (delete_frame_internal): ditto.
29854 * device.c (Fselect_device): ditto.
29855 * console.c (Fselect_console): ditto.
29856 * callint.c (Fcall_interactively): ditto.
29857
29858 1998-05-05 Hrvoje Niksic <hniksic@srce.hr>
29859
29860 * search.c (Fregexp_quote): Loop by characters, not by bytes.
29861
29862 1998-05-05 Jan Vroonhof <vroonhof@math.ethz.ch>
29863
29864 * redisplay.c (window_line_number): Guard against selected_device
29865 = nil.
29866
29867 * frame-x.c (x_init_frame_2): Revert to updating frame title.
29868
29869 1998-05-05 SL Baur <steve@altair.xemacs.org>
29870
29871 * emacs.c (shut_down_emacs): Update crash report information.
29872
29873 1998-05-04 Kyle Jones <kyle_jones@wonderworks.com>
29874
29875 * linuxplay.c: Initialize audio_dev to /dev/dsp at
29876 compile time instead of at run-time. Don't initialize
29877 mixer_fd, audio_fd and audio_vol to -1; none of them need
29878 it, and XEmacs will crash on some architectures when
29879 these variable are modified after being initialized.
29880 Declare audio_dev, audio_vol, audio_fd, and mixer_fd as
29881 static, since none of them need to be visible outside
29882 linuxplay.c.
29883
29884 1998-04-27 Hrvoje Niksic <hniksic@srce.hr>
29885
29886 * eldap.c (make_ldap): New function.
29887 (finalize_ldap): Use it.
29888 (Fldap_open): Ditto.
29889
29890 * eldap.c (struct Lisp_LDAP): Removed connection status symbol.
29891
29892 * eldap.h (LDAP_LIVE_P): Removed
29893 (CHECK_LIVE_LDAP): Adapt to changes in struct Lisp_LDAP
29894
29895 1998-05-03 Hrvoje Niksic <hniksic@srce.hr>
29896
29897 * lread.c: (read_escape): Restore handling of \M-a; clarify
29898 comment.
29899
29900 1998-05-04 Kyle Jones <kyle_jones@wonderworks.com>
29901
29902 * realpath.c: Rename realpath() to xrealpath().
29903
29904 * fileio.c: Call xrealpath() instead of realpath().
29905
29906 * sysdep.h: Use #define to map xrealpath() calls to
29907 realpath() on systems that have realpath().
29908
29909 1998-05-04 Martin Buchholz <martin@xemacs.org>
29910
29911 * rangetab.c:
29912 * rangetab.h: Move #include's from rangetab.h into rangetab.c for
29913 consistency.
29914 * inline.c: include rangetab.h to get GCC inlines
29915
29916 1998-05-03 SL Baur <steve@altair.xemacs.org>
29917
29918 * event-stream.c (event_stream_next_event): Reverse previous patch to
29919 slow down poll for quit.
29920 Suggested by Kyle Jones <kyle_jones@wonderworks.com>
29921
29922 * lread.c (read_escape): Turn off interpretation of "\M..."
29923 Suggested by Olivier Galibert <galibert@pobox.com>
29924
29925 * lread.c (read_escape): add explanatory comment about why
29926 FSF_KEYS are being turned off.
29927
29928 1998-05-02 SL Baur <steve@altair.xemacs.org>
29929
29930 * lread.c (FSF_KEYS): Remove if built with Mule.
29931
29932 1998-05-01 Kirill M. Katsnelson <kkm@kis.ru>
29933
29934 * event-msw.c (ntpipe_shove_flusher): Removed.
29935 (init_shove_stream): Flusher undeclared.
29936
29937 1998-05-02 SL Baur <steve@altair.xemacs.org>
29938
29939 * rangetab.c: `default_dumped' removed.
29940
29941 1998-05-02 Hrvoje Niksic <hniksic@srce.hr>
29942
29943 * events.c (Fmake_event): Initialize key data for key-press
29944 events.
29945
29946 1998-05-02 Hrvoje Niksic <hniksic@srce.hr>
29947
29948 * fileio.c (close_stream_unwind): Renamed to delete_stream_unwind.
29949 Delete the stream.
29950 (Finsert_file_contents_internal): Delete STREAM after use.
29951 (Fmake_temp_name): Improve randomness of generated file names.
29952 (Fmake_temp_name): Don't initialize COUNT if in temacs.
29953
29954 1998-05-02 Olivier Galibert <galibert@pobox.com>
29955
29956 * buffer.h: Put the range_table lrecrod declaration where it
29957 belongs...
29958
29959 * rangetab.h: New file - ...which is here.
29960
29961 * rangetab.c: Move declarations to rangetab.h
29962
29963 1998-05-01 Hrvoje Niksic <hniksic@srce.hr>
29964
29965 * data.c (Fneq): Fix docstring.
29966 (arithcompare_many): Slightly simplify.
29967
29968 1998-04-29 Andy Piper <andyp@parallax.co.uk>
29969
29970 * s/cygwin32.h: don't define BROKEN_CYGWIN anymore since we normally
29971 link with unixoid event loop now.
29972
29973 1998-05-01 Kirill M. Katsnelson <kkm@kis.ru>
29974
29975 * event-stream.c (event_stream_next_event): Disable polling for
29976 quit while XEmacs is blocked waiting for an event.
29977
29978 1998-05-01 Kirill M. Katsnelson <kkm@kis.ru>
29979
29980 * specifier.h: Corrected documentation on magic specifiers.
29981 Documented DEPTH parameter to instantiate_method.
29982 Renamed reveal->unlock_ghost_specifiers_protected().
29983
29984 * specifier.c: Removed the reveal mechanism and made ghost
29985 specifiers read-only, so they are accessible as fallbacks of magic
29986 specifier, but aren't modifiable unless C code enables so.
29987 (specifier_equal): Compare specifier fallbacks as well.
29988
29989 * scrollbar.c (init_frame_scrollbars):
29990 (init_device_scrollbars):
29991 (init_global_scrollbars): Renamed
29992 reveal->unlock_ghost_specifiers_protected().
29993
29994 1998-05-01 Hrvoje Niksic <hniksic@srce.hr>
29995
29996 * fileio.c (Fcar_less_than_car): Fix Flss caller.
29997 (Fcdr_less_than_cdr): Ditto.
29998
29999 * lisp.h: Fix declarations.
30000
30001 * data.c: Enable many arguments versions of <, >, <=, >= and /=.
30002
30003 * bytecode.c (Fbyte_code): Use arithcompare.
30004
30005 * data.c (arithcompare): Make non-static.
30006
30007 1998-04-30 Greg Klanderman <greg@alphatech.com>
30008
30009 * frame.c (Fselect_frame): update docstring to describe
30010 focus-follows-mouse behavior.
30011
30012 1998-05-01 Hrvoje Niksic <hniksic@srce.hr>
30013
30014 * print.c (Fwrite_char): Don't touch Vprint_gensym.
30015 (print_error_message): Don't gcpro TAIL.
30016 (Fdisplay_error): Simplify.
30017
30018 1998-04-30 Hrvoje Niksic <hniksic@srce.hr>
30019
30020 * print.c (print_internal): Use long_to_string().
30021
30022 * redisplay.c (decode_mode_spec): Remove bogus calculation of the
30023 number of digits.
30024
30025 * print.c (Fprin1): Removed THE_STREAM.
30026 (Fprinc): Ditto.
30027 (Fprint): Ditto.
30028 (Fdisplay_error): Canonicalize STREAM here.
30029 (print_error_message): Don't canonicalize STREAM.
30030 (print_error_message): Use print_internal() instead of Fprin1 and
30031 Fprinc.
30032
30033 * print.c: (Fprin1_to_string): Delete internal stream explicitly.
30034 (Ferror_message_string): Ditto.
30035 (Fterpri): Use write_char_internal.
30036
30037 1998-04-18 Martin Buchholz <martin@xemacs.org>
30038
30039 * console-x.h: Initialize_Locale should not depend on HAVE_XIM,
30040 esp. in the future.
30041
30042 * Makefile.in.in: be more careful generating depend.
30043
30044 * *.c (F*): Unfortunately, etags can only detect per-line
30045 patterns, and so the DEFUN macro must have the lisp name and the C
30046 name on the same line for a complete TAGS file. Make it so.
30047
30048 * signal.c (init_signals_very_early):
30049 * process.c (Fsignal_process): Order the signals in decreasing
30050 order of standardization. Provide helpful standardization
30051 comments. Add missing signal names.
30052
30053 * unexhp9k800.c: Remove undefined roundup.
30054 * symsinit.h: Add prototype for init_hpplay().
30055
30056 1998-04-30 Hrvoje Niksic <hniksic@srce.hr>
30057
30058 * window.c (Fcenter_to_window_line): New function.
30059 (Frecenter): Use it.
30060
30061 1998-04-30 Hrvoje Niksic <hniksic@srce.hr>
30062
30063 * dired.c (make_directory_hash_table): Constify.
30064
30065 * scrollbar.c (Fscrollbar_page_up): Use Fcenter_to_window_line
30066 instead of Frecenter.
30067 (Fscrollbar_page_down): Ditto.
30068 (Fscrollbar_to_top): Ditto.
30069 (Fscrollbar_to_bottom): Ditto.
30070
30071 * window.c (Frecenter): Removed.
30072
30073 1998-04-29 Andy Piper <andyp@parallax.co.uk>
30074
30075 * console.h: xpm_normalize is not a console method anymore.
30076
30077 * event-msw.c: honour toolbar help string length.
30078
30079 * glyphs-msw.c: make copyright more meaningful. implement color
30080 symbol support for Xpm. (extract_xpm_color_symbols) new function.
30081
30082 * glyphs.c (pixmap_to_lisp_data) (xpm_normalize): fucntions moved
30083 from glyphs-x.c
30084
30085 * glyphs.h: declare pixmap_to_lisp_data.
30086
30087 * toolbar-msw.c: more meaningful copyright.
30088
30089 1998-04-30 Hrvoje Niksic <hniksic@srce.hr>
30090
30091 * macros.c (Fend_kbd_macro): New arg REMOVE-LAST.
30092
30093 * gui-x.c (popup_selection_callback): Treat anonymous interactive
30094 and compiled-function interactive callbacks as commands.
30095
30096 1998-04-28 Hrvoje Niksic <hniksic@srce.hr>
30097
30098 * abbrev.c (obarray_has_blank_p): Simplify.
30099
30100 1998-04-27 Hrvoje Niksic <hniksic@srce.hr>
30101
30102 * getloadavg.c (getloadavg): Removed some code repetition.
30103
30104 1998-05-01 Kirill M. Katsnelson <kkm@kis.ru>
30105
30106 * process-nt.c: Document usage of #pragma warning.
30107 (alloc_process_memory): Spell _ALPHA_ correctly.
30108
30109 1998-04-29 SL Baur <steve@altair.xemacs.org>
30110
30111 * Makefile.in.in: Change `progname' to `PROGNAME' for
30112 consistency.
30113
30114 1998-04-29 Kirill M. Katsnelson <kkm@kis.ru>
30115
30116 * frame.c (change_frame_size_1): Adjust frame row/columns taking
30117 real toolbar size into account, not the theoretical one.
30118
30119 * toolbar.c (set_frame_toolbar): Removed unused parameter.
30120 Return void, not unused int.
30121 Logic which checks whether toolbar to be recomputed moved here
30122 from macro COMPUTE_TOOLBAR_DATA (r.i.p)
30123 (compute_frame_toolbars_data): Removed COMPUTE_TOOLBAR_DATA. It
30124 did not work due to a bug, and also did not check whether toolbar
30125 size has changed.
30126 Compute new character sizes passed to change_frame_size, do not
30127 use the old (pre-toolbar-change) ones.
30128 (update_frame_toolbars): Honor frame_changed and clear frame bits.
30129 (recompute_overlaying_specifier): New helper function, called from
30130 default toolbar specifier change handlers.
30131 (default_toolbar_specs_changed): Use it.
30132 (default_toolbar_size_changed_in_frame): Ditto.
30133 (default_toolbar_border_width_changed_in_frame): Ditto.
30134 (default_toolbar_visible_p_changed_in_frame): Ditto.
30135 (toolbar_geometry_changed_in_window): New handler. The old one,
30136 some_windows_value_changed, did not do the trick.
30137 (default_toolbar_size_changed_in_window): New handler for default
30138 toolbar.
30139 (default_toolbar_border_width_changed_in_window): Ditto.
30140 (default_toolbar_visible_p_changed_in_window): Ditto.
30141 (specifier_vars_of_toolbar): Use one of the above four handlers
30142 instead of some_windows_value_changed in toolbar specifiers.
30143
30144 1998-04-29 Andy Piper <andyp@parallax.co.uk>
30145
30146 * redisplay-msw.c (mswindows_output_string)
30147 (mswindows_output_string): output the background pixmap if we have
30148 one.
30149
30150 1998-04-28 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
30151
30152 * paths.h.in: Added PATH_PROGNAME and PATH_VERSION.
30153
30154 1998-04-28 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
30155
30156 * emacs.c (complex_vars_of_emacs): Added `emacs-program-name' and
30157 `emacs-program-version'.
30158
30159 1998-04-29 Kirill M. Katsnelson <kkm@kis.ru>
30160
30161 * process-nt.c: Signal support for Windows NT.
30162 New code under subheadings "Running remote threads" and "Sending
30163 signals".
30164 (nt_create_process): Create new process suspended, then enable
30165 signals in it, then resume it.
30166 (nt_kill_child_process): Implemented
30167 (nt_kill_process_by_pid): Ditto.
30168 (process_type_create_nt): Registered the two above.
30169
30170 1998-04-28 P. E. Jareth Hein <jareth@camelot-soft.com>
30171
30172 * glyphs-x.c : slight cleanup and bugfix related to memory
30173 corruption and possible leaks. Also fix a visual problem
30174 with XPM pointers
30175
30176 1998-04-28 P. E. Jareth Hein <jareth@camelot-soft.com>
30177
30178 * glyphs-x.c (x_init_image_instance_from_eimage): Make sure
30179 automatic pointers are null...
30180
30181 1998-04-27 Greg Klanderman <greg@alphatech.com>
30182
30183 * cmdloop.c (Fcommand_loop_1): Call investigate_frame_change if
30184 focus_follows_mouse is true.
30185
30186 * event-stream.c (next_event_internal): Only call
30187 investigate_frame_change if focus_follows_mouse is false.
30188
30189 * event-stream.c (investigate_frame_change): Fix
30190 focus_follows_mouse handling. It was the case that, with
30191 focus_follows_mouse true, (select-frame (next-frame)) could leave
30192 next-frame with input focus, but not window manager focus. Now
30193 needs to be called from 2 places, conditional on the value of
30194 focus_follows_mouse.
30195
30196 1998-04-24 Kirill M. Katsnelson <kkm@kis.ru>
30197
30198 * frame.c (Fmake_frame): GC-protect new frame immediately upon
30199 creation.
30200
30201 1998-04-27 Kirill M. Katsnelson <kkm@kis.ru>
30202
30203 * frame.c (delete_frame_internal): Fixed spurious minibuffer
30204 frames when creating minibufferless frames (reverted to 20.3
30205 source, change not in ChangeLog)
30206
30207 1998-04-26 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
30208
30209 * eldap.h: Added CONCHECK_LDAP macro
30210
30211 * eldap.c: Moved definition of most Lisp_object keywords to
30212 general.c
30213 (Fldap_close): Modified semantics to match those of
30214 `Fclose_database'
30215 (Fldap_search_internal): Do not consider a
30216 `LDAP_SIZELIMIT_EXCEEDED' a fatal error
30217
30218 * general.c: Added several keywords needed by eldap.c. Sorted
30219 keywords alphabetically.
30220
30221 1998-04-24 Hrvoje Niksic <hniksic@srce.hr>
30222
30223 * eldap.c (finalize_ldap): New function; use it when declaring
30224 LDAP lrecord type.
30225
30226 1998-04-27 Kirill M. Katsnelson <kkm@kis.ru>
30227
30228 * fileio.c (Fwrite_file_contents_internal): Prefer stat() over
30229 fstat() back for Windows, where closing a file changes its
30230 modification time.
30231
30232 1998-04-26 Amir J. Katz <amir@ndsoft.com>
30233
30234 * sysdep.h: Simplified definition of strerror()
30235
30236 Sun Apr 23 1998 Andy Piper <andyp@parallax.co.uk>
30237
30238 * emacs.c:
30239 * symsinit.h:
30240 * glyphs-eimage.c: rename glyphs_read to glyphs_eimage.
30241
30242 * glyphs.c:
30243 * console.h:
30244 * glyphs-x.c:
30245 * glyphx-msw.c: make xpm_normalize and xpm_instantiate device
30246 methods and use them appropriately. Remove redundant pixmap file
30247 handling functions.
30248
30249 Sun Apr 23 1998 Andy Piper <andyp@parallax.co.uk>
30250
30251 * glyphs-msw.c: use XINT for lisp ints.
30252
30253 * console-msw.c: remove redundant functions that break under union
30254 type.
30255
30256 * frame-msw.c: build lisp ints for functions that expect them.
30257
30258 * objects-msw.c: don't LISP_HASH COLORREF's.
30259
30260 * sheap.c: remove dependency on VALMASK.
30261
30262 1998-04-27 SL Baur <steve@altair.xemacs.org>
30263
30264 * debug.c (vars_of_debug): Remove `Fprovide("internal-debug")'.
30265
30266 1998-04-27 Jonathan Harris <jhar@tardis.ed.ac.uk>
30267
30268 * device-msw.c: Unconditionally use InitCommonControls() instead
30269 of InitcommonControlsEx() - the latter is not defined in all
30270 environments.
30271
30272 1998-04-26 SL Baur <steve@altair.xemacs.org>
30273
30274 * Makefile.in.in: Religiously use ${progname}.
30275
30276 * paths.h.in: Remove reference to user-defined site-lisp location.
30277 * debug.c (vars_of_debug): Rename feature to 'internal-debug.
30278
30279 1998-04-24 Martin Buchholz <martin@xemacs.org>
30280
30281 * mule-charset.h:
30282 * mule-charset.c:
30283 Use ints instead of bitfields for Lisp_Charset fields. This
30284 should work around bugs in the latest egcs snapshot, and make
30285 XEmacs faster. Introduce dimension and chars as fields in
30286 Lisp_Charset instead of computing them every time. The extra
30287 space is about 1k, a reasonable price.
30288
30289 1998-04-25 SL Baur <steve@altair.xemacs.org>
30290
30291 * glyphs-x.c (xface_normalize): Add console_type parameters to
30292 calls to `potential_pixmap_file_instantiator'.
30293
30294 Sat Apr 24 1998 Andy Piper <andyp@parallax.co.uk>
30295
30296 * event-msw.c: fix and enable signal pipe handling when using msg
30297 select().
30298
30299 1998-04-25 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
30300
30301 * process-unix.c (allocate_pty): Typo fix.
30302
30303 1998-04-25 Olivier Galibert <galibert@pobox.com>
30304
30305 * s/irix5-0.h (PTY_OPEN): Ditto
30306 * s/irix4-0.h (PTY_OPEN): Restore the stb variable.
30307
30308 1998-04-25 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
30309
30310 * emacs.c (complex_vars_of_emacs): Typo fixes.
30311
30312 * emacs.c: Added configure-exec-prefix-directory.
30313
30314 * paths.h.in: Added PATH_EXEC_PREFIX.
30315
30316 1998-04-25 Olivier Galibert <galibert@pobox.com>
30317
30318 * unexelfsgi.c (unexec): Kludge for Irix 5.3 which clears the
30319 .sbss section no matter what. Defensively remove the alignment fix
30320 if the .sbss section type isn't modified (Irix 6.5SE). Remove some
30321 warnings.
30322
30323 1998-04-24 Martin Buchholz <martin@xemacs.org>
30324
30325 * data.c (Fnot): There has traditionally been kludgy startup lisp
30326 code that called `null' even if `not' was more appropriate,
30327 because `not' was defined in lisp. This is one primitive
30328 sufficiently important that it should ALWAYS be defined.
30329
30330 Sat Apr 24 1998 Andy Piper <andyp@parallax.co.uk>
30331
30332 * Makefile.in.in: add glyphs-eimage.o to build.
30333
30334 * console.h: added console methods init_image_instance_from_eimage
30335 and locate_pixmap_file.
30336
30337 * emacs.c: add initialisation for glyphs-eimage.c
30338
30339 * symsinit.h: declare glyphs-eimage functions.
30340
30341 * glyphs-eimage.c: New file - generalised eimage support for gif,
30342 tiff, png and jpeg, mainly from glyphs-x.c.
30343
30344 * glyphs-msw.c: added init_image_instance_from_eimage. Tidied up
30345 file location.
30346
30347 * glyphs-x.c: disable gif, tiff, png and jpeg support in this
30348 file. Added init_image_instance_from_eimage. Tidied up file
30349 location.
30350
30351 * glyphs.h:
30352 * glyphs.c: abstract image location.
30353
30354 Fri Apr 24 19:38:19 1998 Andy Piper <andyp@parallax.co.uk>
30355
30356 * config.h.in: support our special select
30357
30358 * event-msw.c:
30359 * toolbar-msw.c:
30360 * console-msw.h: toolbar cleanup.
30361
30362 * device-msw.c:
30363 * emacs.c:
30364 * frame-msw.c:
30365 * glyphs-msw.h:
30366 * ntplay.c:
30367 * process-unix.c:
30368 * select-msw.c:
30369 * sheap.c:
30370 * s/cygwin32.h: warning elimination.
30371
30372 1998-04-24 Hrvoje Niksic <hniksic@srce.hr>
30373
30374 * fns.c (Fload_average): New argument USE_FLOATS.
30375
30376 * alloc.c (Fstring): New function, synched with FSF 20.3.
30377
30378 Thu Apr 23 19:38:19 1998 Andy Piper <andyp@parallax.co.uk>
30379
30380 * unexcw.c: cope with the reversed executable sections written by
30381 binutils-2.9 ld and egcs.
30382
30383 1998-04-24 Kirill M. Katsnelson <kkm@kis.ru>
30384
30385 * menubar-msw.c (populate_or_checksum_helper): Fixed to compile
30386 with union type.
30387
30388 1998-04-23 Hrvoje Niksic <hniksic@srce.hr>
30389
30390 * fns.c (Fload_average): Respect errno when reporting getloadavg()
30391 errors.
30392
30393 * getloadavg.c (getloadavg): Cleaner Solaris implementation, based
30394 on sample code by Casper Dik.
30395
30396 1998-04-23 SL Baur <steve@altair.xemacs.org>
30397
30398 * frame-x.c (x_delete_frame): remove dead code.
30399
30400 1998-04-22 SL Baur <steve@altair.xemacs.org>
30401
30402 * print.c (Falternate_debugging_output): Unconditionally define.
30403
30404 1998-04-22 Hrvoje Niksic <hniksic@srce.hr>
30405
30406 * eval.c: Ditto.
30407
30408 * alloc.c: Ditto.
30409
30410 * lread.c: Ditto.
30411
30412 * print.c: Removed standalone hacks.
30413
30414 1998-04-23 Kirill M. Katsnelson <kkm@kis.ru>
30415
30416 * toolbar-msw.c (mswindows_clear_toolbar): Fixed wabbit buttons.
30417 (mswindows_output_toolbar): Gave 3D look to toolbars. Still no
30418 pretty, needs more work.
30419 (mswindows_move_toolbar): Renamed so because it does not deal with
30420 redrawing exposed toolbars.
30421 Properly position toolbars.
30422 (mswindows_redraw_exposed_toolbars): Changed calls to the above.
30423 (mswindows_find_toolbar_pos): Do not assert if toolbar not
30424 found: a command can come from a menu.
30425 (mswindows_handle_toolbar_wm_command): Quickly return nil if
30426 toolbar not found.
30427
30428 1998-04-22 Kirill M. Katsnelson <kkm@kis.ru>
30429
30430 * device-msw.c (tagINITCOMMONCONTROLSEX): Uniform declaration
30431 between SDK and cygwin.
30432 (mswindows_init_device): InitCommonControls ->
30433 InitCommonControlsEx typo fix.
30434
30435 Wed Apr 22 12:59:35 1998 Andy Piper <andyp@parallax.co.uk>
30436
30437 * glyphs-msw.c (EImage2DIBitmap): count the number of bytes correctly.
30438
30439 Wed Apr 22 12:59:35 1998 Andy Piper <andyp@parallax.co.uk>
30440
30441 * config.h.in: support for HAVE_MSG_SELECT.
30442
30443 * console-msw.h: add support for four toolbars.
30444
30445 * device-msw.c: init common controls.
30446
30447 * event-msw.c: if HAVE_MSG_SELECT is defined use unixoid event
30448 stream tye callbacks and select() on events rather than MWFMO.
30449 Added event handling for tooltip messages. If you have this
30450 special select then all process support works under cygwin.
30451
30452 * frame-msw.c: add support for four toolbars.
30453
30454 * redisplay-msw.c: update toolbars when an area is exposed.
30455
30456 * signal.c: _WIN32 -> WINDOWSNT.
30457
30458 * event-stream.c: enable unixoid initialization if we have it.
30459
30460 * event-unixoid.c: allow us to turn off the signal pipe.
30461
30462 * toolbar-msw.c: major overhaul. Enable support for all four
30463 toolbars, fix display and sizing problems, enable tooltip support,
30464 be more optimal about deleting toolbars.
30465
30466 * toolbar.h: reinstate 0 toolbar border width for msw.
30467
30468 * s/cygwin32.h: minor define updates.
30469
30470 1998-04-22 Hrvoje Niksic <hniksic@srce.hr>
30471
30472 * print.c (Falternate_debugging_output): Define only if
30473 DEBUG_XEMACS.
30474
30475 1998-04-21 Hrvoje Niksic <hniksic@srce.hr>
30476
30477 * fileio.c (Fmake_temp_name): Updated docstring.
30478
30479 1998-04-21 Hrvoje Niksic <hniksic@srce.hr>
30480
30481 * print.c (print_prepare): New argument FRAME_KLUDGE.
30482 (print_prepare): If writing to a frame, return a resizing buffer
30483 stream.
30484 (print_finish): Flush the stream.
30485 (Fprin1): Adjust calls to print_prepare() and print_finish().
30486 (Fprinc): Ditto.
30487 (Fprint): Ditto.
30488 (print_internal): Optimize printing of characters.
30489
30490 * print.c (RESET_PRINT_GENSYM): New macro.
30491 (print_prepare): Use it.
30492 (print_finish): Ditto.
30493 (Fwrite_char): Ditto.
30494 (Fprin1_to_string): Ditto.
30495
30496 1998-04-22 SL Baur <steve@altair.xemacs.org>
30497
30498 * config.h.in: add FOR_MSW variable.
30499 From Itay Ben-Yaacov <pezz@www-mail.huji.ac.il>
30500
30501 1998-04-20 Kirill M. Katsnelson <kkm@kis.ru>
30502
30503 * alloc.c (report_pure_usage): Remove ifdef WINDOWSNT around
30504 "Don't panic, I will restart make".
30505
30506 1998-04-19 Kirill M. Katsnelson <kkm@kis.ru>
30507
30508 * process.c (vars_of_process): Declared lisp variable
30509 windowed-process-io.
30510
30511 * procimpl.h: Externally declared it.
30512
30513 * process-nt.c (nt_create_process): Changed to honor the above
30514 variable, and to utilize SHGetFileInfo to determine file type.
30515
30516 1998-04-21 Martin Buchholz <martin@xemacs.org>
30517
30518 * mule-ccl.c: Fix compiler warnings. I hate compiler warnings.
30519 The code is clearer anyways without macros that goto.
30520
30521 1998-04-22 SL Baur <steve@altair.xemacs.org>
30522
30523 * glyphs.h: Add prototypes for signal_image_error and
30524 signal_image_error_2.
30525 Suggested by Hrvoje Niksic <hniksic@srce.hr>
30526
30527 1998-04-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
30528
30529 * fileio.c: Changed `directory-sep-char' to `path-separator',
30530 following a change in GNU Emacs.
30531
30532 1998-04-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
30533
30534 * eldap.c: As suggested by Hrvoje Niksic
30535 (Fldap_search_internal): Loop and GCPRO cleanup
30536 (print_ldap): Removed text translation
30537
30538 1998-04-19 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
30539
30540 * eldap.c: (print_ldap): Ignore escapeflag
30541 (Fldap_search_internal): Added unwind protection to appropriately
30542 free the LDAP temporary structures in case of interruption. Added
30543 a QUIT to the result fetching loop.
30544
30545 1998-04-19 SL Baur <steve@altair.xemacs.org>
30546
30547 * emacs.c (TopLevel): New variables: Vinfodock_major_version,
30548 Vinfodock_minor_version, Vinfodock_build_version.
30549 (vars_of_emacs): Initialize them.
30550
30551 * config.h.in: Add InfoDock version numbers.
30552
30553 * device-x.c (have_xemacs_resources_in_xrdb): distinguish whether
30554 we're running as InfoDock or XEmacs.
30555
30556 1998-04-18 SL Baur <steve@altair.xemacs.org>
30557
30558 * glyphs-x.c: Remove definition of Q_color_symbols.
30559
30560 * glyphs.h: Declare Q_color_symbols and evaluate_xpm_color_symbols.
30561
30562 1998-04-17 Jonathan Harris <jhar@tardis.ed.ac.uk>
30563
30564 * console-msw.h:
30565 Added "commctrl.h" and "X11/xpm.h" includes to support toolbars
30566 and XPM.
30567
30568 * glyphs-msw.c:
30569 Removed (!NILP (Vmswindows_bitmap_file_path)) check in
30570 locate_pixmap_file() so that lookups of absolute paths don't fail
30571 if this is unset.
30572 Added new mswindows_xpm_normalize();
30573
30574 * glyphs.h:
30575 * glyphs.c:
30576 * glyphs-x.c:
30577 Moved generic XPM support out of glyphs-x.c into glyphs.c.
30578 Functions moved:
30579 signal_image_error, signal_image_error_2,
30580 check_valid_xpm_color_symbols, evaluate_xpm_color_symbols,
30581 xpm_possible_dest_types.
30582 xpm_normalize and xpm_instantiate in glyphs.c just call the
30583 appropriate x_ or mswindows_ funtion in glyphs-x.c or
30584 glyphs-msw.c.
30585
30586 * toolbar-msw.c:
30587 Don't assert on empty toolbar.
30588
30589 * toolbar.c:
30590 * toolbar.h:
30591 Adjusted mswindows default toolbar height/widths so redisplay is
30592 correct.
30593
30594 1998-04-18 Hrvoje Niksic <hniksic@srce.hr>
30595
30596 * tooltalk.c (tt_message_arg_ival_string): Ditto.
30597
30598 * redisplay.c (window_line_number): Ditto.
30599 (decode_mode_spec): Ditto.
30600
30601 * glyphs.c (print_image_instance): Ditto.
30602
30603 * doprnt.c (emacs_doprnt_1): Ditto.
30604
30605 * data.c (Fnumber_to_string): Use long_to_string().
30606
30607 * lisp.h: Declare long_to_string().
30608
30609 * print.c (Fprin1_to_string): Do the Vprint_gensym_alist stunt.
30610
30611 * emacs.c (main_1): Don't create print stream.
30612
30613 * print.c: Removed print_stream implementation.
30614 (print_prepare): Don't create a print_stream.
30615 (long_to_string): New function, from GNU Wget.
30616 (print_internal): Use it.
30617 (output_string): alloca() copies only for strings smaller than
30618 65536 bytes; else, inhibit gc.
30619
30620 1998-04-18 Hrvoje Niksic <hniksic@srce.hr>
30621
30622 * config.h.in: Check for DLERROR.
30623
30624 * sysdll.c: Cosmetic changes.
30625
30626 1998-04-18 Hrvoje Niksic <hniksic@srce.hr>
30627
30628 * sysdll.c (dll_error): It's `dlerror', not `dl_error'.
30629
30630 1998-04-17 Kirill M. Katsnelson <kkm@kis.ru>
30631
30632 * specifier.c (prune_specifiers): Fix for Vall_specifiers
30633 corruption.
30634
30635 * specifier.h: Fixed GC_* macros to utilize GC_EQ, as suggested by
30636 Steve.
30637
30638 1998-04-17 Hrvoje Niksic <hniksic@srce.hr>
30639
30640 * dll.c (Fdll_open): Simplify interface.
30641
30642 * sysdll.c: Allocate BUF dynamically.
30643
30644 * cmds.c (internal_self_insert): Removed `no-self-insert' hack.
30645
30646 Fri Apr 17 12:59:35 1998 Andy Piper <andyp@parallax.co.uk>
30647
30648 * event-msw.c: don't use LocalAlloc()/LocalFree(). With unix
30649 processes use a filestream for output. This makes subprocess
30650 support work under cygwin.
30651
30652 1998-04-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
30653
30654 * fileio.c (vars_of_fileio): Resurreced directory-sep-char to be
30655 DIRECTORY_SEP instead of hardwired "/".
30656
30657 1998-04-16 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
30658
30659 * fileio.c (file_name_as_directory): Now returns "./" (or NT
30660 equivalent) for "".
30661
30662 1998-04-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
30663
30664 * eldap.c: Fully rewritten introducing a new opaque LDAP Lisp
30665 data type.
30666
30667 * eldap.h: Ditto
30668
30669 1998-04-17 Olivier Galibert <galibert@pobox.com>
30670
30671 * fileio.c (vars_of_fileio): Finish directory_sep_char removal.
30672
30673 1998-04-14 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
30674
30675 * emacs.c (main_1): Added option --debug-paths and analogous
30676 variable.
30677
30678 1998-04-15 Hrvoje Niksic <hniksic@srce.hr>
30679
30680 * frame-msw.c (Vmswindows_frame_being_created): Don't staticpro.
30681
30682 * console-msw.h, event-msw.c, frame-msw.c: Renamed
30683 mswindows_frame_being_created to Vmswindows_frame_being_created.
30684
30685 1998-04-12 Kirill M. Katsnelson <kkm@kis.ru>
30686
30687 * event-msw.c (emacs_mswindows_quit_p): Do not check for quit
30688 character in modal loop.
30689
30690 * fileio.c: Removed Vdirectory_sep_char variable.
30691
30692 * lisp.h: Removed extern decl for the above.
30693
30694 1998-04-16 SL Baur <steve@altair.xemacs.org>
30695
30696 * indent.c (vertical_motion_1): set_marker_restricted takes
30697 Lisp_Objects.
30698
30699 1998-04-17 Hrvoje Niksic <hniksic@srce.hr>
30700
30701 * md5.c (Fmd5): Correctly rename argument.
30702
30703 * print.c (Fprin1_to_string): Remove useless variable.
30704
30705 1998-04-13 Greg Klanderman <greg@alphatech.com>
30706
30707 * indent.c (vertical_motion_1): new helper function to share
30708 common code between Fvertical_motion and Fvertical_motion_pixels.
30709 Properly handle the WINDOW argument as the doc string indicates it
30710 should. Update docstrings to be more clear and concise.
30711 (Fvertical_motion): use vertical_motion_1.
30712 (Fvertical_motion_pixels): use vertical_motion_1.
30713
30714 1998-04-15 Kirill M. Katsnelson <kkm@kis.ru>
30715
30716 * specifier.h: Introduced magic specifiers. Please read comments
30717 in specifier.h.
30718
30719 * specifier.c: Reworked many functions to support magic
30720 specifiers.
30721
30722 * scrollbar.c (specifier_vars_of_scrollbar): Made magic specifiers
30723 Vscrollbar_width and Vscrollbar_height.
30724 (init_frame_scrollbars): Enabled critical lisp code operate on
30725 ghost specifiers.
30726 (init_device_scrollbars): Ditto.
30727 (init_global_scrollbars): Ditto.
30728
30729 * scrollbar-msw.c (Fmswindows_init_scrollbar_metrics): Scrollbar
30730 init function, called from init-scrollbars-from-resuorce in
30731 lisp/scrollbar.c
30732 (syms_of_scrollbar_mswindows): DEFSUBR it.
30733
30734 * emacs.c (main_1): Called syms_of_scrollbar_mswindows()
30735
30736 * symsinit.h: Declared syms_of_scrollbar_mswindows()
30737
30738 Thu Apr 16 12:59:35 1998 Andy Piper <andyp@parallax.co.uk>
30739
30740 * frame-msw.c:
30741 * console-msw.h: add toolbars to frame parameters.
30742
30743 * emacs.c: call console_type_create_mswindows_toolbar
30744
30745 * event-msw.c: call toolbar handling code in main event loop.
30746
30747 * glyphs-msw.c (mswindows_create_icon_from_image)
30748 (mswindows_resize_dibitmap_instance): new functions. Remove mask
30749 stuff from various others.
30750
30751 * redisplay-msw.c:
30752 * menubar-msw.c: warning elimination.
30753
30754 * toolbar-msw.c: new file. Reasonable implementation of toolbars
30755 for mswindows. Some features are not complete.
30756
30757 * toolbar.c: enable toolbar parameters for mswindows.
30758
30759 * toolbar.h: choose slightly different toolbar defaults for
30760 mswindows.
30761
30762 1998-04-16 Hrvoje Niksic <hniksic@srce.hr>
30763
30764 * lisp.h (CHECK_IMPURE): Use it.
30765
30766 * data.c (pure_write_error): Accept an argument.
30767
30768 * emacs.c (vars_of_emacs): New variable `internal-error-checking';
30769 initialize it.
30770
30771 1998-04-16 Hrvoje Niksic <hniksic@srce.hr>
30772
30773 * fileio.c (Fmake_temp_name): Avoid random(); simplify.
30774
30775 1998-04-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
30776
30777 * emacs.c (complex_vars_of_emacs): Changed configure-exec-path to
30778 configure-exec-directory.
30779 (decode_path): Doesn't call file-name-as-directory no more as
30780 empty components would lead to evil behavior.
30781
30782 1998-04-16 Hrvoje Niksic <hniksic@srce.hr>
30783
30784 * extents.c (decode_extent): Unify the error message.
30785
30786 1998-04-17 Hrvoje Niksic <hniksic@srce.hr>
30787
30788 * md5.c (Fmd5): Simplify; use only input and encoding streams.
30789 (Fmd5): Separate coding guesswork into md5_coding_system().
30790 (Fmd5): Don't close the stream; deleting it is enough.
30791
30792 1998-04-16 Hrvoje Niksic <hniksic@srce.hr>
30793
30794 * fileio.c (Finsert_file_contents_internal): Prefer fstat() over
30795 stat.
30796
30797 1998-04-15 Martin Buchholz <martin@xemacs.org>
30798
30799 * fns.c (Fsubseq): Make (subseq nil 0 0) return nil, not #*.
30800
30801 1998-04-16 SL Baur <steve@altair.xemacs.org>
30802
30803 * device-x.c (get_device_from_display): Use "infodock" as the
30804 fallback name when running as InfoDock.
30805
30806 1998-04-14 Greg Klanderman <greg@alphatech.com>
30807
30808 * device-x.c (compute_x_app_name): New function needed to compute
30809 application name to use now that XtOpenDisplay is decomposed into
30810 XOpenDisplay and XtDisplayInitialize.
30811 (x_init_device): use it.
30812
30813 1998-04-06 Greg Klanderman <greg@alphatech.com>
30814
30815 * device-x.c (have_xemacs_resources_in_xrdb): adhere to coding
30816 standards and avoid opening display twice by breaking
30817 XtOpenDisplay into XOpenDisplay and XtDisplayInitialize.
30818 (x_init_device): Ditto.
30819
30820 1998-04-15 Olivier Galibert <galibert@pobox.com>
30821
30822 * s/aix3-2-5.h: Ditto.
30823
30824 * s/aix4-1.h: Ditto.
30825
30826 * s/aix4-2.h: Ditto.
30827
30828 * s/bsd386.h: Ditto.
30829
30830 * s/bsdos2-1.h: Ditto.
30831
30832 * s/dgux.h: Ditto.
30833
30834 * s/esix.h: Ditto.
30835
30836 * s/esix5r4.h: Ditto.
30837
30838 * s/hpux8.h: Ditto.
30839
30840 * s/hpux9-shr.h: Ditto.
30841
30842 * s/hpux9-x11r4.h: Ditto.
30843
30844 * s/hpux9.h: Ditto.
30845
30846 * s/hpux9shxr4.h: Ditto.
30847
30848 * s/isc3-0.h: Ditto.
30849
30850 * s/isc4-0.h: Ditto.
30851
30852 * s/ptx.h: Ditto.
30853
30854 * s/sco4.h: Ditto.
30855
30856 * s/sco5.h: Ditto.
30857
30858 * s/usg5-3.h: Ditto.
30859
30860 * s/usg5-4-2.h: Ditto.
30861
30862 * s/usg5-4.h: Kill a bunch of now autodetected defines.
30863
30864 1998-04-05 Greg Klanderman <greg@alphatech.com>
30865
30866 * window.c (Fwindow_displayed_pixel_height): rename more
30867 appropriately as window-text-pixel-height.
30868 (syms_of_window): Update the DEFSUBR.
30869 (Fwindow_text_pixel_width): New function for completeness.
30870 (Fwindow_text_pixel_edges): New function.
30871 (syms_of_window): DEFSUBR 2 new functions.
30872
30873 1998-04-13 Greg Klanderman <greg@alphatech.com>
30874
30875 * redisplay.c (redisplay_window): When echo area is active, and we
30876 swap in the echo area buffer, restore the minibuffer's pointm and
30877 startp when we restore the minibuffer to the window. This avoids
30878 having the minibuffer point randomly change when it is active but
30879 not selected and a message is shown.
30880
30881 1998-04-16 Hrvoje Niksic <hniksic@srce.hr>
30882
30883 * md5.c: replaced RSA reference code with GNU textutils implementation.
30884
30885 1998-04-14 Martin Buchholz <martin@xemacs.org>
30886
30887 * signal.c (init_signals_very_early): Make `nohup xemacs &' work.
30888 Wrap #ifdefs around uses of SIGQUIT and SIGILL.
30889
30890 1998-04-12 Kirill M. Katsnelson <kkm@kis.ru>
30891
30892 * objects-msw.c (mswindows_initialize_font_instance): Fixed assert
30893 abuse; proper cleanup on GDI error.
30894
30895 1998-04-14 Kirill M. Katsnelson <kkm@kis.ru>
30896
30897 * console-msw.h: Declared get_nt_process_handle() and
30898 mswindows_bump_queue().
30899 Removed declarations for mswindows_enqueue_dispatch_event() and
30900 mswindows_enqueue_magic_event().
30901
30902 * event-msw.c (emacs_mswindows_create_stream_pair): Casts on
30903 handle types and get_osfhandle() return type. From Andy Piper.
30904 (emacs_mswindows_select_process): Get Win32 process handle
30905 directly from process lrecord.
30906 (get_process_handle): Removed function.
30907 (emacs_mswindows_handle_magic_event): Removed handling of
30908 XM_BUMPQUEUE magic event.
30909 (mswindows_wnd_proc): Removed handling of WM_EXITMENULOOP message,
30910 which called a do-nothing handler in menubar-msw.c
30911 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Queue an empty event
30912 instead of magic event, via mswindows_bump_queue().
30913 (mswindows_wnd_proc, WM_CLOSE): Ditto.
30914 (mswindows_need_event): Call mswindows_bump_queue() upon process
30915 termination, in case process pipe does not get closed along.
30916 Do not close process handle.
30917 (mswindows_bump_queue): Added function.
30918 (mswindows_enqueue_dispatch_event): Made static.
30919 (ntpipe_slurp_*): Revamped the slurp thread implementation so the
30920 stream does not expect the thread to terminate when stream is closed.
30921 (ntpipe_slurp_reader): Fixed an attempt to read zero bytes from
30922 the pipe.
30923
30924 * event-stream.c (event_stream_deal_with_async_timeout):
30925 Conditionalized timer-based polling for finished processes on
30926 HAVE_UNIX_PROCESSES.
30927
30928 * menubar-msw.c (mswindows_handle_wm_command): Queued proper bump
30929 queue event.
30930 (mswindows_handle_wm_exitmenuloop): Removed function.
30931
30932 * menubar-msw.h: Removed unused function prototype.
30933
30934 * process-nt.c (get_nt_process_handle): Added function.
30935
30936 * signal.c (init_poll_for_sigchld): Conditionalized on
30937 HAVE_UNIX_PROCESSES.
30938
30939 1998-04-13 Kirill M. Katsnelson <kkm@kis.ru>
30940
30941 * frame-msw.c: Implemented the following methods:
30942 mswindows_get_mouse_position()
30943 mswindows_set_mouse_position()
30944 mswindows_frame_totally_visible_p()
30945
30946 1998-04-11 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
30947
30948 * emacs.c: Renamed inhibit-package-init to inhibit-early-packages
30949 to better reflect its semantics.
30950 Renamed inhibit-update-autoloads to inhibit-package-autoloads.
30951 (complex_vars_of_emacs): Added site-directory and lisp-directory.
30952 -no-packages -> no-early-packages.
30953
30954 * Makefile.in.in: Reflected reinstatement of paths.h.in.
30955
30956 * paths.h.in: Reinstated.
30957
30958 * paths.h.in.in: Removed.
30959
30960 * config.h.in: Moved configure path and directory options from
30961 paths.h.in.in.
30962
30963 1998-04-11 Kirill M. Katsnelson <kkm@kis.ru>
30964
30965 * event-msw.c (emacs_mswindows_quit_p): don't recurse.
30966
30967 1998-04-10 Kirill M. Katsnelson <kkm@kis.ru>
30968
30969 * callproc.c (init_callproc): Correctly initialize
30970 `shell-file-name' for WINDOWSNT
30971
30972 * emacs.c (main_1): Properly called new functions (see symsinit.h
30973 entry for which).
30974
30975 * event-msw.c (struct ntpipe_slurp_stream):
30976 (slurp_thread):
30977 (make_ntpipe_input_stream):
30978 (get_ntpipe_input_stream_waitable):
30979 (get_ntpipe_input_stream_param):
30980 (ntpipe_slurp_reader):
30981 (ntpipe_slurp_closer):
30982 (init_slurp_stream): Win32 pipe input stream implementation.
30983 (struct ntpipe_shove_stream):
30984 (shove_thread):
30985 (make_ntpipe_output_stream):
30986 (get_ntpipe_output_stream_param):
30987 (ntpipe_shove_writer):
30988 (ntpipe_shove_was_blocked_p):
30989 (ntpipe_shove_flusher):
30990 (ntpipe_shove_closer):
30991 (init_shove_stream): Win32 pipe output stream implementation.
30992 (mswindows_enqueue_process_event): Dispatch helper.
30993 (find_waitable_handle):
30994 (add_waitable_handle):
30995 (remove_waitable_handle): New three, waitable handles handling.
30996 (mswindows_need_event_in_modal_loop): Simplified.
30997 (mswindows_need_event): Simplified.
30998 (mswindows_need_event): Generate process events on process output;
30999 kick status_notify when a process ends.
31000 (mswindows_find_console): Simplified.
31001 (emacs_mswindows_event_pending_p): Adjusted parameters to
31002 mswindows_need_event().
31003 (emacs_mswindows_next_event): Ditto.
31004 (get_process_input_waitable):
31005 (get_process_handle): Process select/unselect helpers.
31006 (emacs_mswindows_select_process): Implemented.
31007 (emacs_mswindows_unselect_process): Implemented.
31008 (emacs_mswindows_quit_p): Call mswindows_drain_windows_queue()
31009 directly so do not even try do dequeue process events. Saved a
31010 byte and a tick.
31011 (emacs_mswindows_create_stream_pair): Implemented.
31012 (emacs_mswindows_delete_stream_pair): Implemented.
31013 (vars_of_event_mswindows): Registered the above two.
31014 (lstream_type_create_mswindows_selectable): Function called from
31015 emacs.c to create two pipe lstream types.
31016
31017 * ntproc.c (sys_select): Disgustful brain fart this file is.
31018
31019 * process-nt.c: New file: Asynchronous subprocess implemenation
31020 for Win32.
31021
31022 * process.h: Declare Fprocess_id().
31023
31024 * signal.c (init_signals_very_early): Conditionalize possibly
31025 nonexistent signals.
31026
31027 * symsinit.h: Declared:
31028 lstream_type_create_mswindows_selectable ()
31029 process_type_create_nt ()
31030 vars_of_process_nt ()
31031
31032 * s/windowsnt.h: Defined HAVE_WIN32_PROCESSES.
31033 Removed fake SIGTRAP, SIGPIPE and SIGCHLD.
31034
31035 1998-04-10 Martin Buchholz <martin@xemacs.org>
31036
31037 * fns.c (Fnthcdr):
31038 Most times through the loop will get a cons, so optimize for that.
31039
31040 * bytecode.c (Fbyte_code): Remove '91 vintage compiler bug workaround.
31041 Add NATNUMP check for Bnth bytecode.
31042 Bnth: Optimize case of n > length (list).
31043 QUITs not necessary since even if list is circular, n will count
31044 down to 0.
31045 Bnthcdr: inline the code for nthcdr (we have a bytecode for it,
31046 after all)
31047 Bcdr, Bcar: Use tail recursion.
31048
31049 1998-04-10 Hrvoje Niksic <hniksic@srce.hr>
31050
31051 * redisplay.c (redisplay_window): Don't lose with negative
31052 scroll_step.
31053
31054 1998-04-09 Hrvoje Niksic <hniksic@srce.hr>
31055
31056 * fileio.c (Fmake_temp_name): Don't use `+' in generated file
31057 names.
31058 (Fmake_temp_name): Randomize the initial values of counters.
31059
31060 1998-04-07 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
31061
31062 * Makefile.in.in: paths.h.in is now generated from paths.h.in.in.
31063
31064 * emacs.c (decode_path): Removed parsing of "::" into nil component.
31065
31066 1998-04-09 Martin Buchholz <martin@xemacs.org>
31067
31068 * lstream.c (make_filedesc_stream_1): Fix another Martin blooper.
31069
31070 1998-04-07 SL Baur <steve@altair.xemacs.org>
31071
31072 * emacs.c (Fdump_emacs): Delete superfluous open comment.
31073
31074 1998-04-06 SL Baur <steve@altair.xemacs.org>
31075
31076 * emacs.c (Fdump_emacs): Move call to disable_free_hook back to
31077 Fdump_emacs where it belongs.
31078
31079 1998-04-07 Kirill M. Katsnelson <kkm@kis.ru>
31080
31081 * nt.c (sys_mkdir): Added the second unused parameter, after UNIX
31082 version. Suggested by Martin.
31083
31084 1998-04-07 Kirill M. Katsnelson <kkm@kis.ru>
31085
31086 * event-msw.c (mswindows_wnd_proc): Fix member access macro names.
31087
31088 * frame-msw.c (mswindows_frame_property):
31089 (mswindows_internal_frame_property_p):
31090 (mswindows_frame_properties): Implemented for the 'left and 'top
31091 properties.
31092 (console_type_create_frame_mswindows): Regsitered the above.
31093 (mswindows_set_title_from_bufbyte): Update title only if it has
31094 really changed. This avoids a bit of flashing.
31095
31096 * console-msw.h (FRAME_MSWINDOWS_TITLE_CHECKSUM): To update title
31097 smoother.
31098 (MSWINDOWS_FRAME_*(f)): Were MSWINDOWS_FRAME_*(f). Eeek!
31099
31100 1998-04-06 Kazuyuki IENAGA <ienaga@jsys.co.jp>
31101
31102 * unexfreebsd.c: introduce FreeBSD port's patch to avoid
31103 FreeBSD-current warns "Absurd new brk addr".
31104
31105 1998-04-06 Colin Rafferty <colin@xemacs.org>
31106
31107 * glyphs-x.c (struct gif_error_struct): Made the err_str point to
31108 a CONST char* instead of non-const.
31109 (tiff_memory_write): Add fake return statement to shut up warnings.
31110
31111 1998-04-06 Hrvoje Niksic <hniksic@srce.hr>
31112
31113 * fileio.c (Finsert_file_contents_internal): Correctly handle
31114 special files larger than 32K.
31115
31116 1998-04-06 Hrvoje Niksic <hniksic@srce.hr>
31117
31118 * fileio.c (Fmake_temp_name): Don't call mktemp().
31119
31120 1998-04-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
31121
31122 * unexelf.c: include <config.h> first.
31123
31124 1998-04-04 Martin Buchholz <martin@xemacs.org>
31125
31126 * sysdep.c: Add #include <sys/termio.h> for AIXHFT as suggested
31127 on c.e.x.
31128
31129 * nt.c:
31130 * ntproc.c:
31131 Change "config.h" to <config.h>. Add dire warnings to code since
31132 config.h is not included first.
31133
31134 * powerpc.h: Avoid redefinition warning on START_FILES.
31135
31136 * window.c: Rename Vminibuf_scroll_window to Vminibuffer_scroll_window.
31137 * hpplay.c: Rename play_gain to hp_play_gain in accordance with
31138 coding standards.
31139
31140 * frame-x.c (x_lower_frame):
31141 (x_raise_frame_1): Clarify code. Save a nanosecond if frame not
31142 visible.
31143
31144 * fileio.c (Fmake_temp_name): Use static CONST suffix; save a
31145 nanosecond.
31146
31147 1998-04-05 Amir J. Katz <amir@ndsoft.com>
31148
31149 * sysproc.h: Added #include <sys/types.h> before <sys/socket.h>
31150 otherwise callproc.c does not compile on SunOS 4.1.4 with gcc 2.8.1
31151
31152 * sysdep.h: strerror() does not return CONST in gcc 2.8.1
31153
31154 1998-04-05 Hrvoje Niksic <hniksic@srce.hr>
31155
31156 * redisplay.c (generate_fstring_runes): Grok specifiers and
31157 symbols indirecting to specifiers.
31158
31159 1998-04-06 Olivier Galibert <galibert@pobox.com>
31160
31161 * events.c (print_event): XINT() may return a long.
31162
31163 * insdel.c (make_gap): Thou shan't cast EMACS_INT_MAX to int.
31164 (buffer_insert_string_1): ditto.
31165
31166 * regex.c (print_partial_compiled_pattern): Neither EMACS_INTs nor
31167 ptrdiff_t are portably printable as an int.
31168
31169 * redisplay.c (window_line_number): Don't assume that an EMACS_INT
31170 in an int.
31171
31172 * alloc.c (report_pure_usage): Don't assume that a size_t is
31173 displayable as an int.
31174
31175 1998-04-06 SL Baur <steve@altair.xemacs.org>
31176
31177 * process-unix.c: Fix typo in #ifdef.
31178 From Hrvoje Niksic <hniksic@srce.hr>
31179
31180 1998-04-06 Olivier Galibert <galibert@pobox.com>
31181
31182 * unexelfsgi.c (unexec): Don't treat the sbss section as bss if it
31183 isn't one. Needed for irix 6.5.
31184
31185 1998-04-05 Martin Buchholz <martin@xemacs.org>
31186
31187 * sysdep.h: Two prototypes that weren't properly size_t'ed
31188
31189 1998-04-04 Martin Buchholz <martin@xemacs.org>
31190
31191 * ralloc.c: mallopt <==> malloc.h.
31192
31193 1998-04-04 Martin Buchholz <martin@xemacs.org>
31194
31195 * emacs.c: #include <paths.h>, not "paths.h"
31196 This is a standard bug. It manifests if you configure in the
31197 source tree, then configure elsewhere with --srcdir.
31198 Remove misleading PATH_EXEC comment; PATH_PACKAGEPATH is also used.
31199
31200 1998-04-04 Olivier Galibert <galibert@pobox.com>
31201
31202 * s/386bsd.h: Removed obsolete define.
31203
31204 1998-04-04 Olivier Galibert <galibert@pobox.com>
31205
31206 * s/386-ix.h: Removed useless define.
31207
31208 * sysdep.c (insque): Removed. Not used anywhere in the code.
31209
31210 1998-04-04 Olivier Galibert <galibert@pobox.com>
31211
31212 * process-unix.c (unix_kill_child_process): Use TIOCSIGSEND or
31213 TIOCSIGNAL as needed.
31214
31215 * s/usg5-4.h: Remove kludgy TIOCSIGSEND #define which breaks on
31216 irix 6.5.
31217
31218 1998-03-28 Hrvoje Niksic <hniksic@srce.hr>
31219
31220 * insdel.c (emchar_string_displayed_columns): Simplify for
31221 non-Mule case.
31222
31223 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Issue nicer output.
31224
31225 1998-04-01 Martin Buchholz <martin@xemacs.org>
31226
31227 * sysdir.h (sys_mkdir):
31228 * sysfile.h (sys_read):
31229 (sys_write):
31230 (sys_chmod):
31231 (sys_creat):
31232
31233 * sysdep.c (sys_read_1):
31234 (sys_read):
31235 (sys_write_1):
31236 (sys_write):
31237 (sys_mkdir):
31238 (sys_readlink):
31239 (sys_chmod):
31240 (sys_creat):
31241
31242 * nt.c (sys_read):
31243 (sys_chmod):
31244 (sys_creat):
31245 (sys_write): Change types of sys_* in accordance with published
31246 standards. Use size_t and mode_t instead of unsigned int and int.
31247
31248 1998-04-03 Martin Buchholz <martin@xemacs.org>
31249
31250 * config.h.in (enum_field):
31251 * lisp-union.h:
31252 * extents.h:
31253 * redisplay.c (add_margin_runes):
31254 Prefer enums for use as bitfields in preference to unsigned int,
31255 but allow the possibility to suppress it if a compiler disallows
31256 it or emits annoying warnings. Currently only __SUNPRO_C cc -Xc
31257 used unsigned ints.
31258
31259 * event-stream.c: Fixup DEFVAR for
31260 Vcomposed_character_default_binding; Real bug!
31261 * event-msw.c: Rename mswindows_button2* to mswindows_mouse_button*
31262 * emacs.c: Rename suppress_early_backtrace to
31263 suppress_early_error_handler_backtrace
31264 * objects-x.c: Rename handle_nonfull_spec_fonts to
31265 x_handle_non_fully_specified_fonts
31266 * lread.c: Rename puke_on_fsf_keys to
31267 fail-on-bucky-bit-character-escapes
31268 * lread.c:
31269 * doc.c: Rename Vdoc_file_name to Vinternal_doc_file_name
31270 * fileio.c:
31271 * bufslots.h:
31272 * buffer.c: Rename save_length to saved_size
31273 * alloc.c: Rename pureptr to pure_bytes_used
31274 * abbrev.c: Rename last_abbrev_point to last_abbrev_location
31275 * lisp.h:
31276 DEFVAR_* are supposed to be named following a standard convention.
31277
31278 1998-04-03 Martin Buchholz <martin@xemacs.org>
31279
31280 * callint.c:
31281 * ralloc.c:
31282 * data.c:
31283 * eldap.c:
31284 * extents.c:
31285 * frame-msw.c:
31286 * frame-x.c:
31287 * general.c:
31288 * process.c:
31289 * xselect.c:
31290 Rationalize defsymbol handling.
31291 defsymbols are supposed to have equivalent C and Lisp names, for
31292 consistency. At least one real bug (end-glyph-layout) fixed.
31293 Move multiply defsymbol'ed stuff into general.c.
31294
31295 1998-04-03 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
31296
31297 * m/ibmrs6000.inp: Removed; obsoleted by configure.in changes.
31298
31299 1998-04-03 Martin Buchholz <martin@xemacs.org>
31300
31301 * console-tty.c (Fset_console_tty_input_coding_system):
31302 (Fset_console_tty_output_coding_system):
31303 Input/Output and encoding/decoding were reversed.
31304
31305 1998-04-02 SL Baur <steve@altair.xemacs.org>
31306
31307 * m/powerpc.h: Remove LD_SWITCH_MACHINE for Linux.
31308
31309 1998-04-02 Greg Klanderman <greg@alphatech.com>
31310
31311 * window.c (set_window_pixsize): Move up call to
31312 check_min_window_sizes.
31313
31314 * indent.c (vmotion_1): renamed from vmotion() and added
31315 additional argument to optionally return the pixel motion.
31316 (vpix_motion): Helper for vmotion_1.
31317 (vmotion): Wrapper - just call vmotion_1() with the right args.
31318 (Fvertical_motion_pixels): New function.
31319 (syms_of_indent): DEFSUBR it.
31320
31321 1998-04-02 Martin Buchholz <martin@xemacs.org>
31322
31323 * xselect.c:
31324 * event-Xt.c:
31325 * emacs.c:
31326 Remove last vestiges of #ifdef EPOCH code. It had no chance of
31327 working anyways. In honour of seeing Marc Andreesen in person for
31328 the first time today.
31329
31330 1998-04-01 Martin Buchholz <martin@xemacs.org>
31331
31332 * extents.h:
31333 * lisp-union.h:
31334 Don't use enums as bitfields - only unsigned ints.
31335 Fixes: warning: nonportable bit-field type
31336
31337 * eval.c (call_with_suspended_errors): More volatilizing to
31338 appease Sunpro cc.
31339
31340 * mem-limits.h:
31341 * ralloc.c: Remove #undef NULL; they're not even used!
31342
31343 * process-unix.c (unix_send_process): send_process is a method, so
31344 we can't include volatile in the prototype. We make the argument
31345 non-volatile, make a volatile copy, and then use that instead.
31346
31347 * frame-x.c (x_delete_frame): The `frame' variable is initialized
31348 but not actually used.
31349
31350 * Makefile.in.in (xselect.o): The last line of b34-pre2's
31351 src/Makefile.in.in contains a dependency that should have been
31352 patched away.
31353 (mostlyclean): Remove the removal of depend.* - no such files
31354 exist anymore
31355
31356 * make-src-depend: include a dependency on only one of
31357 lisp-union.h or lisp-disunion.h.
31358
31359 1998-04-01 Martin Buchholz <martin@xemacs.org>
31360
31361 * specifier.c (specifier_instance_from_inst_list): A nanosecond
31362 saved is a nanosecond earned.
31363
31364 1998-03-31 Greg Klanderman <greg@alphatech.com>
31365
31366 * redisplay.c (update_line_start_cache): Fix bug involving
31367 invisible text in which the line_start_cache gets hosed.
31368
31369 Sun Mar 29 1998 Andy Piper <andyp@parallax.co.uk>
31370
31371 * console-msw.h: define FRAME_MSWINDOWS_CDC.
31372
31373 * frame-msw.c: (mswindows_set_frame_icon) new function. Works but
31374 no masks as yet.
31375
31376 * glyphs-msw.c: GNUize the code. Fix 24bpp display and make the
31377 default. Add managment of icons.
31378
31379 * glyphs-msw.h: add icon attributes.
31380
31381 * redisplay-msw.c: (mswindows_output_pixmap) remove unused cursor
31382 code.
31383
31384 * objects-msw.c: eliminate char subscript warning.
31385
31386 1998-04-01 SL Baur <steve@altair.xemacs.org>
31387
31388 * sysdll.c (dll_close): fix typo.
31389 Suggested by Marcus Thiessel <marcus_thiessel@hp.com>
31390
31391
31392 1998-03-28 Kyle Jones <kyle_jones@wonderworks.com>
31393
31394 * device.c (Fset_device_class): Recompute cached
31395 specifiers everywhere if device class is changed.
31396 Set various redisplay flags so that the device's
31397 various frames are redisplayed.
31398
31399 1998-03-31 SL Baur <steve@altair.xemacs.org>
31400
31401 * lrecord.h (DECLARE_NONRECORD): Remove redundant paren.
31402 Suggested by Martin Buchholz <martin@xemacs.org>
31403
31404 1998-04-01 Kirill M. Katsnelson <kkm@kis.ru>
31405
31406 * gui.c (gui_item_display_flush_left): Fix suffix length.
31407
31408 1998-04-01 Kirill M. Katsnelson <kkm@kis.ru>
31409
31410 * s/windowsnt.h: Defined SIZEOF_LONG_LONG and SIZEOF_VOID_P
31411
31412 * dired-msw.c: Included <limits.h>
31413
31414 * config.h.in (VOID_P_BITS): Fixed so that uses SIZEOF_VOID_P
31415
31416 1998-03-31 SL Baur <steve@altair.xemacs.org>
31417
31418 * glyphs.c (image_instantiate_cache_result): Correct order of
31419 parameters to Fputhash.
31420 Suggested by Kirill M. Katsnelson <kkm@kis.ru>
31421
31422 1998-03-30 Martin Buchholz <martin@xemacs.org>
31423
31424 * redisplay.c (create_right_glyph_block): glyph_type should really
31425 be glyph_layout.
31426
31427 1998-03-29 Martin Buchholz <martin@xemacs.org>
31428
31429 * sysfile.h: Move all encapsulations from lisp.h/emacsfns.h into
31430 sysfile.h. Users of the functionality herein will have to
31431 #include sysfile.h.
31432 Check all .o files for missing #includes.
31433 * config.h.in:
31434 Discovered that config.h.in was missing ENCAPSULATE_CLOSEDIR, as a
31435 result of fixing the above.
31436
31437 * gui.c (gui_item_add_keyval_pair): We should not use the idiom
31438 error ("%S", lisp_object) in C code.
31439 I converted the code to use signal_simple_error_2 instead.
31440 (signal_too_long_error): Ditto.
31441
31442 * glyphs.c (image_instantiate_cache_result): Use XC[AD]R instead
31443 of Fc[ad]r. This is always called with valid conses, and in fact,
31444 already assumed it.
31445
31446 * font-lock.c (find_context): Use context_none with context
31447 instead of ccontext_none.
31448
31449 * fns.c (Flength): The CONSP and NILP code can be combined.
31450 Change the name of the arg to SEQUENCE from OBJ.
31451 (Fnthcdr): CHECK_NATNUM instead of CHECK_INT. Optimize out Fcdr calls.
31452 (Felt): Change argument from seq to sequence to match docstring.
31453
31454 1998-03-28 Martin Buchholz <martin@xemacs.org>
31455
31456 * fns.c (string_putprop):
31457 (string_getprop): Make method functions static.
31458
31459 * window.c (find_window_by_pixel_pos): Warning suppression.
31460
31461 * imgproc.c (splitbox): Warning suppression.
31462
31463 * redisplay-x.c (x_output_eol_cursor): Remove redundant XSETWINDOW.
31464
31465 * glyphs-x.c (signal_image_error):
31466 (signal_image_error_2):
31467 (convert_EImage_to_XImage): Make functions static.
31468
31469 * editfns.c (Fbuffer_size): Rename the `F' function to
31470 Fbuffer_size in accordance with coding standards.
31471
31472 * dll.c (Fdll_open): Fix up data conversion.
31473 Provide auxiliary function maybe_call_library_function().
31474
31475 * device-x.c (get_x_display): make function static.
31476
31477 * data.c (Fcar): Should generate listp, not consp error.
31478 (Fcdr): Should generate listp, not consp error.
31479
31480 1998-03-27 Martin Buchholz <martin@xemacs.org>
31481
31482 * console-tty.c (free_tty_console_struct):
31483 Replace con->console_data with CONSOLE_type_DATA (con)
31484
31485 * *.[ch]: C++ compilability of xemacs, on Linux and Solaris.
31486
31487 * casetab.c (Fcase_table_p): Optimize.
31488
31489 * eval.c:
31490 * bytecode.c:
31491 Rename Fcondition_case_3 to condition_case_3 - it's not a DEFUN.
31492
31493 * buffer.h:
31494 Remove all *BUFFER_OR_STRING* macros - unused.
31495 (memind_to_bytind): Merge two versions of function by moving
31496 #ifdef ERROR_CHECK_BUFPOS into the function body.
31497 (*_DATA_ALLOCA*): get types correct. rewrite for clarity.
31498
31499 * balloon_help.c (balloon_help_destroy): rearrange order of
31500 functions, and remove prototype from header file.
31501
31502 * alloc.c (deadbeef_memory): Rewrite. Use size_t for clarity.
31503 Don't bother with the left-over bytes, since in practice we will
31504 always get called with a size multiple of 4.
31505 (Fmake_list): CHECK_NATNUM instead of CHECK_INT
31506 (vector[4567]): Currently unused; ifdef out.
31507 (make_pure_float): make function static.
31508 (garbage_collect_1): Optimize.
31509
31510 1998-03-23 Martin Buchholz <martin@xemacs.org>
31511
31512 * marker.c (print_marker): Fix compiler warning, real bug!
31513
31514 * device.h (MARK_DEVICE_FRAMES_FACES_CHANGED):
31515 * frame.h (MARK_FRAME_FACES_CHANGED):
31516 (MARK_FRAME_TOOLBARS_CHANGED):
31517 (MARK_FRAME_SIZE_CHANGED):
31518 (MARK_FRAME_CHANGED):
31519 (MARK_FRAME_WINDOWS_CHANGED):
31520 (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED):
31521 Fix multiple evaluation of macro arguments.
31522 Macros are a fact of life. Callers have to use temp variables to
31523 avoid multiple evaluation of arguments.
31524
31525 * data.c (Ftrue_list_p): New function, with obvious meaning.
31526 This is terminology from Cltl2.
31527 Also define a corresponding macro TRUE_LIST_P.
31528
31529 * device-x.c (validify_resource_component): Optimize. Rename.
31530 Use the standard technique of using a precomputed table of valid chars.
31531
31532 (x_get_resource_prefix):
31533 (Fx_get_resource):
31534 (Fx_get_resource_prefix):
31535 Avoid fixed buffer sizes. Use a char_dynarr.
31536 Run validify_resource_component on all computed components.
31537
31538 * lisp.h: Define a char_dynarr type.
31539
31540 1998-03-22 Martin Buchholz <martin@xemacs.org>
31541
31542 * fns.c (Fcopy_alist): Optimize.
31543
31544 * alloc.c (acons): New function. Now used in the C code.
31545 Definition in cl.el is commented out. Add docstring.
31546 Use acons in functions which create alists.
31547 * lisp/cl.el (acons): Add docstring. Really otta be a macro, tho.
31548
31549 * buffer.c (Fbuffer_memory_usage):
31550 * window.c (Fwindow_memory_usage):
31551 Clean up horrible consing code using new acons function.
31552 Fix incorrect value reported for gap-overhead.
31553
31554 * fns.c (Fmember):
31555 (Fold_member):
31556 (Fmemq):
31557 (Fold_memq):
31558 (memq_no_quit):
31559 (Fassoc):
31560 (Fold_assoc):
31561 (Fassq):
31562 (Fold_assq):
31563 (assq_no_quit):
31564 (Frassoc):
31565 (Fold_rassoc):
31566 (Frassq):
31567 (Fold_rassq):
31568 (rassq_no_quit):
31569 (Fdelete):
31570 (Fold_delete):
31571 (Fdelq):
31572 (Fold_delq):
31573 (delq_no_quit):
31574 (delq_no_quit_and_free_cons):
31575 (Fremassoc):
31576 (Fremassq):
31577 (remassq_no_quit):
31578 (Fremrassoc):
31579 (Fremrassq):
31580 (remrassq_no_quit):
31581 (Fnreverse):
31582 (Freverse):
31583 (Fnthcdr):
31584 Optimize.
31585 Replace calls to Fcar, Fcdr, Fsetcar with XCAR and XCDR.
31586 Simplify logic.
31587 Many of these functions wouldn't QUIT if called on cyclic lists.
31588 e.g. try (progn (setq x '(nil)) (setcdr x x) (reverse x))
31589 One benchmark of delq showed it to be 3 times faster.
31590
31591 * emacs.c:
31592 * database.c:
31593 Cleanup of database functions.
31594 Make the get_subtype and get_type methods return Lisp_Objects,
31595 instead of C strings. No more need for both dbm_type and dbm_lisp_type.
31596 Rewrite the doc strings to be consistent with XEmacs tradition.
31597 Replace old `dbm' names with `database'.
31598 Rename struct database to struct Lisp_Database.
31599 Rename DEFUN arguments to `database', when applicable.
31600
31601 * buffer.c:
31602 * chartab.c:
31603 * console.c:
31604 * data.c:
31605 * database.c:
31606 * device.c:
31607 * elhash.c:
31608 * eval.c:
31609 * event-stream.c:
31610 * extents.c:
31611 * faces.c:
31612 * frame.c:
31613 * glyphs.c:
31614 * keymap.c:
31615 * lstream.c:
31616 * mule-charset.c:
31617 * mule-coding.c:
31618 * objects.c:
31619 * opaque.c:
31620 * process.c:
31621 * rangetab.c:
31622 * specifier.c:
31623 * symbols.c:
31624 * tooltalk.c:
31625 * window.c:
31626 Place DEFINE_LRECORD_* after definition of static object methods, to
31627 avoid redundant declarations.
31628
31629 * console.c:
31630 * console.h:
31631 * device.c:
31632 * device.h:
31633 * extents.c:
31634 * extents.h:
31635 * frame.c:
31636 * frame.h:
31637 * glyphs.c:
31638 * glyphs.h:
31639 * lisp.h:
31640 * lstream.c:
31641 * lstream.h:
31642 * signal.c:
31643 * specifier.c:
31644 * specifier.h:
31645 Eliminate MAC_* macros.
31646 The MAC_ macros use non-standard comiler extenstions which cause
31647 gcc to generate bad code on Sparc/Solaris. Attractive though the
31648 idea of using those compiler extensions is, they are just not
31649 robust enough to use in the real world. So we eliminate them.
31650 We put up with some sub-optimalities, like macros with multiple
31651 evaluation. Such is life with C. The MAC_ macros were pretty
31652 darn ugly anyways. We CAN use inline functions, since the advent
31653 of C++ means that compilers must support those anyways.
31654
31655 1998-03-21 Martin Buchholz <martin@xemacs.org>
31656
31657 * alloc.c (list*): Optimize recursion levels.
31658
31659 * alloc.c: Add debugger support via enum dbg_constants.
31660 * gdbinit: Complete rewrite.
31661 * gdbinit.union: Remove
31662 * gdbinit.pre-4.14: Remove
31663 * dbxrc: Complete rewrite.
31664 * man/xemacs-faq.texi:
31665 Proper robust debugger support for gdb and Sun's dbx.
31666 Support all combinations of Kylish DEFINEs.
31667 Work out of the box with no user customizations.
31668 See the updated faq for details.
31669
31670 * emacsfns.h: Remove. Move declarations to lisp.h
31671 * dynarr.h: Remove. Move declarations to lisp.h
31672 * lisp.h.
31673 Optimize header file handling to improve compile time over a network.
31674 Introduce EXFUN macro for external declaration to correspond to DEFUN.
31675 Include header files only when necessary, i.e. not from lisp.h:
31676 - unistd.h, limits.h, fnctl.h, blocktype.h, dynarr.h, emacsfns.h
31677
31678
31679 * lisp.h:
31680 * lisp-union.h:
31681 * lisp-disunion.h:
31682 Rewrite low level object frobbing.
31683 Make it safe to use XSETOBJ on uninitialized Lisp_Objects.
31684 (markbit might have been set otherwise)
31685 Move XPRNTRVAL->XPNTR computation out of lisp-*union.h, since it
31686 is union-type-independent.
31687
31688 * EmacsFrame.c:
31689 * alloc.c:
31690 * chartab.c:
31691 * console.c:
31692 * dialog-x.c:
31693 * doc.c:
31694 * elhash.c:
31695 * eval.c:
31696 * event-Xt.c:
31697 * event-stream.c:
31698 * event-unixoid.c:
31699 * extents.c:
31700 * faces.c:
31701 * file-coding.c:
31702 * frame.c:
31703 * glyphs.c:
31704 * insdel.c:
31705 * keymap.c:
31706 * lstream.c:
31707 * marker.c:
31708 * menubar-x.c:
31709 * mule-coding.c:
31710 * opaque.c:
31711 * ralloc.c:
31712 * rangetab.c:
31713 * redisplay-msw.c:
31714 * redisplay-output.c:
31715 * redisplay-tty.c:
31716 * redisplay-x.c:
31717 * redisplay.c:
31718 * scrollbar-x.c:
31719 * scrollbar.c:
31720 * specifier.c:
31721 * symbols.c:
31722 * toolbar-x.c:
31723 * toolbar.c:
31724 * window.c:
31725 As a result of the above lisp*.h changes, we can now safely remove
31726 initializations of Lisp_Objects before calling XSETOBJ on them.
31727 This was only being done half the time, anyways.
31728
31729 * Makefile.in.in (depend): New target. calls make-src-depend.
31730 * depend: New file. Generated by make-src-depend
31731 * make-src-depend: New file. generates up-to-date dependencies.
31732 Makefile dependencies are now automagically maintained, and
31733 CORRECT. lisp.h and friends are now included in the dependencies,
31734 since this complies with the principle of least astonishment.
31735
31736 * symbols.c (symbol_is_constant): Optimize.
31737
31738 1998-03-30 SL Baur <steve@altair.xemacs.org>
31739
31740 * frame.c (vars_of_frame): Default frame name should be InfoDock
31741 for InfoDock.
31742
31743 1998-03-29 SL Baur <steve@altair.xemacs.org>
31744
31745 * emacs.c (voodoo_free_hook): ELF libraries built with newer
31746 versions of GCC do horrible things in dumped binaries after exit()
31747 is called.
31748 (Fkill_emacs): Use it.
31749
31750 1998-03-28 SL Baur <steve@altair.xemacs.org>
31751
31752 * s/linux.h: For simplicity, do not use standard linking because
31753 it is deadly with new GCC.
31754
31755 Sat Mar 28 10:16:29 1998 Andy Piper <andyp@parallax.co.uk>
31756
31757 * Makefile.in.in: fix fastdump target
31758
31759 * console-msw.h: add memory dc to frame.
31760
31761 * frame-msw.c: manage memory dc on frame creation/deleteion
31762
31763 * frame.h: mess with toolbar macros so that xemacs doesn't die
31764 in redisplay with a triple build.
31765
31766 * g;yphs-msw.c: GNUize the code. Fix 24bpp display and make the
31767 default.
31768
31769 * glyphs-msw.h: remove memory dc from image attributes.
31770
31771 * redisplay-msw.c: fix redisplay to use new frame memory dc.
31772
31773 * sheap.c: bump initial sheap yet again to allow byyte
31774 recompilation.
31775
31776 * unexcw.c: fix section parsing for multiple idata and rdata
31777 sections.
31778
31779 1998-03-27 SL Baur <steve@altair.xemacs.org>
31780
31781 * emacs.c: Enabled free-hook.c code if
31782 LOSING_GCC_DESTRUCTOR_FREE_BUG is defined.
31783
31784 1998-03-28 Kyle Jones <kyle_jones@wonderworks.com>
31785
31786 * Fixed display bug where changes to builtin glyphs like
31787 Vcontrol_arrow_glyph would not be propagated
31788 immediately to the display.
31789
31790 * device.h: Added glyphs_changed field to device
31791 struct. Created MARK_DEVICE_GLYPHS_CHANGED macro.
31792
31793 * frame.h: Added glyphs_changed field to frame
31794 struct. Created MARK_FRAME_GLYPHS_CHANGED macro.
31795
31796 * redisplay.h: Declared glyph_changed and
31797 glyph_changed_set variables, mimicking clip_changed
31798 and clip_changed_set. New macro MARK_GLYPHS_CHANGED.
31799
31800 * redisplay.c: Defined glyph_changed and
31801 glyph_changed_set variables, mimicking
31802 clip_changed and clip_changed_set.
31803
31804 (redisplay_window): Reset the window's glyph cache is
31805 f->glyphs_changed is non-zero. Call regenerate_window
31806 if f->glyphs_changed is non-zero.
31807
31808 (redisplay_frame): Clear f->glyphs_changed after
31809 successful redisplay of all windows on frame.
31810
31811 (redisplay_device): Redisplay frame if f->glyphs_changed
31812 is non-zero. Clear d->glyphs_changed after successful
31813 redisplay of all frames on device
31814
31815 (redisplay_without_hooks): Redisplay devices if
31816 glyphs_changed is non-zero. Redisplay an individual
31817 device if d->glyphs_changed is non-zero. Clear
31818 glyphs_changed after successful redisplay of all
31819 devices.
31820
31821 (redisplay_glyphs_changed): Dropped use of
31822 MARK_CLIP_CHANGED. Call MARK_FRAME_GLYPHS_CHANGED for
31823 all affected frames. For locales that are not device
31824 related, mark all frames.
31825
31826 * redisplay-output.c (compare_display_blocks):
31827 Output the whole display block if f->glyphs_changed is
31828 non-nil.
31829
31830 1998-03-27 Kyle Jones <kyle_jones@wonderworks.com>
31831
31832 * callproc.c (Fcall_process_internal): In the case where
31833 fd_error and fd1 are the same don't close that
31834 descriptor twice.
31835
31836 1998-03-27 SL Baur <steve@altair.xemacs.org>
31837
31838 * frame-x.c (x_update_frame_external_traits): Need a Lisp_Object
31839 frame as well as a struct frame.
31840
31841 1998-03-27 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
31842
31843 * emacs.c (main_1): Reinstated PATH searching for invocation data.
31844
31845 1998-03-26 Kirill M. Katsnelson <kkm@kis.ru>
31846
31847 * menubar.c (Fmenu_find_real_submenu): See the entry for gui.h.
31848
31849 * menubar-msw.c (populate_menu_add_item): Used GCPRO_GUI_ITEM
31850 macro to aviod warnings, in 2 places.
31851 (populate_or_checksum_helper): Ditto
31852 (populate_or_checksum_helper): Added placeholder for menu right
31853 flash customization.
31854
31855 * gui.h (GCPRO_GUI_ITEM): Code which warning-free GC protects a
31856 GUI_ITEM structure moved into this macro from menubar.c
31857
31858 * frame-x.c (x_update_frame_external_traits): Moved part of the
31859 former update_EmacsFrame() here.
31860 (console_type_create_frame_x): Declared the above method.
31861
31862 * frame-msw.c (mswindows_set_frame_properties): Do not try to
31863 resize the frame if called from Fmake_frame the first time
31864 (potential race condition).
31865 (mswindows_init_frame_1): Fixed support for popup frames.
31866 (mswindows_delete_frame): Fixed memory leak.
31867 (mswindows_get_frame_parent): Implemented.
31868 (mswindows_update_frame_external_traits): Moved part of the former
31869 update_EmacsFrame() here.
31870 (console_type_create_frame_mswindows): Declare get_frame_parent
31871 and update_frame_external_traits methods.
31872
31873 * faces.c (update_EmacsFrame): Converted into a device method
31874 `update_frame_external_traits'.
31875
31876 * event-msw.c (mswindows_wnd_proc, WM_SIZE): Rewrote to avoid
31877 relying on an assumption on when Windows calls this handler.
31878 (mswindows_find_frame): Return the frame being created if the
31879 windows does not yet have associated frame object
31880 (mswindows_find_frame): Casted long to Lisp_Object properly.
31881
31882 * device.c (window_system_pixelated_geometry): Changed to call the
31883 device_implementation_flags device method.
31884
31885 * device-msw.c (mswindows_device_implementation_flags):
31886 Implemented.
31887 (console_type_create_device_mswindows): Declared the above.
31888
31889 * console.h (struct console_methods): Added
31890 device_implementation_flags_method and
31891 update_frame_external_traits_method.
31892 Defined flags retuned by device_implementation_flags_method.
31893
31894 * console-msw.h (struct mswindows_frame): Added charheight and
31895 charwidth fields.
31896 Added macros for referring to these two, Rvalue.
31897 Moved Windows-specific macros from frame.h here.
31898 (typedef struct XEMACS_RECT_WH): Added.
31899 Declared global variables.
31900
31901 1998-03-19 Kirill M. Katsnelson <kkm@kis.ru>
31902
31903 * console-msw.h: Added prototypes for
31904 mswindows_protect_modal_loop() and
31905 mswindows_unmodalize_signal_maybe().
31906
31907 * scrollbar-msw.c (mswindows_update_scrollbar_instance_status):
31908 Removed redundant call to set_frame_size method.
31909
31910 * frame.c (Fframe_property): For a window system with pixel-based
31911 geometry, convert passed char-based metrics to pixels.
31912 (Fframe_properties): Ditto.
31913 (Fset_frame_height): Ditto.
31914 (Fset_frame_width): Ditto.
31915 (Fset_frame_size): Ditto.
31916 (frame_conversion_internal): Added a parameter, controlling
31917 whether the function uses real char metrics or 1 when geometry is
31918 pixel-based.
31919 Allow NULL for output int* params.
31920 (pixel_to_char_size): frame_conversion_internal() is called with
31921 indication to fake font size to 1.
31922 (char_to_pixel_size): Ditto.
31923 (round_size_to_char): Ditto.
31924 (pixel_to_real_char_size):
31925 (char_to_real_pixel_size):
31926 (round_size_to_real_char): New three counterparts of the above
31927 metioned functions, which always use real character metrics.
31928 (change_frame_size_1): Use real character metrics when computing
31929 minibuffer height.
31930
31931 * frame.h: Prototypes for pixel_to_real_char_size(),
31932 char_to_real_pixel_size(), round_size_to_real_char().
31933
31934 * frame-msw.c (mswindows_init_frame_1): Rewritten to support
31935 system-default new window width and height.
31936 (mswindows_init_frame_2): Commented out, unused.
31937 (mswindows_after_init_frame): Added frame method.
31938 (mswindows_set_frame_size): Reworked to support pixel base
31939 geometry.
31940 (mswindows_set_frame_position): Cahnged to use SetWindowPos.
31941 (mswindows_lower_frame): Ditto.
31942 (mswindows_set_frame_properties): Fixed to perform correct
31943 calculation, and to support pixel geometry.
31944 (console_type_create_frame_mswindows): init_frame_2 removed,
31945 after_init_frame added.
31946
31947 * faces.c (default_face_height_and_width_1): Added.
31948 (update_EmacsFrame): Changed method of notifying mswindwows frame,
31949 so modeline border gets redrawn.
31950
31951 * faces.h: Prototype for default_face_height_and_width_1().
31952
31953 * event-msw.c (mswindows_wnd_proc, WM_SIZE): Redisplay after
31954 maximize/restore window.
31955 (mswindows_wnd_proc, WM_WINDOWPOSCHANGING): Do not round size to
31956 char if window is maximized.
31957 Use real char metrics for rounding.
31958 Call DefWindowProc to process WM_GETMINMAXINFO
31959 (mswindows_set_chord_timer): Changed chord timeout from 1/2 to 1/3
31960 system double click time
31961
31962 * device.c (domain_device_type): New function.
31963 (window_system_pixelated_geometry): New function.
31964 (Fdomain_device_type): New function, lisp interface to
31965 domain_device_type().
31966 (syms_of_device): DEFSUBRed the above.
31967
31968 * device.h: Ptorotypes for domain_device_type() and
31969 window_system_pixelated_geometry().
31970
31971 * menubar-msw.c (mswindows_update_frame_menubars): Call
31972 update_frame_menubar_maybe always.
31973
31974 1998-03-27 SL Baur <steve@altair.xemacs.org>
31975
31976 * s/hpux11.h:
31977 * s/hpux11-shr.h: New files.
31978 From Marcus Thiessel <marcus_thiessel@hp.com>
31979
31980 * Makefile.in.in: temporarily comment -lmcheck support.
31981 Suggested by Marcus Thiessel <marcus_thiessel@hp.com>
31982
31983 1998-03-26 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
31984
31985 * emacs.c (vars_of_emacs): Fixed bug: Now respects configure
31986 setting of inhibit-site-lisp.
31987 (main_1): inhibit-site-lisp is now exclusively
31988 configure-initialized.
31989
31990 1998-03-27 Hrvoje Niksic <hniksic@srce.hr>
31991
31992 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Don't feed
31993 error_with_frob() with LispObjects.
31994
31995 1998-03-26 Kirill M. Katsnelson <kkm@kis.ru>
31996
31997 * redisplay-msw.c (mswindows_output_cursor): Added parameters for
31998 character under cursor, and a flag indicating whether the cursir
31999 is over an image. Draw bar cursor always over an image glyph.
32000 Callers are changed accross the file.
32001 Honor the value of window::text_cursor_visible_p.
32002 (mswindows_output_pixmap): Cursor drawing code #if0ed.
32003 (mswindows_output_display_block): Call to output cursor after
32004 drawind an image.
32005
32006 1998-03-27 P. E. Jareth Hein <jareth@camelot-soft.com>
32007
32008 * glyphs-x.c:
32009 * imgproc.c:
32010 * imgproc.h:
32011 * glyphs-x.h: Added in a colormap variable in the X specific image
32012 struct to handle IMAGE_POINTER images which must be allocated in the
32013 default colormap of the screen. Also reformated the code to follow
32014 coding standards.
32015
32016 * glyphs.h:
32017 * glyphs.c:
32018 * glyphs-x.c: added image-conversion-error type
32019
32020 * objects-x.c (allocate_nearest_color): Corrected a minor bug involving
32021 setting the values into XColor.
32022
32023 1998-03-25 P. E. Jareth Hein <jareth@camelot-soft.com>
32024
32025 * free-hook.c (check_realloc): Handle the degerate case of realloc with
32026 a NULL value acting the same as malloc.
32027
32028 1998-03-24 Kyle Jones <kyle_jones@wonderworks.com>
32029
32030 * redisplay-x.c (x_output_eol_cursor): Use x_clear_region
32031 instead of XClearArea to erase the cursor so that background
32032 pixmaps are handled properly. New fourth parameter findex
32033 added so that it can be passed to x_clear_region.
32034
32035 1998-03-25 Kirill M. Katsnelson <kkm@kis.ru>
32036
32037 * process.c (Fprocess_send_eof): Close output stream before
32038 deleting stream pair.
32039 (deactivate_process): Ditto, both input and output streams.
32040
32041 * event-unixoid.c (event_stream_unixoid_delete_stream_pair): Do
32042 not close passed lstreams.
32043
32044 1998-03-24 Kirill M. Katsnelson <kkm@kis.ru>
32045
32046 * fileio.c (Ffile_readable_p): GC protect fix, MS Windows specific.
32047
32048 Mon Mar 23 22:14:12 1998 Andy Piper <andyp@parallax.co.uk>
32049
32050 * configure.in: compile in glyphs-msw.o when compiling fopr
32051 mswindows.
32052
32053 Mon Mar 23 22:14:12 1998 Andy Piper <andyp@parallax.co.uk>
32054
32055 * msw-glyphs.el: add support for xpm and bmp. change
32056 eval-and-compile to progn.
32057
32058 Mon Mar 23 22:14:12 1998 Andy Piper <andyp@parallax.co.uk>
32059
32060 * Makefile.in.in: fastdump - new target for dumping bypassing
32061 bytecompilation, DOC. Add dependencies for glyphs-msw.o. Move
32062 imgproc.o to object list.
32063
32064 * glyphs-msw.h:
32065 * glyphs-msw.c: new files adding support for xpm and bmp and
32066 EImages.
32067
32068 * redisply-msw.c: add support for outputing color pixmaps.
32069
32070 * console-msw.h: add bitspixel field to mswindows frame.
32071
32072 * device-msw.c: initialise bitspixel field in mswindows frame.
32073
32074 * glyphs-x.c (xpm_instantiate): call mswindows_xpm_instantiate if
32075 the device type is mswindows.
32076
32077 * emacs.c: call glyphs-msw.c init functions if compiling with
32078 mswindows.
32079
32080 * symsinit.h: add prototypes for glyphs-msw.c functions.
32081
32082 * sheap.c: make includes src-dir compliant.
32083
32084 * events.c: remove cygwin ^H <-> erase hack.
32085
32086 * s/cygwin32.h: remove NOMULTIPLEJOBS defn.
32087
32088 1998-03-24 P. E. Jareth Hein <jareth@camelot-soft.com>
32089
32090 * glyphs-x.c (my_jpeg_output_message): Added new function to redirect
32091 any error/warning messages from the jpeg library to XEmacs. Also
32092 get rid of an unneeded temp variable in the tiff code.
32093
32094 1998-03-14 Hrvoje Niksic <hniksic@srce.hr>
32095
32096 * insdel.c (fixup_internal_substring): Protect asserts with #ifdef
32097 ERROR_CHECK_BUFPOS.
32098
32099 * minibuf.c (scmp_1): c1 and c2 are Emchar, not Bufbyte.
32100 (Ftry_completion): Fixed typo.
32101
32102 * dired.c (file_name_completion): Removed `readfunc', a remnant of
32103 dead VMS code.
32104
32105 1998-03-13 Hrvoje Niksic <hniksic@srce.hr>
32106
32107 * dired.c (Fdirectory_files): Simplify logic.
32108
32109 * symbols.c (reject_constant_symbols): Allow setting a keyword's
32110 function slot.
32111
32112 1998-03-23 Hrvoje Niksic <hniksic@srce.hr>
32113
32114 * lread.c (readevalloop): Don't specbind Qstandard_input to
32115 READCHARFUN.
32116
32117 1998-03-09 Hrvoje Niksic <hniksic@srce.hr>
32118
32119 * lread.c (read_atom): Ditto.
32120
32121 * symbols.c (reject_constant_symbols): Do the keyword stunts only
32122 if the symbol is in Vobarray.
32123
32124 * symbols.c (reject_constant_symbols): Signal error when
32125 attempting to assign a value to a keyword, unless the value is the
32126 keyword itself.
32127
32128 * symbols.c (Fintern): Initialize symbol's ->obarray to t only
32129 when OBARRAY is Vobarray.
32130
32131 1998-03-21 Hrvoje Niksic <hniksic@srce.hr>
32132
32133 * events.c (Fmake_event): Allow creation of misc-user-events.
32134
32135 1998-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
32136
32137 * config.h.in, emacs.c: Changed allow-site-lisp to
32138 inhibit-site-lisp. Made -no-autoloads set inhibit-site-lisp.
32139
32140 1998-03-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
32141
32142 * <Today>: The Big Path Searching Overhaul.
32143
32144 * symsinit.h: Added declaration for complex_vars_of_emacs in
32145 emacs.c.
32146
32147 * paths.h.in: Adjusted the comments to reality as dictated by
32148 configure.
32149
32150 * filelock.c (complex_vars_of_filelock): Added support for lock
32151 directories passed in from configure.
32152
32153 * emacs.c (complex_vars_of_emacs): Added all relevant installation
32154 paths passed from configure. They all have the prefix "configure-" now.
32155
32156 * config.h.in: Added HAVE_SITE_LISP configuration option.
32157
32158 * callproc.c (init_callproc): Ripped out all the bogus path setup.
32159
32160 * Makefile.in.in: Updated all calls of "temacs -l" with absolute
32161 file names because auf the more minimalistic load-path setup in
32162 lread.c. Also set EMACSBOOTSTRAPLOADPATH on calling temacs rather
32163 than EMACSLOADPATH because EMACSLOADPATH is now more persistent than
32164 before.
32165
32166 * lread.c (init_lread): Ripped out bogus load-path setup.
32167
32168 1998-03-21 Kyle Jones <kyle_jones@wonderworks.com>
32169
32170 * frame.h: Move the check for an initialize_frame_toolbars
32171 method into FRAME_RAW_REAL_TOOLBAR_VISIBLE to avoid getting
32172 clunked by toolbar-less builds.
32173
32174 1998-03-20 SL Baur <steve@altair.xemacs.org>
32175
32176 * m/powerpc.h (LD_SWITCH_MACHINE): Fix path to ppc.ldscript.
32177
32178 1998-03-16 Hrvoje Niksic <hniksic@srce.hr>
32179
32180 * redisplay.c (window_line_number_buf): Made it larger.
32181
32182 * opaque.c (print_opaque): Ditto.
32183
32184 * lstream.c (print_lstream): Avoid `%p'.
32185
32186 * keymap.c (ensure_meta_prefix_char_keymapp): Use
32187 error_with_frob().
32188
32189 * input-method-xlib.c (EmacsXtCvtStringToXIMStyles): Allocate buf
32190 dynamically.
32191
32192 * event-Xt.c (describe_event_window): Allocate buf dynamically.
32193
32194 * doc.c (Fsubstitute_command_keys): Warn of sprintf().
32195
32196 * device-x.c (x_init_device): Allocate path dynamically.
32197 (x_init_device): Allocate buf1 and buf2 dynamically.
32198
32199 1998-03-14 Hrvoje Niksic <hniksic@srce.hr>
32200
32201 * ExternalShell.c (GetGeometry): Use a larger buffer for
32202 sprintf().
32203
32204 1998-03-19 Kirill M. Katsnelson <kkm@kis.ru>
32205
32206 * redisplay.c (point_would_be_visible): Fix
32207 window::line_cache_validation_override reference counter.
32208 (start_with_line_at_pixpos): Ditto.
32209
32210 1998-03-20 Olivier Galibert <olivier.galibert@mines.u-nancy.fr>
32211
32212 * insdel.c (bytecount_to_charcount): Use 'L' suffix on long
32213 constants probably too large for an int.
32214
32215 1998-03-18 Hrvoje Niksic <hniksic@srce.hr>
32216
32217 * lread.c (read_atom_0): Signal Qend_of_file if readcharfun
32218 returned -1.
32219 (read_escape): Ditto.
32220 (FSF_LOSSAGE): Ditto.
32221
32222 1998-03-20 SL Baur <steve@altair.xemacs.org>
32223
32224 * emacs.c: path-separator (and parse-colon-path) moved from Lisp
32225 into C because we need it for early initialization.
32226
32227 * Makefile.in.in (libmcheck): Add.
32228
32229 * config.h.in: Add HAVE_LIBMCHECK and HAVE_MCHECK_H.
32230
32231 * hash.c (grow_hashtable): Fix tests to compare against
32232 Qnull_pointer since this function may be called before any symbols
32233 or the Lisp engine is initialized.
32234
32235 * emacs.c (main_1): Restore usage of free-hook.c.
32236
32237 * free-hook.c (check_realloc): Change aborts to printfs.
32238 (check_free): Ditto.
32239
32240 1998-03-18 SL Baur <steve@altair.xemacs.org>
32241
32242 * emacs.c (Fkill_emacs): Use LIST_LOOP_DELETING because our
32243 control variable is being modified underneath us.
32244 - Avoid calling delete_console_internal on stream consoles.
32245
32246 * console-tty.c (free_tty_console_struct): NULL out pointers after
32247 xfree'ing.
32248
32249 * console-stream.c (allocate_stream_console_struct): Fix memory
32250 leak -- if the stream_console struct is already allocated, don't
32251 reallocate it.
32252 (free_stream_console_struct): Don't leave dangling freed pointer
32253 around.
32254
32255 * redisplay-output.c (redisplay_redraw_cursor): Fully bracket.
32256
32257 1998-03-17 SL Baur <steve@altair.xemacs.org>
32258
32259 * frame.c (delete_frame_internal): Correct check.
32260
32261 * imgproc.c: Include <config.h>.
32262
32263 1998-03-13 P. E. Jareth Hein <jareth@camelot-soft.com>
32264
32265 * glyphs-x.c: fix for upside-down TIFFs.
32266
32267 1998-03-14 Kirill M. Katsnelson <kkm@kis.ru>
32268
32269 * fileio.c (Finsert_file_contents_internal): Removed all DOS_NT
32270 specific code; rely on FILE_CODING streams instead.
32271 (Fwrite_region_internal): Ditto.
32272 (decide_buffer_type): Function removed.
32273 (buf_decide_buffer_type): Function removed.
32274 (Many places): References to DOS_NT replaced with WINDOWSNT. MSDOS-
32275 specific code removed.
32276
32277 * lread.c (Fload_internal): Removed ugly DOS style re-opening a
32278 file in text mode. '\r' is perfectly handled in readevallop().
32279
32280 * redisplay.c (decode_mode_spec): Made %t decode to "T" unconditionally.
32281
32282 * s/windowsnt.h (FILE_CODING): Define always.
32283
32284 1998-03-15 Kirill M. Katsnelson <kkm@kis.ru>
32285
32286 * s/windowsnt.h: Added prototypes for generally used functions
32287 implemented in nt.c
32288
32289 * fileio.c (Ffile_readable_p): Conditionalized declared never used
32290 variables.
32291 (Fexpand_file_name): Ditto.
32292 (check_executable): Ditto.
32293
32294 * lread.c (parse_integer): Eliminated a warning resulted from
32295 applying unary minus to unsigned int.
32296
32297 1998-03-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
32298
32299 * eldap.c: (Fldap_search_internal): Print error information from
32300 errno when connection fails
32301
32302 1998-03-16 Hrvoje Niksic <hniksic@srce.hr>
32303
32304 * lread.c: New macro, to avoid exposing an lstream to Lisp error
32305 handlers.
32306 (reader_nextchar): Use it.
32307 (read1): Ditto.
32308
32309 1998-03-15 Kyle Jones <kyle_jones@wonderworks.com>
32310
32311 * cmds.c (Fforward_char): Dropped support for
32312 signal-error-on-buffer-boundary. Added details to
32313 doc string.
32314
32315 (Fbackward_char): Dropped support for
32316 signal-error-on-buffer-boundary by way of change to
32317 Fforward_char. Added details to doc string.
32318
32319 Definition of signal-error-on-buffer-boundary moved to
32320 lisp/simple.el.
32321
32322 * window.c (Fscroll_up): Dropped support for
32323 signal-error-on-buffer-boundary. Added details to
32324 doc string.
32325
32326 (Fscroll_down): Dropped support for
32327 signal-error-on-buffer-boundary. Added details to doc
32328 string.
32329
32330 1998-03-15 Kyle Jones <kyle_jones@wonderworks.com>
32331
32332 * redisplay-tty.c (tty_clear_frame): Record that the
32333 real location of teh cursor has been moved to 0,0.
32334 Failure to do this makes the display code believe the
32335 cursor is in a place where it is not.
32336
32337 1998-03-15 Kyle Jones <kyle_jones@wonderworks.com>
32338
32339 * console.h: Added set_final_cursor_coords method to console
32340 struct.
32341
32342 * console-tty.h: Added final_cursor_x and final_cursor_y
32343 slots to console struct. Added CONSOLE_TTY_FINAL_CURSOR
32344 macros to access them.
32345
32346 * redisplay.c (create_text_block): No longer
32347 turn off the cursor if computing a block when
32348 cursor_in_echo_area is 0 and the echo area is
32349 inactive. Needed so that the cursor will not be
32350 frozen in the minibuffer when cursor_in_echo_area
32351 is non-zero.
32352
32353 * redisplay-output.c (redisplay_move_cursor): Don't
32354 bail if we're moving the cursor in a selected
32355 minibuffer window. Needed so that simple cursor
32356 optimization can be done in the minibuffer even when
32357 cursor_in_echo_area is non-zero.
32358
32359 (redraw_cursor_in_window): Set final cursor coordinates
32360 as a special case for cursor_in_echo_area != 0, since
32361 the buffer switching between minibuffer and echo area
32362 buffer seems to confuse the normal cursor positiong
32363 code otherwise. Set final cursor coordinates in the
32364 general case before calling output_display_line.
32365
32366 * redisplay-tty.c: New function tty_set_final_cursor_coords.
32367
32368 (tty_output_end): Set logical cursor position to the final
32369 cursor position as specified in CONSOLE_TTY_CURSOR_{X,Y},
32370 and then go to it.
32371
32372 (tty_redisplay_shutdown): Changed code to use
32373 tty_set_final_cursor_coords() to go to the bottom
32374 left of the screen instead of using cmgoto()
32375
32376 (console_type_create_redisplay_tty): Declare that tty
32377 consoles have the set_final_cursor_coords method.
32378
32379 1998-03-13 Hrvoje Niksic <hniksic@srce.hr>
32380
32381 * emacs.c (main_1): Avoid snprintf(); allocate the buffer
32382 dynamically.
32383
32384 1998-03-13 P. E. Jareth Hein <jareth@camelot-soft.com>
32385
32386 * glyphs-x.c (png_instantiate): Added in override support
32387 for png backgrounds.
32388
32389 1998-03-13 P. E. Jareth Hein <jareth@camelot-soft.com>
32390
32391 * glyphs-x.c (png_instantiate): Fixed a bug that was causing
32392 overruns when attempting to display transparent pngs
32393
32394 1998-03-13 P. E. Jareth Hein <jareth@camelot-soft.com>
32395
32396 * glyphs-x.c (png_instantiate): Fix brainfart in error handling code.
32397
32398 1998-03-13 SL Baur <steve@altair.xemacs.org>
32399
32400 * emacs.c (main_1): Guard call to snprintf.
32401
32402 * config.h.in: Add HAVE_SNPRINTF.
32403
32404 1998-03-13 Kirill M. Katsnelson <kkm@kis.ru>
32405
32406 * event-stream.c (init_event_stream): Initialize mswindows event
32407 loop in stream mode if no other window systems available. Thanks
32408 to Darryl Okahata.
32409
32410 1998-03-04 Kirill M. Katsnelson <kkm@kis.ru>
32411
32412 * alloc.c (garbage_collect_1): Removed #ifndef WINDOWSNT around
32413 mark_profiling_info().
32414
32415 1998-03-11 SL Baur <steve@altair.xemacs.org>
32416
32417 * console-tty.c (Fset_console_tty_coding_system): Guard against
32418 terminal-coding-system being left unitialized by a locale.
32419 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
32420
32421 1998-03-11 P. E. Jareth Hein <jareth@camelot-soft.com>
32422
32423 * config.h.in: Added in new feature check HAVE_VSNPRINT to check
32424 for safe ways to deal with vsprintf and friends.
32425
32426 * glyphs-x.c (gif_instantiate): Changed gif support to call external
32427 library Giflib 3.1. Altered GIF/JPEG/PNG formats to use new EImage
32428 format for dealing with images to better support color handling, and
32429 facilitate the change to a device-neutral implementation. Added TIFF
32430 support.
32431
32432 * Makefile.in.in: Removed all gif related files
32433
32434 * emacs.c (main_1): Removed reference to init_gif_err
32435 * symsinit.h: ditto
32436
32437 * dgif_lib.c: Removed from the source distribution
32438 * gif_err.c: ditto
32439 * gif_lib.h: ditto
32440 * gifalloc.c: ditto
32441
32442 Mon Mar 09 13:00:55 1998 Andy Piper <andyp@parallax.co.uk>
32443
32444 * file-coding.c: warning elimination
32445
32446 * ntplay.c: new file. basic implementation of sound support.
32447
32448 * redisplay-msw.c (mswindows_update_dc): cachel bug is gone so we
32449 don't need this code under cygwin.
32450
32451 * sheap.c: need large heap slop for byte compiling with three
32452 display types.
32453
32454 * sound.c: eliminate warnings. enable sound under mswindows.
32455
32456 * s/cygwin32.h: miscellaneous updates for sound support.
32457
32458 1998-03-09 SL Baur <steve@altair.xemacs.org>
32459
32460 * config.h.in: Add BITMAPDIR.
32461
32462 * glyphs-x.c (locate_pixmap_file): Assume BITMAPDIR is a
32463 colon-separated path.
32464
32465 * emacs.c (main_1): Initialize dll support with the path the
32466 binary.
32467 (make_arg_list_1): Ditto.
32468
32469 * sysdll.h: Add legalese.
32470 * sysdll.c: Ditto.
32471
32472 * sysdll.c: sysdll.h needs to be included with double quotes not
32473 angle brackets.
32474 Use RTLD_GLOBAL as an open flag if it exists.
32475
32476 1998-03-09 Martin Buchholz <Martin Buchholz <martin@xemacs.org>>
32477
32478 * eldap.c (Fldap_search_internal): call garbage_collect_1 instead
32479 of Fgarbage_collect. The two are identical except the latter
32480 generates some `fresh' garbage :)
32481
32482 1998-03-09 SL Baur <steve@altair.xemacs.org>
32483
32484 * keymap.c: Add symbols for mouse-4 and mouse-5.
32485 (define_key_check_and_coerce_keysym): Mouse-4, Mouse-5 keysym support.
32486 (syms_of_keymap): Ditto.
32487
32488 1998-01-26 Hrvoje Niksic <hniksic@srce.hr>
32489
32490 * marker.c (print_marker): Print marker's lheader.uid.
32491 (Fbuffer_has_markers_at): New function, synched with FSFmacs 20.2.
32492 (Fbuffer_has_markers_at): Disabled by default.
32493
32494 1998-01-25 Hrvoje Niksic <hniksic@srce.hr>
32495
32496 * sound.c (Fplay_sound_file): Place the result of continuable
32497 error back to FILE.
32498
32499 1998-03-09 SL Baur <steve@altair.xemacs.org>
32500
32501 * emacs.c, config.h.in: New DLL support.
32502 * sysdll.h, sysdll.c: New files.
32503 * dll.c: renamed from dlopen.c, use interface defined in sysdll.c.
32504 From William Perry <wmperry@aventail.com>
32505
32506 * eldap.h: Fix copyright.
32507 * eldap.c: Ditto.
32508
32509 1998-03-08 SL Baur <steve@altair.xemacs.org>
32510
32511 * Makefile.in.in: Add dependencies for process-unix.o.
32512
32513 1998-03-08 Kyle Jones <kyle_jones@wonderworks.com>
32514
32515 * glyphs-x.c (write_lisp_string_to_temp_file):
32516 Don't explicitly initialize conversion_out_dynarr, because
32517 doing so may cause it to be put into read-only space
32518 and modifying it later would make XEmacs crash.
32519
32520 1998-03-07 Kyle Jones <kyle_jones@wonderworks.com>
32521
32522 * events.h: Add do_backspace_mapping parameter to
32523 function prototype of character_to_event.
32524
32525 * events.c: Add fifth parameter to character_to_event to
32526 control the backspace mapping. In character_to_event map most
32527 characters that match tty-erase-char to the backspace keysym,
32528 but only if do_backspace_mapping paramter is non-zero.
32529
32530 (Fcharacter_to_event): Tell character_to_event() to DO
32531 backspace mapping.
32532
32533 * event-stream.c:
32534 (maybe_read_quit_event): Tell character_to_event() to DO
32535 backspace mapping.
32536
32537 (maybe_kbd_translate): Tell character_to_event() to DO backspace
32538 mapping.
32539
32540 (lookup_command_event): Tell character_to_event() to DO backspace
32541 mapping.
32542
32543 * event-unixoid.c:
32544 (read_event_from_tty_or_stream_desc): Tell character_to_event()
32545 to DO backspace mapping.
32546
32547 * keymap.c:
32548 (get_keyelt): Tell character_to_event() to NOT DO backspace
32549 mapping.
32550
32551 (define_key_parser): Tell character_to_event() to NOT DO backspace
32552 mapping.
32553
32554 (Fsingle_key_description): Tell character_to_event() to DO
32555 backspace mapping.
32556
32557 1998-03-04 Kirill M. Katsnelson <kkm@kis.ru>
32558
32559 * alloc.c (Fpurecopy): Do not mark symbols through
32560 Vpure_uninterned_symbol_table twice: hash (OBJ, nil) instead of
32561 (OBJ, OBJ).
32562
32563 1998-03-07 SL Baur <steve@altair.xemacs.org>
32564
32565 * emacs.c (shut_down_emacs): Disable forced auto-save in a crash.
32566 It causes more problems than it solves.
32567
32568 1998-03-02 Greg Klanderman <greg@alphatech.com>
32569
32570 * window.c (Fwindow_displayed_pixel_height) New function.
32571 (Fenlarge_window_pixels): New function.
32572 (Fshrink_window_pixels): New function.
32573 (window_displayed_pixel_height): New, helper for
32574 Fwindow_displayed_pixel_height.
32575 (change_window_height): Add `inpixels' argument.
32576 (syms_of_window): 3 new DEFSUBR's.
32577
32578 Thu Mar 05 12:01:35 1998 Andy Piper <andyp@parallax.co.uk>
32579
32580 * redisplay-msw.c (mswindows_output_cursor): separate getting
32581 cachel index from retrieving cachel to work around apparent bug in
32582 gcc.
32583
32584 1998-03-06 Kyle Jones <kyle_jones@wonderworks.com>
32585
32586 * events.c (character_to_event): The tty_erase_char test
32587 doesn't do anything because it's in the wrong place.
32588 Moved it to where it can take effect.
32589
32590 * dired.c (Fdirectory_files): Initialize GCPRO'ed variable.
32591
32592 * events.c (character_to_event): Never map '(control
32593 foo) to QKbackspace. Only map ASCII 8 to QKbackspace;
32594 don't map any other key.
32595
32596 1998-03-05 Kyle Jones <kyle_jones@wonderworks.com>
32597
32598 * src/redisplay-output.c (redisplay_move_cursor): Bail if
32599 cursor_in_echo_area is non-zero and we're fiddling
32600 with the cursor in a minibuffer window, since that is a
32601 special case that is handled elsewhere and this function
32602 need not handle it. Return 1 so the caller will assume we
32603 succeeded.
32604
32605 Wed Mar 04 08:55:12 1998 Andy Piper <andyp@parallax.co.uk>
32606
32607 * device.c (init_global_resources): compile in based on window
32608 system not just x.
32609
32610 * console.c (select_console_1): add mswindows console type.
32611
32612 1998-03-04 Kyle Jones <kyle_jones@wonderworks.com>
32613
32614 * redisplay-output.c (redisplay_redraw_cursor): Redraw
32615 the cursor in the minibuffer window if cursor_in_echo_area
32616 is non-zero.
32617
32618 Wed Mar 04 08:55:12 1998 Andy Piper <andyp@parallax.co.uk>
32619
32620 * emacs.c (main_1): predicate display_use to mswindows only if x
32621 is not already selected.
32622
32623 * event-msw.c: comment out non-code for HAVE_TOOLBAR case. don't
32624 compile debug_process_finalisation if x is compiled in.
32625
32626 * event-stream.c (init_event_stream): don't make X and mswindows
32627 mutually exclusive. Select msw event loop if started that way,
32628 X/tty event loop otherwise.
32629
32630 * frame.h: protect toolbar #defines from assuming ints are in
32631 toolbar_data. This happens if you have two display types compiled
32632 in and one supports toolbars and the other doesn't.
32633
32634 * s/cygwin32.h: warning elimination.
32635
32636 1998-03-03 SL Baur <steve@altair.xemacs.org>
32637
32638 * editfns.c (Ftemp_directory): New function.
32639 From Glynn Clements <glynn@sensei.co.uk>
32640
32641 * editfns.c (Ftemp_directory): Use build_ext_string.
32642
32643 1998-03-02 Martin Buchholz <Martin Buchholz <martin@xemacs.org>>
32644
32645 * symsinit.h: add prototype for syms_of_dlopen
32646
32647 1998-03-02 Kyle Jones <kyle_jones@wonderworks.com>
32648
32649 * window.c (save_window_save): save value of
32650 default_toolbar_height slot.
32651
32652 (Fset_window_configuration): restore value of
32653 default_toolbar_height slot.
32654
32655 Fri Feb 20 21:22:34 1998 Darryl Okahata <darrylo@sr.hp.com>
32656
32657 * "Fast" dired-in-C enhancements for Windows 95/NT:
32658
32659 * ntproc.c:
32660 * device-msw.c:
32661 Moved definition of `Vwin32_downcase_file_names' from ntproc.c
32662 to device-msw.c, and renamed it to
32663 `Vmswindows_downcase_file_names'. It doesn't really belong
32664 here, but I didn't want to create a new file, just for this one
32665 variable. This fixes a bug in `expand-file-name' that caused
32666 all returned filenames to be lowercased (this was supposed to be
32667 conditional upon Vmswindows_downcase_file_names, but wasn't, as
32668 it was never initialized due to obsolescence of ntproc.c). This
32669 variable is also used by the dired-in-C enhancements.
32670
32671 Also moved and renamed `Vwin32_get_true_file_attributes' to
32672 `Vmswindows_get_true_file_attributes'. This affects stat() in
32673 nt.c, and so it really does need to be initialized.
32674
32675 However, there's still one more variable in ntproc.c that still
32676 needs to be moved/renamed, `Vwin32_pipe_read_delay', but I
32677 didn't touch this, as this is a subprocess issue.
32678
32679 * dired-msw.c: New file for dired-in-C enhancements for
32680 Windows 96/NT.
32681
32682 * emacs.c: Initialization calls for dired-msw.c.
32683
32684 * nt.c (convert_time): make into public function (dired-in-C
32685 functions use it).
32686
32687 1998-02-28 Kirill M. Katsnelson <kkm@kis.ru>
32688
32689 * sysdep.h: Prototypes for the above 2 functions
32690
32691 * sysdep.c (get_pty_max_bytes): Moved here from process.c
32692 (get_eof_char): Ditto
32693
32694 * symsinit.h: Prototypes for initialization functions called from
32695 emacs.c: process_type_create_mswindows, process_type_create_unix,
32696 vars_of_process_mswindows, vars_of_process_unix.
32697
32698 * procimpl.h: New file. Includes prototypes and other stuff shared
32699 by process.c and implementation files (process-unix.c,
32700 process-msw.c in future).
32701
32702 * process.h (PROCESS_LIVE_P): Changed to test against stream
32703 existence, to avoid dependency on fds.
32704
32705 * process.c: Only process implementation independent code is now
32706 in this file. Moved the rest into process-unix.c
32707 (Fopen_network_stream_internal): Added 5th parameter, protocol
32708 family. Defaults to 'tcp/ip when unspecified.
32709
32710 * process-unix.c: New file, implementation of UNIX
32711 processes. UNIX-specific code from the old process.c is here.
32712
32713 * Lstream.c (Lstream_was_blocked_p): New function. Replaces
32714 filedesc_stream_was_blocked_p.
32715 (filedesc_was_blocked_p): Implementation of the method for
32716 filedesc stream
32717 (filedesc_stream_set_pty_flushing): set pty_flushing flag
32718 (filedesc_stream_fd): New function, returns fd of the stream
32719
32720 * lstream.h (lstream_implementation): was_blocked_p is a new
32721 optional lstream method.
32722 Added prototypes for functions in lstream.c
32723
32724 * lisp.h: (USID): Typedef for Unique Stream IDentifier. Reuqired
32725 by the new code in many places.
32726
32727 * events.h (struct event_stream): Declaration of the two mandatory
32728 event stream methods, required by process support.
32729
32730 * event-unixoid.c (event_stream_unixoid_create_stream_pair):
32731 Implementation of the method shared by TTY and X
32732 (event_stream_unixoid_delete_stream_pair): Ditto
32733
32734 * event-tty.c (emacs_tty_next_event): get_process_from_usid()
32735 instead of get_process_from_fd()
32736 (emacs_tty_create_stream_pair): New events tream method
32737 (emacs_tty_delete_stream_pair): New events tream method
32738
32739 * event-stream.c (event_stream_create_stream_pair): New event
32740 stream method
32741 (event_stream_delete_stream_pair): Ditto
32742
32743 * event-msw.c (debug_process_finalization): Although if0'ed,
32744 removed obsolete code
32745
32746 * event-Xt.c (emacs_Xt_create_stream_pair): Implementation if the
32747 new event stream method
32748 (emacs_Xt_delete_stream_pair): Ditto
32749
32750 * emacs.c (main_1): Added calls to process_type_create*() and
32751 vars_of_process()
32752
32753 * callproc.c: (many places): removed DOS support
32754
32755 1998-03-02 SL Baur <steve@altair.xemacs.org>
32756
32757 * process.c (Fprocess_status): Restore old behavior -- call
32758 Fget_process on a string argument.
32759
32760 Mon Mar 02 11:37:36 1998 Andy Piper <andyp@parallax.co.uk>
32761
32762 * file-coding.h:
32763 * file-coding.c: more cleanup by only including iso2022 stuff in a
32764 mule build. (setup_eol_coding_systems) move (T) -> :T etc.
32765
32766 * event-stream.c: (Fopen_dribble_file) Qescape_quoted only exists in
32767 mule.
32768
32769 * md5.c: remove warning.
32770
32771 * unexcw.c: move .idata -> .rdata for cygwin b19.
32772
32773 * Makefile.in.in: add msw dependencies.
32774
32775 * sheap.c: up static heap parameters.
32776
32777 * s/cygwin32.h: add prototypes to eliminate warnings.
32778
32779 1998-03-02 SL Baur <steve@altair.xemacs.org>
32780
32781 * Makefile.in.in (blddir): Import blddir.
32782 Add blddir to dump-time load-path.
32783
32784 * nas.c (play_sound_data): Add braces for clarity.
32785 (play_sound_file): Ditto.
32786
32787 1998-03-01 SL Baur <steve@altair.xemacs.org>
32788
32789 * alloc.c: Boost static vector size for breathing room. Double
32790 the size if we may be dynamically linking.
32791
32792 * dlopen.c (Fdl_open): Use RTLD_GLOBAL flag on dlopen if available.
32793
32794 * device-x.c (x_init_device): Hardcode `Emacs' as the filename
32795 containing localized menubars.
32796
32797 * config.h.in: Add HAVE_UNIX_PROCESSES for 20.6.
32798
32799 * alloc.c (init_alloc_once_early): Document movement of mmap
32800 enabling code to emacs.c.
32801
32802 * Makefile.in.in: Update FILE_CODING dependencies.
32803
32804 1998-03-01 Kyle Jones <kyle_jones@wonderworks.com>
32805
32806 * file-coding.c (setup_eol_coding_systems): Don't try
32807 to copy the mnemonic property of the coding system
32808 unless it is a string.
32809
32810 (allocate_coding_system): Initialize coding system
32811 struct member 'mnemonic' to Qnil. Leaving its value
32812 set to 0 causes a crash.
32813
32814 1998-03-01 SL Baur <steve@altair.xemacs.org>
32815
32816 * file-coding.c (DEFINE_SUB_CODESYS): Undo previous patch.
32817
32818 1998-03-01 Kyle Jones <kyle_jones@wonderworks.com>
32819
32820 * callint.c: Read coding system names for the 'z' and
32821 'Z' interactive specs if FILE_CODING or MULE is defined.
32822 Previously, coding system names were read only if MULE was
32823 defined.
32824
32825 * file-coding.h: Removed charset-based category types
32826 from enumerated coding_category_type if not building
32827 with MULE.
32828
32829 * file-coding.c (syms_of_mule_coding): Don't define
32830 symbols for charset-based coding systems unless
32831 building with MULE.
32832
32833 1998-02-28 SL Baur <steve@altair.xemacs.org>
32834
32835 * alloc.c (garbage_collect_1): Guard call to selected_frame so it
32836 cannot be called during GC.
32837 - Update current count of staticpro'ed objects.
32838
32839 1998-02-28 Kyle Jones <kyle_jones@wonderworks.com>
32840
32841 * menubar.c (Fmenu_find_real_submenu): Document the
32842 "use struct as array" hack. Convert struct pointer to
32843 array to avoid compiler warnings.
32844
32845 1998-02-26 SL Baur <steve@altair.xemacs.org>
32846
32847 * buffer.c (complex_vars_of_buffer): Fix DOC string for
32848 buffer-file-coding-system.
32849
32850 1998-02-26 Damon Lipparelli <lipp@primus.com>
32851
32852 * symsinit.h: syms_of_ldap() is actually syms_of_eldap().
32853
32854 * eldap.c: removed duplicates.
32855
32856 1998-02-26 SL Baur <steve@altair.xemacs.org>
32857
32858 * file-coding.c (setup_eol_coding_systems): Disable SUB_CODESYS
32859 feature -- it causes stack corruption in Mule.
32860
32861 1998-02-27 Kirill M. Katsnelson <kkm@kis.ru>
32862
32863 * events.c (character_to_event): The code which guesses TTY
32864 backspace character is conditionalized on HAVE_TTY
32865
32866 1998-02-26 SL Baur <steve@altair.xemacs.org>
32867
32868 * console.c (complex_vars_of_console): Guard tty_erase_char with
32869 HAVE_TTY.
32870 * conslots.h: Ditto.
32871
32872 1998-02-25 SL Baur <steve@altair.xemacs.org>
32873
32874 * events.c (character_to_event): Correct operations on tty_erase_char.
32875 From Martin Buchholz <martin@xemacs.org>
32876
32877 * file-coding.c (setup_eol_coding_systems): Unix/Binary sub
32878 coding-system display should default to the empty string.
32879 - Use '(t)' for Mac/Text mode.
32880
32881 Tue Feb 17 12:50:37 1998 Andy Piper <andyp@parallax.co.uk>
32882
32883 * Makefile.in.in: make sure clean removes msw executables. This
32884 prevents the build stalling after puresize has been adjusted. Add
32885 file-coding.o to list of objects.
32886
32887 * buffer.c:
32888 * buffer.h:
32889 * bufslots.h:
32890 * callproc.c:
32891 * console-tty.c:
32892 * emacs.c:
32893 * event-Xt.c:
32894 * event-stream.c:
32895 * glyphs-x.c:
32896 * lread.c:
32897 * md5.c:
32898 * mule-canna.c:
32899 * mule-ccl.c:
32900 * process.c:
32901 * redisplay-x.c:
32902 * redisplay.c: remove #ifdef MULE's from stuff that relates to
32903 file-coding. include file-coding.h rather than mule-coding.h
32904 where applicable.
32905
32906 * mule-coding.c: #if 0 out functionality until file-coding is
32907 split up.
32908
32909 * file-coding.h:
32910 * file-coding.c: new files. copies of mule-coding.h and
32911 mule-coding.c. The mule case is unchanged. The non-mule case
32912 removes coding relating to other charsets - iso2022, big5, sjis,
32913 ccl. (setup_eol_coding_systems) add the eol type to the subsidiary
32914 coding system mnemonics so that it shows on the modeline,
32915 currently (B) for unix style (T) for mac and dos styles.
32916
32917 * fileio.c: remove #ifdef MULE's from stuff that relates to
32918 file-coding. include file-coding.h rather than mule-coding.h where
32919 applicable. FSFMACS_SPEEDY_INSERT is gone since file coding is
32920 always on.
32921
32922 * sheap.c: (more_static_core) remove spurious \n's from error
32923 message.
32924
32925 1998-02-25 Kyle Jones <kyle_jones@wonderworks.com>
32926
32927 * lisp-disunion.h: Added XUINT macro.
32928
32929 * lisp-union.h: Added XUINT macro.
32930
32931 * data.c (Flsh): Used XUINT instead of XINT to
32932 extract the value of the first argument to avoid sign
32933 extension of the result.
32934
32935 1998-02-25 SL Baur <steve@altair.xemacs.org>
32936
32937 * s/decosf4-0.h: Add -D_BSD.
32938 From Tore Olsen <toreo@tihlde.hist.no>
32939
32940 1998-02-21 Greg Klanderman <greg@alphatech.com>
32941
32942 * device-x.c (x_init_device): allow `x-emacs-application-class' to
32943 be nil prior to connecting to the X server. When this is the
32944 case, the application class is chosen based on whether the user
32945 has any resources with application class `XEmacs' set in the
32946 resource database.
32947 (vars_of_device_x): make x-emacs-application-class nil by default
32948 and document new behavior in its doc string.
32949
32950 1998-02-23 Aki Vehtari <Aki.Vehtari@hut.fi>
32951
32952 * menubar.c: Doc fix: suffix can be form.
32953
32954 * gui.c (gui_parse_item_keywords): Allow button descriptors
32955 at least 2 long.
32956 (gui_item_display_flush_left): Suffix can be form.
32957
32958 * gui-x.c (button_item_to_widget_value): Allow button descriptors
32959 at least 2 long.
32960 (button_item_to_widget_value): Suffix can be form.
32961
32962 1998-02-24 SL Baur <steve@altair.xemacs.org>
32963
32964 * s/sol2.h: define HAVE_GETLOADAVG for late edition Solaris
32965 From Georg Nikodym <georgn@Canada.Sun.COM>
32966
32967 1998-02-24 Didier Verna <didier@xemacs.org>
32968
32969 * redisplay.c (generate_fstring_runes): fixed the modeline
32970 scrolling lossage (the % constructs appearing in the
32971 modeline). Now that we can have negative positions and boundaries,
32972 max_pos == -1 can't mean 'no limit' anymore. Me, stupido!
32973 (add_string_to_fstring_db_runes): Ditto.
32974 (add_glyph_to_fstring_db_runes): Ditto.
32975
32976 1998-02-19 Jim Radford <radford@robby.caltech.edu>
32977
32978 * sysdep.c: Don't clobber SIGIO event flags we don't care about.
32979 * device.h: removed old_sigio_flag, sigio_enabled from device
32980 Secretly (on Solaris) F_SETOWN calls I_SETSIG. We unknowingly
32981 clobbered the changes so restoring the owner would cause
32982 F_SETOWN's I_SETSIG to fail therby causing an annoying syslog
32983 message. Changed FASYNC version to match (untested).
32984
32985 1998-02-22 SL Baur <steve@altair.xemacs.org>
32986
32987 * emacs.c (main): Enable mmap for glibc-2.1 and Linux libc5.
32988 Enable mmap only for non-Mule for glibc-2.0.
32989
32990 1998-02-21 SL Baur <steve@altair.xemacs.org>
32991
32992 * config.h.in: Define _NO_MALLOC_WARNING_ if using dlmalloc from
32993 Linux libc5.
32994
32995 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
32996
32997 * emacs.c: declare hooks only if !DOUG_LEA_MALLOC since the
32998 declaration conflicts with glibc's own.
32999
33000 1998-02-19 SL Baur <steve@altair.xemacs.org>
33001
33002 * config.h.in: Remove HAVE_TERM, add USE_MINIMAL_TAGBITS and
33003 USE_INDEXED_LRECORD_IMPLEMENTATION.
33004
33005 * process.c (Fopen_network_stream_internal): Remove TERM support.
33006
33007 * sysproc.h: Remove TERM support.
33008
33009 1998-02-20 Kazuyuki IENAGA <ienaga@jsys.co.jp>
33010
33011 * input-method-xfs.c: add setlocale(LC_CTYPE, "") right after
33012 setlocale(LC_NUMERIC, "C"). Because, without this, the LC_CTYPE
33013 got a side effect of LC_NUMERIC then set to "C".
33014
33015 1998-02-19 SL Baur <steve@altair.xemacs.org>
33016
33017 * emacs.c (main): Enable mmap'ing with XEmacs/Mule.
33018
33019 * redisplay.c (add_string_to_fstring_db_runes): Fix infloop
33020 problem with long modelines and glyphs.
33021
33022 * unexelf.c: The proper way to check for GNU libc is with __GLIBC__.
33023 Suggested by Andreas Jaeger <aj@arthur.rhein-neckar.de>
33024
33025 1998-02-18 SL Baur <steve@altair.xemacs.org>
33026
33027 * Makefile.in.in: Remove all references to prefix-args.
33028
33029 1998-02-18 Kirill M. Katsnelson <kkm@kis.ru>
33030
33031 * sysdep.c (mswindows_set_errno): New function
33032 (mswindows_set_last_errno): Ditto
33033 These convert Win32 error code to ANSI C errno.
33034
33035 * sysdep.h: Prototypes for the above 2 functions.
33036
33037 * menubar-msw.c (vars_of_menubar_mswindows): Fprovide
33038 ('mswindows-menubar) removed. See the entry of 1998-01-03
33039
33040 * process.c: FSFmacs proc_buffered_char static array
33041 #if0'ed in 2 places. It is never used.
33042
33043 1998-02-01 Kyle Jones <kyle_jones@wonderworks.com>
33044
33045 * window.c (save_window_save): Save window-cached
33046 speciifer values.
33047 (saved_window_equal): Added comparisons of window-cached
33048 specifier values.
33049 (Fset-window-configuration): Restore window-cached
33050 specifier values.
33051
33052 1998-02-18 Didier Verna <didier@xemacs.org>
33053
33054 * modeline.el (mouse-drag-modeline): added the horizontal
33055 scrolling functionality for the modeline. This could still be
33056 improved, for instance when the mouse goes out of the modeline.
33057
33058 1998-02-18 Didier Verna <didier@xemacs.org>
33059
33060 * redisplay.c:
33061 (generate_formatted_string_db): new flag to distinguish a modeline
33062 string from a title or icon one, plus use a negative first pos to
33063 indicate the modeline hscroll amount.
33064 (add_string_to_fstring_db_runes): completely rewrote this function
33065 to handle the case of scrolled modelines.
33066 (add_glyph_to_fstring_db_runes): handle the case of scrolled
33067 modelines.
33068
33069 * window.c:
33070 (Fmodeline_hscroll): new function to return the modeline current
33071 horizontal scroll amount.
33072 (Fset_modeline_hscroll): new function to scroll the modeline
33073 horizontaly.
33074 Plus some updates related to this new functionality (windows
33075 configuration, notably).
33076
33077 * window.h (struct window): added the new field modeline_hscroll.
33078
33079 1998-02-18 SL Baur <steve@altair.xemacs.org>
33080
33081 * m/alpha.h:
33082 * unexelf.c: Synched with Emacs 20.2.
33083 From Aki Vehtari <Aki.Vehtari@hut.fi>
33084
33085 * emacs.c (main): Don't call __sbrk().
33086 * gmalloc.c (__sbrk): Ditto.
33087 Suggested by Andreas Jaeger <aj@arthur.rhein-neckar.de>
33088
33089 1998-02-17 SL Baur <steve@altair.xemacs.org>
33090
33091 * console-tty.c (Fset_console_tty_coding_system): New function.
33092 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
33093
33094 1998-02-15 SL Baur <steve@altair.xemacs.org>
33095
33096 * ralloc.c (init_ralloc): DOUG_LEA_MALLOC support.
33097 (r_alloc_reinit): Ditto.
33098 [All non-HAVE_MMAP code]: Synched with Emacs 20.2.
33099
33100 * emacs.c: Synch DOUG_LEA_MALLOC support from Emacs 20.2.
33101 (main): Ditto.
33102 Add LINUX_SBRK_BUG workaround, what is it?
33103 (Fdump_emacs): DOUG_LEA_MALLOC support from Emacs 20.2.
33104
33105 * alloc.c: Synch DOUG_LEA_MALLOC support from Emacs 20.2.
33106 (init_alloc_once_early): Ditto.
33107
33108 * config.h.in: Add DOUG_LEA_MALLOC symbol.
33109
33110 * unexfreebsd.c (run_time_remap): Change printf format string to
33111 match parameters given.
33112
33113 1998-02-14 SL Baur <steve@altair.xemacs.org>
33114
33115 * s/sco5.h: Define LIB_GCC as -lgcc for gcc 2.8 and egcs.
33116 Suggested by Robert Lipe <robertl@dgii.com>
33117
33118 1998-02-14 Martin Buchholz <martin@xemacs.org>
33119
33120 * event-Xt.c (x_reset_key_mapping):
33121 * device-x.c:
33122 (x-keysym-on-keyboard-p):
33123 (x-keysym-on-keyboard-sans-modifiers-p):
33124 Use x-keysym-on-keyboard-sans-modifiers-p instead of
33125 x-keysym-on-keyboard-p to detect backspace.
33126 Use symbols instead of strings (now deprecated) with x-keysym-*-p.
33127 Clean up symbols used with dead keys, checking Linux and solaris
33128 keysyms.
33129 Simplify x-win-*.el using above methods.
33130 Change documentation for x-keysym-*-p functions.
33131
33132 1998-02-13 SL Baur <steve@altair.xemacs.org>
33133
33134 * unexelfsgi.c: Various changes.
33135 From Olivier Galibert <galibert@pobox.com>
33136
33137 * s/freebsd.h: Avoid redefining BSD.
33138 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
33139
33140 * extents.c (extent_fragment_update): Break up a line to avoid a
33141 Digital UNIX 3.2g C compiler bug.
33142 From Tonny Madsen <tma@nettest.dk>
33143
33144 * process.c (create_process): Restore save_environ hackery.
33145
33146 1998-02-10 SL Baur <steve@altair.xemacs.org>
33147
33148 * emacsfns.h: Remove mocklisp declarations.
33149
33150 * redisplay-msw.c (mswindows_update_dc): Enable evil kludge for
33151 cygwin.
33152 From Andy Piper <andyp@parallax.co.uk>
33153
33154 1998-02-09 SL Baur <steve@altair.xemacs.org>
33155
33156 * menubar-msw.c (vars_of_menubar_mswindows): Fix patch failure.
33157 Suggested by: kny@tekla.fi
33158
33159 * data.c (Fold_eq): PC-ize.
33160
33161 * chartab.c: PC-ize.
33162
33163 * window.c (toplevel): PC-ize.
33164 (syms_of_window): Ditto.
33165
33166 * search.c (Freplace_match): PC-ize.
33167
33168 * lread.c: PC-ize.
33169
33170 * buffer.c (Fbuffer_enable_undo): PC-ize.
33171 (Fbuffer_disable_undo): ditto.
33172
33173 * eval.c (return_from_signal): PC-ize.
33174
33175 * casetab.c: PC-ize.
33176
33177 * callproc.c (Fcall_process_internal): PC-ize.
33178
33179 1998-02-02 Kirill M. Katsnelson <kkm@kis.ru>
33180
33181 * gui.h (struct gui_item): Menu item, submenu or GUI button
33182 properties are abstracted into this new structure.
33183 Added prototypes for the following functions
33184
33185 * gui.c (gui_item_init): New function
33186 (gui_item_add_keyval_pair): Ditto
33187 (gui_parse_item_keywords): Ditto
33188 (gui_item_active_p): Ditto
33189 (gui_item_included_p): Ditto
33190 (gui_item_display_flush_left): Ditto
33191 (gui_item_display_flush_right): Ditto. The above listen new
33192 functions manipulate on properties common to menu items and GUI
33193 buttons.
33194
33195 * menubar.c (current_frame_menubar): Moved from menubar-msw.c
33196 (menu_parse_submenu_keywords): New function
33197 (Fmenu_find_real_submenu): Ditto, lisp accessible. The last two
33198 functions operate on menu properties stored in struct gui_item,
33199 but are specific to menus only.
33200
33201 * menubar.h: Prototypes for the above functions.
33202
33203 * menubar-msw.c: Modified to utilize struct gui_item instead of
33204 plists, to reduce garbage. Suggested by Ben Wing.
33205 Unreachable menus are fixed.
33206
33207 1998-01-03 Kirill M. Katsnelson <kkm@kis.ru>
33208
33209 * menubar-msw.c (allocate_menu_item_id): Added third parameter to
33210 hash, suffix. Menus tend to put non-localizable items into suffix
33211 with empty name.
33212 (update_frame_menubar_maybe): top_level_menu is now set here.
33213 (mswindows_popup_menu): Ditto. It was incorrect to set it from
33214 populate.
33215 (vars_of_menubar_mswindows): Fprovide ('mswindows-menubar) removed:
33216 (featurep (and 'mswindows 'menubars)) tests the same.
33217 (mswindows_update_frame_menubars): update_..._maybe () now called
33218 only if frame->menubar_changed is set. Is it right to patch
33219 menubar.c instead?
33220
33221 1998-02-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
33222
33223 * objects-msw.c:
33224 Updated color database to X11R6. Also added support for
33225 "#RRRGGGBBB" and "#RRRRGGGGBBBB" in addition to "#RRGGBB".
33226
33227 1998-02-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
33228
33229 * console.h:
33230 * console-stream.c:
33231 * redisplay.c:
33232 * redisplay-msw.c:
33233 * redisplay-tty.c:
33234 * redisplay-x.c:
33235 Added the frame as a parameter to the text_width device
33236 method.
33237
33238 * redisplay-msw.c:
33239 Support for proportional fonts.
33240
33241 1998-02-07 Hrvoje Niksic <hniksic@srce.hr>
33242
33243 * window.c (map_windows): Don't return the value of map_windows_1.
33244 (map_windows): If F is NULL, map through all the windows.
33245 (mark_windows_in_use): Use map_windows(); made it static.
33246 (mark_windows_in_use_closure): New function.
33247
33248 1998-02-01 Hrvoje Niksic <hniksic@srce.hr>
33249
33250 * alloc.c (Fpurecopy): Check for non-`nil'-ness instead of
33251 checking for Vobarray.
33252
33253 * dlopen.c (Fdl_open): Indirect FUNCTION explicitly, for clarity.
33254
33255 * elhash.c: Removed broken hashtable_hash().
33256
33257 1998-01-28 Hrvoje Niksic <hniksic@srce.hr>
33258
33259 * symbols.c (Fintern): Use Qt instead of the actual obarray.
33260 (init_symbols_once_early): Ditto.
33261
33262 1998-01-27 Hrvoje Niksic <hniksic@srce.hr>
33263
33264 * lisp.h (DO_REALLOC): Name the variable `do_realloc_newsize'
33265 instead of `newsize', to avoid name collisions.
33266
33267 1998-01-26 Hrvoje Niksic <hniksic@srce.hr>
33268
33269 * print.c (print_symbol): Be more wary about the contents of
33270 Vprint_gensym_alist.
33271
33272 1998-02-06 SL Baur <steve@altair.xemacs.org>
33273
33274 * emacs.c (Frun_emacs_from_temacs): Disable largely meaning-free
33275 purity/impurity summary. Compile with -DREPORT_PURE_USAGE to get
33276 it back.
33277
33278 * process.c (create_process): Unused variable elimination.
33279
33280 * lread.c (Fload_internal): Compiler warning suppression.
33281
33282 * alloc.c (report_pure_usage): Remove unused variable.
33283
33284 Wed Jan 28 13:41:22 1998 Andy Piper <andyp@parallax.co.uk>
33285
33286 * Makefile.in.in: add support for sheap-adjust.h generation for
33287 static heap.
33288
33289 Wed Jan 28 13:41:22 1998 Andy Piper <andyp@parallax.co.uk>
33290
33291 * Makefile.in.in: add sheap-adjust.h support, basically copied
33292 from puresize-adjust.h. predicate sheap.o on HEAP_IN_DATA. fix
33293 xemacs target slightly to not be a single shell command, this
33294 fixes an obscure bug in cygwin gmake.
33295
33296 * alloc.c (report_pure_usage): call sheap_adjust_h if HEAP_IN_DATA
33297 is defined.
33298
33299 * sysfile.h: add abstracted OPEN_BINARY, OPEN_TEXT etc defines. On
33300 Unix these are all 0 and have no effect. On systems defining
33301 O_BINARY these use it. WINDOWSNT is currently unaffected because
33302 there are individual #ifdefs in each source file, but with this
33303 change they could be removed.
33304
33305 * emacs.c:
33306 * doc.c:
33307 * lread.c:
33308 * process.c: generalize open() calls with OPEN_BINARY. Does
33309 nothing under Unix.
33310
33311 * emacs.c: predicate inclusion of windows.h on WINDOWSNT not
33312 _WIN32.
33313
33314 * process.c:
33315 * sysdep.c:
33316 * signal.c: predicate SIGIO stuff also on !BROKEN_SIGIO, this is
33317 required for building on cygwin32 b19 which has SIGIO that only
33318 works on sockets.
33319
33320 * fileio.c:
33321 * event-stream.c: generalize open() calls with OPEN_BINARY. Does
33322 nothing under Unix. Use open() instead of creat() to make this
33323 possible. use CREAT_MODE from sysfile.h
33324
33325 * config.h.in: add MULE_CODING, currently not used. add support
33326 for HAVE_A_OUT_H.
33327
33328 * elhash.c:
33329 * menubar-msw.c:
33330 * mule-ccl.c:
33331 * device-msw.c: warning elimination.
33332
33333 * event-msw.c: add undeclared Dde calls for cygwin.
33334
33335 * redisplay-msw.c: warning elimination under mule.
33336
33337 * gmalloc.c: make initalize() really do that. If HEAP_IN_DATA is
33338 defined catch free() & realloc() calls with addresses in the data
33339 space. __morecore calls more_static_core for temacs, when dumped
33340 switches to sbrk().
33341
33342 * console-msw.h: undef CONST after windows.h inclusion since this
33343 defines CONST. #ifdef out shellapi under cygwin.
33344
33345 * device-msw.c: include sysdep.h
33346
33347 * objects-msw.c: add dummy mswindows_font_spec_matches_charset and
33348 mswindows_find_charset_font so that we can build with mule.
33349
33350 * mem-limits: return -1 for get_lim_data() when HEAP_IN_DATA is
33351 defined.
33352
33353 * sheap.c: new file. defines sheap_adjust_h and more_static_core
33354 so that data space can be used by gmalloc before dumping when
33355 HEAP_IN_DATA is defined. beef up error message about what to do if
33356 sheap space runs out.
33357
33358 * sysdep.c: make start_of_data return something sensible for
33359 HEAP_IN_DATA.
33360
33361 * systime.h: don't use itimer stuff on cygwin b19.
33362
33363 * unexcw.c: new file. Full unexec() support for cygwin using the
33364 HEAP_IN_DATA setup provided by sheap.c and friends. No run-time
33365 remapping is performed. This could be generalized to support many
33366 platforms that use COFF. you need a.out.h from my website to build
33367 this. cygwin b19 will have this.
33368
33369 * s/cygwin32.h: fixed commentary. compile in unexcw.o for dumping
33370 support. removed irrelevent things. define BROKEN_SIGIO. remove
33371 include of windows.h. add correct process support defines, process
33372 support might work when non-blocking io is implemented in cygwin.
33373
33374 1998-02-02 P. E. Jareth Hein <jareth@camelot-soft.com>
33375
33376 * glyphs.c: Removed ImageMagick support, re-instituted the previous
33377 support for JPEG, GIF and PNG with the new color system.
33378
33379 1998-02-05 Olivier Galibert <galibert@pobox.com>
33380
33381 * unexelf.c: Fix alignment problems on Linux.
33382
33383 1998-02-01 Kyle Jones <kyle_jones@wonderworks.com>
33384
33385 * redisplay.c (redisplay_window): After outputting
33386 the window, invalidate its the line start cache if the
33387 we're displaying the minibuffer window and the echo
33388 area is active. The cache is only valid for the echo
33389 area buffer, and that buffer isn't associated with the
33390 minibuffer window anymore.
33391
33392 1998-01-31 SL Baur <steve@altair.xemacs.org>
33393
33394 * alloc.c (disksave_object_finalization): Additional checking for
33395 sanity when zeroing out unused portions of string_chars_block's.
33396 (Fpurecopy): Spelling fixes in comment.
33397 (PURESIZE_SLOP): Set default slop to 0.
33398
33399 1998-01-31 Kyle Jones <kyle_jones@wonderworks.com>
33400
33401 * chartab.c (make_char_table): Initialize mirror
33402 tables with Spunct in all the slots. Syntax table
33403 initialization doesn't touch slots for nonexistent
33404 characters sets. If character sets corresponding to
33405 those slots are created later Qnil values in the slots
33406 will cause crashes.
33407 (copy_char_table_entry): Return copy not original.
33408
33409 1998-01-28 Jonathon Harris <jhar@tardis.ed.ac.uk>
33410
33411 * msw-proc.c:
33412 * event-msw.h:
33413 * event-msw.c:
33414 * console-msw.h:
33415 Deleted the first two and merged them into the last two files.
33416
33417 * device-msw.c:
33418 * event-msw.c:
33419 * frame-msw.c:
33420 Added file-based drag and drop support. The "System/Open" DDE command
33421 is also implemented as if it were a drag and drop operation.
33422
33423 * emacsfns.h:
33424 * event-stream.c:
33425 * events.c:
33426 * events.h:
33427 * frame.c:
33428 * keymap.c:
33429 Replaced all "#ifdef HAVE_OFFIX_DND" with
33430 "#if defined(HAVE_OFFIX_DND) || defined(HAVE_MS_WINDOWS)"
33431
33432 * device.h: Added DEVICE_MSWINDOWS_P and related macros.
33433
33434 * objects-msw.c:
33435 * select-msw.c:
33436 Eliminated warnings.
33437
33438 * redisplay-msw.c: Changed color of "dead" box between scrollbars
33439 to windows' "button" color for compatibility with other windows apps.
33440
33441 1998-01-20 Stephen Turnbull <turnbull@sk.tsukuba.ac.jp>
33442
33443 * Makefile.in.in: move `rm puresize-adjust.h' from distclean
33444 to mostlyclean
33445
33446 1998-01-29 SL Baur <steve@altair.xemacs.org>
33447
33448 * Makefile.in.in (dlopen.o): Add dependencies.
33449
33450 * s/sunos4-0.h: Conditionalize use of broken-sun.h for old Gccs.
33451 Suggested by Amir J Katz <amir@ndsoft.com>
33452
33453 1998-01-28 SL Baur <steve@altair.xemacs.org>
33454
33455 * faces.c (init_device_faces): This function can call lisp.
33456
33457 1998-01-28 P. E. Jareth Hein <jareth@camelot-soft.com>
33458
33459 * mule-coding.h:
33460 * mule-coding.c: (determine_real_coding_system): removed the
33461 static declaration to allow reuse.
33462
33463 * md5.c (Fmd5): Rewrote to fully support MULE, as well as streamline
33464 the code.
33465
33466 * mule-ccl.c (ccl_driver): Set initial values of variables to shut up
33467 the compiler and to give better error message if a quit happens before
33468 any ccl_code is generated.
33469
33470 1998-01-28 SL Baur <steve@altair.xemacs.org>
33471
33472 * glyphs.c (allocate_glyph): This function can GC.
33473 Wrap GCPRO around unprotected function calls.
33474 (specifier_vars_of_glyphs): Comment change -- Can we GC here?
33475
33476 1998-01-27 SL Baur <steve@altair.xemacs.org>
33477
33478 * lread.c (Fload_internal): Add extra GCPRO around call to
33479 Fassoc.
33480 Enable purespace usage counts always.
33481
33482 * m/powerpc.h: Isolate changes for mklinux from AIX.
33483
33484 1998-01-27 Hrvoje Niksic <hniksic@srce.hr>
33485
33486 * symbols.c (init_symbols_once_early): Decreased default size of
33487 Vpure_uninterned_symbol_table to 50.
33488
33489 1998-01-27 SL Baur <steve@altair.xemacs.org>
33490
33491 * redisplay-x.c (x_output_string): Correction for handling underlined
33492 fonts when XGetFontProperty fails.
33493 From Chris Felaco <felaco@iatcmail.ed.ray.com>
33494
33495 1998-01-27 Kyle Jones <kyle_jones@wonderworks.com>
33496
33497 * alloc.c (Fpurecopy): Store symbols that aren't
33498 interned in Vobarray into Vpure_uninterned_symbol_table.
33499
33500 * symbols.c (init_symbols_once_early): Initialize
33501 Vpure_uninterned_symbol_table.
33502
33503 * emacsfns.h: Declare Vpure_uninterned_symbol_table.
33504
33505 1998-01-26 SL Baur <steve@altair.xemacs.org>
33506
33507 * alloc.c (report_pure_usage): New macro PURESIZE_SLOP to allow
33508 for extra pure space.
33509
33510 1998-01-23 SL Baur <steve@altair.xemacs.org>
33511
33512 * sound.c (Fplay_sound_file): Use NILP for comparison of
33513 Lisp_Object.
33514
33515 Wed Jan 21 10:49:47 1998 Andy Piper <andyp@parallax.co.uk>
33516
33517 * unexcw.cc: new file for cygwin32 unexec() requires cygwin32
33518 b19. Predicated on HAVE_COFF_H.
33519
33520 * console.c:
33521 * device-msw.c:
33522 * event-msw.c:
33523 * frame-msw.c:
33524 * msw-proc.c:
33525 * objects-msw.c:
33526 Eliminate warnings.
33527
33528 * redisplay-msw.c (mswindows_update_gc): eliminate warnings and
33529 extend hack for bogus bg values.
33530
33531 * symsinit.h: add msw headers to eliminate warnings.
33532
33533 * s/cygwin32.h: various updates for unexec() support.
33534
33535 * lastfile.c: add my_ebss for cygwin32 unexec() support.
33536
33537 * gmalloc.c: made __malloc_initialized non-static so that
33538 it goes into the bss where we expect it.
33539
33540 * emacs.c: put run_time_remap() in a place where initialized is
33541 not always true.
33542
33543 * Makefile.in.in: add support for compiling .cc files.
33544
33545 * config.h.in: added HAVE_COFF_H support.
33546
33547 1998-01-23 Hrvoje Niksic <hniksic@srce.hr>
33548
33549 * print.c (print_cons): Use XCAR/XCDR.
33550 (print_string): Fix up so it Vprint_string_length works under Mule
33551 correctly.
33552
33553 * eval.c (Feval): Increase profile call count.
33554
33555 * keymap.c: Fixed typo.
33556
33557 1998-01-22 Hrvoje Niksic <hniksic@srce.hr>
33558
33559 * symbols.c (Funintern): Reset symbol's obarray property.
33560
33561 1998-01-22 Karl M. Hegbloom <karlheg@bittersweet.inetarena.com>
33562
33563 * alloc.c (size_vector): Declare *p as CONST to eliminate warning.
33564
33565 1998-01-22 Hrvoje Niksic <hniksic@srce.hr>
33566
33567 * print.c (print_symbol): Recognize Vprint_gensym being a cons;
33568 use Vprint_gensym_alist.
33569
33570 * symbols.c (init_symbols_once_early): Ditto.
33571
33572 * alloc.c (Fmake_symbol): Reset it.
33573
33574 * symbols.c (Fintern): Set it.
33575
33576 * lisp.h (struct Lisp_Symbol): New element `obarray'.
33577
33578 * print.c (print_prepare): Reset Vprint_gensym_alist.
33579 (print_finish): Ditto.
33580
33581 * lread.c: Recognize #n= and #n#.
33582 (readevalloop): Reset read_objects to nil.
33583 (Fread): Ditto.
33584
33585 1998-01-23 SL Baur <steve@altair.xemacs.org>
33586
33587 * toolbar.c (update_toolbar_button): Eliminate redundant NILP
33588 checks.
33589 From Martin Buchholz <martin@xemacs.org>
33590
33591 1998-01-21 Hrvoje Niksic <hniksic@srce.hr>
33592
33593 * dlopen.c: New file.
33594
33595 1998-01-19 Steven L Baur <steve@altair.xemacs.org>
33596
33597 * eval.c (prog1): Don't GCPRO unitialized variable.
33598 (prog2): Ditto.
33599 From Martin Buchholz <martin@xemacs.org>
33600
33601 1998-01-19 Hrvoje Niksic <hniksic@srce.hr>
33602
33603 * sound.c (Fplay_sound_file): Use
33604 signal_simple_continuable_error() instead of error().
33605
33606 1998-01-18 Hrvoje Niksic <hniksic@srce.hr>
33607
33608 * README: Updated.
33609
33610 1998-01-18 SL Baur <steve@altair.xemacs.org>
33611
33612 * glyphs-x.c (imagick_instantiate): Dynamically allocate pixar
33613 with alloca.
33614 From Damon Lipparelli <lipp@primus.com>
33615
33616 1998-01-14 Martin Buchholz <martin@xemacs.org>
33617
33618 * eval.c (For, Fand, Fif, Fcond, Fprogn, Fprog1, Fprog2):
33619 Modernize and streamline.
33620 Replace Fcdr with XCDR, Fcar with XCAR for efficiency.
33621 Remove REGISTER declarations.
33622
33623 1998-01-13 Martin Buchholz <martin@xemacs.org>
33624
33625 * emacsfns.h:
33626 * alloc.c:
33627 Add proper prototypes for print_cons, print_vector, print_string.
33628
33629 * dired.c (directory-files):
33630 * elhash.c (elisp_maphash):
33631 * elhash.h (elisp_maphash):
33632 * lrecord.h:
33633 * mule-ccl.c (setup_ccl_program):
33634 * mule-coding.c (coding_system_charset):
33635 * offix-cursors.h (cursor_bits):
33636 Warning elimination.
33637
33638 * redisplay.c (add_blank_rune):
33639 * redisplay.c (add_glyph_rune):
33640 * redisplay.c (add_emchar_rune):
33641 Warning elimination. Avoid useless computation in non-mule case.
33642
33643 * config.h.in:
33644 Define HAVE_INVERSE_HYPERBOLIC using 1 configure test, not 3.
33645 * src/alloc.c:
33646 * src/events.c:
33647 Rearrange order of declarations and definitions to avoid forward
33648 * src/mem-limits.h: Add motivating comment for future cleanup.
33649
33650 * s/linux.h: Cleanup. Remove old cruft.
33651
33652 * config.h.in:
33653 Always define _GNU_SOURCE when using GNU libc.
33654 Support --without-FOO as a synonym for --with-FOO=no.
33655 Always use $srcdir to locate config.guess.
33656 Make it clear that CONFIGURATION is optional.
33657 De-emphasize CONFIGURATION parameter. Random cleanup.
33658 More compatible with standard GNU install instructions.
33659 --with-menubars=athena3d ==> --with-menubars=lucid.
33660
33661 1998-01-14 Hrvoje Niksic <hniksic@srce.hr>
33662
33663 * fileio.c (Fexpand_file_name): Synched with FSF.
33664
33665 1998-01-13 Hrvoje Niksic <hniksic@srce.hr>
33666
33667 * objects-msw.c (mswindows_color_instance_rgb_components):
33668 Multiply components by 257 instead of shifting by 8.
33669
33670 1998-01-15 Hrvoje Niksic <hniksic@srce.hr>
33671
33672 * elhash.c (Fhashtable_type): New function.
33673 (Fhashtable_test_function): Ditto.
33674
33675 1998-01-12 SL Baur <steve@altair.xemacs.org>
33676
33677 * profile.c (Fclear_profiling_info): Fix typing error.
33678
33679 * elhash.c (elisp_map_remhash): Fix typing error.
33680 (elisp_maphash): Ditto.
33681
33682 1998-01-12 Hrvoje Niksic <hniksic@srce.hr>
33683
33684 * mule-ccl.c (Fccl_execute_on_string): Use Dynar_free to free a
33685 Dynarr.
33686
33687 1998-01-13 Hrvoje Niksic <hniksic@srce.hr>
33688
33689 * profile.c (vars_of_profile): New variable
33690 `call-count-profile-table'.
33691 (Fclear_profiling_info): Clear call-count-profile-table.
33692
33693 * eval.c (funcall_recording_as): Use it.
33694
33695 * profile.c (profile_increase_call_count): New function.
33696
33697 * lstream.c (stdio_flusher): Comment addition.
33698
33699 * objects-msw.c (mswindows_string_to_color): Support #RRRGGGBBB,
33700 as well as #RRGGBB.
33701 (mswindows_X_color_map): Reformatted.
33702
33703 1998-01-12 Hrvoje Niksic <hniksic@srce.hr>
33704
33705 * line-number.c (invalidate_line_number_cache): Comment fixup.
33706
33707 * symbols.c (Fapropos_internal): Docstring fix.
33708
33709 * fns.c (Fstring_equal): Docstring fix.
33710
33711 1998-01-12 Hrvoje Niksic <hniksic@srce.hr>
33712
33713 * profile.c (get_profiling_info_maphash): Return int.
33714 (mark_profiling_info_maphash): Ditto.
33715
33716 * elhash.c (Finternal_hash_value): New debugging function,
33717 undefined by default.
33718
33719 1998-01-11 Hrvoje Niksic <hniksic@srce.hr>
33720
33721 * mule-coding.c (add_coding_system_to_list_mapper): Ditto.
33722
33723 * mule-charset.c (add_charset_to_list_mapper): Return int.
33724
33725 * faces.c (add_face_to_list_mapper): Return int.
33726 (mark_face_as_clean_mapper): Ditto.
33727 (update_face_inheritance_mapper): Ditto.
33728
33729 * keymap.c (keymap_submaps_mapper_0): Return int.
33730 (keymap_submaps_mapper): Ditto.
33731 (copy_keymap_inverse_mapper): Ditto.
33732 (copy_keymap_mapper): Ditto.
33733 (map_keymap_unsorted_mapper): Ditto.
33734 (map_keymap_sorted_mapper): Ditto.
33735
33736 * elhash.c (hashtable): Added a hash method.
33737 (hashtable_hash): New function.
33738
33739 1998-01-09 Hrvoje Niksic <hniksic@srce.hr>
33740
33741 * elhash.c (lisp_maphash_function): Return 0.
33742 (hashtable_equal_mapper): Bail out when an element is not `equal'.
33743
33744 * hash.c (maphash): Bail out if map function returns non-zero.
33745
33746 1998-01-11 SL Baur <steve@altair.xemacs.org>
33747
33748 * eval.c (Fbacktrace): Treat first parameter to byte-code
33749 specially.
33750
33751 Sat Jan 10 11:36:11 1998 Andy Piper <andyp@parallax.co.uk>
33752
33753 * config.h.in: undef HAVE_SYS_UN_H so that it gets defined by
33754 configure for gnuserv with UNIX_DOMAIN_SOCKETS.
33755
33756 1998-01-09 SL Baur <steve@altair.xemacs.org>
33757
33758 * buffer.c (reset_buffer_local_variables): Synch case-table
33759 resetting stuffs from Emacs 20.2.
33760 Suggested by Aki Vehtari <Aki.Vehtari@hut.fi>
33761
33762 * src/symbols.c (Fsetq_default): Fix docstring.
33763 From Didier Verna <didier@xemacs.org>
33764
33765 1998-01-07 Kirill M. Katsnelson <kkm@kis.ru>
33766
33767 * msw-proc.c (mswindows_wnd_proc): Calls to redisplay() from out
33768 of WM_SIZE handler limited to the case of dragging frame borders.
33769
33770 * redisplay-msw.c (mswindows_bevel_modeline): Added support for
33771 negative modeline height.
33772 (mswindows_output_cursor): Added bar cursor drawing
33773 (mswindows_flash): Flash frame by inverting client area.
33774
33775 1998-01-08 Andy Piper <andyp@parallax.co.uk>
33776
33777 * lread.c: guess load path if its not set just like the dumped
33778 version does.
33779
33780 * doc.c: guess doc path if its not set just like the dumped
33781 version does
33782
33783 Thu Jan 08 09:42:36 1998 Andy Piper <andyp@parallax.co.uk>
33784
33785 * emacs.c: don't load loadup.el when CANNOT_DUMP is set, this
33786 is almost never right on XEmacs.
33787
33788 * s/cygwin32.h: add comments about how to buid. Move some
33789 variables into configure so that we don't have to set them.
33790
33791 * config.h.in: define HAVE_WINDOW_SYSTEM if HAVE_MS_WINDOWS is
33792 set.
33793
33794 1998-01-06 Kirill M. Katsnelson <kkm@kis.ru>
33795
33796 * lread.c (Fload_internal): On Win32, this reopened the file
33797 without first closing the handle. This caused running out of
33798 handles.
33799
33800 * nt.c (sys_open): This one made big mess when opening a handle
33801 next after MAXDESC-1. Fixed.
33802
33803 1998-01-06 Kirill M. Katsnelson <kkm@kis.ru>
33804
33805 * objects-msw.c (mswindows_string_to_color): Patched not to modify
33806 const char* parameter.
33807 (hexval): Modified to accept uppercase hex digits.
33808
33809 * ntproc.c (sys_spawnve): char* arguments made CONST, to comply
33810 with standard header declaration.
33811
33812 * sysdep.c: Fixed ugly prototypes copied from system headers. Who
33813 says the solution is as ugly, is right.
33814 Added a couple of #include directives to avoid undefined functions.
33815 (struct save_signal): Added parameter to function pointer
33816 prototype when compiled under ANSI C.
33817 (save_signal_handlers): Ditto
33818
33819 * s/windowsnt.h: Added prototypes for functions defined via
33820 sys_<name> which are not found or differ on Win32: pipe, sleep,
33821 spawnve, wait, kill
33822 Macros created from former nt.c functions: random srandom setpgrp
33823 Defined HAVE_STRCASECMP, and strcasecmp defined to _stricmp which
33824 is provided by the compiler.
33825 Removed hack which prevented winsock.h from including.
33826
33827 * nt.c (random): Removed and made a macro in s/windowsnt.h
33828 (srandom): Ditto
33829 (setpgrp): Ditto
33830 (unrequest_sigio): #if0'ed. It is unreferenced; in XEmacs, calls
33831 to it seem to be controlled by HAVE_SIGIO.
33832 (request_sigio): Ditto
33833
33834 * nt.h: Removed FD_* macros. Rely on definitions in winsock.h.
33835 Changed EMACSDEBUG references to DEBUG_XEMACS
33836
33837 * event-msw.c (mswindows_cancel_dispatch_event): Returns Qnil when
33838 event not found in the queue. Used to return undefined value.
33839
33840 1998-01-07 SL Baur <steve@altair.xemacs.org>
33841
33842 * emacs.c (main_1): Add `-no-autoloads' to suppress loading
33843 autoloads at startup.
33844
33845 * Makefile.in.in (xemacs): Fix call to list load-path shadows.
33846
33847 1998-01-02 Charles G. Waldman <cgw@pgt.com>
33848
33849 * frame.h: fix erroneous FRAME_RIGHT_BORDER_START macro.
33850 Corrects display glitch when toolbar is on the right.
33851
33852 1998-01-02 Kirill M. Katsnelson <kkm@kis.ru>
33853
33854 * emacs.c (make_arg_list_1): On Win32 platforms, GetModuleFileName
33855 is consulted instead of argv[0] to get full path to the xemacs
33856 executable.
33857
33858 1998-01-01 SL Baur <steve@altair.xemacs.org>
33859
33860 * m/sparc.h: Cleans up some warnings about unused variables in
33861 getloadavg.c under Sparc/Linux.
33862 From Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
33863
33864 * fileio.c (vars_of_fileio): Enable directory-sep-char always for
33865 compatibility.
33866
33867 * emacs.c (main_1): Inhibit reloading dumped lisp when using
33868 `-batch' or `-vanilla'.
33869
33870 1997-12-31 SL Baur <steve@altair.xemacs.org>
33871
33872 * emacs.c: New variables `inhibit-update-dumped-lisp' and
33873 `inhibit-update-autoloads'.
33874 (vars_of_emacs): Initialize them.
33875
33876 1997-12-29 Kirill M. Katsnelson <kkm@kis.ru>
33877
33878 * msw-proc.c (mswindows_enqueue_magic_event): Made extern. User by
33879 menubar-msw.c
33880
33881 * event-msw.h: Prototype for mswindows_enqueue_magic_event
33882
33883 * event-msw.c (mswindows_wm_timer_callback): Fixed counter of
33884 outstanding timer events (decremented only when KillTimer
33885 succeeds)
33886 (emacs_mswindows_remove_timeout): Ditto
33887
33888 * console-msw.h: Added frame structure field for menu checksum
33889
33890 * menubar-msw.c: Miscellaneous patches and bug fixes.
33891
33892 1997-12-30 SL Baur <steve@altair.xemacs.org>
33893
33894 * emacs.c (main): Clarify calls to main_1.
33895
33896 * data.c (Fcompiled_function_annotation): Hide DEFUN from
33897 make-docfile.
33898
33899 * emacs.c (main_1): The invocation name requires recomputing when
33900 running after dumping.
33901
33902 1997-12-29 SL Baur <steve@altair.xemacs.org>
33903
33904 * free-hook.c (check_free): Added explicit braces to avoid
33905 dangling else clause.
33906 * sound.c (Fplay_sound_file): Ditto.
33907 * process.c (set_process_filter): Ditto.
33908 * linuxplay.c (linux_play_data_or_file): Ditto.
33909 * regex.c (regex_compile): Ditto.
33910
33911 1997-12-28 SL Baur <steve@altair.xemacs.org>
33912
33913 * emacs.c (main_1): Fix logic to run in place when XEmacs is a
33914 login shell.
33915 (main_1): New parameter restart.
33916 (main): Use it.
33917
33918 * bytecode.h: Disable COMPILED_FUNCTION_ANNOTATION_HACK.
33919
33920 * print.c (debug_short_backtrace): Guard call to
33921 Fcompiled_function_annotation.
33922
33923 * alloc.c (disksave_object_finalization): Don't zero out
33924 load-history if history of pure symbols is desired.
33925
33926 * lread.c (build_load_history): If LOADHIST_DUMPED is defined, add
33927 pure symbols to load-history.
33928
33929 * emacsfns.h: New symbols added -- LOADHIST_DUMPED, define to get
33930 a history of dumped lisp. LOADHIST_BUILTIN, define to get a
33931 history of symbols defined in C source.
33932
33933 1997-12-23 Andy Piper <andyp@parallax.co.uk>
33934
33935 * Conditionals to enable XEmacs to compile (not run!) under
33936 CygWin32. Files touched:
33937 events.c
33938 getloadavg.c
33939 mem-limits.h
33940 objects-msw.c
33941 select-msw.c
33942 sysdep.c
33943 * s/cygwin.h: New file.
33944
33945 1997-12-26 Kirill M. Katsnelson <kkm@kis.ru>
33946
33947 * menubar-msw.c, menubar-msw.h: New files. Menus support.
33948
33949 * console-msw.h: Added frame menu hashtable variable.
33950
33951 * gui.c: popup_up_p variable and Fpopup_up_p and
33952 separator_string_p functions are moved from gui-x.c
33953
33954 * gui.h: New file declaring the above. It is #included into the
33955 following files:
33956 dialog-x.c
33957 gui-x.c
33958 menubar-x.c
33959
33960 * emacs.c: Added calls to *_of_menubar_mswindows()
33961
33962 * event-msw.c: Generalization of modal pump interface so it may be
33963 used bu menubars also. Some functions and vars renamed, to
33964 reflect more general approach (event_pump -> modal_loop)
33965
33966 * frame-msw.c: Initialization and marking of menu hashtable.
33967
33968 * msw-proc.c: Added handling for menu window messages.
33969
33970 * opaque.c: opaque objects given hash and equal methods, so they
33971 can be compared with 'equal. Menubar uses opaque pointers as
33972 hash keys in an 'equal style hashtable.
33973
33974 * Most of the above touched files: Eliminated compiler warnings.
33975
33976 1997-12-18 Hrvoje Niksic <hniksic@srce.hr>
33977
33978 * elhash.c (print_hashtable): Use `%u' for fullness.
33979 (hashtable_equal): New function.
33980 (hashtable_equal_mapper): Ditto.
33981
33982 * lread.c (vars_of_lread): Initialize Vread_buffer_stream here
33983 instead of in init_lread.
33984
33985 1997-12-26 P. E. Jareth Hein <jareth@camelot-soft.com>
33986
33987 * glyphs-x.c (imagick_instantiate): Add in error and
33988 warning handling for ImageMagick files
33989
33990 1997-12-26 SL Baur <steve@altair.xemacs.org>
33991
33992 * Makefile.in.in (distclean): Remove `xemacs.*'.
33993
33994 1997-12-22 SL Baur <steve@altair.xemacs.org>
33995
33996 * device.c (vars_of_device): Provide `devices' feature so W3's
33997 devices.el emulation won't bloat XEmacs.
33998
33999 * lread.c (Fload_internal): Strip path and extension when
34000 considering a file as a candidate for running after-load functions.
34001
34002 1997-12-20 Kirill M. Katsnelson <kkm@kis.ru>
34003
34004 * s/windowsnt.h: SIZEOF_SHORT set to 16 bits instead of 32, to get
34005 real.
34006
34007 * redisplay-msw.c: (many functions): FillRect replaced with
34008 ExtTextOut where possible, which is much faster.
34009 (mswindows_redisplay_deadbox_maybe): New function which fixes
34010 deadbox, a square bounded by scrollbar ends and window corner
34011 (usually the lower right corner).
34012
34013 * emacs.c (assert_failed): On Win32 platforms, when assertion
34014 fails, debugger break occurs if DEBUG_XEMACS is defined.
34015
34016 * event-msw.c (mswindows_pump_outstanding_events): Fixed so two
34017 consequtive Fsignals are not lost.
34018
34019 * scrollbar-msw.c (mswindows_update_scrollbar_instance_values):
34020 Added SBF_DISABLENOSCROLL flag so the bar is greyed out when
34021 all lines are visible.
34022 (mswindows_update_scrollbar_instance_status): Ditto for freshly
34023 assigned scrollbar.
34024
34025 * scrollbar.c (Fscrollbar_set_hscroll): Fixed fitting scroll
34026 limits into range.
34027
34028 1997-12-18 Kirill M. Katsnelson <kkm@kis.ru>
34029
34030 * events-msw.c: Added support for modal event dispatch pump.
34031 This mechanism is for scrollbars and menus.
34032
34033 * events-msw.h: Public declaration for the pump function.
34034
34035 * msw-proc.c: Pump scrollbar misc user events through the
34036 brand new pump. Pumps!
34037
34038 * scrollbar-msw.c: Minor range fixes. Added misc events for
34039 horizontal bar, which did not fix it...
34040
34041 Thu Dec 18 09:53:12 1997 <jsparkes@internetivity.com (Jeff Sparkes)>
34042
34043 * objects-msw.c (mswindows_print_color_instance): Scale 8 bit RGB
34044 components up to 16 bit X sizes.
34045 (mswindows_string_to_color): numeric colors are #RRGGBB not #BBGGRR.
34046
34047 * objects-msw.c (mswindows_color_instance_rgb_components): ditto
34048
34049 * objects.c (Fcolor_instance_rgb_components): Document range of
34050 components as 0-65535.
34051
34052 1997-12-18 SL Baur <steve@altair.xemacs.org>
34053
34054 * doc.c (verify_doc_mapper): Fix return value and argument list
34055 for map_obarray.
34056
34057 * device-x.c: New variable -- Vx_app_defaults_directory.
34058 (x_init_device): Use locale directory searched from package-path.
34059
34060 1997-12-18 Kyle Jones <kyle_jones@wonderworks.com>
34061
34062 * EmacsFrame.c: Added foregroundToolBarColor and
34063 foreground resources to the resources[] definition.
34064 Moved default gray8o color value from the
34065 bcakgroundToolBarCOlor resource to th background
34066 resource since the override order is now reversed in
34067 toolbar-x.c. Don't provide a default value for the
34068 foreground resource that the toolbar code looks at.
34069
34070 * EmacsFrame.h: Define foregroundToolBarColor string
34071 for use in the resoruces code.
34072
34073 * EmacsFrameP.h: Added foreground_toolbar_pixel slot
34074 to EmacsFramePart struct.
34075
34076 * toolbar-x.c: Let the toolbar specific background
34077 resource override the global background resource. Added
34078 support for a toolbar specific foreground resource,
34079 which is not currently used for anything internally.
34080
34081 1997-12-17 Hrvoje Niksic <hniksic@srce.hr>
34082
34083 * redisplay.c (decode_mode_spec): Comment fixup.
34084
34085 * tooltalk.c (Freceive_tooltalk_message): Ditto.
34086
34087 * search.c (Freplace_match): Ditto.
34088
34089 * frame-x.c (x_frame_property): Ditto.
34090
34091 * console.c (Fcurrent_input_mode): Ditto.
34092
34093 * callint.c (Fcall_interactively): Ditto.
34094
34095 * abbrev.c (Fexpand_abbrev): Ditto.
34096
34097 * dired.c (file_name_completion): Use Qzero instead of
34098 make_int(0).
34099
34100 * fileio.c (Finsert_file_contents_internal): Use
34101 report_file_error() to report reading error.
34102
34103 * cmds.c (internal_self_insert): Don't self-insert if the expanded
34104 symbol's hook has a non-nil `no-self-insert' property; synch with
34105 FSF 20.2.
34106
34107 * abbrev.c (Fexpand_abbrev): Return Vlast_abbrev, like in FSF
34108 20.2.
34109
34110 1997-12-16 Hrvoje Niksic <hniksic@srce.hr>
34111
34112 * abbrev.c (abbrev_match): User map_obarray() instead of
34113 crockishly copying it.
34114 (abbrev_match_mapper): New function.
34115 (Fexpand_abbrev): Check whether `pre-abbrev-expand-hook' has
34116 killed the buffer.
34117
34118 * symbols.c (map_obarray): Accept a void * argument.
34119 (mapatoms_1): Adapt.
34120 (apropos_accum): Use fast_lisp_string_match().
34121 (Fapropos_internal): Don't cons.
34122 (map_obarray): Stop mapping if FN returns non-zero.
34123
34124 * marker.c (unchain_marker): Guard assert() with ERROR_CHECK_GC.
34125 (bi_marker_position): Guard assert() with ERROR_CHECK_BUFPOS.
34126 (set_bi_marker_position): Ditto.
34127
34128 1997-12-15 Hrvoje Niksic <hniksic@srce.hr>
34129
34130 * fileio.c (Finsert_file_contents_internal): Use make_int when
34131 checking for overflow.
34132 (Finsert_file_contents_internal): Use EXTERNAL_LIST_LOOP.
34133 (Ffind_file_name_handler): Ditto.
34134
34135 * dired.c (file_name_completion): Use noseeum_cons.
34136 (file_name_completion_unwind): Free the cons.
34137
34138 1997-12-16 <jsparkes@internetivity.com (Jeff Sparkes)>
34139
34140 * scrollbar.c: Add HAVE_MS_WINDOWS to scrollbar-page functions.
34141
34142 * msw-proc.c: Handle scrolling events.
34143
34144 * frame-msw.c: Initialize scrollbar width and height. This should
34145 not be necessary, since the window shouldn't be created until
34146 init_frame_2
34147
34148 * emacs.c: Call mswindows scrolbar setup when appropriate.
34149
34150 * scrollbar-msw.c: Created for mswindows-scrollbar support.
34151
34152 * scrollbar-msw.h: Ditto.
34153
34154 1997-12-16 Kirill M. Katsnelson <kkm@kis.ru>
34155
34156 * msw-proc.c: Minor bug in the middle button emulation code
34157 exterminated.
34158
34159 * msw-proc.c: Character translation procedure reworked, so C-M-char
34160 keys now work properly. Keyboard layouts that use AltGr for
34161 third register characters are detected and handled. The code
34162 has been tested on French and UK keyboard layouts.
34163
34164 * msw-proc.c: #if 0'ed remains of threaded code are removed.
34165
34166 * event-msw.c: Mouse motion was incorrectly counted for a user event.
34167
34168 * event-msw.c: lisp variables beginnig with w32- are renamed to
34169 begin with mswindows-.
34170
34171 1997-12-15 Hrvoje Niksic <hniksic@srce.hr>
34172
34173 * fileio.c (Finsert_file_contents_internal): Use it.
34174 (Fcopy_file): Ditto.
34175
34176 * sysdep.c (interruptible_open): New function.
34177
34178 1997-12-16 Kyle Jones <kyle_jones@wonderworks.com>
34179
34180 * frame-x.c (x_init_frame_2): Don't call
34181 update_frame_title. Some modeline specs depend on
34182 f->device->selected_frame being non-nil and that will
34183 not be true during initialization of the first frame on
34184 a device.
34185
34186 1997-12-16 SL Baur <steve@altair.xemacs.org>
34187
34188 * fileio.c: clean up paren levels between ifdefs.
34189 From Hrvoje Niksic <hniksic@srce.hr>
34190
34191 1997-12-15 P. E. Jareth Hein <jareth@camelot-soft.com>
34192
34193 * glyphs-x.c (imagick_instantiate): Remove an assumption that
34194 all machines have LSB XImage support.
34195
34196 1997-12-14 Kyle Jones <kyle_jones@wonderworks.com>
34197
34198 * Makefile.in.in: Moved $(OFFIX_O) from x_objs to
34199 X11_objs to avoid having its initialized global
34200 variables be dumped read-only.
34201
34202 1997-12-14 SL Baur <steve@altair.xemacs.org>
34203
34204 * offix.c (DndSetData): Use standard INT_MAX instead of MAXINT.
34205 Replace <values.h> with <limits.h>
34206
34207 1997-12-13 Kirill M. Katsnelson <kkm@kis.ru>
34208
34209 * msw-proc.c: added emulation for middle mouse button by chording
34210 left and right buttons
34211 * event-msw.c: added lisp variables for resize behavior and middle
34212 button emulation thresholds
34213 * msw-proc.c: {un}map-frame-hook now are not called directly from
34214 the window procedure, rather from magic event handler.
34215 * Formulated golden rule for calling lisp from window procedure:
34216 "NOOOOOO!". May be violated under circumstances although.
34217 * frame-msw.c: corrected problem with setting frame width and height
34218 properties, introduced by 95-style look.
34219
34220 1997-12-12 SL Baur <steve@altair.xemacs.org>
34221
34222 * input-method-xlib.c (describe_XIC): Add casts, use unsigned long
34223 int.
34224
34225 * eval.c (funcall_subr): Ifdef out as it is now unused.
34226
34227 * emacsfns.h: Declare Fdisplay_error.
34228
34229 * callint.c (Fquote_maybe): Don't use `==' on Lisp_Objects.
34230
34231 1997-12-12 Michael Sperber <sperber@informatik.uni-tuebingen.de>
34232
34233 * fileio.c: Removed stillborn set-buffer-modtime.
34234
34235 1997-12-10 Hrvoje Niksic <hniksic@srce.hr>
34236
34237 * elhash.c (hashtable_instantiate): If SIZE is nil, set it to
34238 length of DATA.
34239 (print_hashtable): Would bogusly print #(hashtable).
34240 (verify_function): Use XCAR.
34241
34242 1997-12-12 Hrvoje Niksic <hniksic@srce.hr>
34243
34244 * elhash.c (print_hashtable_data_mapper): Use a C structure
34245 instead of consing.
34246
34247 1997-12-12 Hrvoje Niksic <hniksic@srce.hr>
34248
34249 * callint.c (quotify_arg): Don't quotify vectors, keywords,
34250 bit-vectors and lambdas.
34251 (Fquote_maybe): New subr, from quotify_arg.
34252 (quotify_args): Use it.
34253 (Fcall_interactively): Ditto.
34254
34255 1997-12-11 Hrvoje Niksic <hniksic@srce.hr>
34256
34257 * window.c (Fset_window_point): Ditto for Fgoto_char.
34258 (Fset_window_configuration): Ditto.
34259
34260 * undo.c (Fprimitive_undo): Ditto for Fset_buffer_modified_p,
34261 Fgoto_char and Fdelete_region.
34262
34263 * print.c (temp_output_buffer_setup): Ditto.
34264
34265 * glyphs.c (make_string_from_file): Ditto.
34266
34267 * glyphs-x.c (pixmap_to_lisp_data): Ditto for Ferase_buffer.
34268 (pixmap_to_lisp_data): Ditto for Fbuffer_substring.
34269
34270 * bytecode.c (Fbyte_code): Use Qnil instead of Fcurrent_buffer()
34271 when calling functions that use decode_buffer() internally -- it
34272 is faster.
34273
34274 Change done for Fgoto_char, Fchar_after, Ffollowing_char,
34275 Fpreceding_char, Findent_to, Feolp, Feobp, Fbolp, Fbobp,
34276 Fforward_char, Fforward_word, Fskip_chars_forward,
34277 Fskip_chars_backward, Fforward_line, Fbuffer_substring,
34278 Fdelete_region, Fnarrow_to_region, Fwiden, Fend_of_line, Fupcase
34279 and Fdowncase.
34280
34281 1997-12-11 Jonathan Harris <jhar@tardis.ed.ac.uk>, Kirill M. Katsnelson <kkm@kis.ru>
34282
34283 * The first collegial patch in the xemacs-nt history. Well...
34284 * device-msw.c, event-msw.c, event-msw.h, frame-msw.c, msw-proc.c:
34285 xemacs is now single-threaded application. Due to this, the
34286 problem with crash during input events in GC got resolved.
34287 * xemacs frames are given "95ish" look with raised border.
34288 * stop character (ctrl+g) now works. SIGINT (ctrl+c or ctrl+break
34289 at the console) is still broken although.
34290 * frame "as lisp object" is now stored in window-associated space
34291 provided by the system. This enables obtaining frame object given
34292 window handle in constant time.
34293 * mswindows_cancel_dispatch_event() now has limited handling
34294 for key_press_event's in addition to timeout_event's.
34295
34296 1997-12-11 SL Baur <steve@altair.xemacs.org>
34297
34298 * intl.c (init_intl_very_early): Force LC_NUMERIC to "C".
34299 * input-method-xfs.c (Initialize_Locale): Ditto.
34300 * input-method-motif.c (Initialize_Locale): Ditto.
34301 * input-method-xlib.c (Initialize_Locale): Ditto.
34302 Suggested by Didier Verna <didier@xemacs.org> and
34303 Martin Buchholz <martin@xemacs.org>
34304
34305 1997-12-10 Karl M. Hegbloom <karlheg@bittersweet.inetarena.com>
34306
34307 * config.h.in: #undef MAGICK_HEADERS_ARE_UNDER_X11
34308
34309 * glyphs-x.c: #ifdef MAGICK_HEADERS_ARE_UNDER_X11 added.
34310
34311 1997-12-11 SL Baur <steve@altair.xemacs.org>
34312
34313 * glyphs-x.c (_XOS_H_): Try to avoid including Xos.h on Solaris.
34314 Suggested by Samuel Tardieu <sam@inf.enst.fr>
34315
34316 1997-12-11 David Hobley <davidh@wr.com.au>
34317
34318 * pure.c: Removed WINDOWSNT conditional.
34319
34320 1997-12-10 SL Baur <steve@altair.xemacs.org>
34321
34322 * Makefile.in.in: Doc changes, update dependencies.
34323
34324 * frame-x.c (x_init_frame_1): Remove unused variable.
34325
34326 * fns.c (internal_equal): Guard label with ifdef.
34327 (internal_old_equal): Ditto.
34328
34329 * symsinit.h: Declare structure_type_create_hashtable.
34330
34331 * elhash.c (finish_marking_weak_hashtables): Move unused variable
34332 so gcc doesn't complain about it.
34333
34334 * elhash.h: Declare new weak hashtables.
34335
34336 * elhash.c (print_hashtable): Fix format.
34337
34338 1997-12-10 Hrvoje Niksic <hniksic@srce.hr>
34339
34340 * frame-tty.c (tty_raise_frame_no_select): Use LIST_LOOP.
34341 (tty_lower_frame): Ditto.
34342
34343 * faces.c (face_validate): Don't check for doubly defined
34344 keywords; the reader does that.
34345
34346 * emacs.c (main_1): Call structure_type_create_hashtable().
34347
34348 * general.c (syms_of_general): Added Qtest and Qsize.
34349
34350 * elhash.c (structure_type_create_hashtable): New function.
34351 (hashtable_type_validate): Ditto.
34352 (hashtable_test_validate): Ditto.
34353 (hashtable_size_validate): Ditto.
34354 (hashtable_data_validate): Ditto.
34355 (hashtable_instantiate): Ditto.
34356
34357 * extents.c (extent_putprop): Made it work.
34358 (extent_remprop): Ditto.
34359
34360 1997-12-08 Kirill M. Katsnelson <kkm@kis.ru>
34361
34362 * device.h: device::fdin and device::fdout are now defined for
34363 systems which do not HAVE_UNIXOID_EVENT_LOOP.
34364 * device-tty.c, process.c, signal.c: call to signal_fake_event()
34365 bracketed out by #ifdef HAVE_UNIXOID_EVENT_LOOP / #endif
34366 directives.
34367 * signal.c: For Win32 systems, longjmp in signal handler excluded
34368 * nt.c, syssignal.h, systime.h: emulation for SIGALRM and SIGPROF
34369 and setitimer for Win32 platforms. Profiling now works.
34370 * emacs.c: calls to syms_of_profile and vars_of_profile enabled
34371 on Win32 platforms.
34372 * ntproc.c: handling of SIGCHLD now done by the common signal
34373 faking mechanism. (To no avail - subprocesses still broken)
34374 * s/windowsnt.h: Signal constants added
34375 * redisplay-msw.c: "Sticky" beep which blocked XEmacs until the
34376 sound finishes is now repaired
34377
34378 1997-12-06 Jonathan Harris <jhar@tardis.ed.ac.uk>
34379
34380 * frame-msw.c, msw-proc.c
34381 Further changes to resizing code so that changing default
34382 font, either in .emacs or later, works properly.
34383
34384 * msw-proc.c
34385 Minor optimization: Mouse movement events aren't generated
34386 while the user is resizing the frame.
34387 Function keys are returned lower-case.
34388
34389 1997-12-09 P. E. Jareth Hein <jareth@camelot-soft.com>
34390
34391 * glyphs-x.c (imagick_instantiate): fix it so that it works
34392 properly for PseudoClass files. Still needs some thinking for
34393 full color... Also added support for old image instantiators
34394 in various places using the OLDCOMPAT define
34395
34396 1997-12-08 Kyle Jones <kyle_jones@wonderworks.com>
34397
34398 * event-stream.c (Faccelerate_menu): Check for the
34399 existence of a menubar associated with the selected frame
34400 before trying to use it. Signal an error if there is
34401 no menubar.
34402
34403 1997-12-06 P E Jareth Hein <jareth@camelot-soft.com>
34404
34405 * device-x.c: Change -privcmap to -privatecolormap.
34406 * events.c: corret minor think-o.
34407
34408 1997-12-04 Jonathon Harris <jhar@tardis.ed.ac.uk>
34409
34410 * event-msw.c, faces.c, msw-proc.c:
34411 Frame resizing happens in multiples of the default character size.
34412 * frame-msw.c:
34413 mswindows_set_frame_size() and
34414 mswindows_set_frame_properties() now call AdjustWindowRect to
34415 set the correct window size.
34416
34417 1997-12-04 Jeff Sparkes <jsparkes@internetivity.com>
34418
34419 * frame-msw.c: added frame functions for move, resize,
34420 iconify, raise, lower, visible_p, iconified_p, focus,
34421 make visible, make invisible, set title.
34422
34423 1997-12-01 Jonathon Harris <jhar@tardis.ed.ac.uk>
34424
34425 * event-msw.c, event-msw.h, frame-msw.c, msw-proc.c:
34426 - Implemeted simple emacs_mswindows_event_pending_p().
34427 - Fixed deleting frames.
34428 - Rewrote timeout code, eliminating "!NILP(rest)" bug.
34429 - Special processing for 'Ctrl-@' keystroke.
34430 - Support for some new keysyms.
34431
34432 1997-12-03 Hrvoje Niksic <hniksic@srce.hr>
34433
34434 * lstream.c (make_stdio_stream_1): Set it.
34435 (make_filedesc_stream_1): Ditto.
34436 (finalize_lstream): Use it.
34437
34438 * lstream.h: New flag LSTREAM_FL_CLOSE_AT_DISKSAVE.
34439
34440 1997-11-29 Jeff Miller <jmiller@smart.net>
34441
34442 * menubar-x.c: define restore_in_menu_callback() when motif
34443 menubars are used.
34444
34445 * menubar-x.c: change #ifdef LWLIB_MENUBARS_MOTIF to
34446 #if defined LWLIB_MENUBARS_LUCID || defined LWLIB_MENUBARS_MOTIF
34447 around code for incremental menu build.
34448
34449 * event-stream.c: Changed HAVE_MENUBARS to HAVE_MENUBARS_LUCID in
34450 the #ifdef wrappers around menubar accelerator stuff.
34451
34452 1997-12-05 SL Baur <steve@altair.xemacs.org>
34453
34454 * keymap.h: update describe_map_tree prototype
34455
34456 1997-12-03 Hrvoje Niksic <hniksic@srce.hr>
34457
34458 * lstream.c (make_stdio_stream_1): Set it.
34459 (make_filedesc_stream_1): Ditto.
34460 (finalize_lstream): Use it.
34461
34462 * lstream.h: New flag LSTREAM_FL_CLOSE_AT_DISKSAVE.
34463
34464 1997-12-03 Hrvoje Niksic <hniksic@srce.hr>
34465
34466 * editfns.c (save_excursion_restore): Fix comment.
34467
34468 * fns.c (Fmapvector): GCPRO the vector.
34469
34470 1997-12-01 Hrvoje Niksic <hniksic@srce.hr>
34471
34472 * cmdloop.c (default_error_handler): Respect
34473 errors-deactivate-region; use display-error.
34474
34475 * editfns.c (vars_of_editfns): New variable user-full-name.
34476 (init_editfns): Initialize it.
34477 (Fuser_full_name): Use it.
34478 (vars_of_editfns): Docfixes.
34479
34480 * dired.c (Fdirectory_files): Use FORMAT_FILENAME instead of
34481 FORMAT_BINARY.
34482 (make_directory_hash_table): Ditto.
34483 (file_name_completion): Bind `completion-ignore-case' to t under
34484 MS Windows.
34485 (file_name_completion): Signal an error if a member of
34486 `completion-ignored-extensions' is not a string.
34487
34488 1997-11-30 Hrvoje Niksic <hniksic@srce.hr>
34489
34490 * doc.c (Fsubstitute_command_keys): Don't use
34491 Vprin1_to_string_buffer.
34492
34493 * keymap.c (describe_map_tree): Accept a BUFFER argument.
34494 (describe_map): Ditto.
34495 (describe_command): Ditto.
34496
34497 1997-11-29 Hrvoje Niksic <hniksic@srce.hr>
34498
34499 * insdel.c (signal_before_change): Don't treat
34500 Vprin1_to_string_buffer specially.
34501 (signal_after_change): Ditto.
34502
34503 * buffer.c (Fkill_buffer): Don't treat Vprin1_to_string_buffer
34504 specially.
34505 (complex_vars_of_buffer): Ditto.
34506
34507 * print.c (Ferror_message_string): Use Vprin1_to_string_stream.
34508
34509 * events.c (Fmake_event): Changed error message.
34510
34511 * print.c (Fprin1_to_string): Use a resizing-buffer stream.
34512
34513 1997-12-03 Hrvoje Niksic <hniksic@srce.hr>
34514
34515 * buffer.c (Fkill_buffer): Use EXTERNAL_LIST_LOOP.
34516 (Fget_file_buffer): Use LIST_LOOP.
34517
34518 1997-12-02 Hrvoje Niksic <hniksic@srce.hr>
34519
34520 * editfns.c (save_excursion_save): Don't save VISIBLE-P.
34521 (save_excursion_restore): Changed accordingly.
34522 (save_excursion_restore): Free the markers and conses even if the
34523 buffer is dead.
34524 (save_restriction_restore): Use XCAR/XCDR.
34525 (Fencode_time): Use XCAR/XCDR, when safe.
34526
34527 * menubar.c (Fnormalize_menu_item_name): Use INC_CHARPTR; allow
34528 `%%' to mean `%'.
34529
34530 * minibuf.c (regexp_ignore_completion_p): Use EXTERNAL_LIST_LOOP;
34531 check type of list elements.
34532
34533 * dired.c (file_name_completion): Set up a proper unwind form.
34534 (file_name_completion_unwind): New function.
34535 (file_name_completion): Allow errors.
34536
34537 * line-number.c (invalidate_line_number_cache): Would lose in
34538 precence of Finsert_before_markers.
34539 (narrow_line_number_cache): Only mark LINE_NUMBER_BEGV as dirty.
34540 (buffer_line_number): Recalculate LINE_NUMBER_BEGV on demand.
34541 (buffer_line_number): Would ignore LINE_NUMBER_FAR.
34542
34543 1997-12-01 Hrvoje Niksic <hniksic@srce.hr>
34544
34545 * fns.c (Fmapvector): Don't stack-allocate args; allocate the
34546 vector and call mapcar1 with its data.
34547
34548 1997-12-02 P E Jareth Hein <jareth@camelot-soft.com>
34549
34550 * objects-x.c: Added colormap/visual support, rewrote
34551 allocate_nearest_color, and changed the x-color-instance to deal
34552 with possibly not freeing a color.
34553
34554 * objects-x.h: Added dealloc_on_gc flag for x-color-instances.
34555
34556 * redisplay-x.c: Added colormap/visual support.
34557
34558 * balloon-x.c: Added colormap/visual support.
34559
34560 * console-x.h: Added colormap/visual support by adding visual,
34561 depth and colormap slots to a device.
34562
34563 * device-x.c: Added colormap/visual support with the command line
34564 options "-privcmap" and "-visual" and Xresources
34565 ".privateColormap" and ".EmacsVisual". Also changed the
34566 device-init so that the app-shell is always realized to properly
34567 deal with GCs (previously only realized when OFFIX was
34568 supported), and added the x-display-visual-depth lisp function to
34569 complement x-display-visual-class.
34570
34571 * event-Xt.c: Added colormap/visual support, and stuck in a
34572 patch/hack to change the way Xt inherits visuals to match the way
34573 it inherits colormaps.
34574
34575 * frame-x.c: Added colormap/visual support.
34576
34577 * glyphs-x.c: Added colormap/visual support. Will probably need a
34578 lot more work.
34579
34580 1997-11-27 Kyle Jones <kyle_jones@wonderworks.com>
34581
34582 * src/keymap.c (munging_key_map_event_binding): Don't do
34583 the meta char hack when processing key-translation-map.
34584 Return nil if the map to be processed (function-key-map
34585 or key-translation-map) is not a keymap.
34586
34587 1997-11-27 SL Baur <steve@altair.xemacs.org>
34588
34589 * device-msw.c: Turn on italic flag if appropriate
34590 * objects-msw.c: Set device-class to color.
34591 From Jeff Sparkes <jsparkes@internetivity.com>
34592
34593 * glyphs-x.c: Should include <magick/magick.h> since that is what
34594 is autodetected by configure.
34595
34596 1997-11-26 SL Baur <steve@altair.xemacs.org>
34597
34598 * events.c (Fmake_event): correct type bug.
34599 From Colin Rafferty <craffert@ml.com>
34600
34601 1997-11-26 Kyle Jones <kyle_jones@wonderworks.com>
34602
34603 * lisp-disunion.h (VALMASK): Use 1UL instead of 1L to
34604 shut up Sun's niggling compiler warnings about integer
34605 overflow.
34606
34607 * print.c (Fprin1_to_string): Don't change and
34608 restore the current buffer; no buffer change is needed
34609 to accomplish the task.
34610
34611 1997-11-23 Jeff Miller <jmiller@smart.net>
34612
34613 * Makefile.in.in removed energize support
34614 * buffer.c removed energize support
34615 * config.h.in removed energize support
34616 * console-x.h removed energize support
34617 * doc.c removed energize support
34618 * emacs.c removed energize support
34619 * extents.c removed energize support
34620 * extents.h removed energize support
34621 * frame-x.c removed energize support
34622 * gui-x.c removed energize support
34623 * menubar-x.c removed energize support
34624 * process.c removed energize support
34625 * puresize.h removed energize support
34626 * symsinit.h removed energize support
34627 * sysproc.h removed energize support
34628 * syssignal.h removed energize support
34629 * undo.c removed energize support
34630 * window.c removed energize support
34631
34632 * energize.c removed
34633 * energize.h removed
34634
34635 1997-11-23 Kyle Jones <kyle_jones@wonderworks.com>
34636
34637 * faces.c (face_property_was_changed): Don't call
34638 update_faces_inheritance, it isn't needed.
34639
34640 1997-11-22 Kyle Jones <kyle_jones@wonderworks.com>
34641
34642 * redisplay-x.c (x_flash): Flash the root window
34643 area instead of the entire frame area.
34644
34645 * frame.h: Added echo_area_garbaged field to frame
34646 struct.
34647
34648 * frame.c (change_frame_size_1): Set the
34649 echo_area_garbaged flag in a frame that has been
34650 resized.
34651
34652 * redisplay.c (redisplay_frame): Clear echo_area_garbaged
34653 flag on frame after displaying the frame.
34654
34655 (Fredisplay_echo_area): Clear echo_area_garbaged
34656 flag on frame after displaying in echo area.
34657
34658 * redisplay.c: Added hscroll_glyph_width_adjust field
34659 to position_redisplay_data_type struct.
34660
34661 (add_hscroll_rune): Compute the difference in width
34662 between the hscroll glyph and a canonical space; store
34663 it in data->hscroll_glyph_width_adjust.
34664
34665 (create_text_block): In tab field computation, adjust
34666 left margin to account for the difference between the
34667 width of the hscroll glyph and the width of a canonical
34668 space.
34669
34670 1997-11-19 Kyle Jones <kyle_jones@wonderworks.com>
34671
34672 * Emacs.ad: Change uses of Gray75 to Gray80.
34673 Don't set modeline colors here.
34674
34675 * EmacsFrame.c: Fetch "background" resource for use by
34676 the toolbar initialization code; default this fetched
34677 value to -1 if it is unspecified, which is different
34678 from what is found in ef->core.background_pixel in that
34679 case.
34680
34681 * EmacsFrame.h: Define macros for "Background" and
34682 "background" resource strings.
34683
34684 * EmacsFrameP.h: Added background_pixel field to
34685 EmascFrmaePart struct.
34686
34687 * toolbar-x.c (x_initialize_frame_toolbar_gcs): Added
34688 code to use the global background resource as the
34689 toolbar background color if it is sepcified. Otherwise
34690 fall back to the backgroundToolBarColor resource.
34691
34692 1997-11-17 Marc Paquette <marcpa@cam.org>
34693
34694 * callproc.c (Fcall_process_internal): Fix for bug in
34695 CRLF -> LF conversion.
34696
34697 1997-11-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
34698
34699 * redisplay-msw.c: Calls GdiFlush() in _ouput_end, _clear_frame and
34700 _redraw_exposed_area
34701
34702 * frame-msw.c: mswindows_init_frame_2
34703 Sets frame's pixel width and height
34704
34705 1997-11-19 Kyle Jones <kyle_jones@wonderworks.com>
34706
34707 * callproc.c (call_process_cleanup): Actaully wait
34708 for the process, rather than not doing it and saying we
34709 did.
34710
34711 1997-11-20 Hrvoje Niksic <hniksic@srce.hr>
34712
34713 * callproc.c (Fcall_process_internal): Close fd_error.
34714
34715 1997-11-19 Didier Verna <didier@xemacs.org>
34716
34717 * emacs.c (main_1): Added the missing argmatch call to check
34718 for the '-h' option.
34719
34720 1997-11-18 SL Baur <steve@altair.xemacs.org>
34721
34722 * mule-coding.h: Replace freshly broken ENCODE_SJIS and
34723 DECODE_SJIS macros with working versions from beta4.
34724
34725 1997-11-17 Kyle Jones <kyle_jones@wonderworks.com>
34726
34727 * frame-x.c (x_init_frame_1): Set frame visibility
34728 flag to 1 immediately so that echo area message are
34729 displayed in it promptly.
34730
34731 * redisplay.c (Fredisplay_echo_area): If frame has
34732 changed, clear it to avoid garbled messages.
34733
34734 * window.c (set_window_pixsize): Restore the bail out
34735 if no size change, but do it after the loop that recomputers
34736 major child corner coordinates.
34737
34738 * keymap.c (describe_map_mapper): Recognize the
34739 buttonXup keysyms as mouse bindings.
34740
34741 1997-11-17 Tor Arntsen <tor@spacetec.no>
34742
34743 * Makefile.in.in (update-elc.stamp): Add temacs to dependency.
34744
34745 1997-11-16 Kyle Jones <kyle_jones@wonderworks.com>
34746
34747 * Added suport for toolbar borders.
34748
34749 * EmacsFrame.c: Added X resources for new toolbar
34750 borders.
34751
34752 (EmacsFrameSetValues): Added Fadd_spec_to_specifier
34753 calls to move resourced toolbar border width data
34754 into the speciifers.
34755
34756 * EmacsFrame.h: Defined X resource strings for
34757 toolbar border width resources.
34758
34759 * EmacsFrameP.h: Added toolbar border width fields
34760 to the EmacsFramePart struct.
34761
34762 * console.h: Added toolbar_border_width_changed_in_frame_method
34763 field to struct console.
34764
34765 * events.c (event_x_y_pixel_internal): Factor the
34766 toolbar border into pixel offset.
34767
34768 * frame.c: Document new toolbar border width
34769 speciifer as being usable as frame properties.
34770
34771 (frame_conversion_internal): Factor the toolbar border
34772 widths into the geometry calculations.
34773
34774 (change_frame_size_1): Ditto.
34775
34776 * frame.h: Added field to struct frame for toolbar
34777 border widths. Modified geomtry macros and created
34778 others in support of the new toolbar border widths.
34779
34780 * frameslot.h: Added a default_toolbar_border_width
34781 slot.
34782
34783 * redisplay-x.c (x_clear_frame): Factor the toolbar
34784 border widths into the geometry calculations.
34785
34786 * toolbar-x.c (x_draw_blank_toolbar_button): Add
34787 support for drawing a border along with the blank
34788 button. Accept border_width and vertical args.
34789
34790 (x_output_toolbar_button): Added support for drawing a
34791 border along with the button.
34792
34793 (X_OUTPUT_BUTTONS_LOOP): Pass border_width and vert
34794 args to x_draw_blank_toolbar_button. Set vertical and
34795 border_width fields in toolbar button.
34796
34797 (x_output_toolbar): Support toolbar border widths.
34798
34799 (x_toolbar_size_changed_in_frame_1): Mark all toolbar
34800 buttons in the change toolbar as dirty so that they
34801 are refreshed if had been painted over.
34802
34803 New function: x_toolbar_border_width_changed_in_frame.
34804 Used it as a console method.
34805
34806 * toolbar.c: New function: mark_frame_toolbar_buttons_dirty.
34807
34808 New function: toolbar_border_width_changed_in_frame.
34809 Used it as a specifier frame slot change method.
34810
34811 (get_toolbar_coords): Factor the toolbar border
34812 widths into the geometry calculations.
34813
34814 (Fset_default_toolbar_position): Update the fallback
34815 border width specifiers for the affected toolbar
34816 positions.
34817
34818 (specifier_vars_of_toolbar): Added specifiers for the
34819 toolbar border widths.
34820
34821 * toolbar.h: Added vertical and border_width field
34822 to the toolbar button struct.
34823
34824 * window.h: Added default_toolbar_border_width slot
34825 to window struct, along with four slots for the four
34826 window local toolbar border width values.
34827
34828 1997-11-16 Kyle Jones <kyle_jones@wonderworks.com>
34829
34830 * frame-x.c: Fixed typo in the documentation of the
34831 top-toolbar-shadow-color frame property.
34832
34833 1997-11-16 Skip Montanaro <skip@calendar.com>
34834
34835 * redisplay.c: suppress buffer computation in several places if
34836 MULE is not defined.
34837
34838 1997-11-16 Hrvoje Niksic <hniksic@srce.hr>
34839
34840 * events.c (print_event): Use `event-x-pixel' and `event-y-pixel',
34841 to be consistent with `make-event' and `event-properties'.
34842 (Fmake_event): Allow nil dnd-data.
34843
34844 1997-11-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
34845
34846 * console.h
34847 mswindows is now a window-system according to
34848 CONSOLE_TYPESYM_WIN_P
34849
34850 * device.msw.c
34851 Now calls init_baud_rate & init_one_device
34852
34853 * msw-proc.c
34854 Fixed C-key so key is returned unshifted
34855
34856 * redisplay-msw.c
34857 Modeline and vertical divider appearance tweaks
34858
34859
34860 1997-11-14 SL Baur <steve@altair.xemacs.org>
34861
34862 * console.c (Fsuspend_emacs): Fix docstring. Evaluating
34863 `suspend-hook' cannot stop suspension.
34864
34865 1997-11-14 Marc Paquette <marcpa@cam.org>
34866
34867 * callproc.c (Fcall_process_internal): Do CRLF -> LF
34868 conversion when reading process output.
34869
34870 1997-11-14 Hrvoje Niksic <hniksic@srce.hr>
34871
34872 * redisplay.c (init_redisplay): Handle not having DISPLAY and not
34873 having TTY support.
34874
34875 1997-11-14 Hrvoje Niksic <hniksic@srce.hr>
34876
34877 * events.c (Fmake_event): Support DND events.
34878
34879 1997-11-10 Hrvoje Niksic <hniksic@srce.hr>
34880
34881 * events.c (Fmake_event): Reenable the event creation code.
34882 (Fmake_event): Canonicalize the plist.
34883
34884 1997-11-13 SL Baur <steve@altair.xemacs.org>
34885
34886 * mule-charset.c (Fcharset_id): Typecast result to Lisp_Object.
34887
34888 * mule-ccl.c (CCL_WRITE_STRING): Reorder parens to avoid compiler
34889 barf on Lisp_Object.
34890 (Fregister_ccl_program): Remove unused variable idx.
34891
34892 * mule-canna.c: Fix declaration of mule_strlen().
34893
34894 * mule-coding.h (ENCODE_SJIS): Parenthesize first two params to
34895 avoid compilation problems.
34896
34897 1997-11-13 Olivier Galibert <olivier.galibert@mines.u-nancy.fr>
34898
34899 * mule-charset.h: Added preliminary support for charset Ids.
34900
34901 * mule-charset.c: Added preliminary support for charset Ids.
34902
34903 * redisplay-msw.c (separate_textual_runs): Synched with FSF 20.2
34904 ccl API.
34905
34906 * redisplay-x.c (separate_textual_runs): Synched with FSF 20.2 ccl
34907 API.
34908
34909 * mule-coding.c: Synched with FSF 20.2 ccl API.
34910
34911 * mule-coding.h: Moved ccl part to mule-ccl.h.
34912
34913 * mule-ccl.c: Synched with FSF 20.2.
34914
34915 * mule-ccl.h: New file.
34916
34917 Thu Nov 13 21:34:13 1997 Marc Paquette <marcpa@cam.org>
34918
34919 * nt.c (REG_ROOT): Use a registry key different that the one for
34920 NTEmacs.
34921
34922 1997-11-12 SL Baur <steve@altair.xemacs.org>
34923
34924 * lrecord.h: Fix typo in set_lheader_implementation.
34925 From: Robert Pluim <Robert_Pluim@BayNetworks.COM>
34926
34927 1997-11-13 Olivier Galibert <galibert@renaissance.loria.fr>
34928
34929 * configure.in: Remove HAVE_TIMEZONE_DECL test.
34930
34931 1997-11-13 Olivier Galibert <galibert@renaissance.loria.fr>
34932
34933 * s/freebsd.h: Remove HAVE_TIMEZONE_DECL forced value.
34934
34935 * config.h.in: Remove HAVE_TIMEZONE_DECL reference.
34936
34937 * systime.h: Remove timezone conditional declaration.
34938
34939 1997-11-12 Kyle Jones <kyle_jones@wonderworks.com>
34940
34941 * console.c: Use symbol_value_forward_lheader_initializer
34942 in various DEFVAR* macros. Forgot this in previous
34943 related patch.
34944
34945 * lisp-disunion.h: Provide a no-op XUNMARK macro for
34946 the GC error checking code even if GCMARKBITS is not
34947 greater than 0.
34948
34949 * lisp-union.h: Ditto.
34950
34951 1997-11-10 Hrvoje Niksic <hniksic@srce.hr>
34952
34953 * event-stream.c: Make echo_keystrokes a Lisp_Object.
34954 (maybe_echo_keys): Adapt to that.
34955
34956 1997-11-11 SL Baur <steve@altair.xemacs.org>
34957
34958 * eval.c (throw_or_bomb_out): Remove abort.
34959 Suggested by: Kyle Jones <kyle_jones@wonderworks.com>
34960
34961 1997-11-11 Kyle Jones <kyle_jones@wonderworks.com>
34962
34963 * Added support for referencing lrecord_implementations
34964 via an index in an lrecord_header rather than a raw
34965 pointer. Also added a mark bit and a pure bit.
34966
34967 * alloc.c: Made lrecord_type_index() and
34968 lrecord_implementations_table[] global, previously they
34969 were static. Used new XRECORD_LHEADER_IMPLEMENTATION
34970 and LHEADER_IMPLEMENTATION macros to access
34971 lrecord_implementations found in Lisp_Objects and
34972 lrecord_headers instead of referencing ->implementation.
34973
34974 (gc_record_type_p): For USE_INDEXED_LRECORD_IMPLEMENTATION,
34975 there's no need to check for equality to type or type + 1.
34976 lrecords are no longer marked by incrementing the
34977 implementation pointer.
34978
34979 (init_alloc_once_early): Initialized subr and
34980 symbol_value_forward lrecord indexes early so that the
34981 staticly defined subrs and symbol_value_forward object
34982 indexes match the lrecord_implementations_table.
34983
34984 * buffer.c: Used symbol_value_forward_lheader_initializer in
34985 various DEFVAR* macros. Used new XRECORD_LHEADER_IMPLEMENTATION
34986 macro.
34987
34988 * elhash.c: Used new XRECORD_LHEADER_IMPLEMENTATION
34989 macro.
34990
34991 * fns.c: Used new XRECORD_LHEADER_IMPLEMENTATION macro.
34992
34993 * lisp.h: Defined subr_lheader_initializer macro, used it in
34994 DEFUN macro.
34995
34996 * lrecord.h: For USE_INDEXED_LRECORD_IMPLEMENTATION,
34997 changed lrecord_header to contain an index into
34998 lrecord_implementations_table[], plus a mark bit and a pure
34999 bit. Added support code for this. Defined new
35000 XRECORD_LHEADER_IMPLEMENTATION and LHEADER_IMPLEMENTATION
35001 macros to be used to find the lrecord_implementation
35002 of a Lisp_Object.
35003
35004 * print.c: Used new XRECORD_LHEADER_IMPLEMENTATION and
35005 LHEADER_IMPLEMENTATION macros.
35006
35007 * symbols.c: Used symbol_value_forward_lheader_initializer in
35008 definition of guts_of_unbound_marker.
35009
35010 * symeval.h: Defined symbol_value_forward_lheader_initializer
35011 macro. Used symbol_value_forward_lheader_initializer in various
35012 macros. Used new XRECORD_LHEADER_IMPLEMENTATION macro.
35013
35014
35015 1997-11-10 SL Baur <steve@altair.xemacs.org>
35016
35017 * window.c (set_window_pixsize): Remove unused variable.
35018
35019 * extents.c (print_extent_1): Fix type check error in sprintf.
35020
35021 * doc.c (Fsnarf_documentation): Remove unused label weird_function.
35022
35023 * symsinit.h: Restore declaration of vars_of_dialog_x.
35024
35025 * database.c (Fopen_database): Fix unused variable message.
35026
35027 * sysdep.c (sys_subshell): vfork() is a demented, obsolete hack.
35028
35029 * offix.c (struct): Make ImageData, MaskData be unsigned char *.
35030
35031 * event-Xt.c (x_event_to_emacs_event): Clean up typecasting.
35032 * frame-x.c (Foffix_start_drag_internal): Ditto.
35033
35034 1997-11-09 Kyle Jones <kyle_jones@wonderworks.com>
35035
35036 * extents.c (print_extent_1): Use %lx instead of %p
35037 to get the same output on all compilers.
35038
35039 1997-11-09 Hrvoje Niksic <hniksic@srce.hr>
35040
35041 * line-number.c: Use markers.
35042
35043 * redisplay.c (window_line_number): Restored.
35044
35045 * line-number.c (allocate_line_number_cache): Account for
35046 narrowing.
35047 (buffer_line_number): New function.
35048
35049 * line-number.c (get_nearest_line_number): New function.
35050 (window_line_number): Use it.
35051 (narrow_line_number_cache): New function.
35052 (invalidate_line_number_cache): Ditto.
35053 (insert_invalidate_line_number_cache): Ditto.
35054 (delete_invalidate_line_number_cache): Ditto.
35055 (add_line_number): Ditto.
35056
35057 * editfns.c (widen_buffer): Update line number cache.
35058 (Fnarrow_to_region): Ditto.
35059 (save_restriction_restore): Ditto.
35060
35061 * insdel.c (buffer_insert_string_1): Invalidate cache for
35062 insertion.
35063 (buffer_delete_range): Invalidate cache for deletion.
35064
35065 * line-number.c: New file.
35066 (window_line_number): Moved from redisplay.c.
35067
35068 * print.c (debug_print): Print a carriage return, too.
35069
35070 * bufslots.h: New slot `line_number_cache'.
35071
35072 1997-11-09 Kyle Jones <kyle_jones@wonderworks.com>
35073
35074 * event-stream.c: New Lisp variable: last-command-event-time.
35075
35076 1997-11-08 SL Baur <steve@altair.xemacs.org>
35077
35078 * lread.c (init_lread): start from lisp, not lisp/prim.
35079
35080 * Makefile.in.in: lisp/prim does exist any more.
35081
35082 1997-11-07 Kyle Jones <kyle_jones@wonderworks.com>
35083
35084 * abbrev.c (abbrev_lookup): Don't delete dash at the
35085 abbrev start location; abbrev-prefix-mark no longer
35086 inserts one.
35087
35088 Wed November 05 23:40:00 1997 <jhar@tardis.ed.ac.uk>
35089
35090 * fileio.c: insert-file-contents-internal
35091 Added a bodge to do CRLF->LF conversion of text files,
35092 conditioned on DOS_NT. This is currently only one-way, so all
35093 text files written by XEmacs will be UNIXified. CRLF conversion
35094 is required to make bytecompile work.
35095
35096 * Added file headers to:
35097 console-w32.c, console-w32.h,
35098 device-w32.c, event-w32.c, event-w32.h, frame-w32.c,
35099 objects-w32.c, objects-w32.h, redisplay-w32.c, w32-proc.c
35100
35101 Sun November 01 12:00:00 1997 <jhar@tardis.ed.ac.uk>
35102
35103 * redisplay-x.c: x_output_vertical_divider:
35104 If HAVE_SCROLLBARS was not defined, coordinate of the right of
35105 the divider was being used unitialised.
35106
35107 * console.h: Added Qw32 and CONSOLE_W32* macros, conditioned on
35108 HAVE_W32GUI.
35109
35110 * emacs.c: Added calls to the following, conditioned on HAVE_W32GUI:
35111 syms_of_*_w32, vars_of_*_w32, console_type_create_*w32.
35112
35113 * event-stream.c: Conditioned on HAVE_W32GUI:
35114 - vars_of_event_stream calls vars_of_event_w32.
35115 - init_event_stream calls init_event_w32_late.
35116
35117 * events-mod.h: Removed comment about having alternative making
35118 MOD_* constants for different windowing systems.
35119
35120 * events.c: Conditioned on HAVE_W32GUI:
35121 - event-equal: Added case for w32 magic events.
35122 - event-hash: Added case for w32 magic events.
35123
35124 * events.h: Conditioned on HAVE_W32GUI:
35125 Added struct underlying_w32_event to magic_data.
35126
35127 * faces.c: complex_vars_of_faces
35128 Added fallbacks for w32 faces, conditioned on HAVE_W32GUI.
35129
35130 * frame.c: set-frame-properties
35131 Added reference to default-w32-frame-plist to docstring.
35132
35133 * general.c: Added new Lisp_Object Qw32 and defsymbol.
35134
35135 * redisplay-output.c: redisplay_update_line
35136 Conditioned reference to stupid_vertical_scrollbar_drag_hack on
35137 HAVE_X_WINDOWS. This will need a proper fix when w32 gets
35138 scrollbars.
35139
35140 * redisplay-tty.c: init_tty_for_redisplay
35141 Conditioned blocking and unblocking of SIGTTOU on !WIN32 because
35142 these signals don't exist under win32.
35143
35144 * redisplay.c: init_redisplay
35145 Initialise window system to w32, conditioned on HAVE_W32GUI.
35146
35147 * symsinit.h: Added syms_of_*_w32, vars_of_*_w32 and
35148 init_event_w32_late.
35149
35150 * sysdep.c: Conditioned various things on WIN32 in addition to
35151 MSDOS.
35152
35153 * New files:
35154 console-w32.c, console-w32.h,
35155 device-w32.c, event-w32.c, event-w32.h, frame-w32.c,
35156 objects-w32.c, objects-w32.h, redisplay-w32.c, w32-proc.c
35157
35158 1997-11-07 Hrvoje Niksic <hniksic@srce.hr>
35159
35160 * doc.c (Fdocumentation_property): GCPRO doc.
35161 (Fsubstitute_command_keys): Disallow zero bsize.
35162
35163 1997-11-06 Hrvoje Niksic <hniksic@srce.hr>
35164
35165 * events.c (Fevent_modeline_position): Return nil if event is not
35166 over modeline, as the docstring says.
35167
35168 1997-11-05 Martin Buchholz <Martin Buchholz <martin@xemacs.org>>
35169
35170 * s/aix3-1.h: Remove ^L character wich confuses AIX make.
35171
35172 1997-11-06 Tomasz Cholewo <tjchol01@mecca.spd.louisville.edu>
35173
35174 * event-stream.c (Fnext_command_event): Document keystroke echoing.
35175
35176 1997-11-06 Hrvoje Niksic <hniksic@srce.hr>
35177
35178 * fns.c (Ffeaturep): Use call1, to prevent stack thrashing with
35179 circular lists.
35180 - Update docstring.
35181
35182 1997-11-06 Kyle Jones <kyle_jones@wonderworks.com>
35183
35184 * frame-x.c (x_delete_frame): Removed code that
35185 blocked the deletion of popup frames. No need for it.
35186
35187 1997-11-05 SL Baur <steve@altair.xemacs.org>
35188
35189 * balloon_help.h: Replace <X11/Intrinsic.h> with "xintrinsic.h"
35190 * balloon_help.c: Ditto.
35191 * offix.h: Ditto.
35192
35193 * mule-coding.c (coding_system_charset): Add prototype.
35194
35195 1997-11-04 Kazuyuki IENAGA <ienaga@jsys.co.jp>
35196
35197 * s/freebsd.h: Add HAVE_TIMEZONE_DECL. Configure will fail at
35198 checking for the existence of `extern long timezone'.
35199 FreeBSD actualy has the `timezone', but due to its <time.h> and
35200 <sys/time.h>, it cannot be recognized by configure.
35201
35202 1997-11-03 Hrvoje Niksic <hniksic@srce.hr>
35203
35204 * data.c (Fsubr_interactive): New function.
35205
35206 1997-11-03 Kyle Jones <kyle_jones@wonderworks.com>
35207
35208 * frame.c (change_frame_size_1): Added explanatory
35209 comment.
35210
35211 * window.c (set_window_pixsize): Don't bail out
35212 before looping over the major children if there is no
35213 size change indicated. The top and left coordinates
35214 may need to be recomputed, e.g. in toolbar visibility
35215 updates.
35216
35217 1997-11-02 Kyle Jones <kyle_jones@wonderworks.com>
35218
35219 * fileio.c (Ffile_truename): Make the errno == EACCES case
35220 behave the same as errno == ENOENT.
35221
35222 1997-11-03 Kyle Jones <kyle_jones@wonderworks.com>
35223
35224 * frame.c (Fframe_property, Fframe_properties): Check
35225 for minibuffer-onlyness of frame before checking whether
35226 it has a minibuffer. This makes the minibuffer property
35227 value be reported as 'only when that is appropriate. The
35228 check order was reversed which resulted in minibuffer-only
35229 frames having the minibuffer property reported as t.
35230
35231 1997-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
35232
35233 * m/vax.h:
35234 * s/cxux.h:
35235 * s/xenix.h:
35236 * s/umax.h:
35237 * s/msdos.h:
35238 * s/template.h:
35239 * termcap.c:
35240 * signal.c:
35241 * lread.c:
35242 * callproc.c
35243 * buffer.c: Remove VMS dependent code.
35244
35245 1997-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
35246
35247 * syspwd.h:
35248 * systty.h:
35249 * systime.h:
35250 * syssignal.h:
35251 * sysproc.h:
35252 * sysfloat.h:
35253 * sysfile.h:
35254 * regex.h:
35255 * process.h:
35256 * ndir.h:
35257 * mule-mcpath.h:
35258 * getpagesize.h:
35259 * sysdep.h:
35260 * fileio.c:
35261 * process.c: Remove old VMS code.
35262
35263 1997-11-02 SL Baur <steve@altair.xemacs.org>
35264
35265 * glyphs-x.c: Use <magick/magick.h> instead of <magick.h>
35266
35267 1997-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
35268
35269 * sysdep.c:
35270 * getloadavg.c:
35271 * malloc.c: Remove old VMS code.
35272
35273 1997-11-02 Hrvoje Niksic <hniksic@srce.hr>
35274
35275 * database.c (print_database): Don't use a static buffer to store
35276 file name.
35277
35278 * dired.c (make_directory_hash_table): Ditto.
35279
35280 * fileio.c (Ffile_truename): Use `make_ext_string' instead of
35281 `make_string'.
35282
35283 1997-11-01 Hrvoje Niksic <hniksic@srce.hr>
35284
35285 * database.c (CONCHECK_DATABASE): Define.
35286
35287 * dired.c (Fdirectory_files): Use `make_ext_string' instead of
35288 `make_string', to avoid crashes under Mule.
35289 (file_name_completion): Use `make_ext_string'.
35290
35291 * database.c (new_database): Renamed to `allocate_database', as
35292 per coding conventions.
35293
35294 1997-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
35295
35296 * dired.c: Remove VMS dependent code.
35297
35298 1997-11-01 Kyle Jones <kyle_jones@wonderworks.com>
35299
35300 * buffer.h: Change XCHAR_OR_CHAR_INT to use XCHAR or
35301 XINT as appropriate instead of using XREALINT.
35302
35303 * regex.c (re_search_2): cast translate[*d] to
35304 unsigned char when indexing fastmap to avoid sign
35305 change when value has the 0x80 bit set.
35306
35307 1997-10-31 SL Baur <steve@altair.xemacs.org>
35308
35309 * linuxplay.c (audio_init): Update for newer Linux kernels.
35310 From Robert Bihlmeyer <robbe@orcus.priv.at>
35311
35312 1997-11-01 Hrvoje Niksic <hniksic@srce.hr>
35313
35314 * fileio.c (Finsert_file_contents_internal): Fix misleading
35315 comment.
35316
35317 1997-10-31 Kyle Jones <kyle_jones@wonderworks.com>
35318
35319 * callproc.c: GC protect current_dir while infile and
35320 error_file are being initialized.
35321
35322 1997-10-30 SL Baur <steve@altair.xemacs.org>
35323
35324 * config.h.in: Remove HAVE_GIF, HAVE_JPEG, HAVE_PNG, HAVE_TIFF and
35325 replace with HAVE_IMAGEMAGICK.
35326
35327 1997-10-30 Kyle Jones <kyle_jones@wonderworks.com>
35328
35329 * process.c (Fprocess_send_string): Protect against
35330 SIGPIPE when flushing outstream.
35331
35332 1997-10-30 SL Baur <steve@altair.xemacs.org>
35333
35334 * input-method-xfs.c: Xlocale.h must be included after config.h.
35335 * input-method-motif.c: ditto.
35336 * input-method-xlib.c: ditto.
35337
35338 1997-10-28 Kyle Jones <kyle_jones@wonderworks.com>
35339
35340 * Under LRECORD_VECTOR, moved vectors from being an basic
35341 lrecord tpye to an lcrecord.
35342 Added support for 31 bits Lisp integers.
35343 Added support for maskless pointers to Lisp objects.
35344
35345 * alloc.c
35346
35347 (allocate_lisp_storage): Use XSETOBJ instead of
35348 XSETCONS to avoid tripping the ERROR_CHECK_TYPECHECK
35349 code with uninitialized data. XSETCONS used to work
35350 until it became an lrecord type.
35351
35352 Removed sweep_vectors_1, all_vectors and other vector
35353 specific GC related objects in the LRECORD_VECTOR
35354 case, as they are unneeded now that lrecord-based
35355 vectors are lcrecords.
35356
35357 Added `equal' methods for lrecord-based conses, vectors
35358 and strings. I was mistaken before; they are needed.
35359
35360 (pure_cons): moved XSETCONS call to after the
35361 set_lheader_implementation call, to avoid tripping the
35362 type checking code on an uninitialized implementation
35363 pointer.
35364
35365 (make_pure_vector): moved XSETVECTOR call to after the
35366 set_lheader_implementation call, to avoid tripping the
35367 type checking code on an uninitialized implementation
35368 pointer.
35369
35370 (Fpurecopy): return if given a null pointer. THis can
35371 happen when initializing Qnil.
35372
35373 (mark_object): return if passed a null pointer. I
35374 think this can happen when marking through some kind of
35375 objects that contain Lisp_Objects and null pointers.
35376
35377 (marked_p): Ditto
35378
35379 * buffer.c
35380
35381 (mark_buffer): Don't mark conses in the indirect children
35382 list is said list is in fact a null pointer. The
35383 indirect children list gets reset to a null pointer
35384 when a bfufer is killed.
35385
35386 (complex_vars_of_buffer): initialize indirect_children
35387 slow of Vbuffer_local_symbols and Vbuffer_defaults to
35388 nil.
35389
35390 * chartab.c
35391
35392 (Fcheck_category_at): Don't use XREALINT to extract a
35393 char from a Lisp_Object, use XCHAR instead.
35394
35395 (Fchar_in_category): Ditto.
35396
35397 * data.c
35398
35399 (eq_with_ebola_notice): Use XCHAR_OR_INT instead of
35400 XREALINT to extract data from a Lisp_Object that could
35401 contain a charater or an integer.
35402
35403 (make_int): use XSETINT in the USE_MINIMAL_TAGBITS
35404 case.
35405
35406 (make_char): use XSETINT in the USE_MINIMAL_TAGBITS
35407 case.
35408
35409 (Flsh): XUINT is gone; use XINT instead.
35410
35411 * elhash.c
35412
35413 (elisp_hvector_malloc): Use Qnull_pointer instead of
35414 Qzero, as Qzero is no longer guaranteed to contain an
35415 all-zero bit pattern.
35416
35417 (make_lisp_hashtable): Ditto.
35418
35419 (Fcopy_hashtable): Ditto.
35420
35421 * emacsfns.h
35422
35423 Conditionalize the declaration of make_char() on
35424 whether a make_char macro exists or not.
35425
35426 * fns.c
35427
35428 (internal_equal): Conditionalize existence of cons,
35429 string and vector comparison code on whether they are
35430 lrecord-based.
35431
35432 (internal_old_equal): Ditto.
35433
35434 * lisp-disunion.h
35435
35436 USE_MINIMAL_TAGBITS support.
35437
35438 31 bit Lisp integer support.
35439
35440 Conditionalized existence of markbit related macros on
35441 the existence of a markbit in a Lisp_Object. There are
35442 no markbits in the USE_MINIMAL_TAGBITS implementation
35443 of a Lisp_Object.
35444
35445 Replaced XUINT with XPNTRVAL.
35446
35447 Added declaration for Qnull_pointer.
35448
35449 * lisp-union.h
35450
35451 USE_MINIMAL_TAGBITS support.
35452
35453 31 bit Lisp integer support.
35454
35455 Conditionalized existence of markbit related macros on
35456 the existence of a markbit in a Lisp_Object. There are
35457 no markbits in the USE_MINIMAL_TAGBITS implementation
35458 of a Lisp_Object.
35459
35460 Replaced XUINT with XPNTRVAL.
35461
35462 Added a make_char macro, similar to the make_int
35463 macro, for use with the GCC-specific XMAKE_LISP hack.
35464
35465 * lisp.h
35466
35467 USE_MINIMAL_TAGBITS support.
35468
35469 31 bit Lisp integer support.
35470
35471 Added GCMARKBITS macro to specify how many markbits a
35472 Lisp_Object contains.
35473
35474 Support for lcrecord-based vectors.
35475
35476 Added XCHAR_OR_INT for accessing data in an object
35477 that might contain either a character or an integer.
35478
35479 Made HACKEQ_UNSAFE use XCHAR_OR_INT instead of
35480 XREALINT during its Ebola check.
35481
35482 * print.c
35483
35484 Made the printing code undestand the split Lisp integer type.
35485
35486 * symbols.c
35487
35488 Added declaration for Qnull_pointer.
35489
35490 1997-10-27 Martin Buchholz <mrb@eng.sun.com>
35491
35492 * m/ibmrs6000.h:
35493 * s/aix3-2.h: C_SWITCH_SYSTEM ==> configure.in
35494 * s/aix4-1.h: -li18n ==> configure.in
35495 * s/aix4.h: Always include strings.h
35496 * config.h.in: Add AIXV3 define, suggested by xmkmf. Remove
35497 AIX_SMT_EXP.
35498 * unexaix.c: Fix nested comments compiler warning
35499
35500 1997-10-27 Kyle Jones <kyle_jones@wonderworks.com>
35501
35502 * profile.c (sigprof_handler): Don't call XUNMARK on
35503 fun, it isn't needed.
35504
35505 * faces.c (face_property_matching_instance): Check
35506 for charset == Qunbound, which it can be if the
35507 character set is unspecified.
35508
35509 1997-10-27 SL Baur <steve@altair.xemacs.org>
35510
35511 * mule-wnnfns.c (vars_of_mule_wnn): Provide 'wnn feature.
35512
35513 * mule-canna.c (vars_of_mule_canna): Provide 'CANNA feature.
35514
35515 1997-10-27 Kazuyuki IENAGA <ienaga@jsys.co.jp>
35516
35517 * device-x.c (x_init_device): To avoid crazy menubars due to
35518 lack of suitable font loading. Disabled locale based app-defaults
35519 loading when menubars=motif or menubars=lucid + xfs feature is not
35520 used. Currently, the menubar resource has no effect for tty use.
35521
35522 1997-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
35523
35524 * README: Remove references to VMS.
35525
35526 * vlimit.h:
35527 * s/vms5-5.h:
35528 * s/vms4-4.h:
35529 * s/vms4-2.h:
35530 * s/vms4-0.h:
35531 * s/vms.h: Remove files since VMS isn't supported any more.
35532
35533 1997-10-25 Kyle Jones <kyle_jones@wonderworks.com>
35534
35535 * toolbar.h: Reduce MINIMUM_SHADOW_THICKNESS to 1.
35536
35537 1997-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
35538
35539 * database.c: Added support for Berkeley DB 2.x.
35540
35541 1997-10-23 SL Baur <steve@altair.xemacs.org>
35542
35543 * alloc.c: Disable purespace statistics unless --debug is in
35544 effect.
35545
35546 * console-stream.c (init_console_stream): At the price of a tiny
35547 memory leak, reinitialize FILE fields of the console.
35548 From Tonny Madsen <tma@nettest.dk>
35549
35550 * emacs.c: New variable `inhibit_package_init'.
35551 (vars_of_emacs): Use it.
35552 (main_1): Initialize from command line.
35553
35554 * Makefile.in.in (xemacs): Specify -vanilla when searching for
35555 shadows.
35556
35557 * emacs.c: Remove VMS ifdefs.
35558 (standard_args): Added -no-packages, --no-packages.
35559 Added -vanilla, --vanilla.
35560 (Frun_emacs_from_temacs): Guard pure usage report with DEBUG_XEMACS
35561 (Fdump_emacs): Ditto.
35562
35563 1997-10-22 Hrvoje Niksic <hniksic@srce.hr>
35564
35565 * fns.c (Ffeaturep): Use `Fcar' with `or'.
35566
35567 1997-10-22 Kyle Jones <kyle_jones@wonderworks.com>
35568
35569 * alloc.c: drop the Lisp_Type_Record case clause
35570 that I added to the switch statement in a previous
35571 patch. The string, vector and cons cases belong in
35572 the `default' clause with the other lrecord types.
35573
35574 1997-10-22 Kyle Jones <kyle_jones@wonderworks.com>
35575
35576 * Added support for strings as lrecords.
35577
35578 * lisp.h: #ifdef'd out Lisp_Type_String enum value
35579 if LRECORD_STRING is defined.
35580
35581 * alloc.c: Added allocation and garbage collection
35582 code for lrecord-based strings.
35583
35584 * print.c: move Lisp_String printing code to a
35585 separate function so that it could be used as a
35586 `print' method for lrecord-based strings.
35587
35588 1997-10-20 Jan Vroonhof <vroonhof@math.ethz.ch>
35589
35590 * extents.c: Renamed shot property to initial-redisplay-function
35591 (extent_fragment_update): Changed the bookkeeping whether an event
35592 has been spawned. The initial-redisplay-function property is no
35593 longer set to nil.
35594
35595 * extents.h: ditto
35596
35597 1997-10-20 Kyle Jones <kyle_jones@wonderworks.com>
35598
35599 * Added support for conses and vectors to be lrecords.
35600
35601 * alloc.c: Modified allocation and GC code for
35602 LRECORD_CONS and LRECORD_VECTOR support. Moved some
35603 macros to lrecord.h.
35604
35605 * bytecode.c: Warning comment about LRECORD_CONS.
35606
35607 * elhash.c: Let internal_hash handle vector hashing
35608 if LRECORD_VECTOR is defined, just as it does when
35609 LRECORD_VECTOR is not defined. The code could have
35610 been copied into an `hash' method function but I don't
35611 see any point to it. Added lrecord style marking code
35612 to finish_marking_weak_hashtables. Bracketed code
35613 that groks the non-lrecord method of marking vectors
35614 with #ifdefs.
35615
35616 * fns.c: Let internal_equal and internal_old_equal
35617 handle vector comparisons when LRECORD_VECTOR is
35618 defined, just as it does when LRECORD_VECTOR is not
35619 defined. The code could have been copied into an
35620 `equal' method function but I don't see any point to
35621 it.
35622
35623 * lisp.h: Added typecheck macros for LRECORD_CONS
35624 support. LRECORD_VECTOR macros were already present.
35625
35626 * print.c: New functions print_cons and print_vector
35627 for LRECORD_CONS and LRECORD_VECTOR support.
35628 Some GC protection also added.
35629
35630 * lrecord.h: Received some macros from alloc.c, so
35631 that they could be used in lisp.h.
35632
35633 1997-10-20 Hrvoje Niksic <hniksic@srce.hr>
35634
35635 * fns.c (Ffeaturep): Handle `not' correctly.
35636
35637 * lread.c (vars_of_lread): Use defsymbol for featurep.
35638
35639 1997-10-15 Olivier Galibert <olivier.galibert@mines.u-nancy.fr>
35640
35641 * s/irix5-0.h: Removed -G 0 from LD_SWITCH_SYSTEM. .sbss sections
35642 are supported since unexelfsgi.c upgrade.
35643
35644 1997-10-16 Kyle Jones <kyle_jones@wonderworks.com>
35645
35646 * lstream.c (Lstream_close): Don't return early if the
35647 closer method reports failure. Doing so caused GC and
35648 memory corruption crashes.
35649
35650 1997-10-14 Hrvoje Niksic <hniksic@srce.hr>
35651
35652 * extents.c (Fset_extent_property): Allow `keymap' property to be
35653 set to nil.
35654
35655 1997-10-15 SL Baur <steve@altair.xemacs.org>
35656
35657 * mule-coding.c (acceptable_control_char_p): Add C-_ for info.
35658 (detect_coding_iso2022): Ditto.
35659 From SENDA Shigeya <senda@ic.rdc.ricoh.co.jp>
35660
35661 1997-10-09 MORIOKA Tomohiko <morioka@jaist.ac.jp>
35662
35663 * mule-coding.c (make-coding-system, detect-coding-region): Modify
35664 DOC-string because of renaming `automatic-conversion' ->
35665 `undecided' to sync with Emacs 20.2.
35666
35667 (make-coding-system, coding-system-type, detect-coding-region):
35668 Rename `Qautomatic_conversion' -> `Qundecided'.
35669
35670 * general.c (syms_of_general): Rename `automatic-conversion' ->
35671 `undecided' to sync with Emacs 20.2.
35672
35673 * emacsfns.h, event-Xt.c (x_to_emacs_keysym): Rename
35674 `Qautomatic_conversion' -> `Qundecided'.
35675
35676 * buffer.c (buffer-file-coding-system): Modify DOC-string because
35677 of renaming `automatic-conversion' -> `undecided' to sync with
35678 Emacs 20.2.
35679
35680 1997-10-15 Olivier Galibert <olivier.galibert@mines.u-nancy.fr>
35681
35682 * lisp.h (MANY): Bump SUBR_MAX_ARGS to 12 and add corresponding
35683 DEFUN_n macros.
35684
35685 1997-10-13 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
35686
35687 * console-tty.c: Include gpmevent.h
35688 * gpmevent.c (connect_to_gpm): change to void
35689 * gpmevent.h: Ditto.
35690
35691 1997-10-13 Kyle Jones <kyle_jones@wonderworks.com>
35692
35693 * lisp-disunion.h (XSETOBJ): cast Lisp type enum to
35694 an EMACS_UINT quantity to avoid a compiler warning about
35695 integer overflow when the most significat bit of the
35696 type tag is shifted into the sign bit position of an
35697 EMACS_INT.
35698
35699 1997-10-12 SL Baur <steve@altair.xemacs.org>
35700
35701 * s/freebsd.h: Add X11 guard for building without X11.
35702 From Hrvoje Niksic <hniksic@srce.hr>
35703
35704 1997-10-12 Kyle Jones <kyle_jones@wonderworks.com>
35705
35706 * doprnt.c (emacs_doprnt_1): if forwarded field width
35707 is negative, set minus_flag and make the field width
35708 positive. Makes (format "%*s" -10 "abc") work like
35709 (format "%-*s" 10 "abc").
35710
35711 1997-10-12 SL Baur <steve@altair.xemacs.org>
35712
35713 * unexsol2.c (unexec): CONST isn't defined here.
35714 From Adrian Aichner <aichner@ecf.teradyne.com>
35715
35716 1997-10-11 SL Baur <steve@altair.xemacs.org>
35717
35718 * realpath.c (realpath): CONST IS LOSING but removing it conflicts
35719 with system headers.
35720
35721 * callproc.c: New variable infopath-internal.
35722 (complex_vars_of_callproc): Declare and initialized it.
35723
35724 * paths.h.in: New variable PATH_INFOPATH.
35725
35726 1997-10-10 Martin Buchholz <mrb@eng.sun.com>
35727
35728 * systty.h:
35729 - change Xemacs --> XEmacs
35730
35731 * buffer.c:
35732 * editfns.c:
35733 * msdos.c:
35734 - Remove bogus FSF-origin \n\ sequences.
35735
35736 1997-10-09 Kyle Jones <kyle_jones@wonderworks.com>
35737
35738 * doprnt.c (parse_doprnt_spec): parse `*' field width
35739 and precision specs and set up spec forwarding.
35740
35741 * doprnt.c (emacs_doprnt_1): implement `*' by
35742 forwarding flags, precision and field width data from a
35743 spec to a subsequent spec.
35744
35745 * editfns.c: document new `*' field width and
35746 precision spec.
35747
35748 1997-10-09 SL Baur <steve@altair.xemacs.org>
35749
35750 * database.c (Fclose_database): Rename C function.
35751 (Fdatabase_last_error): Ditto.
35752 (Fopen_database): Ditto.
35753 (Fput_database): Ditto.
35754 (Fremove_database): Ditto.
35755 (Fget_database): Ditto.
35756 (syms_of_dbm): Reflect above changes.
35757 From Martin Buchholz <mrb@Eng.Sun.COM>
35758
35759 1997-10-08 Hrvoje Niksic <hniksic@srce.hr>
35760
35761 * events.c (Fmake_event): Allow only frames as channel.
35762
35763 1997-10-07 Hrvoje Niksic <hniksic@srce.hr>
35764
35765 * extents.c (print_extent_1): Fixed typo.
35766
35767 1997-10-07 Kyle Jones <kyle_jones@wonderworks.com>
35768
35769 * insdel.c (buffer_replace_char): if doing delete/insert
35770 because of characters with deiffering byte lengths,move
35771 point forward with the insertion if it was moved backwrad
35772 to equal the insertion point by the earlier deletion.
35773
35774 1997-10-06 SL Baur <steve@altair.xemacs.org>
35775
35776 * window.c (Fset_window_dedicated_p): register -> REGISTER.
35777
35778 * unexalpha.c (update_dynamic_symbols): register-> REGISTER.
35779
35780 * sysdep.c: Global change: register -> REGISTER.
35781
35782 * strcat.c (strcat): register -> REGISTER.
35783
35784 * search.c: Global change: register -> REGISTER.
35785
35786 * regex.c: Global change: register -> REGISTER.
35787 - Ensure REGISTER is always defined.
35788
35789 * nt.c: Global change: register -> REGISTER.
35790
35791 * linuxplay.c: Global change: register -> REGISTER.
35792
35793 * input-method-xlib.c (best_style): register -> REGISTER.
35794
35795 * gifalloc.c: Global change: register -> REGISTER.
35796 - Ensure REGISTER is always defined.
35797
35798 * getloadavg.c (getloadavg): register -> REGISTER.
35799
35800 * eval.c (unwind_to_catch): [Unused variable] register -> REGISTER.
35801
35802 * cmds.c (Fpoint_at_bol): register -> REGISTER.
35803
35804 * chartab.c (check_category_char): register -> REGISTER.
35805
35806 * buffer.c (assoc_ignore_text_properties): [Unused function]
35807 register -> REGISTER.
35808
35809 * alloca.c: Global change: register -> REGISTER.
35810
35811 * xmu.h (XmuCopyISOLatin1Lowered): Global change: const -> CONST.
35812
35813 * gif_lib.h: Global change: const -> CONST.
35814
35815 * balloon_help.h (balloon_help_move_to_pointer): const -> CONST.
35816
35817 * xmu.c: Global change: const -> CONST.
35818
35819 * unexsol2.c (unexec): const -> CONST.
35820
35821 * unexhp9k3.c (unexec_error): const -> CONST.
35822
35823 * unexfreebsd.c (unexec_error): const -> CONST.
35824
35825 * sunOS-fix.c (mbstowcs): const-> CONST.
35826 (wcstombs): Ditto.
35827
35828 * strcpy.c (strcpy): const -> CONST.
35829
35830 * strcmp.c: Global change: const -> CONST.
35831
35832 * strcat.c (strcat): const -> CONST.
35833
35834 * realpath.c (realpath): const -> CONST.
35835
35836 * keymap.c (where_is_recursive_mapper): const -> CONST.
35837
35838 * extents.c (extent_priority_sort_function): const -> CONST.
35839
35840 * dgif_lib.c (DGifOpenFileName): const -> CONST.
35841
35842 * balloon_help.c: Global change: const -> CONST.
35843
35844 1997-10-03 SL Baur <steve@altair.xemacs.org>
35845
35846 * lisp.h: Nuke register declarations.
35847
35848 1997-10-03 Karl M. Hegbloom <karlheg@inetarena.com>
35849
35850 * window.c (Frecenter): Correct variable names in docstring.
35851
35852 1997-10-03 Karl M. Hegbloom <karlheg@inetarena.com>
35853
35854 * fns.c: Add some cross references between destructive and
35855 non-destructive versions of similar functions.
35856
35857 Fri Oct 3 12:28:08 1997 Kyle Jones <kyle_jones@wonderworks.com>
35858
35859 * lisp-disunion.h: Move markbit to be between the
35860 type bits and the value bits. Previously it was always
35861 the sign bit of a EMACS_INT, unless modified by a
35862 #define in a machine dependent .h file.
35863
35864 1997-10-02 Hrvoje Niksic <hniksic@srce.hr>
35865
35866 * profile.c (Fclear_profiling_info): Made interactive.
35867
35868 1997-10-02 SL Baur <steve@altair.xemacs.org>
35869
35870 * glyphs-x.c (USE_TEMP_FILES_FOR_PNG_IMAGES): Move outside of
35871 HAVE_JPEG ifdef.
35872
35873 1997-10-01 SL Baur <steve@altair.xemacs.org>
35874
35875 * lisp.h (min): Fully parenthize.
35876 (max): Ditto.
35877
35878 * Makefile.in.in (widget.o): Insert dependencies.
35879 - Insert HAVE_OFFIX_DND dependencies.
35880
35881 * casefiddle.c (casify_object): Back out bogus undocumented patch
35882 from 20.3-beta18.
35883
35884 1997-09-30 SL Baur <steve@altair.xemacs.org>
35885
35886 * events.c (Fevent_type): Add OffiX guard.
35887 (command_event_p): Ditto.
35888 (mark_event): Ditto.
35889 (print_event): Ditto.
35890
35891 1997-09-30 SL Baur <steve@altair.xemacs.org>
35892
35893 * mule-canna.c (Fcanna_set_bunsetsu): Return a value.
35894 (Fcanna_parse): Remove unused variables `ks' and `ksv'.
35895 (Fcanna_henkan_begin): Remove unused variable `res'.
35896 (Fcanna_henkan_next): Remove unused variable `nbun'.
35897 (count_char): Change return type to void.
35898
35899 * event-Xt.c (x_event_to_emacs_event): Remove unused variable
35900 `event-size'.
35901
35902 * menubar.c (Fnormalize_menu_item_name): Remove unused variable
35903 `res'.
35904
35905 * redisplay-x.c (x_flash): Reorganize test to prefer select over
35906 poll.
35907
35908 * xselect.c (Fx_store_cutbuffer_internal): Remove unused variable
35909 `encoding'.
35910
35911 1997-09-30 Hrvoje Niksic <hniksic@srce.hr>
35912
35913 * frame.c (Fmake_frame): Call `custom-initialize-frame'.
35914
35915 1997-09-24 MORIOKA Tomohiko <morioka@jaist.ac.jp>
35916
35917 * mule-coding.c: Rename `pathname-coding-system' to
35918 `file-name-coding-system' to sync with Emacs 20.2.
35919
35920 1997-09-26 Hrvoje Niksic <hniksic@srce.hr>
35921
35922 * window.c (saved_window_equal): Ditto.
35923
35924 * process.c (Fget_process): Use internal_equal.
35925
35926 * lread.c (build_load_history): Use internal_equal.
35927 (build_load_history): Use XCAR/XCDR where safe.
35928
35929 * events.c (event_equal): Ditto.
35930
35931 * event-stream.c (Fdispatch_event): Ditto.
35932
35933 * elhash.c (lisp_object_eql_equal): Ditto.
35934 (lisp_object_equal_equal): Ditto.
35935
35936 * device.c (find_device_of_type): Ditto.
35937
35938 * console.c (find_console_of_type): Ditto.
35939
35940 * console-tty.c (tty_init_console): Ditto.
35941
35942 * console-stream.c (stream_init_console): Use internal_equal.
35943 (stream_canonicalize_console_connection): Ditto.
35944
35945 * fns.c (Fmember): Use internal_equal, to avoid a necessary
35946 funcall and NILP check.
35947 (Fold_member): Ditto for internal_old_equal.
35948 (Fassoc): Use XCAR when we know we deal with a cons. Use
35949 internal_equal. Removed tem.
35950 (Fold_assoc): Ditto.
35951 (Fassq): Use XCAR.
35952 (Frassoc): Use internal_equal; remove tem.
35953 (Fold_rassoc): Ditto for internal_old_equal.
35954 (Frassq): Use XCDR with what we know is a cons.
35955 (Fold_rassq): Ditto.
35956 (Fdelete): Use internal_equal.
35957 (Fold_delete): Ditto for internal_old_equal.
35958 (Fremassoc): Use internal_equal; use XCAR/XCDR with what we know
35959 is a cons.
35960 (Fremrassoc): Ditto.
35961
35962 * dired.c (Fdirectory_files): Nreverse the list only if it will be
35963 sorted.
35964
35965 Fri Sep 26 13:55:28 1997 Kyle Jones <kyle_jones@wonderworks.com>
35966
35967 * faces.c (update_face_cachel_data): Don't allow the
35968 background pixmap of the default face to override the
35969 background of a face if that color has been specified.
35970
35971 1997-09-26 Hrvoje Niksic <hniksic@srce.hr>
35972
35973 * dired.c (close_directory_fd): New function.
35974 (Fdirectory_files): Use it to set up an unwind-protection to close
35975 the descriptor.
35976 (Fdirectory_files): Allow QUIT in re_search.
35977 (Fdirectory_files): If the file is too big, allocate necessary
35978 data with malloc.
35979 (Fdirectory_files): Use simple Fcons to build the list.
35980 (close_directory_fd): Free the opaque pointer.
35981
35982 1997-09-25 Hrvoje Niksic <hniksic@srce.hr>
35983
35984 * extents.c (Fset_extent_properties): New function.
35985
35986 1997-09-24 SL Baur <steve@altair.xemacs.org>
35987
35988 * dired.c (Fdirectory_files): Remove broken VMS stuff.
35989 (file_name_completion_stat): Ditto.
35990 (file_name_completion): Ditto.
35991 (Top Level): Ditto.
35992 (syms_of_dired): Ditto.
35993
35994 1997-09-25 Hrvoje Niksic <hniksic@srce.hr>
35995
35996 * widget.c (Fwidget_apply): Don't GCPRO result of Fwidget_get.
35997
35998 1997-09-24 SL Baur <steve@altair.xemacs.org>
35999
36000 * symsinit.h: Declare syms_of_widget.
36001
36002 * emacsfns.h: Declare Fchar_syntax.
36003
36004 * bytecode.c (Fbyte_code): Call Fchar_syntax for the Bchar_syntax
36005 bytecode.
36006
36007 * syntax.c (Fchar_syntax): convert nil input to \000 for
36008 compatibility.
36009
36010 * alloc.c (report_pure_usage): Increase slop to 512 bytes in betas
36011 and reduce it to 4 bytes in releases.
36012
36013 1997-09-23 SL Baur <steve@altair.xemacs.org>
36014
36015 * Makefile.in.in (objs): Add new C file widget.o.
36016
36017 1997-09-22 SL Baur <steve@altair.xemacs.org>
36018
36019 * editfns.c (vars_of_editfns): New feature 'ampersand-full-name
36020 declared if AMPERSAND_FULL_NAME configuration option is enabled.
36021
36022 * callproc.c (vars_of_callproc): Update docstring of `data-directory'.
36023
36024 Sun Sep 21 14:14:44 1997 Kyle Jones <kyle_jones@wonderworks.com>
36025
36026 * lisp.h: underspecify lisp_fn_t function prototype
36027 to avoid compiler errors in inline_funcall_subr().
36028
36029 * eval.c (Fprogn): Walk forms list with XCDR, access
36030 with XCAR. Check forms list CONSP, so that XCDR and XCAR are
36031 safe.
36032
36033 * eval.c (Fsetq): replace Flength call with for-loop
36034 to compute list length. Walk arg list with XCDR,
36035 access with XCAR. Check arg list with CONSP, so that
36036 XCDR and XCAR are safe.
36037
36038 * eval.c: New macro inline_funcall_subr, an inline
36039 version of funcall_subr + primitive_funcall.
36040
36041 * eval.c (Feval): replace Flength call with for-loop
36042 to compute list length. Use XCAR and XCDR in some
36043 places where it is safe to do so. Use
36044 inline_funcall_subr() in place of funcall_subr().
36045
36046 * eval.c (funcall_recording_as): Use XCAR instead of
36047 Fcar where it was safe.
36048
36049 * eval.c (Fapply): replace Flength call with for-loop
36050 to compute list length.
36051
36052 * eval.c (apply_lambda):Use XCAR and XCDR in some
36053 places where it is safe to do so.
36054
36055 * eval.c (funcall_lambda): Walk param list with XCDR, access
36056 with XCAR. Check param list CONSP, so that XCDR and XCAR are
36057 safe.
36058
36059 * symbols.c (find_symbol_value): return quickly if no
36060 symbol magic is involved, to avoid the expensive call
36061 to find_symbol_value_1.
36062
36063 * symbols.c (store_symval_forwarding): don't call
36064 reject_constant_symbols unless there is a chance a
36065 constant symbol is involved. This break the
36066 encapsulation of the constants check, but symbol stores
36067 are used heavily and speed is most important than
36068 cleanliness in this case.
36069
36070 1997-09-21 Joel Peterson <tarzan@aosi.com>
36071
36072 * menubar.c (normalize-menu-item-name): New function.
36073
36074 1997-09-21 SL Baur <steve@altair.xemacs.org>
36075
36076 * keymap.c (get_relevant_extent_keymaps): Previous patch reversed.
36077
36078 1997-09-20 SL Baur <steve@altair.xemacs.org>
36079
36080 * Makefile.in.in (xemacs): Adoption of shadow.el to print
36081 load-path shadowings after successful dump.
36082
36083 1997-09-20 Hrvoje Niksic <hniksic@srce.hr>
36084
36085 * redisplay.c (scroll_conservatively): New variable.
36086 (redisplay_window): Use it.
36087
36088 1997-09-16 SL Baur <steve@altair.xemacs.org>
36089
36090 * events.c (Fmake_event): Add default case, remove unused variables.
36091
36092 1997-08-21 Jan Vroonhof <vroonhof@math.ethz.ch>
36093
36094 * extents.c (extent_fragment_update): Trigger one_shot_function
36095
36096 * extents.c (set-extent-one-shot-function): New function
36097
36098 * extents.h (struct extent_auxiliary): Added one_shot_function
36099
36100 * extens.c: Added one_shot_function to assesor functions.
36101
36102 1997-09-14 Hrvoje Niksic <hniksic@srce.hr>
36103
36104 * fileio.c (Fexpand_file_name): Don't treat "//" and "~/" in the
36105 middle of path specially.
36106
36107 1997-09-10 Hrvoje Niksic <hniksic@srce.hr>
36108
36109 * event-stream.c (inhibit_input_event_recording): New boolean
36110 variable.
36111 (Fnext_event): Use it.
36112
36113 1997-09-13 Hrvoje Niksic <hniksic@srce.hr>
36114
36115 * fns.c (Fmapc): Renamed from Fmapc_internal.
36116
36117 1997-09-10 Hrvoje Niksic <hniksic@srce.hr>
36118
36119 * database.c (Fmake_database): Expand FILE.
36120
36121 * redisplay.c (window-system): Warn against using it.
36122
36123 1997-09-08 SL Baur <steve@altair.xemacs.org>
36124
36125 * emacs.c (PACKAGE_PATH): Reverse PACKAGE_PATH.
36126 Suggested by Colin Rafferty <craffert@ml.com>
36127
36128 1997-09-03 SL Baur <steve@altair.xemacs.org>
36129
36130 * print.c (print_internal): Special treatment for C-\.
36131
36132 1997-08-13 P E Jareth Hein <jareth@camelot-soft.com>
36133
36134 * insdel.c (buffer_delete_range): Changed the location where point
36135 was actually moved to after all other movement handling. This
36136 prevents a MULE related crash in VALID_BYTIND.
36137
36138 1997-08-11 SL Baur <steve@altair.xemacs.org>
36139
36140 * doc.c (Fsnarf_documentation): Semi-clarify types of weird
36141 functions.
36142
36143 1997-08-05 Jens-Ulrik Holger Petersen <petersen@kurims.kyoto-u.ac.jp>
36144
36145 * eval.c (vars_of_eval): Updated docstring for `debug_on_error' to
36146 mention `debug-ignored-errors'.
36147
36148 1997-08-01 SL Baur <steve@altair.xemacs.org>
36149
36150 * emacsfns.h: Fix declaration.
36151
36152 * event-stream.c (syms_of_event_stream): HAVE_MENUBARS not
36153 HAVE_MENUBAR.
36154
36155 1997-07-31 SL Baur <steve@altair.xemacs.org>
36156
36157 * frame-x.c (x_offix_drop_event_handler): Use stderr_out instead
36158 of fprintf.
36159
36160 * mule-coding.c (parse_iso2022_esc): Add abort() trap on unhandled
36161 condition.
36162
36163 * mule-wnnfns.c (Fwnn_dict_search): Remove unused variable.
36164 (Fwnn_hindo_update): Ditto.
36165 (Fwnn_inspect): Ditto.
36166 (Fwnn_bunsetu_henkou): Ditto.
36167
36168 * eval.c (call_with_suspended_errors): Fix Gcc warning:
36169 argument `retval' might be clobbered by `longjmp' or `vfork'
36170
36171 1997-07-30 SL Baur <steve@altair.xemacs.org>
36172
36173 * redisplay.c: `window-system' isn't going away any time soon.
36174
36175 1997-07-29 SL Baur <steve@altair.xemacs.org>
36176
36177 * callint.c (Fcall_interactively): Allow floating point numbers
36178 for `n' and `N' interactive specs.
36179
36180 1997-07-27 SL Baur <steve@altair.xemacs.org>
36181
36182 * event-stream.c (command_builder_find_leaf): Fix typo in
36183 HAVE_MENUBARS.
36184
36185 * gui-x.c (popup_selection_callback): Fix typo in HAVE_MENUBARS.
36186
36187 * event-stream.c (syms_of_event_stream): accelerate_menu needed
36188 guards.
36189
36190 * emacs.c (vars_of_emacs): Main default package directory is now
36191 ${prefix}/lib/xemacs/packages.
36192
36193 1997-07-25 David Moore <dmoore@ucsd.edu>
36194
36195 * alloc.c (Fmake_byte_code): GC protect newly allocated function
36196 when looking up filename.
36197
36198 1997-07-25 SL Baur <steve@altair.xemacs.org>
36199
36200 * Makefile.in.in: Added support for linking with dmalloc.
36201
36202 1997-07-25 P E Jareth Hein <jareth@camelot-soft.com>
36203
36204 * xselect.c (x_atom_to_symbol): Fixed a memory corruption bug
36205 where a possibly MULEified string was getting freed before use.
36206
36207 1997-07-21 SL Baur <steve@altair.xemacs.org>
36208
36209 * callproc.c: New variable Vdata_directory_list.
36210 * emacsfns.h: Declare it.
36211
36212 * fns.c (Frequire): Undo previous change.
36213
36214 * print.c (print_internal): Handle circular objects like Emacs
36215 handles them (and as documented in the Lispref).
36216
36217 * database.c (Fputdatabase): Complain when `val' is not a string.
36218
36219 * event-stream.c (command_builder_find_leaf): Guard menubar
36220 accelerator stuffs with HAVE_MENUBAR.
36221 * gui-x.c (popup_selection_callback): Ditto.
36222
36223 1997-07-20 SL Baur <steve@altair.xemacs.org>
36224
36225 * event-stream.c (menu_move_up): Guard menubar accelerator code
36226 with HAVE_MENUBARS.
36227
36228 * emacs.c (decode_path): New function, derived from latter portion
36229 of decode_env_path.
36230 (decode_env_path): Break out the naughty bits -- shouldn't do
36231 getenv and separator parsing in one function.
36232 New variable Vpackage_path.
36233 (vars_of_emacs): Use it.
36234
36235 * editfns.c (Fstring_to_char): Return nil instead of `0' for empty
36236 string.
36237
36238 1997-07-10 Hrvoje Niksic <hniksic@srce.hr>
36239
36240 * fileio.c (Finsert_file_contents_internal): Handle non-regular
36241 files.
36242
36243 1997-07-12 Steven L Baur <steve@altair.xemacs.org>
36244
36245 * Makefile.in.in (LOCK_OBJ): Only include filelock.[co] when
36246 CLASH_DETECTION is defined.
36247
36248 1997-07-11 Steven L Baur <steve@altair.xemacs.org>
36249
36250 * emacs.c (main_1): Spelling fix.
36251
36252 1997-07-10 Steven L Baur <steve@altair.xemacs.org>
36253
36254 * Makefile.in.in (dump-elcs): Shouldn't use SATISFIED hack.
36255 (xemacs-no-site-file): Not supported any more.
36256 (binary): New dependency for dumping XEmacs.
36257 (xemacs): Attempt to be a little smarter about not dumping a new
36258 XEmacs if it is not needed.
36259 (temacs): Remove `xemacs' after success.
36260
36261 1997-07-09 Hrvoje Niksic <hniksic@srce.hr>
36262
36263 * extents.c: Allow non-symbol properties of extents.
36264
36265 1997-07-08 Hrvoje Niksic <hniksic@srce.hr>
36266
36267 * data.c (Fstring_to_number): Use `check_int_range'.
36268 (Fstring_to_number): Would bug out on wrong type check.
36269
36270 1997-07-07 Steven L Baur <steve@altair.xemacs.org>
36271
36272 * data.c (Fcompiled_function_doc_string): Implement correctly.
36273 Was forgotten cut & paste identical clone to
36274 Fcompiled_function_interactive?
36275
36276 * Makefile.in.in (alloc.o): Remove dependency on puresize_adjust.h
36277 so alloc.c need not be recompiled when puresize changes.
36278
36279 * alloc.c (PURIFIED): Use get_PURESIZE() instead of constant.
36280 (check_purespace): Ditto.
36281 (alloc_pure_lrecord): Ditto.
36282 (report_pure_usage): Ditto.
36283 (disksave_object_finalization): Ditto.
36284 (report_pure_usage): Modify message reported when Build is
36285 restarted due to change in PURESIZE_ADJUSTMENT.
36286
36287 * puresize.h: Remove dependency on puresize_adjust.h.
36288 (get_PURESIZE): New function -- declare it.
36289
36290 * pure.c: Move final PURESIZE computation and include of
36291 puresize_adjust.h into here so alloc.c need not be recompiled each
36292 time the puresize is adjusted.
36293 (get_PURESIZE): New function.
36294
36295 1997-07-06 Steven L Baur <steve@altair.xemacs.org>
36296
36297 * data.c (Fstring_to_number): Wrong parameter was being checked.
36298
36299 * emacs.c (vars_of_emacs): Fprovide the system type as a feature.
36300
36301 1997-07-03 Steven L Baur <steve@altair.xemacs.org>
36302
36303 * data.c (Fstring_to_number): Fix typo. base isn't an integer.
36304
36305 1997-07-01 Steven L Baur <steve@altair.xemacs.org>
36306
36307 * data.c, emacsfns.h: This is the port of GNU Emacs capability.
36308 I am still not sure what this buys us, but I guess it doesn't hurt
36309 to have it.
36310 From Hrvoje Niksic <hniksic@srce.hr>
36311
36312 * glyphs.c (make_string_from_file): Use
36313 insert-file-contents-literally instead of
36314 insert-file-contents-internal.
36315
36316 1997-06-30 Steven L Baur <steve@altair.xemacs.org>
36317
36318 * fns.c (check_losing_bytecode): Correct reported version.
36319
36320 * Makefile.in.in (${libsrc}DOC): Break up line length for stupid
36321 make programs.
36322
36323 1997-06-29 Steven L Baur <steve@altair.xemacs.org>
36324
36325 * emacsfns.h: Put void in prototype.
36326 Suggested by Ben Wing.
36327
36328 1997-07-01 MORIOKA Tomohiko <morioka@jaist.ac.jp>
36329
36330 * glyphs.c (make_string_from_file): must protect from
36331 `format-alist'.
36332
36333 1997-06-28 Steven L Baur <steve@altair.xemacs.org>
36334
36335 * config.h.in: Back out previous change to LOSING_BYTECODE. It's
36336 just not worth it.
36337
36338 1997-06-27 Mike Scheidler <c23mts@eng.delcoelect.com>
36339
36340 * s/sol2.h: Undefined _XOPEN_SOURCE for Solaris 2.4.
36341
36342 1997-06-28 Hrvoje Niksic <hniksic@srce.hr>
36343
36344 * abbrev.c (abbrev_match): New function.
36345 (abbrev_oblookup): New function.
36346 (obarray_has_blank_p): New function.
36347 (abbrev_count_case): New function.
36348 (Fexpand_abbrev): Use them. Allow abbreviations to contain
36349 arbitrary characters.
36350
36351 1997-06-28 Steven L Baur <steve@altair.xemacs.org>
36352
36353 * config.h.in: LOSING_BYTECODE will not be compiled into XEmacs.
36354
36355 * doc.c (Fsnarf_documentation): Remove VMS dependent stuff for
36356 cleanliness.
36357
36358 1997-06-28 Hrvoje Niksic <hniksic@srce.hr>
36359
36360 * print.c (Ferror_message_string): Simplify.
36361
36362 1997-06-27 Steven L Baur <steve@altair.xemacs.org>
36363
36364 * symbols.c (Fdefine_function): Correct docstring.
36365 (Fsetplist): Ditto.
36366 (Ffset): Ditto.
36367 (Fsetq_default): Ditto.
36368
36369 1997-06-27 Hrvoje Niksic <hniksic@srce.hr>
36370
36371 * eval.c (skip_debugger): Removed comment and #ifdef-ed code.
36372 (signal_call_debugger): Call skip_debugger after wants_debugger.
36373 (signal_call_debugger): Gcpro cons sent to skip_debugger.
36374
36375 1997-06-26 Steven L Baur <steve@altair.xemacs.org>
36376
36377 * process.c (create_process): Default to fork instead of vfork.
36378
36379 * callproc.c (Fcall_process_internal): Default to fork instead of
36380 vfork.
36381
36382 * emacsfns.h: Add declarations of Ferror_message_string(),
36383 Frunning_temacs_p().
36384
36385 * eval.c: Remove declarations of Ferror_message_string(),
36386 Frunning_temacs_p().
36387
36388 * Makefile.in.in (${libsrc}DOC): Correct dependency for the docfile.
36389 (${mo_dir}emacs.po): Remove obsolete references to lisp source.
36390
36391 1997-06-29 MORIOKA Tomohiko <morioka@jaist.ac.jp>
36392
36393 * mule-charset.c: Modify charset DOC-strings to be more detailed.
36394
36395 1997-06-25 Steven L Baur <steve@altair.xemacs.org>
36396
36397 * alloc.c (Flist): Optimize.
36398 From Hrvoje Niksic.
36399
36400 1997-06-23 Steven L Baur <steve@altair.xemacs.org>
36401
36402 * lisp.h: Get uintptr_t stuffs because it is needed for including
36403 emacsfns.h.
36404
36405 * sysdep.h: Removed uintptr_t stuffs.
36406
36407 1997-06-22 Steven L Baur <steve@altair.xemacs.org>
36408
36409 * fns.c (concat): Replace Fcar/Fcdr with XCAR/XCDR.
36410 (Fnreverse): Ditto.
36411 (internal_equal): Ditto.
36412 (internal_old_equal): Ditto.
36413 (Fnconc): Ditto.
36414 (Freverse): Saner implementation.
36415 From Hrvoje Niksic <hniksic@srce.hr>
36416
36417 * s/linux.h: getpgrp with glibc is now properly detected by
36418 configure.
36419 Suggested by Andreas Jaeger <aj@arthur.rhein-neckar.de>
36420
36421 1997-06-20 Steven L Baur <steve@altair.xemacs.org>
36422
36423 * events.c: Remove declaration of Qempty.
36424
36425 1997-06-20 Olivier Galibert <Olivier.Galibert@mines.u-nancy.fr>
36426
36427 * frame-x.c, EmacsFrame.c, menubar-x.c, redisplay-x.c, scrollbar-x.c:
36428 Make 64 bit clean.
36429
36430 1997-06-19 Martin Buchholz <mrb@eng.sun.com>
36431
36432 * config.h.in:
36433 - Autodetect X defines using xmkmf.
36434 - Compute rpath on *bsd* systems as well.
36435 - rewrite PRINT_VAR m4 macro.
36436 - detect sizes of void* and long long for future use by unex*.c
36437 * regex.c: _GNU_SOURCE may be defined by config.h; don't redefine.
36438
36439 1997-06-18 Martin Buchholz <mrb@eng.sun.com>
36440
36441 * Makefile.in:
36442 * s/*.h:
36443 * m/*.h:
36444 * config.h.in:
36445 * emacs.c:
36446 * version.sh:
36447 * configure.in: Another rewrite.
36448 - support powerpcle (Solaris on ppc)
36449 - Now just have one s/sol2.h for all Solaris versions
36450 - Specifying colon-separated directories actually works now.
36451 - OS_RELEASE is a new define to avoid proliferation of s&m files.
36452 - extract more stuff from s&m files.
36453 - more debugging info
36454 - More changes to avoid the `echo -e' problem
36455 - Add more tests: fcntl.h AC_TYPE_*, AC_FUNC_GETPGRP
36456 - Back out -lPW test.
36457 - More paranoid xpm test
36458 - Put version information in version.sh instead of version.el
36459 - Make quoted pre-processor string tokens out of all macro values
36460 to be used only by configure.
36461 * xmu.c: DON'T use Xos.h
36462 * sysdep.c (wait_for_termination):
36463 * search.c:
36464 * editfns.c:
36465 * console-*:
36466
36467 1997-06-18 Steven L Baur <steve@altair.xemacs.org>
36468
36469 * unexelfsgi.c: Some things that Needed To Be Done(tm) into
36470 unexelfsgi:
36471 - support for .sbss section (no more -G 0 needed, 0.00001% speed
36472 increase)
36473 - support for Elf64 (64bits executables)
36474 From Olivier Galibert <Olivier.Galibert@mines.u-nancy.fr>
36475
36476 * fns.c (Fmapvector): New function converted from Lisp.
36477 From Hrvoje Niksic <hniksic@srce.hr>
36478
36479 Wed Jun 18 16:42:10 1997 Steven L Baur <steve@altair.xemacs.org>
36480
36481 * Makefile.in.in: Convert two missed C style comments.
36482 (LIBES): Remove LIBS_DEBUG which is no longer defined.
36483 (LIBES): lwlibs_libs was misspelled.
36484
36485 1997-06-17 Hrvoje Niksic <hniksic@srce.hr>
36486
36487 * eval.c (vars_of_eval): New variable Vdebug_ignored_errors.
36488 (skip_debugger): New function; use Vdebug_ignored_errors.
36489 (signal_call_debugger): Use it.
36490
36491 1997-06-17 Steven L Baur <steve@altair.xemacs.org>
36492
36493 * emacs.c (vars_of_emacs): Moved symbols emacs-version,
36494 emacs-major-version, and emacs-minor-version from version.el to
36495 here.
36496
36497 * general.c (syms_of_general): New symbols and, not, and or.
36498
36499 * emacsfns.h: New symbols Qand, Qnot, Qor.
36500
36501 * Makefile.in.in: Call temacs to compute lisp libraries to
36502 include in the DOC file.
36503
36504 1997-06-15 Steven L Baur <steve@altair.xemacs.org>
36505
36506 * Makefile.in.in (lisp): Remove explicit mention of auto-autoloads.el.
36507
36508 Sat Jun 14 21:55:27 1997 Kyle Jones <kyle_jones@wonderworks.com>
36509
36510 * console.c (Fselect_console):
36511 Check DEVICE_SELECTED_FRAME of console's selected
36512 device for non-nil value before using it as a frame.
36513
36514 1997-06-13 Steven L Baur <steve@altair.xemacs.org>
36515
36516 * data.c (eq_with_ebola_notice): Remove horrible hack to avoid
36517 unavoidable Ebola notices in the bytecompiler.
36518
36519 * emacsfns.h: Fextent_in_region_p: Move.
36520
36521 * keymap.c Fextent_in_region_p: Move.
36522
36523 Fri Jun 13 00:38:29 1997 Kyle Jones <kyle_jones@wonderworks.com>
36524
36525 * console.c (Fsuspend_console):
36526 Disable input on ttys. Hide unhidden frames.
36527
36528 * console.c (Fresume_console):
36529 Enable input on ttys. Raise the device selected frame.
36530
36531 Fri Jun 13 00:25:46 1997 Kyle Jones <kyle_jones@wonderworks.com>
36532
36533 * process.c (status_notify):
36534 Revert back to the code that does not use
36535 save_excursion_restore. Just bounds check opoint
36536 instead.
36537
36538 * process.c (read_process_output):
36539 Bounds check saved clip region and point values for
36540 validity before using them. Call Fwiden before calling
36541 Fnarrow_to_region to insure values will not be out of
36542 range.
36543
36544 1997-06-12 Steven L Baur <steve@altair.xemacs.org>
36545
36546 * alloc.c: Make the GC cursor appear on all frames.
36547 From Hrvoje Niksic <hniksic@srce.hr>
36548
36549 1997-06-11 Steven L Baur <steve@altair.xemacs.org>
36550
36551 * data.c (eq_with_ebola_notice): Add byte-optimize-logmumble and
36552 byte-compile-push-constant to list of ignored functions.
36553
36554 1997-06-11 Hrvoje Niksic <hniksic@srce.hr>
36555
36556 * bytecode.c (Bsave_current_buffer): Register.
36557 (Fbyte_code): Do action.
36558
36559 * editfns.c (Fsave_current_buffer): New SUBR.
36560
36561 1997-06-11 Steven L Baur <steve@altair.xemacs.org>
36562
36563 * syntax.c (Fchar_syntax): Handle case of being passed nil.
36564
36565 * data.c (eq_with_ebola_notice): Add more legitimate places in the
36566 bytecompiler that should not get Ebola notices.
36567
36568 Tue Jun 10 00:34:40 1997 Kyle Jones <kyle_jones@wonderworks.com>
36569
36570 * process.c (status_notify):
36571 Use record_unwind_protect and save_excursion_restore to
36572 handle the point and buffer restoration. Cleaner. Doesn't
36573 crash the editor if before/after-change-functions change
36574 things behind our back.
36575
36576 1997-06-10 Steven L Baur <steve@altair.xemacs.org>
36577
36578 * data.c (vars_of_data): Set Ebola warning backtrace limit to 16.
36579 (eq_with_ebola_notice): Bypass Ebola warnings for special
36580 bytecompiler functions where they are 100% spurioius.
36581
36582 1997-06-11 MORIOKA Tomohiko <morioka@jaist.ac.jp>
36583
36584 * Makefile.in.in: Use lisp/mule/language/misc-lang.el instead of
36585 lisp/mule/ipa-hooks.el.
36586
36587 1997-06-10 MORIOKA Tomohiko <morioka@jaist.ac.jp>
36588
36589 * Makefile.in.in: Use lisp/mule/language/thai.elc instead of
36590 lisp/mule/thai-hooks.elc.
36591
36592 1997-06-09 MORIOKA Tomohiko <morioka@jaist.ac.jp>
36593
36594 * Makefile.in.in: Use lisp/mule/language/chinese.el,
36595 lisp/mule/language/cyrillic.el, lisp/mule/language/european.el,
36596 lisp/mule/language/greek.el, lisp/mule/language/japanese.el and
36597 lisp/mule/language/korean.el instead of
36598 lisp/mule/chinese-hooks.el, lisp/mule/cyrillic-hooks.el,
36599 lisp/mule/european-hooks.el, lisp/mule/greek-hooks.el,
36600 lisp/mule/japanese-hooks.el and lisp/mule/korean-hooks.el.
36601
36602 1997-06-09 Steven L Baur <steve@altair.xemacs.org>
36603
36604 * keymap.c: Declare Fextent_in_region_p.
36605
36606 * s/linux.h: Can't use ORDINARY_LINK in linux until usage of -lPW
36607 is determined more sensibly.
36608
36609 1997-06-09 Hrvoje Niksic <hniksic@srce.hr>
36610
36611 * keydefs.c (get_relevant_extent_keymaps): Choose correct keymap
36612 at extent boundaries.
36613
36614 Mon Jun 9 19:35:19 1997 Kyle Jones <kyle_jones@wonderworks.com>
36615
36616 * redisplay.c (pixel_to_glyph_translation):
36617 Fixed off by one error in computation of closest
36618 position when mouse is in the frame's right-side
36619 border area.
36620
36621 Sat Jun 7 22:07:41 1997 Kyle Jones <kyle_jones@wonderworks.com>
36622
36623 * frame.c (delete_frame_internal):
36624 Calling Fselect_frame isn't sufficient to set the
36625 frame device's selected frame if the frame we're
36626 selecting is on a different device. Call
36627 set_device_selected_frame apprpriately in that case.
36628 Also don't set the frame device's selected frame to a
36629 frame that's on another device.
36630
36631 1997-06-09 Steven L Baur <steve@altair.xemacs.org>
36632
36633 * sysdep.c: MS Windows NT doesn't (yet) do child TTY processes.
36634 From David Hobley <davidh@wr.com.au>
36635
36636 Sat Jun 7 22:00:54 1997 Kyle Jones <kyle_jones@wonderworks.com>
36637
36638 * device-x.c (x_delete_device):
36639 Add an EQ check so that we don't set Vdefault_x_device
36640 back to the device we're deleting.
36641
36642 1997-06-05 Steven L Baur <steve@altair.xemacs.org>
36643
36644 * frame.c (Fmake_frame): Correct checking of first_frame_on_device.
36645 From Hrvoje Niksic <hniksic@srce.hr>
36646
36647 1997-06-04 Steven L Baur <steve@altair.xemacs.org>
36648
36649 * device.c (delete_deviceless_console): New function.
36650 (Fmake_device): Use it. Fix problem of creation of a frame on a
36651 tty where something fails during initialization.
36652 From Kyle Jones <kyle_jones@wonderworks.com>
36653
36654 * specifier.c (Fboolean_specifier_p): Correct spelling in
36655 Docstring (synch from Infodock 3.5).
36656
36657 * frame.c: Update docstring.
36658
36659 1997-06-03 Hrvoje Niksic <hniksic@srce.hr>
36660
36661 * sysdep.c (tty_init_sys_modes_on_device): Initialize it.
36662
36663 * console.c (complex_vars_of_console): New variable
36664 `tty-erase-char'.
36665
36666 * conslots.h (MARKED_SLOT): New slot.
36667
36668 Mon Jun 2 02:49:44 1997 Kyle Jones <kyle_jones@wonderworks.com>
36669
36670 * frame.c, frame-tty.c
36671 Treat tty frames like a cross between stacked window
36672 system frames and frames on virtual displays. All
36673 frames but the top frame are visible but hidden by
36674 default. next-frame and previous-frame now skip
36675 invisible tty frames by default. raise-frame and
36676 lower-frame now control whether a frame is hidden
36677 instead of whether it is visible. Frames are no
36678 longer automatically raised when they are selected.
36679 After a raise/lower operation selection of the new
36680 topmost frame is deferred until a selection magic
36681 event is read.
36682
36683 Sat May 31 19:59:49 1997 Kyle Jones <kyle_jones@wonderworks.com>
36684
36685 * frame-tty.c (tty_init_frame_3:
36686 Defer selection of the newly created frame until
36687 an event is read.
36688
36689 1997-06-02 Steven L Baur <steve@altair.xemacs.org>
36690
36691 * search.c (REGEXP_CACHE_SIZE): Bump to 20.
36692 Suggested by Karl M. Hegbloom <karlheg@inetarena.com>
36693
36694 1997-05-30 Steven L Baur <steve@altair.xemacs.org>
36695
36696 * device-tty.c (tty_asynch_device_change):
36697 * gpmevent.c (connect_to_gpm): Makes it so it doesn't **ck up the
36698 mouse stuff on an XTerm, and resets the internal GPM variables for
36699 the width and height of the screen when we get a sigwinch.
36700 From William M. Perry <wmperry@aventail.com>
36701
36702 1997-05-29 Steven L Baur <steve@altair.xemacs.org>
36703
36704 * eval.c (Fprogn): Delete mocklisp support.
36705 (Fwhile): Ditto.
36706 (Fcommandp): Ditto.
36707 (Feval): Ditto.
36708 (funcall_recording_as): Ditto.
36709 (funcall_lambda): Ditto.
36710
36711 * elhash.c (verify_function): Delete mocklisp support.
36712
36713 * doc.c (Fdocumentation): Delete mocklisp support.
36714
36715 * data.c (wrong_type_argument): Delete mocklisp support.
36716
36717 * config.h.in: Delete mocklisp support.
36718
36719 * callint.c (Fcall_interactively): Delete mocklisp support.
36720
36721 * emacs.c (main_1): Delete mocklisp initialization.
36722
36723 * symsinit.h: Delete mocklisp.c decls.
36724
36725 * Makefile.in.in: Delete mocklisp stuffs.
36726
36727 Thu May 29 03:00:16 1997 Kyle Jones <kyle@crystal.wonderworks.com>
36728
36729 * frame.c (change_frame_size_1):
36730 Drop code that returns immediately if the old frame
36731 size is equal to the new.
36732 Leave the minibuffer height the same if the frame has
36733 been initialized, and the minibuffer height is tall
36734 enough to display at least one line of text in the default
36735 font, and the old minibuffer height is a multiple of the
36736 default font height. This should cause the minibuffer
36737 height to be recomputed on font changes but not for
36738 other frame size changes, which seems reasonable.
36739
36740 1997-05-26 Steven L Baur <steve@altair.xemacs.org>
36741
36742 * event-stream.c (Frecent_keys): Take optional parameter to
36743 indicate how many keystrokes to return.
36744 (Frecent_keys_ring_size): New function returns the maximum number
36745 of events `recent-keys' can return.
36746 (Fset_recent_keys_ring_size): New function. Modifies the above.
36747
36748 From Hrvoje Niksic <hniksic@srce.hr>
36749
36750 * event-stream.c: New variable recent_keys_ring_size replacing a
36751 hard-coded macro.
36752
36753 1997-05-23 Steven L Baur <steve@altair.xemacs.org>
36754 From Hrvoje Niksic <hniksic@srce.hr>
36755
36756 * sysdep.c: Correction of subprocess support when compiling
36757 without ttys.
36758
36759 1997-05-21 Steven L Baur <steve@altair.xemacs.org>
36760
36761 * editfns.c (format-time-string): Update DOCstring. Make time
36762 parameter optional.
36763
36764 Wed May 21 11:58:17 1997 Kyle Jones <kyle@crystal.wonderworks.com>
36765
36766 * insdel.c (signal_first_change):
36767 record the current buffer for the unwind instead of the
36768 buffer that's about to become the current buffer.
36769
36770 Tue May 20 23:23:39 1997 Steven L Baur <steve@altair.xemacs.org>
36771
36772 * frame.c: Correct spelling typo in docstring.
36773
36774 Mon May 19 03:40:46 1997 Kyle Jones <kyle@crystal.WonderWorks.COM>
36775
36776 * redisplay.c: (window_line_number)
36777 don't prefer buffer point value over window point
36778 value unless window, frame, device and console are
36779 all selected.
36780
36781 * redisplay.c: (redisplay_window)
36782 don't prefer buffer point value over window point
36783 value unless window, frame, device and console are
36784 all selected.
36785
36786 * redisplay.c: (create_text_block)
36787 don't prefer buffer point value over window point
36788 value unless window, frame, device and console are
36789 all selected.
36790
36791 Sun May 18 13:03:50 1997 Steven L Baur <steve@altair.xemacs.org>
36792
36793 * Makefile.in.in (distclean): remove xemacs-version.h.
36794
36795 Sun May 11 13:38:46 1997 Kyle Jones <kyle@crystal.WonderWorks.COM>
36796
36797 * frame.c (change_frame_size_1):
36798 return without doing anything if the frame has benn
36799 initialized and the new frame size is same as the
36800 current frame size.
36801
36802 Sat May 17 19:35:48 1997 Steven L Baur <steve@altair.xemacs.org>
36803
36804 * device-tty.c (tty_asynch_device_change): Make
36805 `no-redraw-on-reenter' work. Patch from Hrvoje Niksic.
36806
36807 Sat May 17 23:39:03 1997 Hrvoje Niksic <hniksic@srce.hr>
36808
36809 * frame-tty.c: Support multiple frames.
36810
36811 * redisplay.c (decode_mode_spec): New coding `%N'.
36812
36813 Sun May 11 23:36:08 1997 Steven L Baur <steve@altair.xemacs.org>
36814
36815 * buffer.c: Rename Vdelete_auto_save_files to coding standards.
36816
36817 * frame.c: Rename Vallow_deletion_of_last_visible_frame to coding
36818 standards.
36819
36820 Thu May 8 19:10:03 1997 Steven L Baur <steve@altair.xemacs.org>
36821
36822 * frame.c: Change internal type of
36823 `allow-deletion-of-last-visible-frame' to boolean.
36824
36825 * buffer.c: Change internal type of `delete-auto-save-files' to
36826 boolean.
36827
36828 Sat May 3 15:28:56 1997 Steven L Baur <steve@altair.xemacs.org>
36829
36830 * redisplay.c: `column-number-start-at-one' is a user customizable
36831 variable.
36832
36833 * event-stream.c (vars_of_event_stream): `focus-follows-mouse' is
36834 a user customizable variable.
36835
36836 * cmds.c (vars_of_cmds): `signal-error-on-buffer-boundary' is a
36837 user customizable variable.
36838
36839 * lread.c (parse_integer): Fix incorrect upper bounds on loop.
36840
36841 Thu May 1 18:59:20 1997 Steven L Baur <steve@altair.xemacs.org>
36842
36843 * glyphs-x.c (Fmake_subwindow): Update error message.
36844
36845 Wed Apr 30 18:07:18 1997 Steven L Baur <steve@altair.xemacs.org>
36846
36847 * lread.c: New variable featurep.
36848 (read1): Add processing for #- and #+.
36849 (read_list_conser): Handle case where a feature test has removed a
36850 portion of the input stream.
36851 (vars_of_lread): New feature `xemacs'.
36852
36853 * fns.c (Ffeaturep): Remove function when using #-, #+ feature
36854 reader syntax.
36855
36856 * Makefile.in.in (lisp): Put features.elc in the dump list.
36857
36858 Thu May 1 05:24:25 1997 Hrvoje Niksic <hniksic@srce.hr>
36859
36860 * buffer.c (Fmake_indirect_buffer): Don't pretend it's there.
36861
36862 Fri Apr 25 10:53:07 1997 Steven L Baur <steve@altair.xemacs.org>
36863
36864 * glyphs-x.c: libpng already includes setjmp.h, so don't attempt
36865 to include it twice.
36866
36867 Thu Apr 24 09:14:13 1997 Steven L Baur <steve@altair.xemacs.org>
36868
36869 * balloon-x.c (vars_of_balloon_x): Don't override advertised and
36870 supported balloon-help.
36871
36872 Tue Apr 22 11:54:02 1997 Steven L Baur <steve@altair.xemacs.org>
36873
36874 * emacs.c (main_1): Add syms_of_balloon_x and guard with
36875 HAVE_X_WINDOWS.
36876 (main_1): Add vars_of_balloon_x and guard with HAVE_X_WINDOWS.
36877
36878 * process.c (get_process): This function can be passed a BUFFER as
36879 a parameter.
36880
36881 Tue Apr 22 01:32:00 1997 Kyle Jones <kyle@crystal.WonderWorks.COM>
36882
36883 * menubar-x.c (pre_activate_hook):
36884 set in_menu_callback around call to call to
36885 menu_item_descriptor_to_widget_value.
36886
36887 * event-stream.c (Fnext_event):
36888 signal error if in_menu_callback non-nil to avoid
36889 reentering the menubar code and causing a crash later.
36890
36891 * cmdloop.c (command_loop_3):
36892 signal error if in_menu_callback non-nil to avoid
36893 inflooping calling Fnext_event, which will signal an
36894 error if the situation is not caught earlier.
36895
36896 Tue Apr 22 08:22:22 1997 Hrvoje Niksic <hniksic@srce.hr>
36897
36898 * balloon-x.c, balloon_help.c, balloon_help.h: Modified to conform
36899 to XEmacs coding standards.
36900
36901 Thu Apr 17 17:16:34 1997 Steven L Baur <steve@altair.xemacs.org>
36902
36903 * balloon-x.c: New file from Douglas Keller.
36904
36905 * balloon_help.c: New file from Douglas Keller.
36906
36907 * balloon_help.h: New file from Douglas Keller.
36908
36909 Sun Apr 13 09:56:54 1997 Steven L Baur <steve@altair.xemacs.org>
36910
36911 * emacs.c (shut_down_emacs): Advertise using send-pr as the
36912 mechanism for submitting a bug report.
36913
36914 * Makefile.in.in: Handle pathological case of mis-autodetected
36915 TOOLTALK.
36916
36917 Sun Apr 13 11:33:34 1997 David Moore <dmoore@ucsd.edu>
36918
36919 * regex.c (re_search_2): Prevent incorrect matching and infinite
36920 loop with \\` and MULE.
36921
36922 Sat Apr 12 05:57:51 1997 Steven L Baur <steve@altair.xemacs.org>
36923
36924 * Makefile.in.in (lisp): Dump cus-start.elc with XEmacs.
36925
36926 * event-Xt.c (x_to_emacs_keysym): Allow for dead keys. (Patch
36927 from Joachim Schnitter).
36928
36929 * Makefile.in.in: Allow native sound for BSD/I.
36930
36931 * linuxplay.c: Rename global sndbuf to linuxplay_sndbuf.
36932 Make sndbuf, mix_fd, audio_vol, audio_fd, audio_dev non-static to
36933 avoid dump time lossage.
36934 (sndcnv8U_2mono): Rename global sndbuf to linuxplay_sndbuf.
36935 (sndcnv8S_2mono): Ditto.
36936 (sndcnv2monounsigned): Ditto.
36937 (sndcnv2unsigned): Ditto.
36938 (sndcnvULaw_2mono): Ditto.
36939 (sndcnv16_2monoLE): Ditto.
36940 (sndcnv16_2monoBE): Ditto.
36941 (sndcnv2byteLE): Ditto.
36942 (sndcnv2byteBE): Ditto.
36943 (sndcnv2monobyteLE): Ditto.
36944 (sndcnv2monobyteBE): Ditto.
36945 (linux_play_data_or_file): Ditto.
36946 (linux_play_data_or_file): Ditto.
36947 (linux_play_data_or_file): Ditto.
36948
36949 Sat Apr 12 01:59:14 1997 Kyle Jones <kyle_jones@WonderWorks.COM>
36950
36951 * glyphs-x.c, glyphs.c, glyphs.h: Added domain parameter to all
36952 image *_instantiate functions so that the domsin is available to
36953 specifier lookups in the various instantiator functions. Passed
36954 domain argument to extract_xpm_color_names for the
36955 Fspecifier_instance call.
36956
36957 Fri Apr 11 20:02:40 1997 Steven L Baur <steve@altair.xemacs.org>
36958
36959 * glyphs-x.c (extract_xpm_color_names): Add checking to handle
36960 case for when XEmacs is in initialization.
36961
36962 * events.c (Fevent_type): Remove handling for dead_event.
36963 (Fevent_properties): Remove handling for dead_event.
36964
36965 Thu Apr 10 20:41:53 1997 David Moore <dmoore@ucsd.edu>
36966
36967 * ntproc.c (sys_spawnve): Clean up GC protection.
36968
36969 * fileio.c (Ffile_executable_p): Clean up GC protection.
36970
36971 Thu Apr 10 12:48:49 1997 Steven L Baur <steve@altair.xemacs.org>
36972
36973 * glyphs.c: Undo duplicate declaration of display_table.
36974
36975 * glyphs.h: Back out name change of autodetect to
36976 automatic_conversion.
36977
36978 * glyphs.c: Back out name change of autodetect to
36979 automatic_conversion.
36980
36981 * glyphs-x.c (image_instantiator_format_create_glyphs_x): Back out
36982 name change of autodetect to automatic_conversion.
36983
36984 * events.c (Fevent_properties): Do something sensible for
36985 dead_event and empty_event.
36986
36987 * general.c: Restore autodetect symbol.
36988
36989 * emacsfns.h: Declare new symbol Qempty.
36990
36991 * general.c: Add symbol to identify empty events.
36992
36993 * events.c (Fevent_type): Don't abort() when presented with an
36994 empty_event or a dead_event.
36995
36996 Mon Apr 7 18:12:26 1997 David Moore <dmoore@ucsd.edu>
36997
36998 * xmu.c: Renamed local `initialized' variable to `hex_initialized'
36999 and don't assign to static, as some compilers crash.
37000 (initHexTable): Use it.
37001 (XmuReadBitmapData): Use it.
37002
37003 Sun Apr 6 18:03:47 1997 David Moore <dmoore@ucsd.edu>
37004
37005 * fileio.c (Fexpand_file_name): Clean up GC protection.
37006
37007 * dired.c (Fdirectory_files): Clean up GC protection.
37008
37009 * insdel.c (signal_after_change): Don't run after_change_functions
37010 on special Vprin1_to_string_buffer.
37011 (signal_before_change): Ditto for before_change_functions.
37012
37013 Fri Apr 4 14:41:17 1997 David Moore <dmoore@ucsd.edu>
37014
37015 * buffer.c (Fkill_buffer): Don't kill special
37016 Vprin1_to_string_buffer.
37017
37018 Mon Apr 7 19:13:40 1997 Steven L Baur <steve@altair.xemacs.org>
37019
37020 * Makefile.in.in (xemacs-version.h): Added to rename main_1 to
37021 something reflecting the XEmacs version in use (for lusers
37022 reporting crashes who forget to include the version number).
37023
37024 * toolbar.c (specifier_vars_of_toolbar): Strip HAVE_NEXTSTEP.
37025
37026 * sound.c: Strip HAVE_NEXTSTEP.
37027
37028 * redisplay.c (init_redisplay): Strip HAVE_NEXTSTEP.
37029
37030 * faces.c: Strip HAVE_NEXTSTEP.
37031 (update_EmacsFrame): Ditto.
37032
37033 * events.c (event_equal): Strip HAVE_NEXTSTEP.
37034 (event_hash): Ditto.
37035 (format_event_object): Ditto.
37036
37037 * event-stream.c (init_event_stream): Strip HAVE_NEXTSTEP.
37038
37039 * emacs.c (main_1): Strip HAVE_NEXTSTEP.
37040 Attempt hack to change name of main_1 to something reflecting the
37041 current version for lusers who don't include version numbers with
37042 stack backtraces.
37043
37044 * device.c: Strip HAVE_NEXTSTEP.
37045
37046 * console.c (Fconsole_type): Remove reference to unimplemented ns
37047 windows type.
37048
37049 Sun Apr 6 08:08:33 1997 Steven L Baur <steve@altair.xemacs.org>
37050
37051 * frame.h: Strip NeXTStep stuff.
37052
37053 * device.h: Strip NeXTStep stuff.
37054
37055 * console.h: More NeXTStep trimming.
37056
37057 * console-x.h: Strip Epoch stuff.
37058
37059 * symsinit.h (init_sunpro): Strip vms/Epoch stuff.
37060
37061 * events.h (union magic_data): Strip NeXTStep stuff.
37062
37063 * console.h: Strip NeXTStep stuff.
37064
37065 * config.h.in: Strip unimplemented NeXTStep/Epoch stuff out.
37066
37067 * Makefile.in.in: Remove unused NeXTStep support. It's all in the
37068 cvs attic if someone wishes to revive it.
37069 (epoch.o): Remove last vestiges of non-existent epoch support.
37070
37071 Sat Apr 5 17:16:49 1997 Steven L Baur <steve@altair.xemacs.org>
37072
37073 * fns.c: Correct DOC string to not equate integers and
37074 characters.
37075
37076 Thu Apr 3 08:01:50 1997 Steve Carney <carney@gvc.dec.com>
37077
37078 * s/decosf4.0-static.h: New file.
37079
37080 Tue Apr 1 12:22:32 1997 Steven L Baur <steve@altair.xemacs.org>
37081
37082 * config.h.in: MAIL_USE_POP, KERBEROS, HESIOD -- new parameters to
37083 deal with upgraded movemail.c.
37084
37085 Fri Mar 28 19:25:22 1997 Steven L Baur <steve@altair.xemacs.org>
37086
37087 * inline.c: Restore this blasphemous file.
37088
37089 * Makefile.in.in (inline.o): Restore the bletcherous
37090 inline.c.
37091
37092 Tue Mar 25 11:36:08 1997 David Moore <dmoore@ucsd.edu>
37093
37094 * fileio.c (barf_or_query_if_file_exists): GC fixes.
37095 (Ffile_readable_p): ditto.
37096 (Ffile_writable_p): ditto.
37097 (Ffile_symlink_p): ditto.
37098 (Ffile_accessible_directory_p): ditto.
37099
37100 * sound.c (Fplay_sound_file): Fix up gc problems with file
37101 handlers.
37102
37103 * buffer.c (Fkill_buffer): Fix up buffer killing problems with
37104 file handlers.
37105
37106 * sysdep.c (sys_subshell): Fix up gc problems with file handlers.
37107
37108 * callproc.c (Fcall_process_internal): Fix up gc problems with
37109 file handlers.
37110 Tue Mar 25 17:16:14 1997 Steven L Baur <steve@altair.xemacs.org>
37111
37112 * ralloc.c (MHASH): Make 64bit Alpha happier.
37113
37114 Tue Mar 25 11:36:08 1997 David Moore <dmoore@ucsd.edu>
37115
37116 * fileio.c (auto_save_expand_name_error): New function.
37117 (auto_save_expand_name): Ditto.
37118 (Fdo_auto_save): Protect against an error in Fexpand_file_name
37119 from kicking us inappropriately out of auto-save.
37120
37121 Mon Mar 24 21:50:13 1997 Steven L Baur <steve@altair.xemacs.org>
37122
37123 * s/linux.h (GETPGRP_NEEDS_ARG): Define if compiling with glibc
37124 2.1 (suggested by Andreas Jaeger).
37125
37126 Mon Mar 24 12:40:56 1997 David Moore <dmoore@ucsd.edu>
37127
37128 * profile.c: Fixed some comments about GC status of functions.
37129
37130 * profile.c (inside_profiling): New variable to lock the
37131 profiling table.
37132 (sigprof_handler): Check it.
37133 (Fget_profiling_info): Set it.
37134 (mark_profiling_info): Set it.
37135 (Fclear_profiling_info): Set it.
37136
37137 * eval.c (PUSH_BACKTRACE): New macro.
37138 (POP_BACKTRACE): Ditto.
37139
37140 * eval.c (Fcommand_execute): Use them and fix problem with
37141 backtrace_list build ordering requirements for profiling code.
37142 (Feval): Ditto.
37143 (funcall_recording_as): Ditto.
37144
37145 Fri Mar 21 20:19:09 1997 Steven L Baur <steve@altair.xemacs.org>
37146
37147 * Makefile.in.in: strip inline.o.
37148
37149 Fri Mar 21 18:54:04 1997 David Moore <dmoore@ucsd.edu>
37150
37151 * fileio.c (call2_check_string_or_nil): New function.
37152 (Ffile_name_directory): Use it.
37153 (Fsubstitute_in_file_name): Use it.
37154
37155 * fileio.c (Fexpand_file_name): GC protect against file handlers.
37156 (Fdelete_file): ditto
37157 (Ffile_writable_p): ditto
37158 (Ffile_directory_p): ditto
37159 (Ffile_regular_p): ditto
37160 (Fset_file_modes): ditto
37161 (Ffile_newer_than_file_p): ditto
37162 (Fset_visited_file_modtime): ditto
37163
37164 *fileio.c (Ffile_truename): Unnecessary GC protection.
37165 (Fdelete_directory): Fix broken caller-must-GC-protect call.
37166
37167 * filelock.c (lock_file): New comments warning that this function
37168 may kill the current buffer.
37169 (unlock_file): ditto
37170 (Flock_buffer): ditto
37171 (Funlock_buffer): ditto
37172 (unlock_buffer): ditto
37173
37174 * filelock.c (unlock_all_files): GC protect against unlock_file
37175 killing random buffers.
37176
37177 * buffer.c (Fkill_buffer): GC protect against unlock_file killing
37178 the buffer.
37179
37180 * insdel.c (prepare_to_modify_buffer): GC protect against
37181 lock_file() killing the buffer.
37182
37183 Fri Mar 21 19:11:15 1997 Steven L Baur <steve@altair.xemacs.org>
37184
37185 * mule-coding.c (vars_of_mule_coding): Add
37186 enable-multibyte-characters for MULE compatibility.
37187
37188 Thu Mar 20 13:25:26 1997 Steven L Baur <steve@altair.xemacs.org>
37189
37190 * glyphs-x.c: Implement a dummy function to insert a fake EOI
37191 marker if called. Based on code from William Perry.
37192
37193 Wed Mar 19 10:49:05 1997 Steven L Baur <steve@altair.xemacs.org>
37194
37195 * menubar-x.c (pre_activate_callback): Attempt to avoid recursive
37196 expansion of submenus via :filter expansion.
37197
37198 * glyphs-x.c (x_print_image_instance): Move define of
37199 HAVE_SUBWINDOWS to glyphs-x.h.
37200 (our_skip_input_data): Implement with some error checking based on
37201 patch by Dominic Froud.
37202
37203 * glyphs-x.h (HAVE_SUBWINDOWS): Define to keep inline.c from
37204 barfing.
37205
37206 Tue Mar 18 11:15:23 1997 Steven L Baur <steve@altair.xemacs.org>
37207
37208 * glyphs-x.c: Strip unimplemented subwindows code.
37209
37210 Mon Mar 17 15:40:12 1997 David Moore <dmoore@ucsd.edu>
37211
37212 * glyphs-x.c (our_own_dgif_slurp_from_gif2x11_c): Only get the
37213 first image out of a multi-image or animated gif.
37214
37215 Mon Mar 17 15:27:26 1997 Steven L Baur <steve@altair.xemacs.org>
37216
37217 * Makefile.in.in (xemacs): Invert sense of test for successful
37218 completion of XEmacs dump.
37219
37220 Sat Mar 15 14:21:39 1997 David Moore <dmoore@ucsd.edu>
37221
37222 * fileio.c (Fdo_auto_save): Protect against file handlers which
37223 may kill the buffer being saved or otherwise modify Vbuffer_alist.
37224
37225 Sat Mar 15 15:32:51 1997 Steven L Baur <steve@altair.xemacs.org>
37226
37227 * Makefile.in.in (lisp): Add auto-customize.elc.
37228
37229 Fri Mar 14 19:10:37 1997 David Moore <dmoore@ucsd.edu>
37230
37231 * extents.c (extent_changed_for_redisplay): New parameter.
37232 (extent_changed_for_redisplay): Notify redisplay if invisible text
37233 has become visible.
37234 (extent_maybe_changed_for_redisplay): New parameter.
37235 (extent_attach): Use it.
37236 (extent_detach): Use it.
37237 (Fset_extent_parent): Use it.
37238 (set_extent_invisible): Use visibility change parameter.
37239 (Fset_extent_face): Ditto.
37240 (Fset_extent_mouse_face): Ditto.
37241 (set_extent_glyph): Ditto.
37242 (do_highlight): Ditto.
37243
37244 Thu Mar 13 10:40:37 1997 Steven L Baur <steve@altair.xemacs.org>
37245
37246 * s/sunos4-1-4-shr.h: New file.
37247
37248 * s/sunos4-1-4.h: New file.
37249
37250 * s/sunos4-1.h (BROKEN_SIGIO): Define.
37251
37252 Wed Mar 12 14:29:40 1997 Steven L Baur <steve@altair.xemacs.org>
37253
37254 * emacs.c (fatal_error_signal): (mostly) useless check on
37255 /usr/proc/bin/pstack removed.
37256
37257 * s/bsdos3.h: New file for BSDI 3.0.
37258
37259 * editfns.c (Fchar_equal): Correct DOC string.
37260 (Fchar_Equal): (char=) CL Case sensitve comparison added.
37261
37262 * data.c (Fcharacterp): Make DOC string less confrontational.
37263
37264 Mon Mar 10 23:51:04 1997 Martin Buchholz <mrb@eng.sun.com>
37265
37266 * input-method-motif.c (XIM_init_frame): Fix XIM crash on some
37267 versions of X11R6 XIM.
37268
37269 Sun Mar 9 21:46:53 1997 Tomasz J. Cholewo <t.cholewo@ieee.org>
37270
37271 * minibuf.c (regexp_ignore_completion_p): Reverse meaning of
37272 completion-regexp-list.
37273
37274 Thu Mar 6 19:15:29 1997 Steven L Baur <steve@altair.xemacs.org>
37275
37276 * data.c (eq_with_ebola_notice): Unobfuscate Ebola warning!!!
37277 message.
37278
37279 Wed Mar 5 16:11:22 1997 Steven L Baur <steve@altair.xemacs.org>
37280
37281 * process.c (get_internet_address): Put upper bounds on attempting
37282 to get system name (similar to nearly identical processing in
37283 sysdep.c.
37284
37285 Tue Mar 4 17:30:48 1997 Steven L Baur <steve@altair.xemacs.org>
37286
37287 * puresize.h (PURESIZE): *Must* use angle brackets for
37288 puresize_adjust.h or build will lose with --srcdir.
37289
37290 * alloc.c (report_pure_usage): Adjust error message printed when
37291 too low on PURESIZE.
37292
37293 * Makefile.in.in: Move site-packages.
37294 Add vpath correction for puresize_adjust.h.
37295
37296 Mon Mar 3 20:37:54 1997 Steven L Baur <steve@altair.xemacs.org>
37297
37298 * Makefile.in.in (lisp): Remove custom-xmas.elc.
37299
37300 Sat Mar 1 01:20:39 1997 Steven L Baur <steve@altair.xemacs.org>
37301
37302 * doc.c (weird_doc): Don't print `duplicate' messages as they are
37303 almost always due to symbols that are both autoloaded and dumped.
37304
37305 * data.c (syms_of_data): char-int and int-char -> char-to-int and
37306 int-to-char.
37307
37308 Thu Feb 27 21:48:32 1997 Steven L Baur <steve@altair.xemacs.org>
37309
37310 * Makefile.in.in (xemacs): Loop when dumping until SATISFIED.
37311
37312 * lstream.c (signal_simple_internal_error): Remove the abort().
37313
37314 * alloc.c (Fpurecopy): Make it work for byte compiled functions.
37315 (Fgarbage_collect): Disable garbage collection if we're dumping
37316 XEmacs and we've overflowed purespace.
37317
37318 Thu Feb 27 14:14:53 1997 Darrell Kindred <dkindred@cmu.edu>
37319
37320 * event-Xt.c (change_frame_visibility): New function.
37321 (handle_map_event): Use it.
37322 (emacs_Xt_handle_magic_event): Correction of handling of
37323 VisibilityNotify.
37324
37325 Thu Feb 27 14:12:57 1997 Steven L Baur <steve@altair.xemacs.org>
37326
37327 * frame-x.c (x_frame_visible_p): Reverse previous change.
37328
37329 Sun Mar 2 14:01:32 1997 David Moore <dmoore@ucsd.edu>
37330
37331 * regex.c (re_search_2): Properly handle crossing the buffer gap
37332 when doing a backwards search under MULE.
37333
37334 Wed Feb 26 10:24:40 1997 Steven L Baur <steve@altair.xemacs.org>
37335
37336 * Makefile.in.in: make-docfile takes a "-i" parameter to pass
37337 site-loaded lisp files.
37338
37339 * alloc.c (report_pure_usage): Adjust restart message.
37340
37341 Tue Feb 25 10:58:12 1997 Steven L Baur <steve@altair.xemacs.org>
37342
37343 * Makefile.in.in: Add PURESIZE.h to special treatment in vpath.
37344
37345 * alloc.c (PURESIZE_h): New function.
37346 (report_pure_usage): Use it. If PURESIZE is not the right amount,
37347 use the correct value.
37348
37349 * puresize.h: Use dynamic computation of PURESIZE.
37350
37351 * PURESIZE.h: New file.
37352
37353 * fns.c (Frandom): Fix docstring.
37354
37355 Mon Feb 24 17:35:05 1997 Jonathan Edwards <edwards@intranet.com>
37356
37357 * process.c (record_exited_processes): Fix obvious typo in
37358 checking for SIGCLD.
37359
37360 Sun Feb 23 01:45:49 1997 Martin Buchholz <mrb@eng.sun.com>
37361
37362 * scrollbar.c (update_scrollbar_instance): Fix for
37363 all-hail-xemacs scrollbar drag bug.
37364
37365 * scrollbar.c (Fscrollbar_to_bottom): Now calls Frecenter(-3)
37366 as end-of-buffer does, instead of hostile Frecenter(0). Makes
37367 C-button-1 on down-arrow friendlier.
37368
37369 Sun Feb 23 16:56:17 1997 David Hobley <david@spook-le0.cia.com.au>
37370 Initial MS Windows NT support.
37371 * unexnt.c: New file.
37372
37373 * ntproc.c: New file.
37374
37375 * ntheap.h: New file.
37376
37377 * ntheap.c: New file.
37378
37379 * nt.h: New file.
37380
37381 * nt.c: New file.
37382
37383 Sun Feb 23 15:56:58 1997 Steven L Baur <steve@altair.xemacs.org>
37384
37385 * floatfns.c (_GNU_SOURCE): Define if compiling with glibc 2.
37386
37387 * gmalloc.c: Guard __getpagesize definition against glibc 2.
37388
37389 Sat Feb 22 17:12:47 1997 Steven L Baur <steve@altair.xemacs.org>
37390
37391 * Makefile.in.in (lisp): Snarf docstrings from new file
37392 itimer-autosave.elc.
37393
37394 Fri Feb 21 18:21:32 1997 Jan Vroonhof <vroonhof@math.ethz.ch>
37395
37396 * event-Xt.c (emacs_Xt_handle_magic_event): Correction for frame
37397 freezing bug.
37398
37399 Wed Feb 19 12:54:32 1997 Per Abrahamsen <abraham@dina.kvl.dk>
37400
37401 * buffer.c (Fbuffer_disable_undo): Default to current buffer.
37402
37403 Tue Feb 18 12:37:28 1997 Steven L Baur <steve@altair.xemacs.org>
37404
37405 * Makefile.in.in (lisp): Dump new file custom-xmas.elc.
37406
37407 Mon Feb 17 11:29:07 1997 Steven L Baur <steve@altair.xemacs.org>
37408
37409 * print.c (Ferror_message_string): New function, ported from Emacs
37410 19.34.
37411 (print_error_message): Ditto.
37412
37413 * extents.c (verify_extent_mapper): Experimental deletion of code
37414 to allow deletion of read-only extents.
37415
37416 * symbols.c (hash_string): Replace algorithm with one given in
37417 Aho, Sethi & Ullman.
37418
37419 Sun Feb 16 14:53:58 1997 Steven L Baur <steve@altair.xemacs.org>
37420
37421 * keymap.c (lookup_keys): Wrong sense in test.
37422
37423 * Makefile.in.in: Don't dump font.elc.
37424
37425 Sat Feb 15 02:30:51 1997 Steven L Baur <steve@altair.xemacs.org>
37426
37427 * cmds.c: Define new symbol signal-error-on-buffer-boundary.
37428 (Fforward_char): Use it.
37429 (Fbackward_char): Use it.
37430
37431 * window.c (Fscroll_up): Use it.
37432 (Fscroll_down): Use it.
37433
37434 * keymap.c (syms_of_keymap): define mouse-[123] and
37435 down-mouse-[123] pseudo-keysym aliases for Emacs compatibility.
37436
37437 Thu Feb 13 21:28:35 1997 Steven L Baur <steve@altair.xemacs.org>
37438
37439 * Makefile.in.in: Don't dump tm with XEmacs under any
37440 circumstances.
37441
37442 * puresize.h: Remove extra SunPro puresize for MULE+tm.
37443
37444 Sun Feb 9 04:40:36 1997 Axel Seibert <aseibert@cybernet-ag.net>
37445
37446 * emacs.c (main_1): Fix NeXT malloc initialization.
37447
37448 Fri Feb 7 11:36:56 1997 Steven L Baur <steve@altair.xemacs.org>
37449
37450 * mule-coding.c (Fdecode_coding_region): Make explicit call to
37451 `barf_if_buffer_read_only'.
37452 (Fencode_coding_region): Ditto.
37453
37454 Thu Feb 6 22:39:39 1997 Steven L Baur <steve@altair.xemacs.org>
37455
37456 * extents.c (syms_of_extents): Remove references to replicating
37457 extents.
37458
37459 * extents.h (struct extent): Remove references to replicating
37460 extents.
37461
37462 Thu Feb 6 01:11:43 1997 Jareth Hein <jhod@po.iijnet.or.jp>
37463
37464 * mule-coding.c (ENCODE_SJIS): Correct typo.
37465
37466 Thu Feb 6 01:10:22 1997 Steven L Baur <steve@altair.xemacs.org>
37467
37468 * frame.c (delete_frame_internal): Protect against deletion of
37469 frames with living popup children.
37470
37471 Wed Feb 5 17:13:17 1997 David Moore <dmoore@UCSD.EDU>
37472
37473 * emacs.c (main_1): Try to avoid collisions against potentially
37474 incompatible system mallocs.
37475
37476 Mon Feb 3 23:04:41 1997 Joel Peterson <tarzan@aosi.com>
37477
37478 * redisplay.c: Activate face/charset redisplay caching.
37479
37480 Mon Feb 3 22:01:09 1997 Kyle Jones <kyle_jones@wonderworks.com>
37481
37482 * eval.c (do_debug_on_exit): Don't restore old value of
37483 debug_on_next_call improperly.
37484
37485 Fri Jan 31 10:28:47 1997 David Byers <davby@ida.liu.se>
37486
37487 * frame.c (frame_matches_frametype): Fix next-window when the next
37488 window is on another frame.
37489
37490 Thu Jan 30 20:25:00 1997 Steven L Baur <steve@altair.xemacs.org>
37491
37492 * syntax.c (scan_sexps_forward): Change test on targetdepth to
37493 match Emacs 19.34.
37494
37495 Wed Jan 29 22:11:53 1997 James LewisMoss <dres@scsn.net>
37496
37497 * gmalloc.c: Corrections for namespace collision with Linux libc
37498 malloc.
37499
37500 Mon Jan 27 21:46:53 1997 Tomasz J. Cholewo <tjchol01@mecca.spd.louisville.edu>
37501
37502 * fileio.c (Fwrite_region_internal): pack lockname to write-region
37503 handler.
37504
37505 Mon Jan 27 04:50:50 1997 David Moore <dmoore@UCSD.EDU>
37506
37507 * gmalloc.c (malloc): Guard against incompatible system mallocs
37508 with conflicting symbols.
37509
37510 Sun Jan 26 12:27:04 1997 Steven L Baur <steve@altair.xemacs.org>
37511
37512 * redisplay.c (add_emchar_rune): Back out optimization change of
37513 caching last_charset.
37514
37515 Sun Jan 26 09:10:45 1997 Hrvoje Niksic <hniksic@srce.hr>
37516
37517 * s/decosf4-0.h: Digital Unix 4.0 has a realpath, but it's buggy.
37518 And I *do* mean buggy.
37519
37520 Thu Jan 23 10:41:19 1997 Steven L. Baur <steve@altair.xemacs.org>
37521
37522 * puresize.h: Increase SUNPRO usage to reflect tm & cc-mode.
37523 Decrease BASE_PURESIZE and increase MULE_PURESIZE_EXTRA.
37524
37525 Wed Jan 22 21:09:52 1997 Steven L Baur <steve@altair.xemacs.org>
37526 * puresize.h (BASE_PURESIZE): Tighten up.
37527
37528 * scrollbar.c (scrollbar-page-up): Add Athena3d to Lucid/Motif
37529 code.
37530 (scrollbar-page-down): Ditto.
37531
37532 * scrollbar-x.c (x_create_scrollbar_instance): Add Athena3d to
37533 Lucid/Motif code.
37534 (x_update_vertical_scrollbar_callback): Ditto.
37535 (x_update_horizontal_scrollbar_callback): Add Athena3d to Lucid
37536 special case code.
37537
37538 * scrollbar-x.h (struct x_scrollbar_data): Add start drag position
37539 for Athena3d.
37540
37541 * redisplay-output.c (redisplay_update_line): A vain attempt to
37542 get the Athena vertical thumb adjusted after drag.
37543
37544 * EmacsFrame.c: Default to lower/right with Athena3d libraries.
37545
37546 Wed Jan 22 18:38:52 1997 Ian Wells <I.Wells@tarragon-et.co.uk>
37547
37548 * m/aviion.h: Remove definition of m88k.
37549
37550 * s/dgux5-4r4.h: New file.
37551
37552 Wed Jan 22 18:32:49 1997 Steven L Baur <steve@altair.xemacs.org>
37553
37554 * buffer.h: Put proper typecasts on calls to alloca().
37555
37556 Tue Jan 21 22:25:23 1997 Steven L. Baur <steve@altair.xemacs.org>
37557
37558 * config.h.in: Add LWLIB_USES_ATHENA symbol
37559
37560 * Makefile.in.in (TOOLKIT_LIBS): It is possible to have both
37561 Athena and Motif in the same link.
37562
37563 Tue Jan 21 20:43:41 1997 Hrvoje Niksic <hniksic@srce.hr>
37564
37565 * redisplay-tty.c (tty_ring_bell): Don't ring tty bell if the
37566 volume is set to 0.
37567
37568 Tue Jan 21 20:38:58 1997 Axel Seibert <aseibert@cybernet-ag.net>
37569
37570 * s/nextstep.h (signal_handler_t): define as int.
37571
37572 Mon Jan 20 21:12:57 1997 Martin Buchholz <mrb@eng.sun.com>
37573
37574 * event-Xt.c (emacs_Xt_handle_magic_event):
37575 (frame-totally-visible-p) sometimes incorrectly returned nil.
37576
37577 Thu Jan 16 17:24:29 1997 Joel Peterson <tarzan@aosi.com>
37578
37579 * menubar-x.c (pre_activate_callback): Correctly handle buffer
37580 local variables in :included clauses.
37581 (compute_menubar_data): Ditto.
37582
37583 Wed Jan 15 21:44:53 1997 Joel Peterson <tarzan@aosi.com>
37584
37585 * redisplay.c (add_emchar_rune): Enable last_charset display
37586 optimization.
37587
37588 Wed Jan 15 19:06:27 1997 David Moore <dmoore@UCSD.EDU>
37589
37590 * event-stream.c (Faccept_process_output): Avoid checking an
37591 uninitialized variable.
37592
37593 Wed Jan 15 14:14:24 1997 Steven L Baur <steve@altair.xemacs.org>
37594
37595 * regex.c: Modify values of re_max_failures and MAX_FAILURE_ITEMS
37596 to match Emacs 19.34.
37597
37598 Mon Jan 13 00:36:01 1997 Martin Buchholz <mrb@eng.sun.com>
37599
37600 * sysdep.c (sys_execvp): Fix when compiled with
37601 --const-is-losing=no. Old code could crash if argv contained
37602 non-ascii characters and the execvp failed and then caller
37603 examined argv (for error message, for example).
37604
37605 Sun Jan 12 17:22:24 1997 Steven L Baur <steve@altair.xemacs.org>
37606
37607 * Makefile.in.in: TM .elcs moved to SUNPRO_LISP only.
37608
37609 Fri Jan 10 20:21:47 1997 Ben Wing <ben@666.com>
37610
37611 * minibuf.c (Ftry_completion): Don't crash if not given a proper
37612 obarray.
37613
37614 Fri Jan 10 09:49:44 1997 Ted Phelps <phelps@dstc.edu.au>
37615
37616 * objects-x.c (x_initialize_font_instance): Hardcode 'n' for
37617 default font width.
37618
37619 Mon Jan 6 15:16:46 1997 Carsten Leonhardt <leo@arioch.tng.oche.de>
37620
37621 * Makefile.in.in: Linking with canna requires -lRKC.
37622
37623 Mon Jan 6 12:22:57 1997 Frederic Poncin <fp@info.ucl.ac.be>
37624
37625 * gmalloc.c: Don't declare __sbrk on SparcLinux.
37626
37627 Sun Jan 5 18:04:47 1997 Soren Dayton <csdayton@cs.uchicago.edu>
37628
37629 * Makefile.in.in: IRIX6 can use sgiplay.c too.
37630
37631 Sat Jan 4 12:15:16 1997 Steven L Baur <steve@altair.xemacs.org>
37632
37633 * toolbar.c (specifier_vars_of_toolbar): Clean up fallback
37634 specifiers so XEmacs can be built without tty support.
37635
37636 * console-stream.c: Moved function bodies of
37637 semi_canonicalize_console_connection,
37638 canonicalize_console_connection,
37639 semi_canonicalize_device_connection, and
37640 canonicalize_device_connection into this file from console-tty.c.
37641 Moved variable Vstdio_str into this file.
37642
37643 * console-tty.c: See above.
37644
37645 Fri Jan 3 18:07:11 1997 Axel Seibert <aseibert@cybernet-ag.net>
37646
37647 * m/next.h: Cleanup accumulated cruft.
37648
37649 * s/nextstep.h: Remove useless #undef REL_ALLOC/HAVE_MMAP.
37650
37651 * syssignal.h: Don't typedef SIGTYPE on NeXT.
37652
37653 Fri Jan 3 12:06:44 1997 Michael Sperber <sperber@informatik.uni-tuebingen.de>
37654
37655 * m/ibmrs6000.inp: Added various get.* symbols.
37656
37657 Sun Dec 29 20:16:08 1996 Steven L Baur <steve@altair.xemacs.org>
37658
37659 * m/next.h: Remove signal_handler_t #define.
37660
37661 * s/nextstep.h: Remove signal_handler_t #define.
37662
37663 Fri Dec 27 21:13:33 1996 Martin Buchholz <mrb@Eng.Sun.COM>
37664
37665 * event-Xt.c (x_to_emacs_keysym): Corrections to SUNOS_GCC_LO_BUG.
37666
37667 Mon Dec 23 11:37:16 1996 Martin Buchholz <mrb@Eng.Sun.COM>
37668
37669 * fns.c (Ffillarray): Fix for (fillarray #*10 0)
37670
37671 Mon Dec 23 10:27:14 1996 Steven L Baur <steve@altair.xemacs.org>
37672
37673 * bitmaps.h: Change to unsigned char.
37674
37675 * frame-x.c (x_cde_transfer_callback): Typecast fix.
37676
37677 * keymap.c (define_key_check_and_coerce_keysym): Typecast fix.
37678
37679 Fri Dec 20 19:21:56 1996 Steven L Baur <steve@altair.xemacs.org>
37680
37681 * Makefile.in.in (lisp): Remove cc-mode as a dumped package.
37682
37683 * keymap.c (define_key_check_and_coerce_keysym): Make obsolete
37684 binding of kp_.* not lose.
37685
37686 * bitmaps.h: Add left & right arrows to show extended lines.
37687
37688 Fri Dec 20 15:32:53 1996 David Moore <dmoore@UCSD.EDU>
37689
37690 * event-stream.c (event_stream_wakeup_pending_p): New function.
37691 (Faccept_process_output): Fix timeout handling race conditions.
37692 (Fsleep_for): Ditto.
37693 (Fsit_for): Ditto.
37694
37695 Thu Dec 19 22:25:26 1996 Steve Carney <carney@gvc.dec.com>
37696
37697 * cmds.c (Fbeginning_of_line): Adjust for 64 bit machines.
37698
37699 Thu Dec 19 00:44:10 1996 Bart Robinson <lomew@cs.utah.edu>
37700
37701 * syssignal.h: The declaration of SIGTYPE shouldn't be protected
37702 by HAVE_SIGPROCMASK.
37703
37704 Wed Dec 18 20:40:21 1996 Martin Buchholz <mrb@eng.sun.com>
37705
37706 * dgif_lib.c: Miscellaneous cleanup, including removing signed
37707 bitfields.
37708
37709 * mule-charset.h: Change charset names.
37710
37711 * mule-coding.c (struct iso2022_decoder): Uniform unsigned bitfields.
37712 Change charset names.
37713
37714 * mule-charset.c: Change charset names.
37715
37716 * mule-canna.c: Change charset names.
37717
37718 * EmacsShell-sub.c: Ansify and reformat.
37719
37720 * console-tty.h (struct tty_console): Uniform unsigned bitfields.
37721
37722 * glyphs-x.c: Ansify.
37723
37724 * specifier.c: Use lisp_fn_t.
37725
37726 * EmacsShell.c: Ansify.
37727
37728 * vm-limit.c: Ansify.
37729
37730 * emacsfns.h: Use lisp_fn_t.
37731
37732 * lstream.c (struct filedesc_stream): Unsigned int bitfields.
37733
37734 * xselect.c (hack_motif_clipboard_selection): Change charset name.
37735 (Fx_store_cutbuffer_internal): Change charset name.
37736
37737 * ralloc.c: Ansify and clean up.
37738
37739 * frame.h (struct frame): Uniform unsigned bit fields.
37740
37741 * event-Xt.c: Documentation change.
37742
37743 * lisp.h: Introduce lisp_fn_t.
37744 Remove SunPro C compiler warning message workaround.
37745
37746 * xmu.c: Ansify.
37747
37748 * doprnt.c (struct printf_spec): Use unsigned bitfields.
37749
37750 * fileio.c: various code formatting changes.
37751
37752 * eval.c: reorganize primitive funcalls.
37753
37754 * config.h.in (NeedFunctionPrototypes): Force slightly better type
37755 checking in X header files.
37756
37757 * Makefile.in.in: #undef i386, move mime-setup.elc?.
37758
37759 * s/sunos4-0-shr.h: Documentation change.
37760
37761 * s/sol2.h (__EXTENSIONS__): Add.
37762 Include <setjmp.h> under certain conditions.
37763
37764 Mon Dec 16 19:13:10 1996 Steven L Baur <steve@altair.xemacs.org>
37765
37766 * lstream.c (Lstream_pseudo_close): Return status on error.
37767 (Lstream_close): Ditto. (Fixes disk full-no error on write bug).
37768
37769 Sat Dec 14 16:54:52 1996 Steven L Baur <steve@altair.xemacs.org>
37770
37771 * glyphs-x.c (jpeg_instantiate): Use file I/O for JPEG loading
37772 because the in-core code is broken.
37773
37774 Fri Dec 13 16:43:45 1996 Steven L Baur <steve@altair.xemacs.org>
37775
37776 * device-x.c (x_init_device): Don't make nonexistent X server the
37777 default when running on a tty.
37778
37779 * event-Xt.c (x_to_emacs_keysym): Rename kp_.* keysyms to be kp-\1.
37780
37781 * redisplay-tty.c (keys): Rename kp_.* keynames to kp-\1.
37782
37783 Fri Dec 13 14:48:42 1996 Michael Sperber <sperber@informatik.uni-tuebingen.de>
37784
37785 * lread.c (Fload_internal): Change arity of call to
37786 file-name-handlers.
37787
37788 * fileio.c (Finsert_file_contents_internal): Ditto.
37789
37790 Thu Dec 12 16:55:34 1996 Lars Magne Ingebrigtsen <larsi@ifi.uio.no>
37791
37792 * cmds.c (Fpoint_at_eol, Fpoint_at_bol): New functions.
37793 (Fend_of_line, Fbeginning_of_line): Use them.
37794
37795 Tue Dec 10 11:17:32 1996 Shane Holder <holder@mordor.rsn.hp.com>
37796
37797 * s/hpux9shxr4.h: hpux9shr.h -> hpux9-shr.h
37798
37799 * s/hpux10.h: hpux9shr.h -> hpux9-shr.h
37800
37801 Sat Dec 7 18:29:34 1996 Steven L Baur <steve@altair.xemacs.org>
37802
37803 * puresize.h (BASE_PURESIZE): Bumped up PURESIZE by 10k.
37804
37805 Sat Dec 7 16:26:34 1996 Martin Buchholz <mrb@Eng.Sun.COM>
37806
37807 * config.h.in: configure for POSIX getcwd if available.
37808
37809 Sat Dec 7 15:48:39 1996 Steven L Baur <steve@altair.xemacs.org>
37810
37811 * s/sunos4-1-shr.h: Renamed from sunos4-1shr.h.
37812
37813 * s/sunos4-1-3-shr.h: Renamed from sunos4-1-3shr.h.
37814
37815 * s/sunos4-1-2-shr.h: Renamed from sunos4-1-2-shr.h.
37816
37817 * s/sunos4-0-shr.h: Renamed from sunos4-0shr.h.
37818
37819 * s/hpux9-shr.h: Renamed from hpux9shr.h.
37820
37821 * s/hpux8-shr.h: Renamed from hpux8shr.h.
37822
37823 * s/hpux10-shr.h: Renamed from hpux10shr.h.
37824
37825 Wed Dec 4 23:38:03 1996 Steven L Baur <steve@altair.xemacs.org>
37826
37827 * redisplay.c: Allow column numbers in modeline to start from 1.