XEmacs 21.2.18 "Toshima".
[chise/xemacs-chise.git.1] / src / ChangeLog
index 1f925fa..787e141 100644 (file)
@@ -1,3 +1,462 @@
+1999-07-13  XEmacs Build Bot <builds@cvs.xemacs.org>
+
+       * XEmacs 21.2.18 is released
+
+1999-07-08  SL Baur  <steve@mule.m17n.org>
+
+       * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
+       XIM_XLIB.
+       (emacs_Xt_handle_magic_event): Ditto.
+       * redisplay-x.c (x_output_string): Ditto.
+       (x_output_eol_cursor): Ditto.
+
+1999-06-30  Kazuyuki IENAGA <kazz@imasy.or.jp>
+
+       *  event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
+       problem that when XIM is destroyed or missed with some reason,
+       xemacs will die.  Now xim=xlib waits the XIM will be ready and
+       endures the case of XIM end up.
+
+1999-07-03  Gunnar Evermann  <ge204@eng.cam.ac.uk>
+
+        * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
+        SIGINT and SIGCHLD before calling tt_open and restore the
+        afterwards. This fixes e.g. the zombie subprocesses on Solaris
+
+1999-07-06  SL Baur  <steve@xemacs.org>
+
+       * s/linux.h: gcc-2.8 changes for powerpc
+       From Justin Vallon <vallon@mindspring.com>
+
+1999-07-05  Didier Verna  <verna@inf.enst.fr>
+
+       * indent.c: new symbol Qcoerce.
+       (Fmove_to_column): use it + doc string update.
+
+1999-07-04  Andy Piper  <andy@xemacs.org>
+
+       * console.c: undo earlier Fprovide changes.
+       * fns.c: ditto.
+       * console.h: ditto.
+
+       * console-tty.c (image_instantiator_format_create_glyphs_tty): new
+       function. validate appropriate image formats for tty.
+
+       * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
+       initialize consoles parameter.
+       (struct image_instantiator_methods): add consoles parameter.
+       (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
+       console.
+       (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
+       console.
+
+       * glyphs-msw.c: declare instantiators for later use.
+       (image_instantiator_format_create_glyphs_mswindows): validate xpm
+       and friends on the mswindows console.
+       * glyphs-x.c: ditto.
+
+       * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
+       that have not been registered on the supplied device.
+       (Fvalid_image_instantiator_format_p): add locale argument.
+       (instantiate_image_instantiator): valid image instantiator on the
+       device.
+
+       * symsinit.h: add image_instantiator_format_create_glyphs_tty()
+       declaration.
+
+       * emacs.c (main_1): add call to
+       image_instantiator_format_create_glyphs_tty().
+
+1999-06-29  Olivier Galibert  <galibert@pobox.com>
+
+       * lisp.h: Add #include <stddef.h>.
+
+       * sysdep.c: Remove #include <stddef.h>.
+       * symbols.c: Remove #include <stddef.h>.
+       * sheap.c: Remove #include <stddef.h>.
+       * opaque.c: Remove #include <stddef.h>.
+       * nt.c: Remove #include <stddef.h>.
+       * mule-charset.c: Remove #include <stddef.h>.
+       * marker.c: Remove #include <stddef.h>.
+       * file-coding.c: Remove #include <stddef.h>.
+       * extents.c: Remove #include <stddef.h>.
+       * elhash.c: Remove #include <stddef.h>.
+       * data.c: Remove #include <stddef.h>.
+       * chartab.c: Remove #include <stddef.h>.
+       * bytecode.c: Remove #include <stddef.h>.
+       * alloc.c: Remove #include <stddef.h>.  Fix vector description
+
+1999-06-30  SL Baur  <steve@miho.m17n.org>
+
+       * editfns.c: Document "%s" format spec.
+       Suggested by Bob Weiner <weiner@altrasoft.com>
+
+1999-06-29  Andy Piper  <andy@xemacs.org>
+
+       * event-msw.c: fix definition booboo.
+
+1999-06-28  Andy Piper  <andy@xemacs.org>
+
+       * glyphs-x.c: change tree -> tree-view, progress ->
+       progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
+       combo-box.
+       (complex_vars_of_glyphs_x): provide-on-console the implemented
+       widget types.
+
+       * glyphs-msw.c: ditto.
+       (complex_vars_of_glyphs_mswindows): ditto.
+
+       * lisp.h: add Fprovide_on_console.
+
+       * fns.c (Ffeaturep): add extra optional console argument.
+       (Fprovide_on_console): like Fprovide but provides only on the
+       specified console-type.
+       (Frequire): check console-features as well as global features.
+
+       * console.c (Fconsole_features): new function. return features for
+       this console.
+       (syms_of_console): add Fconsole_features.
+
+       * console.h (CONMETH_FEATURES): new function for accessing features.
+       (CONSOLE_FEATURES): ditto.
+       (struct console_methods): add features slot.
+       (INITIALIZE_CONSOLE_TYPE): initialize features slot.
+
+1999-06-28  Andy Piper  <andy@xemacs.org>
+
+       * event-Xt.c (handle_focus_event_1): conditionally compile for
+       X11R5.
+
+       * s/cygwin32.h: fix me website address.
+
+       * event-msw.c: add NMHDR for pre b20 cygwin builds.
+
+       * gui-x.c (button_item_to_widget_value): only add callback if it
+       is non-nil.
+
+       * glyphs-x.c: add progress, edit and combo instantiators.
+       (x_widget_set_property): new function. uses lwlib to set widget
+       values.
+       (x_widget_property): new function. uses lwlib to get widget
+       values.
+       (x_button_instantiate): support images in buttons.
+       (x_button_property): new function. use lwlib to get the selected
+       state.
+       (x_progress_instantiate): new function for instantiating progress
+       gauges.
+       (x_progress_set_property): new function. sets the progress gauge
+       position.
+       (x_edit_instantiate): new function. for instantiating edit fields.
+       (x_combo_instantiate): new function. for instantiating combo
+       boxes.
+       (image_instantiator_format_create_glyphs_x): add new device ii
+       formats.
+
+       * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
+
+       * console.h (CONSOLE_FEATURES): new features accesor.
+
+       * conslots.h (MARKED_SLOT): add features entry.
+
+1999-06-25  Andy Piper  <andy@xemacs.org>
+
+       * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
+       gui functions.
+
+       * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
+
+       * gui.h (struct Lisp_Gui_Item): add accelerator.
+
+       * gui.c (gui_item_add_keyval_pair): deal with accelerators.
+       (gui_item_init): ditto.
+       (gui_add_item_keywords_to_plist): ditto.
+       (mark_gui_item): ditto.
+       (gui_item_hash): ditto.
+       (gui_item_accelerator): new function.
+       (gui_name_accelerator): new function stolen from gui-x.c
+
+       * gui-x.c (popup_selection_callback): always define. mark
+       subwindows changed after calling a callback.
+       (menu_name_to_accelerator): deleted.
+       (button_item_to_widget_value): forward gui_item things to gui_item
+       functions.
+
+       * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
+       appropriate accesors.
+
+       * glyphs-x.c: declare new glyph formats.
+       (x_finalize_image_instance): unmanage and destroy widgets if they
+       exist.
+       (x_unmap_subwindow): handle widgets specially.
+       (x_map_subwindow): ditto. offset display of widgets by offset of
+       text widget within container.
+       (x_update_subwindow): new function. call lw_modify_all_widgets
+       when we are a widget.
+       (x_widget_instantiate): new function for generically creating
+       widgets-glyphs. toolkit specifics forwarded to lwlib.
+       (x_button_instantiate): new function for instantiating
+       widgets-glyph buttons.
+       (console_type_create_glyphs_x): register update_subwindow.
+       (image_instantiator_format_create_glyphs_x): register widget and
+       button types.
+
+       * event-msw.c (mswindows_wnd_proc): remove redundant variable.
+
+       * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
+       when we get a button press in case we do not have the focus.
+       (handle_focus_event_1): set the keyboard focus to the text widget
+       if we do not have it.
+
+       * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
+       functions.
+
+1999-06-24  SL Baur  <steve@miho.m17n.org>
+
+       * syntax.c (scan_words): Restore non-Mule code.
+       (word_constituent_p): Restore.
+
+1999-06-23  Olivier Galibert  <galibert@pobox.com>
+
+       * config.h.in: Add missing #undef *_USER_DEFINED.
+
+1999-06-23  SL Baur  <steve@miho.m17n.org>
+
+       * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
+       int (fixes a 64-bit problem).
+
+       * chartab.c (word_boundary_p): Use EQ not == for lisp_object
+       comparison.
+
+1999-03-23  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
+
+       * paths.h.in (PATH_DOC): Made doc-directory configurable.
+
+1999-06-22  Olivier Galibert  <galibert@pobox.com>
+
+       * lrecord.h: Added basic external description system.
+
+       * symbols.c: Added symbol, symbol-value-buffer-local,
+       symbol-value-lisp-magic and symbol-value-varalias description.
+       * mule-charset.c: Added charset description.
+       * marker.c: Added marker description.
+       * keymap.c: Added keymap description.
+       * glyphs.c: Added glyph description.
+       * floatfns.c: Added float description.
+       * file-coding.c: Added coding-system description.
+       * extents.c: Added extent description.
+       * elhash.c: Added hash-table description.
+       * data.c: Added weak-list desciption.
+       * chartab.c: Added char-table-entry and char-table description.
+       * bytecode.c: Added compiled-function description.
+       * alloc.c: Added cons, vector and string description.
+
+1999-06-22  Olivier Galibert  <galibert@pobox.com>
+
+       * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
+       Updated everything to the removal of the "flags" substructure.
+
+       * lisp.h (subr_lheader_initializer): Updated.
+       * symeval.h (symbol_value_forward_lheader_initializer): Updated.
+
+1999-06-20  MORIOKA Tomohiko  <tomo@etl.go.jp>
+
+       * syntax.c (word_constituent_p): Deleted.
+       (scan_words): Use `WORD_BOUNDARY_P'.
+
+       * chartab.c (Vword_combining_categories): New variable.
+       (Vword_separating_categories): Likewise.
+       (CATEGORYP): New macro.
+       (CATEGORY_SET): Likewise.
+       (CATEGORY_MEMBER): Likewise.
+       (word_boundary_p): New function.
+       (complex_vars_of_chartab): Set up new variable
+       `word-combining-categories' and `word-separating-categories'.
+
+1999-06-18  Olivier Galibert  <galibert@pobox.com>
+
+       * lrecord.h: Added description as a placehold in the lrecord
+       implementation structures.  Added the parameter to all constructor
+       defines.
+
+       * alloc.c: Added placeholders.
+       * buffer.c: Ditto.
+       * bytecode.c: Ditto.
+       * chartab.c: Ditto.
+       * console.c: Ditto.
+       * data.c: Ditto.
+       * database.c: Ditto.
+       * device.c: Ditto.
+       * eldap.c: Ditto.
+       * elhash.c: Ditto.
+       * eval.c: Ditto.
+       * event-stream.c: Ditto.
+       * events.c: Ditto.
+       * extents.c: Ditto.
+       * faces.c: Ditto.
+       * file-coding.c: Ditto.
+       * floatfns.c: Ditto.
+       * fns.c: Ditto.
+       * frame.c: Ditto.
+       * glyphs.c: Ditto.
+       * gui-x.c: Ditto.
+       * keymap.c: Ditto.
+       * lstream.c: Ditto.
+       * marker.c: Ditto.
+       * mule-charset.c: Ditto.
+       * objects.c: Ditto.
+       * opaque.c: Ditto.
+       * process.c: Ditto.
+       * rangetab.c: Ditto.
+       * specifier.c: Ditto.
+       * symbols.c: Ditto.
+       * toolbar.c: Ditto.
+       * tooltalk.c: Ditto.
+       * window.c: Ditto.
+
+1999-06-22  XEmacs Build Bot <builds@cvs.xemacs.org>
+
+       * XEmacs 21.2.17 is released
+
+1999-06-13  Oscar Figueiredo  <oscar@xemacs.org>
+
+       * config.h.in (HAVE_LDAP_SET_OPTION): New define
+       (HAVE_LDAP_GET_LDERRNO): Ditto
+       (HAVE_LDAP_RESULT2ERROR): Ditto
+       (HAVE_LDAP_PARSE_RESULT): Ditto
+       (HAVE_UMICH_LDAP): Removed
+       (HAVE_NS_LDAP): Removed
+
+       * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
+       suggested by Olivier Galibert
+       (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
+
+       * eldap.c: Take the removal of `livep' into account in all the
+       necessary functions
+       (signal_ldap_error): Take two additional parameters
+       Added new finer compilation conditions in order to use
+       ldap_parse_result or ldap_result2error if available
+       (Fldap_open): Conform to this new API
+       (Fldap_search_internal): Ditto
+
+1999-06-17  SL Baur  <steve@miho.m17n.org>
+
+       * data.c (struct int_or_double): Should use EMACS_INT not int.
+
+1999-06-16  Norbert Koch  <n.koch@eai-delta.de>
+
+       * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
+       redisplay-x.c
+
+1999-06-12  MORIOKA Tomohiko  <tomo@etl.go.jp>
+
+       * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
+       `CCL_MODE_ENCODING'.
+
+       * file-coding.c (mule_decode): Run `ccl_driver' with
+       `CCL_MODE_DECODING'.
+       (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
+
+       * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
+       (ccl_driver): Add new argument `conversion_mode'.
+       (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
+       (Fccl_execute_on_string): Likewise [perhaps it is better to add
+       new optional argument].
+
+       * mule-ccl.h (CCL_MODE_ENCODING): New macro.
+       (CCL_MODE_DECODING): New macro.
+       (ccl_driver): Add new argument `conversion_mode'.
+
+1999-06-15  SL Baur  <steve@miho.m17n.org>
+
+       * mule-charset.c (Fsplit_char): New subr.
+       (Fchar_octet): delete.
+       (syms_of_mule_charset): DEFSUBR it.
+
+1999-06-13  Andy Piper  <andy@xemacs.org>
+
+       * menubar.h: update declarations involving gui_items.
+
+       * lisp.h: declare Lisp_Gui_Item.
+
+       * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
+
+       * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
+       (print_image_instance): ditto.
+       (image_instance_equal): ditto.
+       (image_instance_hash): ditto.
+
+       * event-msw.c (mswindows_need_event): assert badly_p status.
+       (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
+       callbacks in tree-view and tab-control widgets.
+       (emacs_mswindows_next_event): modify use of
+       mswindows_dequeue_dispatch_event.
+
+       * dialog-msw.c (mswindows_popup_dialog_box): modify for new
+       lisp-based gui_items.
+
+       * glyphs-msw.c (mswindows_update_subwindow): update use of
+       gui_items.
+       (mswindows_register_gui_item): new function.
+       (mswindows_register_gui_item): fix to use lisp gui_items.
+       (mswindows_widget_instantiate): ditto.
+       (mswindows_button_instantiate): ditto.
+       (add_tree_item): new function to recursively add tree view
+       elements.
+       (add_tree_item_list): ditto.
+       (mswindows_tree_instantiate): new function. instantiate tree view
+       controls.
+       (add_tab_item): new function to add tabs to a tab control.
+       (mswindows_tab_instantiate): new function. instantiate tab
+       controls.
+       (image_instantiator_format_create_glyphs_mswindows): add tree view
+       and tab controls.
+       (vars_of_glyphs_mswindows): ditto.
+
+       * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
+       item lists.
+       (check_valid_item_list): ditto.
+       (initialize_widget_image_instance): fix to use new lisp gui_item.
+       (widget_instantiate_1): allow the setting of default textwidth in
+       characters.
+       (widget_instantiate): change to use new widget_instantiate_1
+       signature.
+       (combo_instantiate): ditto.
+       (static_instantiate): ditto.
+       (tab_instantiate): new function for tab widgets.
+       (image_instantiator_format_create_glyphs_widget): add tab and tree
+       view widgets.
+
+       * menubar-msw.c (displayable_menu_item): convert to use lisp
+       gui_items.
+       (populate_menu_add_item): ditto.
+       (populate_or_checksum_helper): ditto.
+
+       * menubar.c (menu_parse_submenu_keywords): convert to use lisp
+       gui_items.
+       (Fmenu_find_real_submenu): ditto.
+
+       * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
+
+       * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
+       objects, convert functions that use them accordingly.
+       (gui_item_init): ditto.
+       (gui_item_active_p): ditto.
+       (gui_item_selected_p): ditto.
+       (gui_item_included_p): ditto.
+       (gui_item_display_flush_left): ditto.
+       (gui_item_display_flush_right): ditto.
+       (mark_gui_item): ditto.
+       (allocate_gui_item): new function to create a gui_item.
+       (make_gui_item_from_keywords_internal): ditto. create and return a
+       gui_item as well as setting keywords.
+       (gui_parse_item_keywords): ditto.
+       (gui_parse_item_keywords_no_errors): ditto.
+       (gui_add_item_keywords_to_plist): new function, not yet used.
+       (gui_item_hash): new function.
+       (gui_item_id_hash): use gui_item_hash.
+       (gui_item_equal): new function.
+       (print_gui_item): new function.
+
 1999-06-11  XEmacs Build Bot <builds@cvs.xemacs.org>
 
        * XEmacs 21.2.16 is released
 
        * file-coding.h (Qraw_text): New variable.
 
-1999-05-20  MORIOKA Tomohiko  <tomo@etl.go.jp>
-
-       * mule-charset.c (complex_vars_of_mule_charset): Registry of
-       japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
-       "jisc6226.1983".
-
 1999-06-08  SL Baur  <steve@xemacs.org>
 
        * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
        ARG2.
 
 1999-05-21  Andy Piper  <andy@xemacs.org>
-       
+
        * xselect.c: deleted.
-       
+
        * symsinit.h: declare select initialisation.
 
        * select.h: new file. declare commonly used select functions and
        is interned in the main obarray.
 
 1999-04-23  Gunnar Evermann  <ge204@eng.cam.ac.uk>
-        
+
        * menubar-x.c (pre_activate_callback): set accelerator field in
        "No menu" entries to nil. Avoid crash in
        command_builder_operate_menu_accelerator
        * m/intel386.h: remove redundant definitions.
 
        * s/mingw32.h: new header for mingw32.
-       
+
        * unexnt.c: (open_input_file): function moved to nt.c.
        (close_file_data): ditto.
        (rva_to_section): function moved to ntproc.
 
        * symsinit.h: declare syms_of_ntproc();
-       
+
        * objects-msw.c (mswindows_font_instance_truename): new function.
 
        * ntproc.c: remove many warnings.
        (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
 
        * ntheap.h: remove declarations of functions that are now static.
-       
+
        * ntheap.c: support static heap.
 
        * nt.h: conditionalise X_OK definition.
        (_sys_read_ahead): moved to ntproc.c
 
        * emacs.c: make sure syms_of_ntptroc gets called under windows.
-       
+
        * console-msw.h: support mingw32.
        * getloadavg.c: ditto.
        * ntplay.c: ditto.
 
        * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
        some systems don't have all of the encapsulated system calls.
-       
+
        * callproc.c: warning elimination.
        * dired-msw.c: ditto.
        * process-nt.c: ditto.
        * realpath.c: ditto.
-       
+
        * Makefile.in.in: tweak : and ; for building under mswindows.
-       
+
 1999-04-26  Michael Harnois  <mharnois@willinet.net>
 
        * eldap.c (allocate_ldap): Adapt to the new semantics of
        * symbols.c: Make gung-ho mandatory.  make_pure_pname ->
                  make_string or make_string_nocopy.  Fix various
                  alloc_lcrecord_type.
-       
+
        * lread.c: Remove everything purespace related.
        (Flocate_file_clear_hashing): purified -> c_readonly.
        (locate_file): Ditto.
 
        * fns.c (base64_decode_1): Remove COUNTER.
        (base64_decode_1): Accept CRLF in addition to CR.
-       (base64_decode_1): Disallow a stray character after final EOF; the 
+       (base64_decode_1): Disallow a stray character after final EOF; the
        check was probably a remnant of buggy recode code.
 
 1998-12-05  Hrvoje Niksic  <hniksic@srce.hr>
        (composite_char_string):
        (make-composite-char):
        (composite-char-string):
-       (syms_of_mule_charset): 
-       (complex_vars_of_mule_charset): 
+       (syms_of_mule_charset):
+       (complex_vars_of_mule_charset):
        * mule-charset.h (LEADING_BYTE_COMPOSITE):
        (CHAR_LEADING_BYTE):
        (MAKE_CHAR):
        (reset_iso2022):
        (parse_iso2022_esc):
        (encode_coding_iso2022):
-       #ifdef out all composite character support using 
-       #ifdef ENABLE_COMPOSITE_CHARS 
+       #ifdef out all composite character support using
+       #ifdef ENABLE_COMPOSITE_CHARS
 
        * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
 
@@ -5126,4 +5579,3 @@ Wed May 27, 1998  Darryl Okahata  <darrylo@sr.hp.com>
 1998-05-10  Hrvoje Niksic  <hniksic@srce.hr>
 
        * frame.c (Ffocus_frame): New function.
-