+1998-12-24 Martin Buchholz <martin@xemacs.org>
+
+ * XEmacs 21.2.7 is released.
+
+1998-12-23 Martin Buchholz <martin@xemacs.org>
+
+ * glyphs.c (decode_device_ii_format):
+ - Fix indentation.
+ - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
+
+ * glyphs-x.c (x_subwindow_instantiate):
+ - A image instance mask was being assigned to a image instance type!
+ - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
+
+ * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
+ Fix indentation.
+ * glyphs-x.h: Make indentation consistent.
+
+ * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
+
+ * glyphs-widget.c (check_valid_glyph): Warning suppression.
+ - Make it static
+ - #ifdef it out, since it's not actually used yet (FIX THIS!)
+
+ * glyphs-widget.c:
+ * glyphs.h:
+ Move declarations of decode_device_ii_format and
+ decode_image_instantiator_format into glyphs.h where they belong.
+
+1998-12-22 Martin Buchholz <martin@xemacs.org>
+
+ * frame-x.c (x_delete_frame): Revert part of my changes at the
+ suggestion of Gunnar Evermann - unfortunately no one really
+ understands this code.
+
+ * callproc.c (init_callproc): code cleanup.
+
+ * free-hook.c (malloc):
+ (check_malloc):
+ (__free_hook):
+ (__malloc_hook):
+ (__realloc_hook):
+ (block_input_malloc):
+ (block_input_realloc):
+ * device-x.c (x_delete_device):
+ * emacs.c (voodoo_free_hook):
+ * events.c (print_event):
+ (CHECK_EVENT_TYPE):
+ (CHECK_EVENT_TYPE2):
+ (CHECK_EVENT_TYPE3):
+ Use proper prototypes.
+ Make C_E_T macros a little faster.
+ Pedantic fiddly little changes. You really don't care.
+
+1998-12-22 Andy Piper <andy@xemacs.org>
+
+ * redisplay-output.c (redisplay_clear_region): make sure that
+ fg/bg colors get set even when we are in the border area.
+
+1998-12-13 Martin Buchholz <martin@xemacs.org>
+
+ * console-msw.c: Function definitions follow coding standards
+ - This prevents e.g. find-tag on Lisp_Event finding DEVENT
+
+1998-12-11 Martin Buchholz <martin@xemacs.org>
+
+ * events.h (struct timeout_data):
+ * event-tty.c (tty_timeout_to_emacs_event):
+ * event-msw.c (mswindows_wm_timer_callback):
+ * event-Xt.c (Xt_timeout_to_emacs_event):
+ * event-msw.c (mswindows_cancel_dispatch_event):
+ Make sure Lisp_Objects inside events are initialized to Qnil, not
+ Qnull_pointer, which is now illegal.
+
+1998-12-10 Martin Buchholz <martin@xemacs.org>
+
+ * lisp.h: Fix up prototypes to match alloc.c
+
+1998-12-08 Martin Buchholz <martin@xemacs.org>
+
+ * windowsnt.h: Remove `support' for using index and rindex
+
+ * filelock.c (current_lock_owner):
+ - Change uses of index -> strchr, rindex -> strrchr
+
+1998-12-07 Martin Buchholz <martin@xemacs.org>
+
+ * sysdep.c (set_descriptor_non_blocking):
+ Since O_NONBLOCK is now always #defined, make use of fcntl
+ conditional on F_SETFL being defined.
+
+ * console-msw.c (DHEADgER):
+ (DOPAQUE_DATA):
+ (DEVENT):
+ (DCONS):
+ (DCONSCDR):
+ (DSTRING):
+ (DVECTOR):
+ (DSYMBOL):
+ (DSYMNAME):
+ - max_align_t should not be visible to the user of the
+ XOPAQUE_DATA macro.
+ - use Bufbyte instead of char
+ - parens around (FOOP (obj)) are always redundant.
+ If they were necessary, we should fix the macro instead.
+ - Always use string_data(foo) instead of foo->data.
+
+
+1998-12-06 Martin Buchholz <martin@xemacs.org>
+
+ * frame-msw.c (mswindows_init_frame_1):
+ - use make_lisp_hash_table, not Fmake_hash_table
+ - include elhash.h
+
+ * lisp.h:
+ * alloc.c (make_vector): remove travesty
+ (Fmake_vector):
+ (make_pure_vector):
+ (pure_cons):
+ (make_bit_vector_internal):
+ (make_bit_vector):
+ (make_bit_vector_from_byte_vector):
+ (Fmake_bit_vector):
+ - make vector_equal a little faster.
+ - Don't use variable name `new'.
+ - Use size_t instead of EMACS_INT.
+ - usual Martin-style pointless bit-twiddling.
+
+ * fns.c (mapcar1):
+ (Fmapconcat):
+ (Fmapcar):
+ (Fmapvector):
+ Make mapcar faster. In particular, make
+ (mapc #'identity long-string)
+ MUCH faster under Mule.
+ * tests/automated/lisp-tests.el: Test 'em!
+
+ * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
+ bytecode.
+
+1998-12-01 Martin Buchholz <martin@xemacs.org>
+
+ * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
+ Qnil, not NULL, to initialize `null' Lisp_Objects.
+
+1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
+
+ * specifier.c (display_table_validate): Update.
+
+ * redisplay.c (create_text_block): Use them.
+
+ * glyphs.c (display_table_entry): New function.
+ (get_display_tables): Ditto.
+
+1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
+
+ * eldap.c (toplevel): Mention that eldap.c compiles with
+ OpenLDAP libs
+ (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
+ (Fldap_search_internal): Ditto
+
+1998-12-11 Martin Buchholz <martin@xemacs.org>
+
+ * event-msw.c (mswindows_cancel_dispatch_event):
+ Gratuitous code prettification
+
+
+1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
+
+ * fns.c (Fnconc): Fix use of wrong_type_argument().
+
+ * floatfns.c (Ffloat): Fix docstring.
+ (Ffloat): Fix use of wrong_type_argument().
+ (Fabs): Ditto.
+ (extract_float): Ditto.
+ (Fceiling): Ditto.
+ (Fround): Ditto.
+ (Ftruncate): Ditto.
+
+1998-12-06 Martin Buchholz <martin@xemacs.org>
+
+ * frame-msw.c (mswindows_init_frame_1):
+ - use make_lisp_hash_table, not Fmake_hash_table
+ - include elhash.h
+
+ * lisp.h:
+ * alloc.c (make_vector): remove travesty
+ (Fmake_vector):
+ (make_pure_vector):
+ (pure_cons):
+ (make_bit_vector_internal):
+ (make_bit_vector):
+ (make_bit_vector_from_byte_vector):
+ (Fmake_bit_vector):
+ - make vector_equal a little faster.
+ - Don't use variable name `new'.
+ - Use size_t instead of EMACS_INT.
+ - usual Martin-style pointless bit-twiddling.
+
+ * fns.c (mapcar1):
+ (Fmapconcat):
+ (Fmapcar):
+ (Fmapvector):
+ Make mapcar faster. In particular, make
+ (mapc #'identity long-string)
+ MUCH faster under Mule.
+ * tests/automated/lisp-tests.el: Test 'em!
+
+ * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
+ bytecode.
+
+1998-12-02 Didier Verna <verna@inf.enst.fr>
+
+ * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
+ accelerator field to nil for labels.
+
+1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
+
+ * menubar-msw.c (displayable_menu_item):
+ Escape occurrences of '&' and support occurrences of the
+ '%_' accelerator indicator in menus.
+
+1998-11-26 Didier Verna <verna@inf.enst.fr>
+
+ * dired.c (Fdirectory_files): use make_string instead of
+ make_ext_string on the filename. The conversion external->internal
+ format is already done in sys_readdir.
+
+1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
+
+ * glyphs.c (normalize_image_instantiator): GCPRO instantiator
+
+1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
+
+ * event-msw.c
+ (Belatedly) added Kirill to list of file's authors.
+ emacs_mswindows_quit_p: Don't process WM_PAINT messages in
+ quit checking. WM_PAINT messages cause redisplay, but
+ windows' states are not necessarily stable when this function
+ gets called.
+
+1998-12-17 Andy Piper <andy@xemacs.org>
+
+ * strftime.c (zone_name): CONSTify.
+
+1998-12-15 Andy Piper <andy@xemacs.org>
+
+ * glyphs-msw.c (mswindows_combo_instantiate): ditto.
+ (mswindows_widget_property): return Qunbound when no property available.
+ (mswindows_button_property): ditto.
+ (mswindows_combo_property): ditto.
+ (mswindows_widget_set_property): ditto.
+
+ * glyphs-widget.c (check_valid_item_list): use properties.
+
+ * glyphs.h (struct Lisp_Image_Instance): we have properties now.
+
+ * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
+ (Fimage_instance_property): ditto.
+ * glyphs-widget.c (widget_property): ditto.
+ (widget_set_property): ditto.
+
+ * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
+ as setting the class cursor so that GC actually changes the
+ cursor.
+
+ * config.h: don't undef MAIL_USE_POP.
+
+1998-12-13 Andy Piper <andy@xemacs.org>
+
+ * glyphs-msw.c
+ (image_instantiator_format_create_glyphs_mswindows): line ->
+ label.
+ (mswindows_label_instantiate): ditto. Play with window flags.
+ (image_instantiator_format_create_glyphs_mswindows): ditto.
+ (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
+
+ * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
+ cope with lines and labels.
+ (static_instantiate): use widget_instantiate_1.
+ line -> label.
+ (image_instantiator_format_create_glyphs_widget): ditto.
+
+1998-12-10 Andy Piper <andy@xemacs.org>
+
+ * Makefile.in.in (objs): add gui.o
+
+1998-12-10 Andy Piper <andy@xemacs.org>
+
+ * gui.c: adjust defines of HAVE_POPUPS so that we can build with
+ no window system.
+
+1998-12-09 Andy Piper <andy@xemacs.org>
+
+ * glyphs.c (finalize_image_instance): mark glyphs changed when an
+ image instance is removed so that the subwindow cache gets reset
+ and thus destroyed images get GC'd.
+
+1998-12-08 Andy Piper <andy@xemacs.org>
+
+ * gui-msw.c (mswindows_handle_gui_wm_command): call
+ MARK_SUBWINDOWS_CHANGED.
+
+ * glyphs-msw.c (mswindows_finalize_image_instance): make sure
+ subwindows really get deleted.
+
+ * redisplay.c: new variable subwindows_changed[_set].
+ (redisplay_window): use it.
+ (redisplay_frame): ditto.
+ (redisplay_device): ditto.
+ (redisplay_without_hooks): ditto.
+
+ * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
+ subwindows redisplay as per glyphs equivalent.
+ * redisplay.h: ditto.
+ (MARK_SUBWINDOWS_CHANGED): ditto.
+ (RESET_CHANGED_SET_FLAGS): ditto.
+ * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
+
+1998-12-07 Andy Piper <andy@xemacs.org>
+
+ * frame.c (Fmake_frame): reset subwindow cachels on non-stream
+ frames.
+
+ * redisplay.c (redisplay_frame): invalidate subwindow cachels.
+
+ * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
+ messages and paint widget glyphs as appropriate with their face fg
+ & bg.
+
+1998-12-06 Andy Piper <andy@xemacs.org>
+
+ * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
+ here rather than in glyphs-widget - do this because we only want
+ to provide what is really available.
+
+ * glyphs.c (Fimage_instance_property): new function to get the
+ properties of image instances. wires through to console specific
+ methods and then to widget specific methods.
+ (Fset_image_instance_property): ditto but for setting widget properties.
+ (check_valid_face): make extern so that it can be used elsewhere.
+
+ * glyphs-widget.c (widget_property): new function. gets the
+ properties of widgets in general and wires the function through to
+ widget specific ones.
+ (widget_set_property): ditto but for setting widget properties.
+
+ * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
+ add items to the list. Play with window styles a bit to get the
+ desired effect.
+ (mswindows_widget_property): break out specific widget properties.
+ (mswindows_button_property): new function. gets the checked state
+ of a button.
+ (mswindows_combo_property): new function. gets the current
+ selection in the combo box.
+ (mswindows_widget_set_property): new function. sets specific
+ properties of specific widgets.
+
+ * glyphs-widget.c (check_valid_item_list): new function. check
+ that items for a combo-box are just a list of strings.
+ (combo_validate): new function. check there is an item list.
+ (widget_instantiate_1): new function. renamed from
+ widget_instantiate so that we can do slightly different things for
+ other widgets.
+ (widget_instantiate): call widget_instantiate_1.
+ (combo_instantiate): new function to instantiate combo boxes,
+ defaults height to the pixel height of the number of items in the
+ box.
+ (syms_of_glyphs_widget): move widget keywords here.
+ (image_instantiator_format_create_glyphs_widget): use new combo
+ functions.
+
+1998-12-04 Andy Piper <andy@xemacs.org>
+
+ * event-msw.c (mswindows_wnd_proc): mule-ize.
+
+ * glyphs.c (pixmap_to_lisp_data): mule-ize.
+
+ * glyphs-msw.c (extract_xpm_color_names): mule-ize.
+ (resource_name_to_resource): ditto.
+ (mswindows_resource_instantiate): ditto.
+ (mswindows_widget_instantiate): ditto.
+ (mswindows_widget_set_property): ditto.
+
+ * redisplay-output.c (redisplay_output_subwindow): don't show
+ subwindows if they are obscured at the edge of the frame, emacs
+ gets into some sort of redisplay loop otherwise.
+
+ * gui.h: prototype gui_item_selected_p.
+
+ * gui.c (gui_item_selected_p): new function to determine the
+ selected state of a gui_item.
+
+ * frame.h (struct frame): add subwindows_changed flag.
+
+ * redisplay.c (redisplay_frame): call update_frame_subwindows ().
+
+ * glyphs.c (update_subwindow): new function to update a
+ subwindow's state.
+ (update_frame_subwindows): new function to update all the
+ subwindows on a frame.
+
+ * console.h (struct console_methods): add update_subwindow.
+
+ * glyphs-msw.c (mswindows_widget_property): return selected state
+ for selected property.
+ (mswindows_update_subwindow): new function. updates widget glyphs
+ in redisplay as per menubars or toolbars e.g. selected state.
+ (console_type_create_glyphs_mswindows): add update_subwindow.
+
+1998-12-03 Andy Piper <andy@xemacs.org>
+
+ * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
+ tty coding system things are such.
+
+ * glyphs-widget.c (widget_face_font_info): new function for
+ pulling out height and width metrics for a widget's face.
+ (widget_text_to_pixel_conversion): calculate pixel sizes of text
+ for widgets.
+
+ * event-msw.c (mswindows_drain_windows_queue): translate messages
+ that are destined for subwindows. This makes edit fields interact
+ with the keyboard correctly.
+ nuke warnings by #ifndef'ing out stuff not required by msg select().
+
+ * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
+ macro defining the iiforma without the symbol required by widget.
+ (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
+
+ * general.c (syms_of_general): add Qwidget, Qselected.
+
+ * faces.c (complex_vars_of_faces): add widget face inheriting from
+ gui-element face.
+
+1998-11-09 Andy Piper <andy@xemacs.org>
+
+ * window.h (struct window): add a cache of subwindows on a
+ per-window basis.
+
+ * window.c (mark_window): mark the subwindow_instance_cache.
+ (allocate_window): initialise the subwindow instance_cache.
+
+ * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
+ instead of the devmeth.
+ (x_clear_toolbar): ditto.
+
+ * redisplay-x.c (x_output_display_block): call
+ redisplay_output_subwindow for subwindows and widgets.
+
+ * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
+ types to do nothing for.
+
+ * lisp.h: declare new widget/subwindow symbols.
+
+ * glyphs.c (image_instantiate): cache subwindows on a per-window
+ basis.
+ (subwindow_possible_dest_types): new function for subwindow dest
+ types.
+ (subwindow_instantiate): generic instantiation of a
+ subwindow. specialised by device multi-methods.
+ (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
+ subwindows.
+ (Fimage_instance_subwindow_id): ditto.
+ (Fresize_subwindow): ditto.
+ (Fforce_subwindow_map): ditto.
+
+ * glyphs-x.c (x_print_image_instance): remove subwindow
+ stuff. Handled genrically in glyphs.c.
+ (x_image_instance_equal): ditto.
+ (x_image_instance_hash): ditto.
+ (x_finalize_image_instance): delete subwindows when required.
+ (mark_subwindow) (print_subwindow) (finalize_subwindow)
+ (subwindow_hash) (Fmake_subwindow): deleted because of new,
+ glyph-based, subwindow implementation.
+ (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
+ in glyphs.el
+ (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
+ glyphs.c.
+ (x_unmap_subwindow): new function to unmap X subwindows.
+ (x_map_subwindow): new function to map X subwindows.
+ (x_subwindow_instantiate): new function to instantiate X
+ subwindows.
+ (x_resize_subwindow): new function to resize X subwindows.
+ (console_type_create_glyphs_x): add subwindow functions.
+ (image_instantiator_format_create_glyphs_x): add device
+ multi-methods for xpm, xbm and subwindow.
+
+ * glyphs.el (subwindow-xid): old alias for new subwindow functions.
+ (subwindow-width): ditto.
+ (subwindow-height): ditto.
+
+ * glyphs-msw.c (mswindows_widget_instantiate): new function for
+ generally instantiating ms subwindows. Used by
+ mswindows_*_instantiate.
+ (mswindows_edit_instantiate): instantiate an edit field on a
+ mswindows frame.
+
+1998-11-04 Andy Piper <andy@xemacs.org>
+
+ * symsinit.h: declare new functions.
+
+ * redisplay.h: declare new functions.
+
+ * redisplay-x.c (x_output_display_block): call
+ redisplay_clear_region rather than x_clear_region.
+ (x_output_string): ditto.
+ (x_output_pixmap): ditto.
+ (x_clear_to_window_end): ditto.
+ (x_output_eol_cursor): ditto.
+ (x_clear_region): only do X specific things. other duties handled
+ in redisplay_clear_region.
+
+ * redisplay-tty.c (tty_clear_region): do tty specific things - some
+ duties moved to redisplay_clear_region.
+
+ * redisplay-output.c (clear_left_border): use
+ redisplay_clear_region instead of device method.
+ (clear_right_border): ditto.
+ (output_display_line): ditto.
+ (redisplay_output_subwindow): ditto.
+ (redisplay_clear_top_of_window): ditto.
+ (redisplay_clear_region): perform duties previously handled by
+ device methods. call the appropriate device method at the
+ end. unmap subwindows if necessary.
+
+ * redisplay-msw.c (mswindows_output_string): use
+ redisplay_clear_region instead of mswindows_clear_region.
+ (mswindows_clear_to_window_end): ditto.
+ (mswindows_output_display_block): output subwindows when required.
+ (mswindows_clear_region): only do mswindows specific things,
+ everything else is now handled in redisplay_clear_region.
+
+ * gui.h: add item id hash defines and declare function prototypes.
+
+ * gui.c (mark_gui_item): new function for marking gui_items.
+ (gui_item_hash): generic hash function for generating command ids
+ for gui_items.
+
+ * gui-msw.c: new file.
+ (mswindows_handle_gui_wm_command): new function to handle widget
+ callbacks.
+
+ * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
+ multi-methods.
+ (IIFORMAT_HAS_SHARED_METHOD): ditto.
+ (DEFINE_DEVICE_IIFORMAT): ditto.
+ (INITIALIZE_DEVICE_IIFORMAT): ditto.
+ (struct Lisp_Image_Instance): add widget and subwindow data plus
+ appropriate access functions.
+
+ * glyphs.c (decode_device_ii_format): new function for decoding
+ image instantiator functions based on a device type as well as an
+ image format.
+ (decode_image_instantiator_format): just call
+ decode_device_ii_format with nil device.
+ (add_entry_to_device_ii_format_list): new function for per device
+ method instances.
+ (add_entry_to_image_instantiator_format_list): just call
+ add_entry_to_device_ii_format_list with nil device.
+ (check_valid_vector): new function.
+ (instantiate_image_instantiator): instantiate using per-format
+ method and then per-format-per-device method (device
+ multi-methods). signal an error if neither is possible.
+ (mark_image_instance): cope with subwindows and widgets.
+ (print_image_instance): ditto.
+ (image_instance_equal): ditto.
+ (image_instance_hash): ditto.
+ (allocate_glyph): ditto.
+ (glyph_width): ditto.
+ (glyph_height_internal): ditto.
+ (xpm_instantiate): removed because of device multi-methods.
+ (mark_subwindow_cachels): new cachel functions for caching
+ instantiated subwindows on a per-frame basis. mostly copied from
+ glyph cachel functions.
+ (update_subwindow_cachel_data): ditto.
+ (add_subwindow_cachel): ditto.
+ (get_subwindow_cachel_index): ditto.
+ (reset_subwindow_cachels): ditto.
+ (mark_subwindow_cachels_as_not_updated): ditto.
+ (unmap_subwindow): generic unmapping of subwindows based on cachel
+ data.
+ (map_subwindow): ditto.
+ (initialize_subwindow_image_instance): generic initialisation of
+ subwindow data.
+ (syms_of_glyphs): add widget keywords.
+
+ * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
+ x_subwindow_data.
+
+1998-11-04 Andy Piper <andy@xemacs.org>
+
+ * glyphs-widget.c: new file for instantiating widget type glyphs.
+ (widget_possible_dest_types): new general dest type function for
+ widgets.
+ (widget_validate): ditto.
+ (initialize_widget_image_instance): ditto
+ (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
+ before handing on control to device multi-methods.
+ (syms_of_glyphs_widget): new function.
+ (image_instantiator_format_create_glyphs_widget): new function,
+ added placeholders for button, edit, combo, scrollbar
+ (vars_of_glyphs_widget): new function.
+
+ * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
+ storing window ids of widgets.
+
+ * glyphs-msw.c (mswindows_finalize_image_instance): cope with
+ deletion of widget and subwindow glyphs.
+ (mswindows_unmap_subwindow): new device function for unmapping
+ subwindows on a msw frame.
+ (mswindows_map_subwindow): ditto.
+ (mswindows_register_image_instance): register instantiated widgets
+ with the widget hastable.
+ (mswindows_button_instantiate): instantiate a button type widget
+ on an msw frame.
+ (mswindows_subwindow_instantiate): instanttiate a subwindow on a
+ mswindows frame.
+ (image_instantiator_format_create_glyphs_mswindows): add device
+ multi-methods for xbm, xpm, subwindow, edit and button.
+
+ * frame.h (struct frame): add subwindow_cachels dynarr for caching
+ information about subwindows visible on the current frame. used by
+ redisplay_clear_region to unmap subwindows as required.
+
+ * frame.c (mark_frame): mark subwindow_cachels.
+ (allocate_frame_core): instantiate subwindow_cachels.
+
+ * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
+ widget hashtable.
+
+ * event-msw.c (mswindows_wnd_proc): add call to
+ mswindows_handle_gui_wm_command to handle widget callbacks.
+
+ * emacs.c (main_1): add calls to glyphs-widget initialisation
+ routines.
+
+ * console.h (struct console_methods): add
+ unmap/map_subwindow_method for use be redisplay_clear_region to
+ map and unmap subwindows. Remove xpm and xbm stuff - now dealt
+ with by image instantiator multi-methods. Add
+ resize_subwindow_method.
+
+ * console-stream.c (stream_clear_region): change signature to
+ match new generic clear region function.
+
+ * Makefile.in.in: add glyphs-widget.o to list of objects.
+
+ * console-msw.h (struct mswindows_frame): add widget hashtable for
+ wiring command ids to callbacks.
+