-1999-07-05 Didier Verna <verna@inf.enst.fr>
+2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * indent.c: new symbol Qcoerce.
- (Fmove_to_column): use it + doc string update.
+ * chartab.c (Vchise_system_db_directory): New variable.
+ (vars_of_chartab): Add new variable `chise-system-db-directory'.
-1999-07-04 Andy Piper <andy@xemacs.org>
+2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * console.c: undo earlier Fprovide changes.
- * fns.c: ditto.
- * console.h: ditto.
+ * chartab.c: EXFUN `Fmount_char_attribute_table'.
+ (print_chartab_range): Don't define when `UTF2000' is defined.
+ (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
+ `CHISE_DS_open'.
- * console-tty.c (image_instantiator_format_create_glyphs_tty): new
- function. validate appropriate image formats for tty.
+2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * 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.
+ * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
+ and optional argument `rehash' is specified, call
+ `open_chise_data_source_maybe' before
+ `chise_ds_foreach_char_feature_name' is called.
- * 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.
+2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * symsinit.h: add image_instantiator_format_create_glyphs_tty()
- declaration.
+ * chartab.c (char_attribute_list_reset_map_func): New function
+ when HAVE_LIBCHISE is defined.
+ (Fchar_attribute_list): Add new optional argument `rehash' when
+ HAVE_LIBCHISE is defined.
+ (open_chise_data_source_maybe): Use "chise-db" instead of
+ "char-db".
+ (char_attribute_system_db_file): Likewise.
+ (Fload_char_attribute_table): Use
+ `chise_feature_foreach_char_with_value' instead of
+ `chise_char_feature_value_iterate'.
- * emacs.c (main_1): add call to
- image_instantiator_format_create_glyphs_tty().
+2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
-1999-06-29 Olivier Galibert <galibert@pobox.com>
+ * chartab.c (Vchise_db_directory): New variable.
+ (vars_of_chartab): Add new built-in variable `chise-db-directory'.
- * lisp.h: Add #include <stddef.h>.
+2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * 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
+ * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
+ instead of HAVE_CHISE to specify using with libchise.
-1999-06-30 SL Baur <steve@miho.m17n.org>
+ * config.h.in (HAVE_CHISE_CLIENT): Deleted.
- * editfns.c: Document "%s" format spec.
- Suggested by Bob Weiner <weiner@altrasoft.com>
+ * chartab.h: Don't use HAVE_CHISE_CLIENT.
-1999-06-29 Andy Piper <andy@xemacs.org>
+ * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
+ defined or HAVE_LIBCHISE_LIBCHISE is defined.
+ (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
+ is defined.
+ (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
+ HAVE_CHISE to specify using with libchise.
+ (syms_of_chartab): Don't define symbol `system-char-id' when
+ HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
- * event-msw.c: fix definition booboo.
+2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
-1999-06-28 Andy Piper <andy@xemacs.org>
+ * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
+ specify CHISE DB support.
+ (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
+ of `char_attribute_system_db_file' to check feature DB file.
- * 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.
+ * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
+ HAVE_CHISE_CLIENT to specify CHISE DB support.
- * glyphs-msw.c: ditto.
- (complex_vars_of_glyphs_mswindows): ditto.
+ * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
+ specify CHISE DB support.
+ (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
+ not defined.
+ (Freset_char_attribute_table): Use `chise_feature_setup_db'
+ instead of `char_attribute_system_db_file' to check feature DB
+ file.
- * lisp.h: add Fprovide_on_console.
+2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * 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.
+ * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
+ `HAVE_CHISE_CLIENT'.
- * console.c (Fconsole_features): new function. return features for
- this console.
- (syms_of_console): add Fconsole_features.
+2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * console.h (CONMETH_FEATURES): new function for accessing features.
- (CONSOLE_FEATURES): ditto.
- (struct console_methods): add features slot.
- (INITIALIZE_CONSOLE_TYPE): initialize features slot.
+ * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
+ (Fsave_charset_mapping_table): Don't use
+ `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
-1999-06-28 Andy Piper <andy@xemacs.org>
+ * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
+ (HAVE_LIBCHISE): New macro.
- * event-Xt.c (handle_focus_event_1): conditionally compile for
- X11R5.
+ * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
- * s/cygwin32.h: fix me website address.
+ * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
+ (Fsave_char_attribute_table): Don't use
+ `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
- * event-msw.c: add NMHDR for pre b20 cygwin builds.
+2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * gui-x.c (button_item_to_widget_value): only add callback if it
- is non-nil.
+ * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
+ defined.
+ (save_uint16_byte_table): Likewise.
+ (save_byte_table): Likewise.
+ (char_table_get_db): Use `chise_ds_load_char_feature_value'
+ instead of `chise_char_load_feature_value'.
+ (Fsave_char_attribute_table): Use libchise when CHISE is defined.
- * 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.
+2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
+ * chartab.h (struct Lisp_Char_Table): Delete member
+ `feature_table' if CHISE is defined.
- * console.h (CONSOLE_FEATURES): new features accesor.
+ * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
+ (Fcopy_char_table): Likewise.
+ (char_table_open_db_maybe): Likewise.
+ (char_table_close_db_maybe): Likewise.
+ (char_table_get_db): Likewise.
+ (Fmount_char_attribute_table): Likewise.
+ (Fload_char_attribute_table): Likewise.
- * conslots.h (MARKED_SLOT): add features entry.
+2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
-1999-06-25 Andy Piper <andy@xemacs.org>
+ * mule-charset.c (load_char_decoding_entry_maybe): Use
+ `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
+ `chise_ccs_decode'.
- * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
- gui functions.
+2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
+ * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
+ instead of `chise_open_data_source'.
+ (Fclose_char_data_source): Use `CHISE_DS_close' instead of
+ `chise_ds_close'.
- * gui.h (struct Lisp_Gui_Item): add accelerator.
+2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * 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
+ * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
+ instead of `chise_ds_open_feature_table'.
+ (char_table_close_db_maybe): Don't use `chise_ft_close'.
- * 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.
+2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * 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>
+ * mule-charset.c (Fsave_charset_mapping_table): Use
+ `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
+ `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
+ `chise_ccs_sync' instead of `chise_ccst_close'.
+ (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
+
+ * chartab.c (open_chise_data_source_maybe): Modify for
+ `chise_open_data_source'.
+ (char_table_open_db_maybe): Modify for
+ `chise_ds_open_feature_table'.
+
+2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * mule-charset.c (load_char_decoding_entry_maybe): Use
+ `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
+ `chise_ccst_close'.
+
+2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * mule-charset.c (Fsave_charset_mapping_table): Use
+ `chise_ds_open_ccs_table', `chise_ccst_put_char' and
+ `chise_ccst_close' instead of `chise_ds_open_decoding_table',
+ `chise_dt_put_char' and `chise_dt_close'.
+ (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
+ `chise_ccs_decode' and `chise_ccst_close' instead of
+ `chise_ds_open_decoding_table', `chise_dt_get_char' and
+ `chise_dt_close'.
+
+ * chartab.c (char_table_get_db): Use
+ `chise_char_load_feature_value' instead of `chise_ft_get_value'.
+ (load_char_attribute_table_map_func): Modify for
+ `chise_char_feature_value_iterate'.
+ (Fload_char_attribute_table): Use
+ `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
+
+2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
+
+2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * chartab.c (put_char_table): Modify for inherited coded-charsets
+ in XEmacs CHISE.
+
+2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * chartab.c (Fput_char_table_map_function): Fixed.
+ (word_boundary_p): Don't check charset in XEmacs CHISE.
+
+2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * mule-charset.c (Fsave_charset_mapping_table): Use
+ `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
+ instead of `chise_open_decoding_table'; refer
+ `default_chise_data_source'; use `chise_dt_close' instead of
+ `chise_close_decoding_table'.
+ (load_char_decoding_entry_maybe): Likewise.
+
+ * chartab.c (default_chise_data_source): New variable when `CHISE'
+ is defined.
+ (Fcopy_char_table): `ct->ds' is deleted.
+ (open_chise_data_source_maybe): New function.
+ (Fclose_char_data_source): New function.
+ (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
+ use `chise_ds_open_feature_table' instead of
+ `chise_open_feature_table'.
+ (char_table_close_db_maybe): Use `chise_ft_close' instead of
+ `chise_close_feature_table'; `cit->ds' is deleted.
+ (syms_of_chartab): Add new builtin function
+ `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
+
+ * chartab.h (default_chise_data_source): New extern variable.
+ (open_chise_data_source_maybe): New prototype.
+ (struct Lisp_Char_Table): Delete `ds'.
+
+2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
+ `CHISE' is defined.
+
+2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
+ not defined; add code for non-libchise setting.
+ (char_table_close_db_maybe): Likewise.
+ (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
+ defined.
+ (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
+ even if `CHISE' is not defined.
+ (Freset_char_attribute_table): Likewise.
+ (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
+ `char_table_close_db_maybe' even if `CHISE' is not defined; use
+ `char_table_get_db'.
+ (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
+ `char_table_close_db_maybe' even if `CHISE' is not defined.
+
+2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * chartab.c (char_table_open_db_maybe): New function.
+ (char_table_close_db_maybe): New function.
+ (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
+ (Freset_char_attribute_table): Likewise.
+ (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
+ `char_table_close_db_maybe'.
+ (Fload_char_attribute_table): Likewise.
+
+2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * chartab.c: Don't include <chise.h> because it is included in
+ chartab.h.
+ (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
+ defined.
+ (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
+ `CHISE' is defined.
+ (Fmount_char_attribute_table): Initialize `ct->feature_table' when
+ `CHISE' is defined.
+ (Fclose_char_attribute_table): Close `ct->feature_table' and
+ `ct->ds' when `CHISE' is defined.
+ (Freset_char_attribute_table): Likewise.
+ (load_char_attribute_maybe): Use `cit->ds' and
+ `cit->feature_table' when `CHISE' is defined.
+ (Fload_char_attribute_table): Likewise.
+
+ * chartab.h: Include <chise.h> when `CHISE' is defined.
+ (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
+ when `CHISE' is defined.
+
+2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
+ is defined.
+ (char_table_description): Likewise.
+ (Fmake_char_table): Likewise.
+ (Fcopy_char_table): Likewise.
+ (Fmount_char_attribute_table): Likewise.
+ (Fclose_char_attribute_table): Likewise.
+ (Freset_char_attribute_table): Likewise.
+ (load_char_attribute_maybe): Likewise.
+ (Fload_char_attribute_table): Likewise.
+
+ * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
+ defined.
+
+2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * chartab.c (load_char_attribute_table_map_func): New function
+ when CHISE is defined.
+ (Qload_char_attribute_table_map_function): Don't define when CHISE
+ is defined.
+ (Fload_char_attribute_table_map_function): Likewise.
+ (Fload_char_attribute_table): Use libchise when `CHISE' is
+ defined.
+ (syms_of_chartab): Don't define
+ `load-char-attribute-table-map-function' when CHISE is defined.
+
+2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * chartab.c: Include <chise.h> when `CHISE' is defined.
+ (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
+
+2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (charset_code_point): Fix problem when searching
+ in mother CCS fails with `defined_only' mode.
+
+2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
+ (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
+ (put_char_composition): Likewise.
+ (Fput_char_attribute): Likewise.
+ (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
+
+2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * chartab.c (Q_ucs): Deleted.
+ (Fput_char_attribute): Don't refer `->ucs'.
+ (Fdefine_char): Likewise.
+ (Ffind_char): Likewise.
+ (syms_of_chartab): Delete `->ucs'.
+
+2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * mule-charset.c (Qmap_cns11643_2): Renamed from
+ `Qchinese_cns11643_2'.
+ (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
+ `chinese-cns11643-2'.
+ (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
+ `=cns11643-2'.
+
+2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * mule-charset.c (Qmap_cns11643_1): Renamed from
+ `Qchinese_cns11643_1'.
+ (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
+ `chinese-cns11643-1'.
+ (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
+ `=cns11643-1'.
+
+2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
+ (syms_of_mule_charset): Add new symbol `=gb12345' instead of
+ `chinese-gb12345'.
+ (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
+ `=gb12345'.
- * 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.
+2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
+ (syms_of_mule_charset): Add new symbol `=gb2312' instead of
+ `chinese-gb2312'.
+ (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
+ `=gb2312'.
- * 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.
+2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * dialog-msw.c (mswindows_popup_dialog_box): modify for new
- lisp-based gui_items.
+ * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
+ (syms_of_mule_charset): Add new symbol `=big5' instead of
+ `chinese-big5'.
+ (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
- * 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.
+2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
-1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
+ * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
+ (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
+ `korean-ksc5601'.
+ (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
+ `=ks-x1001'.
- * XEmacs 21.2.16 is released
+2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
-1999-06-10 Andy Piper <andy@xemacs.org>
+ * mule-charset.c (Qmap_jis_x0212): Renamed from
+ `Qjapanese_jisx0212'.
+ (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
+ `japanese-jisx0212'.
+ (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
+ `=jis-x0212'.
- * select-msw.c (mswindows_own_selection): only set the clipboard
- if asked.
- (mswindows_get_foreign_selection): only get the clipboard if
- asked.
- (mswindows_disown_selection): only disown the clipboard if asked.
+2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
-1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
+ * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
+ `Qjapanese_jisx0208'.
+ (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
+ of `japanese-jisx0208'.
+ (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
+ `=jis-x0208-1983'.
- * file-coding.c (coding_system_from_mask): Use `raw-text' instead
- of `no-conversion'.
- (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
- of coding-category `no-conversion'.
+2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
-1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
+ * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
+ `Qjapanese_jisx0208_1978'.
+ (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
+ of `japanese-jisx0208-1978'.
+ (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
+ `=jis-x0208-1978'.
- * file-coding.c (Qraw_text): New variable.
- (syms_of_mule_coding): Add new symbol `raw-text'.
- (complex_vars_of_mule_coding): Add new coding-system `raw-text';
- define coding-system `binary' independently; define coding-system
- `no-conversion' as an alias for `raw-text'.
+2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * file-coding.h (Qraw_text): New variable.
+ * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
+ only for XEmacs CHISE.
-1999-06-08 SL Baur <steve@xemacs.org>
+2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
+ * char-ucs.h: Compact non-ISO-IR charset-ids.
+ (LEADING_BYTE_UCS): Changed to -177.
+ (LEADING_BYTE_CONTROL_1): Changed to -77.
+ (LEADING_BYTE_UCS_BMP): Changed to -176.
+ (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
-1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
+2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
- base64.el.
- (base64_decode_1): Signal errors instead of returning -1.
+ * mule-charset.c (Qiso_ir): New variable.
+ (Fmake_charset): Recognise new property `iso-ir'.
+ (syms_of_mule_charset): Add new symbol `iso-ir'.
-1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
+2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * mule-charset.c (Fmake_char): Update docstring.
+ * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
+ n to -n; charset-id of non ISO-IR sets are changed to positive
+ numbers.
-1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
+2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
+ * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
+ for &MCS-XXXXXXXX; values.
-1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
+2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * fns.c (base64_decode_1): Allow and ignore any non-base64
- characters in input.
+ * mule.c (Vxemacs_chise_version): Renamed from
+ `Vutf_2000_version'.
+ (vars_of_mule): Add new variable `xemacs-chise-version'; define
+ `utf-2000-version' as an alias for `xemacs-chise-version'.
-1999-05-27 Olivier Galibert <galibert@pobox.com>
+2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
- of report_pure_usage().
+ * mule-charset.c: Include <chise.h> when `CHISE' is defined.
+ (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
+ defined.
-1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
+ * config.h.in (CHISE): New macro.
- * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
+2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
-1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
+ * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
+ of `ucs'.
+ (Qmap_ucs): New variable.
+ (syms_of_mule_charset): Add new symbol `=ucs'.
+ (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
- * XEmacs 21.2.15 is released
+ * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
+ (simplify_char_spec): Likewise.
-1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
+ * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
- * frame.c (Fset_mouse_position):
- (Fset_mouse_pixel_position):
- * window.c (Fsplit_window):
- (Fmove_to_window_line):
- Fix crash when invoking functions with an already-deleted window
- argument.
+ * char-ucs.h (Qmap_ucs): New extern variable.
- * indent.c (vertical_motion_1):
- (vmotion_pixels):
- (Fvertical_motion_pixels):
- * window.c (Fwindow_displayed_text_pixel_height):
- Fix error message when invoking functions with an already-deleted
- window argument.
+2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
-1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
+ * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
+ (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
+ don't define it when UTF2000 is not defined.
+ (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
+ `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
+ when UTF2000 is not defined.
+ (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
+ rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
- * sysdep.c (request_sigio_on_device): Guard against glibc
- 2.1's stub streams implementation.
+2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
-1999-06-03 SL Baur <steve@xemacs.org>
+ * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
- * config.h.in:
- * emacs.c: Implement x.y.z version numbers
- From Jan Vroonhof <vroonhof@math.ethz.ch>
+ * mule-charset.c (Vcharset_ucs_gb): Deleted.
+ (Qucs_gb): Deleted.
+ (syms_of_mule_charset): Delete `ucs-gb'.
+ (complex_vars_of_mule_charset): Likewise.
-1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
+2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * mule-charset.c (complex_vars_of_mule_charset): Registry of
- japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
- "jisc6226.1983".
+ * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
-1999-06-03 SL Baur <steve@xemacs.org>
+ * mule-charset.c (Vcharset_ucs_cns): Deleted.
+ (Qucs_cns): Deleted.
+ (syms_of_mule_charset): Delete `ucs-cns'.
+ (complex_vars_of_mule_charset): Likewise.
- * frame-x.c:
- * device-x.c: rename session option to wmcommand.
- From Oliver Graf <ograf@rhein-zeitung.de>
+2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
-1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
+ * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
- * fns.c (Fsubstring): Don't traverse the same region twice with
- charcount_to_bytecount().
+ * mule-charset.c (Vcharset_ucs_jis): Deleted.
+ (Qucs_jis): Deleted.
+ (syms_of_mule_charset): Delete `ucs-jis'.
+ (complex_vars_of_mule_charset): Likewise.
-1999-06-03 SL Baur <steve@steve1.m17n.org>
+2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
- garbage.
+ * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
- * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
- doesn't really work as is implied by the commentary).
- Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
+ * mule-charset.c (Vcharset_ucs_ks): Deleted.
+ (Qucs_ks): Deleted.
+ (syms_of_mule_charset): Delete `ucs-ks'.
+ (complex_vars_of_mule_charset): Likewise.
-1999-06-02 SL Baur <steve@steve1.m17n.org>
+2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * symsinit.h: Declare vars_of_ntproc.
- * emacs.c (main_1): Call it.
+ * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
+ (Qideograph_daikanwa_2): Deleted.
+ (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
+ (complex_vars_of_mule_charset): Likewise.
- * ntproc.c (syms_of_ntproc): Move variable initializations from
- here ...
- (vars_of_ntproc): ... to here [new function].
+ * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
+ (LEADING_BYTE_DAIKANWA_1): Deleted.
+ (LEADING_BYTE_DAIKANWA_2): Deleted.
+ (MIN_CHAR_DAIKANWA): Deleted.
+ (MAX_CHAR_DAIKANWA): Deleted.
- * file-coding.c (syms_of_file_coding): Rename.
- (vars_of_file_coding): Ditto.
- (complex_vars_of_file_coding): Ditto.
+2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * symsinit.h: Rename *_mule_coding to *_file_coding.
+ * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
+ (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
+ ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
- * emacs.c (main_1): Call them by the proper name.
+ * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
+ (Vcharset_ideograph_daikanwa): Deleted.
+ (Qideograph_hanziku_{1..12}): Deleted.
+ (Qideograph_daikanwa): Deleted.
+ (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
+ Vcharset_ideograph_daikanwa.
+ (syms_of_mule_charset): Delete `ideograph-daikanwa' and
+ `ideograph-hanziku-{1..12}'.
+ (complex_vars_of_mule_charset): Likewise.
- * device-msw.c (syms_of_device_mswindows): Move variable
- initializations from here ...
- (vars_of_device_mswindows): ... to here.
+2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * chartab.c (vars_of_chartab): New function.
+ * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
- * symsinit.h: New function, vars_of_chartab.
+ * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
+ (Qideograph_gt_pj_{1..11}): Deleted.
+ (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
+ (complex_vars_of_mule_charset): Likewise.
- * emacs.c (main_1): Call it.
+2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
- (vars_of_mule_canna): ... to here.
+ * mule-charset.c (Vcharset_ucs_big5): Deleted.
+ (Vcharset_ideograph_gt): Deleted.
+ (Qucs_big5): Deleted.
+ (Qideograph_gt): Deleted.
+ (syms_of_mule_charset): Delete symbol `ucs-big5' and
+ `ideograph-gt'.
+ (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
+ and `ideograph-gt'.
- * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
- initializations out of syms_of_mule_ccl.
+ * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
+ (LEADING_BYTE_GT): Deleted.
+ (MIN_CHAR_GT): Deleted.
+ (MAX_CHAR_GT): Deleted.
- * symsinit.h: Declare new function vars_of_mule_ccl.
+2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * emacs.c (main_1): Call it.
+ * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
-1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
+2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * fns.c (base64_decode_1): Ignore whitespace.
+ * chartab.c (save_uint8_byte_table): Add new argument `filter'.
+ (save_uint16_byte_table): Likewise.
+ (save_byte_table): Likewise; convert values by it.
+ (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
+ for `ideographic-structure'.
+ (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
+ as the filter for `ideographic-structure'.
-1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
+2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
- ARG2.
+ * chartab.c (put_char_composition): New function.
+ (Fput_char_attribute): Use `put_char_composition'; use
+ `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
-1999-05-21 Andy Piper <andy@xemacs.org>
+ * fns.c (simplify_char_spec): New function.
+ (char_ref_simplify_spec): New function.
+ (Fchar_refs_simplify_char_specs): New function.
+ (syms_of_fns): Add new builtin function
+ `char-refs-simplify-char-specs'.
- * xselect.c: deleted.
+2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * symsinit.h: declare select initialisation.
+ * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
+ (Qideograph_cbeta): Deleted.
+ (syms_of_mule_charset): Don't define `ideograph-cbeta'.
+ (complex_vars_of_mule_charset): Likewise.
- * select.h: new file. declare commonly used select functions and
- variables.
+ * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
+ (MIN_CHAR_CBETA): Comment out.
+ (MAX_CHAR_CBETA): Likewise.
- * select.c: new file. generalised from xselect.c.
- (clean_local_selection_data): moved from xselect.c.
- (get_local_selection): ditto. device specific pieces called via a
- devmeth.
- (handle_selection_clear): ditto.
- (Fown_selection_internal): renamed and generalised from
- Fx_own_selection_internal. moved from xselect.c.
- (Fdisown_selection_internal): ditto.
- (Fselection_owner_p): ditto.
- (Fselection_exists_p): ditto.
- (Fget_selection_internal): ditto.
- (syms_of_select): new function. QXXXX values moved from xselect.c
- (vars_of_select): new function. selection_converter_alist,
- lost_selection_hooks moved and renamed from xselect.c
+2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * select-x.c: renamed from xselect.c.
- (x_own_selection): converted to device specific. non-X-specific
- bits moved to select.c.
- (x_get_foreign_selection): ditto.
- (x_disown_selection): ditto.
- (x_selection_exists_p): ditto.
- (console_type_create_select_x): new function.
+ * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
+ `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
+ CHISE client feature.
- * select-msw.c (mswindows_own_selection): new device method to set
- the clipboard when we 'own' the selection.
- (mswindows_get_foreign_selection): new device method to get the
- clipboard.
- (mswindows_disown_selection): new device method to delete the
- selection when we 'disown' it.
- (console_type_create_select_mswindows): new function.
+2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * emacs.c (main_1): add select to things to initialise.
+ * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
- * console.h (struct console_methods): new console methods for
- selection.
+2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
+ * mule-charset.c (charset_lookup_description_1): Use
+ `NUM_LEADING_BYTES' in UTF-2000.
-1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
+2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * print.c (long_to_string): Install a faster version.
+ * char-ucs.h (GC_CHARSETP): Deleted.
-1999-05-16 Andy Piper <andy@xemacs.org>
+2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * ntproc.c (syms_of_ntproc): default
- win32-start-process-share-console to t.
+ * char-ucs.h (MAX_CHAR_GT): Updated.
-1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
+2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * config.h.in: Do it here.
+ * text-coding.c: Sync with XEmacs 21.4.10.
- * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
+2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
-1999-05-14 Andy Piper <andy@xemacs.org>
+ * mule-charset.c (Vcharset_china3_jef): Deleted.
+ (Qchina3_jef): Deleted.
+ (syms_of_mule_charset): Don't define `china3-jef'.
+ (complex_vars_of_mule_charset): Likewise.
- * toolbar-msw.c (mswindows_output_toolbar): hash on something
- hashable.
+ * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
+ (MIN_CHAR_CHINA3_JEF): Comment out.
+ (MAX_CHAR_CHINA3_JEF): Comment out.
-1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
+2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * XEmacs 21.2.14 is released
+ * mule-charset.c (Vcharset_ucs_gb): New variable.
+ (Qucs_gb): New variable.
+ (syms_of_mule_charset): Add new symbol `ucs-gb'.
+ (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
-1999-05-12 Andy Piper <andy@xemacs.org>
+ * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
- * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
+2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
-1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
+ * mule-charset.c (charset_code_point): if a coded-charset has a
+ final-byte, don't inherit the builtin range of the mother CCS.
- * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
- run_temacs_argv array -- fixes random memory corruption crash
+2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
-1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
+ * mule-charset.c (charset_code_point): Fix problem about
+ inheritance.
- * window.c (Fcurrent_window_configuration):
- Save minibuffer height;
+2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * mule-charset.c (decode_builtin_char): Reorganized.
+
+2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * text-coding.c (char_encode_as_entity_reference): Modify for
+ `charset_code_point'.
+ (char_encode_shift_jis): Likewise.
+ (char_encode_big5): Likewise.
+ (char_encode_utf8): Likewise.
+ (char_encode_iso2022): Likewise.
+
+ * mule-charset.c (charset_code_point): Add new argument
+ `defined_only'.
+ (Fencode_char): Add new optional argument `defined_only'.
+
+ * chartab.c (put_char_table): Modify for `charset_code_point'.
+
+ * char-ucs.h (charset_code_point): Add new argument
+ `defined_only'.
+ (encode_char_1): Modify for `charset_code_point'.
+
+2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (complex_vars_of_mule_charset): Don't specify
+ `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
+
+2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
+ (Qjis_x0208): Likewise.
+ (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
+ XCHARSET_FINAL(charset).
+ (charset_code_point): Modify condition for final-byte based
+ builtin-chars.
+ (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
+ (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
+ in UTF-2000; specify `=jis-x0208' as the mother of
+ `japanese-jisx0208-1978', `japanese-jisx0208' and
+ `japanese-jisx0208-1990' in UTF-2000.
+
+2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
+
+2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * text-coding.c (decode_coding_utf16): Support UTF-16.
+ (char_encode_utf16): Fixed.
+
+2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * text-coding.c (Qutf16): New variable in MULE.
+ (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
+ (Fcoding_system_type): Add `utf-16' in MULE.
+ (struct detection_state): Add a structure for utf16 in MULE.
+ (detect_coding_type): Setup st->utf16.mask in MULE.
+ (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
+ MULE.
+ (reset_encoding_stream): Use `char_encode_utf16' and
+ `char_finish_utf16' for `CODESYS_UTF16' in MULE.
+ (detect_coding_utf16): New function [incomplete].
+ (decode_coding_utf16): New function [support only UCS-2].
+ (char_encode_utf16): New function.
+ (char_finish_utf16): New function.
+ (syms_of_file_coding): Add new symbol `utf-16'; setup
+ `coding_category_symbol[CODING_CATEGORY_UTF16]'.
+
+ * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
+ UTF-2000.
+ (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
+ (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
- * window.c (set_window_configuration): use it.
+2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
-1999-05-10 Robert Pluim <rpluim@bigfoot.com>
+ * chartab.c (put_char_table): When a charset is specified as a
+ range in UTF-2000, don't support builtin characters.
- * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
+2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
-1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
+ * mule-charset.c (decode_defined_char): Don't refer external
+ database if Qunbound or Qnil are found.
+ (Fsave_charset_mapping_table): Don't define it if
+ HAVE_CHISE_CLIENT is not defined.
+ (Freset_charset_mapping_table): New function.
+ (load_char_decoding_entry_maybe): Store Qnil if a character is not
+ found in external database.
+ (syms_of_mule_charset): Don't define `save-charset-mapping-table'
+ if HAVE_CHISE_CLIENT is not defined; add new builtin function
+ `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
- * redisplay.c (redisplay_window): Do not put data
- in the line start cache if it is not guaranteed to be correct
+2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
-1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
+ * text-coding.c (decode_coding_utf8): Check CCS is specified or
+ not.
- * window.c (struct window_config): Removed frame
- size members.
- (window_config_equal): No longer compare frame sizes.
- (Fset_window_configuration): Resize old top window to fit in the
- current frame directly, no longer use a fake frame resize.
- (Fcurrent_window_configuration): No longer save frame size
+2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
+ Q_lowercase, Q_uppercase in UTF-2000.
+
+ * chartab.c (get_char_table): Add special code for the standard
+ case table to use character attribute `->downcase' and
+ `->uppercase' for case operations in UTF-2000.
+
+ * casetab.c (Qflippedcase): New variable in UTF-2000.
+ (Q_lowercase): Likewise.
+ (Q_uppercase): Likewise.
+ (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
+ and `->uppercase' in UTF-2000.
+ (complex_vars_of_casetab): Assign attribute name `downcase' to
+ downcase and CANON table of Vstandard_case_table in UTF-2000;
+ assign attribute name `flippedcase' to upcase and EQV table of
+ Vstandard_case_table in UTF-2000.
+
+2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * text-coding.c (decode_add_er_char): Support isolated-chars.
+ (char_encode_as_entity_reference): Likewise.
+
+2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * emacs.c (Vutf_2000_lisp_directory): New variable.
+ (Vconfigure_utf_2000_lisp_directory): Likewise.
+ (complex_vars_of_emacs): Add new variable
+ `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
+
+2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * char-ucs.h (DECODE_CHAR): Delete special code for
+ `chinese-big5-1' and `chinese-big5-2'.
+
+ * mule-charset.c (Qbig5_1): New variable in UTF-2000.
+ (Qbig5_2): Likewise.
+ (decode_defined_char): Support CONVERSION_BIG5_1 and
+ CONVERSION_BIG5_2.
+ (decode_builtin_char): Likewise.
+ (charset_code_point): Likewise.
+ (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
+ 'conversion in UTF-2000.
+ (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
+ (complex_vars_of_mule_charset): Define `chinese-big5-1' and
+ `chinese-big5-2' as children of `chinese-big5'.
+
+ * char-ucs.h (CONVERSION_BIG5_1): New macro.
+ (CONVERSION_BIG5_2): New macro.
+
+2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * text-coding.c (char_encode_big5): Support entity-reference.
+
+2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * text-coding.c (char_encode_as_entity_reference): New function.
+ (char_encode_utf8): Use `char_encode_as_entity_reference'.
+
+2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * text-coding.c (decode_coding_big5): Support entity-reference
+ decoding feature.
+
+2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * text-coding.c (allocate_coding_system): Initialize initial
+ charsets for CODESYS_UTF8.
+ (Fmake_coding_system): Accept charset-g0, charset-g1 and
+ charset-g2 for CODESYS_UTF8.
+ (decode_coding_utf8): Use charset-g0.
+ (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
+ to force variants to map to UCS.
+
+2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * text-coding.c (Qutf_8_mcs): New variable.
+ (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
+ (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
+ instead of `utf-8' in UTF-2000.
+
+2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
+ CONVERSION_IDENTICAL, identical conversion is used even if a CCS
+ is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
+ CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
+ CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
+ CONVERSION_96x96x96x96 are introduced.
+ (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
+ CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
+ instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
+
+ * char-ucs.h (CONVERSION_94): New macro.
+ (CONVERSION_96): New macro.
+ (CONVERSION_94x94): New macro.
+ (CONVERSION_96x96): New macro.
+ (CONVERSION_94x94x94): New macro.
+ (CONVERSION_96x96x96): New macro.
+ (CONVERSION_94x94x94x60): New macro.
+ (CONVERSION_94x94x94x94): New macro.
+ (CONVERSION_96x96x96x96): New macro.
+
+2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * chartab.c (Vcharacter_variant_table): Deleted.
+ (Fchar_variants): Use character-attribute `->ucs-variants' instead
+ of `Vcharacter_variant_table'.
+ (Fput_char_attribute): Likewise.
+ (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
+ (complex_vars_of_chartab): Likewise.
+
+2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * lisp.h: Add an EXFUN for `Fchar_ref_p'.
+
+ * fns.c (Qideographic_structure): New variable.
+ (Qkeyword_char): New variable.
+ (ids_format_unit): New function.
+ (Fideographic_structure_to_ids): New function.
+ (syms_of_fns): Add new symbols `ideographic-structure' and
+ `:char'; add new builtin function `ideographic-structure-to-ids'.
+
+ * data.c (Fchar_ref_p): New function.
+ (syms_of_data): Add new builtin function `char-ref-p'.
+
+ * chartab.h: Add an EXFUN for `Ffind_char'.
+
+2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * text-coding.c (Vcharacter_composition_table): Deleted.
+ (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
+ in every UTF-2000.
+
+ * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
+ UTF-2000.
+ (Vcharacter_composition_table): Deleted.
+ (Fget_composite_char): Use the implementation for external-DB
+ support in every UTF-2000.
+ (Fput_char_attribute): Likewise.
+ (char_attribute_system_db_file): Don't define if external-DB
+ feature is not available.
+ (Fsave_char_attribute_table): Likewise.
+ (Fmount_char_attribute_table): Likewise.
+ (Fclose_char_attribute_table): Likewise.
+ (Freset_char_attribute_table): Likewise.
+ (Fload_char_attribute_table): Likewise.
+ (syms_of_chartab): Don't define `save-char-attribute-table',
+ `mount-char-attribute-table', `reset-char-attribute-table',
+ `close-char-attribute-table' and `load-char-attribute-table' if
+ external-DB feature is not available.
+ (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
+
+2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * text-coding.c (Qcomposition): Add extern if external-DB feature
+ is supported.
+ (Vcharacter_composition_table): Don't add extern if external-DB
+ feature is supported.
+ (COMPOSE_ADD_CHAR): Modify for new data-representation of
+ character composition rule if external-DB feature is supported.
+
+ * chartab.c (Vcharacter_composition_table): Don't define if
+ external-DB feature is supported.
+ (Qcomposition): New variable.
+ (Fget_composite_char): New implementation for external-DB support.
+ (Fput_char_attribute): Use `composition' property of each
+ character instead of `Vcharacter_composition_table' to store
+ character-composition rules if external-DB feature is supported.
+ (syms_of_chartab): Add new symbol `composition'.
+ (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
+ external-DB feature is supported.
+
+2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * chartab.c (Vchar_db_stingy_mode): New variable.
+ (load_char_attribute_maybe): Close database if
+ Vchar_db_stingy_mode is not NIL.
+ (Fload_char_attribute_table_map_function): Use
+ `get_char_id_table_0' instead of `get_char_id_table'.
+ (vars_of_chartab): Add new variable `char-db-stingy-mode'.
+
+ * chartab.h (get_char_id_table_0): New inline function.
+ (get_char_id_table): Use `get_char_id_table_0'.
+
+2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
+ and `COMPOSE_ADD_CHAR'.
+ (decode_coding_iso2022): Use `decode_flush_er_chars'.
+
+2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
+ instead of `DECODE_ADD_UCS_CHAR'.
+ (COMPOSE_ADD_CHAR): Likewise.
+
+2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * text-coding.c (decode_flush_er_chars): New inline function.
+ (decode_add_er_char): New function.
+ (decode_coding_utf8): Use `decode_flush_er_chars' and
+ `decode_add_er_char'.
+
+2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * text-coding.c (decode_coding_utf8): Flush for er_buf must be
+ done before `decode_output_utf8_partial_char'.
+
+ * mule-charset.c (complex_vars_of_mule_charset): Specify
+ `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
+ `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
+
+2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (decode_defined_char): New function; search
+ mother.
+ (decode_builtin_char): Don't search mother if
+ XCHARSET_MAX_CODE(charset) == 0.
+ (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
+ == 0 even if code >= XCHARSET_MAX_CODE(charset).
+ (Fdecode_char): Use `decode_defined_char' instead of
+ `DECODE_DEFINED_CHAR'.
+ (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
+ mother of `Vcharset_ucs_jis'.
+
+ * text-coding.c (decode_coding_big5): Use `decode_defined_char'
+ instead of `DECODE_DEFINED_CHAR'.
+
+ * char-ucs.h (decode_defined_char): Renamed from
+ `DECODE_DEFINED_CHAR'; changed to normal function.
+ (DECODE_CHAR): Use `decode_defined_char' instead of
+ `DECODE_DEFINED_CHAR'.
+
+ * lisp.h: Add `EXFUN' for `Fstring_to_number'.
+
+2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * char-ucs.h: Add `extern' for `Vcharset_ucs'.
+
+ * text-coding.c (Vcoded_charset_entity_reference_alist): New
+ variable.
+ (Quse_entity_reference): New variable.
+ (Qd): New variable.
+ (Qx): New variable.
+ (QX): New variable.
+ (coding_system_description): Add description for
+ `ccs_priority_list'.
+ (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
+ (allocate_coding_system): Initialize `ccs_priority_list' in
+ UTF-2000.
+ (Fmake_coding_system): Add description about
+ 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
+ (codesys).
+ (Fcoding_system_property): Accept `disable-composition' and
+ `use-entity-reference' in UTF-2000.
+ (struct decoding_stream): Add new member `er_counter' and `er_buf'
+ in UTF-2000.
+ (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
+ (decode_coding_utf8): Decode entity-reference if
+ CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
+ (char_encode_utf8): Encode non-Unicode characters as
+ entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
+ (str->codesys).
+ (syms_of_file_coding): Add new symbols `use-entity-reference',
+ `d', `x', `X'.
+ (vars_of_file_coding): Add new variable
+ `coded-charset-entity-reference-alist'.
+ (complex_vars_of_file_coding): Declare `disable-composition' and
+ `use-entity-reference' to be coding-system-properties in UTF-2000.
+
+ * file-coding.h (struct Lisp_Coding_System): Add new member
+ `use_entity_reference' and `ccs_priority_list'.
+ (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
+ (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
+ (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
+
+2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * chartab.c (save_uint8_byte_table): Don't clear the table.
+ (save_uint16_byte_table): Likewise.
+ (save_byte_table): Likewise.
+ (Fmount_char_attribute_table): New function.
+ (syms_of_chartab): Add new builtin function
+ `mount-char-attribute-table'.
+
+2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Fsave_charset_mapping_table): Open database as
+ "w+" mode.
+ (load_char_decoding_entry_maybe): Open database as read-only mode.
+
+ * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
+ open database as "w+" mode.
+ (load_char_attribute_maybe): Open database as read-only mode.
+ (Fload_char_attribute_table): Likewise.
+
+2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * chartab.c (mark_char_table): Don't refer `ct->db_file'.
+ (char_table_description): Delete member `db_file'.
+ (Fmake_char_table): Don't refer `ct->db_file'.
+ (Fcopy_char_table): Likewise.
+ (Fsave_char_attribute_table): Likewise.
+ (Fclose_char_attribute_table): Likewise.
+ (Freset_char_attribute_table): Likewise.
+ (load_char_attribute_maybe): Likewise.
+ (Fload_char_attribute_table): Likewise.
+
+ * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
+
+2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
+ (Fsave_char_attribute_table): Don't check `ct->db_file' if
+ `ct->db' is living.
+ (load_char_attribute_maybe): Likewise.
+ (Fload_char_attribute_table): Likewise.
+
+2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * chartab.c (Fclose_char_attribute_table): Set Qnil on
+ `ct->db_file' unconditionally.
+
+2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
+ UTF-2000.
+ (char_table_description): Add description for `db_file' and `db'
+ in UTF-2000.
+ (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
+ UTF-2000.
+ (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
+ (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
+ (Fclose_char_attribute_table): New function.
+ (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
+ (load_char_attribute_maybe): Change interface; use `cit->db_file'
+ and `cit->db'.
+ (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
+ (syms_of_chartab): Add new builtin function
+ `Fclose_char_attribute_table'.
+
+2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
+ `db' in UTF-2000.
+ (load_char_attribute_maybe): Change interface.
+ (get_char_id_table): Modify for `load_char_attribute_maybe'.
+
+2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * database.h: Add an EXFUN for `Fdatabase_live_p'.
+
+2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
+ instead of `DECODE_CHAR' for mother; don't use special code for
+ chinese-big5 to use code space of chinese-big5-1 and
+ chinese-big5-2.
+ (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
+ `MAX_CHAR_BIG5_CDP' for chinese-big5.
-1999-05-11 Andy Piper <andy@xemacs.org>
+ * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
+ (MAX_CHAR_BIG5_CDP): Revival.
- * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
- first character.
+2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
-1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
+ * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
+ the XLFD registry-encoding name of `chinese-big5'.
- * sysdep.c (init_system_name): If gethostname gives a proper
- domain name, don't look further for one.
+2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
-1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
+ * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
+ (Qchinese_big5_cdp): Deleted.
+ (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
+ (complex_vars_of_mule_charset): Delete coded-charset
+ `chinese-big5-cdp'.
- * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
- (Fintern_soft): Accept a symbol argument.
+ * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
+ (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
+ `CHARSET_ID_OFFSET - n' for private CCS.
+ (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
+ (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
+ of `MIN_LEADING_BYTE'.
+ (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
+ `(CHARSET_ID_OFFSET - 97)'.
+ (MIN_CHAR_BIG5_CDP): Deleted.
+ (MAX_CHAR_BIG5_CDP): Deleted.
-1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
+2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * symbols.c (Fintern): ...do it here.
+ * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
- * lread.c (read_atom): Don't handle keywords here.
+2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
-1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
+ * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
+ (vars_of_mule): Add new variable `utf-2000-version' [moved from
+ chartab.c].
- * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
+ * chartab.c (Vutf_2000_version): Moved to mule.c.
+ (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
-1999-05-03 Olivier Galibert <galibert@pobox.com>
+2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
- is interned in the main obarray.
+ * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
+ when HAVE_CHISE_CLIENT is not defined.
-1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
+ * mule.c (vars_of_mule): Provide feature `chise' when
+ HAVE_CHISE_CLIENT is defined.
- * menubar-x.c (pre_activate_callback): set accelerator field in
- "No menu" entries to nil. Avoid crash in
- command_builder_operate_menu_accelerator
+2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
-1999-05-03 Olivier Galibert <galibert@pobox.com>
+ * config.h.in (UTF2000): Add comment.
+ (HAVE_CHISE_CLIENT): New macro.
- * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
+2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * lisp.h (DEFUN): Fix lrecord header initialisation.
+ * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
+ CONSP.
+ (Fput_char_attribute): Likewise.
+ (char_attribute_system_db_file): Encode file-name of attribute.
+ (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
+ the initial value.
-1999-05-02 Andy Piper <andy@xemacs.org>
+2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * objects-msw.c (mswindows_font_instance_truename): add a ';'.
+ * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
+ (Fsave_charset_mapping_table): Use
+ `char_attribute_system_db_file'.
+ (load_char_decoding_entry_maybe): Likewise.
- * ntproc.c (sys_kill): cast using MS mandated defines.
+ * chartab.h (Qsystem_char_id): New external variable.
+ (char_attribute_system_db_file): New prototype.
-1999-04-29 Andy Piper <andy@xemacs.org>
+ * chartab.c (Qsystem_char_id): New variable in UTF-2000.
+ (char_attribute_system_db_file): New function.
+ (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
+ (Freset_char_attribute_table): Likewise.
+ (load_char_attribute_maybe): Likewise.
+ (Fload_char_attribute_table): Likewise.
+ (syms_of_chartab): Add new symbol `system-char-id'.
- * m/intel386.h: remove redundant definitions.
+2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * s/mingw32.h: new header for mingw32.
+ * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
+ `XCHARSET_GRAPHIC(ccs)'.
- * unexnt.c: (open_input_file): function moved to nt.c.
- (close_file_data): ditto.
- (rva_to_section): function moved to ntproc.
+2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * symsinit.h: declare syms_of_ntproc();
+ * mule-charset.c (Fsave_charset_mapping_table): Fixed.
- * objects-msw.c (mswindows_font_instance_truename): new function.
+2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * ntproc.c: remove many warnings.
- (_sys_read_ahead): moved from nt.c and made static.
- (rva_to_section): moved from unexnt.c but not defined under
- mingw32.
- (win32_executable_type): implement what we can for mingw32
- headers.
- (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
+ * chartab.c (Q_ucs_variants): New variable.
+ (syms_of_chartab): Add new symbol `->ucs-variants'.
+ (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
+ `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
+ `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
- * ntheap.h: remove declarations of functions that are now static.
+ * mule-charset.c (load_char_decoding_entry_maybe): New function.
- * ntheap.c: support static heap.
+ * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
+ `HAVE_DATABASE' is defined.
+ (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
+ `HAVE_DATABASE' is defined.
- * nt.h: conditionalise X_OK definition.
+2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * nt.c: eliminate many warnings and support mingw32.
- (open_input_file): function moved from unexnt.c and made static
- (close_file_data): ditto.
- (_sys_read_ahead): moved to ntproc.c
+ * chartab.c (Fsave_char_attribute_table): Don't clear internal
+ attribute-table.
+ (Freset_char_attribute_table): New function.
+ (syms_of_chartab): Add new builtin function
+ `reset-char-attribute-table'.
- * emacs.c: make sure syms_of_ntptroc gets called under windows.
+2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * console-msw.h: support mingw32.
- * getloadavg.c: ditto.
- * ntplay.c: ditto.
- * sysdep.c: ditto.
- * sysdir.h: ditto.
- * systime.h: ditto.
- * systty.h: ditto.
+ * chartab.c (load_char_attribute_maybe): Don't make directories.
- * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
- some systems don't have all of the encapsulated system calls.
+2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * callproc.c: warning elimination.
- * dired-msw.c: ditto.
- * process-nt.c: ditto.
- * realpath.c: ditto.
+ * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
- * Makefile.in.in: tweak : and ; for building under mswindows.
+ * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
+ for decoding-table.
-1999-04-26 Michael Harnois <mharnois@willinet.net>
+2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * eldap.c (allocate_ldap): Adapt to the new semantics of
- alloc_lcrecord_type().
+ * mule-charset.c (Fsave_charset_mapping_table): Use
+ `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
-1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
+ * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
+ instead of `XCHARSET_CHARS'.
- * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
+2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
-1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
+ * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
+ (XCHARSET_BYTE_SIZE): Likewise.
- * Delete mule-coding.c and mule-coding.h because they are not
- used.
+ * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
+ mule-charset.c].
+ (XCHARSET_BYTE_SIZE): Likewise.
-1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
+2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * objects.c (print_font_instance): Check for NILP(f->device),
- i.e. Vthe_null_font_instance.
- (font_instance_truename_internal): ditto.
- (Ffont_instance_properties): ditto.
+ * chartab.c (Fput_char_attribute): Use exec-directory instead of
+ data-directory to store database.
+ (Fsave_char_attribute_table): Likewise.
+ (load_char_attribute_maybe): Likewise.
+ (Fload_char_attribute_table): Likewise.
-1999-04-22 Olivier Galibert <galibert@pobox.com>
+2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
- array anymore.
+ * mule-charset.c (Fsave_charset_mapping_table): New function.
+ (syms_of_mule_charset): Add new builtin function
+ `save-charset-mapping-table'.
-1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
+2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * char-ucs.h (decoding_table_check_elements): Delete prototype.
+ (get_ccs_octet_table): New inline function.
+ (put_ccs_octet_table): Likewise.
+ (decoding_table_put_char): Use `get_ccs_octet_table' and
+ `put_ccs_octet_table'.
+ (decoding_table_remove_char): Use `decoding_table_put_char'.
+ (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
+
+ * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
+ into encoding_table.
+ (make_charset): Use Qunbound instead Qnil as initial value of
+ decoding_table.
+
+2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
+ element is Qunloaded.
+ (map_over_uint16_byte_table): Likewise.
+ (map_over_byte_table): Likewise.
+ (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
+ CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
+ database support, load encoding-table of the specified
+ coded-charset if it is not loaded yet.
+ (save_uint8_byte_table): New function of UTF-2000 with external
+ database support.
+ (save_uint16_byte_table): Likewise.
+ (save_byte_table): Likewise.
+ (Fput_char_attribute): Don't store value into external database
+ even if the external database feature is supported in UTF-2000;
+ set `attribute' as name of char-table if the external database
+ feature is supported.
+ (Fsave_char_attribute_table): New function in UTF-2000.
+ (syms_of_chartab): Add new builtin function
+ `save-char-attribute-table' in UTF-2000.
+
+2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * chartab.c (char_attribute_table_to_put): New variable in
+ UTF-2000.
+ (Qput_char_table_map_function): Likewise.
+ (value_to_put): Likewise.
+ (Fput_char_table_map_function): New function in UTF-2000.
+ (put_char_table): Use `Fmap_char_attribute' for
+ CHARTAB_RANGE_CHARSET in UTF-2000.
+ (Fput_char_attribute): Store symbol instead of string in
+ `XCHAR_TABLE_NAME (table)'.
+ (load_char_attribute_maybe): Likewise.
+ (syms_of_chartab): Add new symbol/function
+ `put-char-table-map-function'.
+
+2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * database.h: Add new EXFUN for `Fmap_database'.
+
+ * database.c (Fmap_database): Renamed from `Fmapdatabase'.
+ (syms_of_database): Likewise.
+
+ * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
+ UTF-2000.
+ (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
+ (XCHAR_TABLE_UNLOADED): Likewise.
+
+ * chartab.c (fill_char_table): Initialize `ct->unloaded'.
+ (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
+ HAVE_DATABASE is defined.
+ (char_attribute_table_to_load): New variable of UTF-2000 with
+ external database support.
+ (Qload_char_attribute_table_map_function): Likewise.
+ (Fload_char_attribute_table_map_function): New function of
+ UTF-2000 with external database support.
+ (Fload_char_attribute_table): New function of UTF-2000.
+ (Fmap_char_attribute): Call Fload_char_attribute_table if
+ CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
+ (syms_of_chartab): Add new symbol and function
+ `load-char-attribute-table-map-function' in UTF-2000 with external
+ database support; add new function `load-char-attribute-table' in
+ UTF-2000.
+
+2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * chartab.h (load_char_attribute_maybe): New prototype for
+ UTF-2000 with DATABASE support.
+ (get_char_id_table): Use `load_char_attribute_maybe' if
+ HAVE_DATABASE is defined.
+
+ * chartab.c (load_char_attribute_maybe): New function in UTF-2000
+ with DATABASE support.
+
+2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * chartab.c (Fput_char_attribute): Use S-expression as key of
+ external database.
+
+ * chartab.h (get_char_id_table): Use S-expression as key of
+ external database.
+
+2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * chartab.c (map_over_uint8_byte_table): Add new argument `root';
+ if an element is not loaded, load the corresponding attributes
+ from an external database.
+ (map_over_uint16_byte_table): Likewise.
+ (map_over_byte_table): Likewise.
+ (map_char_table): Modify for `map_over_uint8_byte_table',
+ `map_over_uint16_byte_table' and `map_over_byte_table'; if an
+ element is not loaded, load the corresponding attributes from an
+ external database.
+ (Fput_char_attribute): Change initial values to Qunloaded.
+
+ * chartab.h (get_char_id_table): If a character attribute is not
+ loaded and the attribute value is not found in an external
+ database, store Qunbound as the attribute value.
+
+2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * chartab.c (BT_UINT8_unloaded): New macro.
+ (UINT8_VALUE_P): Accept Qunloaded.
+ (UINT8_ENCODE): Likewise.
+ (UINT8_DECODE): Likewise.
+ (BT_UINT16_unloaded): New macro.
+ (UINT16_VALUE_P): Accept Qunloaded.
+ (UINT16_ENCODE): Likewise.
+ (UINT16_DECODE): Likewise.
+ (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
+ BT_UINT16_unloaded.
+ (mark_char_table): Mark `ct->name' in UTF-2000.
+ (char_table_description): Add `name' in UTF-2000.
+ (Fmake_char_table): Initialize `ct->name'.
+ (Fcopy_char_table): Copy `ct->name'.
+ (Fput_char_attribute): Store value into an external database if
+ HAVE_DATABASE is defined.
- * Makefile.in.in (tests): Don't mention tests explicitly -- makes
- it easier to add new ones.
+ * chartab.h (struct Lisp_Char_Table): Add new member `name' in
+ UTF-2000.
+ (CHAR_TABLE_NAME): New macro in UTF-2000.
+ (XCHAR_TABLE_NAME): New macro in UTF-2000.
+ (get_char_id_table): Try to read an external database if Qunloaded
+ is stored in a table.
-1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
+ * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
+ Qunloaded.
- * symbols.c (reject_constant_symbols): Ditto.
- (init_symbols_once_early): Ditto.
+2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
- * print.c (print_symbol): Don't use ->obarray.
+ * database.h: Add EXFUN definitions for Fopen_database,
+ Fput_database, Fget_database and Fclose_database.
- * symbols.c (Funintern): Ditto.
+ * data.c (Qunloaded): New variable in UTF-2000.
- * alloc.c (Fmake_symbol): Don't set ->obarray.
+ * lisp.h (Qunloaded): New variable in UTF-2000.
+
+2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (put_char_ccs_code_point): Modify for
+ `decoding_table_remove_char' and `decoding_table_put_char'.
+ (remove_char_ccs): Modify for `decoding_table_remove_char'.
+
+ * char-ucs.h (decoding_table_remove_char): Change arguments to
+ hide decoding_table vector.
+ (decoding_table_put_char): Likewise.
+
+2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (decoding_table_remove_char): Moved to
+ char-ucs.h.
+ (decoding_table_put_char): Likewise.
+
+ * char-ucs.h (decoding_table_check_elements): New prototype [moved
+ from mule-charset.c].
+ (decoding_table_remove_char): New inline function [moved from
+ mule-charset.c].
+ (decoding_table_put_char): Likewise.
+
+2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
+ extension.
+
+2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * mule-charset.c (decode_builtin_char): Support mother charsets.
+
+2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * mule-charset.c (Q94x94x60): New variable.
+ (charset_code_point): Support conversion `94x94x60'.
+ (Fmake_charset): Likewise.
+ (syms_of_mule_charset): Add new symbol `94x94x60'.
+
+ * char-ucs.h (CONVERSION_94x94x60): New macro.
+
+2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * mule-charset.c (charset_code_point): Unify code about
+ `code-offset'.
+
+2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
+
+ * mule-charset.c (charset_code_point): Merge code about builtin
+ characters into code about mother charsets; don't use
+ `range_charset_code_point'.
+ (range_charset_code_point): Deleted.
+
+2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Qcode_offset): New variable.
+ (Fmake_charset): Use `XUINT' to get value of `min-code' and
+ `max-code'; accept new property `code-offset'.
+ (syms_of_mule_charset): Add new symbol `code-offset'.
+
+2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (range_charset_code_point): Fixed.
+
+2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (decode_builtin_char): Change semantics of
+ code-offset of coded-charset.
+ (charset_code_point): Likewise.
+ (range_charset_code_point): Likewise.
+ (complex_vars_of_mule_charset): Modify for the change.
+
+2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Fencode_char): Reverse arguments.
+
+ * mule-charset.c (charset_code_point): Fixed.
+
+2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Vcharset_mojikyo): Deleted.
+ (Vcharset_mojikyo_2022_1): Deleted.
+ (Vcharset_mojikyo_pj_{1..21}): Deleted.
+ (Qmin_code): New variable in UTF-2000.
+ (Qmax_code): Likewise.
+ (Qmother): Likewise.
+ (Qconversion): Likewise.
+ (Q94x60): Likewise.
+ (Qmojikyo): Deleted.
+ (Qmojikyo_2022_1): Deleted.
+ (Qmojikyo_pj_{1..22}): Deleted.
+ (mark_charset): Mark `cs->mother'.
+ (charset_description): Add description for `mother'.
+ (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
+ new arguments `mother' and `conversion'; use
+ `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
+ (charset_code_point): Moved from char-ucs.h; support `mother'
+ charset feature.
+ (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
+ of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
+ (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
+ UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
+ allow 2 as the value of `graphic' in UTF-2000; add new properties
+ `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
+ require `final' in UTF-2000; modify for `make_charset'.
+ (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
+ instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
+ (Fcharset_property): Support `mother', `min-code' and `max-code'.
+ (Fencode_char): New function.
+ (syms_of_mule_charset): Add new builtin function `encode-char' in
+ UTF-2000; add new symbols `min-code', `max-code', `mother',
+ `conversion' and `94x60'; delete symbols `mojikyo',
+ `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
+ (complex_vars_of_mule_charset): Modify for `make_charset' change;
+ delete coded-charsets `mojikyo', `mojikyo-2022-1' and
+ `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
+
+ * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
+ `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
+
+ * char-ucs.h (Vcharset_mojikyo): Deleted.
+ (Vcharset_mojikyo_2022_1): Deleted.
+ (LEADING_BYTE_MOJIKYO): Deleted.
+ (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
+ (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
+ (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
+ (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
+ add new member `mother'; add new member `conversion'.
+ (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
+ (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
+ (CHARSET_MOTHER): New macro.
+ (CHARSET_CONVERSION): New macro.
+ (CONVERSION_IDENTICAL): New macro.
+ (CONVERSION_94x60): New macro.
+ (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
+ (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
+ (XCHARSET_MOTHER): New macro.
+ (XCHARSET_CONVERSION): New macro.
+ (MIN_CHAR_MOJIKYO): Deleted.
+ (MAX_CHAR_MOJIKYO): Deleted.
+ (DECODE_MOJIKYO_2022): Deleted.
+ (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
+ (charset_code_point): Changed to non-inline function.
+ (encode_char_1): Use `charset_code_point'.
+ (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
+
+2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * lread.c (read_compiled_function): Fix prototype.
+ (read_vector): Likewise.
+
+2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * lrecord.h (struct lrecord_header): Delete `older'.
+ (set_lheader_implementation): Delete code for `older'.
+ (set_lheader_older_implementation): Deleted.
+ (enum lrecord_type): Delete `lrecord_type_char_id_table'.
+ (OLDER_RECORD_P): Deleted.
+ (OLDER_RECORD_HEADER_P): Deleted.
+ (alloc_older_lcrecord): Deleted.
+ (alloc_older_lcrecord_type): Deleted.
+
+ * alloc.c (all_older_lcrecords): Deleted.
+ (alloc_older_lcrecord): Deleted.
+ (disksave_object_finalization_1): Delete code for older objects.
+ (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
+ (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
+
+2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (decoding_table_put_char): Use `make_vector'
+ instead of `make_older_vector'.
+ (put_char_ccs_code_point): Likewise.
+ (mark_charset): Mark `cs->decoding_table'.
+ (Fset_charset_mapping_table): Don't use `make_vector_newer'.
+
+ * lisp.h (make_older_vector): Deleted.
+ (make_vector_newer): Deleted.
+
+ * config.h.in (HAVE_GGC): Deleted.
+
+ * alloc.c (make_older_vector): Deleted.
+ (make_vector_newer_1): Deleted.
+ (make_vector_newer): Deleted.
+
+2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
+ (Qideograph_daikanwa_2): New variable.
+ (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
+ (complex_vars_of_mule_charset): Add new coded-charset
+ `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
+ `LEADING_BYTE_DAIKANWA'.
+
+ * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
+ (LEADING_BYTE_DAIKANWA_1): New macro.
+ (LEADING_BYTE_DAIKANWA_2): New macro.
+ (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
+
+2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (complex_vars_of_mule_charset): Change
+ DOC-strings and registry of `ideograph-daikanwa'; now it indicates
+ the second revised version.
+
+2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Vcharset_ucs_smp): New variable.
+ (Vcharset_ucs_sip): New variable.
+ (Qucs_smp): New variable.
+ (Qucs_sip): New variable.
+ (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
+ MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
+ (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
+ (complex_vars_of_mule_charset): Modify middle-DOC and registry of
+ `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
+ charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
+
+ * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
+ (LEADING_BYTE_UCS_SIP): New macro.
+ (MIN_CHAR_SMP): New macro.
+ (MAX_CHAR_SMP): New macro.
+ (MIN_CHAR_SIP): New macro.
+ (MAX_CHAR_SIP): New macro.
+
+2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
+ utf-2000.
+
+2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (put_char_ccs_code_point): Return canonicalized
+ value; don't store value into `encoding_table' of `Lisp_Charset'.
+ (mark_charset): `encoding_table' was deleted.
+ (charset_description): Likewise.
+ (make_charset): Likewise.
+ (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
+ `put_char_ccs_code_point'.
+
+ * chartab.h (Fput_char_attribute): New EXFUN.
+
+ * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
+ is unified with normal symbol space.
+ (Fget_char_attribute): Likewise.
+ (Fput_char_attribute): Likewise; behavior of
+ `put_char_ccs_code_point' is changed.
+
+ * char-ucs.h: Include "elhash.h".
+ (Vchar_attribute_hash_table): New external variable.
+ (struct Lisp_Charset): Delete `encoding_table'.
+ (CHARSET_ENCODING_TABLE): New implementation; refer
+ `Vchar_attribute_hash_table' instead of `encoding_table' of struct
+ `Lisp_Charset'.
+
+2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
+ (cs) == 0.
+
+2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * text-coding.c (char_encode_big5): Prefer charset-g1 than
+ `chinese-big5'.
+
+2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * chartab.c (uint8_byte_table_description): New constant.
+ (uint8-byte-table): Use `uint8_byte_table_description'.
+ (uint16_byte_table_description): New constant.
+ (uint16-byte-table): Use `uint16_byte_table_description'.
+
+2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
+ range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
+
+2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Vcharset_ucs_ks): New variable.
+ (Qucs_ks): New variable.
+ (syms_of_mule_charset): Add new symbol `ucs-ks'.
+ (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
+
+ * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
+
+2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
+ (Fdecode_char): Likewise.
+
+ * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
+ chartab.h.
+ (Fdefine_char): Modify for Fdecode_char.
+ (Ffind_char): Likewise.
+
+ * mule-charset.c (Fdecode_char): Add new optional argument
+ `defined-only'.
+ (Fdecode_builtin_char): Modify for `Fdecode_char'.
+
+2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
+ -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
+ (allocate_coding_system): Initialize initial-charsets of
+ CODESYS_BIG5 in XEmacs UTF-2000.
+ (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
+ CODESYS_BIG5 in XEmacs UTF-2000.
+ (decode_coding_big5): Use initial-charset-g0 and -g1 of
+ CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
+
+ * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
+ variables.
+ (Qideograph_hanziku_{1 .. 12}): Likewise.
+ (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
+ .. 12}'.
+ (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
+ `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
+ `ideograph-hanziku-{1 .. 12}'.
- * lisp.h (struct Lisp_Symbol): Removed .obarray field.
+ * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
+ (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
+ ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
+ ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
+ (DECODE_DEFINED_CHAR): New inline function.
+ (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
- * symbols.c (init_symbols_once_early): Removed
- Vpure_uninterned_symbol_table.
- (Fintern): Don't store to ->obarray field.
+2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
-1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
+ * mule-charset.c (Vcharset_china3_jef): Renamed from
+ `Vcharset_japanese_jef_china3'.
+ (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
+ (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
+ `{MIN|MAX}_CHAR_JEF_CHINA3'..
+ (syms_of_mule_charset): Rename `china3-jef' from
+ `japanese-jef-china3'.
+ (complex_vars_of_mule_charset): Likewise; rename
+ `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
- * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
- (eq_with_ebola_notice): Remove abracadabra support.
+ * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
+ `LEADING_BYTE_JEF_CHINA3'.
+ (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
+ (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
-1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
+2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
- retrieve the distinguished names of entries
+ * mule-charset.c (encode_builtin_char_1): Comment out special code
+ for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
-1999-03-08 Martin Buchholz <martin@xemacs.org>
+ * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
+ (MAX_CHAR_MOJIKYO_0): Comment out.
+ (MIN_CHAR_CBETA): Changed to 0x00E20000.
+ (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
+ (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
+ (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
- * lread.c (read_escape): Make hex escapes read only two hex digits.
-
-1999-04-05 Olivier Galibert <galibert@pobox.com>
-
- * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
- * make-src-depend: Remove puresize-adjust.h.
- * src-headers: Remove puresize-adjust.h.
- * config.h.in: Kill everything purespace/gung-ho related.
-
- * dbxrc: Make gung-ho mandatory.
- * gdbinit: Ditto.
-
- * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
- c_readonly and lisp_readonly. Remove implementation arrays.
- (C_READONLY_RECORD_HEADER_P): Added.
- (LISP_READONLY_RECORD_HEADER_P): Added.
- (SET_C_READONLY_RECORD_HEADER): Added.
- (SET_LISP_READONLY_RECORD_HEADER): Added.
-
- * lisp.h: Kill everything purespace/non gung-ho related.
- (CHECK_C_WRITEABLE): Added.
- (CHECK_LISP_WRITEABLE): Added.
- (C_READONLY): Added.
- (LISP_READONLY): Added.
-
- * lisp-union.h: Make gung-ho mandatory.
- * lisp-disunion.h: Ditto.
-
- * alloc.c: Kill everything purespace/non gung-ho related. Fix all
- set_lheader_implementation calls.
- (c_readonly): Added.
- (lisp_readonly): Added.
- (make_string_nocopy): Added.
- (Fpurecopy): Changed to do nothing. Kept the old documentation
- for reference purposes for the next patches.
- (sweep_lcrecords_1): Don't free C readonly lcrecords.
- (sweep_bit_vectors_1): Don't free C readonly bitvectors.
- (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
-
- * fns.c: Make gung-ho mandatory.
- (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
- (Fremprop): Ditto.
- (Ffillarray): Ditto.
-
- * data.c: Make gung-ho mandatory.
- (pure_write_error): Removed.
- (c_write_error): Added.
- (lisp_write_error): Added.
- (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
- (Fsetcdr): Ditto.
- (Faset): Ditto.
-
- * symbols.c: Make gung-ho mandatory. make_pure_pname ->
- make_string or make_string_nocopy. Fix various
- alloc_lcrecord_type.
-
- * lread.c: Remove everything purespace related.
- (Flocate_file_clear_hashing): purified -> c_readonly.
- (locate_file): Ditto.
- (read_atom): make_pure_pname -> make_string.
-
- * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
- reporting.
- (Fdump_emacs): Ditto.
-
- * print.c (print_internal): Make gung-ho mandatory.
- * ntheap.c (sbrk): Ditto.
- * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
- * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
-
- * sheap.c (more_static_core): Remove puresize-adjust.h from
- message.
-
- * syntax.c (complex_vars_of_syntax): make_pure_string ->
- make_string_nocopy.
- * keymap.c (make_keymap): Fix alloc_lcrecord_type.
- (vars_of_keymap): make_pure_string -> make_string_nocopy.
- * events.c (deinitialize_event): Fix set_lheader_implementation.
- (zero_event): Ditto.
- * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
- * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
- * mule-charset.c (make_charset): Ditto.
- * console.c (allocate_console): Ditto.
- (complex_vars_of_console): Ditto.
- * file-coding.c (allocate_coding_system): Ditto.
- * device.c (allocate_device): Ditto
- * gui-x.c (gcpro_popup_callbacks): Ditto.
- * extents.c (allocate_extent_auxiliary): Ditto.
- (allocate_extent_info): Ditto.
- (copy_extent): Ditto.
- * glyphs.c (allocate_image_instance): Ditto.
- (allocate_glyph): Ditto.
- * frame.c (allocate_frame_core): Ditto.
- * database.c (allocate_database): Ditto.
- * tooltalk.c (make_tooltalk_message): Ditto.
- (make_tooltalk_pattern): Ditto.
- * rangetab.c (Fmake_range_table): Ditto.
- (Fcopy_range_table): Ditto.
- * process.c (make_process_internal): Ditto.
- * chartab.c (Fmake_char_table): Ditto.
- (make_char_table_entry): Ditto.
- (copy_char_table_entry): Ditto.
- (Fcopy_char_table): Ditto.
- * elhash.c (make_general_lisp_hash_table): Ditto.
- (Fcopy_hash_table): Ditto.
- * buffer.c (allocate_buffer): Ditto.
- (complex_vars_of_buffer): Ditto.
- * event-stream.c (allocate_command_builder): Ditto.
- * objects.c (Fmake_color_instance): Ditto.
- (Fmake_font_instance): Ditto.
- (vars_of_objects): Ditto.
- * toolbar.c (update_toolbar_button): Ditto.
- * window.c (allocate_window): Ditto.
- (make_dummy_parent): Ditto.
- (Fcurrent_window_configuration): Fix alloc_lcrecord.
- (vars_of_window): Fix make_lcrecord_list.
- * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
- Flist.
- * lstream.c (Lstream_new): Fix make_lcrecord_list.
- * opaque.c (make_opaque): Fix alloc_lrecord.
- (make_opaque_list): Fix alloc_lrecord_type.
-
-1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
-
- * process.c (Fstart_process_internal): Ditto.
-
- * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
- locate_file().
-
- * glyphs-x.c (x_locate_pixmap_file): Ditto.
-
- * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
- locate_file().
-
- * emodules.c (vars_of_module): New variable Vmodule_extensions.
- (emodules_load): Use it when calling locate_file().
-
- * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
- locate_file().
-
- * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
- (vars_of_callproc): Initialize it.
- (Fcall_process_internal): Use it when calling locate_file().
-
- * alloc.c (disksave_object_finalization): Use
- Flocate_file_clear_hashing().
-
- * lread.c (Flocate_file_clear_hashing): Clear all hasing when
- given `t' as argument.
-
-1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
-
- * lread.c (locate_file): Expand `pathel' when appropriate.
- (Flocate_file_clear_hashing): Expand path elements.
- (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
-
- * dired.c (make_directory_hash_table): Create the hash-table only
- if the directory open is successful.
-
- * lread.c (decode_mode_1): New function.
- (decode_mode): Ditto.
- (Flocate_file): Use them.
- (Flocate_file): Expand FILENAME.
- (locate_file_map_suffixes): New function.
- (locate_file_in_directory_mapper): New function.
- (locate_file_in_directory): Use locate_file_in_directory_mapper()
- and locate_file_map_suffixes().
- (locate_file_construct_suffixed_files): Use
- locate_file_map_suffixes().
- (locate_file_without_hash): Don't GCPRO path.
- (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
- (syms_of_lread): Remove Qlocate_file_hash_table.
- (locate_file_find_directory_hash_table): Use
- Vlocate_file_hash_table.
- (locate_file_refresh_hashing): Ditto.
-
- * lread.c: Renamed read_objects to Vread_objects.
-
-1999-04-16 Olivier Galibert <galibert@pobox.com>
-
- * mule-charset.c: Generally resync with fsf 20.3 charset
- interface.
- (make_charset): Add long and short name. Use id instead of
- leading byte.
- (Fmake_charset): Ditto.
- (Fmake_reverse_direction_charset): Ditto.
- (Fcharset_property): Ditto.
- (Fcharset_short_name): Added.
- (Fcharset_long_name): Added.
- (Fcharset_description): Renamed from charset-doc-string.
- (syms_of_mule_charset): Synced symbols.
- (complex_vars_of_mule_charset): Synced charsets.
+2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * mule-charset.h: Removed leading byte (uses id instead), added
- short and long name.
+ * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
+ (Qideograph_cbeta): New variable.
+ (encode_builtin_char_1): Comment out special code for
+ coded-charset `mojikyo' and `japanese-jef-china3'.
+ (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
+ (complex_vars_of_mule_charset): Add new coded-charset
+ `ideograph-cbeta'.
-1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
+ * char-ucs.h (LEADING_BYTE_CBETA): New macro.
+ (MIN_CHAR_CBETA): New macro.
+ (MAX_CHAR_CBETA): New macro.
+
+2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
+ (LEADING_BYTE_JEF_CHINA3): New macro.
+ (MIN_CHAR_JEF_CHINA3): New macro.
+ (MAX_CHAR_JEF_CHINA3): Likewise.
+ (DECODE_CHAR): Fixed.
+
+2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
+ (Qjapanese_jef_china3): New variable.
+ (encode_builtin_char_1): Support `japanese-jef-china3'.
+ (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
+ (complex_vars_of_mule_charset): Add new coded-charset
+ `japanese-jef-china3'.
+
+2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * chartab.c (XCHARSET_CELL_RANGE): New inline function.
+ (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
+ 94^4, 96^3, 96^4, 128^n and 256^n set.
+ (put_char_table): Use `XCHARSET_CELL_RANGE'.
+ (map_char_table): Likewise.
+
+2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
+ UTF-2000.
+
+2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * chartab.h (get_char_id_table): New inline function.
+
+ * chartab.c (get_char_id_table): Moved to chartab.h as an inline
+ function.
+
+2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * chartab.h (decode_char_table_range): New prototype in XEmacs
+ UTF-2000.
+ (put_char_id_table): New inline function in XEmacs UTF-2000.
+
+ * chartab.c (put_char_id_table): Moved to chartab.h as an inline
+ function.
+ (decode_char_table_range): Delete static declaration in XEmacs
+ UTF-2000.
+
+2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * chartab.c (put_char_id_table): Use `put_char_table'.
+
+2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
+ (map_over_uint16_byte_table): Likewise.
+ (map_over_byte_table): Likewise.
+ (map_char_table): Modify for `map_over_uint8_byte_table',
+ `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
+ UTF-2000.
+
+2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * chartab.c (struct map_char_table_for_charset_arg): New
+ structure.
+ (map_char_table_for_charset_fun): New function.
+ (map_char_table): Use `map_char_table' for encoding_table of
+ `range->charset'.
+
+2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * chartab.c (map_char_table): Check a character is found in
+ range->charset instead of non default value is defined in
+ char-table when range is CHARTAB_RANGE_ROW.
+
+2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * chartab.c (map_char_id_table): Deleted.
+ (Fmap_char_attribute): Use `map_char_table' instead of
+ `map_char_id_table'.
+
+2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
+ UTF-2000.
+ (update_syntax_table): Deleted in XEmacs UTF-2000.
+
+ * syntax.c (find_defun_start): Use `syntax_table' instead of
+ `mirror_syntax_table' in XEmacs UTF-2000.
+ (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
+ UTF-2000.
+ (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
+ XEmacs UTF-2000.
+ (Fmatching_paren): Likewise.
+ (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
+ in XEmacs UTF-2000.
+ (find_start_of_comment): Likewise.
+ (find_end_of_comment): Likewise.
+ (Fforward_comment): Likewise.
+ (scan_lists): Likewise.
+ (char_quoted): Likewise.
+ (Fbackward_prefix_chars): Likewise.
+ (scan_sexps_forward): Likewise.
+ (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
+ (update_syntax_table): Likewise.
+
+ * search.c (skip_chars): Use `syntax_table' instead of
+ `mirror_syntax_table' in XEmacs UTF-2000.
+ (wordify): Likewise.
+ (Freplace_match): Likewise.
+
+ * regex.c (re_compile_fastmap): Use `syntax_table' instead of
+ `mirror_syntax_table' in XEmacs UTF-2000.
+ (WORDCHAR_P_UNSAFE): Likewise.
+ (re_match_2_internal): Likewise.
+
+ * font-lock.c (find_context): Use `buf->syntax_table' instead of
+ `buf->mirror_syntax_table' in XEmacs UTF-2000.
+
+ * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
+ of `buf->mirror_syntax_table' in XEmacs UTF-2000.
+
+ * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
+ XEmacs UTF-2000.
+
+ * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
+ UTF-2000.
+ (print_char_table): Print `default_value' in XEmacs UTF-2000.
+ (char_table_description): Delete `mirror_table' in XEmacs
+ UTF-2000.
+ (fill_char_table): Don't call `update_syntax_table' in XEmacs
+ UTF-2000.
+ (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
+ (Fcopy_char_table): Likewise.
+ (put_char_table): Don't call `update_syntax_table' in XEmacs
+ UTF-2000.
+
+ * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
+ `buf->mirror_syntax_table' in XEmacs UTF-2000.
+ (casify_region_internal): Likewise.
+
+ * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
+
+ * buffer.c (common_init_complex_vars_of_buffer): Don't use
+ `mirror_syntax_table' in XEmacs UTF-2000.
+
+ * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
+ `buf->mirror_syntax_table' in XEmacs UTF-2000.
+ (Fexpand_abbrev): Likewise.
+
+2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
+
+2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
+ (map_over_uint16_byte_table): Likewise.
+ (map_over_byte_table): Likewise.
+ (get_char_id_table): Refer `cit->default_value'.
+ (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
+ (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
+ of character-id ranges.
+ (mark_char_table): Mark `ct->default_value'.
+ (char_table_description): Add `default_value'.
+ (fill_char_table): Use `default_value'.
+ (decode_char_table_range): Decode `nil' as
+ `CHARTAB_RANGE_DEFAULT'.
+ (get_char_id_table): Refer `cit->default_value'.
+ (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
+ (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
+ temporary hack; check value of char-table is bound or not.
+ (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
+
+ * chartab.h (struct Lisp_Char_Table): Add new member
+ `default_value' in XEmacs UTF-2000.
+ (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
+ (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
+ UTF-2000.
+
+2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * chartab.h (Lisp_Char_ID_Table): Deleted.
+
+ * chartab.c (char_table_description): Fix typo.
+ (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
+ `Lisp_Char_ID_Table'.
+
+2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
+ `CHAR_ID_TABLE_P'.
+
+ * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
+ `CHAR_ID_TABLE_P'.
+
+ * chartab.h (XCHAR_ID_TABLE): Deleted.
+ (XSETCHAR_ID_TABLE): Deleted.
+ (CHAR_ID_TABLE_P): Deleted.
+
+ * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
+ `CHAR_ID_TABLE_P'.
+ (Fget_composite_char): Likewise.
+ (put_char_table): Likewise.
+ (add_char_attribute_alist_mapper): Fixed.
+ (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
+ `CHAR_ID_TABLE_P'.
+ (Fget_char_attribute): Likewise.
+ (Fget_char_attribute): Likewise.
+ (Fmap_char_attribute): Likewise.
+
+ * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
+ `CHAR_ID_TABLE_P'.
+ (encode_char_1): Likewise.
+
+2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
+ `XCHAR_ID_TABLE'.
+
+ * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
+ instead of `XCHAR_ID_TABLE'.
+ (remove_char_ccs): Likewise.
+
+ * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
+ `XCHAR_ID_TABLE'.
+ (Fget_composite_char): Likewise.
+ (Fchar_variants): Likewise.
+ (put_char_table): Likewise.
+ (add_char_attribute_alist_mapper): Likewise.
+ (Fchar_attribute_alist): Likewise.
+ (Fget_char_attribute): Likewise.
+ (Fput_char_attribute): Likewise.
+ (Fmap_char_attribute): Likewise.
+ (Fmap_char_attribute): Likewise.
+
+ * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
+ `XCHAR_ID_TABLE'.
+ (encode_char_1): Likewise.
+
+2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
+ `Lisp_Char_ID_Table'.
+ (mark_char_id_table): Deleted.
+ (print_char_id_table): Likewise.
+ (char_id_table_equal): Likewise.
+ (char_id_table_hash): Likewise.
+ (char_id_table_description): Likewise.
+ (char_id_table): Likewise.
+ (make_char_id_table): Use `Fmake_char_table' and
+ `fill_char_table'.
+ (get_char_id_table): Use `Lisp_Char_Table' instead of
+ `Lisp_Char_ID_Table'.
+ (put_char_id_table): Likewise.
+ (Fput_char_attribute): Use `XCHAR_TABLE' instead of
+ `XCHAR_ID_TABLE'.
+ (Fremove_char_attribute): Likewise.
+ (syms_of_chartab): Don't define type `char-id-table'.
+
+ * chartab.h (struct Lisp_Char_ID_Table): Deleted.
+ (char_id_table): Likewise.
+ (GC_CHAR_ID_TABLE_P): Likewise.
+ (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
+ (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
+ (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
+ (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
+ (get_char_id_table): Use `Lisp_Char_Table' instead of
+ `Lisp_Char_ID_Table'.
+ (put_char_id_table_0): Likewise.
+ (put_char_id_table): Likewise.
+
+2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
+
+ * chartab.h: Lisp_Byte_Table related codes are moved from
+ chartab.h.
+
+ * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
+
+2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
+
+ * chartab.h: Don't include "chartab.h".
+ (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
+ (Lisp_Char_ID_Table): Likewise.
+ (char_id_table): Likewise.
+ (XCHAR_ID_TABLE): Likewise.
+ (XSETCHAR_ID_TABLE): Likewise.
+ (CHAR_ID_TABLE_P): Likewise.
+ (GC_CHAR_ID_TABLE_P): Likewise.
+ (get_char_id_table): Likewise.
+
+ * char-ucs.h: Include "chartab.h".
+ (struct Lisp_Char_ID_Table): Moved to chartab.h.
+ (Lisp_Char_ID_Table): Likewise.
+ (char_id_table): Likewise.
+ (XCHAR_ID_TABLE): Likewise.
+ (XSETCHAR_ID_TABLE): Likewise.
+ (CHAR_ID_TABLE_P): Likewise.
+ (GC_CHAR_ID_TABLE_P): Likewise.
+ (get_char_id_table): Likewise.
+
+2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
+
+ * chartab.c (copy_uint8_byte_table): New function.
+ (copy_uint16_byte_table): New function.
+ (copy_byte_table): New function.
+ (map_over_uint8_byte_table): Modify to avoid huge numbers of
+ characters to call.
+ (map_over_uint16_byte_table): Likewise.
+ (map_over_byte_table): Likewise.
+ (get_byte_table): Move prototype to chartab.h.
+ (put_byte_table): Likewise.
+ (put_char_id_table_0): Moved to chartab.h.
+ (mark_char_table_entry): Don't define in XEmacs UTF-2000.
+ (char_table_entry_equal): Likewise.
+ (char_table_entry_hash): Likewise.
+ (char_table_entry_description): Likewise.
+ (char_table_entry): Likewise.
+ (make_char_table_entry): Likewise.
+ (copy_char_table_entry): Likewise.
+ (get_non_ascii_char_table_value): Likewise.
+ (map_over_charset_ascii): Likewise.
+ (map_over_charset_control_1): Likewise.
+ (map_over_charset_row): Likewise.
+ (map_over_other_charset): Likewise.
+ (mark_char_table): Modify for new structure in XEmacs UTF-2000.
+ (print_char_table): Likewise.
+ (char_table_equal): Likewise.
+ (char_table_hash): Likewise.
+ (char_table_description): Likewise.
+ (fill_char_table): Likewise.
+ (Fcopy_char_table): Likewise.
+ (get_char_table): Likewise.
+ (Fget_range_char_table): Likewise.
+ (put_char_table): Likewise.
+ (map_char_table): Likewise.
+ (syms_of_chartab): Don't define `char_table_entry' in XEmacs
+ UTF-2000.
+
+2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
+ `Vauto_fill_chars' in XEmacs UTF-2000.
+
+ * chartab.h (get_byte_table): New prototype [moved from
+ chartab.c].
+ (put_byte_table): Likewise [moved from chartab.c].
+ (put_char_id_table_0): New inline function [moved from chartab.c].
+ (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
+ (Lisp_Char_Table_Entry): Likewise.
+ (char_table_entry): Likewise.
+ (XCHAR_TABLE_ENTRY): Likewise.
+ (XSETCHAR_TABLE_ENTRY): Likewise.
+ (CHAR_TABLE_ENTRYP): Likewise.
+ (CHECK_CHAR_TABLE_ENTRY): Likewise.
+ (NUM_ASCII_CHARS): Likewise.
+ (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
+ (CHAR_TABLE_VALUE_UNSAFE): Likewise.
+
+2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * chartab.c (get_char_id_table): Change interface.
+ (put_char_id_table_0): New function.
+ (put_char_id_table): Change interface; new implementation.
+ (Fget_composite_char): Modify for interface change of
+ `get_char_id_table'.
+ (Fchar_variants): Likewise.
+ (add_char_attribute_alist_mapper): Likewise.
+ (Fchar_attribute_alist): Likewise.
+ (Fget_char_attribute): Likewise.
+ (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
+ as same as character as the first argument like `put-char-table';
+ modify for interface change of `put_char_id_table'.
+ (Fremove_char_attribute): Modify for interface change of
+ `put_char_id_table'.
+
+2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * text-coding.c: Sync up with XEmacs 21.2.41.
+ (COMPOSE_ADD_CHAR): Modify for interface change of
+ `get_char_id_table'.
+
+ * mule-charset.c (put_char_ccs_code_point): Modify for interface
+ change of `put_char_id_table'.
+ (remove_char_ccs): Likewise.
+
+ * chartab.h (put_char_id_table): Change interface.
+
+ * char-ucs.h (get_char_id_table): Change interface.
+ (charset_code_point): Modify for interface change of
+ `get_char_id_table'.
+ (encode_char_1): Likewise.
+
+2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * chartab.c (map_over_uint8_byte_table): Change arguments; add new
+ argument `ccs'.
+ (map_over_uint16_byte_table): Likewise.
+ (map_over_byte_table): Likewise.
+ (map_char_id_table): Add new argument `range' like
+ `map_char_table'.
+ (Fmap_char_attribute): Add new argument `range' like
+ `Fmap_char_table'.
+
+2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * chartab.c (map_over_uint8_byte_table): Change interface of
+ mapping function to use struct chartab_range instead of Emchar.
+ (map_over_uint16_byte_table): Likewise.
+ (map_over_byte_table): Likewise.
+ (map_char_id_table): Likewise.
+ (struct slow_map_char_id_table_arg): Deleted.
+ (slow_map_char_id_table_fun): Deleted.
+ (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
+ function `slow_map_char_table_fun' instead of struct
+ `slow_map_char_id_table_arg' and function
+ `slow_map_char_id_table_fun'.
+
+2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c: Move char-it-table related codes to chartab.c.
+ (Vutf_2000_version): Moved to chartab.c.
+ (Fdefine_char): Likewise.
+ (Ffind_char): Likewise.
+ (syms_of_mule_charset): Move types `uint8-byte-table',
+ `uint16-byte-table', `byte-table' and `char-id-table' to
+ chartab.c; move functions `char_attribute_list,
+ `find_char_attribute_table, `char_attribute_alist,
+ `get_char_attribute, `put_char_attribute, `remove_char_attribute,
+ `map_char_attribute, `define_char, `find_char, `char_variants and
+ `get_composite_char to chartab.c; move symbols `=>ucs',
+ `->decomposition', `compat', `isolated', `initial', `medial',
+ `final', `vertical', `noBreak', `fraction', `super', `sub',
+ `circle', `square', `wide', `narrow', `small' and `font' to
+ chartab.c.
+ (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
+ setting codes for `Vcharacter_composition_table' and
+ `Vcharacter_variant_table' to chartab.c.
+ (complex_vars_of_mule_charset): Move setting code for
+ `Vchar_attribute_hash_table' to chartab.c.
+
+ * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
+ (make_char_id_table): New prototype.
+ (put_char_id_table): Likewise.
+ (Fget_char_attribute): Likewise.
+
+ * chartab.c: Move char-id-table related code from mule-charset.c.
+ (Vutf_2000_version): Moved from mule-charset.c.
+
+ * char-ucs.h (Qucs): New external variable.
+ (put_char_ccs_code_point): New prototype.
+ (remove_char_ccs): Likewise.
+
+2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
+
+ * mule-charset.c (Vcharset_ucs_jis): New variable.
+ (Qucs_jis): Likewise.
+ (syms_of_mule_charset): Add new symbol `ucs-jis'.
+ (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
+
+ * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
+
+2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (map_over_uint8_byte_table): New function.
+ (map_over_uint16_byte_table): Likewise.
+ (map_over_byte_table): Likewise.
+ (map_char_id_table): Likewise.
+ (slow_map_char_id_table_fun): Likewise.
+ (Fmap_char_attribute): Likewise.
+ (syms_of_mule_charset): Add new function `map-char-attribute'.
- * file-coding.c (Fdefine_coding_system_alias): New function.
+2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
-1999-04-08 Olivier Galibert <galibert@pobox.com>
+ * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
+ (syms_of_mule_charset): Add new function `find-char'.
+
+2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
+ XEmacs UTF-2000.
+ (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
+ (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
+ XEmacs UTF-2000.
+ (complex_vars_of_mule_charset): Add new coded-charset
+ `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
+ `ideograph-gt-pj-*'.
- * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
- and -ascii fonts for displaying ascii instead of iso8859-1 only.
+ * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
+
+2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (encode_builtin_char_1): Purge codes about
+ {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
+ {MIN|MAX}_CHAR_HEBREW.
+ (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
+ don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
+
+ * char-ucs.h (MIN_CHAR_GREEK): Purged.
+ (MAX_CHAR_GREEK): Purged.
+ (MIN_CHAR_CYRILLIC): Purged.
+ (MAX_CHAR_CYRILLIC): Purged.
+ (MIN_CHAR_HEBREW): Commented out.
+ (MAX_CHAR_HEBREW): Likewise.
-1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
+2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Qto_ucs): New variable.
+ (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
+ (Fdefine_char): Likewise.
+ (syms_of_mule_charset): Add new symbol `=>ucs'.
+
+2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Fdecode_char): Fixed.
- * extents.c (set_extent_glyph_1): Make sure that the glyph we
- attach to the extent is valid.
+2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
-1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
+ * mule-charset.c (complex_vars_of_mule_charset): Modify registry
+ of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
+ "tcvn5712-1".
- * dired.c (user_name_completion): Mule-ize.
- (user_name_completion): Use xmalloc/xrealloc/xfree.
- (user_name_completion): Use DO_REALLOC.
- (user_name_completion): Cut down the number of static variables;
- use a structure.
- (user_name_completion): Username completion is always
- case-sensitive.
+2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
-1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
+ * mule-charset.c (Vcharset_ucs_big5): New variable.
+ (Qucs_big5): Likewise.
+ (syms_of_mule_charset): Add new symbol `ucs-big5'.
+ (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
- * fns.c (base64_decode_1): Remove COUNTER.
- (base64_decode_1): Accept CRLF in addition to CR.
- (base64_decode_1): Disallow a stray character after final EOF; the
- check was probably a remnant of buggy recode code.
+ * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
-1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
+2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * fns.c (init_provide_once): Provide `base64'.
+ * mule-charset.c (decode_builtin_char): Check Big5 code range
+ which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
-1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
+2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
- (Fbase64_encode_region): If buffer is read-only, bail out early.
- (Fbase64_decode_region): Ditto.
- (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
- compiler.
- (Fbase64_encode_string): Ditto.
- (Fbase64_decode_region): Ditto.
- (Fbase64_decode_string): Ditto.
+ * mule-charset.c (Vcharset_chinese_gb12345): New variable.
+ (Qchinese_gb12345): Likewise.
+ (Fdecode_builtin_char): Fixed.
+ (syms_of_mule_charset): Add `chinese-gb12345'.
+ (complex_vars_of_mule_charset): Add coded-charset
+ `chinese-gb12345'.
-1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
+ * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
+ (LEADING_BYTE_CHINESE_GB12345): New macro.
- * dired.c (Fdirectory_files): Remove redundant code.
+2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
-1999-03-05 Philip Aston <philipa@parallax.co.uk>
+ * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
+ and `latin-viscii-upper' for `latin-viscii'.
- * frame-msw.c Make raise-frame restore minimised windows.
+2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
-1999-03-05 Philip Aston <philipa@parallax.co.uk>
+ * mule-charset.c (Fdecode_builtin_char): Comment out
+ regularization code for ISO-IR GR representation.
- * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
- add magic newline.
+2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
-1999-03-05 Philip Aston <philipa@parallax.co.uk>
+ * mule-charset.c (decode_builtin_char): New function; renamed from
+ `make_builtin_char'; return -1 instead of signal.
+ (Fdecode_builtin_char): Use `decode_builtin_char'.
- * toolbar-msw.c Consider captions when deciding whether to rebuild
- toolbar. This fixes the initial toolbar display for those of us
- who don't like captions. These patches applied by Andy Piper.
+ * char-ucs.h (decode_builtin_char): New prototype; renamed from
+ `make_builtin_char'.
+ (DECODE_CHAR): Use `decode_builtin_char' instead of
+ `make_builtin_char'; use mapping table of `chinese-big5' for
+ `chinese-big5-{1,2}'.
-1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
+2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * XEmacs 21.2.13 is released
+ * text-coding.c (char_encode_big5): New function.
+ (char_finish_big5): Likewise.
+ (reset_encoding_stream): Use `char_encode_big5' and
+ `char_finish_big5' for CODESYS_BIG5.
+ (mule_encode): Don't use `encode_coding_big5'.
+ (encode_coding_big5): Deleted.
-1999-03-12 SL Baur <steve@xemacs.org>
+2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * file-coding.c: Guard ucs table initialization with ifdef MULE.
+ * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
+ 0x81- in XEmacs UTF-2000.
+ (detect_coding_big5): Likewise.
-1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
+2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * file-coding.c: docstring and comment improvements.
- (decode_ucs4) flag possible data loss with comment.
+ * mule-charset.c (Fdefine_char): Don't use a CCS property to
+ generate character-id if the CCS property does not have
+ corresponding predefined character.
+ (make_builtin_char): Return -1 if corresponding predefined
+ character is not found.
+ (Fdecode_char): Return nil if corresponding character is not
+ found.
+ (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
+ don't map to builtin ucs space.
-1999-03-10 Martin Buchholz <martin@xemacs.org>
+2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
- * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
- (ucs_to_char):
- (Fucs_char):
- (Fset_char_ucs):
+ * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
+ (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
+
+2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Vcharset_ideograph_gt): New variable.
+ (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
+ (Qideograph_gt): Likewise.
+ (Qideograph_gt_pj_{1..11}): Likewise.
+ (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
+ `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
+ `ideograph-gt-pj-11'.
+ (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
+ `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
+ `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
+
+ * char-ucs.h (LEADING_BYTE_GT): New macro.
+ (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
+ (MIN_CHAR_GT): Likewise.
+ (MAX_CHAR_GT): Likewise.
+
+2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
+ support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
+
+ * doprnt.c (unsigned_int_converters): Add `c'.
+ (emacs_doprnt_1): Use `XUINT' for unsigned integers.
+
+ * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
+ (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
+ `MIN_CHAR_MOJIKYO'.
+ (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
+ (MAX_CHAR_MOJIKYO_0): New macro.
+ (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
+
+2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Fdefine_char): Delete cemented out code.
+ (encode_builtin_char_1): Modify for new allocation of builtin
+ Mojikyo characters.
+
+ * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
+
+2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Vcharset_ucs_cns): New variable.
+ (Qucs_cns): New variable.
+ (syms_of_mule_charset): Add new symbol `ucs-cns'.
+ (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
+
+2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
+
+2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
+
+ * search.c (search_buffer): Make `charset_base_code' as
+ character-id >> 6 to eliminate the corresponding last byte in
+ UTF-8 representation [I'm not sure it is right thing].
+ (boyer_moore): Likewise.
+
+2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
+
+ * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
+ representation in MULE.
+
+2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * text-coding.c (Fmake_coding_system): Use
+ `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
+ `EXTERNAL_PROPERTY_LIST_LOOP'.
+
+2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * text-coding.c (decode_output_utf8_partial_char): New function.
+ (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
+
+2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * text-coding.c (decode_coding_utf8): Output original byte
+ sequence if it is broken; change order of conditions.
+
+ * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
+ of conditions.
+
+ * mb-multibyte.h (BYTE_ASCII_P):
+ Use bit ops for char-signedness safety.
+ (BYTE_C0_P): Use bit ops for char-signedness safety.
+ (BYTE_C1_P): Use bit ops for char-signedness safety.
+
+ * character.h: (XCHAR_OR_CHAR_INT):
+ Always use inline function.
+ Remove redundant type checking assert() - XINT will abort quite
+ nicely.
+
+2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * text-coding.c: (Fencode_shift_jis_char):
+ (Fencode_big5_char):
+ Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
+ Replace 0 with '\0' when working with bytes.
+ Replace initial "(" with "\(" in docstrings.
+
+ (Fmake_coding_system):
+ When type is ccl and value is vector, register it with a proper
+ symbol. And checks whether the given ccl program is valid.
+ (mule_decode): When calling ccl_driver, if src indicates
+ NULL pointer, set an empty string instead.
+ (mule_encode): Likewise.
+
+ (detect_eol_type):
+ (detect_coding_sjis):
+ (decode_coding_sjis):
+ (detect_coding_big5):
+ (decode_coding_big5):
+ (detect_coding_ucs4):
(decode_coding_ucs4):
- (encode_coding_ucs4):
(detect_coding_utf8):
(decode_coding_utf8):
- (encode_utf8):
- (encode_coding_utf8):
- Add CHECK_* macros where needed to avoid crashes.
- #ifdef out all composite character support using
- #ifdef ENABLE_COMPOSITE_CHARS
- Use normal XEmacs coding standards.
- Fix docstrings.
- Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
+ (detect_coding_iso2022):
+ (decode_coding_iso2022):
+ (decode_coding_no_conversion):
+ (mule_decode):
+ Make all detecting and decoding functions take an Extbyte * arg.
+ (text_encode_generic):
+ (encode_coding_big5):
+ (encode_coding_no_conversion):
+ (mule_encode):
+ Make all encoding functions take a Bufbyte * arg.
+ Use size_t instead of unsigned int for memory sizes.
+ Only cast to unsigned char whenever dereferencing Extbyte *.
+
+ (struct lrecord_description fcd_description_1): Use countof.
+ (complex_vars_of_file_coding):
+ Use countof instead of sizeof.
+ Use CHECK_NATNUM instead of CHECK_INT.
+
+2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Fget_char_attribute): Add new optional argument
+ `default-value'.
+ (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
+ (remove_char_ccs): Likewise.
+
+2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * text-coding.c (char_encode_shift_jis): New implementation in
+ UTF-2000.
+ (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
+ ...)'.
+
+ * mule-charset.c (Vcharset_chinese_big5): New variable in
+ UTF-2000.
+ (Qchinese_big5): New variable in UTF-2000.
+ (BIG5_SAME_ROW): New macro in UTF-2000.
+ (make_builtin_char): Use builtin characters of
+ `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
+ characters of `Vcharset_chinese_big5'.
+ (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
+ (complex_vars_of_mule_charset): Add new coded-charset
+ `chinese-big5' in UTF-2000.
+
+ * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
+ (Vcharset_chinese_big5): New external variable declaration.
+ (Vcharset_japanese_jisx0208_1990): Likewise.
+
+2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (expand_uint8_byte_table_to_uint16): New
+ function.
+ (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
+
+2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (complex_vars_of_mule_charset): Define new macro
+ `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
+ `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
+ `mojikyo-pj-*'.
+
+2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * text-coding.c (decode_coding_big5): Modify for UTF-2000.
+
+2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
+ to 0.17.
+
+2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
+ for `CHARSET_BY_ATTRIBUTES'.
+ (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
+ `CHARSET_BY_ATTRIBUTES'.
+
+ * text-coding.c (struct decoding_stream): Rename member `CH' to
+ `CPOS'.
+ (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
+ (decode_coding_sjis): Likewise.
+ (decode_coding_big5): Likewise.
+ (decode_coding_ucs4): Likewise.
+ (decode_coding_utf8): Likewise.
+ (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
+ `CHARSET_BY_ATTRIBUTES'.
+ (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
+ `str->counter'; decode 3, 4 bytes sets.
+ (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
+ sets.
+ (decode_coding_no_conversion): Use `str->cpos' instead of
+ `str->ch'.
+
+ * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
+ (Qmojikyo_2022_1): New variable.
+ (make_charset): Don't use `CHARSET_TYPE_*'.
+ (range_charset_code_point): Support coded-charset
+ `mojikyo-2022-1'.
+ (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
+ (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
+ `CHARSET_BY_ATTRIBUTES'.
+ (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
+ `CHARSET_BY_ATTRIBUTES'.
+ (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
+ (complex_vars_of_mule_charset): Add new coded-charset
+ `mojikyo-2022-1'.
+
+ * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
+ interface; changed to inline function.
+
+ * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
+ (LEADING_BYTE_MOJIKYO_2022_1): New macro.
+ (LEADING_BYTE_MOJIKYO_2022_2): New macro.
+ (CHARSET_TYPE_94): Deleted.
+ (CHARSET_TYPE_94X94): Deleted.
+ (CHARSET_TYPE_96): Deleted.
+ (CHARSET_TYPE_96X96): Deleted.
+ (CHARSET_TYPE_128): Deleted.
+ (CHARSET_TYPE_128X128): Deleted.
+ (CHARSET_TYPE_256): Deleted.
+ (CHARSET_TYPE_256X256): Deleted.
+ (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
+ to inline function.
+ (DECODE_MOJIKYO_2022): New inline function.
+ (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
+ `Vcharset_mojikyo_2022_1'.
+
+2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
+ instead of `EQ'.
+ (put_byte_table): Likewise.
+ (char_id_table_equal): Use `get_byte_table' [new implementation].
+
+2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c: Include <limits.h> in UTF-2000.
+ (BT_UINT8_MIN): New macro in UTF-2000.
+ (BT_UINT8_MAX): New macro in UTF-2000.
+ (BT_UINT8_t): New macro in UTF-2000.
+ (BT_UINT8_nil): New macro in UTF-2000.
+ (BT_UINT8_unbound): New macro in UTF-2000.
+ (INT_UINT8_P): New inline function in UTF-2000.
+ (UINT8_VALUE_P): New inline function in UTF-2000.
+ (UINT8_ENCODE): New inline function in UTF-2000.
+ (UINT8_DECODE): New inline function in UTF-2000.
+ (mark_uint8_byte_table): New function in UTF-2000.
+ (print_uint8_byte_table): New function in UTF-2000.
+ (uint8_byte_table_equal): New function in UTF-2000.
+ (uint8_byte_table_hash): New function in UTF-2000.
+ (make_uint8_byte_table): New function in UTF-2000.
+ (uint8_byte_table_same_value_p): New function in UTF-2000.
+ (BT_UINT16_MIN): New macro in UTF-2000.
+ (BT_UINT16_MAX): New macro in UTF-2000.
+ (BT_UINT16_t): New macro in UTF-2000.
+ (BT_UINT16_nil): New macro in UTF-2000.
+ (BT_UINT16_unbound): New macro in UTF-2000.
+ (INT_UINT16_P): New inline function in UTF-2000.
+ (UINT16_VALUE_P): New inline function in UTF-2000.
+ (UINT16_ENCODE): New inline function in UTF-2000.
+ (UINT16_DECODE): New inline function in UTF-2000.
+ (UINT8_TO_UINT16): New inline function in UTF-2000.
+ (mark_uint16_byte_table): New function in UTF-2000.
+ (print_uint16_byte_table): New function in UTF-2000.
+ (uint16_byte_table_equal): New function in UTF-2000.
+ (uint16_byte_table_hash): New function in UTF-2000.
+ (make_uint16_byte_table): New function in UTF-2000.
+ (uint16_byte_table_same_value_p): New function in UTF-2000.
+ (print_byte_table): New function in UTF-2000.
+ (byte-table): Use `print_byte_table' as printer.
+ (make_byte_table): Delete second argument `older'.
+ (byte_table_same_value_p): New function in UTF-2000.
+ (copy_byte_table): Deleted.
+ (get_byte_table): New function in UTF-2000.
+ (put_byte_table): New function in UTF-2000.
+ (print_char_id_table): New function in UTF-2000.
+ (char-id-table): Use `print_char_id_table' as printer.
+ (make_char_id_table): Delete second argument `older'.
+ (get_char_id_table): Use `get_byte_table [new implementation].
+ (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
+ implementation].
+ (Ffind_char_attribute_table): New function in UTF-2000.
+ (mark_charset): Mark `cs->encoding_table' in UTF-2000.
+ (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
+ `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
+ (syms_of_mule_charset): Add new function
+ `find-char-attribute-table' in UTF-2000.
+
+ * lrecord.h (enum lrecord_type): Add
+ `lrecord_type_uint16_byte_table' and
+ `lrecord_type_uint8_byte_table'.
+
+ * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
+ (Lisp_Uint8_Byte_Table): New type.
+ (XUINT8_BYTE_TABLE): New macro.
+ (XSETUINT8_BYTE_TABLE): New macro.
+ (UINT8_BYTE_TABLE_P): New macro.
+ (GC_UINT8_BYTE_TABLE_P): New macro.
+ (struct Lisp_Uint16_Byte_Table): New structure.
+ (Lisp_Uint16_Byte_Table): New type.
+ (XUINT16_BYTE_TABLE): New macro.
+ (XSETUINT16_BYTE_TABLE): New macro.
+ (UINT16_BYTE_TABLE_P): New macro.
+ (GC_UINT16_BYTE_TABLE_P): New macro.
+
+2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
+ (Vcharacter_ideographic_strokes_table): Deleted.
+ (Vcharacter_total_strokes_table): Deleted.
+ (Vcharacter_morohashi_daikanwa_table): Deleted.
+ (Vcharacter_decomposition_table): Deleted.
+ (Qname): Deleted because it is duplicated.
+ (Qideographic_radical): Deleted.
+ (Qideographic_strokes): Deleted.
+ (Qtotal_strokes): Deleted.
+ (Qmorohashi_daikanwa): Deleted.
+ (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
+ `ideographic-radical', `ideographic-strokes', `total-strokes',
+ `morohashi-daikanwa' and `->decomposition'.
+ (Fget_char_attribute): Likewise.
+ (Fput_char_attribute): Likewise; use `make-vector' instead of
+ `make_older_vector' for `->decomposition' value.
+ (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
+ `ideograph-daikanwa'.
+ (syms_of_mule_charset): Delete builtin symbols `name',
+ `ideographic-radical', `ideographic-strokes', `total-strokes' and
+ `morohashi-daikanwa'.
+ (vars_of_mule_charset): Don't setup
+ `Vcharacter_ideographic_radical_table',
+ `Vcharacter_ideographic_strokes_table',
+ `Vcharacter_total_strokes_table',
+ `Vcharacter_morohashi_daikanwa_table' and
+ `Vcharacter_decomposition_table'.
+
+2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
+ `make_older_vector', `make_vector_newer_1' and
+ `make_vector_newer'.
+
+ * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
+ `make_older_vector' and `make_vector_newer'.
+
+ * config.h.in (HAVE_GGC): New macro.
+
+2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (struct char_attribute_list_closure): New
+ structure in UTF-2000.
+ (add_char_attribute_to_list_mapper): New function in UTF-2000.
+ (Fchar_attribute_list): Likewise.
+ (Fset_charset_mapping_table): Use `make_vector_newer'.
+ (Fdecode_builtin_char): New function in UTF-2000.
+ (syms_of_mule_charset): Add new function `char-attribute-list' and
+ `decode-builtin-char' in UTF-2000.
+
+ * lisp.h (make_vector_newer): New prototype.
+
+ * alloc.c (make_vector_newer_1): New function.
+ (make_vector_newer): New function.
+
+2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
+ 50100)'.
+
+2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Vchar_attribute_hash_table): New variable.
+ (Vcharacter_attribute_table): Deleted.
+ (Vcharacter_name_table): Deleted.
+ (put_char_attribute): Deleted.
+ (remove_char_attribute): Deleted.
+ (struct char_attribute_alist_closure): New structure.
+ (add_char_attribute_alist_mapper): New function.
+ (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
+ of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
+ (Fget_char_attribute): Likewise.
+ (Fput_char_attribute): Likewise.
+ (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
+ of `remove_char_attribute'.
+ (Fdefine_char): Return character.
+ (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
+ and `Vcharacter_name_table'.
+ (complex_vars_of_mule_charset): Likewise
+ `Vchar_attribute_hash_table'.
+
+2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * character.h (CHARC_CHARSET): New macro.
+ (CHARC_CHARSET_ID): New macro.
+ (CHARC_CODE_POINT): New macro.
+ (CHARC_COLUMNS): New macro.
+ (CHARC_TO_CHAR): New inline function.
+ (CHARC_EQ): New inline function.
+ (CHARC_ASCII_EQ): New inline function.
+ (CHARC_IS_SPACE): New inline function.
+ (ASCII_TO_CHARC): New inline function.
+
+ * char-ucs.h (encode_char_2): Deleted.
+ (ENCODE_CHAR): Use `encode_char_1' again.
+ (breakup_char_1): Likewise.
+ (CHAR_TO_CHARC): New inline function.
+
+ * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
+
+2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
+ `CHAR_TO_CHARC' and `CHARC_CHARSET'.
+ (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
+ (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
+ (create_string_text_block): Use `CHARC_ASCII_EQ' and
+ `CHARC_IS_SPACE'.
+ (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
+
+ * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
+ `CHARC_CODE_POINT'.
+ (x_output_display_block): Use `CHARC_CHARSET' and
+ `CHARC_ASCII_EQ'.
+
+ * redisplay-tty.c (tty_output_display_block): Use
+ `CHARC_ASCII_EQ'.
+ (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
+
+ * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
+
+ * insdel.c (find_charsets_in_charc_string): Use
+ `CHARC_CHARSET_ID'.
+ (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
+ (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
+ (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
+ (convert_charc_string_into_malloced_string): Likewise.
+
+2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
+ instead of <Emchar_dynarr *> for buf; use
+ `convert_bufbyte_string_into_charc_dynarr' instead of
+ `convert_bufbyte_string_into_emchar_dynarr'; use
+ `find_charsets_in_charc_string' instead of
+ `find_charsets_in_emchar_string'.
-1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
+ * redisplay.h:
+ - Include "character.h".
+ (struct rune): New member `cglyph'; delete member `chr'.
+
+ * redisplay.c (redisplay_text_width_charc_string): New function;
+ delete `redisplay_text_width_emchar_string'.
+ (rtw_charc_dynarr): New variable; renamed from
+ `rtw_emchar_dynarr'.
+ (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
+ `rtw_emchar_dynarr'; use
+ `convert_bufbyte_string_into_charc_dynarr' instead of
+ `convert_bufbyte_string_into_emchar_dynarr'; use
+ `redisplay_text_width_charc_string' instead of
+ `redisplay_text_width_emchar_string'.
+ (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
+ instead of `rtw_emchar_dynarr'; use
+ `convert_bufbyte_string_into_charc_dynarr' instead of
+ `convert_bufbyte_string_into_emchar_dynarr'.
+ (add_emchar_rune): Add <Charc> instead of <Emchar>; use
+ `redisplay_text_width_charc_string' instead of
+ `redisplay_text_width_emchar_string'.
+ (create_text_block): Modify for <struct rune> change.
+ (generate_formatted_string_db): Likewise.
+ (create_string_text_block): Likewise.
+ (pixel_to_glyph_translation): Likewise.
+
+ * redisplay-x.c (separate_textual_runs): Use <const Charc *>
+ instead of <const Emchar *>.
+ (x_text_width): Likewise.
+ (x_output_display_block): Use <Charc_dynarr *> instead
+ <Emchar_dynarr *>; modify for <structure rune> change.
+ (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
+ *>.
+
+ * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
+ <const Emchar *>; use `charc_string_displayed_columns' instead of
+ `emchar_string_displayed_columns'.
+ (tty_output_display_block): Use <Charc_dynarr *> instead of
+ <Emchar_dynarr *> for buf; modify for <structure rune> change; use
+ `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
+ (tty_output_charc_dynarr_dynarr): New variable; renamed from
+ `tty_output_emchar_dynarr_dynarr'.
+ (tty_output_charc_dynarr): New function; delete
+ `tty_output_charc_dynarr'.
+
+ * redisplay-output.c (compare_runes): Modify for `struct rune'.
+ (redisplay_output_layout): Use <Charc_dynarr *> instead of
+ <Emchar_dynarr *> for buf; use
+ `convert_bufbyte_string_into_charc_dynarr' instead of
+ `convert_bufbyte_string_into_emchar_dynarr'.
+
+ * frame.c (title_string_charc_dynarr): New variable; renamed from
+ `title_string_emchar_dynarr'.
+ (generate_title_string): Use `title_string_charc_dynarr' instead
+ of `title_string_emchar_dynarr'; use
+ `convert_charc_string_into_malloced_string' instead of
+ `convert_emchar_string_into_malloced_string'.
+ (init_frame): Use `title_string_charc_dynarr' instead of
+ `title_string_emchar_dynarr'.
- * file-coding.c (make-coding-system): Add description about
- `ucs-4' and `utf-8'.
- (detection_state): Modify to implement ucs-4 and utf-8.
- (detect_coding_type): Likewise.
- (detect_coding_ucs4): New implementation.
- (detect_coding_utf8): New implementation.
- (encode_utf8): fixed.
- (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
- `utf-8'.
-
-1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
-
- * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
- 2022 registry to private area.
-
-1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
-
- * file-coding.c (encode_utf8): New function.
- (encode_coding_utf8): New implementation.
-
-1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
-
- * file-coding.c (ucs_to_mule_table): New variable; abolish
- `Vucs_to_mule_table'
- (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
- (set-ucs-char): New function.
- (ucs_to_char): New function.
- (ucs-char): New function.
- (set-char-ucs): New function.
- (char-ucs): New function.
- (decode_ucs4): Use `ucs_to_char'.
- (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
- `mule-to-ucs-table'.
-
-1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
-
- * chartab.h: EXFUN `Fget_char_table'.
-
- * file-coding.c (encode_ucs4): New function.
- (encode_coding_ucs4): Use `encode_ucs4'.
-
-1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
-
- * file-coding.c (decode_coding_ucs4): New implementation.
-
-1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
-
- * file-coding.c (decode_coding_ucs4): fixed.
-
- * file-coding.c (Vmule_to_ucs_table): New variable.
- (mule_char_to_ucs4): New function.
- (encode_coding_ucs4): New implementation.
- (complex_vars_of_mule_coding): Define variable
- `mule-to-ucs-table'.
-
-1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
-
- * file-coding.c (decode_coding_utf8): New implementation.
-
-1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
-
- * file-coding.c (decode_coding_utf8): fixed.
-
-1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
-
- * file-coding.c (Vucs_to_mule_table): New variable.
- (decode_ucs4): Refer `Vucs_to_mule_table'.
- (complex_vars_of_mule_coding): Define variable
- `ucs-to-mule-table'.
-
-1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
-
- * file-coding.c (detect_coding_ucs4): New function (not
- implemented yet).
- (decode_coding_ucs4): New function.
- (encode_coding_ucs4): New function (not implemented yet).
- (detect_coding_utf8): New function (not implemented yet).
- (decode_coding_utf8): New function.
- (encode_coding_utf8): New function (not implemented yet).
- (make-coding-system): New type `ucs4' and `utf8'.
- (coding-system-type): Likewise.
- (detection_state): Add `ucs4' and `utf8'.
- (detect_coding_type): Likewise.
- (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
- (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
- (decode_ucs4): New function (very incomplete).
- (syms_of_mule_coding): Add `ucs4' and `utf8'.
-
- * file-coding.h: Add definitions for UCS-4 and UTF-8.
-
-1999-03-08 Martin Buchholz <martin@xemacs.org>
-
- * mule-charset.c:
- (non_ascii_valid_char_p):
- (lookup_composite_char):
- (composite_char_string):
- (make-composite-char):
- (composite-char-string):
- (syms_of_mule_charset):
- (complex_vars_of_mule_charset):
- * mule-charset.h (LEADING_BYTE_COMPOSITE):
- (CHAR_LEADING_BYTE):
- (MAKE_CHAR):
- * file-coding.h (CODING_STATE_COMPOSITE):
- (CODING_STATE_ISO2022_LOCK):
- (iso_esc_flag):
- (LEADING_BYTE_COMPOSITE):
- * file-coding.c (struct iso2022_decoder):
- (decoding_closer):
- (reset_iso2022):
- (parse_iso2022_esc):
- (encode_coding_iso2022):
- #ifdef out all composite character support using
- #ifdef ENABLE_COMPOSITE_CHARS
+ * console.h:
+ - Include "character.h".
+ (struct console_methods): Use <const Charc *> instead of <const
+ Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
+ <Emchar_dynarr *> in output_string_method.
+
+ * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
+ <Emchar_dynarr *>.
+
+ * console-stream.c (stream_text_width): Use <const Charc *>
+ instead of <const Emchar *>.
+
+ * character.h (Charc_dynarr): New type.
+
+ * char-ucs.h (structure Charc): New structure; define new type
+ `Charc'.
+
+ * char-lb.h (DECODE_CHAR): New inline function.
+ (encode_char_1): New inline function.
+ (ENCODE_CHAR): New macro.
+ (structure Charc): New structure; define new type `Charc'.
+
+ * char-1byte.h (Vcharset_control_1): New macro.
+ (Vcharset_latin_iso8859_1): New macro.
+ (DECODE_CHAR): New inline function.
+ (encode_char_1): New inline function.
+ (ENCODE_CHAR): New macro.
+ (structure Charc): New structure; define new type `Charc'.
+
+ * insdel.c (find_charsets_in_charc_string): New function; delete
+ `find_charsets_in_emchar_string'.
+ (charc_string_displayed_columns): New function; delete
+ `emchar_string_displayed_columns'.
+ (convert_bufbyte_string_into_charc_dynarr): New function; delete
+ `convert_bufbyte_string_into_emchar_dynarr'.
+ (convert_charc_string_into_bufbyte_dynarr): New function; delete
+ `convert_charc_string_into_bufbyte_dynarr'.
+ (convert_charc_string_into_malloced_string): New function; delete
+ `convert_charc_string_into_malloced_string'.
+
+ * buffer.h (find_charsets_in_charc_string): New prototype; delete
+ `find_charsets_in_emchar_string'.
+ (charc_string_displayed_columns): New prototype; delete
+ `emchar_string_displayed_columns'.
+ (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
+ `convert_charc_string_into_bufbyte_dynarr'.
+ (convert_charc_string_into_malloced_string): New prototype; delete
+ `convert_charc_string_into_malloced_string'.
+
+2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
+
+2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
+
+ * char-ucs.h: Use <short> for <Charset_ID>.
+
+ * mule-charset.h, char-1byte.h: Use <unsigned char> for
+ <Charset_ID>.
+
+2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
+ to 0.16.
+
+2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
+ variable.
+ (Qmorohashi_daikanwa): New variable.
+ (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
+ for `morohashi-daikanwa' attribute.
+ (Fget_char_attribute): Likewise.
+ (Fput_char_attribute): Likewise.
+ (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
+ has the same value of `ideograph-daikanwa'.
+ (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
+ (vars_of_mule_charset): Setup
+ `Vcharacter_morohashi_daikanwa_table'.
+
+2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Fchar_attribute_alist): Add coded-charset
+ attributes.
+ (add_charset_to_list_mapper): Add `key' instead of
+ `XCHARSET_NAME (value)' to return aliases.
+
+2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Vcharacter_ideographic_radical_table): New
+ variable.
+ (Vcharacter_ideographic_strokes_table): New variable.
+ (Qideographic_radical): New variable.
+ (Qideographic_strokes): New variable.
+ (Fchar_attribute_alist): Use
+ `Vcharacter_ideographic_radical_table' for `ideographic-radical'
+ attribute; use `Vcharacter_ideographic_strokes_table' for
+ `ideographic-strokes' attribute.
+ (Fget_char_attribute): Likewise.
+ (Fput_char_attribute): Likewise.
+ (syms_of_mule_charset): Add new symbol `ideographic-radical' and
+ `ideographic-strokes'.
+ (vars_of_mule_charset): Setup
+ `Vcharacter_ideographic_radical_table' and
+ `Vcharacter_ideographic_strokes_table'.
+
+2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Vcharacter_total_strokes_table): New variable.
+ (Qtotal_strokes): New variable.
+ (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
+ `total-strokes' attribute.
+ (Fget_char_attribute): Likewise.
+ (Fput_char_attribute): Likewise.
+ (syms_of_mule_charset): Add new symbol `total-strokes'.
+ (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
+
+2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Vcharacter_decomposition_table): New variable.
+ (Fchar_attribute_alist): Add `name' and `->decomposition' if they
+ are found.
+ (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
+ `->decomposition' attribute.
+ (Fput_char_attribute): Likewise.
+ (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
+
+2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (decoding_table_check_elements): New function.
+ (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
+
+2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Fset_charset_mapping_table): Use
+ `put_char_ccs_code_point'.
+
+2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (decoding_table_put_char): New inline function.
+ (put_char_ccs_code_point): Use `decoding_table_put_char'.
+
+2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
+ (XCHARSET_BYTE_SIZE): New macro.
+ (decoding_table_remove_char): New inline function.
+ (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
+ `decoding_table_remove_char'.
+ (remove_char_ccs): Use `decoding_table_remove_char'.
+ (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
+
+2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Vcharacter_name_table): New variable.
+ (Qname): New variable.
+ (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
+ attribute.
+ (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
+ `Vcharacter_name_table' for `name' attribute.
+ (Fremove_char_attribute): Use function `remove_char_ccs'.
+ (put_char_ccs_code_point): New function.
+ (remove_char_ccs): New function.
+ (syms_of_mule_charset): Add new symbol `name'.
+ (vars_of_mule_charset): Setup `Vcharacter_name_table'.
+
+2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (make_byte_table): Add new argument `older'.
+ (make_char_id_table): Likewise.
+ (copy_char_id_table): Comment out because it is not used.
+ (put_char_id_table): Modify for `make_byte_table'.
+ (Fput_char_attribute): Make encoding_table as older object;
+ inherit older bit of `Vcharacter_composition_table'.
+ (mark_charset): Don't mark `cs->encoding_table'.
+ (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
+ normal object; make `Vcharacter_composition_table' as an older
+ object; delete staticpro for `Vcharacter_composition_table'; make
+ `Vcharacter_variant_table' as a normal object.
+
+ * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
+ (mark_object): Don't check older object in UTF-2000.
+
+ * lrecord.h (struct lrecord_header): Add new member `older' in
+ UTF-2000.
+ (set_lheader_implementation): Setup `SLI_header->older' in
+ UTF-2000.
+ (set_lheader_older_implementation): New macro in UTF-2000.
+ (OLDER_RECORD_P): New macro in UTF-2000.
+ (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
+ (alloc_older_lcrecord): New prototype in UTF-2000.
+ (alloc_older_lcrecord_type): New macro in UTF-2000.
+
+2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (byte_table_description): Use
+ `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
+ (char_id_table_description): Delete bogus `, 1'.
+ (Fget_char_attribute): Refer encoding_table of each coded-charset
+ to get value of coded-charset attribute of a character.
+ (Fput_char_attribute): Use `make_older_vector' instead of
+ `make_vector'; use encoding_table of each coded-charset to store
+ value of coded-charset attribute of a character.
+ (Fremove_char_attribute): Use encoding_table of each coded-charset
+ to store value of coded-charset attribute of a character.
+ (mark_charset): Mark `cs->encoding_table'; don't mark
+ `cs->decoding_table'.
+ (charset_description): Add description of new member
+ `encoding_table'.
+ (make_charset): Initialize `encoding_table'.
+
+ * char-ucs.h (struct Lisp_Charset): Add new member
+ `encoding_table'.
+ (CHARSET_ENCODING_TABLE): New macro.
+ (XCHARSET_ENCODING_TABLE): New macro.
+ (charset_code_point): New implementation.
+ (encode_char_1): Likewise.
+
+ * alloc.c (all_older_lcrecords): New variable in UTF-2000.
+ (disksave_object_finalization_1): Call finalizers of
+ `all_older_lcrecords' in UTF-2000.
+ (make_older_vector): New function in UTF-2000.
+ (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
+ UTF-2000.
+
+ * lisp.h (make_older_vector): New prototype in UTF-2000.
+
+2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * lrecord.h (enum lrecord_type): Rename
+ `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
+
+ * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
+ `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
+ `get_char_code_table'.
+
+ * mule-charset.c (mark_char_id_table): Renamed from
+ `mark_char_code_table'.
+ (char_id_table_equal): Renamed from `char_code_table_equal'.
+ (char_id_table_hash): Renamed from `char_code_table_hash'.
+ (make_char_id_table): Renamed from `make_char_code_table'.
+ (copy_char_id_table): Renamed from `copy_char_code_table'.
+ (get_char_id_table): Renamed from `get_char_code_table'.
+ (put_char_id_table): Renamed from `put_char_code_table'.
+ (to_char_id): Renamed from `to_char_code'.
+
+ * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
+ `Lisp_Char_Code_Table'.
+ (char_id_table): Renamed from `char_code_table'.
+ (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
+ (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
+ (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
+ (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
+ (get_char_id_table): Renamed from `get_char_code_table'.
+
+2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * lrecord.h (enum lrecord_type): Rename
+ `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
+
+ * mule-charset.c (mark_byte_table): Renamed from
+ `mark_char_byte_table'.
+ (byte_table_equal): Renamed from `char_byte_table_equal'.
+ (byte_table_hash): Renamed from `byte_table_hash'.
+ (make_byte_table): Renamed from `make_byte_table'.
+ (copy_byte_table): Renamed from `copy_char_byte_table'.
+
+ * char-ucs.h (struct Lisp_Byte_Table): Renamed from
+ `Lisp_Char_Byte_Table'.
+ (byte_table): Renamed from `char_byte_table'.
+ (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
+ (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
+ (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
+ (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
+
+2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
+ (dfc_convert_to_internal_format): Likewise.
+
+ * text-coding.c (Fcoding_system_canonical_name_p): New function.
+ * text-coding.c (Fcoding_system_alias_p): New function.
+ * text-coding.c (Fcoding_system_aliasee): New function.
+ * text-coding.c (append_suffix_to_symbol): New function.
+ * text-coding.c (dangling_coding_system_alias_p): New function.
+ * text-coding.c (Ffind_coding_system):
+ * text-coding.c (Fcopy_coding_system):
+ * text-coding.c (encode_coding_no_conversion):
+ * text-coding.c (syms_of_file_coding):
+ * text-coding.c (vars_of_file_coding):
+ Rewrite coding system alias code.
+ Allow nested aliases, like symbolic links.
+ Allow redefinition of coding system aliases.
+ Prevent existence of dangling coding system aliases.
+ Eliminate convert_to_external_format.
+ Eliminate convert_to_internal_format.
+
+ * text-coding.c: Change enum eol_type to eol_type_t.
+
+2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
+ of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
+
+ * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
+ MIN_CHAR_MOJIKYO + 94 * 60 * 22.
+
+2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
+ `ideograph-daikanwa'.
+
+ * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
+ (Vcharset_ucs_bmp): Likewise.
+ (Vcharset_mojikyo): Add new extern variable definition.
+ (Vcharset_latin_iso8859_2): Deleted because it is not used.
+ (Vcharset_latin_iso8859_3): Likewise.
+ (Vcharset_latin_iso8859_4): Likewise.
+ (Vcharset_latin_iso8859_9): Likewise.
+ (Vcharset_latin_viscii_lower): Likewise.
+ (Vcharset_latin_viscii_upper): Likewise.
+ (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
+ `mojikyo' code-point is used to decode.
+ (encode_char_2): New function [to convert `mojikyo' code-point to
+ Mojikyo font encoding].
+ (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
+ (breakup_char_1): Likewise.
+ (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
+
+2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * text-coding.c (Fmake_coding_system): Add document about
+ `disable-composition' property.
+
+2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * text-coding.c (Qdisable_composition): New variable; delete
+ `Qcomposite'.
+ (Fmake_coding_system): Add new property `disable-composite';
+ delete property `composite'.
+ (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
+ instead of `!CODING_SYSTEM_COMPOSITE'.
+ (syms_of_file_coding): Add new symbol `disable-composition';
+ delete symbol `composite'.
+
+ * file-coding.h (struct Lisp_Coding_System): Add
+ `disable_composition'; delete `enable_composition'.
+ (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
+ `CODING_SYSTEM_COMPOSITE'.
+ (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
+ `XCODING_SYSTEM_COMPOSITE'.
+
+2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
+ to 0.15.
+
+2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * text-coding.c (Qcomposite): New variable.
+ (Fmake_coding_system): Add new property `composite'.
+ (struct decoding_stream): Add `combined_char_count',
+ `combined_chars' and `combining_table' in UTF-2000.
+ (COMPOSE_FLUSH_CHARS): New macro.
+ (COMPOSE_ADD_CHAR): New macro.
+ (reset_decoding_stream): Reset `str->combined_char_count' and
+ `str->combining_table' in UTF-2000.
+ (decode_coding_iso2022): Modify for character-decomposition.
+ (syms_of_file_coding): Add new symbol `composite'.
+
+2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
+ (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
+ of `Vcharacter_composition_table' if `->decomposition' property
+ has only 1 element.
+ (Qlatin_tcvn5712): New variable.
+ (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
+ (complex_vars_of_mule_charset): Add new coded-charset
+ `latin-tcvn5712'.
+
+ * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
+
+2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * file-coding.h (struct Lisp_Coding_System): Add
+ `enable_composition'.
+ (CODING_SYSTEM_COMPOSITE): New macro.
+ (XCODING_SYSTEM_COMPOSITE): New macro.
+
+2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
+
+ * mule-canna.c (c2mu): Fix problem with UTF-2000.
+
+2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
+
+ * mule-charset.c (Fput_char_attribute): Don't make mapping-table
+ if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
+
+2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
+
+ * mule-charset.c (Vcharset_mojikyo): New variable.
+ (Fdefine_char): Don't use coded-charset which does not have
+ non-builtin character range to allocate character-id.
+ (Qmojikyo): New variable.
+ (syms_of_mule_charset): Add new symbol `mojikyo'.
+ (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
+
+ * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
+ (LEADING_BYTE_MOJIKYO): New macro.
+ (MIN_CHAR_MOJIKYO): New macro.
+ (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
+ (MAX_CHAR_MOJIKYO): New macro.
+
+2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
+
+ * mule-charset.c (remove_char_attribute): Fixed.
+
+2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
+
+ * mule-charset.c (remove_char_attribute): New function.
+ (Fremove_char_attribute): New function.
+ (encode_builtin_char_1): Comment out builtin-support for
+ greek-iso8859-7 and cyrillic-iso8859-5.
+ (Fdecode_char): Check `code' is an integer.
+ (syms_of_mule_charset): Add `remove-char-attribute'.
+ (MIN_CHAR_GREEK): Deleted.
+ (MAX_CHAR_GREEK): Likewise.
+ (MIN_CHAR_CYRILLIC): Likewise.
+ (MAX_CHAR_CYRILLIC): Likewise.
+ (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
+ MAX_CHAR_GREEK for `greek-iso8859-7'.
+
+ * char-ucs.h (MIN_CHAR_GREEK): Comment out.
+ (MAX_CHAR_GREEK): Likewise.
+ (MIN_CHAR_CYRILLIC): Likewise.
+ (MAX_CHAR_CYRILLIC): Likewise.
+
+2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
+
+ * mule-charset.c (Fdefine_char): Fix problem when new code-point
+ format is used without `ucs' property.
+ (Fdecode_char): Fix problem with GR representation.
+ (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
+ `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
- * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
+2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
-1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
+ * mule-charset.c (make_builtin_char): New function.
+ (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
+ (Fset_charset_mapping_table): Modify for new representation of
+ code-point.
+ (Fdecode_char): New function.
+ (syms_of_mule_charset): Add new builtin function `decode-char' in
+ UTF-2000.
- * fns.c (Fbase64_encode_string): Calculate `allength' in the same
- way of `Fbase64_encode_region'.
+ * char-ucs.h (make_builtin_char): New prototype.
+ (DECODE_CHAR): New inline function.
+ (MAKE_CHAR): Use `DECODE_CHAR'.
-1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
+2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
- * fns.c (base64_encode_1): Don't add a newline at the tail.
+ * text-coding.c (parse_charset_conversion_specs): Use
+ `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
+ `XCHARSET_TYPE'.
+ (iso2022_designate): Likewise.
-1999-03-08 Andy Piper <andy@xemacs.org>
+ * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
+ `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
- * menubar-msw.c (displayable_menu_item): correct off-by-one &
- handling.
+ * mule-charset.c (Vcharset_ucs): New variable.
+ (print_charset): Change design; use `CHARSET_CHARS' and
+ `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
+ (make_charset): Change signature to specify `chars' and
+ `dimension' instead of `type'.
+ (range_charset_code_point): Modify for 256^n-set.
+ (encode_builtin_char_1): Encode as `ucs' in default.
+ (Fmake_charset): Modify for `make_charset'.
+ (Fmake_reverse_direction_charset): Likewise.
+ (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
+ UTF-2000.
+ (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
+ for `make_charset'.
-1999-03-07 Martin Buchholz <martin@xemacs.org>
+ * char-ucs.h (Vcharset_ucs): New variable.
+ (LEADING_BYTE_UCS): New macro.
+ (struct Lisp_Charset): Delete `type'; change type of `dimension'
+ and `chars' to `unsigned short' from `unsigned int'.
+ (CHARSET_TYPE): Deleted.
+ (XCHARSET_TYPE): Deleted.
- * console-stream.h (struct stream_console):
- * event-unixoid.c (event_stream_unixoid_select_console):
- (event_stream_unixoid_unselect_console):
- * print.c (Fexternal_debugging_output):
- * sysdep.c (reset_one_device):
- * console-stream.c (stream_init_console):
- (stream_delete_console):
- (allocate_stream_console_struct): move into stream_init_console.
- (free_stream_console_struct): move into stream_delete_console.
- Use `fd' only for file descriptors.
- Therefore, rename members of struct stream_console.
-
- * systime.h: Unix98 says sys/time.h should define select(), but
- some systems define that in unistd.h. So include that file always.
-
- * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
- multiple evaluation of first arg. Do proper do {} while (0) wrapping.
- (HAS_IIFORMAT_METH_P): Prevent macro from being used in
- non-boolean context
- (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
-
- * EmacsShell.c:
- * balloon_help.c:
- Add #include <stdio.h>.
- Some versions of assert.h use printf() without #include'ing stdio.h
+2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
- * free-hook.c (blocktype): Add gcpro5_type to blocktype.
- (log_gcpro): Remove unused variable FRAME.
- (show_gcprohist): Ansify.
- Comment the #endif's
+ * mule-charset.c (charset_code_point): Moved to char-ucs.h.
- * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
- after it's just been XtDestroy'ed!
+ * char-ucs.h (charset_code_point): Moved from mule-charset.c.
+ (ENCODE_CHAR): New macro.
-1999-02-18 Martin Buchholz <martin@xemacs.org>
+2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
- * opaque.c (print_opaque):
- (sizeof_opaque):
- (equal_opaque):
- (hash_opaque):
- Egcs 1.1.1 seems to have a bug where
- INTP (p->size_or_chain)
- will crash XEmacs. Fix by introducing intermediate variable.
+ * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
+ to 0.14 (Kawachi-Katakami).
- * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
+2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
- * dired.c (Fdirectory_files):
- (Ffile_name_completion):
- (Ffile_name_all_completions):
- (file_name_completion):
- - Use `directory' instead of `dirname' to sync with FSF Emacs and
- avoid compiler warnings.
- - Fix up docstrings so that C variables match documentation.
+ * text-coding.c (char_encode_shift_jis): Modify for
+ `charset_code_point'.
+ (char_encode_iso2022): Likewise.
-1999-03-05 Martin Buchholz <martin@xemacs.org>
+ * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
+ (integer) instead of list of <Lisp_Object>s (integers) as the
+ format of code-point of a coded-charset.
+ (range_charset_code_point): Return <int> instead of <Lisp_Object>.
+ (encode_builtin_char_1): New function; delete
+ `split_builtin_char'.
+ (charset_code_point): Return <int> instead of <Lisp_Object>.
+ (Fsplit_char): Don't use `SPLIT_CHAR'.
- * alloc.c: (garbage_collect_1): Reorg code to make scope of local
- variables as small as possible to help out the compiler and the maintainer.
+ * char-ucs.h (encode_builtin_char_1): New prototype; delete
+ prototype for `split_builtin_char'.
+ (range_charset_code_point): Return <int> instead of <Lisp_Object>.
+ (charset_code_point): Likewise.
+ (encode_char_1): New inline function; delete `SPLIT_CHAR'.
+ (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
- * alloc.c: (disksave_object_finalization):
- Set all the *-load-path variables to
- nil, not just load-path itself. This gets the locate-file hash
- tables garbage collected BEFORE dump, and has the side effect of
- preventing crashes on OSF4.0+egcs.
+2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
- * alloc.c:
- * gdbinit:
- * dbxrc:
- - Clean up gdb/dbx debugging support.
- - Storing an EMACS_INT in an enum is not 64-bit clean!
- - So change the enum to a set of separate variables.
- - Add test cases to help debug the debugging support!
- - Add `lisp-shadows' and `run-temacs' targets for dbx.
- - Both dbx and gdb have been tested now.
+ * mule-charset.c (complex_vars_of_mule_charset): Don't define
+ `japanese-jisx0208-1990' in non-UTF-2000 Mule.
-1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
+2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
- * XEmacs 21.2.12 is released
+ * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
-1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
+ * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
+ (MAX_CHAR_OBS_94x94): Deleted.
- * device-x.c: Support to find best visual without flashing.
+2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
-1999-03-02 Paul Keusemann <pkeusem@visi.com>
+ * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
- * database.c (berkdb_map): Add flags argument to cursor call (must
- be 0 according to docs) required for Berkeley DB 2.6.4 and later.
+ * char-ucs.h (MAX_CHAR_BMP): New macro.
-1999-03-03 Martin Buchholz <martin@xemacs.org>
+2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
- * hash.c:
- * hash.h:
- General cleanup. Get free-hook.c working again.
- Remove unused functions:
- make_strings_hash_table, copy_hash, expand_hash_table.
+ * text-coding.c: Sync with r21-2-24.
- * malloc.c:
- * mem-limits.h:
- Always use new ANSI-style function prototypes.
+2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
- * unexalpha.c (unexec): Never use implicit int.
+ * file-coding.c: Modify for UTF-2000.
- * sgiplay.c (close_sound_file):
- (play_sound_file):
- (restore_audio_port):
- (play_sound_data):
- (audio_initialize):
- (play_internal):
- (drain_audio_port):
- (write_mulaw_8_chunk):
- (write_linear_chunk):
- (write_linear_32_chunk):
- (initialize_audio_port):
- (open_audio_port):
- (set_channels):
- (set_output_format):
- (adjust_audio_volume):
- (get_current_volumes):
- (parse_snd_header):
- Always use new ANSI-style function prototypes.
- Use unistd.h for missing prototypes.
+2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
- * unexelfsgi.c (round_up):
- (find_section):
- (unexec): Always use new ANSI-style function prototypes
+ * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
+ to 0.13 (Takaida).
- * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
+2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
- * console.h (struct console_methods): Always use full ANSI prototypes
+ * mule-charset.c (split_builtin_char): Delete builtin support for
+ `katakana-jisx0201'.
+ (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
+ BMP area in builtin representation.
- * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
+ * char-ucs.h (MAKE_CHAR): Delete builtin support for
+ `Vcharset_katakana_jisx0201'.
-1999-03-02 Andy Piper <andy@xemacs.org>
+1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
- * event-stream.c (init_event_stream): make sure native mswindows
- gets an appropriate event loop.
+ * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
+ (Qisolated): New variable.
+ (Qinitial): New variable.
+ (Qmedial): New variable.
+ (Qfinal): New variable.
+ (Qvertical): New variable.
+ (Qsmall): New variable.
+ (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
+ `Qvertical' and `Qsmall'.
+ (Qmojikyo_pj_[1 .. 21]): New variable.
+ (syms_of_mule_charset): Add new symbols `isolated', `initial',
+ `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
+ (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
+ .. 21]'.
-1999-02-22 Andy Piper <andy@xemacs.org>
+1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
- * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
- than SW_SHOWNORMAL to prevent resizing of maximised frames.
- (mswindows_raise_frame): remove comment.
+ * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
+ (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
+ (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
-1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
+1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
- * XEmacs 21.2.11 is released
+ * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
+ (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
+ BMP.
+ (Qjapanese_jisx0208_1990): New variable.
+ (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
+ (complex_vars_of_mule_charset): Add new coded-charset
+ `japanese-jisx0208-1990'.
-1999-02-25 SL Baur <steve@xemacs.org>
+ * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
+ (MIN_CHAR_JIS_X0208_1990): New macro.
+ (MAX_CHAR_JIS_X0208_1990): New macro.
- * mule-charset.c (Qleading_byte): New variable to implement
- charset-leading-byte function.
- (Fcharset_property): Use it.
- (syms_of_mule_charset): Initialize it.
- From Kazuyuki IENAGA <ienaga@jsys.co.jp>
+1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
-1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
+ * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
+ coded-charset is not found.
- * glyphs-x.c (cononvert_EImage_to_XImage): correct
- bytes per pixel counting.
+1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
-1999-02-15 Andy Piper <andy@xemacs.org>
+ * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
+ (Fdefine_char): Use `Fmake_char'.
- * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
- major lockups.
+1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
-1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
+ * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
+ (Vcharset_hiragana_jisx0208): Deleted.
+ (Vcharset_katakana_jisx0208): Deleted.
+ (Qideograph_daikanwa): New variable.
+ (Qhiragana_jisx0208): Deleted.
+ (Qkatakana_jisx0208): Deleted.
+ (split_builtin_char): Split `ideograph-daikanwa'.
+ (Fsplit_char): New implementation for UTF-2000.
+ (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
+ delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
+ (complex_vars_of_mule_charset): Add new coded-charset
+ `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
+ `katakana-jisx0208'.
- * fns.c (Fbase64_encode_string): New optional argument
- `NO_LINE_BREAK'.
+ * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
+ (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
+ (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
+ (MIN_CHAR_DAIKANWA): New macro.
+ (MAX_CHAR_DAIKANWA): New macro.
-1999-02-16 Martin Buchholz <martin@xemacs.org>
+1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
- * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
- * alloc.c (xcalloc): undef xcalloc, just like xmalloc
+ * data.c (Fstring_to_number): Don't recognize floating point if
+ base is not 10.
-1999-02-10 Martin Buchholz <martin@xemacs.org>
+1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
- * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
- * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
+ * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
-1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
+1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
- * XEmacs 21.2.10 is released
+ * mule-charset.c (Qsquare): New variable.
+ (to_char_code): Add `Qsquare'.
+ (syms_of_mule_charset): Add new symbol `square'.
-1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
+1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
- * process-nt.c (nt_send_process):
- Fix for process-send-region/process-send-string breaking when size
- of the input > 128 chars: change maximum chunk size for process
- stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
- succeeds.
+ * mule-charset.c (Qcircle): New variable.
+ (to_char_code): Add `Qcircle'.
+ (syms_of_mule_charset): Add new symbol `circle'.
-1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
+1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
- * XEmacs 21.2.9 is released
+ * mule-charset.c (Qfont): New variable.
+ (to_char_code): Add `Qfont'.
+ (syms_of_mule_charset): Add new symbol `font'.
+
+1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * mule-charset.c (Qsub): New variable.
+ (to_char_code): Add `Qsub'.
+ (syms_of_mule_charset): Add new symbol `sub'.
+
+1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * mule-charset.c (Fput_char_attribute): Convert each element of
+ VALUE to GL position if ATTRIBUTE is a GR-set,
+
+1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
+ coded-charset is a GR-set.
-1999-01-30 Martin Buchholz <martin@xemacs.org>
+1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
- * bytecode.c (funcall_compiled_function): Call
- UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
+ * mule-charset.c (Fput_char_attribute): Check each element of
+ VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
- * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
- #ifdef 0 out unused macro.
+1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
-1999-01-27 Martin Buchholz <martin@xemacs.org>
+ * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
+ UTF-2000.
+ (Qethiopic_ucs): New variable in UTF-2000.
+ (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
+ (complex_vars_of_mule_charset): Add new coded-charset
+ `ethiopic-ucs' in UTF-2000.
- * gui.c (gui_parse_item_keywords_internal): Make static.
+ * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
+ (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
+ 9)'.
+ (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
+ 10)'.
+ (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
-1999-01-21 Andy Piper <andy@xemacs.org>
+1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
- * glyphs-msw.c: add xface support.
- (mswindows_xface_instantiate): new function copied from glyphs-x.c
- (image_instantiator_format_create_glyphs_mswindows): do device
- specific initialisation for xfaces.
- (xbm_create_bitmap_from_data): line data must be padded to a word
- boundary.
+ * mule-charset.c (Fset_charset_mapping_table): Fix problem with
+ `ascii'.
- * glyphs-x.c (xface_validate): moved to glyphs.c
- (xface_normalize): ditto.
- (xface_possible_dest_types): ditto.
- (image_instantiator_format_create_glyphs_x): do device specific
- initialisation for xfaces.
+1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
- * glyphs.h: declare xface symbol.
+ * mule-charset.c (Vcharacter_variant_table): New variable.
+ (Q_ucs): New variable.
+ (Fchar_variants): New function.
+ (Fput_char_attribute): Register `->ucs' value to
+ `Vcharacter_variant_table'.
+ (syms_of_mule_charset): Add new function `char-variants' and new
+ symbol `->ucs'.
+ (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
- * glyphs.c: move generic xface support here.
- (xface_validate): moved from glyphs-x.c
- (xface_normalize): ditto.
- (xface_possible_dest_types): ditto.
- (image_instantiator_format_create): xface declarations moved from
- glyphs-x.c.
+1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
-1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
+ * mule-charset.c (get_char_code_table): Allow negative character
+ code.
+ (put_char_code_table): Likewise.
+ (Vcharacter_composition_table): New variable.
+ (Q_decomposition): New variable.
+ (Qwide): New variable.
+ (Qnarrow): New variable.
+ (Qcompat): New variable.
+ (QnoBreak): New variable.
+ (Qsuper): New variable.
+ (Qfraction): New variable.
+ (to_char_code): New function.
+ (Fget_composite_char): New function.
+ (Fput_char_attribute): Register `->decomposition' value to
+ `Vcharacter_composition_table'.
+ (syms_of_mule_charset): Add new function `get-composite-char', new
+ symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
+ `super' and `fraction'.
+ (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
- * event-stream.c (vars_of_event_stream): Fixing documentation.
+1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
-1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
+ * mule-charset.c (Fchar_attribute_alist): Check the argument is a
+ character; copy the return value.
- * glyphs-eimage.c (gif_instantiate): Correct handling of
- interlaced gifs to avoid writing past the end of the eimage
- buffer.
+1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
-1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
+ * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
- * search.c (Freplace_match): Handle single backslash at end of
- NEWTEXT correctly.
+ * mule-charset.c (range_charset_code_point): Must use make_int.
+ (split_builtin_char): New function.
-1999-01-12 William M. Perry <wmperry@aventail.com>
+1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
- * eldap.c (Fldap_open): slow down interrupts around ldap_open to
- avoid connection errors.
+ * mule-charset.c (char_byte_table): Change name from
+ "char-code-table" to "char-byte-table".
+ (mark_char_code_table): New function.
+ (char_code_table_equal): New function.
+ (char_code_table_hash): New function.
+ (char_code_table_description): New constant.
+ (char_code_table): New type.
+ (make_char_code_table): New function.
+ (copy_char_code_table): New function.
+ (get_char_code_table): Modify for `char_code_table' type.
+ (put_char_code_table): Likewise.
+ (vars_of_mule_charset): Update `utf-2000-version' to 0.12
+ (Kashiwara).
-1999-01-12 Andy Piper <andy@xemacs.org>
+ * char-ucs.h (char_code_table): New type.
+ (XCHAR_CODE_TABLE): New macro.
+ (XSETCHAR_CODE_TABLE): New macro.
+ (CHAR_CODE_TABLE_P): New macro.
+ (GC_CHAR_CODE_TABLE_P): New macro.
+ (struct Lisp_Char_Code_Table): New structure.
- * redisplay-output.c (redisplay_update_line): backout change that
- shouldn't have gone ine.
+1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
-1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
+ * mule-charset.c (Fmake_charset): Setup byte_offset for
+ {94|96}^n-set.
- * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
- collide with ldap.el
+1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
-1999-01-11 Andy Piper <andy@xemacs.org>
+ * mule-charset.c (Fdefine_char): Fix problem with non-UCS
+ character.
- * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
- (DISPLAY_LINE_YPOS): new macro.
+1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
- * redisplay-msw.c (mswindows_output_string): use it.
- (mswindows_output_pixmap): ditto.
- (mswindows_output_display_block): ditto.
+ * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
+ is found.
- * redisplay-output.c (redisplay_output_display_block): new
- function. just call the devmeth, maybe insert some generic code
- here later.
- (compare_display_blocks): use it.
- (output_display_line): ditto.
- (redisplay_unmap_subwindows_maybe): new function. potentially
- unmap subwindows in the given area.
+1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
- * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
- resetting.
+ * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
+ charset, it is regarded as a charset.
+ (put_char_attribute): New function in UTF-2000.
+ (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
+ charset, mapping-table of the charset is modified.
+ (Fdefine_char): New function in UTF-2000.
+ (Fset_charset_mapping_table): Use `put_char_attribute' instead of
+ `Fput_char_attribute'.
+ (syms_of_mule_charset): Add new function `define-char' and new
+ symbol `ucs' in UTF-2000.
+ (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
-1999-01-10 J. Kean Johnston <jkj@sco.com>
+1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
- * Makefile.in.in: Set value of moduledir
- - Changed DUMPENV to include $(MODULEPATH)
- - Added install rule to install header files for use by ellcc.
+ * mule-charset.c (Fcharset_name): Define `byte_offset' in
+ non-UTF-2000 configuration.
- * config.h.in: Added INHIBIT_SITE_MODULES
- - Added HAVE__DLERROR
- - Added HAVE_DLFCN_H
- - Added DLSYM_NEEDS_UNDERSCORE
+1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
- * dll.c: Removed.
+ * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
+ not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
- * emodules.c: New file containing dynamic loading code.
+ * mule-charset.c (mark_charset): `cs->encoding_table' has been
+ deleted.
+ (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
+ (Fset_charset_mapping_table): Likewise.
- * emodules.h: New file.
+ * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
+ (CHARSET_ENCODING_TABLE): Delete.
+ (XCHARSET_ENCODING_TABLE): Delete.
+ (charset_code_point): New interface.
- * emacs.c: Added variables Vmodule_directory,
- Vsite_module_directory, Vconfigure_module_directory and
- Vconfigure_site_module_directory.
- - (main_1): Added new variable inhibit_site_modules and command
- line options `-no-site-modules' and `--no-site-modules'.
- - (main_1): Call syms_of_module() instead of syms_of_dll().
- - (main_1): Call vars_of_module().
- - (vars_of_emacs): Introduce inhibit-site-modules,
- module-directory, configure-module-directory,
- site-module-directory, and configure-site-module-directory to the
- Lisp reader.
+1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
- * lisp.h: Declare load_module and list_modules, as well as
- Vmodule_directory, Vsite_module_directory,
- Vconfigure_module_directory and Vconfigure_site_module_directory.
+ * text-coding.c (char_encode_iso2022): Use `charset_code_point'
+ instead of `charset_get_byte1' and `charset_get_byte2'.
- * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
- - Added correct support for site-lisp directory.
+ * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
+ (charset_get_byte2): Deleted.
- * symbols.c (defsubr): Modified to allow modules to add new subrs
- after dump time.
- - (defsubr_macro): Same.
- - (defvar_magick): Only use purespace when not initialized, so
- that loaded modules can still add symbols.
+1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
- * symsinit.h: Add definitions for syms_of_module(),
- vars_of_module(). Removed syms_of_dll().
+ * char-ucs.h (SPLIT_CHAR): New inline function.
+ (breakup_char_1): Use `SPLIT_CHAR'.
- * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
- - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
- - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
+ * mule-charset.c (range_charset_code_point): New function.
+ (charset_code_point): New function.
- * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
- explicitly pass -belf for native cc.
+ * char-ucs.h (range_charset_code_point): New interface.
+ (breakup_char_1): Use `range_charset_code_point'.
- * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
- hard-coding the library name.
+1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
-1999-01-01 <martin@xemacs.org>
+ * mule-charset.c (Fmake_charset): Delete unused local variable
+ `code_offset'.
- * device-x.c (Fx_set_font_path):
- Add proper cast to permit compilation under C++.
+ * char-ucs.h (Vcharacter_attribute_table): New extern variable.
+ (breakup_char_1): Find a charset and code-point in
+ `Vcharacter_attribute_table'.
- * buffer.c (directory_is_current_directory):
- Add proper casts to permit compilation under C++.
+1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
-1998-12-30 Damon Lipparelli <lipp@primus.com>
+ * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
+ to 0.10 (Yao).
- * event-msw.c (mswindows_wnd_proc):
- Fixed failure when building with MSVC 5.
+1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
-1998-12-29 Martin Buchholz <martin@xemacs.org>
+ * mule-charset.c (Vcharacter_attribute_table): New variable.
+ (Fchar_attribute_alist): New function.
+ (Fget_char_attribute): New function.
+ (Fput_char_attribute): New function.
+ (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
+ too.
+ (syms_of_mule_charset): Add new function `char-attribute-alist',
+ `get-char-attribute' and `put-char-attribute'.
+ (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
- * file-coding.c (decode_coding_iso2022):
- - Prevent crash when decoding ISO7/Lock detected files
- - the usual martin fiddling
+1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
-1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
+ * mule-charset.c (Fmake_charset): Just use
+ `get_unallocated_leading_byte'.
- * event-msw.c:
- glyphs-msw.c:
- Fixed failures when building with MSVC.
- * unexnt.c (dump_bss_and_heap):
- Removed compiler warning by removing bss_data variable.
+ * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
+ sets; don't use final-byte based number for private sets.
-1998-12-18 Jim Radford <radford@robby.caltech.edu>
+1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
- * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
- so that packages that distribute their own fonts can access them.
+ * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
+ integer.
-1998-12-28 Andy Piper <andy@xemacs.org>
+1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
- * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
- that have an image provided.
+ * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
+ to 0.9.
- * glyphs.h: add Q_image decl.
+1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
- * glyphs-widget.c new functionality allowing images in
- widgets.
- (check_valid_glyph_or_image): new function to validate
- glyphs passed in through :image.
- (widget_normalize): new function. convert :image parameters into
- real glyphs if not already so.
- (widget_instantiate_1): mess with size parameters to be similar to
- :image if provided.
- (syms_of_glyphs_widget): new keyword :image.
- (image_instantiator_format_create_glyphs_widget): normalize
- buttons and allow :image.
+ * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
+ of `CHAR_LEADING_BYTE' in UTF-2000.
-1998-12-27 Andy Piper <andy@xemacs.org>
+ * insdel.c (find_charsets_in_bufbyte_string): Use
+ `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
+ (find_charsets_in_emchar_string): Likewise.
- * frame-msw.c (mswindows_init_frame_1): warning elimination.
+ * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
+ `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
- * glyphs-widget.c (check_valid_anything): no-op function.
- (check_valid_callback): check callbacks in gui_items.
- (check_valid_symbol): as it sounds.
- (check_valid_string_or_vector): ditto.
- (widget_validate): modified for descriptors that are vectors or
- sequences of keyword/val pairs.
- (widget_instantiate_1): ditto.
- (image_instantiator_format_create_glyphs_widget): allow gui_item
- keywords in the instantiator.
+ * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
+ (CHAR_CHARSET_ID): New macro.
- * gui.c (gui_parse_item_keywords_internal): renamed from
- gui_parse_item_keywords but taking error behaviour.
- (gui_parse_item_keywords): use it.
- (gui_parse_item_keywords_no_errors): ditto.
- (gui_item_add_keyval_pair): add Error_behavior flag and only
- signal invalid keywords if required.
+1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
- * gui.h: new gui signatures.
+ * chartab.c (get_char_table): Don't use type `Charset_ID' for
+ charset-id - MIN_LEADING_BYTE.
+ (put_char_table): Likewise.
- * menubar.c (menu_parse_submenu_keywords): use new
- gui_item_add_keyval_pair signature.
+1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
+ (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
+ (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
+ (CHARSET_ID_OFFSET): New macro.
+ (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
+ (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
+ (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
+ (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
+ 4).
+ (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
+ 5).
+ (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
+ (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
+ (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
+ (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
+ (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
+
+1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * mule-charset.c (next_allocated_leading_byte): New variable in
+ UTF-2000.
+ (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
+ (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
+ (get_unallocated_leading_byte): Simply use
+ `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
+ (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
+ UTF-2000.
+
+ * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
+ (MAX_LEADING_BYTE_PRIVATE): New macro.
+ (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
+ (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
+
+1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * mule-charset.c (Fmake_charset): Allocate final-byte based
+ charset-id for 94-set, 96-set and 94x94-set.
+
+1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * mule-charset.c (char_byte_table_equal): Fill braces to avoid
+ ambiguous `else'.
+ (Fmake_charset): Likewise.
+ (complex_vars_of_mule_charset): Modify the font registry of
+ `ucs-bmp' not to match `Ethiopic-Unicode'.
+
+1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * mule-charset.c (complex_vars_of_mule_charset): Add font
+ registory of `ucs-bmp'.
+
+1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
+ coded-charsets in `default-coded-charset-priority-list' when
+ breaking up a character.
+
+ * mule-charset.c (Vcharset_latin_viscii): New variable.
+ (Qlatin_viscii): New variable.
+ (make_charset): Don't use `decoding_table'.
+ (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
+ byte_offset.
+ (Fset_charset_mapping_table): New implementation.
+ (syms_of_mule_charset): Add new symbol `latin-viscii'.
+ (complex_vars_of_mule_charset): Set `graphic' attribute of charset
+ `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
+ `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
+ of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
+ charset `latin_viscii'.
+
+ * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
+ (CHARSET_TYPE_94X94): Change to 1 from 2.
+ (CHARSET_TYPE_96): Change to 2 from 1.
+ (CHARSET_TYPE_128): New macro.
+ (CHARSET_TYPE_128X128): Change to 5 from 4.
+ (CHARSET_TYPE_256): New macro.
+ (CHARSET_TYPE_256X256): Change to 7 from 5.
+ (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
+
+1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * text-coding.c (char_encode_shift_jis): Refer
+ `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
+ `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
+
+ * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
+ (char_byte_table_equal): New function in UTF-2000.
+ (char_byte_table_hash): New function in UTF-2000.
+ (char_byte_table_description): New constant in UTF-2000.
+ (char_byte_table): New type in UTF-2000.
+ (make_char_byte_table): New function in UTF-2000.
+ (copy_char_byte_table): New function in UTF-2000.
+ (make_char_code_table): New macro in UTF-2000.
+ (get_char_code_table): New function in UTF-2000.
+ (put_char_code_table): New function in UTF-2000.
+ (mark_charset): Mark `cs->encoding_table' in UTF-2000.
+ (charset_description): Add setting in UTF-2000.
+ (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
+ `CHARSET_TO_BYTE1_TABLE(cs)'.
+ (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
+ instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
+ (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
+ instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
+ (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
+ instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
+ `CHARSET_TO_BYTE2_TABLE(cs)'.
+
+ * char-ucs.h (char_byte_table): New type.
+ (XCHAR_BYTE_TABLE): New macro.
+ (XSETCHAR_BYTE_TABLE): New macro.
+ (CHAR_BYTE_TABLE_P): New macro.
+ (GC_CHAR_BYTE_TABLE_P): New macro.
+ (struct Lisp_Char_Byte_Table): New structure.
+ (get_char_code_table): New interface.
+ (Emchar_to_byte_table): Deleted.
+ (get_byte_from_character_table): Deleted.
+ (struct Lisp_Charset): Add `encoding_table'; delete
+ `to_byte1_table' and `to_byte2_table'.
+ (CHARSET_ENCODING_TABLE): New macro.
+ (CHARSET_TO_BYTE1_TABLE): Deleted.
+ (CHARSET_TO_BYTE2_TABLE): Deleted.
+ (XCHARSET_ENCODING_TABLE): New macro.
+ (XCHARSET_TO_BYTE1_TABLE): Deleted.
+ (XCHARSET_TO_BYTE2_TABLE): Deleted.
+
+1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * mule-charset.c (syms_of_mule_charset): Delete charset alias
+ `vietnamese-viscii-*'.
+
+1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * mule-charset.c (Qvietnamese_viscii_lower): New variable.
+ (Qvietnamese_viscii_upper): New variable.
+ (Fdefine_charset_alias): New function.
+ (syms_of_mule_charset): Add new function `define-charset-alias'.
+ (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
+ `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
+ `latin-viscii-*'.
+
+1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
+ (MAX_CHAR_OBS_94x94): New macro.
+ (breakup_char_1): Support obsolete XEmacs-UCS private code space
+ for 94x94 sets.
+
+ * mule-charset.c (put_byte_from_character_table): Change unit size
+ from 128 to 256.
+ (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
+ not defined.
+ (Fmake_reverse_direction_charset): Modify dummy argument of
+ `make_charset' for non-UTF-2000 environment.
+
+1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
+
+ * mule-charset.c (destroy_byte_from_character_table): New macro.
+ (latin_jisx0201_to_ucs): Deleted.
+ (latin_iso8859_2_to_ucs): Deleted.
+ (latin_iso8859_3_to_ucs): Deleted.
+ (latin_iso8859_4_to_ucs): Deleted.
+ (latin_iso8859_9_to_ucs): Deleted.
+ (latin_viscii_lower_to_ucs): Deleted.
+ (latin_viscii_upper_to_ucs): Deleted.
+ (mark_charset): Mark `cs->decoding_table'.
+ (Fcharset_mapping_table): Fix DOC-string.
+ (Fset_charset_mapping_table): New function.
+ (syms_of_mule_charset): Add nwe function
+ `set-charset-mapping-table'.
+ (complex_vars_of_mule_charset): Don't setup and use
+ `latin_*_to_ucs'.
+
+1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * char-ucs.h (MAKE_CHAR): Check the result for range-represented
+ charset.
+
+1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
+ (Vcharset_katakana_jisx0208): New variable.
+ (Qhiragana_jisx0208): New variable.
+ (Qkatakana_jisx0208): New variable.
+ (make_charset): Add new argument `byte_offset'.
+ (charset_get_byte1): Modify for new coded-charset definition; use
+ `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
+ `XCHARSET_BYTE_OFFSET'.
+ (Fmake_charset): Modify for `make_charset'.
+ (Fmake_reverse_direction_charset): Likewise.
+ (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
+ `katakana-jisx0208'.
+ (complex_vars_of_mule_charset): Modify for `make_charset'; quote
+ `.' in font registry of charset `katakana-jisx0201',
+ `latin-jisx0201', `vietnamese-viscii-lower' and
+ `vietnamese-viscii-upper'; modify DOC-string of charset
+ `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
+ registry of charset `japanese-jisx0208' not to use font for JIS
+ X0208:1990; add new charset `hiragana-jisx0208' and
+ `katakana-jisx0208'.
+
+ * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
+ (LEADING_BYTE_KATAKANA_JISX0208): New macro.
+ (struct Lisp_Charset): Add `byte_offset'.
+ (CHARSET_BYTE_OFFSET): New macro.
+ (XCHARSET_UCS_MIN): New macro.
+ (XCHARSET_UCS_MAX): New macro.
+ (XCHARSET_CODE_OFFSET): New macro.
+ (XCHARSET_BYTE_OFFSET): New macro.
+ (MIN_CHAR_HIRAGANA): New macro.
+ (MAX_CHAR_HIRAGANA): New macro.
+ (MIN_CHAR_KATAKANA): New macro.
+ (MAX_CHAR_KATAKANA): New macro.
+ (MAKE_CHAR): Modify for new coded-charset definition; use
+ `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
+ `XCHARSET_BYTE_OFFSET'.
+
+1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * mule-charset.c (CHAR96): Deleted.
+ (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
+ <Lisp_Object>.
+ (latin_iso8859_2_to_ucs): Likewise.
+ (latin_iso8859_3_to_ucs): Likewise.
+ (latin_iso8859_4_to_ucs): Likewise.
+ (latin_iso8859_9_to_ucs): Likewise.
+ (latin_viscii_lower_to_ucs): Likewise.
+ (latin_viscii_upper_to_ucs): Likewise.
+ (latin_tcvn5712_to_ucs): Commented out.
+ (make_charset): Change type of argument `decoding_table' from
+ <Emchar*> to <Lisp_Object> [vector of characters].
+ (Fmake_charset): Modify for `make_charset'.
+ (Fmake_reverse_direction_charset): Likewise.
+ (Fcharset_mapping_table): New function in UTF-2000.
+ (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
+ UTF-2000.
+ (complex_vars_of_mule_charset): Modify for type change of
+ `*_to_ucs'; modify for `make_charset'.
+
+ * char-ucs.h (struct Lisp_Charset): Change type of
+ `decoding_table' from <Emchar*> to <Lisp_Object>.
+ (MAKE_CHAR): Modify for new specification of `decoding_table'.
+
+1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
+ error with non-UTF-2000-Mule.
+
+1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
+ in lisp again].
+ (Vcharset_chinese_cns11643_4): Likewise.
+ (Vcharset_chinese_cns11643_5): Likewise.
+ (Vcharset_chinese_cns11643_6): Likewise.
+ (Vcharset_chinese_cns11643_7): Likewise.
+ (Qchinese_cns11643_3): Likewise.
+ (Qchinese_cns11643_4): Likewise.
+ (Qchinese_cns11643_5): Likewise.
+ (Qchinese_cns11643_6): Likewise.
+ (Qchinese_cns11643_7): Likewise.
+ (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
+ `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
+ and `chinese-cns11643-7' to lisp/mule/chinese.el.
+ (complex_vars_of_mule_charset): Likewise.
+
+1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * mule-charset.c (charset_get_byte1): Fix bug about 94- and
+ 96-set.
+ (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
+ CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
+
+1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
+ 0xFF60.
+ (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
+ (breakup_char_1): Likewise.
+
+ * text-coding.c (char_encode_iso2022): Keep designated charsets if
+ one of them includes the specified character.
+
+1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
+
+1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
+
+1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
+ definition for non-UTF-2000 Mule.
+ (latin_iso8859_3_to_ucs): Likewise.
+ (latin_iso8859_4_to_ucs): Likewise.
+ (latin_iso8859_9_to_ucs): Likewise.
+ (latin_jisx0201_to_ucs): Likewise.
+ (MIN_CHAR_THAI): Likewise.
+ (MAX_CHAR_THAI): Likewise.
+ (MIN_CHAR_GREEK): Likewise.
+ (MAX_CHAR_GREEK): Likewise.
+ (MIN_CHAR_HEBREW): Likewise.
+ (MAX_CHAR_HEBREW): Likewise.
+ (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
+ (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
+ (MIN_CHAR_CYRILLIC): Likewise.
+ (MAX_CHAR_CYRILLIC): Likewise.
+
+1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * char-ucs.h (breakup_char_1): Use
+ `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
+ thai-tis620 and katakana-jisx0201 area.
+
+1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * char-ucs.h (breakup_char_1): Use
+ `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
+ area.
+
+ * text-coding.c (reset_encoding_stream): Fixed.
+ (char_encode_ucs4): Delete `& 255'.
+
+ * char-ucs.h (breakup_char_1): Use
+ `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
+
+1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * file-coding.c (Fmake_coding_system): Don't set up
+ `codesys->fixed.size'.
+ (encode_coding_no_conversion): Don't refer
+ `str->codesys->fixed.size'.
+
+1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
+ (latin_a_char_to_byte1): Deleted.
+ (latin_a_char_to_byte2): Deleted.
+
+1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * mule-charset.c (make_charset): Add new argument `ucs_min',
+ `ucs_max' and `code_offset'.
+ (charset_get_byte1): New implementation [delete specific charset
+ depended implementations].
+ (Fmake_charset): Modify for `make_charset'.
+ (Fmake_reverse_direction_charset): Likewise.
+ (complex_vars_of_mule_charset): Likewise.
+
+ * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
+ `code_offset'.
+ (CHARSET_UCS_MIN): New macro.
+ (CHARSET_UCS_MAX): New macro.
+ (CHARSET_CODE_OFFSET): New macro.
+ (MAKE_CHAR): Delete charset depended definitions [except
+ katakana-jisx0201].
+
+1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * char-ucs.h (breakup_char_1): Use
+ `Vdefault_coded_charset_priority_list' for C0-Controls,
+ Basic-Latin, C1-Controls and Latin-1-Supplement area.
+
+1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * char-ucs.h (charset_get_byte1): New function.
+ (XCHARSET_GET_BYTE1): Deleted.
+ (charset_get_byte2): New function.
+ (XCHARSET_GET_BYTE2): Deleted.
+ (Vdefault_coded_charset_priority_list): New external variable.
+ (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
+ `Vdefault_preferred_coded_charset_list'.
+
+ * mule-charset.c (charset_get_byte1): New function.
+ (charset_get_byte2): New function.
+ (Vdefault_coded_charset_priority_list): New variable.
+ (vars_of_mule_charset): Add new variable
+ `default-coded-charset-priority-list'.
+
+1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
+ (XCHARSET_GET_BYTE2): New inline function.
+ (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
+ `XCHARSET_GET_BYTE2'.
+
+1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * mule-charset.c (make_charset): Initialize
+ `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
+ NULL if table is not defined.
+
+1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * text-coding.c (char_encode_shift_jis): Use
+ `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
+ `ucs_to_latin_jisx0201'.
+
+ * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
+ (ucs_to_latin_iso8859_2): Deleted.
+ (ucs_to_latin_iso8859_3): Deleted.
+ (ucs_to_latin_iso8859_4): Deleted.
+ (ucs_to_latin_iso8859_9): Deleted.
+ (ucs_to_latin_viscii_lower): Deleted.
+ (ucs_to_latin_viscii_upper): Deleted.
+ (ucs_to_latin_tcvn5712): Deleted.
+ (make_charset): Add new argument `decoding_table'; set up
+ `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
+ `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
+ `decoding_table' is defined in UTF-2000.
+ (Fmake_charset): Modify for `make_charset'.
+ (Fmake_reverse_direction_charset): Likewise.
+ (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
+ and `GENERATE_96_SET'.
+
+ * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
+ (ucs_to_latin_jisx0201): Deleted.
+ (latin_iso8859_2_to_ucs): Deleted.
+ (ucs_to_latin_iso8859_2): Deleted.
+ (latin_iso8859_3_to_ucs): Deleted.
+ (ucs_to_latin_iso8859_3): Deleted.
+ (latin_iso8859_4_to_ucs): Deleted.
+ (ucs_to_latin_iso8859_4): Deleted.
+ (latin_iso8859_9_to_ucs): Deleted.
+ (ucs_to_latin_iso8859_9): Deleted.
+ (latin_viscii_lower_to_ucs): Deleted.
+ (ucs_to_latin_viscii_lower): Deleted.
+ (latin_viscii_upper_to_ucs): Deleted.
+ (ucs_to_latin_viscii_upper): Deleted.
+ (struct Lisp_Charset): Renamed `encoding_table' to
+ `to_byte1_table'; add `to_byte2_table'.
+ (CHARSET_DECODING_TABLE): New macro.
+ (CHARSET_TO_BYTE1_TABLE): New macro.
+ (CHARSET_TO_BYTE2_TABLE): New macro.
+ (XCHARSET_DECODING_TABLE): New macro.
+ (XCHARSET_TO_BYTE1_TABLE): New macro.
+ (XCHARSET_TO_BYTE2_TABLE): New macro.
+ (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
+ tables.
+ (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
+ don't use `ucs_to_*' tables.
+
+1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * text-coding.c (Fmake_coding_system): Don't set up
+ `codesys->fixed.size'.
+ (encode_coding_no_conversion): Use `if' instead of `switch'.
+
+ * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
+
+1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * mule-charset.c (make_charset): Delete argument `rep_bytes'.
+ (Fmake_charset): Modify for `make_charset'.
+ (Fmake_reverse_direction_charset): Likewise.
+ (complex_vars_of_mule_charset): Likewise.
+
+1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * text-coding.c (char_encode_shift_jis): Use table
+ `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
+
+1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * text-coding.c (text_encode_generic): Use `if' instead of
+ `switch'.
+ (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
+ decode JIS-Latin.
+
+1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * text-coding.c (encode_coding_sjis): Deleted.
+ (char_encode_shift_jis): New function.
+ (char_finish_shift_jis): New function.
+ (reset_encoding_stream): Set up `encode_char' and `finish' for
+ `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
+ (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
+ (char_encode_utf8): Treat `eol_type'.
+
+1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * file-coding.c (decode_coding_iso2022): Use
+ `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
+
+1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
+ to 0.7 (Hirano).
+
+1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * char-lb.h (CHAR_COLUMNS): New macro.
+
+1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * text-coding.c (char_encode_ucs4): New function.
+ (char_finish_ucs4): New function.
+ (encode_coding_ucs4): Deleted.
+ (mule_encode): Use generic encoder for `CODESYS_UCS4'.
+ (text_encode_generic): Delete local variable `charset' and `half'.
+ (ucs_to_mule_table): Deleted.
+ (mule_to_ucs_table): Deleted.
+ (Fset_ucs_char): Deleted.
+ (ucs_to_char): Deleted.
+ (Fucs_char): Deleted.
+ (Fset_char_ucs): Deleted.
+ (Fchar_ucs): Deleted.
+ (decode_ucs4): Deleted.
+ (mule_char_to_ucs4): Deleted.
+ (encode_ucs4): Deleted.
+ (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
+ (decode_coding_utf8): Likewise.
+ (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
+ (char_encode_iso2022): Fixed.
+ (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
+ `Fset_char_ucs' and `Fchar_ucs'.
+ (complex_vars_of_file_coding): Don't initialize
+ `ucs_to_mule_table'.
+
+ * objects-tty.c (tty_initialize_font_instance): Don't use
+ `XCHARSET_COLUMNS'.
+
+ * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
+ UTF-2000.
+
+ * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
+ instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
+
+ * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
+ instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
+ (emchar_string_displayed_columns): Likewise.
+
+ * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
+ `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
+ (string_column_at_point): Likewise.
+ (Fmove_to_column): Likewise.
+
+ * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
+ `encoding_table' and `decoding_table'.
+ (CHARSET_REP_BYTES): Deleted.
+ (XCHARSET_REP_BYTES): Deleted.
+ (XCHARSET_COLUMNS): Deleted.
+ (CHAR_COLUMNS): New macro.
+ (lookup_composite_char): Deleted unconditionally.
+ (composite_char_string): Likewise.
+
+1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * char-ucs.h (Emchar_to_byte_table): New type.
+ (get_byte_from_character_table): New function interface.
+ (Vcharset_latin_jisx0201): New variable.
+ (latin_jisx0201_to_ucs): New variable.
+ (ucs_to_latin_jisx0201): New variable.
+ (Vcharset_latin_iso8859_2): New variable.
+ (latin_iso8859_2_to_ucs): New variable.
+ (ucs_to_latin_iso8859_2): New variable.
+ (Vcharset_latin_iso8859_3): New variable.
+ (latin_iso8859_3_to_ucs): New variable.
+ (ucs_to_latin_iso8859_3): New variable.
+ (Vcharset_latin_iso8859_4): New variable.
+ (latin_iso8859_4_to_ucs): New variable.
+ (ucs_to_latin_iso8859_4): New variable.
+ (Vcharset_latin_iso8859_9): New variable.
+ (latin_iso8859_9_to_ucs): New variable.
+ (ucs_to_latin_iso8859_9): New variable.
+ (Vcharset_latin_viscii_lower): New variable.
+ (latin_viscii_lower_to_ucs): New variable.
+ (ucs_to_latin_viscii_lower): New variable.
+ (Vcharset_latin_viscii_upper): New variable.
+ (latin_viscii_upper_to_ucs): New variable.
+ (ucs_to_latin_viscii_upper): New variable.
+ (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
+ (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
+ (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
+ (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
+ `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
+ `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
+ (breakup_char_1): Use `ucs_to_latin_iso8859_2',
+ `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
+ `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
+ `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
+
+ * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
+ (Vcharset_latin_viscii_upper): New variable.
+ (make_byte_from_character_table): New function.
+ (put_byte_from_character_table): New function.
+ (get_byte_from_character_table): New function.
+ (CHAR96): New macro.
+ (ucs_to_latin_jisx0201): New variable.
+ (latin_jisx0201_to_ucs): New variable.
+ (ucs_to_latin_iso8859_2): New variable.
+ (latin_iso8859_2_to_ucs): New variable.
+ (ucs_to_latin_iso8859_3): New variable.
+ (latin_iso8859_3_to_ucs): New variable.
+ (ucs_to_latin_iso8859_4): New variable.
+ (latin_iso8859_4_to_ucs): New variable.
+ (ucs_to_latin_iso8859_9): New variable.
+ (latin_iso8859_9_to_ucs): New variable.
+ (ucs_to_latin_viscii_lower): New variable.
+ (latin_viscii_lower_to_ucs): New variable.
+ (ucs_to_latin_viscii_upper): New variable.
+ (latin_viscii_upper_to_ucs): New variable.
+ (ucs_to_latin_tcvn5712): New variable.
+ (latin_tcvn5712_to_ucs): New variable.
+ (Qlatin_viscii_lower): New variable.
+ (Qlatin_viscii_upper): New variable.
+ (syms_of_mule_charset): Set up new symbol
+ `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
+ (complex_vars_of_mule_charset): Set up new charset
+ `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
+ `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
+ `ucs_to_<CHARSET>' tables.
+
+1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * text-coding.c: New file.
+
+1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * mule-charset.c (Fmake_char): Fix problem of 256-set.
+
+ * char-ucs.h (Vcharset_ucs_bmp): New variable.
+ (MAKE_CHAR): Modify for `ucs-bmp'.
+ (breakup_char_1): Return `ucs-bmp' and code point of BMP for
+ non-MULE characters of BMP.
+
+1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
+ to 0.6.
+
+1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * lstream.h:
+ - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
+ - Include character.h for `CHAR_ASCII_P'.
+
+ * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
+
+ * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
+ (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
+
+ * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
+ (BYTE_C0_P): Likewise.
+ (BYTE_C1_P): Likewise.
+ (Lstream_get_emchar_1): Likewise.
+ (Lstream_fput_emchar): Likewise.
+ (Lstream_funget_emchar): Likewise.
+ (copy_internal_to_external): Likewise.
+ (copy_external_to_internal): Likewise.
+
+ * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
+ (BYTE_C0_P): Likewise.
+ (BYTE_C1_P): Likewise.
+ (Lstream_get_emchar_1): Likewise.
+ (Lstream_fput_emchar): Likewise.
+ (Lstream_funget_emchar): Likewise.
+ (copy_internal_to_external): Likewise.
+ (copy_external_to_internal): Likewise.
+
+ * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
+ (REP_BYTES_BY_FIRST_BYTE): Likewise.
+
+ * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
+ (BYTE_ASCII_P): Moved to mb-1byte.h.
+
+1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
+
+ * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
+ (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
+ (VALID_CHARPTR_P): Moved to mb-*byte.h.
+ (VALIDATE_CHARPTR_BACKWARD): Likewise.
+ (VALIDATE_CHARPTR_FORWARD): Likewise.
+ (simple_charptr_emchar): Moved to mb-multibyte.h.
+ (simple_set_charptr_emchar): Likewise.
+ (simple_charptr_copy_char): Likewise.
+ (non_ascii_charptr_emchar): Likewise.
+ (non_ascii_set_charptr_emchar): Likewise.
+ (non_ascii_charptr_copy_char): Likewise.
+ (charptr_emchar): Moved to mb-*byte.h.
+ (set_charptr_emchar): Likewise.
+ (charptr_copy_char): Likewise.
+
+ * mb-1byte.h, mb-multibyte.h: New files.
+
+1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * mb-utf-8.h (MULTIBYTE): New macro.
+ (MAX_EMCHAR_LEN): Moved from buffer.h.
+ (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
+
+ * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
+
+ * mb-lb.h, multibyte.h: New files.
+
+ * char-1byte.h (Charset_ID): Moved from buffer.h.
+ (MIN_LEADING_BYTE): Likewise.
+ (LEADING_BYTE_ASCII): Likewise.
+ (NUM_LEADING_BYTES): Likewise.
+ (CHARSETP): Likewise.
+ (CHARSET_BY_LEADING_BYTE): Likewise.
+ (XCHARSET_LEADING_BYTE): Likewise.
+ (XCHARSET_GRAPHIC): Likewise.
+ (XCHARSET_COLUMNS): Likewise.
+ (XCHARSET_DIMENSION): Likewise.
+ (CHAR_CHARSET): Likewise.
+ (CHAR_LEADING_BYTE): Likewise.
+ (BREAKUP_CHAR): Likewise.
+ (Vcharset_ascii): Likewise.
+
+ * buffer.h: Include multibyte.h unconditionally.
+ (VALID_CHARPTR_P): Moved to multibyte.h.
+ (ASSERT_VALID_CHARPTR): Likewise.
+ (REAL_INC_CHARPTR): Likewise.
+ (REAL_INC_CHARBYTIND): Likewise.
+ (REAL_DEC_CHARPTR): Likewise.
+ (INC_CHARPTR): Likewise.
+ (INC_CHARBYTIND): Likewise.
+ (DEC_CHARPTR): Likewise.
+ (VALIDATE_CHARPTR_BACKWARD): Likewise.
+ (VALIDATE_CHARPTR_FORWARD): Likewise.
+ (charptr_n_addr): Likewise.
+ (MAX_EMCHAR_LEN): Moved to mb-*.h.
+ (simple_charptr_emchar): Moved to multibyte.h.
+ (simple_set_charptr_emchar): Likewise.
+ (simple_charptr_copy_char): Likewise.
+ (non_ascii_charptr_emchar): Likewise.
+ (non_ascii_set_charptr_emchar): Likewise.
+ (non_ascii_charptr_copy_char): Likewise.
+ (charptr_emchar): Likewise.
+ (set_charptr_emchar): Likewise.
+ (charptr_copy_char): Likewise.
+ (charptr_emchar_n): Likewise.
+ (Charset_ID): Moved to char-1byte.h.
+ (Vcharset_ascii): Likewise.
+ (CHAR_CHARSET): Likewise.
+ (CHAR_LEADING_BYTE): Likewise.
+ (LEADING_BYTE_ASCII): Likewise.
+ (NUM_LEADING_BYTES): Likewise.
+ (MIN_LEADING_BYTE): Likewise.
+ (CHARSETP): Likewise.
+ (CHARSET_BY_LEADING_BYTE): Likewise.
+ (XCHARSET_LEADING_BYTE): Likewise.
+ (XCHARSET_GRAPHIC): Likewise.
+ (XCHARSET_COLUMNS): Likewise.
+ (XCHARSET_DIMENSION): Likewise.
+ (BREAKUP_CHAR): Likewise.
+
+1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * character.h: Add document about interface for characters.
+
+ * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
+ (MAKE_CHAR): Delete comment about
+ `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
+ `FIELD2_TO_PRIVATE_LEADING_BYTE'.
+ (BREAKUP_CHAR): Modify name of arguments.
+ (CHAR_CHARSET): Modify name of argument.
+
+ * buffer.h: Delete document about Emchar accessors.
+
+1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * character.h (CHAR_INTP): Moved from buffer.h
+ (CHAR_OR_CHAR_INTP): Likewise.
+ (XCHAR_OR_CHAR_INT): Likewise.
+ (CHECK_CHAR_COERCE_INT): Likewise.
+
+ * buffer.h (CHAR_INTP): Moved to character.h
+ (CHAR_OR_CHAR_INTP): Likewise.
+ (XCHAR_OR_CHAR_INT): Likewise.
+ (CHECK_CHAR_COERCE_INT): Likewise.
+
+1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * character.h:
+ - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
+ - Include char-1byte.h, char-lb.h or char-ucs.h.
+
+ * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
+
+ * buffer.h: Include character unconditionally.
+ (valid_char_p): Moved to char-*.h.
+ (non_ascii_valid_char_p): Moved to char-lb.h.
+
+ * char-1byte.h, char-lb.h, char-ucs.h: New files.
+
+1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
+ in UTF-2000 because it is not ported yet and not to use
+ `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
+ `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
+ `FIELD1_TO_PRIVATE_LEADING_BYTE'.
+
+ * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
+ (CHAR_ASCII_P): Moved from character.h.
+
+ * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
+ (CHAR_ASCII_P): Likewise.
+ (CHAR_FIELD1_MASK): Deleted.
+ (CHAR_FIELD2_MASK): Deleted.
+ (CHAR_FIELD3_MASK): Deleted.
+ (MAX_CHAR_BASIC_LATIN): New macro.
+ (CHAR_FIELD1): Deleted.
+ (CHAR_FIELD2_INTERNAL): Deleted.
+ (CHAR_FIELD3_INTERNAL): Deleted.
+ (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
+ (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
+ (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
+ (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
+ (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
+ (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
+ (MIN_CHAR_FIELD2_PRIVATE): Deleted.
+ (MAX_CHAR_FIELD2_PRIVATE): Deleted.
+ (MIN_CHAR_FIELD1_PRIVATE): Deleted.
+ (MAX_CHAR_FIELD1_PRIVATE): Deleted.
+ (MULE_CHAR_PRIVATE_OFFSET): Deleted.
+ (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
+ (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
+ (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
+ (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
+ (MIN_CHAR_COMPOSITION): Deleted.
+ (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
+ `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
+
+1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
+
+ * buffer.h: Include mb-utf-8.h in UTF-2000.
+
+ * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
+
+ * mb-utf-8.h: New file.
+
+1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
+ instead of `int'.
+
+ * mule-charset.h, buffer.h (Charset_ID): New type.
+
+1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * mule-canna.c (c2mu): Use `MAKE_CHAR',
+ `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
+ instead of `MULE_CHAR_PRIVATE_OFFSET',
+ `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
+ and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
+ (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
+
+ * character.h (Vcharset_japanese_jisx0212): New variable
+ definition.
+
+1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
+ (charset_by_attributes): Delete array about direction.
+ (latin_a_char_to_charset): New variable in UTF-2000.
+ (latin_a_char_to_byte1): New variable in UTF-2000.
+ (latin_a_char_to_byte2): New variable in UTF-2000.
+ (Qucs_bmp): New variable.
+ (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
+ `Bufbyte'.
+ (next_allocated_2_byte_leading_byte): Likewise.
+ (non_ascii_set_charptr_emchar): Likewise.
+ (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
+ `CHARSET_TYPE_256X256' in UTF-2000; modify for
+ `charset_by_attributes'.
+ (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
+ (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
+ and `CHARSET_BY_LEADING_BYTE'.
+ (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
+ `utf-2000-version' to `vars_of_mule_charset'.
+ (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
+ define `leading-code-private-11' in UTF-2000; move setting of
+ `utf-2000-version' from `syms_of_mule_charset'.
+ (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
+ UTF-2000.
+
+ * character.h (Charset_ID): New type.
+ (LEADING_BYTE_UCS_BMP): New macro.
+ (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
+ (CHARSET_ID_OFFSET_94): New macro.
+ (MIN_CHARSET_ID_PRIVATE_94): New macro.
+ (MAX_CHARSET_ID_PRIVATE_94): New macro.
+ (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
+ final-byte.
+ (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
+ (LEADING_BYTE_LATIN_JISX0201): Likewise.
+ (CHARSET_ID_OFFSET_96): New macro.
+ (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
+ CHARSET_ID_OFFSET_96 and final-byte.
+ (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
+ (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
+ (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
+ (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
+ (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
+ (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
+ (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
+ (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
+ (LEADING_BYTE_THAI_TIS620): Likewise.
+ (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
+ (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
+ (CHARSET_ID_OFFSET_94x94): New macro.
+ (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
+ CHARSET_ID_OFFSET_94x94 and final-byte.
+ (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
+ (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
+ (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
+ (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
+ (LEADING_BYTE_CHINESE_GB2312): Likewise.
+ (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
+ (LEADING_BYTE_KOREAN_KSC5601): Likewise.
+ (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
+ (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
+ (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
+ (LEADING_BYTE_KOREAN_KPS9566): Likewise.
+ (CHARSET_TYPE_128X128): New macro.
+ (CHARSET_TYPE_256X256): New macro.
+ (XCHARSET_PRIVATE_P): Delete unconditionally.
+ (charset_by_attributes): Delete array about direction.
+ (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
+ (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
+ (MIN_CHAR_94): New macro.
+ (MAX_CHAR_94): New macro.
+ (MIN_CHAR_96): New macro.
+ (MAX_CHAR_96): New macro.
+ (MIN_CHAR_94x94): New macro.
+ (MAX_CHAR_94x94): New macro.
+ (MIN_CHAR_96x96): New macro.
+ (MAX_CHAR_96x96): New macro.
+ (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
+ (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
+ (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
+ - 32)'.
+ (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
+ (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
+ (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
+ (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
+ (MAX_CHAR_PRIVATE_TYPE9N): Changed.
+ (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
+ `XCHARSET_LEADING_BYTE' to make code-point.
+ (latin_a_char_to_charset): New variable.
+ (latin_a_char_to_byte1): New variable.
+ (latin_a_char_to_byte2): New variable.
+ (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
+ Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
+ `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
+
+ * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
+ instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
+ (find_charsets_in_emchar_string): Likewise.
+ (vars_of_insdel): Don't define local variable `i' in UTF-2000.
+
+ * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
+ `int'.
+ (decode_coding_iso2022): Likewise.
+
+ * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
+ of `unsigned char'.
+
+ * redisplay.c (redisplay_text_width_emchar_string): Use
+ `Charset_ID' instead of `unsigned char'.
+ (redisplay_frame_text_width_string): Likewise.
+
+ * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
+ `unsigned char'.
+
+ * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
+ instead of `unsigned char'.
+ (face_cachel_charset_font_metric_info): Likewise.
+
+ * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
+ (get_non_ascii_char_table_value): Likewise.
+ (get_char_table): Likewise.
+ (put_char_table): Likewise.
+ (map_over_other_charset): Likewise.
+ (map_char_table): Likewise.
+
+ * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
+ instead of `unsigned char'.
+
+1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
+ (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
+
+ * mule-charset.c (leading_code_private_11): Don't define in
+ UTF-2000.
+
+ * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
+ in UTF-2000 because it is not ported yet and not to use
+ `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
+
+1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * character.h (LEADING_BYTE_COMPOSITE): Deleted.
+
+1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
+ in UTF-2000.
+
+ * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
+ of unsigned char to store leading-byte.
+
+ * chartab.c (get_non_ascii_char_table_value): Don't use
+ `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
+
+ * file-coding.c (encode_coding_big5): Delete bogus implementation
+ in UTF2000.
+
+ * character.h (LEADING_BYTE_*): Delete definition for
+ non-UTF-2000.
+ (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
+ (LEADING_BYTE_PREFIX_P): Deleted.
+ (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
+ (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
+ (BUFBYTE_LEADING_BYTE_P): Deleted.
+ (CHARSET_PRIVATE_P): Deleted unconditionally.
+ (rep_bytes_by_first_byte): Deleted unconditionally.
+ (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
+ (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
+ (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
+ (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
+ (CHAR_FIELD2): Deleted.
+ (CHAR_FIELD3): Deleted.
+ (MAKE_CHAR): Delete definition for non-UTF-2000.
+ (BREAKUP_CHAR_1_UNSAFE): Deleted.
+ (breakup_char_1): New implementation.
+ (CHAR_CHARSET): Use `BREAKUP_CHAR'.
+ (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
+
+1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
+ condition.
+
+1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
- * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
+ * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
+ (CHARSET_PRIVATE_P): Likewise.
+ (XCHARSET_PRIVATE_P): Likewise.
+ (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
-1998-12-28 Martin Buchholz <martin@xemacs.org>
+ * file-coding.c (encode_coding_ucs4): Delete bogus implement in
+ UTF2000.
+ (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
- * XEmacs 21.2.8 is released.
+1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
-1998-12-28 Martin Buchholz <martin@xemacs.org>
+ * character.h (LEADING_BYTE_*): Changed in UTF2000.
+ (NUM_LEADING_BYTES): Changed from 128 to 256.
+ (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
+ (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
+ UTF2000.
+ (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
- * editfns.c (get_home_directory):
- (user-home-directory): Simplify.
+ * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
+ UTF2000.
+ (Vcharset_chinese_cns11643_4): New variable in UTF2000.
+ (Vcharset_chinese_cns11643_5): New variable in UTF2000.
+ (Vcharset_chinese_cns11643_6): New variable in UTF2000.
+ (Vcharset_chinese_cns11643_7): New variable in UTF2000.
+ (Qchinese_cns11643_3): New variable in UTF2000.
+ (Qchinese_cns11643_4): New variable in UTF2000.
+ (Qchinese_cns11643_5): New variable in UTF2000.
+ (Qchinese_cns11643_6): New variable in UTF2000.
+ (Qchinese_cns11643_7): New variable in UTF2000.
+ (syms_of_mule_charset): Define `chinese-cns11643-3',
+ `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
+ and `chinese-cns11643-7' in UTF2000.
+ (vars_of_mule_charset): Initialize
+ next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
+ + 1 in UTF2000.
+ (complex_vars_of_mule_charset): Setup charset
+ `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
+ `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
+1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
- * callproc.c (child_setup):
- - Environment variables were being passed to inferior processes
- using internal encoding.
- - Convert to external encoding.
- - Rename local var `tem' to better name `tail'.
- - Use Flength instead of `manual' calculation.
-
- * buffer.c (kill-buffer):
- (record-buffer):
- (set-buffer-major-mode):
- (current-buffer):
- - Fix up parameter names to correspond to docstrings.
- - Don't use `bufname' when a buffer will do as well.
- - Remove one unneeded GCPRO.
-
- * buffer.h (initial_directory):
- * buffer.c (init_initial_directory):
- - use correct conversions between internal and external format.
- (directory_is_current_directory): new function
- (init_buffer): convert initial_directory to internal format.
- - solve crashes when current working directory is non-ASCII.
+ * mule-charset.c: Move setting for `leading-code-private-11' from
+ `syms_of_mule_charset' to `vars_of_mule_charset'.
- * alloc.c (xmalloc):
- (xcalloc):
- (xrealloc):
- - remove stupid casts, since XEmacs requires an ANSI C system.
- (lrecord_type_index): replace abort() with more readable assert().
+1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
- (reset_lcrecord_stats): remove.
- (sweep_lcrecords_1):
- - replace call to reset_lcrecord_stats() with call to xzero().
+ * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
+ and `NUM_LEADING_BYTES' in assert.
-1998-12-27 Martin Buchholz <martin@xemacs.org>
+1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
- * process-unix.c (unix_create_process):
- - Fix crash invoking program with non-ASCII name.
- Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
- - Remove unused variable `env'.
- - Rename `temp' to better name `save_errno'.
- - Reorganize code for clarity. But still too chicken to nuke the
- BSD 4.2 support.
+ * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
+ instead of 128.
+ (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
+ `NUM_LEADING_BYTES' instead of 128.
-1998-12-24 Martin Buchholz <martin@xemacs.org>
+1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
- * XEmacs 21.2.7 is released.
+ * mule-charset.h (charset_by_leading_byte): Use
+ `NUM_LEADING_BYTES' instead of 128.
+ (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
-1998-12-23 Martin Buchholz <martin@xemacs.org>
+ * mule-charset.c (charset_by_leading_byte): Use
+ `NUM_LEADING_BYTES' instead of 128.
+ (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
- * glyphs.c (decode_device_ii_format):
- - Fix indentation.
- - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
+ * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
+ 128.
- * 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++.
+1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
- * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
- Fix indentation.
- * glyphs-x.h: Make indentation consistent.
+ * mule-charset.c (syms_of_mule_charset): Update to
+ 0.4 (Shin-Imamiya).
- * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
+1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
- * glyphs-widget.c (check_valid_glyph): Warning suppression.
- - Make it static
- - #ifdef it out, since it's not actually used yet (FIX THIS!)
+ * file-coding.c (encode_coding_sjis): New implementation for
+ UTF2000. (decode_coding_sjis): Ditto.
- * glyphs-widget.c:
- * glyphs.h:
- Move declarations of decode_device_ii_format and
- decode_image_instantiator_format into glyphs.h where they belong.
+1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
-1998-12-22 Martin Buchholz <martin@xemacs.org>
+ * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
+ Don't define in UTF2000.
- * frame-x.c (x_delete_frame): Revert part of my changes at the
- suggestion of Gunnar Evermann - unfortunately no one really
- understands this code.
+ * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
+ defined.
- * callproc.c (init_callproc): code cleanup.
+ * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
+ mule-ccl.c, lstream.h, buffer.h: Include character.h in every
+ MULE.
- * 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.
+1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
-1998-12-22 Andy Piper <andy@xemacs.org>
+ * config.h.in (CHAR_IS_UCS4): New macro.
- * redisplay-output.c (redisplay_clear_region): make sure that
- fg/bg colors get set even when we are in the border area.
+ * mule-charset.c (rep_bytes_by_first_byte): Modify for
+ conventional MULE representation.
+ (syms_of_mule_charset): Update to 0.3 (Imamiya).
-1998-12-13 Martin Buchholz <martin@xemacs.org>
+ * mule-charset.h: Reverted to original.
- * console-msw.c: Function definitions follow coding standards
- - This prevents e.g. find-tag on Lisp_Event finding DEVENT
+ * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
+ mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
+ "mule-charset.h" if CHAR_IS_UCS4 is defined.
-1998-12-11 Martin Buchholz <martin@xemacs.org>
+ * character.h: New file.
- * 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.
+ * file-coding.c (Fmake_coding_system): Set 1 to
+ `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
+ defined.
+ (encode_coding_no_conversion): New implementation for UTF2000.
+
+ * file-coding.h (struct Lisp_Coding_System): Add new member
+ `fixed.size'.
+
+1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * file-coding.c (decode_coding_iso2022): Code-point arguments of
+ `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
+ (encode_coding_iso2022): New implementation for UTF2000.
+
+1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * mule-canna.c (c2mu): New implementation for UTF2000.
+ (m2c): Likewise.
+
+1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
+
+1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * file-coding.c (reset_encoding_stream): Set 0 to
+ `str->iso2022.current_char_boundary' in UTF2000.
+ (encode_utf8): Don't define in UTF2000.
+ (encode_coding_utf8): New implementation for UTF-8 representation
+ of UTF2000.
+ (complex_vars_of_file_coding): Define coding-system `utf-8'.
+
+1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
+
+ * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
+ UTF2000.
+ (REP_BYTES_BY_FIRST_BYTE): Likewise.
+
+ * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
+
+ * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
+ local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
+ as UTF-8 in UTF2000.
+ (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
+ (non_ascii_valid_char_p): Don't define in UTF2000.
+ (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
+ (Lstream_get_emchar_1): Likewise.
+ (utf-2000-version): New variable in UTF2000.
+
+ * lread.c (read_escape): Add new reader `u'.
+
+ * insdel.c (three_to_one_table): Don't define in UTF2000.
+ (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
+ `buf->text->mule_shifter' and `buf->text->mule_three_p' in
+ UTF2000.
+ (bytind_to_bufpos_func): Likewise.
+ (buffer_mule_signal_inserted_region): Likewise.
+ (vars_of_insdel): Don't initialize `three_to_one_table'.
+ (init_buffer_text): Use `buf->text->mule_size' instead of
+ `buf->text->mule_shifter' and `buf->text->mule_three_p' in
+ UTF2000.
+
+ * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
+ UTF-8 representation in UTF2000.
+ (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
+ (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
+ (decode_coding_iso2022): Don't define local variable `lb' in
+ UTF2000; don't use LEADING_BYTE in UTF2000; use
+ `DECODE_ADD_UCS_CHAR' in UTF2000.
+ (convert_to_external_format): Decode as UTF-8 in UTF2000.
+
+ * config.h.in (UTF2000): New macro.
+
+ * buffer.h (struct buffer_text): Add new member `mule_size' and
+ don't add `mule_shifter' and `mule_three_p' in UTF2000.
+ (valid_char_p): Return always 1 in UTF2000.
+ (MAX_EMCHAR_LEN): 6 in UTF2000.
+ (three_to_one_table): Don't define in UTF2000.
+ (real_bufpos_to_bytind): Modify for UTF-8 representation in
+ UTF2000.
+ (real_bytind_to_bufpos): Likewise.
+
+ * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
+
+1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * mule-charset.c (rep_bytes_by_first_byte): Modified for character
+ representation change.
+ (Vutf_2000_version): New variable.
+ (leading_code_private_11): New variable.
+ (syms_of_mule_charset): Add new variables `utf-2000-version' and
+ `leading-code-private-11'.
+
+ * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
+ (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
+ (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
+ (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
+ (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
+ (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
+ (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
+ (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
+ (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
+ (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
+ (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
+ (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
+ (MIN_CHAR_GREEK): New macro.
+ (MAX_CHAR_GREEK): New macro.
+ (MIN_CHAR_CYRILLIC): New macro.
+ (MAX_CHAR_CYRILLIC): New macro.
+ (MIN_CHAR_HEBREW): New macro.
+ (MAX_CHAR_HEBREW): New macro.
+ (MIN_CHAR_THAI): New macro.
+ (MAX_CHAR_THAI): New macro.
+ (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
+ (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
+ (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
+ (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
+ (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
+ (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
+ (CHAR_FIELD2): New inline function.
+ (CHAR_FIELD3): New inline function.
+ (MULE_CHAR_PRIVATE_OFFSET): New macro.
+ (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
+ (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
+ (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
+ (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
+ (MIN_CHAR_COMPOSITION): Likewise.
+ (CHAR_LEADING_BYTE): Modified for character representation change.
+ (MAKE_CHAR): Likewise.
+
+ * lisp.h (Vcharset_latin_iso8859_1): New variable.
+ (Vcharset_greek_iso8859_7): Likewise.
+ (Vcharset_cyrillic_iso8859_5): Likewise.
+ (Vcharset_hebrew_iso8859_8): Likewise.
+ (Vcharset_thai_tis620): Likewise.
+ (Vcharset_katakana_jisx0201): Likewise.
+
+2003-09-03 Vin Shelton <acs@xemacs.org>
+
+ * XEmacs 21.4.14 is released
+
+2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * config.h.in (REGEX_MALLOC): Make it configure'able.
+
+2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
+
+ * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
+ linking.
+ * sysdll.c (dll_init):
+ * sysdll.c (dll_open):
+ * sysdll.c (dll_close):
+ * sysdll.c (dll_function):
+ * sysdll.c (dll_variable):
+ * sysdll.c (dll_error):
+ Add support for loading bundles using Darwin/MacOSX
+ native API.
+
+2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * process.c (start-process-internal): Document coding systems.
+
+2003-07-30 Jerry James <james@xemacs.org>
+
+ * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
+
+2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
+
+ * event-msw.c (mswindows_enqueue_mouse_button_event):
+ * event-msw.c (mswindows_wnd_proc):
+ enqueue button event when scrollwheel event isn't handled by
+ mswindows_handle_mousewheel_event, such as when the scrollbars
+ are not showing.
-1998-12-10 Martin Buchholz <martin@xemacs.org>
+2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
- * lisp.h: Fix up prototypes to match alloc.c
+ * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
-1998-12-08 Martin Buchholz <martin@xemacs.org>
+2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
- * windowsnt.h: Remove `support' for using index and rindex
+ * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
- * filelock.c (current_lock_owner):
- - Change uses of index -> strchr, rindex -> strrchr
+2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
-1998-12-07 Martin Buchholz <martin@xemacs.org>
+ * regex.c (re_match_2_internal): Fix matching degenerate word
+ boundaries.
- * sysdep.c (set_descriptor_non_blocking):
- Since O_NONBLOCK is now always #defined, make use of fcntl
- conditional on F_SETFL being defined.
+2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
- * 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.
+ * XEmacs 21.4.13 is released
+2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
-1998-12-06 Martin Buchholz <martin@xemacs.org>
+ * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
+ * lisp.h (<inttypes.h>):
+ Cygwin defines these types in <cygwin/types.h>. Don't duplicate
+ the definition.
- * frame-msw.c (mswindows_init_frame_1):
- - use make_lisp_hash_table, not Fmake_hash_table
- - include elhash.h
+2003-03-15 Martin Buchholz <martin@xemacs.org>
- * lisp.h:
- * alloc.c (make_vector): remove travesty
- (Fmake_vector):
- (make_pure_vector):
- (pure_cons):
- (make_bit_vector_internal):
- (make_bit_vector):
- (make_bit_vector_from_byte_vector):
- (Fmake_bit_vector):
- - make vector_equal a little faster.
- - Don't use variable name `new'.
- - Use size_t instead of EMACS_INT.
- - usual Martin-style pointless bit-twiddling.
+ * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
+ Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
+ Result: "temacs can only be run in -batch mode."
+ Fix: Check xemacs executable candidate for directory-ness.
- * 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!
+2003-03-03 Robert Pluim <rpluim@bigfoot.com>
- * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
- bytecode.
+ * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
+ they conflict with <sys/types.h>.
-1998-12-01 Martin Buchholz <martin@xemacs.org>
+2003-02-14 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.
+ * database.c: Berkeley DB wants __STDC__ to be defined.
-1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
+2003-02-13 Martin Buchholz <martin@xemacs.org>
- * specifier.c (display_table_validate): Update.
+ * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
- * redisplay.c (create_text_block): Use them.
+2003-02-01 Martin Buchholz <martin@xemacs.org>
- * glyphs.c (display_table_entry): New function.
- (get_display_tables): Ditto.
+ * process-unix.c (unix_send_process): Fix C++ compile error.
-1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
+2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
- * eldap.c (toplevel): Mention that eldap.c compiles with
- OpenLDAP libs
- (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
- (Fldap_search_internal): Ditto
+ * Added .dylib as an acceptable shared library file extension
+ * to support MacOSX.
-1998-12-11 Martin Buchholz <martin@xemacs.org>
+2003-02-01 Martin Buchholz <martin@xemacs.org>
- * event-msw.c (mswindows_cancel_dispatch_event):
- Gratuitous code prettification
+ * EmacsFrameP.h (EmacsFramePart):
+ Kludge to allow compiling with Motif1, but linking with Motif2.
+2003-01-28 Martin Buchholz <martin@xemacs.org>
-1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
+ * config.h.in (_ALL_SOURCE): Guard against multiple definition.
- * 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.
+2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
-1998-12-06 Martin Buchholz <martin@xemacs.org>
+ * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
- * frame-msw.c (mswindows_init_frame_1):
- - use make_lisp_hash_table, not Fmake_hash_table
- - include elhash.h
+2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
+
+ * sysdll.c: Included lisp.h to define needed alloca_array.
+
+2003-02-13 Martin Buchholz <martin@xemacs.org>
+
+ Make XEmacs redisplay 10 times faster.
+ If, that is, you're using a slow X connection and MoveOpaque.
+ Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
+ Use compress_motion = TRUE.
+ * EmacsFrame.c (emacsFrameClassRec):
+ * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
+ * EmacsManager.c (emacsManagerClassRec):
+ * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
+
+2003-01-30 Vin Shelton <acs@xemacs.org>
+
+ * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
+
+2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
+ Patch by Martin Buchholz.
+
+2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
+ Thanks to icc for warning and Martin Buchholz for reporting.
+
+2003-01-29 Vin Shelton <acs@xemacs.org>
+
+ Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
+
+ * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
+ remember to multiply by the element size.
+
+2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * XEmacs 21.4.12 "Portable Code" is released.
+
+2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
+ * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
+ * s/cygwin.sc: new linker file.
+
+2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
+
+ Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
+
+ * redisplay-x.c (x_output_string): Use X11-specified types.
+ * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
+ * emacs.c (__free_hook): Use typeof with Intel compiler.
+ * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
+
+2003-01-08 Andy Piper <andy@xemacs.org>
+
+ * unexcw.c (copy_executable_and_dump_data_section): Set the stack
+ reserve size during unexec().
+
+2003-01-07 Daiki Ueno <daiki@xemacs.org>
+
+ * process-unix.c (unix_create_process): Don't let outchannel block.
+
+2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
+
+ * emacs.c: Include "syswindows.h" when compiling under Cygwin.
+ Needed for IsBadReadPtr().
+
+2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * XEmacs 21.4.11 "Native Windows TTY Support" is released.
+
+2002-12-14 Ben Wing <ben@xemacs.org>
+
+ * callint.c: Declaration error.
+ * dumper.c (pdump):
+ * dumper.c (pdump_load): Warning fix.
+ * process.c: GCPRO error.
+ * glyphs.c (unmap_subwindow):
+ * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
+ * event-stream.c (maybe_kbd_translate): Wrong argument to
+ character_to_event().
+
+ * alloc.c (garbage_collect_1):
+ * emacs.c:
+ * emacs.c (debug_can_access_memory):
+ * emacs.c (fatal_error_signal):
+ * emacs.c (mswindows_handle_hardware_exceptions):
+ * emacs.c (main_1):
+ * emacs.c (main):
+ * emacs.c (assert_failed):
+ * emacs.c (syms_of_emacs):
* 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.
+ * print.c:
+ * print.c (std_handle_out_va):
+ * print.c (write_string_to_stdio_stream):
+ * print.c (write_fmt_string):
+ * print.c (printing_badness):
+ * print.c (printing_major_badness):
+ * print.c (print_internal):
+ * print.c (debug_print_no_newline):
+ * print.c (debug_backtrace):
+ Be more defensive in handling bad values when printing. Add code
+ from trunk involving inhibit_non_essential_printing_operations.
+ When going down or in debug_print(), don't do external conversion
+ and such and try really, really hard when printing to avoid core
+ dumping. Add force-debugging-signal, debug_break().
- * 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!
+2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
- * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
- bytecode.
+ * dumper.c (pdump_load): Include sysdep.h; retry with truename.
+ Analysis and original patch by Vin Shelton <acs@xemacs.org>.
-1998-12-02 Didier Verna <verna@inf.enst.fr>
+2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
- * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
- accelerator field to nil for labels.
+ * database.c: Fix open_database. Berkeley DB API has changed in
+ 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
-1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
+2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
- * menubar-msw.c (displayable_menu_item):
- Escape occurrences of '&' and support occurrences of the
- '%_' accelerator indicator in menus.
+ * specifier.c (Fvalid_specifier_type_p): Typo in comment.
-1998-11-26 Didier Verna <verna@inf.enst.fr>
+2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
- * dired.c (Fdirectory_files): use make_string instead of
- make_ext_string on the filename. The conversion external->internal
- format is already done in sys_readdir.
+ * event-Xt.c (Xt_timeout):
+ (Xt_timeout_callback):
+ (emacs_Xt_add_timeout):
+ (emacs_Xt_remove_timeout):
+ (Xt_timeout_to_emacs_event):
+ Turn completed_timeouts from a stack into a queue. Fixes
+ deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
-1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
+2002-11-07 Wolfram Gloger <wg@malloc.de>
- * glyphs.c (normalize_image_instantiator): GCPRO instantiator
+ * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
+ * emacs.c (main): Assert that mmap'd allocation is disabled.
-1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
+2002-10-14 Andy Piper <andy@xemacs.org>
- * 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.
+ * glyphs-widget.c (layout_query_geometry): add in fiddle
+ factor. Include border text in width layout calculation.
+ (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
-1998-12-17 Andy Piper <andy@xemacs.org>
+2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
- * strftime.c (zone_name): CONSTify.
+ * XEmacs 21.4.10 "Military Intelligence" is released.
-1998-12-15 Andy Piper <andy@xemacs.org>
+2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
- * 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.
+ * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
+ using the NAS private array SoundFileInfo that no longer exists in
+ NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
+ and earlier. This is broken for some versions between 1.5a and
+ 1.5f.
- * glyphs-widget.c (check_valid_item_list): use properties.
+2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
- * glyphs.h (struct Lisp_Image_Instance): we have properties now.
+ * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
- * 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.
+ * emacs.c (shut_down_emacs): Improve crash message.
- * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
- as setting the class cursor so that GC actually changes the
- cursor.
+2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
- * config.h: don't undef MAIL_USE_POP.
+ * file-coding.c (determine_real_coding_system): Check for coding
+ cookie in first LINES_TO_CHECK lines (currently 2). Cater to
+ shebangs and Python PEP 263.
-1998-12-13 Andy Piper <andy@xemacs.org>
+2002-10-08 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 (layout_query_geometry): only resize dynamically
+ if static sizes haven't been set.
- * 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.
+2002-08-30 Mike Alexander <mta@arbortext.com>
-1998-12-10 Andy Piper <andy@xemacs.org>
+ * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
+ to close a socket.
- * Makefile.in.in (objs): add gui.o
+2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
-1998-12-10 Andy Piper <andy@xemacs.org>
+ * callproc.c (child_setup): 21.4 doesn't have retry_close.
- * gui.c: adjust defines of HAVE_POPUPS so that we can build with
- no window system.
+2002-09-20 Mike Sperber <mike@xemacs.org>
-1998-12-09 Andy Piper <andy@xemacs.org>
+ (This partially gets back my patch from 2002-07-20 without the
+ bug.)
+ * callproc.c (child_setup): Remove Ben's comment noting confusion
+ over the file descriptors >= 3: close_process_descs() doesn't
+ close those. Fix fd range to go up to MAXDESC-1 instead of 64.
+ * process-unix.c (unix_create_process): Call
+ begin_dont_check_for_quit to inhibit unwanted interaction (and
+ thus breaking of X event synchronicity) in the child.
- * 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.
+2002-09-26 Golubev I. N. <gin@mo.msk.ru>
-1998-12-08 Andy Piper <andy@xemacs.org>
+ * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
+ widget.
- * gui-msw.c (mswindows_handle_gui_wm_command): call
- MARK_SUBWINDOWS_CHANGED.
+2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
- * glyphs-msw.c (mswindows_finalize_image_instance): make sure
- subwindows really get deleted.
+ * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
+ instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
+ the xemacs process did not exit, but looped infinitely here. This
+ fixes that problem.
- * redisplay.c: new variable subwindows_changed[_set].
- (redisplay_window): use it.
- (redisplay_frame): ditto.
- (redisplay_device): ditto.
- (redisplay_without_hooks): ditto.
+2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
- * 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.
+ * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
+ (find_context): Improve comments.
-1998-12-07 Andy Piper <andy@xemacs.org>
+ * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
+ (re_match_2): An XCHAR_TABLE operation was missing.
- * frame.c (Fmake_frame): reset subwindow cachels on non-stream
- frames.
+ Many of the following changes were inspired by Andy Piper's (now
+ obsolete) patch to make syntax-table text property lookup optional.
- * redisplay.c (redisplay_frame): invalidate subwindow cachels.
+ [Documentation]
- * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
- messages and paint widget glyphs as appropriate with their face fg
- & bg.
+ * syntax.h (top level): Document semantics of syntax flags.
+ * syntax.c (comstr_start, Fforward_comment): Improve comments.
+ * syntax.c, syntax.h (top level): Document syntax cache better in
+ comments.
-1998-12-06 Andy Piper <andy@xemacs.org>
+ [Instrument syntax caching (temporary change)]
- * 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.
+ * syntax.h (enum syntax_cache_statistics_functions, struct
+ syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
+ SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
+ * syntax.c (scan_words, Fforward_comment, scan_lists,
+ Fbackward_prefix_characters):
+ * font-lock.c (find_context):
+ Use them to instrument syntax caching.
+ * syntax.c (struct syntax_cache_statistics, scs_statistics,
+ syntax_cache_statistics_function_names): New type and variables.
+ * syntax.c (update_syntax_cache): Update and report statistics.
- * 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.
+ [Major syntax cache optimizations]
- * 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.
+ syntax.c (lookup_syntax_properties): Default off.
- * 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.
+ * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
+ * syntax.c (update_syntax_cache):
+ Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
- * 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.
+ [Minor syntax cache optimizations and code clarifications]
-1998-12-04 Andy Piper <andy@xemacs.org>
+ * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
+ SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
+ SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
+ SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
+ SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
+ (Code clarification.)
- * event-msw.c (mswindows_wnd_proc): mule-ize.
+ * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
+ scan_lists): Compute code from syncode, use Boolean macros instead
+ of redundant masking operations. (Code clarification; any decent
+ compiler can do this optimization.)
- * 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.
+ * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
+ for clarity.
- * 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.
+ * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
+ PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
+ use F*_single_property_change instead of F*_extent_change.
+ Currently F*_single_property_change is _much_ less efficient.
+
+ * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
+ * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
+ syntax_cache.object properly, don't leave Qt or Qnil.
+ (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
+ * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
+ tests for Qt or Qnil.
+
+2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * redisplay.c (point_in_line_start_cache):
+ * extents.c (print_extent_1):
+ Fix warnings.
+
+ * extents.c (Fset_extent_property): Document `syntax-table' property.
+
+ * extents.h (Fnext_single_property_change): EXFUN it.
+
+2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * search.c (clear_unused_search_regs): New static function.
+ (search_buffer):
+ (simple_search):
+ (boyer_moore):
+ Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
+ Minor clarifications in comments.
+
+ * regex.c (re_match_2_internal): Ensure no stale submatches.
+
+2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * event-Xt.c (enqueue_focus_event): Add missing prototype.
+
+2002-08-29 Jerry James <james@xemacs.org>
+
+ * lisp.h: structrures -> structures.
+
+2002-06-03 Andy Piper <andy@xemacs.org>
+
+ * frame.c (frame_conversion_internal): add conversion appropriate
+ for setting frame dimensions in pixels.
+
+ * console.h (struct console_methods): add device-specific widget
+ layout functions.
- * 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.
+ * emacs.c (main_1): initialize glyph vars.
- * frame.c (mark_frame): mark subwindow_cachels.
- (allocate_frame_core): instantiate subwindow_cachels.
+ * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
+ (handle_focus_event_2): new function. Allow focus to
+ be set to a particular window and widget.
+ (enqueue_focus_event): new function. Create a
+ synthetic focus event.
+ (emacs_Xt_handle_magic_event): call
+ handle_focus_event_2.
- * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
- widget hashtable.
+ * frame.c (Fset_frame_pixel_height): new function. Allow
+ pixel-based sizing. Does the right thing on character-oriented
+ displays.
+ (Fset_frame_pixel_width): ditto.
+ (Fset_frame_pixel_size): ditto.
+ (syms_of_frame): declare.
- * event-msw.c (mswindows_wnd_proc): add call to
- mswindows_handle_gui_wm_command to handle widget callbacks.
+ * general-slots.h: add :vertically-justify and
+ :horizontally-justify.
- * emacs.c (main_1): add calls to glyphs-widget initialisation
- routines.
+ * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
+ (mswindows_widget_border_width): new function.
+ (mswindows_combo_box_instantiate): set border widths.
+ (console_type_create_glyphs_mswindows): declare.
+
+ * glyphs-widget.c:
+ (check_valid_justification): allow vertical and horizontal
+ justification.
+ (widget_border_width): new function. Call device methods.
+ (widget_instance_border_width): ditto.
+ (logical_unit_height): new function. Determine the height of a
+ logical-unit. Logical units are intended to provide grid-like
+ layout for subcontrols in a layout. If the layout is
+ :vertically-justify top then subcontrols will be positioned on
+ logical-unit boundaries, thus allowing adjacent subcontrols to
+ line up.
+ (widget_logical_unit_height): ditto for widgets.
+ (redisplay_widget): misc cleanup.
+ (widget_spacing): new function. Call device specific
+ methods. Intended to be the default gap between adjacent widgets.
+ (widget_query_geometry): use new spacing functions to determine
+ appropriate geometry.
+ (initialize_widget_image_instance): initialize horizontal and
+ vertical justification.
+ (widget_instantiate): use logica-units where appropriate for
+ sizing large widgets.
+ (button_query_geometry): use widget_instance_border_width.
+ (tree_view_query_geometry): ditto.
+ (tab_control_query_geometry): ditto.
+ (edit_field_query_geometry): new function.
+ (layout_update): pick up :justify, :horizontally-justify and
+ :vertically-justify none of which worked previously. :justify is
+ used as a fallback for both horizontal and vertical justification.
+ (layout_query_geometry): use logical units to size appropriately.
+ (layout_layout): ditto.
+ (Fwidget_logical_to_character_width): new function. Allow users to
+ convert from logical units to characters so that frame sizes can
+ be set appropriately.
+ (Fwidget_logical_to_character_height): ditto.
+ (syms_of_glyphs_widget): declare.
+ (image_instantiator_edit_fields): add edit_field_query_geometry.
+ (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
+ :horizontally-justify.
+ (specifier_vars_of_glyphs_widget): new function. Declare
+ Vwidget_border_width which is not yet used.
+
+ * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
+ (x_widget_border_width): new function.
+ (x_widget_instantiate): create a sensible name for widgets.
+ (console_type_create_glyphs_x): declare x_widget_border_width.
+
+ * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
+ (struct Lisp_Image_Instance): add :vertically-justify and
+ :horizontally-justify.
+ (LAYOUT_JUSTIFY_TOP): new.
+ (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
+ (ROUND_UP): new macro. Round argument up to next integral
+ interval.
+
+ * redisplay-output.c (redisplay_output_layout): misc formatting.
+
+ * symsinit.h: declare specifier_vars_of_glyphs_widget.
+
+2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * XEmacs 21.4.9 "Informed Management" is released.
+
+2002-08-19 Andy Piper <andy@xemacs.org>
+
+ * fileio.c (Ffile_truename): on cygwin using win32 normalize to
+ win32 format.
+
+ * realpath.c (xrealpath): normalize drive spec also so that dir
+ sep chars are not mixed on cygwin.
+
+2002-08-06 Jerry James <james@xemacs.org>
+
+ * window.c (Fsplit_window): Count only half of the divider width
+ against the left window when splitting horizontally.
+
+2002-06-24 Andy Piper <andy@xemacs.org>
+
+ * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
+ toolbar was cleared.
+
+ * toolbar-msw.c (mswindows_clear_frame_toolbars): new
+ function. Split out from mswindows_output_frame_toolbars.
+ (mswindows_output_frame_toolbars): move clear pieces to
+ mswindows_output_frame_toolbars.
+
+ * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
+ out from gtk_output_frame_toolbars.
+ (gtk_output_frame_toolbars): move clear pieces to
+ gtk_clear_frame_toolbars.
+
+ * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
+ the frame is cleared. How this ever worked before is a mystery.
+ (x_output_frame_toolbars): Only output toolbars.
+ (x_clear_frame_toolbars): new. Clear previous toolbar locations.
+
+ * gutter.c (update_gutter_geometry):
+ Mark frame layout changed.
+ (update_frame_gutter_geometry, update_frame_gutters):
+ Respect frame_layout_changed.
* 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.
+ clear_frame_toolbars_method.
- * console-stream.c (stream_clear_region): change signature to
- match new generic clear region function.
+ * redisplay.c (redisplay_frame): call
+ update_frame_toolbars_geometry and re-order update_frame_toolbars.
- * Makefile.in.in: add glyphs-widget.o to list of objects.
+ * toolbar.h: declare update_frame_toolbars_geometry.
- * console-msw.h (struct mswindows_frame): add widget hashtable for
- wiring command ids to callbacks.
+ * toolbar.c (update_frame_toolbars_geometry): new function. Split
+ out from update_frame_toolbars. Call clear_frame_toolbars.
+ (update_frame_toolbars): only output, do not change geometry.
-1998-12-16 Andy Piper <andy@xemacs.org>
+ * redisplay.c: add frame_layout_changed.
- * XEmacs 21.2.6 is released
+ * redisplay.h: add frame_layout_changed.
+ (CLASS_RESET_CHANGED_FLAGS): set it.
+ (GLOBAL_RESET_CHANGED_FLAGS): ditto.
+ (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
+ (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
-1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
+ * device.h (struct device): add frame_layout_changed.
+ (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
- * md5.c (Fmd5): Correctly initiate string input stream.
+ * frame.h (struct frame): add frame_layout_changed.
+ (MARK_FRAME_LAYOUT_CHANGED): new.
- * Makefile.in.in (tests): Add md5-tests.el.
+2002-06-30 Mike Alexander <mta@arbortext.com>
-1998-12-06 Martin Buchholz <martin@xemacs.org>
+ * event-msw.c (mswindows_need_event): Don't wait for a new message
+ if the queue is not empty. Suggested by Paul Moore.
- * 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.
+2002-06-12 Andy Piper <andy@xemacs.org>
- * 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!
+ * frame-msw.c (msprinter_init_frame_3): calculate the frame size
+ for printing on accurately.
+
+2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
-1998-12-06 Martin Buchholz <martin@xemacs.org>
+ * event-msw.c (mswindows_wnd_proc): Add a handler for the
+ WM_ACTIVATE message. Make sure that the frame is visible if the
+ window is visible. This seemss to fix the problem where XEmacs
+ appears to freeze after switching desktops with certain virtual
+ window managers.
+ (debug_output_mswin_message): Added code to output message
+ parameters for WM_WINDOWPOSCHANGED,
+ WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
- * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
- bytecode.
+2002-05-25 Andy Piper <andy@xemacs.org>
-1998-12-13 Martin Buchholz <martin@xemacs.org>
+ * select-x.c (vars_of_select_x): Fix docstring of
+ x-selection-strict-motif-ownership
- * console-msw.c: Function definitions follow coding standards
- - This prevents e.g. find-tag on Lisp_Event finding DEVENT
+2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
-1998-12-11 Martin Buchholz <martin@xemacs.org>
+ * keymap.c (get_keymap):
+ Add comment about do_autoload GCPROs own args.
- * 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.
+2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
-1998-12-10 Martin Buchholz <martin@xemacs.org>
+ * bytecode.c (execute_optimized_program): check_opcode ifdef
+ ERROR_CHECK_BYTE_CODE.
- * lisp.h: Fix up prototypes to match alloc.c
+2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
-1998-12-09 Andy Piper <andy@xemacs.org>
+ Thanks to Ben Wing and Michael Sperber.
- * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
- XSETINT for assigning lisp objects.
+ * eval.c (Fcommand_execute):
+ (Feval):
+ (Ffuncall):
+ (Fmacroexpand_internal):
+ (function_argcount):
+ callint.c (Fcall_interactively):
+ Add comment about do_autoload GCPROs own args.
-1998-12-07 Martin Buchholz <martin@xemacs.org>
+ * (do_autoload): GCPRO both args as well as local Lisp_Object.
- * opaque.h:
- * console-msw.c (DHEADER):
- (DOPAQUE_DATA):
- (DEVENT):
- (DCONS):
- (DCONSCDR):
- (DSTRING):
- (DVECTOR):
- (DSYMBOL):
- (DSYMNAME):
- - max_align_t should not be visible to the user of the
- XOPAQUE_DATA macro.
- - use Bufbyte instead of char
- - parens around (FOOP (obj)) are always redundant.
- If they were necessary, we should fix the macro instead.
- - Always use string_data(foo) instead of foo->data.
+ * eval.c (Ffuncall): Extra braces to placate GCC.
-1998-12-07 Martin Buchholz <martin@xemacs.org>
+2002-08-10 Stephen J. Turnbull <stephen@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.
+ * backtrace.h (grow_specpdl):
+ (SPECPDL_RESERVE):
+ * EmacsFrame.c (EmacsFrameSetValues):
+ * eval.c (grow_specpdl):
+ * ExternalShell.c (hack_event_masks_1):
+ * glyphs-x.c (convert_EImage_to_XImage):
+ (x_finalize_image_instance):
+ * ralloc.c (page_size):
+ (r_alloc_sbrk):
+ * xgccache.c (gc_cache_hash):
+ Fix unsigned comparison warnings.
-1998-12-09 Andy Piper <andy@xemacs.org>
+2002-07-29 Jerry James <james@xemacs.org>
- * menubar-msw.c (mswindows_handle_wm_command): add back in checks
- that got removed in the merge
+ * lread.c (locate_file): Any nonnegative return value indicates
+ success if MODE is nonnegative.
-1998-11-30 Greg Klanderman <greg@alphatech.com>
+2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
- * dired.c (vars_of_dired): bugfix for previous conditionalization
- of user-name-completion on non- Windows NT.
+ * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
+ argument.
-1998-12-08 Martin Buchholz <martin@xemacs.org>
+2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
- * windowsnt.h: Remove `support' for using index and rindex
+ * process-unix.c (unix_send_process): #ifdef the coding_stream member.
+ * dumper.c (pdump_get_indirect_count):
+ (pdump_scan_by_alignment):
+ (pdump_dump_root_struct_ptrs):
+ (pdump_dump_rtables):
+ (pdump_dump_root_objects):
+ (pdump):
+ * nas.c (WaveOpenDataForReading):
+ * fns.c (print_bit_vector):
+ * font-lock.c (SINGLE_SYNTAX_STYLE):
+ * glyphs.c (check_for_ignored_expose):
+ (find_matching_subwindow):
+ * glyphs-eimage.c:
+ * imgproc.c (get_histogram):
+ * redisplay.c (point_in_line_start_cache):
+ * redisplay-output.c (redisplay_unmap_subwindows):
+ * symbols.c (defsymbol_massage_name_1):
+ (defkeyword_massage_name):
+ (deferror_massage_name_and_message):
+ * redisplay-x.c (x_output_string):
+ * emacs.c (run_temacs_argv_size, run_temacs_args_size):
+ * frame.h (struct frame):
* filelock.c (current_lock_owner):
- - Change uses of index -> strchr, rindex -> strrchr
+ * doprnt.c (emacs_doprnt_1):
+ * lisp.h (struct Lisp_Bit_Vector):
+ (DO_REALLOC):
+ Fix warnings.
-1998-12-06 Martin Buchholz <martin@xemacs.org>
+2002-02-13 Ben Wing <ben@xemacs.org>
- * frame-msw.c (mswindows_init_frame_1):
- - use make_lisp_hash_table, not Fmake_hash_table
- - include elhash.h
+ * event-stream.c (reset_key_echo):
+ * event-stream.c (reset_this_command_keys):
+ * event-stream.c (execute_command_event):
+ If console is dead as a result of C-x 5 0, then post-command stuff
+ needs to be careful and do only non-console-specific stuff.
-1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
+2002-07-01 Mike Sperber <mike@xemacs.org>
- * XEmacs 21.2.5 is released
+ * process-unix.c (unix_send_process): Mark coding_outstream as
+ non-open upon SIGPIPE.
-1998-11-30 Martin Buchholz <martin@xemacs.org>
+ * event-stream.c (Fnext_event): Reorder switch cases to something
+ that makes sense.
- * xselect.c (receive_incremental_selection):
- * xselect.c (x_get_window_property):
- * xmu.c (XmuReadBitmapDataFromFile):
- * xmu.c (XmuCursorNameToIndex):
- * xgccache.c (describe_gc_cache):
- * xgccache.c (gc_cache_lookup):
- * xgccache.c (free_gc_cache):
- * xgccache.c (make_gc_cache):
- * window.h:
- * window.c (map_windows_1):
- * window.c (Fother_window_for_scrolling):
- * window.c (window_scroll):
- * window.c (change_window_height):
- * window.c (Fsplit_window):
- * window.c (window_left_gutter_width):
- * window.c (window_modeline_height):
- * window.c (invalidate_vertical_divider_cache_in_window):
- * window.c (window_needs_vertical_divider_1):
- * window.c (update_mirror_internal):
- * window.c (SET_LAST_FACECHANGE):
- * widget.c (Fwidget_plist_member):
- * unexec.c (copy_text_and_data):
- * unexcw.c (copy_executable_and_dump_data_section):
- * tooltalk.doc:
- * tooltalk.c (struct Lisp_Tooltalk_Pattern):
- * tooltalk.c (struct Lisp_Tooltalk_Message):
- * toolbar.h (struct toolbar_button):
- * toolbar.c (default_toolbar_visible_p_changed_in_window):
- * toolbar.c (recompute_overlaying_specifier):
- * toolbar.c (toolbar_validate):
- * toolbar.c (toolbar_button_at_pixpos):
- * toolbar.c (get_toolbar_coords):
- * toolbar.c (update_frame_toolbars):
- * toolbar-x.c:
- * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
- * toolbar-msw.c (mswindows_find_toolbar_pos):
- * toolbar-msw.c (mswindows_output_toolbar):
- * toolbar-msw.c (mswindows_clear_toolbar):
- * toolbar-msw.c:
- * systty.h:
- * syssignal.h:
- * sysproc.h:
- * sysfile.h:
- * sysdll.c:
- * sysdep.h:
- * sysdep.c (rmdir):
- * sysdep.c (sys_fopen):
- * sysdep.c (sys_open):
- * sysdep.c (tty_init_sys_modes_on_device):
- * sysdep.c (get_eof_char):
- * sysdep.c (child_setup_tty):
- * sysdep.c (set_descriptor_non_blocking):
- * syntax.h:
- * syntax.c (scan_words):
- * syntax.c:
- * symsinit.h:
- * symeval.h (struct symbol_value_varalias):
- * symeval.h (struct symbol_value_forward):
- * symbols.c (syms_of_symbols):
- * symbols.c (init_symbols_once_early):
- * symbols.c (Fbuilt_in_variable_type):
- * symbols.c (Fsymbol_value_in_buffer):
- * symbols.c (default_value):
- * symbols.c (Fset):
- * symbols.c (find_symbol_value_quickly):
- * symbols.c (store_symval_forwarding):
- * symbols.c (set_default_console_slot_variable):
- * symbols.c (set_default_buffer_slot_variable):
- * symbols.c (verify_ok_for_buffer_local):
- * symbols.c (symbol_is_constant):
- * symbols.c (oblookup):
- * symbols.c (Funintern):
- * symbols.c (Fintern):
- * symbols.c (check_obarray):
- * sunplay.c:
- * specifier.h (struct specifier_methods):
- * specifier.h:
- * specifier.c (specifier_instance):
- * specifier.c (specifier_instance_from_inst_list):
- * specifier.c (decode_locale_type):
- * specifier.c (specifier_equal):
- * specifier.c (finalize_specifier):
- * specifier.c (prune_specifiers):
- * specifier.c (kill_specifier_buffer_locals):
- * sound.c (init_native_sound):
- * sound.c:
- * signal.c (alarm):
- * search.c (Fmatch_data):
- * search.c (match_limit):
- * search.c (Freplace_match):
- * search.c (skip_chars):
- * search.c (scan_buffer):
- * search.c:
- * scrollbar.c (specifier_vars_of_scrollbar):
- * scrollbar.c (Fscrollbar_set_hscroll):
- * scrollbar.c (vertical_scrollbar_changed_in_window):
- * scrollbar.c (release_window_mirror_scrollbars):
- * scrollbar.c (free_scrollbar_instance):
- * scrollbar-x.c:
- * scrollbar-msw.c:
- * s/msdos.h (O_BINARY):
- * s/linux.h:
- * s/freebsd.h (LIBS_TERMCAP):
- * regex.c (re_match_2_internal):
- * regex.c (compile_extended_range):
- * regex.c (POP_FAILURE_POINT):
- * regex.c (PUSH_FAILURE_POINT):
- * redisplay.h (RESET_CHANGED_SET_FLAGS):
- * redisplay.h:
- * redisplay.h (struct display_line):
- * redisplay.h (struct rune):
- * redisplay.c (vars_of_redisplay):
- * redisplay.c (redisplay_variable_changed):
- * redisplay.c (UPDATE_CACHE_RETURN):
- * redisplay.c (validate_line_start_cache):
- * redisplay.c (mark_redisplay_structs):
- * redisplay.c (mark_glyph_block_dynarr):
- * redisplay.c (window_line_number):
- * redisplay.c (redisplay_frame):
- * redisplay.c (redisplay_window):
- * redisplay.c (generate_modeline):
- * redisplay.c (create_right_glyph_block):
- * redisplay.c (create_left_glyph_block):
- * redisplay.c (create_text_block):
- * redisplay.c:
- * redisplay-x.c (x_output_hline):
- * redisplay-x.c (x_output_vertical_divider):
- * redisplay-tty.c (tty_output_display_block):
- * redisplay-output.c (output_display_line):
- * redisplay-output.c:
- * redisplay-msw.c (mswindows_output_vertical_divider):
- * redisplay-msw.c (mswindows_ring_bell):
- * redisplay-msw.c (mswindows_output_cursor):
- * redisplay-msw.c:
- * rangetab.c:
- * ralloc.c:
- * puresize.h (RAW_PURESIZE):
- * profile.c (syms_of_profile):
- * profile.c (Fstart_profiling):
- * profile.c (sigprof_handler):
- * profile.c:
- * procimpl.h:
- * process.c (vars_of_process):
- * process.c (read_process_output):
- * process.c (get_process):
- * process.c:
- * process-unix.c (unix_open_multicast_group):
- * process-unix.c (unix_get_tty_name):
- * process-unix.c (unix_send_process):
- * process-unix.c (unix_reap_exited_processes):
- * process-unix.c (unix_create_process):
- * process-unix.c (unix_init_process_io_handles):
- * process-unix.c (allocate_pty):
- * process-unix.c:
- * process-nt.c (nt_open_network_stream):
- * process-nt.c (nt_update_status_if_terminated):
- * process-nt.c (nt_finalize_process_data):
- * process-nt.c:
- * print.c (debug_short_backtrace):
- * print.c (debug_backtrace):
- * print.c (print_symbol):
- * print.c (print_internal):
- * print.c (print_cons):
- * print.c (Fwrite_char):
- * print.c (print_prepare):
- * print.c (canonicalize_printcharfun):
- * print.c (output_string):
- * print.c:
- * opaque.h:
- * opaque.c (allocate_managed_opaque):
- * opaque.c:
- * offix.c (DndSetData):
- * objects.c (face_boolean_create):
- * objects.c (font_instantiate):
- * objects.c (font_create):
- * objects.c (color_create):
- * objects.c (finalize_font_instance):
- * objects.c (finalize_color_instance):
- * objects.c:
- * objects-x.c (x_font_instance_truename):
- * objects-x.c:
- * objects-x.c (x_initialize_font_instance):
- * objects-x.c (allocate_nearest_color):
- * objects-tty.c (tty_initialize_font_instance):
- * objects-tty.c (tty_initialize_color_instance):
- * objects-msw.c (mswindows_initialize_color_instance):
- * ntproc.c (syms_of_ntproc):
- * ntproc.c (Fwin32_set_process_priority):
- * ntproc.c (sys_spawnve):
- * ntproc.c:
- * ntheap.c (get_data_end):
- * nt.c (period):
- * nt.c:
- * nt.c (stat):
- * nt.c (generate_inode_val):
- * nt.c (sys_rename):
- * nas.c:
- * mule-wnnfns.c (Fwnn_hinsi_number):
- * mule-wnnfns.c (Fwnn_yuragi):
- * mule-wnnfns.c (Fwnn_common_learn):
- * mule-wnnfns.c (Fwnn_suffix_learn):
- * mule-wnnfns.c (Fwnn_prefix_learn):
- * mule-wnnfns.c (Fwnn_okuri_learn):
- * mule-wnnfns.c (Fwnn_complex_conv):
- * mule-wnnfns.c (Fwnn_last_is_first):
- * mule-wnnfns.c (Fwnn_bmodify_dict_add):
- * mule-wnnfns.c (Fwnn_notrans_dict_add):
- * mule-wnnfns.c (Fwnn_fiusr_dict_add):
- * mule-wnnfns.c (Fwnn_fisys_dict_add):
- * mule-wnnfns.c (Fwnn_hinsi_list):
- * mule-wnnfns.c (Fwnn_fuzokugo_set):
- * mule-wnnfns.c (Fwnn_dict_search):
- * mule-wnnfns.c (Fwnn_word_toroku):
- * mule-wnnfns.c (Fwnn_hindo_update):
- * mule-wnnfns.c (Fwnn_bunsetu_henkou):
- * mule-wnnfns.c (Fwnn_kakutei):
- * mule-wnnfns.c (Fwnn_begin_henkan):
- * mule-wnnfns.c (Fwnn_dict_comment):
- * mule-wnnfns.c (Fwnn_dict_add):
- * mule-wnnfns.c (Fwnn_open):
- * mule-mcpath.c (mc_getcwd):
- * mule-coding.c (vars_of_mule_coding):
- * mule-coding.c (convert_to_external_format):
- * mule-coding.c (encoding_marker):
- * mule-coding.c (decoding_marker):
- * mule-coding.c (Fcopy_coding_system):
- * mule-coding.c (Fmake_coding_system):
- * mule-coding.c (Fcoding_system_list):
- * mule-coding.c (Ffind_coding_system):
- * mule-coding.c (symbol_to_eol_type):
- * mule-coding.c:
- * mule-charset.c (complex_vars_of_mule_charset):
- * mule-charset.c (vars_of_mule_charset):
- * mule-charset.c (Fset_charset_ccl_program):
- * mule-charset.c (struct charset_list_closure):
- * mule-charset.c (Ffind_charset):
- * mule-charset.c (make_charset):
- * mule-charset.c (non_ascii_valid_char_p):
- * mule-charset.c:
- * mule-ccl.c (ccl_driver):
- * mule-canna.c (c2mu):
- * mule-canna.c (Fcanna_henkan_begin):
- * mule-canna.c (Fcanna_parse):
- * mule-canna.c (Fcanna_store_yomi):
- * mule-canna.c (Fcanna_touroku_string):
- * mule-canna.c (Fcanna_initialize):
- * minibuf.c:
- * menubar.c (menu_parse_submenu_keywords):
- * menubar-x.c (make_dummy_xbutton_event):
- * menubar-x.c (set_frame_menubar):
- * menubar-x.c (menu_item_descriptor_to_widget_value_1):
- * menubar-x.c:
- * menubar-msw.h:
- * menubar-msw.c (mswindows_popup_menu):
- * menubar-msw.c (mswindows_update_frame_menubars):
- * menubar-msw.c (mswindows_handle_wm_command):
- * menubar-msw.c (unsafe_handle_wm_initmenu_1):
- * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
- * menubar-msw.c (update_frame_menubar_maybe):
- * menubar-msw.c (populate_or_checksum_helper):
- * menubar-msw.c (empty_menu):
- * menubar-msw.c:
- * md5.c:
- * marker.c (set_marker_internal):
- * marker.c (print_marker):
- * malloc.c:
- * make-src-depend:
- * lstream.c (lisp_buffer_rewinder):
- * lstream.c (mark_lstream):
+2001-08-13 Dmitry Astapov <adept@umc.com.ua>
+
+ * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
+ Don't bogusly reinitialize ascii_character property.
+
+2002-07-08 Mike Sperber <mike@xemacs.org>
+
+ * process.c (Fstart_process_internal): Do error checking before we
+ fork off the child, so the child can't muck with the state of the
+ parent.
+
+2002-07-08 Mike Sperber <mike@xemacs.org>
+
+ * ralloc.c (init_ralloc): Allocate properly for pdump.
+
+2002-06-12 Andy Piper <andy@xemacs.org>
+
+ * glyphs.c (query_string_geometry): check the string.
+
+ * glyphs-widget.c (widget_logical_unit_height): cope with nil
+ widget names.
+
+2002-06-17 Jerry James <james@xemacs.org>
+
+ * sysdll.c: Remove RTLD_GLOBAL initialization.
+ * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
+
+2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
+
+2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
+
+ * sysdep.c (sys_rename): Make sys_rename work for the case where
+ Windows rename sets errno to EACCES if target file exists.
+
+2002-05-21 Jonathan Harris <jonathan@xemacs.org>
+
+ * device-msw.c (mswindows_handle_page_setup_dialog_box):
+ Fix detection of metric units to work on Win95
+
+2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
+
+2002-04-25 Andy Piper <andy@xemacs.org>
+
+ * redisplay.c (create_text_block): Remove extra comment trailer.
+
+2002-04-24 Andy Piper <andy@xemacs.org>
+
+ * redisplay.c (create_text_block): Don't actually add propagation
+ data if the line ends after we have added a glyph.
+
+2002-04-22 Andy Piper <andy@xemacs.org>
+
+ * extents.c (extent_fragment_update): check for glyphs we have
+ previously displayed.
+ * extents.c (print_extent_1): warning removal.
+ * extents.h: change prototype.
+ * redisplay-output.c (redisplay_normalize_glyph_area): calculate
+ widths correctly for wide glyphs.
+ * redisplay.c (position_redisplay_data_type): add end_glyph_width.
+ * redisplay.c (prop_type): add PROP_GLYPH.
+ * redisplay.c (struct prop_block): add glyph type
+ * redisplay.c (add_glyph_rune): when adding part of a glyph add it
+ to the propagation data.
+ * redisplay.c (create_text_block): if there is a glyph in the
+ propagation data use it to salt extent_fragment_update.
+ * redisplay.c (create_string_text_block): ditto.
+
+2002-04-13 Nix <nix@esperi.demon.co.uk>
+
+ * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
+ * redisplay-output.c (compare_runes): Compare them.
+ * redisplay.c: Update copyright date.
+ * redisplay.c (pos_data): Add need_baseline_computation field.
+ * redisplay.c (add_glyph_rune): Update ascent, descent, and
+ need_baseline_computation; zero yoffset. Set max_pixmap_height
+ for all pixmaps, not just automatically positioned ones.
+ * redisplay.c (calculate_yoffset): New, compute yoffset values.
+ * redisplay.c (calculate_baseline): New, compute textual baseline.
+ * redisplay.c (add_glyph_rune): Call them.
+ * redisplay.c (create_text_block): Likewise.
+ * redisplay.c (create_overlay_glyph_block): Likewise.
+ * redisplay.c (add_margin_runes): Likewise.
+ * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
+
+ * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
+ * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
+ * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
+ * redisplay-msw.c (mswindows_output_string): Likewise.
+ * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
+ * redisplay-gtk.c (gtk_output_display_block): Likewise.
+ * redisplay-x.c (x_output_display_block): Likewise.
+
+2002-03-28 Ben Wing <ben@xemacs.org>
+
+ * redisplay.c: Fixed bug in redisplay
+ w.r.t. hscroll/truncation/continuation glyphs causing jumping up
+ and down of the lines, since they're bigger than the line
+ size. (It was seen most obviously when there's a horizontal scroll
+ bar, e.g. do C-h a glyph or something like that.) The problem was
+ that the glyph-contrib-p setting on glyphs was ignored even if it
+ was set properly, which it wasn't until now.
+
+2002-04-24 Andy Piper <andy@xemacs.org>
+
+ * lisp.h (Dynarr_end): Fix definition.
+
+2002-02-06 Adrian Aichner <adrian@xemacs.org>
+
+ * redisplay.c (mark_redisplay): Remove call to
+ update_frame_window_mirror.
+
+2001-11-15 Andy Piper <andy@xemacs.org>
+
+ * win32.c (Fmswindows_shell_execute): fix handling of URL's under
+ cygwin (again).
+
+2002-02-13 Andy Piper <andy@xemacs.org>
+
+ * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
+ we did in fact enqueue the XM_MAPFRAME event.
+
+2002-01-15 Adrian Aichner <adrian@xemacs.org>
+
+ * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
+ to fix problem switching between virtual desktops under virtuawin
+ virtual window manager.
+
+2001-07-30 Adrian Aichner <adrian@xemacs.org>
+
+ * event-msw.c: Typo fix.
+ * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
+ magic XM_MAPFRAME event has been sent.
+
+2001-11-23 Andy Piper <andy@xemacs.org>
+
+ * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
+
+2001-11-21 Andy Piper <andy@xemacs.org>
+
+ * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
+ mouse events outside the frame.
+
+2002-03-20 Andy Piper <andy@xemacs.org>
+
+ * menubar-msw.c (mswindows_popup_menu): warning removal.
+ * dialog-msw.c (dialog_popped_down): ditto.
+
+2001-12-11 Andy Piper <andy@xemacs.org>
+
+ * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
+ * dialog-msw.c (mswindows_make_dialog_box_internal): set
+ popup_up_p.
+ * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
+ * menubar-msw.c (mswindows_handle_wm_command): ditto.
+ * menubar-msw.c (mswindows_popup_menu): ditto.
+
+2001-10-29 Andy Piper <andy@xemacs.org>
+
+ * dialog-msw.c (handle_directory_dialog_box): quit if the user
+ cancels.
+
+2002-01-03 Andy Piper <andy@xemacs.org>
+
+ * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
+ letters.
+ (xrealpath): ditto.
+
+2002-03-29 Jonathan Harris <jonathan@xemacs.org>
+
+ * device-msw.c (plist_get_margin): Add arg specifying mm or inches
+ * device-msw.c (plist_set_margin): Fix multiplicand used for mm
+ * device-msw.c (mswindows_handle_page_setup_dialog_box):
+ Detect and handle case where machine is set up for metric units
+
+2002-04-02 Andy Piper <andy@xemacs.org>
+
+ * dired-msw.c (mswindows_get_files):
+ * nt.c (mswindows_stat): SetErrorMode() so that file errors are
+ completely handled by XEmacs. Suggested by Thomas Vogler
+ <mail@thomas-vogler.de>.
+
+2001-11-14 Andy Piper <andy@xemacs.org>
+
+ * nt.c (REG_ROOT): change registry key to XEmacs.
+
+2002-04-27 Andy Piper <andy@xemacs.org>
+
+ * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
+
+2002-04-26 Andy Piper <andy@xemacs.org>
+
+ * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
+ behavior.
+
+2002-03-14 Mike Alexander <mta@arbortext.com>
+
+ * event-msw.c (mswindows_unwait_process): New, remove process from
+ wait list
+ * process-nt.c (nt_finalize_process_data): Call
+ mswindows_unwait_process
+ * console-msw.h: Declare mswindows_unwait_process
+
+2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * editfns.c (Fdecode_time):
+ (Fformat_time_string):
+ Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
+ (make_time): Warning elimination (change arg name).
+
+2001-11-24 Andy Piper <andy@xemacs.org>
+
+ * window.c (Fsplit_window): Doc return type.
+
+2002-04-01 Andy Piper <andy@xemacs.org>
+
+ * emacs.c (Fkill_emacs): Only output message box in interactive
+ mode.
+
+2002-04-26 Andy Piper <andy@xemacs.org>
+
+ * config.h.in: pull in 21.5.x change to stop alloca warnings under
+ cygwin.
+
+2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
+
+ * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
+ bit platform.
+
+2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * XEmacs 21.4.8 "Honest Recruiter" is released.
+
+2002-05-07 Nix <nix@esperi.demon.co.uk>
+
+ Supersedes 2002-04-17 patch.
+
+ * process.h (PROCESS_LIVE_P): Use the process status as
+ evidence of health, not the state of the input stream.
+ (PROCESS_READABLE_P): Say if the process is readable
+ from. (It may be dead nonetheless.)
+ (CHECK_READABLE_PROCESS): Test for that condition.
+
+ * process.c (create_process): Use PROCESS_READABLE_P.
+ (read_process_output, set_process_filter): Likewise.
+
+ * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
+ (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
+
+ This code is #if 0'd, this is not the time to add new functions:
+
+ * process.c (Fprocess_readable_p): Report readability status.
+ * process.c (Qprocess_readable_p): New, associated symbol...
+ * process.c (syms_of_process): ... initialize it.
+
+2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * XEmacs 21.4.7 "Economic Science" is released.
+
+2002-04-17 Nix <nix@esperi.demon.co.uk>
+
+ * process.h (PROCESS_LIVE_P): Use the process status as
+ evidence of health, not the state of the input stream.
+
+2002-04-30 Charles G. Waldman <cgw@xemacs.org>
+
+ * sysdep.c (sys_siglist): change "signum" to "signal"
+
+2001-04-21 Martin Buchholz <martin@xemacs.org>
+
+ * s/darwin.h: New file.
+ Thanks to Greg Parker <gparker@cs.stanford.edu>.
+
+2002-04-23 Andreas Jaeger <aj@suse.de>
+
+ * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
+ which use lib64 for 64-bit libs.
+ (START_FILES): Likewise.
+
+2002-02-11 Mike Sperber <mike@xemacs.org>
+
+ * device-x.c:
+ (x_IO_error_handler):
+ (x_init_device): Temporarily keep device in static variable
+ `device_being_initialized' so we can recover gracefully from
+ internal XOpenDevice failure. (XOpenDevice is documented to
+ return NULL on failure, but sometimes calls the IO error handler
+ instead.)
+
+2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
+
+ * dired.c (Ffile_name_all_completions): Change documentation --
+ remove reference to completion-ignored-extensions.
+ * dired.c (vars_of_dired): Change documentation for
+ completion-ignored-extensions -- remove reference to
+ file-name-all-completions.
+
+2002-03-06 Jerry James <james@xemacs.org>
+
+ * emodules.c (emodules_load): Fix multiple loading of same module.
+
+2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
+ * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
+ RTLD_LAZY to avoid incorrect symbol binding when using nested
+ shared libraries on Solaris.
+
+2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * fileio.c (Ffind_file_name_handler): Improve docstring.
+
+2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * fns.c (Fmapconcat): Improve docstring.
+
+2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
+
+ * device-gtk.c: Add prototype for
+ emacs_gtk_selection_clear_event_handle.
+ (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
+ selection. Setup signal handler for "selection_clear_event"
+ (emacs_gtk_selection_clear_event_handle).
+
+ * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
+ other applications owning the clipboard (based on
+ x_handle_selection_clear).
+
+2001-12-23 William M. Perry <wmperry@gnu.org>
+
+ * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
+
+2002-01-04 Martin Buchholz <martin@xemacs.org>
+
+ * keymap.c (define_key_alternate_name): Parenthesize EQ.
+
+2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * XEmacs 21.4.6 "Common Lisp" is released.
+
+2001-12-16 Torsten Duwe <duwe@caldera.de>
+
+ * search.c (Freplace_match): Add missing sub-expression functionality.
+
+ * buffer.c (decode_buffer): Add a check for pointer type to
+ decode_buffer, before gcc's CSE optimization reorders a
+ dereference in front of the allow_string test.
+
+2001-11-16 Darryl Okahata <darrylo@xemacs.org>
+
+ * window.c (window_loop): Fix bug that sometimes prevented
+ window_loop() from iterating across multiple devices. Also, at
+ Ben's request, changed infloop-detecting code to abort() instead
+ of silently terminating window_loop().
+
+2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
+
+ Based on analysis and patch by Simon Josefson <jas@extundo.com>.
+ * editfns.c (make_time): New function.
+ (Fencode_time): Use it instead of wasteful_word_to_lisp.
+ * lisp.h (make_time): Prototype and comment it.
+ * dired.c (wasteful_word_to_lisp): Deprecate.
+ (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
+
+2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
+
+ * fileio.c (auto_save_1): Use current coding system, not
+ escape-quoted.
+
+2001-11-13 Ben Wing <ben@xemacs.org>
+
+ * window.c:
+ * window.c (window_truncation_on):
+ * window.c (syms_of_window):
+ truncate-partial-width-windows should respect the buffer being
+ displayed, like other redisplay vars.
+
+2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
+
+ * event-stream.c (Fread_key_sequence): save current buffer.
+
+2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
+
+ * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
+
+2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
+
+ * alloc.c (lcrecord_stats): Add space for types defined in modules.
+
+2001-10-26 Mike Alexander <mta@arbortext.com>
+
+ * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
+
+2001-10-25 Andy Piper <andy@xemacs.org>
+
+ * ChangeLog:
+ * dialog-msw.c (handle_directory_proc): new function.
+ (handle_directory_dialog_box): new fucntion.
+ (handle_file_dialog_box): use new directory dialog support.
+ (mswindows_make_dialog_box_internal): ditto.
+ * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
+ handling.
+ (mswindows_find_frame): make global.
+ * fileio.c (Fexpand_file_name): build fix.
+ * general-slots.h: add Qdirectory.
+ * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
+ handling.
+ * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
+ cygwin not leaving win32 paths unchanged.
+ * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
+ cygwin runtime to do path conversion.
+ (Fmswindows_shell_execute): fix cygwin handling of URLs.
+ (syms_of_win32): add new function.
+ * window.c (window_loop): build fix.
+
+2001-10-15 Andy Piper <andy@xemacs.org>
+
+ (Fmswindows_shell_execute): fix handling of URL's under cygwin.
+
+2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * XEmacs 21.4.5 "Civil Service" is released.
+
+2001-04-08 Danny Colascione <qtmstr@optonline.net>
+
+ * glyphs-x.c: Force buffer-tab highlight update when moving the
+ buffer, avoiding an ugly black border, used for keyboard focus
+ indication, on a widget that can never have keyboard focus, the
+ buffer tab.
+
+2001-08-30 Daiki Ueno <ueno@unixuser.org>
+
+ * process-unix.c (unix_open_multicast_group): Remove too much
+ conversion between host and network byte order.
+
+2001-09-10 Nix <nix@esperi.demon.co.uk>
+
+ * src/buffer.c (kill_buffer): Undedicate windows showing BUF
+ before replacing them.
+
+ * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
+ operation.
+
+ * src/window.c (undedicate_windows): Use it.
+ * src/window.h: Add prototype.
+
+2001-09-17 Ben Wing <ben@xemacs.org>
+
+ * fileio.c (normalize_filename):
+ * fileio.c (Fexpand_file_name):
+ Fix various C++ compile errors in Andy's recent code.
+
+ * callint.c (Fcall_interactively):
+ * editfns.c (Ftemp_directory):
+ * editfns.c (Fuser_full_name):
+ * emacs.c (argmatch):
+ * lread.c (locate_file_map_suffixes):
+ * redisplay-x.c (x_ring_bell):
+ Fix sign-compare warnings.
+
+2001-09-08 Andy Piper <andy@xemacs.org>
+
+ * fileio.c (normalize_filename): copied from nt.c
+ * (Ffile_name_directory): enable win32 paths under cygwin.
+ * (Ffile_name_nondirectory): ditto.
+ * (directory_file_name): ditto.
+ * (Fexpand_file_name): ditto.
+ * (Ffile_truename): ditto.
+ * (Fsubstitute_in_file_name): ditto.
+ * (Ffile_name_absolute_p): ditto.
+ * (Ffile_readable_p): ditto.
+
+2001-09-08 Andy Piper <andy@xemacs.org>
+
+ * device-msw.c (mswindows_finish_init_device): remove dde
+ initialization.
+ * device-msw.c (mswindows_init_dde): factor out from
+ mswindows_finish_init_device()
+ * device-msw.c (init_mswindows_very_early): new function
+ initialize but don't enable dde.
+ * emacs.c (main_1): call init_mswindows_very_early.
+ * event-msw.c:
+ * event-msw.c (mswindows_dde_callback): only execute when we are
+ ready.
+ * symsinit.h: declare init_mswindows_very_early.
+
+2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
+
+ [sjt: This has been in 21.5 for months with no complaints.]
+
+ * console.h (struct console_methods): Added flags member.
+ (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
+ (CONMETH_IMPL_FLAG):
+ (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
+ Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
+
+ * device.c (window_system_pixelated_geometry): Use the above macros.
+
+ * device.h (DEVICE_IMPL_FLAG): Macro to check a device
+ implememntation flag.
+ * device.h (DEVICE_DISPLAY_P): Use it.
+
+ * frame.c (delete_frame_internal): Use the above macro.
+
+ * redisplay.c (redisplay_device): Use it.
+ (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
+ (redisplay_frame): Ditto.
+
+ * device-msw.c (mswindows_device_implementation_flags): Removed.
+ (msprinter_device_implementation_flags): Removed.
+ (console_type_create_device_mswindows): Removed references to
+ implementation_flags methods, set implementation flags here.
+ (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
+
+ * device-gtk.c (gtk_device_implementation_flags): Removed method.
+ (console_type_create_device_gtk): Removed method declaration.
+ Added commented out statement which semantically matches the
+ commented out statement in the above removed method.
+
+2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
+
+ The attached patch fixes a few warnings.
+
+ * src/emacs.c: prototype console_type_create_select_gtk for GTK only
+ * src/frame-gtk.c: guard against GNOME calls in GTK only
+ * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
+ * src/select-gtk.c: prototype lisp_to_time
+
+2001-06-08 Ben Wing <ben@xemacs.org>
+
+ ------ gc-in-window-procedure fixes ------
+
+ * alloc.c:
+ * alloc.c (struct post_gc_action):
+ * alloc.c (register_post_gc_action):
+ * alloc.c (run_post_gc_actions):
+ * alloc.c (garbage_collect_1):
+ Create "post-gc actions", to avoid those dreaded "GC during window
+ procedure" problems.
+
+ * event-msw.c:
+ Abort, clean and simple, when GC in window procedure. We want
+ to flush these puppies out.
+
+ * glyphs-msw.c:
+ * glyphs-msw.c (finalize_destroy_window):
+ * glyphs-msw.c (mswindows_finalize_image_instance):
+ Use a post-gc action when destroying subwindows.
+
+ * lisp.h:
+ Declare register_post_gc_action().
+
+ * scrollbar-msw.c:
+ * scrollbar-msw.c (unshow_that_mofo):
+ Use a post-gc action when unshowing scrollbar windows, if in gc.
+
+ * redisplay.c (mark_redisplay):
+ Add comment about the utter evilness of what's going down here.
+
+ ------ cygwin setitimer fixes ------
+
+ * Makefile.in.in (sheap_objs):
+ * Makefile.in.in (profile_objs):
+ * Makefile.in.in (objs):
+ Compile profile.c only when HAVE_SETITIMER.
+
+ * nt.c (mswindows_sigset):
+ * nt.c (mswindows_sighold):
+ * nt.c (mswindows_sigrelse):
+ * nt.c (mswindows_sigpause):
+ * nt.c (mswindows_raise):
+ * nt.c (close_file_data):
+ Style fixes.
+
+ * nt.c:
+ Move setitimer() emulation to win32.c, because Cygwin needs it too.
+
+ * profile.c:
+ * profile.c (Fstart_profiling):
+ * profile.c (Fstop_profiling):
+ Make sure we don't compile if no setitimer(). Use qxe_setitimer()
+ instead of just plain setitimer().
+
+ * signal.c:
+ * signal.c (set_one_shot_timer):
+ * signal.c (alarm):
+ Define qxe_setitimer() as an encapsulation around setitimer() --
+ call setitimer() directly unless Cygwin or MS Win, in which case
+ we use our simulated version in win32.c.
+
+ * systime.h:
+ * systime.h (struct itimerval):
+ * systime.h (ITIMER_REAL):
+ Prototype mswindows_setitimer() and qxe_setitimer(). Long
+ comment about "qxe" and the policy regarding encapsulation.
+
+ * win32.c:
+ * win32.c (setitimer_helper_proc):
+ * win32.c (setitimer_helper_period):
+ * win32.c (setitimer_helper):
+ * win32.c (mswindows_setitimer):
+ Move setitimer() emulation here, so Cygwin can use it.
+ Rename a couple of functions and variables to be longer and more
+ descriptive. In setitimer_helper_proc(), send the signal
+ using either mswindows_raise() or (on Cygwin) kill(). If for
+ some reason we are still getting lockups, we'll change the kill()
+ to directly invoke the signal handlers.
+
+ ------ windows shell fixes ------
+
+ * callproc.c:
+ * ntproc.c:
+ Comments about how these two files must die.
+
+ * callproc.c (init_callproc):
+ On MS Windows, init shell-file-name from SHELL, then COMSPEC,
+ not just COMSPEC. (more correct and closer to FSF.) Don't
+ force a value for SHELL into the environment. (Comments added
+ to explain why not.)
+
+ * nt.c (init_user_info):
+ Don't shove a fabricated SHELL into the environment. See above.
+
+2001-06-01 Ben Wing <ben@xemacs.org>
+
+ * Makefile.in.in (ldflags):
+ eliminate that pesky "defaulting to 00401000" warning.
+ * nt.h:
+ eliminate warnings.
+
+2001-06-15 Golubev I. N. <gin@mo.msk.ru>
+
+ * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
+ * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
+
+2001-04-24 Jerry James <james@xemacs.org>
+
+ * faces.h: pass parameters to Fadd_spec_to_specifier in the
+ correct order.
+
+2001-06-01 Ben Wing <ben@xemacs.org>
+
+ * event-msw.c (debug_mswin_messages):
+ conditionalize the messages that were causing compile errors.
+ (if only macros could generate #ifdef statements ...)
+
+2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * XEmacs 21.4.4 "Artificial Intelligence" is released.
+
+2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
+
+2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
+ * process-unix.c (unix_canonicalize_host_name):
+ sysdep.c (init_system_name):
+ Use it to conditionally support IPv6 canonicalization.
+
+2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
+
+ * event-msw.c:
+ Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
+
+2001-05-19 Paul Krause <paulkrause1@mediaone.net>
+
+ * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
+ attempt is made to scroll when no scroll bar is available.
+
+2001-04-19 Glynn Clements <glynn.clements@virgin.net>
+
+ * input-method-motif.c (XIM_delete_frame): New callback.
+ (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
+ got deleted from 21.4.3.)
+
+2001-06-01 Ben Wing <ben@xemacs.org>
+
+ * nt.c (mswindows_utime):
+ * nt.c (close_file_data):
+ fix off-by-one-indirection error.
+
+2001-05-29 Adrian Aichner <adrian@xemacs.org>
+
+ * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
+ because set_file_times() now takes Lisp_Object path, instead of
+ char*.
+ * nt.c: Include buffer.h.
+ * nt.c (convert_from_time_t): New.
+ * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
+ not set mtime correctly.
+ * nt.h: Declare mswindows_utime().
+ * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
+ path, instead of char*.
+ * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
+
+2001-05-30 Ben Wing <ben@xemacs.org>
+
+ For 21.4:
+
+ (Stephen, just take all event-msw.c patches. This includes
+ the "iconify" fix below.)
+
+ * event-msw.c:
+ * event-msw.c (mswindows_dequeue_dispatch_event):
+ * event-msw.c (assert):
+ * event-msw.c (emacs_mswindows_quit_p):
+ * event-msw.c (debug_mswin_messages):
+ * event-msw.c (debug_output_mswin_message):
+ * event-msw.c (vars_of_event_mswindows):
+ Fix yet more problems with C-g handling.
+ Implement debug-mswindows-events.
+
+2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
+
+ * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
+
+2001-05-23 Ben Wing <ben@xemacs.org>
+
+ * event-msw.c (winsock_writer):
+ * event-msw.c (winsock_closer):
+ prior kludgy code was clobbering the buffer, thinking it was
+ "unused" space to store an unneeded return value; instead, use
+ the variable we've already got staring us in the face.
+
+2001-05-17 Andy Piper <andy@xemacs.org>
+
+ * sysfile.h: don't assume that file attributes are boolean
+
+2001-05-23 Ben Wing <ben@xemacs.org>
+
+ * device-msw.c (msprinter_init_device):
+ signal an error rather than crash with an unavailable network
+ printer (from Mike Alexander).
+
+ * event-msw.c:
+ * event-msw.c (struct winsock_stream):
+ * event-msw.c (winsock_writer):
+ * event-msw.c (winsock_closer):
+ * event-msw.c (make_winsock_stream_1):
+ cleanup headers. fix (hopefully) an error with data corruption
+ when sending to a network connection.
+
+ * fileio.c (Fexpand_file_name): Fix evil code that attempts
+ to handle the ~user prefix by (a) always assuming we're referencing
+ ourselves and not even verifying the user -- hence any file with
+ a tilde as its first char is invalid! (b) if there wasn't a slash
+ following the filename, the pointer was set *past* the end of
+ file and we started reading from uninitialized memory. Now we
+ simply treat these as files, always.
+
+ * buffer.c (common_init_complex_vars_of_buffer): comment change.
+
+2001-05-19 Ben Wing <ben@xemacs.org>
+
+ * eval.c: doc comment about gcpro'ing in record_unwind_protect.
+
+ * process-nt.c:
+ * process-nt.c (vars_of_process_nt):
+ remove unused mswindows-quote-process-args. rec for 21.4.
+
+2001-05-12 Ben Wing <ben@xemacs.org>
+
+ * event-msw.c (mswindows_dde_callback):
+ * event-msw.c (mswindows_wnd_proc):
+ eliminate cygwin warnings.
+
+2001-05-06 Ben Wing <ben@xemacs.org>
+
+ * console-msw.h:
+ * device-msw.c:
+ * device-msw.c (print_dialog_worker):
+ * device-msw.c (mswindows_handle_print_dialog_box):
+ * device-msw.c (syms_of_device_mswindows):
+ * dialog-msw.c (mswindows_make_dialog_box_internal):
+ * general-slots.h:
+ implement printing the selection when it's selected.
+
+2001-05-20 Drazen Kacar <dave@arsdigita.com>
+
+ * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
+
+2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * lisp.h (EMACS_INT_MAX): This should be one bit less since
+ EMACS_INT is signed.
+
+2001-04-15 Michael Lausch <mla@1012surf.net>
+
+ * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
+ gtk_widget_request_size() to give scrollbar >0 width for
+ GTK >1.2.8.
+
+2001-05-30 William M. Perry <wmperry@gnu.org>
+
+ * event-gtk.c: Check for buttons as modifier keys.
+
+2001-05-25 Craig Lanning <CraigL@Knology.net>
+
+ * s\mingw32.h:
+ Properly find MinGW's <process.h> inside Cygwin's restructured
+ include directories. Don't try to include <cygwin/version.h>
+ since we are dropping support for MinGW in versions of Cygwin
+ earlier than b21.
+ * nt.c:
+ Drop support for MinGW in versions of Cygwin before b21.
+ * sysdep.c:
+ Properly find MinGW's <process.h> inside Cygwin's restructured
+ include directories.
+ * syswindows.h:
+ Drop support for MinGW in versions of Cygwin before b21.
+ * unexcw.c:
+ Even though a.out.h is no longer detected by configure, allow
+ MinGW to use it until we figure out how to do the job with Win32.
+
+2001-07-11 Matt Tucker <tuck@whistlingfish.net>
+
+ * syntax.c (find_start_of_comment):
+ Fix `unbalanced parentheses' bug when dealing with mixed comment
+ styles in c++/java/etc. mode
+
+2001-05-29 Mike Alexander <mta@arbortext.com>
+
+ * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
+ FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
+
+2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
+
+ * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
+
+2001-03-31 Mike Sperber <mike@xemacs.org>
+
+ * search.c (Freplace_match): Support FSF-style specification of
+ match subexpression when applied to a buffer.
+
+2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
+
+ * event-stream.c (is_scrollbar_event): add missing semicolon
+
+2001-05-22 Isaac Hollander <ysh@mindspring.com>
+
+ * Makefile.in.in: Use TAR macro instead of hardcoding
+ tar. Allows use of GNU tar instead of system tar
+
+2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
+
+ * event-stream.c (is_scrollbar_event): add missing semicolon
+
+2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * XEmacs 21.4.3 "Academic Rigor" is released.
+
+2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
+
+2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * buffer.c (Vcase_fold_search): Remove obsolete
+ comment about non ASCII case-fold-search. This
+ bug has been fixed by case-table changes.
+
+2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * event-msw.c: Restore include of events-mod.h.
+
+2001-04-22 zhaoway <zw@debian.org>
+
+ * event-stream.c (is_scrollbar_event): Noop returning 0 if
+ !HAVE_SCROLLBARS.
+
+2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
+
+2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
+
+ * mule-charset.c (Fmake_charset): Add missing else.
+
+2001-04-23 Ben Wing <ben@xemacs.org>
+
+ * event-msw.c (FAKE_MOD_QUIT):
+ * event-msw.c (mswindows_dequeue_dispatch_event):
+ * event-msw.c (mswindows_wnd_proc):
+ * event-msw.c (emacs_mswindows_quit_p):
+ Get critical quit working.
+
+2001-05-05 Ben Wing <ben@xemacs.org>
+
+ * console-msw.h:
+ * device-msw.c:
+ * device-msw.c (mswindows_get_default_margin):
+ * frame-msw.c (mswindows_size_frame_internal):
+ * frame-msw.c (msprinter_init_frame_1):
+ * frame-msw.c (vars_of_frame_mswindows):
+ Change top/bottom margin defaults to 0.5 inches.
+
+2001-05-01 Martin Buchholz <martin@xemacs.org>
+
+ Fix link error with gcc 3.0 on Linux.
+ * terminfo.c (UP): Remove.
+ * terminfo.c (BC): Remove.
+ * terminfo.c (PC): Remove.
+ They weren't used, and in any case, these symbols should be
+ defined in the *library*.
+
+2001-05-03 Martin Buchholz <martin@xemacs.org>
+
+ * s/aix4.h: Fix crash with xlc -O3.
+ Improve comment explaining how -O3 works.
+
+2001-04-15 Ben Wing <ben@xemacs.org>
+
+ * event-stream.c:
+ * event-stream.c (Fnext_event):
+ * event-stream.c (is_scrollbar_event):
+ * event-stream.c (execute_command_event):
+ Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
+ crash' problem. His fix introduces other problems. We filter
+ out scrollbar events specifically, making them somewhat invisible
+ to command-building, and not appearing in `this-command-keys'.
+ More work is still needed (see comments in event-stream.c), but
+ this fixes all the major problems.
+
+2001-04-20 Ben Wing <ben@xemacs.org>
+
+ * .cvsignore: Added stuff for Windows.
+
+2001-04-28 Ben Wing <ben@xemacs.org>
+
+ * buffer.c (Ferase_buffer):
+ * editfns.c (buffer_insert1):
+ * editfns.c (Finsert_before_markers):
+ * editfns.c (Finsert_string):
+ * editfns.c (Finsert_char):
+ * editfns.c (Fdelete_region):
+ * editfns.c (Fwiden):
+ * editfns.c (Fnarrow_to_region):
+ remove bogus lines setting zmacs_region_stays to 0.
+
+2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
+
+ * process-unix.c (unix_open_network_stream): If connect() fails
+ invalidate file descriptor after closing it.
+
+2001-03-08 Mike Alexander <mta@arbortext.com>
+
+ * event-msw.c (mswindows_need_event_in_modal_loop):
+ Don't dispatch a message if we didn't get one.
+ (mswindows_need_event):
+ Terminate the correct process when one exits instead of the first
+ one on Vprocess_list and look for process termination when in
+ mswindows_protect_modal_loop.
+
+2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * XEmacs 21.4.1 "Copyleft" is released.
+
+2001-04-19 Glynn Clements <glynn.clements@virgin.net>
+
+ * input-method-motif.c (XIM_delete_frame): New callback.
+ (XIM_init_frame): Register it.
+
+2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * XEmacs 21.4.0 "Solid Vapor" is released.
+
+2001-04-15 Ben Wing <ben@xemacs.org>
+
+ * cmdloop.c (call_command_loop):
+ Fix braino in bit-rotting code.
+
+2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * extents.c (Fset_extent_endpoints): Force creation of extent info
+ in buffer_or_string.
+
+ * extents.c (process_extents_for_insertion_mapper): Correctly
+ check for open-open zero-length extents.
+
+2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * lisp.h: New typedefs Memory_count, Element_count.
+ * regex.c:
+ * regex.h:
+ Sign-compare warning elimination: several unsigned -> signed.
+ Based on work by Ben Wing <ben@xemacs.org>.
+
+2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * XEmacs 21.2.47 "Zephir" is released.
+
+2001-04-02 Jan Vroonhof <jan@xemacs.org>
+
+ * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
+
+2001-04-03 Mike Sperber <mike@xemacs.org>
+
+ * search.c: Revert previous patch due because of release.
+
+2001-03-30 Ben Wing <ben@xemacs.org>
+
+ * s\cygwin32.h:
+ Add missing killpg prototype.
+
+ * elhash.c:
+ Add a comment about fixing problems when a new entry is added
+ while mapping.
+
+ * frame-msw.c (mswindows_init_frame_1):
+ Fix compile warnings.
+
+ * menubar.c (vars_of_menubar):
+ Provide `menu-accelerator-support' to indicate that we properly
+ support %_ in menu specifications, so that package code can
+ conditionalize on this (and remove %_ from menu specifications
+ on older versions).
+
+ * event-msw.c:
+ * scrollbar-msw.c:
+ * scrollbar-msw.c (can_scroll):
+ * scrollbar-msw.h:
+ Fix handling of mouse wheel under Windows to follow standards --
+ now scrolls window under pointer, not selected window.
+
+2001-03-31 Mike Sperber <mike@xemacs.org>
+
+ * search.c (Freplace_match): Support FSF-style specification of
+ match subexpression when applied to a buffer.
+
+2001-03-15 Martin Buchholz <martin@xemacs.org>
+
+ * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
+ function to modify KEYMAP, so map over a copy of the hash table.
+
+2001-03-21 Martin Buchholz <martin@xemacs.org>
+
+ * XEmacs 21.2.46 "Urania" is released.
+
+2001-03-20 Dan Holmsand <dan@eyebee.com>
+
+ * realpath.c (xrealpath): Make file-truename work with symlinks to
+ /cygdrive paths on cygwin. Always lowercase drive-letters on
+ native windows.
+ (cygwin_readlink): Don't try to find canonical filename unless
+ file exists.
+
+2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * ChangeLog: Log GTK merge.
+
+ * dumper.c:
+ * select-x.c:
+ * specifier.c:
+ * symeval.h:
+ Revert gratuitous whitespace changes from GTK merge.
+
+ * emacs.c: Document end of complex #ifdef @ l. 1495.
+
+
+2001-03-12 Andy Piper <andy@xemacs.org>
+
+ * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
+ have to do likewise.
+
+2001-03-12 Andy Piper <andy@xemacs.org>
+
+ * sysdep.c: we only support mingw now.
+
+2001-03-09 Andy Piper <andy@xemacs.org>
+
+ * unexcw.c (copy_executable_and_dump_data_section): making approx
+ overrun a warning only.
+
+2001-03-10 William M. Perry <wmperry@aventail.com>
+
+ * faces.c (complex_vars_of_faces): Rewrote the font mucking to
+ satisfy Stephen's identical-after-cpp plea.
+
+2001-03-02 Ben Wing <ben@xemacs.org>
+
+ * cmds.c:
+ * cmds.c (Fforward_char):
+ * syntax.c:
+ * window.c:
+
+ Augment documentation of the most common motion commands to make
+ note of the shifted-motion support.
+
+2001-03-02 Ben Wing <ben@xemacs.org>
+
+ * nt.c (mswindows_fstat):
+ * nt.c (mswindows_stat):
+ * search.c (boyer_moore):
+ Fix compile warnings under Windows.
+
+ * sysdep.c (sys_readdir):
+ Fix buggy filename-conversion code under Mule.
+
+2001-03-09 William M. Perry <wmperry@aventail.com>
+
+ * Makefile.in.in:
+ * config.h.in:
+ * console.c:
+ * console.h:
+ * device.c:
+ * device.h:
+ * dragdrop.c:
+ * emacs.c:
+ * event-stream.c:
+ * events.c:
+ * events.h:
+ * faces.c:
+ * frame.h:
+ * general-slots.h:
+ * glyphs.c:
+ * gutter.c:
+ * inline.c:
+ * lisp.h:
* lrecord.h:
- * lrecord.h (struct lrecord_header):
- * lread.c (readevalloop):
- * lread.c (locate_file):
- * lread.c (locate_file_in_directory):
- * lread.c (Flocate_file):
- * lread.c (load_force_doc_string_unwind):
- * lread.c (ebolify_bytecode_constants):
- * lread.c:
+ * make-src-depend:
+ * redisplay-output.c:
+ * redisplay.c:
+ * symsinit.h:
+ * sysfile.h:
+ * toolbar.c:
+ * window.c:
+ The Great GTK Merge.
+
+ * ChangeLog.GTK:
+ * console-gtk.c:
+ * console-gtk.h:
+ * device-gtk.c:
+ * emacs-marshals.c:
+ * emacs-widget-accessors.c:
+ * event-gtk.c:
+ * frame-gtk.c:
+ * gccache-gtk.c:
+ * gccache-gtk.h:
+ * glade.c:
+ * glyphs-gtk.c:
+ * glyphs-gtk.h:
+ * gtk-glue.c:
+ * gtk-xemacs.c:
+ * gtk-xemacs.h:
+ * gui-gtk.c:
+ * gui-gtk.h:
+ * menubar-gtk.c:
+ * native-gtk-toolbar.c:
+ * objects-gtk.c:
+ * objects-gtk.h:
+ * redisplay-gtk.c:
+ * scrollbar-gtk.c:
+ * scrollbar-gtk.h:
+ * select-gtk.c:
+ * toolbar-gtk.c:
+ * ui-byhand.c:
+ * ui-gtk.c:
+ * ui-gtk.h:
+ The Great GTK Merge: new files.
+
+2001-02-26 Ben Wing <ben@xemacs.org>
+
+ Reapplied Lstream change.
+
+2001-02-26 Ben Wing <ben@xemacs.org>
+
+ Undid the last change, since it is more controversial than I
+ thought. It should be back in at some point soon.
+
+2001-02-25 Ben Wing <ben@xemacs.org>
+
+ * buffer.c:
+ * callproc.c (Fold_call_process_internal):
+ * event-msw.c (ntpipe_slurp_reader):
+ * event-msw.c (ntpipe_shove_writer):
+ * event-msw.c (winsock_reader):
+ * event-msw.c (winsock_writer):
+ * file-coding.c:
+ * file-coding.c (detect_eol_type):
+ * file-coding.c (detect_coding_type):
+ * file-coding.c (determine_real_coding_system):
+ * file-coding.c (Fdetect_coding_region):
+ * file-coding.c (decoding_reader):
+ * file-coding.c (decoding_writer):
+ * file-coding.c (mule_decode):
+ * file-coding.c (Fdecode_coding_region):
+ * file-coding.c (encoding_reader):
+ * file-coding.c (encoding_writer):
+ * file-coding.c (mule_encode):
+ * file-coding.c (Fencode_coding_region):
+ * file-coding.c (detect_coding_sjis):
+ * file-coding.c (decode_coding_sjis):
+ * file-coding.c (encode_coding_sjis):
+ * file-coding.c (detect_coding_big5):
+ * file-coding.c (decode_coding_big5):
+ * file-coding.c (encode_coding_big5):
+ * file-coding.c (detect_coding_ucs4):
+ * file-coding.c (decode_coding_ucs4):
+ * file-coding.c (encode_coding_ucs4):
+ * file-coding.c (detect_coding_utf8):
+ * file-coding.c (decode_coding_utf8):
+ * file-coding.c (encode_coding_utf8):
+ * file-coding.c (detect_coding_iso2022):
+ * file-coding.c (decode_coding_iso2022):
+ * file-coding.c (encode_coding_iso2022):
+ * file-coding.c (decode_coding_no_conversion):
+ * file-coding.c (encode_coding_no_conversion):
+ * glyphs-x.c (write_lisp_string_to_temp_file):
+ * gpmevent.c (tty_get_foreign_selection):
+ * lisp.h:
+ * lstream.c:
+ * lstream.c (Lstream_flush_out):
+ * lstream.c (Lstream_adding):
+ * lstream.c (Lstream_write_1):
+ * lstream.c (Lstream_write):
+ * lstream.c (Lstream_raw_read):
+ * lstream.c (Lstream_read_more):
+ * lstream.c (Lstream_read):
+ * lstream.c (Lstream_unread):
+ * lstream.c (Lstream_fputc):
+ * lstream.c (stdio_reader):
+ * lstream.c (stdio_writer):
+ * lstream.c (filedesc_reader):
+ * lstream.c (filedesc_writer):
+ * lstream.c (lisp_string_reader):
+ * lstream.c (struct fixed_buffer_stream):
+ * lstream.c (make_fixed_buffer_input_stream):
+ * lstream.c (make_fixed_buffer_output_stream):
+ * lstream.c (fixed_buffer_reader):
+ * lstream.c (fixed_buffer_writer):
+ * lstream.c (struct resizing_buffer_stream):
+ * lstream.c (resizing_buffer_writer):
+ * lstream.c (dynarr_writer):
+ * lstream.c (lisp_buffer_reader):
+ * lstream.c (lisp_buffer_writer):
+ * lstream.h:
+ * lstream.h (lstream_implementation):
+ * lstream.h (struct lstream):
+ * md5.c (Fmd5):
+ * process-nt.c (nt_send_process):
+ * process-unix.c (unix_send_process):
+
+ Correct Lstream lossage due to mixing of signed and unsigned
+ quantities. All Lstream uses of size_t and ssize_t are now a
+ single signed data type Lstream_data_count. This fixes problems
+ under Windows with sending large quantities of data to a process,
+ and may well fix other subtle bugs.
+
+2001-02-23 Martin Buchholz <martin@xemacs.org>
+
+ * XEmacs 21.2.45 "Thelxepeia" is released.
+
+2001-02-21 Martin Buchholz <martin@xemacs.org>
+
+ * lisp-union.h (XSETINT):
+ (XSETCHAR):
+ (XSETOBJ):
+ Reverse previous change of 2001-02-06.
+
+2001-02-20 Matt Tucker <tuck@whistlingfish.net>
+
+ Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
+ buffers.
+ * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
+ * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
+ Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
+ * regex.c (POS_AS_IN_BUFFER): removed
+ * regex.c (re_search_2):
+ * regex.c (re_match_2):
+ Don't use an offset of 1 when calculating buffer positions, since
+ `BI_BUF_BEGV' does it already.
+
+2001-02-18 Wim Dumon <wim@easics.be>
+
+ * insdel.c (prepare_to_modify_buffer): Also check for
+ supersession when clash-detection is enabled.
+
+2001-02-17 Matt Tucker <tuck@whistlingfish.net>
+
+ * regex.c (re_match_2_internal):
+ Convert temp characters from 'const unsigned char' to 're_char'.
+ Fix crashing bug with extended characters under mule.
+ * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
+ syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
+ font-lock, pdump, and new syntax-table code.
+ * syntax.c (find_start_of_comment):
+ (find_end_of_comment):
+ (forward-comment):
+ Fix crashing bugs involving moving beyond end of buffer.
+ * syntax.c (find_start_of_comment):
+ Fixed logic to allow proper detection of cases where the same
+ character is used to end both a two-char comment start and a
+ two-char comment end sequence. Fixes `(forward-comment -1)'.
+ * syntax.c (find_start_of_comment):
+ Return position just past last comment-end character for all cases
+ (previously was only done for two-char comment-end sequences).
+ * syntax.c (forward-comment):
+ Take value returned from `find_end_of_comment', rather than
+ incrementing it.
+ * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
+ Properly deal with BUFFERP (syntax_cache.object)
+
+2001-02-17 Martin Buchholz <martin@xemacs.org>
+
+ * alloc.c (Fgarbage_collect):
+ * alloc.c (make_bit_vector_from_byte_vector):
+ -Wsign-compare-correctness.
+
+2001-02-16 Martin Buchholz <martin@xemacs.org>
+
+ * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
+ (XSETCHAR): Likewise.
+ (XSETOBJ): Likewise.
+
+2001-02-15 Martin Buchholz <martin@xemacs.org>
+
+ * mule-canna.c (canna-func-delete_previous):
+ Rename to canna-func-delete-previous.
+
+2001-02-14 Martin Buchholz <martin@xemacs.org>
+
+ * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
+
+2001-02-13 Matt Tucker <tuck@whistlingfish.net>
+
+ * font-lock.c (find_context): Fix C++ compile errors introduced by
+ recent patch
+
+2001-02-13 Martin Buchholz <martin@xemacs.org>
+
+ * s/aix4.h: Later versions of IBM C compiler need a bug workaround
+ pragma, but earlier ones barf on the same pragma.
+
+2001-02-06 Mike Sperber <mike@xemacs.org>
+
+ * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
+ `configure-mule-lisp-directory'.
+
+2001-02-12 Martin Buchholz <martin@xemacs.org>
+
+ Make sure dump-id.c is compiled in the same way as other .c's.
+ Fixes pdump compilation failure with HP's cc, which defaults to K&R.
+ * dump-id.h: Remove.
+ * emacs.c: Move dump-id.h into dumper.h.
+ * dumper.h: Move dump-id.h into dumper.h.
+ * Makefile.in.in:
+ Use standard .c.o rule for building dump-id.o.
+ Remove preprocessor flags from link command.
+ Add dump-id.o to ${otherobjs} if PDUMP.
+
+2001-02-07 Matt Tucker <tuck@whistlingfish.net>
+
+ Port FSF 20.7 syntax table improvements.
+ * syntax.c.
+ * syntax.h.
+
+ Fixups for new syntax table stuff.
+ * dired.c: Include syntax.c.
+ (Fdirectory_files): Initialize regex_match_object and
+ regex_emacs_buffer.
+ * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
+ and Fget_char_property.
+
+ Use ported FSF 20.7 syntax table improvements.
+ * font-lock.c.
+ * regex.c.
+ * search.c.
+
+2001-02-09 Martin Buchholz <martin@xemacs.org>
+
+ * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
+ Unixware's enum boolean from sys/types.h.
+
+2001-02-10 Martin Buchholz <martin@xemacs.org>
+
+ Fix support for building with latest Purify.
+ * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
+ (PURIFY_FLAGS): Likewise.
+
+2001-02-09 Martin Buchholz <martin@xemacs.org>
+
+ * fileio.c (lisp_string_set_file_times): New.
+ * fileio.c (Fcopy_file): Use it.
+ Fixes bug:
+ (copy-file filename non-ascii-filename t t)
+ ==> No such file or directory, non-ascii-filename
+
+2001-02-10 Martin Buchholz <martin@xemacs.org>
+
+ * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
+ USHRT_MAX seems clearer than ~0 anyways.
+
+2001-02-09 Martin Buchholz <martin@xemacs.org>
+
+ dumper improvements. Inspired by Olivier.
+ * dumper.c (pdump_max_align): New.
+ * dumper.c (pdump_add_entry): Use pdump_max_align.
+ * dumper.c (pdump_get_entry_list): Likewise.
+ * dumper.c (pdump_scan_by_alignment): Likewise.
+ Don't iterate through unnecessary alignments.
+ * dumper.c (pdump_file_get): No need to align result of malloc().
+ * dumper.c (pdump_mallocadr): Remove.
+ The result of malloc() is guaranteed to be maximally aligned.
+ * dumper.c: s/elmt/elt/g;
+ * dumper.c (pdump_object_table): Allocate dynamically, not statically.
+ * dumper.c (pdump_alert_undump_object): Likewise.
+ * dumper.c (pdump_align_table):
+ Don't support alignments > 64.
+ Store ALIGNOF's, not shift counts, in table.
+
+2001-02-09 Martin Buchholz <martin@xemacs.org>
+
+ * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
+ * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
+ * systime.h: Use HAVE_UTIME.
+ * sysdep.c (struct utimbuf): Remove.
+ * sysdep.c (set_file_times): Prefer utime() to utimes().
+ * config.h.in (HAVE_UTIME): New.
+ * config.h.in (HAVE_UTIME_H): Remove.
+ * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
+
+2001-02-09 Martin Buchholz <martin@xemacs.org>
+
+ * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
+
+2001-02-08 Martin Buchholz <martin@xemacs.org>
+
+ * s/irix6-0.h: Use the standard system memmove, not bcopy.
+
+2001-02-08 Martin Buchholz <martin@xemacs.org>
+
+ * XEmacs 21.2.44 "Thalia" is released.
+
+2001-02-06 Martin Buchholz <martin@xemacs.org>
+
+ Fixes crashes in kill-emacs on some systems.
+ * process-unix.c (unix_kill_child_process):
+ It's OK for kill() to fail with ESRCH.
+
+2001-02-07 Martin Buchholz <martin@xemacs.org>
+
+ Contortions to make .gdbinit tricks work on most systems.
+ * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
+ * alloc.c (dbg_valmask): Make non-const.
+ * alloc.c (dbg_typemask): Make non-const.
+ * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
+ * alloc.c (dbg_valbits): Make non-const.
+ * alloc.c (dbg_gctypebits): Make non-const.
+ * .gdbinit (decode_object): Make it work with AIX cc.
+
+2001-02-06 Martin Buchholz <martin@xemacs.org>
+
+ * elhash.c (make_general_lisp_hash_table):
+ Use simpler and more efficient calloc to clear entries.
+
+2001-02-07 Martin Buchholz <martin@xemacs.org>
+
+ * window.c (window_scroll): Work around an AIX C compiler bug.
+ Fixes 'scroll-up' does nothing problem with xlC.
+
+2001-02-05 Martin Buchholz <martin@xemacs.org>
+
+ * .gdbinit: Remove obsolete comment.
+
+2001-01-31 Mike Alexander <mta@arbortext.com>
+
+ * select.c (Fown_selection_internal): Set owned_p for device
+ method correctly.
+
+2001-02-01 Martin Buchholz <martin@xemacs.org>
+
+ Port to g++ 2.97.
+ "not" cannot be used as a macro name as it is an operator in C++
+ * config.h.in: Stop #defining `not'.
+ * chartab.c (check_category_char): not ==> not_p
+ * chartab.h: Likewise.
+ * regex.c (re_match_2_internal): Likewise.
+
+2001-02-02 Martin Buchholz <martin@xemacs.org>
+
+ * lisp-disunion.h: Fix up comments.
+
+2001-01-31 Martin Buchholz <martin@xemacs.org>
+
+ * keymap.c (define_key_check_and_coerce_keysym):
+ (syms_of_keymap):
+ Support mouse-6 and mouse-7 bindings in the obvious way.
+
+2001-02-01 Martin Buchholz <martin@xemacs.org>
+
+ * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
+
+2001-01-30 Martin Buchholz <martin@xemacs.org>
+
+ Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
+ Previous patch missed DEFVAR_INT_MAGIC.
+ Make sure future DEFVAR_foo use correct types.
+ * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
+ * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
+ * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
+ * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
+ * (DEFVAR_INT): Likewise.
+ * redisplay.c (vertical_clip): Should be of type Fixnum.
+ * redisplay.c (horizontal_clip): Likewise.
+ * lisp.h (dump_add_opaque_int): New.
+ (dump_add_opaque_fixnum): New.
+
+2001-01-29 Andy Piper <andy@xemacs.org>
+
+ * glyphs-widget.c (check_valid_int_or_function): allow symbols
+ since they can be eval'ed
+
+2001-01-29 Martin Buchholz <martin@xemacs.org>
+
+ * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
+ Oops, XEmacs redefines `class'. Use `typename' instead.
+
+2001-01-28 Martin Buchholz <martin@xemacs.org>
+
+ * dumper.c: Fix C++ compile errors.
+
+2001-01-29 Martin Buchholz <martin@xemacs.org>
+
+ * tparam.c: Use correct prototypes.
+
+2001-01-28 Martin Buchholz <martin@xemacs.org>
+
+ * sysproc.h: #include util.h for NetBSD's openpty.
+
+2001-01-27 Martin Buchholz <martin@xemacs.org>
+
+ More 64-bit correctness.
+ The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
+ Use a typedef `fixnum' for the type used for DEFVAR_INT.
+ Fix up comments.
+ This finally finishes the 64-bit SGI port.
+ Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
+ * symbols.c: Fix up comments and type casts.
+ * symbols.c (do_symval_forwarding): s/int/Fixnum/g
+ * symbols.c (store_symval_forwarding): s/int/Fixnum/g
+ * symeval.h (Fixnum): New type.
+ * symeval.h (symbol_value_type): Fix up comment.
+
+ * commands.h:
+ * nt.c:
+ * emacs.c:
+ * data.c:
+ * redisplay.c:
+ * abbrev.c:
+ * dired-msw.c:
+ * event-Xt.c:
+ * eldap.c:
+ * window.c:
+ * sound.c:
+ * event-stream.c:
+ * eval.c:
+ * buffer.c:
+ * mule-canna.c: A million DEFVAR_INTs here...
+ * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
+ * extents.c:
+ * cmdloop.c:
+ * lisp.h:
+ * select-x.c:
+ * console-x.h:
+ * event-msw.c:
+ * mule-wnnfns.c:
+ * hpplay.c:
+ * ralloc.c:
+ * alloc.c:
+ * keymap.c:
+ * profile.c:
+ s/int/Fixnum/g in DEFVAR_INT declarations.
+
+2001-01-26 Martin Buchholz <martin@xemacs.org>
+
+ Port pdump to SGI alignment-sensitive environment.
+ Lisp Object sizeof methods now return aligned sizes. Rely on that.
+ Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
+ properly aligned.
+ Define and use aligned reading and writing macros.
+ Use buffered stdio instead of posix i/o for faster dumping.
+ Eliminate kludgy 256 byte space for header.
+ Read and write from dump file using structs for alignment safety.
+ * dumper.c (pdump_align_stream): New.
+ * dumper.c (PDUMP_ALIGN_OUTPUT): New.
+ * dumper.c (PDUMP_READ_ALIGNED): New.
+ * dumper.c (PDUMP_WRITE_ALIGNED): New.
+ * dumper.c (pdump_static_Lisp_Object): New struct.
+ * dumper.c (pdump_static_pointer): New struct.
+ * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
+ * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
+ * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
+ * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
+
+ * dumper.c (pdump_backtrace):
+ * dumper.c (pdump_get_indirect_count):
+ * dumper.c (pdump_register_object):
+ * dumper.c (pdump_register_struct):
+ * dumper.c (pdump_reloc_one):
+ * dumper.c (pdump_scan_by_alignment):
+ * dumper.c (pdump_dump_from_root_struct_ptrs):
+ * dumper.c (pdump_dump_opaques):
+ * dumper.c (pdump_dump_rtables):
+ * dumper.c (pdump_dump_from_root_objects):
+ * dumper.c (pdump):
+ * dumper.c (pdump_load_finish):
+ Use aligned reading and writing.
+
+ * dumper.c (pdump_free): Make static.
+ * dumper.c (pdump_hFile): Likewise.
+ * dumper.c (pdump_hMap): Likewise.
+
+2001-01-26 Martin Buchholz <martin@xemacs.org>
+
+ * XEmacs 21.2.43 "Terspichore" is released.
+
+2001-01-25 Martin Buchholz <martin@xemacs.org>
+
+ Type fiddling for window_config.saved_windows_count
+ * window.c (struct window_config):
+ Make saved_windows_count member unsigned.
+ * window.c (sizeof_window_config_for_n_windows):
+ Make parameter unsigned.
+ * window.c (mark_window_config):
+ * window.c (window_config_equal):
+ * window.c (free_window_configuration):
+ * window.c (Fset_window_configuration):
+ * window.c (count_windows):
+ * window.c (Fcurrent_window_configuration):
+ * window.c (reinit_vars_of_window):
+ Update all callers and users.
+
+2001-01-25 Martin Buchholz <martin@xemacs.org>
+
+ Alignment correctness for flexible arrays.
+ * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
+ Make alignment-correct. Add interesting comments.
+ * alloc.c (size_vector):
+ * alloc.c (make_vector_internal):
+ * alloc.c (make_bit_vector_internal):
+ * alloc.c (sweep_bit_vectors_1):
+ * fns.c (size_bit_vector):
+ Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
+ * window.c (sizeof_window_config_for_n_windows):
+ Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
+
+2001-01-24 Martin Buchholz <martin@xemacs.org>
+
+ * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
+
+2001-01-23 Andy Piper <andy@xemacs.org>
+
+ * select.c (Fown_selection_internal): pass owned_p
+
+ * select-msw.c (mswindows_own_selection): New Signature.
+
+ * console.h (struct console_methods): add owned_p to
+ _own_selection.
+
+ * select-x.c (x_own_selection): pass owned_p
+ (hack_motif_clipboard_selection): use owned_p
+ (vars_of_select_x): new variable -
+ x_selection_strict_motif_ownership.
+
+2001-01-23 Martin Buchholz <martin@xemacs.org>
+
+ * specifier.h (specifier_data_offset): Remove pointless parens.
+ * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
+
+2001-01-24 Martin Buchholz <martin@xemacs.org>
+
+ Make Lisp_Object sizeof methods be alignment-correct.
+ pdump must restore objects to the same alignment as the C compiler
+ assumes. It really matters on SGIs.
+ * lstream.c (aligned_sizeof_lstream): New.
+ (sizeof_lstream): Use aligned_sizeof_lstream.
+ (Lstream_new): Likewise.
+ * opaque.c (aligned_sizeof_opaque): New.
+ (sizeof_opaque): Use aligned_sizeof_opaque.
+ (make_opaque): Likewise.
+ * specifier.c (aligned_sizeof_specifier): New.
+ (sizeof_specifier): Use aligned_sizeof_specifier.
+ (make_specifier_internal): Likewise.
+
+2001-01-23 Martin Buchholz <martin@xemacs.org>
+
+ * lstream.h (struct lstream): Use max_align_t for trailing data.
+ * specifier.h (struct Lisp_Specifier): Likewise.
+
+2001-01-22 Martin Buchholz <martin@xemacs.org>
+
+ * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
+ (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
+ (CCL_SUSPEND): Likewise.
+ (CCL_INVALID_CMD): Likewise.
+ (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
+ (ccl_driver): Likewise.
+ (CCL_WRITE_CHAR): Macro hygiene.
+ (CCL_WRITE_STRING): Macro hygiene.
+
+2001-01-22 Martin Buchholz <martin@xemacs.org>
+
+ Port "portable" dumper to SunOS 4 and HP-UX.
+ * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
+ * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
+ * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
+
+2001-01-22 Martin Buchholz <martin@xemacs.org>
+
+ * lisp.h (ALIGNOF): A better definition for C++.
+
+2001-01-20 Martin Buchholz <martin@xemacs.org>
+
+ Macro hygiene.
+ Fix printf warnings: int format, long int arg.
+ * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
+ (PUSH_FAILURE_POINT): Use correct printf formats.
+ (POP_FAILURE_POINT): Use correct printf formats.
+ Use do {...} while (0)
+
+2001-01-20 Martin Buchholz <martin@xemacs.org>
+
+ * XEmacs 21.2.42 "Poseidon" is released.
+
+2001-01-20 Martin Buchholz <martin@xemacs.org>
+
+ * console-x.h: typo fix du jour. Remove #if 0'ed code.
+
+2001-01-19 Martin Buchholz <martin@xemacs.org>
+
+ De-kludgify FIXED_TYPE free list frobbing.
+ Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
+ * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
+ * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
+ * alloc.c (Lisp_Free): New pseudo lisp object definition.
+ * alloc.c (LRECORD_FREE_P): New.
+ * alloc.c (MARK_LRECORD_AS_FREE): New.
+ * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
+ * alloc.c (STRUCT_FREE_P): Deleted.
+ * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
+ * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
+ * alloc.c (STRING_CHARS_FREE_P): New.
+ * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
+ * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
+ * alloc.c (FREE_FIXED_TYPE): Use new definitions.
+ * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
+ * alloc.c (resize_string): Use new definitions.
+ * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
+ * alloc.c (verify_string_chars_integrity): Use new definitions.
+ * alloc.c (compact_string_chars): Use new definitions.
+ * alloc.c: Update monster comments.
+ * lrecord.h (lrecord_type): Add some new lrecord types for
+ alloc.c's use.
+
+2001-01-18 Martin Buchholz <martin@xemacs.org>
+
+ Improve alignment hackery.
+ * lisp.h (ALIGNOF): Better definition for the non-gcc case.
+ (max_align_t): Moved from opaque.h - general purpose.
+ (ALIGN_PTR): Use size_t, not long.
+ * opaque.h (max_align_t): Move to lisp.h.
+
+2001-01-18 Norbert Koch <nk@LF.net>
+
+ * gui.h: Fix and add prototypes to fix build problems.
+
+2001-01-18 Martin Buchholz <martin@xemacs.org>
+
+ temacs is going away, so `dump-temacs' is now a bad name.
+ * .dbxrc (dump-temacs): Rename to `dmp'.
+ * .gdbinit (dump-temacs): Rename to `dmp'.
+
+2001-01-17 Andy Piper <andy@xemacs.org>
+
+ * glyphs.c (print_image_instance): comment to make martin happy.
+
+ * glyphs-x.c (x_redisplay_widget): update faces after a frame
+ change.
+
+ * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
+ activation.
+ (mswindows_tab_control_redisplay): warning suppression.
+
+ * glyphs-widget.c (widget_update): re-write to cope with updated
+ items.
+ (widget_instantiate): use new gui_item functions.
+ (tab_control_update): deleted.
+ (progress_gauge_update): deleted.
+ (image_instantiator_progress_guage): take out update reference.
+ (image_instantiator_tree_view): ditto.
+ (image_instantiator_tab_control): ditto.
+
+ * gui.c (widget_gui_parse_item_keywords): new function. Do things
+ Right the new way.
+ (gui_item_add_keyval_pair): re-write to cope with descriptors and
+ return whether anything was changed.
+ (update_gui_item_keywords): as it sounds.
+
+ * gui.h: declare widget_gui_parse_item_keywords.
+
+ * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
+ (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
+
+2001-01-17 Martin Buchholz <martin@xemacs.org>
+
+ * XEmacs 21.2.41 "Polyhymnia" is released.
+
+2001-01-16 Didier Verna <didier@xemacs.org>
+
+ * glyphs.c (image_instantiate): don't use fallbacks when
+ instantiating a face's background pixmap by inheritance.
+
+2001-01-14 Mike Sperber <mike@xemacs.org>
+
+ * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
+ Conditionalize accordingly.
+
+2001-01-16 Martin Buchholz <martin@xemacs.org>
+
+ * dumper.c (pdump_file_get): Fix a compiler warning.
+
+2001-01-15 Martin Buchholz <martin@xemacs.org>
+
+ Make Purify happy when pdumping.
+ * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
+ iniitalizing all bits of new lisp object memory.
+ * symbols.c (Fmake_local_variable): Likewise.
+ * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
+ * symbols.c (Fdefvaralias): Likewise.
+ * mule-charset.c (vars_of_mule_charset): Likewise.
+
+2001-01-15 Martin Buchholz <martin@xemacs.org>
+ Add the `-nd' flag when running pre-dump operations under the debugger.
+ * .dbxrc (run-temacs): Add `-nd'.
+ * .dbxrc (update-elc): Likewise.
+ * .dbxrc (dump-temacs): Likewise.
+ * .gdbinit (run-temacs): Likewise.
+ * .gdbinit (check-temacs): Likewise.
+ * .gdbinit (update-elc): Likewise.
+ * .gdbinit (dump-temacs): Likewise.
+
+2001-01-14 Martin Buchholz <martin@xemacs.org>
+
+ Allow building 64-bit executables on AIX with GNU malloc, e.g.
+ export OBJECT_MODE=64
+ configure --pdump --use-union-type=no
+ * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
+ * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
+
+ * miscplay.c (sndcnv8U_2mono):
+ Avoid two uses of `++' in the same expression.
+ Suppresses a GCC warning.
+
+2001-01-13 Martin Buchholz <martin@xemacs.org>
+
+ Make sure future compilers don't miscompile alloc.c.
+ * alloc.c:
+ (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
+ (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
+
+2001-01-12 Martin Buchholz <martin@xemacs.org>
+
+ * dumper.c: A little post-pdump-rename comment fixup.
+
+2001-01-09 Jerry James <james@eecs.ku.edu>
+
+ * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
+
+2001-01-13 Martin Buchholz <martin@xemacs.org>
+
+ * *.[ch]: Globally rename symbols using the following `pdump-rename'
+ script:
+ #!/bin/sh
+ replace_symbol () {
+ (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
+ }
+
+ replace_symbol pdump_wire_lists pdump_weak_object_chains
+ replace_symbol pdump_wire_list dump_add_weak_object_chain
+
+ replace_symbol pdump_wires pdump_root_objects
+ replace_symbol pdump_wire dump_add_root_object
+
+ replace_symbol pdump_dump_wired pdump_dump_from_root_objects
+ replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
+
+ replace_symbol dumpstructinfos pdump_root_struct_ptrs
+ replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
+ replace_symbol dumpstructinfo pdump_root_struct_ptr
+ replace_symbol dumpstruct dump_add_root_struct_ptr
+
+ replace_symbol dumpopaque dump_add_opaque
+ replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
+ replace_symbol dumpopaqueinfos pdump_opaques
+ replace_symbol dumpopaqueinfo pdump_opaque
+
+ replace_symbol nb_structdump nb_root_struct_ptrs
+ replace_symbol nb_opaquedump nb_opaques
+
+ replace_symbol align_table pdump_align_table
+ replace_symbol dump_header pdump_header
+
+ replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
+ replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
+
+
+2001-01-12 Martin Buchholz <martin@xemacs.org>
+
+ * s/aix4.h: Keep the C for AIX compiler from overaggressively
+ optimizing bytecount_to_charcount().
+
+2001-01-06 Golubev I. N. <gin@mo.msk.ru>
+
+ * config.h.in:
+ (HAVE_DLFCN_H): Removed.
+ * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
+
+2001-01-06 Martin Buchholz <martin@xemacs.org>
+
+ Portable dumper maintainability improvements.
+ * alloc.c (staticpro):
+ * alloc.c (staticpro_nodump):
+ * alloc.c (garbage_collect_1):
+ * alloc.c (reinit_alloc_once_early):
+ * alloc.c (init_alloc_once_early):
+ * alloc.c: Move dumper functions to alloc.c.
+ * dumper.c (pdump_backtrace):
+ * dumper.c (pdump_dump_structs):
+ * dumper.c (pdump_dump_opaques):
+ * dumper.c (pdump_dump_rtables):
+ * dumper.c (pdump_dump_wired):
+ * dumper.c (pdump):
+ * dumper.c (pdump_load_check):
+ * dumper.c (pdump_load_finish):
+ * dumper.c (pdump_file_unmap):
+ * dumper.c (pdump_file_get):
+ * dumper.c (pdump_resource_free):
+ * dumper.c (pdump_resource_get):
+ * dumper.c (pdump_file_free):
+ * dumper.c (pdump_file_try):
+ * dumper.c (pdump_load):
+ Remove fixed size limits on staticpro(), staticpro_nodump(),
+ dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
+ Remove custom code for dumping lrecord_implementations_table - use
+ dumpopaque instead.
+ Remove (most of the) custom code for dumping staticpros - dump it
+ like any other dynarr.
+
+ * alloc.h: Removed. No longer useful, since dumper now more self-contained.
+ * dumper.c: Moved functions from alloc.c.
+ * alloc.c (dumpstruct): Moved to dumper.c.
+ * alloc.c (dumpopaque): Likewise.
+ * alloc.c (pdump_wire): Likewise.
+ * alloc.c (pdump_wire_list): Likewise.
+
+ * lisp.h (Dynarr_sizeof): New.
+ * lisp.h (Dynarr_begin): New. Very slightly C++oid.
+ * lisp.h (Dynarr_end): New. Very slightly C++oid.
+ * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
+
+ * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
+ * lisp.h (dumpopaque): ditto.
+ * lisp.h (pdump_wire): ditto.
+ * lisp.h (pdump_wire_list): ditto.
+
+2001-01-09 Martin Buchholz <martin@xemacs.org>
+
+ * make-src-depend (PrintPatternDeps):
+ Use `sort' to make output independent of perl version.
+
+2001-01-08 Martin Buchholz <martin@xemacs.org>
+
+ Port to Netbsd 1.5.
+ * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
+ * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
+
+2001-01-03 Didier Verna <didier@xemacs.org>
+
+ * event-stream.c (emacs_handle_focus_change_preliminary): ensure
+ that `focus_frame' is alive before thinking of calling
+ `redisplay_redraw_cursor' on it.
+
+2001-01-08 Martin Buchholz <martin@xemacs.org>
+
+ * XEmacs 21.2.40 is released.
+
+2001-01-06 Golubev I. N. <gin@mo.msk.ru>
+
+ * regex.c: Replace PREFETCH with REGEX_PREFETCH.
+
+2001-01-06 Martin Buchholz <martin@xemacs.org>
+
+ * alloc.c (dbg_valmask): Make const.
+ * alloc.c (dbg_typemask): Make const.
+ * alloc.c (dbg_USE_UNION_TYPE): Make const.
+ * alloc.c (dbg_valbits): Make const.
+ * alloc.c (dbg_gctypebits): Make const.
+
+2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * redisplay-x.c (x_bevel_area):
+ redisplay.h (struct rune):
+ Typo fixes in comments.
+
+2001-01-05 Andy Piper <andy@xemacs.org>
+
+ * glyphs-x.c (x_redisplay_widget): use size changed for offset
+ adjustment.
+
+ * menubar.c (menubar_visible_p_changed): don't mark frame changed.
+
+2001-01-05 Martin Buchholz <martin@xemacs.org>
+
+ * alloc.c (pure-bytes-used): Remove unused mendacious variable.
+
+ * mule-ccl.c (stack_idx_of_map_multiple):
+ Non const global data must not be initialized!
+ Found by MIYASHITA Hisashi.
+
+2001-01-02 Andy Piper <andy@xemacs.org>
+
+ * frame.c (change_frame_size): make sure frame size is always
+ marked as changed.
+
+ * glyphs.c (image_instance_layout): minor code reuse.
+
+ * window.c (Fcurrent_window_configuration): revert previous
+ change.
+
+2001-01-02 Martin Buchholz <martin@xemacs.org>
+
+ * glyphs.h:
+ * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
+
+2000-12-31 Andy Piper <andy@xemacs.org>
+
+ * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
+ when widget gets unmapped.
+
+ * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
+ function. Make sure widgets losing focus don't just drop it.
+ (handle_focus_event_1): record the widget with focus.
+
+2000-12-31 Andy Piper <andy@xemacs.org>
+
+ * window.c (allocate_window): use
+ make_image_instance_cache_hash_table.
+ (make_dummy_parent): ditto.
+ (Fset_window_configuration): ditto.
+
+ * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
+
+ * glyphs.c (process_image_string_instantiator): use
+ INSTANTIATOR_TYPE.
+ (get_image_instantiator_governing_domain): ditto.
+ (normalize_image_instantiator): ditto.
+ (instantiate_image_instantiator): ditto.
+ (make_image_instance_1): ditto.
+ (image_instantiate): ditto. Key on glyph *and* instantiator type.
+ (instantiator_eq_equal): new function for use with instance hash
+ tables.
+ (instantiator_eq_hash): ditto.
+ (make_image_instance_cache_hash_table): create a suitable hash
+ table for storing image instances.
+
+ * elhash.h (hash_table_weakness): new internal weakness type
+ HASH_TABLE_KEY_CAR_VALUE_WEAK.
+ declare new functions.
+
+ * elhash.c (finish_marking_weak_hash_tables): introduce yet
+ another weakness type for glyphs.
+ (make_standard_lisp_hash_table): new function split out from
+ make_general_lisp_hash_table.
+ (make_lisp_hash_table): call make_standard_lisp_hash_table.
+ (hash_table_instantiate): ditto.
+ (Fmake_hash_table): ditto.
+
+2000-12-31 Martin Buchholz <martin@xemacs.org>
+
+ * XEmacs 21.2.39 is released.
+
+2000-12-29 Andy Piper <andy@xemacs.org>
+
+ * menubar.c (menubar_visible_p_changed): signal the frame changed.
+
+ * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
+ the frame has changed so that we pick up geometry changes such as
+ menubar visibility.
+
+2000-12-28 Andy Piper <andy@xemacs.org>
+
+ * lastfile.c (my_ebss): make a char array so we can pad the
+ bss. Fixes cygwin unexec.
+
+ * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
+
+2000-12-26 Andy Piper <andy@xemacs.org>
+
+ * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
+ comments and try and be more precise about a non-/SIGIO world.
+ (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
+ SIGIO.
+
+ * redisplay-output.c (redisplay_normalize_glyph_area): make sure
+ we don't normalize to zero width or height.
+
+2000-12-24 Andy Piper <andy@xemacs.org>
+
+ * Makefile.in.in (ldflags): add -mwindows when appropriate.
+
+2000-08-18 Golubev I. N. <gin@mo.msk.ru>
+
+ * s/sco5.h: SCO 5 has pty support.
+
+2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
+
+ * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
+ input-method-xlib.c contains whole contents of input-method-xfs.c,
+ so we can use input-method-xlib.c's code for USE_XFONTSET
+ using #ifdefs.
+ * input-method-xfs.c: removed.
+
+2000-12-20 Stephen Turnbull <stephen@xemacs.org>
+
+ * file-coding.h (enum coding_category_type): reorder enumerators to
+ make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
+ (now one greater than largest real coding_category_type enumerator).
+ * file-coding.c (coding_category_symbol, coding_category_by_priority,
+ coding_category_system, fcd_descriptihon_1, decode_coding_category,
+ Fcoding_category_list, Fset_coding_priority_list,
+ Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
+ vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
+
+2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
+ * redisplay-output.c (redisplay_output_window): Clear top of window
+ when face is changed.
+ * redisplay-x.c (x_redraw_exposed_window): Call
+ redisplay_clear_top_of_window.
+ * redisplay.h: Publish redisplay_clear_top_of_window.
+
+2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * buffer.c (Fkill_buffer): Map over all devices.
+ * window.c (window_loop): Remove UNSHOW_BUFFER code.
+ (list_windows): New function.
+ (list_all_windows): Ditto.
+ (Freplace_buffer_in_windows): Use them.
+
+2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
+
+ * database.c (berkdb_subtype): Recognize new subtype `queue'.
+ (Fopen_database): Use `db_create' instead of `db_open'.
+ (syms_of_database): Initialize Qqueue.
+
+2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * buffer.c (common_init_complex_vars_of_buffer): Initialize
+ buffer_local_face_property.
+ * buffer.h (struct buffer): New member buffer_local_face_property.
+ * window.c (Fset_window_buffer): Mark window's face as changed
+ when buffer has buffer local face.
+ * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
+ * objects.c (color_after_change): Set buffer_local_face_property
+ when locale of face specifier is buffer.
+ * objects.c (font_after_change): Ditto.
+ * objects.c (face_boolean_after_change): Ditto.
+ * glyphs.c (image_after_change): Ditto.
+
+2000-12-09 Dan Holmsand <dan@eyebee.com>
+
+ * nt.c (mswindows_fstat): Report file permissions, volume serial
+ number, etc. Code adapted from FSF Emacs 20.7.
+
+2000-12-09 Dan Holmsand <dan@eyebee.com>
+
+ * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
+ of stat when we don't have symbolic links, to make sure
+ mswindows_stat is called on mswindows.
+
+2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * alloca.c: Define malloc to xmalloc only when built with XEmacs.
+
+2000-12-12 Martin Buchholz <martin@xemacs.org>
+
+ * doprnt.c (emacs_doprnt_1): More printing fixes.
+ Make printing of numbers compatible with libc and FSF Emacs.
+ BUG was: (format "%6.3f" 1.2) ==>"1.200000"
+ Use the system printf to do most of the hard work of formatting,
+ instead of doprnt_1().
+ Calculate memory to allocate for format string.
+ Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
+ (doprnt_1): Cleaner code and documentation.
+
+2000-12-01 Jerry James <james@eecs.ukans.edu>
+
+ * Makefile.in.in: Use the loop variable to install headers.
+
+2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * window.c (Fsplit_window): Don't invalidate face cache.
+
+2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * minibuf.c (Fall_completions): Undo the previous change
+ which removed checking elements start with space.
+
+2000-12-06 Stephen Turnbull <stephen@xemacs.org>
+
+ * mule-canna.c: Didier suppression.
+
+2000-12-06 Stephen Turnbull <stephen@xemacs.org>
+
+ * mule-canna.c: rename static unsigned char buf[] to key_buffer
+ (warning suppression). Add English comment translations.
+
+2000-12-05 Martin Buchholz <martin@xemacs.org>
+
+ * unexelfsgi.c (unexec): Better test for mmap failure.
+
+2000-12-05 Martin Buchholz <martin@xemacs.org>
+
+ * XEmacs 21.2.38 is released.
+
+2000-12-05 Martin Buchholz <martin@xemacs.org>
+
+ * redisplay.c (bar-cursor): Make a user variable.
+
+ * symsinit.h: Add init_postgresql_from_environment.
+
+2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * regex.c: Convert to clean C.
+
+2000-12-05 Dan Holmsand <dan@eyebee.com>
+
+ * realpath.c:
+ Don't #include sysfile.h. Revert to duplicating PATH_MAX
+ initialization.
+ (sys_readlink): renamed to system_readlink to avoid conflict with
+ the other sys_readlink.
+
+2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
+
+ * dumper.c (pdump_file_get): Correct uses of pdump_fd.
+
+2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * postgresql.c (init_postgresql_from_environment): new function.
+ (vars_of_postgresql): Move code initializing Lisp variables out and
+ into init_postgresql_from_environment.
+ emacs.c (main_1): Call init_postgresql_from_environment if and only
+ if running a dumped XEmacs.
+
+2000-08-31 Dan Holmsand <dan@eyebee.com>
+
+ * buffer.c: Make find-file-compare-truenames default to true on
+ windows.
+
+ * realpath.c (win32_abs_start):
+ (cygwin_readlink):
+ (win32_readlink): New functions.
+ (xrealpath): Return really real filenames on windows.
+
+ * fileio.c (Ffile_truename): Make file-truename work on windows.
+
+2000-11-29 Didier Verna <didier@xemacs.org>
+
+ * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
+ * faces.c (update_face_cachel_data): use it.
+ * faces.c (add_face_cachel): use it. Complete background pixmap
+ frobbing in face cache if `update_face_cachel_data' has not done so.
+
+2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * search.c (string_match_1): Don't set last_thing_searched
+ when search failed.
+
+2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * buffer.c: Include casetab.h
+ (common_init_complex_vars_of_buffer): Use new case-table object.
+ * buffer.h: Include casetab.h
+ * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
+ (DOWNCASE_TABLE_OF): Ditto.
+ * bufslots.h: Remove char-tables and add case-table.
+ * casetab.c: Include casetab.h
+ (CASE_TABLE_P): Removed.
+ (mark_case_table): New function.
+ (allocate_case_table): New function.
+ (Fcase_table_p): Use new case-table.
+ (case_table_char): New function.
+ (Fget_case_table): Ditto.
+ (Fput_case_table): Ditto.
+ (Fput_case_table_pair): Ditto.
+ (Fcopy_case_table): Ditto.
+ (Fcurrent_case_table): Return case-table.
+ (Fstandard_case_table): Return case-table.
+ (Fset_case_table): Fix doc-string.
+ (set_case_table): Use case-table
+ (syms_of_casetab): DEFSUBR new functions.
+ (complex_vars_of_casetab): Set up standard case-table.
+ * casetab.h: New file.
+ * editfns.c: Include casetab.h
+ (Fcompare_buffer_substrings): Use case-table.
+ * inline.c: Include casetab.h
+ * lisp.h: Remove bogus extern.
+ * lrecord.h (lrecord_type): Add lrecord_type_case_table.
+ * search.c: Include casetab.h
+ (TRANSLATE_ASCII): Removed.
+ (TRANSLATE): Unconditionally translate character.
+ (looking_at_1): Use case-table.
+ (string_match_1): Ditto.
+ (fast_string_match): Ditto.
+ (search_command): Ditto.
+ (search_buffer): Separate boyer_moore. Check whether
+ boyer_moore is possible.
+ (simple_search): New function.
+ (boyer_moore): Separated from search_buffer. Translate char.
+
+2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * regex.c (RE_TR_ASCII): Removed.
+ (RE_TRANSLATE): Unconditionally use TRT_TABLE.
+ (PATFETCH): Call PATFETCH_RAW.
+ (PATFETCH_RAW): Fetch Emchar.
+ (PATUNFETCH): Decrement charptr.
+ (GET_BUFFER_SPACE): Rename b to buf_end.
+ (BUF_PUSH): Ditto.
+ (BUF_PUSH_2): Ditto.
+ (BUF_PUSH_3): Ditto.
+ (EXTEND_BUFFER): Ditto.
+ (SET_LIST_BIT): Ditto.
+ (regex_compile): Ditto. Translate non ASCII char.
+ (compile_range): Ditto.
+ (re_search_2): Ditto.
+ (re_match_2_internal): Compare Emchar.
+ (bcmp_translate): Ditto.
+
+2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
+
+ * lisp.h (basic char/int typedefs): comment improvement.
+
+2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
+
+ * emacs.c (main_1): unconditional pdump unstomping; don't save and
+ unstomp inhibit_site_lisp. Improve comments.
+
+2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
+
+ * mule-charset.c (Fcharset_property): improve type checking, comments.
+
+2000-11-28 Andy Piper <andy@xemacs.org>
+
+ * redisplay-output.c (redisplay_output_subwindow): make sure we do
+ clipped display for windows in the gutter also.
+ (redisplay_display_boxes_in_window_p): change semantics of return
+ codes to be more intuitive.
+
+ * gutter.h: declare display_boxes_in_gutter_p.
+
+ * gutter.c (display_boxes_in_gutter_p): new function for
+ redisplay.
+
+2000-11-22 Andy Piper <andy@xemacs.org>
+
+ * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
+ autodetect domain.
+
+2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * callproc.c (Fold_call_process_internal):
+ * gpm.c (Freceive_gpm_event):
+ (tty_get_foreign_selection): Might be just warning supression.
+ * fileio.c (Fwrite_region_internal):
+ (Fset_visited_file_modtime):
+ * keymap.c (event_matches_key_specifier_p):
+ Initialize GCPROed variable.
+
+ * menubar-x.c (command_builder_find_menu_accelerator):
+ Initialize before use.
+
+2000-11-23 Andy Piper <andy@xemacs.org>
+
+ * unexcw.c (unexec): make the resulting executable executable.
+
+2000-11-21 Martin Buchholz <martin@xemacs.org>
+
+ * doc.c (get_doc_string):
+ Use size_t, not int, for result of XSTRING_LENGTH.
+
+ * cmds.c (Fdelete_char):
+ * cmds.c (Fpoint_at_eol):
+ * cmds.c (Fself_insert_command):
+ Use EMACS_INT, not int, for result of XINT.
+ Someday, someone will want to insert more than 2**31 identical characters.
+
+ * cmds.c (Fdelete_char):
+ * cmds.c (Fdelete_backward_char):
+ * syntax.c (Fforward_word):
+ * syntax.c (Fforward_comment):
+ Make COUNT argument optional, for consistency with forward-char et al.
+
+2000-11-22 Martin Buchholz <martin@xemacs.org>
+
* lisp.h:
- * lisp-union.h:
- * lisp-disunion.h:
- * linuxplay.c (linux_play_data_or_file):
- * linuxplay.c (audio_init):
- * line-number.c:
- * keymap.h:
- * keymap.c (describe_map):
- * keymap.c (describe_map_mapper):
- * keymap.c (Fdescribe_bindings_internal):
- * keymap.c (Fsingle_key_description):
- * keymap.c (map_keymap_sorted):
- * keymap.c (get_relevant_keymaps):
- * keymap.c (Flookup_key):
- * keymap.c (raw_lookup_key_mapper):
- * keymap.c (Fdefine_key):
- * keymap.c (Fevent_matches_key_specifier_p):
- * keymap.c (key_desc_list_to_event):
- * keymap.c (define_key_parser):
- * keymap.c (define_key_check_and_coerce_keysym):
- * keymap.c (keymap_submaps):
- * keymap.c (keymap_store_internal):
- * keymap.c (keymap_delete_inverse_internal):
- * keymap.c (keymap_store_inverse_internal):
- * keymap.c (print_keymap):
- * keymap.c (Lisp_Keymap):
- * keymap.c:
- * intl.c:
- * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
- * insdel.c (make_gap):
- * input-method-xlib.c (get_XIM_input):
- * input-method-xlib.c (XIM_init_frame):
- * imgproc.c:
- * hash.h:
- * hash.c:
- * gui.c:
- * gui-x.c (button_item_to_widget_value):
- * gui-x.c (popup_selection_callback):
- * glyphs.h (struct image_instantiator_methods):
- * glyphs.c (mark_glyph_cachels):
- * glyphs.c (Fglyph_type):
- * glyphs.c (image_instantiate):
- * glyphs.c (image_create):
- * glyphs.c (make_image_instance_1):
- * glyphs.c (finalize_image_instance):
- * glyphs.c:
- * glyphs-x.c (finalize_subwindow):
- * glyphs-x.c (xface_validate):
- * glyphs-x.c (x_locate_pixmap_file):
- * glyphs-x.c (convert_EImage_to_XImage):
- * glyphs-msw.c:
- * glyphs-msw.c (mswindows_resource_instantiate):
- * glyphs-msw.c (xpm_to_eimage):
- * glyphs-msw.c (convert_EImage_to_DIBitmap):
- * glyphs-eimage.c (tiff_instantiate):
- * glyphs-eimage.c (png_instantiate):
- * glyphs-eimage.c (struct png_error_struct):
- * glyphs-eimage.c (gif_memory_storage):
- * glyphs-eimage.c:
- * gifrlib.h:
- * getloadavg.c (getloadavg):
- * getloadavg.c:
- * gdbinit:
+ * print.c (long_to_string):
+ Return a useful value: the pointer at end of data written.
+
+ * doprnt.c:
+ Use `static const char * const' for constant strings.
+ (union printf_arg): Delete `i', `ui' members.
+ (get_doprnt_args):
+ (emacs_doprnt_1):
+ Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
+ Do all printf-ing via the `l' specifier.
+ Use EMACS_INT instead of int.
+ Optimize.
+
+2000-11-20 Didier Verna <didier@xemacs.org>
+
+ * faces.c (update_face_cachel_data): don't frob the background
+ pixmap when the window is being created. The face is needed but
+ does not exist yet.
+
+2000-11-20 Andy Piper <andy@xemacs.org>
+
+ * unexcw.c (copy_executable_and_dump_data_section): Only do bss
+ messing with a debug environment.
+
+2000-11-20 Martin Buchholz <martin@xemacs.org>
+
+ * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
+
+2000-11-20 Martin Buchholz <martin@xemacs.org>
+
+ * casetab.c (Fcase_table_p): Fix compile error and crash.
+
+2000-11-18 Philip Aston <philipa@mail.com>
+
+ * s/cygwin32.h: Cygwin has SVR4-like pty support.
+
+2000-11-18 Martin Buchholz <martin@xemacs.org>
+
+ * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
+ * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
+
+2000-11-17 Martin Buchholz <martin@xemacs.org>
+
+ * config.h.in: Define HAVE_ELF_H if elf.h exists.
+ * unexelf.c: Use HAVE_ELF_H.
+ * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
+ I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
+ Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
+ Greg Harrington <greg_harrington@hotmail.com> provided a machine
+ for testing.
+ So this is an unexelfsgi.c from a different line of development.
+
+2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * regex.c (RE_TR_ASCII): New function.
+ (RE_TRANSLATE): Call it.
+
+2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * buffer.h (TRT_TABLE_OF): Remove assert.
+ (IN_TRT_TABLE_DOMAIN): Removed.
+
+2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
+
* free-hook.c (log_gcpro):
- * free-hook.c (check_malloc):
- * free-hook.c (check_free):
- * free-hook.c (ROUND_UP_TO_PAGE):
- * free-hook.c:
- * frame.h (struct frame):
- * frame.h:
- * frame.c (change_frame_size_1):
- * frame.c (allocate_frame_core):
+ (show_gcprohist): Add support for GCPRO5.
+
+2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * emacs.c (main_1): Improve -sd error message when --pdump=no.
+
+2000-11-16 Olivier Galibert <galibert@xemacs.org>
+
+ * symeval.h: Declare flush_all_buffer_local_cache.
+
+ * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
+ (flush_buffer_local_cache): Added.
+ (flush_all_buffer_local_cache): Added.
+
+ * lrecord.h: Remove unused XD_LO_RESET_NIL.
+
+ * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
+ (pdump_dump_data): Ditto.
+ (pdump_reloc_one): Ditto.
+ (pdump): Remove unused pdump_qnil. Flush buffer local caches
+ before dumping.
+
+
+2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * buffer.c: Remove if 0'ed entry.
+ * buffer.h: Rewrite TRT to use char-table.
+ * bufslots.h: Remove mirror tables.
+ * casetab.c: Remove mirror tables.
+ (CASE_TABLE_P): New macro.
+ (Fcase_table_p): Element of a case table is string or char-table.
+ (make_mirror_trt_table): Removed.
+ (set_case_table): Setup char-table from strings for backward
+ compatibility.
+ * dired.c (Fdirectory_files):
+ * dired-msw.c: (mswindows_get_files):
+ * lisp.h: Change prototype of re_pattern_buffer.
+ * regex.c: (RE_TRANSLATE): New macro.
+ (TRANSLATE_P): Ditto.
+ Change translate to type RE_TRANSLATE_TYPE.
+ * regex.h: Define RE_TRANSLATE_TYPE
+ * search.c (TRANSLATE): New macro.
+ (TRANSLATE_ASCII): New macro.
+ Translate table is changed to Lisp_Object.
+ (signal_failure): Inhibit return.
+
+2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * device-msw.c:
+ * eldap.c:
+ * event-Xt.c:
+ * event-stream.c:
+ * print.c:
+ Do UNGCPRO before return.
+
+2000-11-14 Martin Buchholz <martin@xemacs.org>
+
+ * XEmacs 21.2.37 is released.
+
+2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
+ Add comments about discarded return value.
+
+2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * callint.c:
+ * event-stream.c: Fix comments. Remove some #if 0'ed part.
+
+2000-10-27 Andy Piper <andy@xemacs.org>
+
+ * gutter.c (Fset_default_gutter_position): default left and right
+ gutters to visible.
+ (calculate_gutter_size): calculate resonable heuristic for left
+ and right gutter sizes.
+ (specifier_vars_of_gutter): change left and right gutter sizes to
+ autodetect.
+ (calculate_gutter_size_from_display_lines): new function.
+ (output_gutter): check for resizing on left and right gutters.
+ (clear_gutter): don't special case top and left gutters.
+ (specifier_vars_of_gutter): use new signature for
+ set_specifier_caching.
+
+ * glyphs-x.c (x_redisplay_widget): spelling fix.
+ * glyphs.c (specifier_vars_of_glyphs):
+ * menubar.c (specifier_vars_of_menubar):
+ * redisplay.c (specifier_vars_of_redisplay):
+ * toolbar.c (specifier_vars_of_toolbar):
+ * window.c (specifier_vars_of_window):
+ * scrollbar.c (specifier_vars_of_scrollbar):
+ (complex_vars_of_scrollbar): use new signature for
+ set_specifier_caching.
+
+ * specifier.c (set_specifier_caching): include recompute flag.
+ (recompute_one_cached_specifier_in_window): always recompute if
+ flag set.
+ (recompute_one_cached_specifier_in_frame): ditto.
+
+ * specifier.h (struct specifier_caching): add recompute flag.
+
+2000-10-24 Andy Piper <andy@xemacs.org>
+
+ * unexcw.c (copy_executable_and_dump_data_section): add new
+ BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
+ 5.0 happy.
+
+2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * console-x.h (x_device): New member modifier_release_time.
+ * event-Xt.c (x_handle_sticky_modifiers):
+ Bound interval modifier keys are sticky.
+ * event-stream.c (Vmodifier_keys_sticky_time): New variable.
+ * events.h: extern it.
+
+2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
+
+2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * event-stream.c (execute_command_event): Preserve current_events
+ and the like when event is misc-user-event.
+ Inhibit quit during the call to maybe_echo_keys.
+
+2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
+ symlink when buffer is killed.
+ (inhibit_clash_detection): New variable.
+
+2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * console.c (Fset_input_method): Trigger redisplay on tty.
+
+2000-11-07 Martin Buchholz <martin@xemacs.org>
+
+ * process.c (Fprocess_status): Revert to previous behavior:
+ (process-status "nosuchprocess") ==> nil
+
+2000-11-06 Martin Buchholz <martin@xemacs.org>
+
+ * mule-charset.h (CHARSET_BY_LEADING_BYTE):
+ Work around another GCC 2.95.2 optimizer bug.
+
+2000-11-02 Martin Buchholz <martin@xemacs.org>
+
+ * process.c (Fget_process): Use LIST_LOOP_2.
+ (kill_buffer_processes): Use LIST_LOOP_2.
+
+ * minibuf.c (Fall_completions):
+ Delete old non-functional code for FSF fourth argument.
+
+ * frame.c (frame_matches_frame_spec):
+ Renamed from `frame_matches_frametype'. Update all callers.
+ (device_matches_device_spec):
+ Renamed from 'device_matches_console_spec'. Update all callers.
+
+ * doc.c (Fsubstitute_command_keys):
+ Remove buffer overflow crash. Small code cleanups.
+
+ * casetab.c (check_case_table): Simpler code.
+
+ * window.c (Freplace_buffer_in_windows):
+ Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
+ (and similar implementation) as Fdelete_windows_on.
+ Update all callers.
+
+ * alloc.c (Fmake_list):
+ * alloc.c (make_vector):
+ * alloc.c (Fmake_vector):
+ * alloc.c (make_bit_vector):
+ * alloc.c (Fmake_bit_vector):
+ * alloc.c (Fbit_vector):
+ * alloc.c (Fmake_string):
+ * alloc.c (Fpurecopy):
+ * alloc.c (Fmemory_limit):
+ * buffer.c:
+ * buffer.c (Fget_buffer):
+ * buffer.c (Fkill_buffer):
+ * buffer.c (complex_vars_of_buffer):
+ * bytecode.c (Fcompiled_function_stack_depth):
+ * callint.c (Fprefix_numeric_value):
+ * event-stream.c:
+ * event-stream.c (Fread_key_sequence):
+ * casetab.c:
+ * casetab.c (Fcase_table_p):
+ * casetab.c (check_case_table):
+ * casetab.c (Fset_case_table):
+ * casetab.c (Fset_standard_case_table):
+ * chartab.c:
+ * chartab.c (Fchar_table_type):
+ * chartab.c (Freset_char_table):
+ * chartab.c (Fget_char_table):
+ * chartab.c (Fget_range_char_table):
+ * chartab.c (Fput_char_table):
+ * chartab.c (Fmap_char_table):
+ * chartab.c (Fcategory_table_p):
+ * chartab.c (Fcheck_category_at):
+ * chartab.c (Fchar_in_category_p):
+ * chartab.c (Fcategory_table):
+ * chartab.c (Fcopy_category_table):
+ * chartab.c (Fset_category_table):
+ * chartab.c (Fcategory_designator_p):
+ * chartab.c (Fcategory_table_value_p):
+ * cmds.c (Fdelete_char):
+ * cmds.c (Fdelete_backward_char):
+ * cmds.c (Fself_insert_command):
+ * cmds.c (Fself_insert_internal):
+ * console.c (Fvalid_console_type_p):
+ * console.c (Fcdfw_console):
+ * console.c (Fconsole_type):
+ * console.c (Fconsole_name):
+ * console.c (Fconsole_device_list):
+ * console.c (Fconsole_on_window_system_p):
+ * data.c:
+ * data.c (Feq):
+ * data.c (Fold_eq):
+ * data.c (Fsubr_interactive):
+ * data.c (Fchar_to_int):
+ * data.c (Fint_to_char):
+ * data.c (Fsetcar):
+ * data.c (Fsetcdr):
+ * data.c (Fnumber_to_string):
+ * data.c (Fstring_to_number):
+ * data.c (Frem):
+ * database.c (mark_database):
+ * database.c (finalize_database):
+ * database.c (Fdatabase_live_p):
+ * database.c (Fdatabasep):
+ * device-x.c (Fx_get_resource):
+ * device.c (Fdfw_device):
+ * dired.c:
+ * dired.c (Ffile_name_completion):
+ * dired.c (Ffile_name_all_completions):
+ * dired.c (Fuser_name_completion):
+ * dired.c (Fuser_name_completion_1):
+ * dired.c (Fuser_name_all_completions):
+ * doc.c (Fdocumentation):
+ * doc.c (Fdocumentation_property):
+ * doc.c (Fsubstitute_command_keys):
+ * editfns.c:
+ * editfns.c (Fchar_to_string):
+ * editfns.c (Fstring_to_char):
+ * editfns.c (Ftemp_directory):
+ * editfns.c (Finsert_char):
+ * editfns.c (Fbuffer_substring_no_properties):
+ * editfns.c (Fnarrow_to_region):
+ * editfns.c (Fchar_equal):
+ * editfns.c (Fchar_Equal):
+ * editfns.c (Ftranspose_regions):
+ * emacs.c (Fdump_emacs):
+ * eval.c (Fthrow):
+ * eval.c (Fcommand_execute):
+ * eval.c (Fautoload):
+ * eval.c (Fbacktrace):
+ * eval.c (Fbacktrace_frame):
+ * events.c:
+ * events.c (Fcopy_event):
+ * events.c (Fcharacter_to_event):
+ * events.c (Fevent_button):
+ * events.c (Fevent_process):
+ * extents.c:
+ * extents.c (Fnext_extent_change):
+ * extents.c (Fextent_property):
+ * faces.c (Ffacep):
+ * faces.c (Fmake_face):
+ * file-coding.c:
+ * file-coding.c (Fencode_shift_jis_char):
+ * file-coding.c (Fencode_big5_char):
+ * fileio.c (Ffile_name_directory):
+ * fileio.c (Ffile_name_nondirectory):
+ * fileio.c (Ffile_name_as_directory):
+ * fileio.c (Fdirectory_file_name):
+ * fileio.c (Ffile_truename):
+ * fileio.c (Fsubstitute_in_file_name):
+ * fileio.c (Ffile_modes):
+ * fileio.c (Fset_file_modes):
+ * fileio.c (Fset_default_file_modes):
+ * fileio.c (Fverify_visited_file_modtime):
+ * floatfns.c (Facos):
+ * floatfns.c (Fasin):
+ * floatfns.c (Fatan):
+ * floatfns.c (Fcos):
+ * floatfns.c (Fsin):
+ * floatfns.c (Ftan):
+ * floatfns.c (Fbessel_j0):
+ * floatfns.c (Fbessel_j1):
+ * floatfns.c (Fbessel_jn):
+ * floatfns.c (Fbessel_y0):
+ * floatfns.c (Fbessel_y1):
+ * floatfns.c (Fbessel_yn):
+ * floatfns.c (Ferf):
+ * floatfns.c (Ferfc):
+ * floatfns.c (Flog_gamma):
+ * floatfns.c (Fexp):
+ * floatfns.c (Fexpt):
+ * floatfns.c (Flog):
+ * floatfns.c (Flog10):
+ * floatfns.c (Fsqrt):
+ * floatfns.c (Fcube_root):
+ * floatfns.c (Facosh):
+ * floatfns.c (Fasinh):
+ * floatfns.c (Fatanh):
+ * floatfns.c (Fcosh):
+ * floatfns.c (Fsinh):
+ * floatfns.c (Ftanh):
+ * floatfns.c (Fabs):
+ * floatfns.c (Ffloat):
+ * floatfns.c (Flogb):
+ * floatfns.c (Fceiling):
+ * floatfns.c (Ffloor):
+ * floatfns.c (Fround):
+ * floatfns.c (Ftruncate):
+ * floatfns.c (Ffceiling):
+ * floatfns.c (Fffloor):
+ * floatfns.c (Ffround):
+ * floatfns.c (Fftruncate):
+ * fns.c (Fstring_equal):
+ * fns.c (Fstring_lessp):
+ * fns.c (concat2):
+ * fns.c (concat3):
+ * fns.c (vconcat2):
+ * fns.c (vconcat3):
+ * fns.c (Fsubstring):
+ * fns.c (Fassoc):
+ * fns.c (Fold_assoc):
+ * fns.c (assoc_no_quit):
+ * fns.c (Fassq):
+ * fns.c (Fold_assq):
+ * fns.c (assq_no_quit):
+ * fns.c (Frassoc):
+ * fns.c (Fold_rassoc):
+ * fns.c (Frassq):
+ * fns.c (Fold_rassq):
+ * fns.c (rassq_no_quit):
+ * fns.c (Fremassoc):
+ * fns.c (remassoc_no_quit):
+ * fns.c (Fremassq):
+ * fns.c (remassq_no_quit):
+ * fns.c (Fremrassoc):
+ * fns.c (Fremrassq):
+ * fns.c (remrassq_no_quit):
+ * fns.c (Fsort):
+ * fns.c (Fplist_get):
+ * fns.c (Fplist_put):
+ * fns.c (Fplist_remprop):
+ * fns.c (Fplist_member):
+ * fns.c (Flax_plist_get):
+ * fns.c (Flax_plist_put):
+ * fns.c (Flax_plist_remprop):
+ * fns.c (Flax_plist_member):
+ * fns.c (Fequal):
+ * fns.c (Fold_equal):
+ * fns.c (Frequire):
+ * fns.c (Fbase64_encode_region):
+ * fns.c (Fbase64_encode_string):
+ * fns.c (Fbase64_decode_region):
* frame.c:
- * frame-x.c (x_focus_on_frame):
- * frame-x.c (x_init_frame_2):
- * frame-x.c (x_popup_frame):
- * frame-x.c (xemacs_XtPopup):
- * frame-x.c:
- * frame-x.c (Foffix_start_drag_internal):
- * frame-x.c (x_cde_destroy_callback):
- * frame-x.c (x_wm_hack_wm_protocols):
- * frame-tty.c (tty_frame_visible_p):
- * frame-msw.c (mswindows_make_frame_invisible):
- * frame-msw.c (mswindows_after_init_frame):
+ * frame.c (frame_matches_frame_spec):
+ * frame.c (device_matches_device_spec):
+ * frame.c (next_frame):
+ * frame.c (previous_frame):
+ * frame.c (Fnext_frame):
+ * frame.c (Fprevious_frame):
+ * frame.c (Fframe_property):
+ * frame.c (Fset_frame_height):
+ * frame.c (Fset_frame_size):
+ * frame.h:
+ * glyphs.c:
+ * glyphs.c (if):
+ * glyphs.c (decode_error_behavior_flag):
+ * glyphs.c (Fmake_image_instance):
+ * indent.c (Findent_to):
+ * intl.c (Fignore_defer_gettext):
+ * keymap.c (Fkeymapp):
+ * keymap.c (Flookup_key):
+ * lread.c:
+ * lread.c (Fload_internal):
+ * lread.c (Feval_buffer):
+ * lread.c (Feval_region):
+ * macros.c (Fexecute_kbd_macro):
+ * marker.c (set_marker_internal):
+ * marker.c (Fset_marker):
+ * marker.c (set_marker_restricted):
+ * marker.c (Fcopy_marker):
+ * marker.c (noseeum_copy_marker):
+ * menubar.c:
+ * menubar.c (Fpopup_menu):
+ * minibuf.c:
+ * mule-charset.c (Fcharset_name):
+ * mule-charset.c (Fchar_charset):
+ * mule-charset.c (Fchar_octet):
+ * mule-charset.c (Fsplit_char):
+ * mule-wnnfns.c (Fwnn_open):
+ * mule-wnnfns.c (Fwnn_dict_comment):
+ * mule-wnnfns.c (Fwnn_quit_henkan):
+ * mule-wnnfns.c (Fwnn_word_toroku):
+ * mule-wnnfns.c (Fwnn_word_sakujo):
+ * mule-wnnfns.c (Fwnn_word_use):
+ * mule-wnnfns.c (Fwnn_hindo_set):
+ * objects.c:
+ * objects.c (Fmake_color_instance):
+ * objects.c (Fmake_font_instance):
+ * print.c (Fwrite_char):
+ * process.c:
+ * process.c (mark_process):
+ * process.c (print_process):
+ * process.c (get_process_from_usid):
+ * process.c (Fprocessp):
+ * process.c (Fprocess_live_p):
+ * process.c (Fget_process):
+ * process.c (Fget_buffer_process):
+ * process.c (get_process):
+ * process.c (Fprocess_id):
+ * process.c (Fprocess_name):
+ * process.c (Fprocess_command):
+ * process.c (init_process_io_handles):
+ * process.c (start_process_unwind):
+ * process.c (Fstart_process_internal):
+ * process.c (Fopen_multicast_group_internal):
+ * process.c (Fset_process_window_size):
+ * process.c (read_process_output):
+ * process.c (send_process):
+ * process.c (Fprocess_tty_name):
+ * process.c (Fset_process_buffer):
+ * process.c (Fprocess_buffer):
+ * process.c (Fprocess_mark):
+ * process.c (set_process_filter):
+ * process.c (Fset_process_filter):
+ * process.c (Fprocess_filter):
+ * process.c (Fprocess_send_region):
+ * process.c (Fprocess_send_string):
+ * process.c (exec_sentinel):
+ * process.c (Fset_process_sentinel):
+ * process.c (Fprocess_sentinel):
+ * process.c (status_notify):
+ * process.c (Fprocess_status):
+ * process.c (Fprocess_exit_status):
+ * process.c (process_send_signal):
+ * process.c (Fprocess_send_eof):
+ * process.c (deactivate_process):
+ * process.c (remove_process):
+ * process.c (Fdelete_process):
+ * process.c (kill_buffer_processes):
+ * process.c (Fprocess_kill_without_query):
+ * process.c (Fprocess_kill_without_query_p):
+ * rangetab.c:
+ * rangetab.c (Fget_range_table):
+ * rangetab.c (Fput_range_table):
+ * rangetab.c (Fremove_range_table):
+ * rangetab.c (Fclear_range_table):
+ * search.c:
+ * search.c (Fskip_chars_forward):
+ * search.c (Fskip_chars_backward):
+ * search.c (Fskip_syntax_forward):
+ * search.c (Fskip_syntax_backward):
+ * search.c (search_command):
+ * search.c (Freplace_match):
+ * search.c (Fregexp_quote):
+ * select.c (Fown_selection_internal):
+ * select.c (Fselection_owner_p):
+ * select.c (Fselection_exists_p):
+ * select.c (Fget_selection_internal):
+ * specifier.c:
+ * symbols.c:
+ * symbols.c (Fintern):
+ * symbols.c (Fintern_soft):
+ * symbols.c (Funintern):
+ * symbols.c (Fapropos_internal):
+ * symbols.c (Fset_default):
+ * syntax.c:
+ * syntax.c (Fsyntax_table_p):
+ * syntax.c (Fcopy_syntax_table):
+ * syntax.c (Fset_syntax_table):
+ * syntax.c (Fchar_syntax):
+ * syntax.c (syntax_match):
+ * syntax.c (Fmatching_paren):
+ * syntax.c (Fforward_word):
+ * syntax.c (scan_lists):
+ * syntax.c (Fscan_lists):
+ * syntax.c (Fscan_sexps):
+ * syntax.c (Fparse_partial_sexp):
+ * toolbar.c (Fcheck_toolbar_button_syntax):
+ * tooltalk.doc:
+ * window.c:
+ * window.c (Fwindowp):
+ * window.c (Fwindow_live_p):
+ * window.c (Fwindow_point):
+ * window.c (Fdelete_window):
+ * window.c (Fnext_window):
+ * window.c (Fprevious_window):
+ * window.c (Fother_window):
+ * window.c (window_loop):
+ * window.c (Fget_lru_window):
+ * window.c (Fsplit_window):
+ * window.c (Fenlarge_window):
+ * window.c (Fenlarge_window_pixels):
+ * window.c (Fshrink_window):
+ * window.c (Fshrink_window_pixels):
+ * window.c (change_window_height):
+ * window.c (Fwindow_configuration_p):
+ * window.c (Fcurrent_window_configuration):
+ * window.h:
+ * casefiddle.c (casify_object):
+ * casefiddle.c (Fupcase):
+ * casefiddle.c (Fdowncase):
+ * casefiddle.c (Fcapitalize):
+ * casefiddle.c (Fupcase_initials):
+ * casefiddle.c (casify_region_internal):
+ * casefiddle.c (casify_region):
+ * casefiddle.c (Fupcase_region):
+ * casefiddle.c (Fdowncase_region):
+ * casefiddle.c (Fcapitalize_region):
+ * casefiddle.c (Fupcase_initials_region):
+ * casefiddle.c (Fupcase_word):
+ * casefiddle.c (Fdowncase_word):
+ * casefiddle.c (Fcapitalize_word):
+ Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
+ Replace 0 with '\0' when working with bytes.
+ Replace initial "(" with "\(" in docstrings.
+
+2000-11-01 Martin Buchholz <martin@xemacs.org>
+
+ * config.h.in: Handle alloca with Compaq C on Alpha Linux.
+
+ * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
+
+2000-10-31 Martin Buchholz <martin@xemacs.org>
+
+ * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
+
+2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
+ correctly.
+
+2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
+ (inhibit_auto_save_session): New variable.
+ (vars_of_fileio): Declare and initialize them.
+ * fileio.c (Fdo_auto_save): Don't create session file if
+ Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
+
+2000-10-31 Martin Buchholz <martin@xemacs.org>
+
+ * sgiplay.c (play_internal): C++ compilability.
+ * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
+ * callproc.c (Fold_call_process_internal):
+ Remove unused vars `env', `first'.
+ * scrollbar.c (update_scrollbar_instance):
+ #### unused var `current_window'.
+ * redisplay-tty.c: Put currently unused vars insert_mode_on,
+ etc. within #ifdef NOT_YET.
+ * emacs.c: #### unused vars `initial_argc', `initial_argv'.
+ * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
+ * specifier.c (specifier_instance):
+ #### unused var `tag'.
+ Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
+
+2000-10-27 Martin Buchholz <martin@xemacs.org>
+
+ * fns.c (Fbutlast):
+ * fns.c (list_sort):
+ * fns.c (Ffillarray):
+ * fns.c (bytecode_nconc2):
+ * fns.c (Fnconc):
+ * fns.c (mapcar1):
+ * fns.c (Fmapconcat):
+ Be pedantically 64-bit correct. For the time when someone will
+ want to have a list with length > 2**32.
+
+ * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
+ Work around MIPSpro compiler bug.
+
+ * process-unix.c (unix_kill_child_process): Add snarky comment.
+ * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
+
+ * config.h.in: Oops, _getpt ==> _getpty
+
+2000-10-26 Martin Buchholz <martin@xemacs.org>
+
+ * config.h.in:
+ * regex.c:
+ Use void*, not char*, as return type of alloca().
+
+ * alloc.c (free_marker): Side effect inside assert expression!
+
+2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
+
+ * mule-charset.c (Fset_charset_ccl_program): To check
+ if the given ccl program is valid, use setup_ccl_program()
+ instead of CHECK_VECTOR().
+ (Fmake_charset): Likewise.
+
+2000-10-20 Golubev I. N. <gin@mo.msk.ru>
+
+ * faces.c (get_extent_fragment_face_cache_index):
+ Fix cachel.merged_faces memory leak.
+
+2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
+
+ * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
+ Reset MSB of octets obtained by DECODE_SJIS
+ because of the incompatibility with Emacs.
+ (ccl_driver)<CCL_ENCODE_SJIS>:
+ Set MSB of octets before passing them to
+ ENCODE_SJIS because of the incompatibility
+ with Emacs.
+
+2000-10-18 Daiki Ueno <ueno@unixuser.org>
+
+ * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
+ (DECLARE_LRECORD): Undo the last change.
+ (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
+
+2000-10-17 Daiki Ueno <ueno@unixuser.org>
+
+ * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
+ the implementation to lrecord_implementations_table.
+
+2000-10-14 Daiki Ueno <ueno@unixuser.org>
+
+ * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
+ initial value of `lrecord_type_##c_name' and
+ `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
+ (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
+ [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
+ [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
+ [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
+
+2000-10-17 Martin Buchholz <martin@xemacs.org>
+
+ * miscplay.c (sndcnv8S_2mono):
+ (sndcnv2monounsigned):
+ (sndcnvULaw_2linear):
+ (sndcnv16swap):
+ Remove implementation-defined behavior.
+
+2000-10-12 Martin Buchholz <martin@xemacs.org>
+
+ * input-method-xlib.c: Warning suppression.
+
+2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
+
+ * mule-ccl.c: Sync up with Emacs 21.0.90.
+ (ccl_driver)<CCL_TranslateCharacter>: Disabled.
+ Do nothing.
+ (ccl_driver)<CCL_TranslateCharacterConstTbl>:
+ Likewise.
+ (ccl_driver[WriteMultibyteChar2]): Bug fix.
+ Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
+ MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
+ leading char belongs to official 2-dimensional charset.
+ (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
+ write the given character as is. Otherwise,
+ if it is a multibyte char, convert it by
+ non_ascii_set_charptr_emchar, then write it.
+ (CCL_WRITE_STRING): Likewise.
+ (ccl_get_compiled_code): New function.
+ (setup_ccl_program): When ccl_prog is invalid,
+ return -1.
+ (Fregister_code_conversion_map): New function.
+ (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
+
+ * mule-ccl.h: Sync up with Emacs 21.0.90.
+ (Fregister_ccl_program): export it.
+
+ * redisplay-msw.c (separate_textual_runs):
+ If ccl program is not valid, don't do ccl conversion.
+
+ * redisplay-x.c (separate_textual_runs): Ditto.
+
+ * file-coding.c (Fmake_coding_system):
+ When type is ccl and value is vector, register it
+ with a proper symbol. And checks whether the
+ given ccl program is valid.
+ (mule_decode): When calling ccl_driver, if src indicates
+ NULL pointer, set an empty string instead.
+ (mule_encode): Likewise.
+
+2000-10-11 Martin Buchholz <martin@xemacs.org>
+
+ The following large batch of changes gets us back to a state of
+ C++ compilability. Extbyte is now a char, which means that
+ Extbyte * and Bufbyte * cannot be freely interchanged - a win!
+
+ * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
+
+ * sound.c (Fplay_sound): Type correctness.
+
+ * select-x.c (hack_motif_clipboard_selection): Type correctness.
+ (x_get_window_property): Type correctness.
+ (receive_incremental_selection): unsigned char ==> Extbyte
+ (selection_data_to_lisp_data): unsigned char ==> Extbyte
+ (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
+ (Fx_store_cutbuffer_internal): Type correctness.
+
+ * process-unix.c (try_to_initialize_subtty): Type correctness.
+
+ * objects-x.c (x_print_color_instance): Type correctness.
+ (x_print_font_instance): Type correctness.
+ (x_list_fonts): SExtbyte ==> Extbyte.
+ (valid_x_font_name_p): SExtbyte ==> Extbyte.
+ (x_find_charset_font): SExtbyte ==> Extbyte.
+ Use TO_INTERNAL_FORMAT. build_string ==> make_string.
+ (truename_via_XListFonts): SExtbyte ==> Extbyte.
+ (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
+ Use bufbyte_strcmp.
+
+ * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
+ (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
+ (BYTE_ASCII_P): Use bit ops for char-signedness safety.
+ (BYTE_C0_P): Use bit ops for char-signedness safety.
+ (BYTE_C1_P): Use bit ops for char-signedness safety.
+ (CHARSET_BY_LEADING_BYTE):
+ (CHARSET_BY_ATTRIBUTES):
+ Always use inline function.
+ Use type_checking_assert.
+ Hide chlook.
+
+ * mule-charset.c (non_ascii_charptr_copy_char):
+ Modify to work with both ASCII and non-ASCII characters.
+ Improve docs and variable names.
+ Replace over-clever fall-through switch with a simple loop.
+ (Lstream_get_emchar_1):
+ Replace over-clever fall-through switch with a simple loop.
+
+ * menubar-x.c (menu_item_descriptor_to_widget_value_1):
+ Warning suppression.
+
+ * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
+ the return value of Lstream_getc, which could be EOF as well.
+
+ * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
+
+ * lisp.h: Make Extbyte a char, not unsigned char, so that external
+ APIs can be used on Extbytes without casts. Risky!
+ (SExtbyte): Remove.
+ (UExtbyte): Remove.
+
+ * input-method-xlib.c (XIM_init_device):
+ Use Xlib.h instead of IntrinsicP.h.
+ Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
+ which will break in X11R7.
+ Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
+ to call XRegisterIMInstantiateCallback with correct types.
+
+ * gui-x.c (button_item_to_widget_value): Type correctness.
+
+ * glyphs.c (bitmap_to_lisp_data): Type correctness.
+
+ * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
+ (xbm_instantiate_1): Type correctness.
+ (BUILD_GLYPH_INST): Type correctness.
+
+ * fileio.c (Fsubstitute_in_file_name): Type correctness.
+
+ * file-coding.c:
+ (decode_coding_sjis):
+ (decode_coding_big5):
+ (decode_coding_ucs4):
+ (decode_coding_utf8):
+ (decode_coding_iso2022):
+ (decode_coding_no_conversion):
+ Make all decoding functions take an Extbyte * arg.
+ (encode_coding_sjis):
+ (encode_coding_big5):
+ (encode_coding_ucs4):
+ (encode_coding_utf8):
+ (encode_coding_iso2022):
+ (encode_coding_no_conversion):
+ Make all encoding functions take a Bufbyte * arg.
+ Use size_t instead of unsigned int for memory sizes.
+ Only cast to unsigned char whenever dereferencing Extbyte *.
+
+ * doc.c (unparesseuxify_doc_string): Type correctness.
+
+ * console-x.c (split_up_display_spec):
+ Rewrite without using details of internal string representation.
+ (x_semi_canonicalize_device_connection): Type correctness.
+
+ * config.h.in:
+ (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
+ (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
+ (HAVE_XFREE386): Removed.
+
+ * buffer.h (DEC_CHARPTR): `const' correctness.
+ (bufbyte_strcmp): New.
+ (bufbyte_memcmp): New.
+
+ * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
+
+ * buffer.h (XCHAR_OR_CHAR_INT):
+ Always use inline function.
+ Remove redundant type checking assert() - XINT will abort quite nicely.
+
+2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * search.c (Freplace_match): Set newtext to an empty string.
+
+2000-10-10 Martin Buchholz <martin@xemacs.org>
+
+ * s/decosf1-3.h: Remove #include of stropts.h
+ * s/ptx.h: Remove #include of stropts.h
+ * s/usg5-4.h: Remove #include of stropts.h
+ * sysproc.h:
+ * config.h.in:
+ Use stropts.h, not sys/stropts.h.
+ Use strtio.h, not sys/strtio.h.
+
+2000-10-04 Martin Buchholz <martin@xemacs.org>
+
+ * XEmacs 21.2.36 is released.
+
+2000-09-21 Andy Piper <andy@xemacs.org>
+
+ * glyphs-x.c (x_redisplay_widget): make sure non-structural
+ changes still involve copying the widget tree.
+ (update_widget_face): make sure a change is register in the widget
+ tree. Call update_tab_widget_face appropriately.
+ (update_tab_widget_face): ditto.
+ (x_tab_control_redisplay): make sure non-structural changes still
+ involve copying the widget tree.
+
+2000-08-31 Daiki Ueno <ueno@unixuser.org>
+
+ * lread.c (locate_file): Check the path element is non-nil.
+
+2000-10-02 Martin Buchholz <martin@xemacs.org>
+
+ * lisp.h: Warning suppression for SCO compilers.
+
+ * redisplay-tty.c (reset_tty_modes): Fix crash.
+ E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
+
+2000-09-27 Martin Buchholz <martin@xemacs.org>
+
+ Big signal/process handling overhaul. Bugs fixed:
+ M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
+ M-x comint-kill-subjob should work for both values nil and t of
+ process-connection-type. It was broken on most platforms.
+ Testing on Irix and Cygwin still needed. Other plaforms tested.
+ * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
+ * process-unix.c: Signal/Process handling overhaul.
+ (pty_name): make 64 bytes, as `expect' does, for paranoia.
+ (allocate_pty): Use all available modern methods of allocating
+ ptys, falling back to old style BSD allocation as a last resort.
+ Use allegedly more secure Unix98 pty allocation by default.
+ (allocate_pty_the_old_fashioned_way): New. the last resort.
+ (unix_create_process): Push ptem, ldterm, ttcompat where
+ available. Autoconfiscate.
+ (try_to_initialize_subtty): New.
+ (unix_kill_child_process): Proper signal handling for ptys on most
+ platforms, using special knowledge of AIX, BSD, etc...
+ (unix_create_process): Always disconnect_controlling_terminal() for
+ subprocesses, whether using ptys or not.
+ * process.h: Remove old getpt-dependent PTY code.
+ * process.c (Fprocess_send_signal): New, obvious generic function.
+ (decode_signal): New.
+ (Finterrupt_process):
+ (Fkill_process):
+ (Fquit_process):
+ (Fstop_process):
+ (Fcontinue_process):
+ (Fsignal_process): Use decode_signal.
+ (process_send_signal):
+ Many docstring corrections.
+ Allow any signal to be sent to a process object.
+ * config.h.in: Add symbols for big signal/process overhaul.
+ * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
+ * sysproc.h: Include process-related headers, where available:
+ sys/stropts.h sys/strtio.h pty.h libutil.h
+ * s/irix4-0.h:
+ * s/irix5-0.h:
+ * s/cygwin32.h:
+ * s/gnu.h:
+ * s/linux.h:
+ * s/hpux.h:
+ * s/aix3-1.h:
+ Remove old S&M pty stuff.
+ * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
+ * systty.h: Simplify cpp hackery, improve comments.
+ Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
+
+ * editfns.c (Fformat_time_string):
+ Be a little more paranoid with the return value of ctime.
+
+ * fileio.c (check_executable):
+ (check_writable):
+ Use symbolic constants X_OK, W_OK.
+
+ * console-x.c (split_up_display_spec): Fix a warning.
+
+2000-10-02 Martin Buchholz <martin@xemacs.org>
+
+ * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
+ * ntproc.c (sys_spawnve): make_string ==> build_string
+ Small clarity improvements.
+
+2000-09-30 Martin Buchholz <martin@xemacs.org>
+
+ * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
+
+ * s/windowsnt.h (HAVE_STRCASECMP): Remove.
+
+ * config.h.in (HAVE_STRCASECMP): Remove.
+
+2000-09-29 Martin Buchholz <martin@xemacs.org>
+
+ * redisplay-output.c (redisplay_output_pixmap):
+ Cleaner and possibly more 64-bit correct code.
+
+2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * dumper.c (pdump_load_finish): move restoration of
+ `noninteractive1' to emacs.c (main_1).
+ * emacs.c (main_1): protect LISP-visible command-line flags
+ from pdump_load().
+
+2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * Makefile.in.in (versionclean): Use EXE_TARGET and
+ DUMP_TARGET instead of literal program names.
+
+2000-09-20 Martin Buchholz <martin@xemacs.org>
+
+ * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
+
+2000-09-19 Martin Buchholz <martin@xemacs.org>
+
+ * *: Spelling mega-patch
+
+2000-09-19 Martin Buchholz <martin@xemacs.org>
+
+ * fns.c (bad_bad_turtle):
+ Delete "Eek!" comment, since we fixed the bug to which it refers.
+
+2000-09-16 Martin Buchholz <martin@xemacs.org>
+
+ * alloca.c: Replace REGISTER with register.
+
+2000-09-16 Daiki Ueno <ueno@unixuser.org>
+
+ * file-coding.c (ucs_to_char): Use countof.
+
+2000-09-16 Martin Buchholz <martin@xemacs.org>
+
+ * file-coding.c: (ucs_to_char):
+ (complex_vars_of_file_coding):
+ Use countof instead of sizeof.
+ Use CHECK_NATNUM instead of CHECK_INT.
+
+ * sysdep.c (strcasecmp): Remove.
+ * device-x.c (ascii_strcasecmp): New.
+ * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
+ Avoid using non-standard non-portable strcasecmp.
+
+2000-09-16 Martin Buchholz <martin@xemacs.org>
+
+ * Makefile.in.in (mostlyclean): remove reference to prefix-args.
+ * font-lock.c: remove reference to emacsfns.h.
+ * search.c: small doc improvement.
+ * event-Xt.c: correct file names in comments.
+ * console-x.h Correct file names in comments.
+ * frame.c: Correct file names in comments.
+ * event-stream.c: remove Energize from comments.
+
+2000-09-15 Martin Buchholz <martin@xemacs.org>
+
+ * symeval.h (DEFERROR_STANDARD):
+ (DEFERROR):
+ (DEFSYMBOL):
+ (DEFSYMBOL_NO_DUMP):
+ (DEFSYMBOL_MULTIWORD_PREDICATE):
+ (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
+ (DEFKEYWORD):
+ The construct &##name is not sensible C.
+ Fixes compilation errors with Unixware native compiler.
+
+2000-09-14 Martin Buchholz <martin@xemacs.org>
+
+ * frame.c (device_matches_console_spec): no longer takes a `frame' arg
+ (next_frame_internal): Removed. We now just have next_frame.
+ (next_frame):
+ Write a simpler and cleaner one-pass algorithm.
+ Remove called_from_delete_device arg and #ifdefed-out code.
+ (previous_frame):
+ Renamed from prev_frame. Update callers.
+ Cleaned up to have an analogous implementation to next_frame.
+ (other_visible_frames_internal): Remove the
+ called_from_delete_device bogus arg, and hence, remove this
+ function. Just use other_visible_frames().
+
+ * window.c (Fnext_window):
+ Prettify docstring.
+ Since next_frame() is guaranteed to return a frame, remove check
+ for nil inserted in previous patch.
+ (Fprevious_window):
+ Prettify docstring.
+ Make code look more like Fnext_window.
+ (window_loop):
+ Respect the `console' arg when iterating through windows.
+ Fixes bug: (get-buffer-window buffer t device) not respecting
+ the `device' arg.
+ This function needs more work, as others have pointed out.
+
+ * frame.h: Rename prev_frame to previous_frame.
+ device_matches_console_spec no longer takes a `frame' arg.
+
+ * s/gnu.h:
+ * s/linux.h:
+ * s/hpux.h:
+ Use EMACS_BLOCK_SIGNAL instead of sigblock.
+ From "Golubev I. N." <gin@mo.msk.ru>.
+
+ * make-src-depend: Fix typo.
+
+2000-09-13 Martin Buchholz <martin@xemacs.org>
+
+ * window.c (Fnext_window):
+ next_frame() might return nil, not a frame.
+ Fixes this crash:
+ (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
+
+ * frame.c (next_frame_internal):
+ We've passed a frame if we've passed its device.
+ Fixes this crash:
+ (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
+Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
+
+2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
+
+ * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
+ Allow option to suppress accelerators in menu/dialog items.
+ (populate_or_checksum_helper): Pass dialog title through above.
+
+2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
+
+ * event-msw.c (mswindows_key_to_emacs_keysym):
+ Add "pause" key, fix "menu" key.
+
+2000-09-09 Martin Buchholz <martin@xemacs.org>
+
+ * eval.c (reinit_vars_of_eval):
+ Increase max_lisp_eval_depth to 1000,
+ required for thai-xtis.el to byte-compile under some circumstances.
+
+2000-09-04 Martin Buchholz <martin@xemacs.org>
+
+ * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
+ From Kenichi Handa.
+
+2000-09-01 Martin Buchholz <martin@xemacs.org>
+
+ * make-src-depend: Make the generated Makefiles smaller.
+
+ * s/hpux.h (SETUP_SLAVE_PTY):
+ Provide a %d in the format string for the errno argument.
+
+ * editfns.c (Ftemp_directory):
+ Warning fix.
+ Avoid buffer overrun on very long file name.
+
+ * input-method-xlib.c (XIM_init_device):
+ 6th parameter of XRegisterIMInstantiateCallback has different
+ pointer types on different OSes, so simply cast to (void *).
+
+ * unexhp9k800.c: Warning fixes. Fiddly changes.
+
+ * sysdll.c (dll_open):
+ shl_load will hang hard if passed a NULL filename.
+ Simply return NULL for compatibility with dlopen.
+ * sysdll.c: Conform to XEmacs coding standards.
+
+ * sysdep.c (get_pty_max_bytes):
+ Support pty input lines longer than 512 bytes on HP-UX 10.20.
+
+2000-08-31 Martin Buchholz <martin@xemacs.org>
+
+ * tooltalk.c: Add #include <syssignal.h>
+
+2000-08-12 Alexandre Oliva <aoliva@redhat.com>
+
+ * s/hpux.h: Don't use undefined function sigunblock().
+
+2000-08-31 Martin Buchholz <martin@xemacs.org>
+
+ * config.h.in: Add HAVE_BALLOON_HELP.
+ * emacs.c: Use HAVE_BALLOON_HELP.
+ * Makefile.in.in (x_objs):
+ Make Balloon Help conditional on finding shape.h.
+
+2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * syntax.c (regex_emacs_buffer_p): New variable.
+ * syntax.h (regex_emacs_buffer_p): extern.
+ * search.c (looking_at_1):
+ (string_match_1):
+ (fast_string_match):
+ (search_buffer): Set regex_emacs_buffer_p.
+ * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
+ when before_dot, at_dot, after_dot.
+
+2000-08-23 Andy Piper <andy@xemacs.org>
+
+ * gui-x.c (popup_selection_callback): Only set action_occurred
+ when we really have an image instance.
+ * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
+
+2000-08-23 Andy Piper <andy@xemacs.org>
+
+ * gui-msw.c (mswindows_handle_gui_wm_command): set
+ action_occurred.
+ * gui-x.c (popup_selection_callback): ditto.
+
+ * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
+ (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
+ (struct Lisp_Image_Instance): add action_occurred flag.
+
+ * glyphs.c (redisplay_subwindow): use action_occurred flag.
+ (image_instance_changed): ditto.
+ (reset_frame_subwindow_instance_cache): only unmap windows - do
+ not remove them from the cache also.
+
+ * glyphs-widget.c (tab_control_update): better debug.
+ (progress_gauge_update): ditto.
+ (layout_update): ditto.
+ (layout_instantiate): ditto.
+ (tab_control_order_only_changed): cope with null pending items.
+
+ * glyphs-msw.c (mswindows_tab_control_redisplay): add better
+ debug. Force selection of an item when an action occurred. Cope
+ with null pending_items.
+ (mswindows_progress_gauge_redisplay): better debug.
+ * glyphs-x.c (x_tab_control_redisplay): ditto.
+
+ * redisplay.c (redisplay_frame): reset the frame cache if the
+ frame is garbaged.
+
+ * window.c (Fset_window_configuration): potentially re-enable
+ frame cache reset.
+ (window_unmap_subwindows): need to finalize instances here since
+ it is only used in mark_window_as_deleted.
+
+2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * nas.c (SndOpenDataForReading):
+ nas.c (WaveOpenDataForReading):
+ nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
+ Somehow escaped from the 2000-08-14 patch.
+
+2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
+
+ * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
+ of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
+
+2000-08-21 Andy Piper <andy@xemacs.org>
+
+ * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
+ window if it is not already displayed.
+
+ * glyphs-msw.c (mswindows_map_subwindow): only map the window if
+ it is not already displayed.
+
+ * window.c (Fset_window_configuration): don't reset the frame
+ cache.
+
+ * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
+ instances from the frame cache if we are actually finalizing them.
+ (reset_frame_subwindow_instance_cache): reset frame cache only
+ after unmapping everything.
+ (map_subwindow): set displayed flag after mapping.
+
+2000-08-21 Martin Buchholz <martin@xemacs.org>
+
+ * data.c (indirect_function):
+ Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
+
+ * eval.c (function_argcount):
+ Use original function when signaling errors.
+
+2000-08-18 Andy Piper <andy@xemacs.org>
+
+ * frame.c (delete_frame_internal): use new
+ free_frame_subwindow_instances name.
+
+ * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
+ (add_tab_item): make return type correct.
+ (mswindows_tab_control_instantiate): assert index of tab.
+ (mswindows_tab_control_redisplay): Re-code to use
+ gui_item_equal_sans_selected and gui_item_list_find_selected.
+
+ * glyphs-widget.c (tab_control_update): Correct comment.
+
+ * window.c (window_unmap_subwindows): use new
+ unmap_subwindow_instance_cache_mapper.
+ (window_unmap_subwindows_cache_mapper): deleted.
+ (Fset_window_configuration): comparisons should now be with
+ EQ. Preserve the subwindow instance cache across configuration
+ changes.
+ (allocate_window): ditto.
+ (make_dummy_parent): ditto.
+
+ * glyphs.c (free_frame_subwindow_instances): rename from
+ free_frame_subwindow_instance_cache. finalize all instances rather
+ than just those in the display cache.
+ (finalize_all_subwindow_instances): walk windows unmapping and
+ finalizing subwindows.
+ (unmap_subwindow_instance_cache_mapper): moved from
+ window.c. Allow finalization as well as unmapping.
+
+ * gui.c (gui_item_list_find_selected): new function.
+
+ * gui.h (gui_item_list_find_selected): declare.
+
+ * glyphs-x.c (x_tab_control_redisplay): pick tab
+ explicitly. Re-code to use gui_item_equal_sans_selected and
+ gui_item_list_find_selected.
+
+ * glyphs-x.h: add lwlib-utils.h
+
+ * buffer.c (Frecord_buffer): undo previous change.
+
+2000-08-09 Vin Shelton <acs@xemacs.org>
+
+ * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
+ possible. Create temporary files more securely. The patch was
+ generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
+ <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
+ http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
+ for details.
+
+2000-08-07 Ben Wing <ben@xemacs.org>
+
+ * getloadavg.c: remove duplicate (and windows-breaking)
+ includes of fcntl.h and sys/file.h.
+
+ * nt.c: remove duplicate getloadavg() definition.
+
+ * sysdll.h (Qdll_filename_encoding): add missing stand-in
+ encodings.
+
+2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
+
+ * eval.c (function_argcount): If function needs to be autoloaded
+ actually use the loaded definition.
+ GCPRO function.
+
+2000-08-05 Ben Wing <ben@xemacs.org>
+
+ * getloadavg.c: add prototype for getloadavg(). remove
+ duplicate WIN32_NATIVE/CYGWIN code (already in the middle
+ of the code). remove duplicate header includes.
+
+ * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
+
+ * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
+ don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
+ useful load average.
+
+ * alloc.c (reinit_alloc_once_early): removed references to
+ VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
+ the lisp vars are the only things referencing the malloc_sbrk_*
+ vars, and they were already if 0'd out. these vars only exist
+ in the older malloc.c, which is basically unused, and they're
+ only for informational purposes.
+
+ * m\*.h: removed useless VIRT_ADDR_VARIES.
+
+ * m\powerpc.h: removed stray NO_ARG_ARRAY.
+
+2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
+
+ * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
+ color if the image is a mono pixmap.
+
+2000-07-30 Ben Wing <ben@xemacs.org>
+
+ * Makefile.in.in (release):
+ Remove stray @.
+
+ * buffer.c (directory_is_current_directory):
+ * dired-msw.c (mswindows_get_files):
+ * dired.c:
+ * dired.c (Fdirectory_files):
+ * dired.c (file_name_completion_stat):
+ * dired.c (Ffile_attributes):
+ [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
+ preprocessor tricks, to avoid problems on some machines
+ (e.g. SCO).
+
+ * callproc.c (egetenv): GC docs.
+
+ * console-msw.h:
+ * console-msw.h (struct mswindows_dialog_id):
+ * lrecord.h (lrecord_type):
+ New object for use with MSW dialogs.
+
+ * console.h (struct console_methods):
+ New enable/disable frame methods, for proper modal dialogs.
+
+ * device-msw.c (msprinter_default_printer): Fix to follow
+ proper Mule conventions.
+
+ * device-msw.c:
+ * device-msw.c (signal_open_printer_error):
+ * device-msw.c (msprinter_init_device):
+ * device-msw.c (ensure_not_printing):
+ * device-msw.c (plist_get_margin):
+ * device-msw.c (Fmsprinter_select_settings):
+ * device-msw.c (finalize_devmode):
+ * device-msw.c (Fmsprinter_settings_despecialize):
+ * device-msw.c (signal_enum_priner_error):
+ * extents.c (decode_extent):
+ * extents.c (decode_map_extents_flags):
+ * extents.c (decode_extent_at_flag):
+ * extents.c (Fextent_at):
+ * extents.c (Fextents_at):
+ * extents.c (symbol_to_glyph_layout):
+ [[[[2]]]] Use structured errors.
+
+ * dialog-msw.c:
+ * dialog-msw.c (mswindows_is_dialog_msg):
+ * dialog-msw.c (mark_mswindows_dialog_id):
+ * dialog-msw.c (dialog_proc):
+ * dialog-msw.c (handle_question_dialog_box):
+ * dialog-msw.c (syms_of_dialog_mswindows):
+ Define new object to clean up marking; use it as a dialog identifier.
+ Call new delete-dialog-box-hook.
+
+ * dialog-x.c (dbox_selection_callback):
+ * dialog-x.c (dbox_descriptor_to_widget_value):
+ * dialog-x.c (x_make_dialog_box_internal):
+ Call new delete-dialog-box-hook.
+ Return an id.
+
+ * dialog.c:
+ * dialog.c (syms_of_dialog):
+ * dialog.c (vars_of_dialog):
+ Define new delete-dialog-box-hook, for use w/modal dialog boxes.
+
+ * eval.c:
+ * eval.c (signal_call_debugger):
+ when noninteractive, output stack traces on the console instead
+ of in a (never-seen) buffer.
+
+ * eval.c (signal_type_error):
+ * eval.c (invalid_argument_2):
+ * lisp.h:
+ new funs for use w/structured errors.
+
+ * event-Xt.c:
+ * event-Xt.c (x_to_emacs_keysym):
+ * event-Xt.c (describe_event):
+ * event-Xt.c (emacs_Xt_event_handler):
+ * event-Xt.c (vars_of_event_Xt):
+ * event-msw.c:
+ * event-msw.c (mswindows_wnd_proc):
+ * event-msw.c (vars_of_event_mswindows):
+ rename {x,mswindows}-debug-events to debug-{}-events for
+ consistency with other debug-foo variables.
+
+ * event-stream.c:
+ document next-event more clearly.
+
+ * fileio.c (Ffile_name_directory):
+ * fileio.c (Ffile_name_nondirectory):
+ * fileio.c (Funhandled_file_name_directory):
+ * fileio.c (file_name_as_directory):
+ * fileio.c (Ffile_name_as_directory):
+ * fileio.c (directory_file_name):
+ * fileio.c (Fdirectory_file_name):
+ * fileio.c (Fmake_temp_name):
+ * fileio.c (Ffile_truename):
+ * fileio.c (Fsubstitute_in_file_name):
+ * fileio.c (expand_and_dir_to_file):
+ * fileio.c (barf_or_query_if_file_exists):
+ * fileio.c (check_executable):
+ * fileio.c (Ffile_exists_p):
+ * fileio.c (Ffile_writable_p):
+ * fileio.c (Ffile_directory_p):
+ * fileio.c (Ffile_regular_p):
+ * fileio.c (Ffile_modes):
+ * fileio.c (Ffile_newer_than_file_p):
+ * fileio.c (Fverify_visited_file_modtime):
+ * fileio.c (Fset_visited_file_modtime):
+ * fileio.c (auto_save_1):
+ (1). (2).
+ fix up gcpro's.
+
+ * frame-msw.c:
* frame-msw.c (mswindows_init_frame_1):
- * fns.c (syms_of_fns):
- * fns.c (Fbase64_decode_string):
- * fns.c (Fnconc):
- * fns.c (Ffillarray):
- * fns.c (Fobject_plist):
- * fns.c (Fget):
- * fns.c (Fcanonicalize_lax_plist):
- * fns.c (Fcanonicalize_plist):
- * fns.c (Fplist_remprop):
- * fns.c (Fplist_get):
- * fns.c (advance_plist_pointers):
- * fns.c (internal_plist_put):
- * fns.c (Fnreverse):
- * fns.c (Fremassq):
- * fns.c (Felt):
- * fns.c (Fsubstring):
- * fns.c (Fbvconcat):
- * fns.c (Flength):
- * fns.c (length_with_bytecode_hack):
- * fns.c (print_bit_vector):
+ * frame-msw.c (mswindows_enable_frame):
+ * frame-msw.c (error_frame_unsizable):
+ * frame-msw.c (msprinter_init_frame_1):
+ * frame-msw.c (msprinter_init_frame_3):
+ * frame-msw.c (console_type_create_frame_mswindows):
+ (2).
+ implement new enable/disable frame methods.
+
+ * frame-x.c:
+ * frame-x.c (x_enable_frame):
+ * frame-x.c (console_type_create_frame_x):
+ implement new enable/disable frame methods.
+
+ * frame.c:
+ * frame.c (Fdisable_frame):
+ * frame.c (syms_of_frame):
+ * frame.h (struct frame):
+ implement new enable/disable frame methods/functions.
+
+ * general-slots.h:
+ add initial-focus.
+
+ * glyphs-msw.c (mswindows_widget_instantiate):
+ comment that initial-focus should be implemented.
+
+ * glyphs-widget.c:
+ * glyphs-widget.c (check_valid_instantiator):
+ * glyphs-widget.c (check_valid_orientation):
+ * glyphs-widget.c (check_valid_tab_orientation):
+ * glyphs-widget.c (check_valid_justification):
+ * glyphs-widget.c (check_valid_border):
+ * glyphs-widget.c (check_valid_callback):
+ * glyphs-widget.c (check_valid_int_or_function):
+ * glyphs-widget.c (check_valid_string_or_vector):
+ * glyphs-widget.c (check_valid_item_list_1):
+ * glyphs-widget.c (widget_validate):
+ * glyphs-widget.c (combo_box_validate):
+ * glyphs-widget.c (widget_instantiate):
+ * glyphs-widget.c (syms_of_glyphs_widget):
+ * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
+ * glyphs-widget.c (image_instantiator_combo_box):
+ * glyphs-widget.c (image_instantiator_scrollbar):
+ * glyphs-widget.c (image_instantiator_tab_control):
+ * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
+ (2).
+ support (unimplemented) keyword initial-focus.
+ reindent long macros.
+
+ * glyphs-x.c (x_redisplay_widget):
+ * glyphs-x.c (x_button_instantiate):
+ * glyphs-x.c (x_button_redisplay):
+ * glyphs-x.c (x_progress_gauge_instantiate):
+ * glyphs-x.c (x_edit_field_instantiate):
+ * glyphs-x.c (x_combo_box_instantiate):
+ * glyphs-x.c (x_tab_control_instantiate):
+ * glyphs-x.c (x_label_instantiate):
+ * gui-x.c:
+ * gui-x.c (button_item_to_widget_value):
+ * gui-x.c (gui_items_to_widget_values_1):
+ * gui-x.c (gui_item_children_to_widget_values):
+ * gui-x.c (gui_items_to_widget_values):
+ * gui-x.h:
+ * menubar-x.c (menu_item_descriptor_to_widget_value_1):
+ add new flag to gui-parsing routines to indicate whether
+ accelerator specs should be supported.
+
+ * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
+
+ * glyphs.h (struct Lisp_Image_Instance):
+ * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
+ add initial-focus flag.
+
+ * gui.c:
+ * gui.c (syms_of_gui):
+ * gui.c (vars_of_gui):
+ clean up menu-no-selection-hook.
+
+ * gui.h:
+ support delete-dialog-box-hook.
+
+ * lread.c (Fload_internal):
+ * lread.c (locate_file_in_directory_mapper):
+ (1).
+
+ * lrecord.h:
+ * lrecord.h (struct toolbar_button):
+ * lrecord.h (syms_of_toolbar):
+ document how to create a new object.
+
+ * menubar-msw.c (mswindows_char_is_accelerator):
+ may be called on frames w/o menus.
+
+ * menubar.c (vars_of_menubar):
+ clean up :filter docs.
+
+ * nt.c (readdir):
+ * ntproc.c:
+ (1).
+
+ * process-nt.c:
+ * process-nt.c (validate_signal_number):
+ * process-nt.c (signal_cannot_launch):
+ * process-nt.c (nt_create_process):
+ * process-nt.c (nt_send_process):
+ * process-nt.c (nt_kill_child_process):
+ * process-nt.c (nt_open_network_stream):
+ * process-nt.c (syms_of_process_nt):
+ (2).
+ delete quote-handling. call new lisp code that does it better.
+
+ * process-unix.c (connect_to_file_descriptor):
+ * process-unix.c (allocate_pty):
+ * process-unix.c (unix_send_process):
+ * process-unix.c (unix_kill_child_process):
+ * process-unix.c (unix_open_network_stream):
+ * process-unix.c (unix_open_multicast_group):
+ (1). (2).
+
+ * process.c:
+ * process.c (Fstart_process_internal):
+ (2). need to canonicalize process path even if absolute.
+
+ * select-msw.c (symbol_to_ms_cf):
+ * select-msw.c (ms_cf_to_symbol):
+ * select-msw.c (cf_is_autofreed):
+ * select-msw.c (mswindows_destroy_selection):
+ * select.c:
+ * select.c (syms_of_select):
+ * select.h:
+ support dibv5, fix bugs. (from Mike Alexander)
+
+ * select.c (Fget_selection_internal):
+ * select.c (select_convert_out):
+
+ * sysdep.c:
+ * sysdep.c (xemacs_stat):
+ renamed.
+
+ * sysdep.c (mkdir):
+ * sysdep.c (rmdir):
+ but keep original stat() here because we provide encapsulation
+ around these funs.
+
+ * sysfile.h:
+ * sysfile.h (fstat):
+ remove stat garbage.
+
+ * syswindows.h:
+ fix X/MSW conflict.
+ don't include tchar.h. it's inappropriate because it makes
+ compile-time distinctions when we want runtime distinctions.
+ (we provide our own tchar replacements)
+
+ * toolbar.c:
+ use default object printer for toolbar-button.
+
+ * unexcw.c:
+ make sure we don't encapsulate.
+
+ * window.c (vars_of_window):
+ emphasize that temp-buffer-show-hook is obsolete.
+
+2000-08-05 Martin Buchholz <martin@xemacs.org>
+
+ * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
+ (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
+
+ * events.c (Fevent_timestamp_lessp):
+ Not 64-bit clean. Use EMACS_INT, not int.
+
+2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
+
+ * lrecord.h (lrecord_types): Changed lrecord_type_count to an
+ unsigned int and changed the last enum to
+ lrecord_type_last_built_in_type.
+ (lrecord_implementations_table): changed prototype to know how
+ long the array is supposed to be.
+ (lrecord_type_count): new unsigned int to keep track of the
+ current number of lisp lrecord types.
+ (DEFINE_EXTERNAL_LRECORD):
+ (DECLARE_EXTERNAL_LRECORD): Added these two for external
+ dynamic-modules to declare new lisp types. They are the same
+ as the non-EXTERNAL forms, but declare an lrecord_type unsigned
+ int for each new type, and increment lrecord_type_count by 1.
+
+ * alloc.c (lrecord_implementations_table): Changed to reference
+ lrecord_type_last_built_in_type for the size of the array.
+ Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
+
+2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * glyphs.h (check_valid_item_list): Renamed from
+ check_valid_item_list_1.
+
+2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
+
+ * select.c (Qselect_coerce): New.
+ * select.c (Vselection_coercion_alist): New.
+ * select.c (syms_of_select): Declare.
+ * select.c (get-selection-internal): Use it.
+ Use the new select-coerce functionality.
+
+ * select.c (select_coerce): New.
+ * select.h (select_coerce): Declare.
+ New function to coerce one type of data into another.
+
+2000-08-03 Martin Buchholz <martin@xemacs.org>
+
+ * callproc.c (Fcall_process_internal):
+ (Fcall_process_internal):
+ * process-unix.c (unix_create_process):
+ Save and restore the value of errno, so that error messages are accurate.
+
+2000-08-01 Martin Buchholz <martin@xemacs.org>
+
+ * elhash.c (print_hash_table):
+ Fix printing of hash tables to also use `key-and-value' instead of `t'.
+ Prettify docstrings and indentation.
+
+2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * window.c (Fwindow_pixel_edges): Subtract frame border and
+ gutter size.
+
+2000-07-31 Andy Piper <andy@xemacs.org>
+
+ * buffer.c (Frecord_buffer): make absolutely sure that redisplay
+ will acknowledge the change.
+
+ * glyphs.h: declare tab_control_order_only_changed.
+
+ * glyphs-x.c (x_tab_control_redisplay): use
+ tab_control_order_only_changed.
+
+ * glyphs-widget.c (tab_control_order_only_changed): new function.
+
+ * glyphs-msw.c (mswindows_tab_control_redisplay): use
+ tab_control_order_only_changed.
+
+ * gui.c (gui_item_equal_sans_selected): new function.
+ (gui_item_equal): use it.
+
+ * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
+ :properties in favor of :items..
+
+ * glyphs-widget.c (check_valid_item_list): rename from
+ check_valid_item_list_1.
+ (check_valid_item_list_1): renamed.
+ (combo_box_validate): deprecate :properties in favor of :items.
+ (widget_instantiate): ditto.
+ (tab_control_update): ditto.
+ (image_instantiator_combo_box): ditto.
+ (image_instantiator_tree_view): ditto.
+ (image_instantiator_tab_control): ditto.
+ (layout_post_instantiate): remove dead code.
+
+ * print.c (debug_print_no_newline): only write to debugger if in
+ WIN32_NATIVE.
+
+ * elhash.c (Fmake_hash_table): update doc string.
+
+ * event-msw.c (mswindows_wnd_proc): don't allow processing of
+ messages whilst in GC. This at least stops XEmacs crashing but has
+ the potential for wierd behaviour.
+
+2000-07-31 Martin Buchholz <martin@xemacs.org>
+
+ * config.h.in:
+ Make existence of s&m files optional.
+
+ * s/bsd386.h: Remove HAVE_GETLOADAVG.
+ * s/freebsd.h: Remove HAVE_GETLOADAVG.
+ * s/gnu.h: Remove HAVE_GETLOADAVG.
+ * s/netbsd.h: Remove HAVE_GETLOADAVG.
+ * s/sol2.h: Remove HAVE_GETLOADAVG.
+ * lisp.h: Remove getloadavg() declaration.
* fns.c:
- * floatfns.c (Ffloor):
- * floatfns.c:
- * floatfns.c (in_float_error):
- * fileio.c (Ffile_modes):
+ Include <sys/loadavg.h> if available.
+ Don't declare our own getloadavg() if HAVE_GETLOADAVG.
+ * config.h.in: Group together getloadavg()-related macros.
+ Use only configure-time tests to detect getloadavg().
+
+2000-07-30 Martin Buchholz <martin@xemacs.org>
+
+ * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
+
+2000-07-25 Andy Piper <andy@xemacs.org>
+
+ * syswindows.h: add tchar.h for native builds.
+
+ * frame.c (syms_of_frame): remove set-glyph-image.
+
+ * general-slots.h: add Qset_glyph_image.
+
+ * glyphs-widget.c (layout_update): add domain arg to
+ set-glyph-image.
+ (syms_of_glyphs_widget): remove set-glyph-image.
+
+2000-07-23 Ben Wing <ben@xemacs.org>
+
+ * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
+ Vpopup_frame_list.
+
+2000-07-22 Andy Piper <andy@xemacs.org>
+
+ * symsinit.h: add syms_of_win32().
+
+ * gui-msw.c (syms_of_gui_mswindows): remove
+ Fmswindows_shell_execute.
+ (Fmswindows_shell_execute): moved to win32.c.
+
+ * emacs.c (main_1): add syms_of_win32 ().
+
+ * win32.c (init_potentially_nonexistent_functions): rewrite in
+ compiler-friendly terms.
+ (Fmswindows_shell_execute): move here from gui-msw.c.
+ (syms_of_win32): new.
+
+ * device-msw.c (Fmswindows_printer_list): clean up args to
+ EnumPrinters.
+ Don't include tchar under cygwin or mingw.
+ (msprinter_default_printer): make cygwin-friendly.
+
+2000-07-21 Andy Piper <andy@xemacs.org>
+
+ * glyphs-widget.c (image_instantiator_tree_view): use tab
+ control's update function.
+ (layout_property): new function. Retrieve items.
+
+ * glyphs-msw.c (mswindows_tree_view_redisplay): new
+ function. Re-populate the tree view from the pending items.
+
+ * glyphs.c (instantiate_image_instantiator): Make sure the domain
+ is designated the parent if the domain is an image instance. This
+ is needed so that dirtiness can be cascade up the hierarchy and
+ thus for layout children to be redisplayed correctly.
+ (allocate_image_instance): rename glyph -> parent.
+
+ * redisplay.h: change redisplay_output_layout signature.
+
+ * redisplay-msw.c (mswindows_output_display_block): use domain
+ arg.
+
+ * redisplay-x.c (x_output_display_block): use domain arg.
+
+2000-07-10 Andy Piper <andy@xemacs.org>
+
+ * window.c (Fset_window_configuration): add comment.
+
+ * redisplay-output.c (compare_runes):
+ (redisplay_output_subwindow): redisplay rather than update subwindow.
+ (redisplay_output_layout): ditto.
+
+ * redisplay-msw.c (mswindows_frame_output_end):
+ (mswindows_frame_output_end): make defer window pos optional.
+
+ * lisp.h: add Flast.
+
+ * glyphs.h (struct image_instantiator_methods): add dest_mask top
+ normalize method. Change update method to be for changed
+ instantiators. Add redisplay method. Change signature of layout
+ method.
+ (struct Lisp_Image_Instance): add instantiator.
+ (IMAGE_INSTANCE_INSTANTIATOR): new.
+ (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
+ (XIMAGE_INSTANCE_INSTANTIATOR): new.
+ (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
+
+ * glyphs.c:
+ (find_instantiator_differences): new function.
+ (Fset_instantiator_property): new convenience function.
+ (check_image_instance_structure): strictly check for vector
+ instantiators.
+ (normalize_image_instantiator): make non-static.
+ (instantiate_image_instantiator): pass on dest_mask and use new
+ signatures for image_instance_layout and friends.
+ (mark_image_instance): mark the instantiator. Mark the subwindow
+ face not the widget face.
+ (image_instance_equal): add instantiator.
+ (image_instance_hash): ditto.
+ (allocate_image_instance): ditto.
+ (Fset_image_instance_property): removed.
+ (Fimage_instance_file_name): ditto.
+ (Fcolorize_image_instance): ditto.
+ (image_instance_layout): add offsets to be set.
+ (update_image_instance): new function. update an image instance
+ from its changed instantiator.
+ (inherit_normalize): add dest_mask.
+ (xbm_normalize): ditto.
+ (xface_normalize): ditto.
+ (xpm_normalize): ditto.
+ (text_update): set_property -> update.
+ (image_instantiate): use the glyph identity as a hash key, not the
+ instantiator.
+ (glyph_width): use new image_instance_layout signature.
+ (glyph_ascent): ditto.
+ (glyph_descent): ditto.
+ (glyph_height): ditto.
+ (glyph_query_geometry): ressurrect.
+ (glyph_layout): ditto.
+ (redisplay_subwindow): update -> redisplay.
+ (syms_of_glyphs): add Fset_instantiator_property.
+ (image_instantiator_format_create): set_property -> update.
+
+ * glyphs-x.c:
+ (autodetect_normalize): add dest_maks to signature.
+ (x_redisplay_subwindow): update -> redisplay.
+ (x_redisplay_widget): ditto.
+ (x_button_redisplay): ditto.
+ (x_progress_gauge_redisplay): ditto.
+ (x_tab_control_redisplay): ditto. Rewrite to cope with changed
+ stacking order.
+ (console_type_create_glyphs_x): update -> redisplay.
+ (image_instantiator_format_create_glyphs_x): ditto.
+
+ * glyphs-widget.c:
+ (check_valid_instantiator): disallow glyphs in the instantiator,
+ they must now be vectors.
+ (check_valid_instantiator_list): ditto.
+ (glyph_instantiator_to_glyph): use internal symbol rather than
+ intern.
+ (widget_update): renamed from widget_set_property. Call cascaded
+ update methods.
+ (redisplay_widget): renamed from update_widget.
+ (widget_layout): image_instance_layout now takes position as well
+ as size.
+ (widget_normalize): ditto.
+ (widget_instantiate): ditto.
+ (tab_control_query_geometry) ditto.:
+ (tab_control_update): renamed from tab_control_set_property.
+ (progress_gauge_update): set_property -> update.
+ (layout_normalize): rewrite so that child instantiators are
+ normalized also.
+ (layout_update): new function. Create glyphs from the normalized
+ children and cope with any other layout keywords. We do not
+ instantiate children here that will be take care of by
+ redisplay_output_layout.
+ (layout_instantiate): call layout_update and not much else.
+ (layout_post_instantiate): not sure whether this is needed
+ anymore.
+ (layout_query_geometry): query glyph geometry rather than
+ image_instance geometry.
+ (layout_layout): set offsets from pass in parameters. Use glyph
+ geometry and layout functions rather than image instance ones.
+ (native_layout_layout): ditto.
+ (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
+ (image_instantiator_widget): set_property -> update.
+ (image_instantiator_buttons): ditto.
+ (image_instantiator_progress_guage): ditto.
+ (image_instantiator_tab_control): ditto.
+ (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
+ (image_instantiator_layout): add update method.
+
+ * glyphs-msw.c (bmp_normalize):
+ (mswindows_resource_normalize): add dest_mask so that it can be
+ proprogated by layout_normalize.
+ (begin_defer_window_pos): make optional because it may not be the
+ right thing to do and it introduces differences with X.
+ (mswindows_unmap_subwindow): ditto.
+ (mswindows_map_subwindow): ditto.
+ (mswindows_redisplay_subwindow): renamed from
+ mswindows_update_subwindow.
+ (mswindows_redisplay_widget): ditto.
+ (mswindows_button_redisplay): renamed from
+ mswindows_button_update. Update is now what the instantiation
+ function does for a changed instantiator.
+ (mswindows_progress_gauge_instantiate): set the progress value
+ here if appropriate.
+ (mswindows_tab_control_redisplay): cope with re-ordering of the
+ members of the tab widget by simply selecting the new top
+ widget. This makes things appear ok if you click on a tab.
+ (mswindows_combo_box_instantiate): image_instance_layout now takes
+ position as well as size.
+ (mswindows_progress_gauge_redisplay): renamed from
+ mswindows_progress_gauge_update.
+ (console_type_create_glyphs_mswindows): fix update -> redisplay.
+ (image_instantiator_format_create_glyphs_mswindows): ditto.
+
+ * glyphs-eimage.c (jpeg_normalize):
+ (gif_normalize):
+ (png_normalize):
+ (tiff_normalize): add dest_mask so that it can be proprogated by
+ layout_normalize.
+
+ * elhash.c:
+ (print_hash_table):
+ (hash_table_weakness_validate):
+ (decode_hash_table_weakness):
+ (Fhash_table_weakness):
+ (Fhash_table_type):
+ (syms_of_elhash): use Ben's naming scheme for hashtable types..
+
+ * console.h (struct console_methods): move update_* to
+ redisplay_*.
+
+2000-07-20 Ben Wing <ben@xemacs.org>
+
+ * *.[ch] (XSETOBJ): remove unused middle argument.
+ lisp-disunion.h: correct wrap_object() to one argument.
+
+2000-07-15 Ben Wing <ben@xemacs.org>
+
+ * s/cygwin32.h:
+ * s/cygwin32.h (CYGWIN_CONV_PATH):
+ Add missing logb prototype for v1.1.
+ Use post-b20 names and alias to pre-b20 names when pre-b20.
+
+ * s/windowsnt.h: [5].
+
+2000-07-15 Ben Wing <ben@xemacs.org>
+
+ * Makefile.in.in (x_objs):
+ * Makefile.in.in (sheap_objs):
+ * Makefile.in.in (objs):
+ added win32.o, cosmetic cleanups.
+
+ * alloc.c (Fmake_byte_code):
+ [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
+ etc. macros which declare their own args now.
+
+ * alloc.c (syms_of_alloc):
+ [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
+
+ * buffer.c:
+ Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
+
+ * buffer.c (Fget_file_buffer):
+ Fixed GCPRO problem.
+
+ * buffer.c (get_truename_buffer):
+ Fixed comment about GC checking.
+
+ * buffer.c (syms_of_buffer):
+ Undeclared those dedicated frame funs.
+ [2].
+
+ * buffer.h:
+ Define convenience macros for internal/external conversions.
+ [[[3]]]: Define codesys aliases Qcommand_argument_encoding
+ and Qenvironment_variable_encoding for cleaner code.
+
+ * bufslots.h:
+ Remove dedicated-frame; in lisp.
+
+ * bytecode.c (funcall_compiled_function):
+ [1].
+
+ * bytecode.c (syms_of_bytecode):
+ [2].
+
+ * console-msw.c:
+ * console-msw.c (mswindows_show_console): Rewrote.
+
+ * console-msw.c (Fmswindows_debugging_output): New.
+ Sends to OutputDebugString (special MSWin debugger interface).
+
+ * console-msw.c (Fmswindows_message_box):
+ Fixed stupid bugs so it works when called from kill-emacs.
+
+ * console-msw.c (syms_of_console_mswindows):
+ Declare Fmswindows_debugging_output.
+
+ * console-msw.h:
+ New MSWin prototypes.
+
+ * console-msw.h (struct mswindows_frame):
+ New entry last-click-mods for improved button-modifier support.
+
+ * console-msw.h (FRAME_MSWINDOWS_POPUP):
+ New struct entry `popup' with corresponding accessor.
+
+ * console-x.c:
+ * console-x.c (split_up_display_spec):
+ * console-x.c (get_display_arg_connection):
+ * console-x.c (x_semi_canonicalize_console_connection):
+ * console-x.c (x_canonicalize_device_connection):
+ [[[6]]]: Change char to more specific type.
+ [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
+
+ * console-x.c (x_semi_canonicalize_console_connection):
+ * console-x.c (x_canonicalize_device_connection):
+ [[[9]]]: Fix up error signalling to use new structured error system.
+
+ * console-x.h:
+ [[[4]]]: Define codesys aliases:
+ Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
+ Qx_color_name_encoding, Qx_display_name_encoding.
+
+ * console.h (struct console_methods):
+ New method make_dialog_box_internal supersedes older
+ popup_dialog_box method.
+
+ * data.c:
+ Define many new errors, part of new structured errors.
+
+ * data.c (init_errors_once_early):
+ * data.c (syms_of_data):
+ [2].
+
+ * device-msw.c (mswindows_init_device):
+ [[[5]]]: Cleanup to support NT 3.51.
+
+ * device-msw.c (decode_devmode): Cleanup.
+
+ * device-msw.c (mswindows_handle_print_setup_dialog_box):
+ * device-msw.c (mswindows_handle_print_dialog_box):
+ * device-msw.c (mswindows_handle_page_setup_dialog_box):
+ * device-msw.c (syms_of_device_mswindows):
+ Delete the dialog box primitives recently introduced by Kirill and
+ instead interface to general dialog box interface.
+
+ * device-x.c:
+ * device-x.c (compute_x_app_name):
+ * device-x.c (x_init_device):
+ * device-x.c (Fx_valid_keysym_name_p):
+ * device-x.c (Fx_set_font_path):
+ [6].
+ [7].
+
+ * device.h (wrap_device): New.
+ First of its kind; meant to replace XSETDEVICE.
+
+ * dialog-msw.c: Many file-dialog symbols.
+
+ * dialog-msw.c (mswindows_register_popup_frame): New.
+ * dialog-msw.c (mswindows_is_dialog_msg): New.
+ For supporting kbd traversal in dialog boxes.
+
+ * dialog-msw.c (dialog_proc):
+ Support hitting ESC in dialogs.
+
+ * dialog-msw.c (struct):
+ Common dialog box errors.
+
+ * dialog-msw.c (handle_file_dialog_box): New.
+ Add file dialog code.
+
+ * dialog-msw.c (handle_question_dialog_box):
+ Redo existing code to support new question dialog syntax.
+
+ * dialog-msw.c (console_type_create_dialog_mswindows):
+ We support new dialog console method.
+
+ * dialog-msw.c (syms_of_dialog_mswindows):
+ * dialog-msw.c (vars_of_dialog_mswindows):
+ New file dialog symbols, vars.
+
+ * dialog-x.c:
+ * dialog-x.c (maybe_run_dbox_text_callback):
+ * dialog-x.c (dbox_descriptor_to_widget_value):
+ * dialog-x.c (x_make_dialog_box_internal):
+ * dialog-x.c (console_type_create_dialog_x):
+ Mule-ize entire file.
+ Redo to support question dialog syntax.
+ [6].
+
+ * dialog.c:
+ * dialog.c (Fmake_dialog_box_internal):
+ * dialog.c (syms_of_dialog):
+ Kill old popup-dialog-box, replace with new primitive.
+ Just call device method or signal error.
+
+ * eldap.c (Fldap_open):
+ * eldap.c (Fldap_search_basic):
+ * eldap.c (Fldap_add):
+ * eldap.c (Fldap_modify):
+ [1].
+ [7].
+
+ * emacs.c:
+ * emacs.c (make_arg_list_1):
+ * emacs.c (make_arg_list):
+ Mule-ize call to dll_init().
+ [6].
+ [8].
+
+ * emacs.c (make_argc_argv):
+ * emacs.c (free_argc_argv):
+ * emacs.c (init_cmdargs):
+ * emacs.c (main_1):
+ * emacs.c (Fkill_emacs):
+ * emacs.c (Fdump_emacs):
+ Update comments about what can be used in syms_* etc.
+ Call init_win32() when necessary.
+ Fix up MS Win dialog box in kill-buffer to actually work right.
+ [7].
+
+ * eval.c:
+ * eval.c (For):
+ * eval.c (Fand):
+ * eval.c (Fprogn):
+ * eval.c (Fprog1):
+ * eval.c (Fprog2):
+ * eval.c (FletX):
+ * eval.c (Flet):
+ * eval.c (condition_case_3):
+ * eval.c (Feval):
+ * eval.c (function_argcount):
+ * eval.c (funcall_lambda):
+ [1].
+
+ * eval.c (type_error): New.
+ * eval.c (maybe_type_error): New.
+ * eval.c (continuable_type_error): New.
+ * eval.c (maybe_continuable_type_error): New.
+ * eval.c (type_error_with_frob): New.
+ * eval.c (maybe_type_error_with_frob): New.
+ * eval.c (continuable_type_error_with_frob): New.
+ * eval.c (maybe_continuable_type_error_with_frob): New.
+ New functions for use with structured errors.
+
+ * event-Xt.c:
+ * event-Xt.c (x_event_to_emacs_event):
+ Buttons are now modifiers too.
+
+ * event-Xt.c (emacs_Xt_current_event_timestamp):
+ Implement new event method.
+ * event-Xt.c (reinit_vars_of_event_Xt): Set it.
+
+ * event-msw.c:
+ * event-msw.c (ntpipe_shove_writer): [5].
+ * event-msw.c (mswindows_enqueue_mouse_button_event):
+ * event-msw.c (mswindows_drain_windows_queue):
+ * event-msw.c (mswindows_wnd_proc): [7].
+ * event-msw.c (mswindows_current_layout_has_AltGr): [5].
+ * event-msw.c (mswindows_modifier_state):
+ Throughout: support new button modifiers.
+
+ * event-msw.c (emacs_mswindows_current_event_timestamp):
+ Implement new event method.
+ * event-msw.c (reinit_vars_of_event_mswindows): Set it.
+
+ * event-stream.c:
+ * event-stream.c (event_stream_current_event_timestamp): New.
+ * event-stream.c (maybe_kbd_translate): New functionality.
+ * event-stream.c (vars_of_event_stream):
+ Document new kbd-translate-table functionality.
+
+ * event-stream.c (Fcurrent_event_timestamp): New.
+ New primitive for use in fabricated events.
+ * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
+
+ * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
+
+ * events.c:
+ * events.c (Fmake_event):
+ * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
+ [1].
+ [9].
+
+ * events.c (format_event_object): fix gcc warnings.
+
+ * events.c (Fevent_timestamp): Document new primitives.
+
+ * events.c (TIMESTAMP_HALFSPACE): New.
+
+ * events.c (Fevent_timestamp_lessp): New. New primitive for
+ comparing timestamps correctly (half-space algorithm).
+
+ * events.c (Fevent_modifier_bits): Doc fix.
+
+ * events.c (Fevent_modifiers): Major doc addition.
+ * events.c (event_x_y_pixel_internal): Typo fix.
+ * events.c (syms_of_events): Declare new primitives.
+
+ * events.h:
+ Update long comment for button modifiers, timestamps.
+
+ * events.h (struct event_stream):
+ New current_event_timestamp method.
+
+ * extents.c:
+ * extents.c (extent_in_region_p):
+ * extents.c (decode_extent):
+ * extents.c (Fset_extent_parent):
+ * extents.c (decode_map_extents_flags):
+ Fix gcc warnings.
+ [9].
+
+ * extents.c (struct extent_at_arg):
+ * extents.c (decode_extent_at_flag):
+ * extents.c (extent_at_mapper):
+ * extents.c (extent_at_bytind):
+ * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
+ * extents.c (Fextents_at): New primitive. [9].
+ * extents.c (symbol_to_glyph_layout): [9].
+ Support new primitive `extents-at'.
+
+
+ * extents.c (get_text_property_bytind):
+ extent_at_bytind has another arg.
+ [9].
+
+ * extents.c (syms_of_extents): New primitive.
+
+ * file-coding.c (Fmake_coding_system): [1].
+ * file-coding.c (subsidiary_coding_system): fix gcc warning
+ * file-coding.c (syms_of_file_coding): [2].
+
* fileio.c (Fexpand_file_name):
- * fileio.c (Fmake_temp_name):
- * fileio.c (Ffile_name_nondirectory):
+ * fileio.c (Fsysnetunam):
+ * fileio.c (Ffile_exists_p):
+ * fileio.c (Ffile_executable_p):
+ * fileio.c (Fverify_visited_file_modtime):
+ Clean up GCPROing.
+
+ * fileio.c (syms_of_fileio): [2].
+
+ * filelock.c (lock_file_1):
+ * filelock.c (current_lock_owner):
+ * filelock.c (lock_if_free):
+ * filelock.c (lock_file):
+ * filelock.c (unlock_file):
+ Clean up GCPROing.
+
+ * fns.c (concat): Fix gcc warning.
+
+ * fns.c (Fmember):
+ * fns.c (Fold_member):
+ * fns.c (Fmemq):
+ * fns.c (Fold_memq):
+ * fns.c (memq_no_quit):
+ * fns.c (Fassoc):
+ * fns.c (Fold_assoc):
+ * fns.c (Fassq):
+ * fns.c (Fold_assq):
+ * fns.c (assq_no_quit):
+ * fns.c (Frassoc):
+ * fns.c (Fold_rassoc):
+ * fns.c (Frassq):
+ * fns.c (Fold_rassq):
+ * fns.c (rassq_no_quit):
+ * fns.c (Fdelete):
+ * fns.c (Fold_delete):
+ * fns.c (Fdelq):
+ * fns.c (Fold_delq):
+ * fns.c (delq_no_quit):
+ * fns.c (Fremassoc):
+ * fns.c (Fremassq):
+ * fns.c (remassq_no_quit):
+ * fns.c (Fremrassoc):
+ * fns.c (Fremrassq):
+ * fns.c (remrassq_no_quit):
+ * fns.c (Freverse):
+ * fns.c (mapcar1):
+ [1].
+
+ * frame-msw.c (mswindows_init_frame_1):
+ * frame-msw.c (mswindows_delete_frame):
+ Register popups with dialog code so keyboard traversing works.
+
+ * frame-tty.c (tty_raise_frame_no_select): [1].
+
+ * frame-x.c:
+ * frame-x.c (x_set_frame_text_value):
+ * frame-x.c (x_set_frame_properties):
+ * frame-x.c (x_create_widgets):
+ [7].
+
+ * frame.c:
+ * frame.c (Fmouse_pixel_position): Minor doc fixes.
+
+ * frame.h (wrap_frame): New.
+ Macro like wrap_device.
+
+ * general.c:
+ * general.c (SYMBOL):
+ * general.c (syms_of_general):
+ Major reorg. This is now just a wrapper and symbols themselves
+ are listed in general-slots.h.
+
+ * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
+ * glyphs-msw.c (mswindows_resource_instantiate): [5].
+
+ * glyphs-msw.c (mswindows_native_layout_instantiate):
+ Add DS_CONTROL so keyboard traversal will work.
+
+ * glyphs-widget.c:
+ * glyphs-widget.c (syms_of_glyphs_widget):
+ Move some symbols to general-slots.h.
+
+ * glyphs-x.c:
+ * glyphs-x.c (xbm_instantiate_1):
+ * glyphs-x.c (x_xbm_instantiate):
+ * glyphs-x.c (x_xface_instantiate):
+ * glyphs-x.c (autodetect_instantiate):
+ * glyphs-x.c (cursor_font_instantiate):
+ * glyphs-x.c (x_update_widget):
+ * glyphs-x.c (x_widget_instantiate):
+ * glyphs.c (bitmap_to_lisp_data):
+ * glyphs.c (pixmap_to_lisp_data):
+ [7].
+
+ * glyphs.c (syms_of_glyphs):
+ [2].
+
+ * gui-x.c:
+ * gui-x.c (print_widget_value):
+ * gui-x.c (menu_separator_style_and_to_external):
+ * gui-x.c (add_accel_and_to_external):
+ * gui-x.c (button_item_to_widget_value):
+ * gui-x.c (gui_items_to_widget_values_1):
+ * gui-x.c (gui_items_to_widget_values):
+ * gui-x.c (syms_of_gui_x):
+ * gui-x.c (vars_of_gui_x):
+ Mule-ize entire file. Move menu-no-selection-hook to gui.c.
+ [9].
+
+ * gui-x.h:
+ Muleize, prototype changes matching gui-x.c.
+
+ * gui.c:
+ * gui.c (separator_string_p):
+ * gui.c (gui_item_add_keyval_pair):
+ * gui.c (make_gui_item_from_keywords_internal):
+ * gui.c (signal_too_long_error):
+ * gui.c (parse_gui_item_tree_item):
+ * gui.c (syms_of_gui):
+ * gui.c (vars_of_gui):
+ * gui.h:
+ menu-no-selection-hook moved here (used by MSWin).
+ Move some symbols to general-slots.h.
+ [6].
+ [9].
+
+ * insdel.c (get_buffer_pos_char):
+ * insdel.c (get_buffer_range_char):
+ Add GC comments.
+
+ * keymap.c (keymap_lookup_directly):
+ * keymap.c (keymap_store):
+ * keymap.c (ensure_meta_prefix_char_keymapp):
+ * keymap.c (describe_map):
+ * keymap.h:
+ Support new button modifiers.
+
+ * lisp-disunion.h (wrap_object):
+ * lisp-disunion.h (XSETOBJ):
+ Rename make_obj to wrap_object.
+
+ * lisp-union.h:
+ * lisp-union.h (make_int):
+ * lisp-union.h (make_char):
+ Support wrap_object.
+
+ * lisp.h:
+ * lisp.h (LIST_LOOP):
+ * lisp.h (EXTERNAL_LIST_LOOP):
+ * lisp.h (LIST_LOOP_2):
+ * lisp.h (EXTERNAL_LIST_LOOP_1):
+ * lisp.h (EXTERNAL_LIST_LOOP_2):
+ * lisp.h (EXTERNAL_LIST_LOOP_3):
+ * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
+ * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
+ * lisp.h (GET_EXTERNAL_LIST_LENGTH):
+ * lisp.h (EXTERNAL_ALIST_LOOP_5):
+ * lisp.h (EXTERNAL_ALIST_LOOP_6):
+ * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
+ * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
+ * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
+ * lisp.h (struct Lisp_Symbol):
+ * lisp.h (maybe_continuable_error_with_frob):
+ Fix up section comments.
+ Add new types for char to indicate usage.
+ Delete symbols auto-generated from general-slots.h.
+ Add prototypes for structured error functions.
+ Add long comments describing looping macros and change interface
+ so that lvalues are automatically declared.
+ Add NO_DECLARE macro in case callers want to declare lvalues
+ themselves.
+
+ * lread.c (read_syntax_error):
+ * lread.c (continuable_read_syntax_error):
+ * lread.c (read_structure):
+ * lread.c (sequence_reader):
+ * lread.c (read_list_conser):
+ * lread.c (read_compiled_function):
+ Rename syntax_error and continuable_syntax_error to avoid clash
+ with same-named structured error functions.
+
+ * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
+ * menubar-msw.c (populate_menu_add_item):
+ * menubar-msw.c (populate_or_checksum_helper):
+ [5].
+ [9].
+
+ * menubar-x.c:
+ * menubar-x.c (menu_item_descriptor_to_widget_value_1):
+ Mule-ize whole file.
+
+ * menubar.c (Fnormalize_menu_item_name): Add optimization.
+
+ * mule-charset.c (Fmake_charset):
+ * mule-wnnfns.c (Fwnn_set_param):
+ [1].
+
+ * ntproc.c (create_child):
+ * ntproc.c (Fwin32_set_current_locale):
+ Add comments portending doom.
+
+ * objects-msw.c:
+ * objects-msw.c (old_font_enum_callback_2):
+ * objects-msw.c (font_enum_callback_1):
+ * objects-msw.c (mswindows_enumerate_fonts):
+ [5].
+
+ * objects-x.c:
+ * objects-x.c (allocate_nearest_color):
+ * objects-x.c (x_parse_nearest_color):
+ * objects-x.c (x_initialize_color_instance):
+ * objects-x.c (x_print_color_instance):
+ * objects-x.c (x_finalize_color_instance):
+ * objects-x.c (x_valid_color_name_p):
+ * objects-x.c (x_initialize_font_instance):
+ * objects-x.c (x_print_font_instance):
+ * objects-x.c (valid_x_font_name_p):
+ * objects-x.c (truename_via_FONT_prop):
+ * objects-x.c (truename_via_random_props):
+ * objects-x.c (truename_via_XListFonts):
+ * objects-x.c (x_font_truename):
+ * objects-x.c (x_font_instance_truename):
+ * objects-x.c (x_font_instance_properties):
+ * objects-x.c (x_list_fonts):
+ * objects-x.c (x_find_charset_font):
+ Mule-ize entire file.
+ [7].
+
+ * objects-x.h:
+ Mule-verify.
+
+ * print.c:
+ * print.c (std_handle_out_external):
+ * print.c (debug_print_no_newline):
+ * print.c (syms_of_print):
+ Output to all debugger kinds in debug-print.
+ Fix console-output code under MSWin to actually work.
+
+ * process-nt.c (send_signal):
+ * process-nt.c (nt_create_process):
+ Use newer Unicode macros.
+
+ * process-unix.c (unix_create_process):
+ * process-unix.c (unix_canonicalize_host_name):
+ * process-unix.c (unix_open_network_stream):
+ [7].
+
+ * scrollbar-x.c:
+ Mule-verify.
+
+ * search.c (syms_of_search):
+ [2].
+
+ * select-msw.c (mswindows_destroy_selection):
+ Use LIST_LOOP_2.
+
+ * select-x.c (symbol_to_x_atom):
+ [7].
+
+ * select.c (syms_of_select):
+ [2].
+
+ * sound.c (Fplay_sound_file):
+ [7].
+
+ * specifier.c:
+ * specifier.c (decode_specifier_type):
+ * specifier.c (Fvalid_specifier_locale_type_p):
+ * specifier.c (check_valid_locale_or_locale_type):
+ * specifier.c (decode_locale):
+ * specifier.c (decode_locale_type):
+ * specifier.c (decode_locale_list):
+ * specifier.c (check_valid_domain):
+ * specifier.c (decode_specifier_tag_set):
+ * specifier.c (Fcanonicalize_tag_set):
+ * specifier.c (Fdefine_specifier_tag):
+ * specifier.c (Fspecifier_tag_predicate):
+ * specifier.c (check_valid_inst_list):
+ * specifier.c (check_valid_spec_list):
+ * specifier.c (decode_how_to_add_specification):
+ * specifier.c (check_modifiable_specifier):
+ * specifier.c (specifier_add_spec):
+ * specifier.c (boolean_validate):
+ * specifier.c (display_table_validate):
+ [9].
+
+ * specifier.c (syms_of_specifier):
+ Move some symbols to general-slots.h.
+ [2].
+
+ * symbols.c:
+ * symbols.c (Fmapatoms):
+ * symbols.c (Fapropos_internal):
+ Add GCPROs.
+
+ * symbols.c (set_default_buffer_slot_variable):
+ * symbols.c (set_default_console_slot_variable):
+ [1].
+
+ * symbols.c (defsymbol_massage_name_1):
+ * symbols.c (defkeyword_massage_name):
+ * symbols.c (deferror_1):
+ * symbols.c (deferror):
+ * symbols.c (deferror_massage_name_and_message):
+ * symeval.h:
+ * symeval.h (DEFSYMBOL):
+ Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
+
+ * symbols.c (syms_of_symbols):
+ [2].
+
+ * symsinit.h:
+ * symsinit.h (init_win32): New.
+ Also new is syms_of_dialog_mswindows.
+
+ * syswindows.h:
+ Add new Unicode macros, missing Cygwin wide-char functions,
+ convenience conversion macros for Qmswindows_tstr, macros for
+ encapsulating required MSWin <-> Cygwin filename conversions,
+ prototype for dynamically-extracted (not in NT 3.51) functions.
+
+ * toolbar-x.c:
+ Mule-verify.
+
+ * tooltalk.c (Fadd_tooltalk_message_arg):
+ * tooltalk.c (Fadd_tooltalk_pattern_attribute):
+ * tooltalk.c (Fadd_tooltalk_pattern_arg):
+ [7].
+
+ * tooltalk.c (syms_of_tooltalk):
+ [2].
+
+ * unexnt.c:
+ * unexnt.c (unexec):
+ Fix up headers, declaration of unexec() to be more standard.
+
+2000-07-20 Martin Buchholz <martin@xemacs.org>
+
+ * offix.h: Revert change to guard macros - they're used in offix.c!
+
+2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
+
+ * lisp.h: Defsubred Fdelete.
+
+ * console-msw.h: (msprinter_default_printer): Added.
+
+ * console-msw.c (msprinter_canonicalize_console_connection):
+ (msprinter_canonicalize_device_connection): Added.
+
+ * device-msw.c (msprinter_default_printer):
+ (Fmswingows_get_default_printer):
+ (signal_enum_priner_error):
+ (Fmswingows_printer_list): Added.
+
+2000-07-19 Martin Buchholz <martin@xemacs.org>
+
+ * XEmacs 21.2.35 is released.
+
+2000-07-19 Martin Buchholz <martin@xemacs.org>
+
+ * select-x.c (x_handle_selection_request):
+ Text selected in xemacs and pasted into xterm failed to appear.
+ Spelling fixes and cosmetic changes.
+
+2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
+
+ * event-msw.c (mswindows_drain_windows_queue): Correctly check for
+ XEmacs frame (fix for doubling chars in dialog boxes).
+
+2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
+
+ * select.c (select_convert_in, select_convert_out):
+ Don't call intern() every time.
+
+ * select.c (Qselect_convert_in, Qselect_convert_out): New.
+ * select.c (vars_of_select): Initialise them.
+
+2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
+
+ * select.c (selection-coercible-types): New.
+
+ * select.c (own-selection-internal):
+ * select.c (get-selection-internal):
+ MULE bug fix - these should default to COMPOUND_TEXT and not
+ STRING for MULE. I think.
+
+ * select.c (select_convert_out): Use selection-coercible-types
+ to find types that we can attempt to perform coercions on.
+
+2000-07-18 Martin Buchholz <martin@xemacs.org>
+
+ * mule-wnnfns.c:
+ * mule-canna.c:
+ Add coding: cookie to identify encoding.
+
+ * mule-canna.c (CANNA_mode_keys): make static.
+ Use proper prototypes, even for functions of no arguments.
+ Remove external prototype for Fding().
+
+ * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
+
+ * select.c (syms_of_select): Add missing DEFSUBR.
+
+2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
+
+ * select.c (get_selection_internal, own_selection_internal):
+ Make the type default to STRING, rather than placing a nil type
+ into Vselection_alist.
+
+2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
+
+ * gpmevent.c (tty_selection_exists_p):
+ * gpmevent.c (tty_own_selection):
+ Updated parameter lists.
+
+2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
+
+ * select.h (selection-alist): Removed declaration.
+
+ * select.h (get_local_selection):
+ * select.c (get_local_selection):
+ Made static.
+
+ * select.h (convert_selection): Removed declaration.
+ * select.c (convert_selection): Removed.
+ This function belongs in Lisp.
+
+ * select.h (select_convert_in): Declare.
+ * select.h (select_convert_out): Declare.
+ * select.c (select_convert_in): New.
+ * select.c (select_convert_out): New.
+ New conversion functions for other files to call.
+
+ * select.h (select_notify_buffer_kill): Declare.
+ * select.c (select_notify_buffer_kill): New.
+ New functions that get called from kill-buffer.
+
+ * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
+ X-specific lisp code.
+
+ * select.h: Declare some of the lisp-visible functions for
+ external use.
+
+ * select.c (clean_local_selection_data): Removed. This was
+ a disgusting function, and previously should have been in
+ select-x.c in any case. The functionality is now provided
+ in select-convert-from-integer (select.el).
+
+ * select.c (available-selection-types): Fixed stupidity where
+ INTEGER and ATOM got added twice. Also add STRING when we see an
+ extent.
+
+ * select.c (get-selection-internal): Removed symbol stripping. No
+ longer causes conversion when data comes from the internal cache.
+
+ * select.c (syms_of_select): Added new functions.
+
+ * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
+ error checking - previously this called abort!
+
+ * select-x.c (x_own_selection): Changed comment.
+
+ * select-x.c (x_handle_selection_request): Use select_convert_out.
+ Don't mess with selection-alist; it's an internal variable of select.c.
+
+ * select-x.c (x_get_foreign_selection): Use select_convert_in.
+
+ * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
+ rather than messing with selection-alist.
+
+ * select-msw.c (mswindows_get_foreign_selection):
+ Use TO_INTERNAL_FORMAT rather than hacking.
+
+2000-07-14 Martin Buchholz <martin@xemacs.org>
+
+ * process-unix.c (unix_open_multicast_group):
+ (unix_open_multicast_group): Remove useless casts.
+
+2000-07-13 Martin Buchholz <martin@xemacs.org>
+
+ * sound.c (Fplay_sound): Fix `unused variable' warning.
+
+ * emacs.c (main): Use correct type for _environ on SCO5.
+
+2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
+
+ * console.h (own_selection_method):
+ * console.h (selection_exists_p_method):
+ * console.h (available_selection_types_method): New.
+ * console.h (register_selection_data_type_method): New.
+ * console.h (selection_data_type_name): New.
+
+ * console-msw.h (mswindows_destroy_selection): Declare it. New
+ function & alist to track GlobalAlloc()'d handles that need
+ releasing when the clipboard data gets replaced or emptied.
+
+ * event-msw.c (mswindows_wnd_proc): Call it.
+
+ * lisp.h, general.c (Qappend): New symbol representing a
+ `how-to-add' mode.
+
+ * select.c (own-selection-internal):
+ * select.c (selection-exists-p):
+ * select.c (available-selection-types): New.
+ * select.c (register-selection-data-type): New.
+ * select.c (selection-data-type-name): New. New functions to deal
+ with device-specific selection data formats.
+ * select.c (selection-converter-out-alist): Renamed.
+ * select.c (selection-converter-in-alist): New.
+ * select.c (selection-appender-alist): New. Added new alists.
+ * select.c (syms_of_select, vars_of_select): Added new symbols &
+ variables.
+ * select.c (get_local_selection): Split.
+ * select.c: Removed spurious type checking - selections may now be
+ of any type, not just strings.
+ * select.c (own-selection-internal):
+
+ * select.h, select.c (convert_selection): New. Created
+ convert_selection() function based on get_local_selection().
+ * select.h, select.c (QCF_*): New symbols representing mswindows
+ clipboard formats.
+ * select.h, select.c (Qreplace_all, Qreplace_existing): New
+ symbols representing `how-to-add' modes.
+
+ * select-msw.c (x_sym_p): New.
+ * select-msw.c (symbol_to_ms_cf): New.
+ * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
+ symbols & clipboard formats. Can also handle string names.
+ * select-msw.c (mswindows_own_selection):
+ * select-msw.c (mswindows_selection_exists_p):
+ Added `data-type' parameter. Use it.
+ * select-msw.c (mswindows_available_selection_types): New.
+ * select-msw.c (mswindows_register_selection_data_type): New.
+ * select-msw.c (mswindows_selection_data_type_name): New.
+ * select-msw.c (mswindows_own_selection):
+ * select-msw.c (mswindows_get_foreign_selection):
+ * select-msw.c (mswindows_selection_exists_p): Rewrote.
+ * select-msw.c (console_create_select_mswindows): Added new methods.
+ * select-msw.c (mswindows_destroy_selection): New.
+ * select-msw.c (Vhandle_alist): New list.
+ * select-msw.c (mswindows_own_selection):
+
+ * select-x.c (x_own_selection):
+ * select-x.c (x_selection_exists_p):
+ * select-x.c: Added some comments about maybe using new
+ functionality.
+ * select-x.c (x_own_selection):
+
+ * specifier.c: Remove definition of Qappend (now in general.c)
+ * specifier.c (syms_of_specifier): Remove Qappend.
+
+2000-07-12 Martin Buchholz <martin@xemacs.org>
+
+ * config.h.in: Add socklen_t.
+
+ * s/decosf4-0.h: No special compiler flags needed or desired.
+ In particular, undefine _BSD for DEC OSF 4.0.
+
+2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
+
+ * redisplay-msw.c (msprinter_frame_output_end): Added.
+ (console_type_create_redisplay_mswindows): Referred the above.
+
+ * frame.c (setup_frame_without_minibuffer): Do not create a
+ default minibuffer frame on a printer device.
+
+ * frame-msw.c (apply_dc_geometry): Added.
+ (msprinter_start_page):
+ (msprinter_init_frame_3):
+ (msprinter_eject_page): Use it.
+
+ * console-msw.h (struct msprinter_frame): Added pix_left and top,
+ and removed residual duplex and orientation properties.
+
+2000-07-11 Martin Buchholz <martin@xemacs.org>
+
+ * eval.c (function_argcount): Work around a DEC CC compiler bug.
+
+ * unexalpha.c: Remove system prototypes from C sources!
+
+2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
+
+ * eval.c: Remove references to M-x edit-options in DEFUNs for
+ `defvar' and `defconst'.
+
+2000-07-09 Martin Buchholz <martin@xemacs.org>
+
+ * config.h.in: Remove SMART_INCLUDE hackery.
+
+ PostgreSQL hacking:
+ * config.h.in: Don't use SMART_INCLUDE.
+
+ * postgresql.h: Include libpq-fe.h here. Fix typo.
+ * inline.c: Simply #include "postgresql.h"
+ * postgresql.c:
+ - Don't use SMART_INCLUDE
+ - Use simply "const".
+ - Use standard doc string conventions.
+ - Use correct type for result of PQstatus.
+
+2000-07-09 Martin Buchholz <martin@xemacs.org>
+
+ * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
+
+ C++ compilation changes.
+ * config.h.in (EXTERN_C): Define.
+ * config.h.in (not): This is also a C++ keyword.
+ * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
+ * cm.c: Use EXTERN_C.
+ * redisplay-tty.c: Use EXTERN_C.
+ * sysdep.c: Use EXTERN_C. Remove Gould support.
+
+2000-07-09 Martin Buchholz <martin@xemacs.org>
+
+ * general.c: Remove duplicate definition for Qfunction.
+
+2000-07-08 Ben Wing <ben@xemacs.org>
+
+ * device-msw.c (msprinter_init_device):
+ * device-msw.c (sync_printer_with_devmode):
+ * device-msw.c (handle_devmode_changes):
+ * device-msw.c (print_dialog_worker):
+ * device-msw.c (Fmsprinter_apply_settings):
+ * device-msw.c (hash_devmode):
+ * device-msw.c (Fmsprinter_settings_despecialize):
+ use Qmswindows_tstr, not Qctext.
+
+ * vm-limit.c (check_memory_limits):
+ avoid infinite loop printing warning messages.
+
+2000-07-05 Craig Lanning <lanning@scra.org>
+
+ * Makefile.in.in: Add support for including the Windows resources
+ when building with the cygwin and mingw targets.
+
+ * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
+ not set or not correct.
+ (directory_is_current_directory): Don't compile for WIN32_NATIVE.
+ (init_initial_directory): Don't try to use $PWD on the
+ WIN32_NATIVE target.
+
+ * s\cygwin32.h:
+ [[Add -mwindows to eliminate console window.]] not required --ben
+ (HAVE_NATIVE_SOUND): removed; now handled by configure.
+ (MAIL_USE_POP): removed; now handled by configure.
+
+ * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
+ C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
+ (HAVE_NATIVE_SOUND): removed; now handled by configure.
+ (MAIL_USE_POP): removed; now handled by configure.
+ (ENCAPSULATE_STAT): from Dan Holmsand, added.
+ (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
+ (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
+ constant string.
+ (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
+ up from <winsock.h> via systime.h.
+ (HAVE_GETPAGESIZE): from Dan Holmsand, added.
+ (getpagesize): from Dan Holmsand, added.
+ Added #endif which was left dangling by Ben's mega patch; added
+ comment to help prevent this in the future.
+
+ * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
+
+2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
+
+ * console-msw.h (struct mswindows_device): Removed unnecessary
+ cached device geometry values.
+ Added update_tick and an accessor macro.
+ (Lisp_Devmode): Added lrecord declaration.
+ (struct msprinter_device): Contain devmode as a Lisp object.
+ Added mswindows_get_selected_frame_hwnd();
+
+ * console.h (struct console_methods): Indentation nitpicking.
+
+ * device-msw.c (mswindows_init_device): Do not initialize geometry
+ cache. Initialize update tick.
+ (mswindows_device_system_metrics): Ask the device for its geometry.
+ (global_free_2_maybe):
+ (devmode_to_hglobal):
+ (handle_printer_changes):
+ (ensure_not_printing):
+ (print_dialog_worker):
+ (Fmsprinter_print_setup_dialog):
+ (Fmsprinter_print_dialog):
+ (plist_get_margin):
+ (plist_set_margin):
+ (Fmsprinter_page_setup_dialog): Added functions.
+ (sync_printer_with_devmode):
+ (handle_devmode_changes):
+ (Fmsprinter_get_settings):
+ (Fmsprinter_select_settings):
+ (Fmsprinter_apply_settings):
+ (allocate_devmode):
+ (Fmsprinter_settings_copy):
+ (Fmsprinter_settings_despecialize):
+ (print_devmode):
+ (finalize_devmode):
+ (equal_devmode):
+ (hash_devmode): Added functions
+ (syms_of_device_mswindows): Init devmode lrecord class.
+
+ * device.h: Added an exfun for find-device.
+
+ * event-msw.c (mswindows_wnd_proc): Do not update the cached
+ geometry; although, recreate the device compatible DC.
+
+ * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
+ (msprinter_init_frame_3):
+ (msprinter_frame_property):
+ (msprinter_internal_frame_property_p):
+ (msprinter_frame_properties):
+ (msprinter_set_frame_properties): Removed 'orientation and 'duplex
+ print job properties (will move to device settings).
+
+ * lisp.h: Added symbols.
+
+ * general.c (syms_of_general): Declared them.
+
+ * hash.c (string_hash): Added.
+
+ * lrecord.h (lrecord_type): Added devmode lrecord type.
+
+2000-07-02 Mike Sperber <mike@xemacs.org>
+
+ * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
+ FreeBSD 4.0.
+
+2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
+
+ * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
+ integer.
+
+2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
+
+ * data.c (Fstring_to_number): Don't recognize floating point if
+ base is not 10.
+
+2000-06-22 Martin Buchholz <martin@xemacs.org>
+
+ * glyphs-widget.c (tab_control_query_geometry):
+ (widget_query_geometry):
+ (button_query_geometry):
+ * glyphs.c (text_query_geometry):
+ Enforce type correctness.
+
+2000-06-18 Martin Buchholz <martin@xemacs.org>
+
+ * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
+ * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
+
+2000-06-17 Martin Buchholz <martin@xemacs.org>
+
+ * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
+ conflicts with gcc's fixincluded version of FOO.h.
+
+ * glyphs.h (image_instance_geometry): Remove trailing `,'
+
+2000-06-08 Mike Alexander <mta@arbortext.com>
+
+ (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
+ (shove_thread): Don't write the same output twice
+ (make_ntpipe_output_stream): Increase priority of shove thread
+ (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
+ chance to run
+ (ntpipe_shove_closer): Don't delete the pipe until we're done with
+ it.
+
+2000-06-12 Ben Wing <ben@xemacs.org>
+
+ * s\mingw32.h (sigset):
+ * s\windowsnt.h (sigset):
+ rename msw_ to mswindows_ for consistency with general convention.
+
+2000-06-12 Ben Wing <ben@xemacs.org>
+
+ * console-msw.c:
+ * console-msw.c (mswindows_get_console_hwnd):
+ * console-msw.c (mswindows_ensure_console_allocated):
+ * console-msw.c (mswindows_hide_console):
+ * console-msw.c (mswindows_show_console):
+ * console-msw.c (mswindows_ensure_console_buffered):
+ * console-msw.c (mswindows_output_console_string):
+ * console-msw.c (mswindows_windows9x_p):
+ * console-msw.h:
+ * device-msw.c (mswindows_get_workspace_coords):
+ * device-msw.c (mswindows_device_system_metrics):
+ * dialog-msw.c (mswindows_popup_dialog_box):
+ * event-msw.c (mswindows_wnd_proc):
+ * frame-msw.c (mswindows_size_frame_internal):
+ * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
+ * menubar-msw.c (displayable_menu_item):
+ * menubar-msw.c (mswindows_char_is_accelerator):
+ * nt.c:
+ * nt.c (mswindows_sigset):
+ * nt.c (mswindows_sigrelse):
+ * nt.c (mswindows_sigpause):
+ * nt.c (mswindows_raise):
+ * nt.c (timer_proc):
+ * ntproc.c:
+ * ntproc.c (find_child_console):
+ * ntproc.c (sys_kill):
+ * print.c:
+ * print.c (std_handle_out_external):
+ * process-nt.c (find_child_console):
+ * process-nt.c (send_signal_the_95_way):
+ * process-nt.c (ensure_console_window_exists):
+ * process-nt.c (nt_create_process):
+ * syssignal.h:
+ rename msw_ to mswindows_ for consistency with general convention.
+
+ * emacs.c:
+ * dumper.c:
+ include nt.h, not syswindows.h.
+
+ * nt.c (mswindows_fstat):
+ * nt.c (mswindows_stat):
+ prefix mswindows_ instead of attempting to directly override the
+ library functions. fix declarations.
+
+ * nt.h:
+ include syswindows.h. move some sysdep.h stuff here.
+
+ * ntheap.h:
+ include syswindows.h, not <windows.h>.
+
+ * ntplay.c:
+ clean up headers.
+
+ * sysdep.c:
+ clean up headers.
+
+ * sysdep.c (sys_fstat):
+ * sysdep.c (sys_stat):
+ call mswindows versions when appropriate.
+
+ * sysdep.h:
+ move mswin decls to nt.h.
+
+ * syswindows.h:
+ add long comment describing appropriate use of the various windows
+ headers.
+
+2000-06-11 Ben Wing <ben@xemacs.org>
+
+ * device-x.c: Correct doc string for sixth arg of x-get-resource.
+
+2000-06-10 Ben Wing <ben@xemacs.org>
+
+ * Makefile.in.in (release):
+ Correction to make sure xemacs.exe always dumped when correct.
+
+ * alloca.c:
+ * balloon_help.c:
+ [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
+
+ * buffer.c (set_buffer_internal):
+ [[[[2]]]]: Remove HAVE_FEP code.
+
+ * buffer.c (init_initial_directory):
+ [3].
+
+ * bytecode.c:
+ [[[[4]]]]: limits.h standardly included in lisp.h; remove from
+ individual files.
+
+ * callproc.c:
+ * callproc.c (call_process_cleanup):
+ * callproc.c (Fold_call_process_internal):
+ * callproc.c (child_setup):
+ * callproc.c (getenv_internal):
+ * callproc.c (init_callproc):
+ * callproc.c (vars_of_callproc):
+ [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
+ __CYGWIN32__ -> CYGWIN.
+ DOS_NT -> WIN32_NATIVE.
+ Remove MSDOS support/references, converting to WIN32_NATIVE
+ where correct.
+ __MINGW32__ -> MINGW.
+ Fix windows.h includes.
+ Remove bogus HAVE_NTGUI.
+
+ * config.h.in:
+ [2].
+
+ * console-msw.c:
+ mswindows_message_outputted added for use in allowing startup
+ errors on the console to be seen.
+
+ * console-msw.c (msw_ensure_console_allocated):
+ * console-msw.c (msw_output_console_string):
+ * console-msw.c (DHEADER):
+ * console-msw.c (DOPAQUE_DATA):
+ * console-msw.c (DEVENT):
+ * console-msw.c (DCONS):
+ * console-msw.c (DCONSCDR):
+ * console-msw.c (DSTRING):
+ * console-msw.c (DVECTOR):
+ * console-msw.c (DSYMBOL):
+ * console-msw.c (DSYMNAME):
+ Fix warnings.
+
+ * console-stream.c (stream_init_console):
+ Fix text/binary problems.
+
+ * device-msw.c:
+ * device-msw.c (mswindows_finish_init_device):
+ * device-msw.c (mswindows_delete_device):
+ [1].
+
+ * device.c (handle_asynch_device_change):
+ [3].
+
+ * dgif_lib.c:
+ * dgif_lib.c (DGifOpenFileName):
+ * dgif_lib.c (DGifOpenFileHandle):
+ * dgif_lib.c (DGifGetLine):
+ * dgif_lib.c (DGifGetPixel):
+ Added config.h/lisp.h, fix up includes.
+ [1].
+
+ * dired-msw.c:
+ [4].
+
+ * dired.c:
+ * dired.c (file_name_completion):
+ * dired.c (Ffile_attributes):
+ * dired.c (syms_of_dired):
+ [1].
+
+ * dumper.c:
+ * dumper.c (pdump_file_unmap):
+ * dumper.c (pdump_load):
+ [1].
+
+ * editfns.c:
+ * editfns.c (Ftemp_directory):
+ * editfns.c (user_login_name):
+ * editfns.c (Fuser_real_login_name):
+ * editfns.c (get_home_directory):
+ [1].
+
+ * elhash.c (finish_marking_weak_hash_tables):
+ [[[[5]]]]: Fix GCC warnings.
+
+ * emacs.c:
+ * emacs.c (mswindows_handle_hardware_exceptions):
+ * emacs.c (make_arg_list_1):
+ * emacs.c (main_1):
+ * emacs.c (Fkill_emacs):
+ * emacs.c (Fdump_emacs):
+ [1].
+ Fix problems with nested crashes, add long comment.
+
+ * event-Xt.c (init_event_Xt_late):
+ [1].
+
+ * event-msw.c:
+ * event-msw.c (mswindows_dde_callback):
+ * event-msw.c (mswindows_handle_sticky_modifiers):
+ * event-msw.c (mswindows_wnd_proc):
+ [1].
+ [5].
+
+ * events.c (character_to_event):
+ [1].
+
+ * fileio.c:
* fileio.c (Ffile_name_directory):
- * file-coding.h:
- * file-coding.c (vars_of_mule_coding):
- * file-coding.c (convert_to_external_format):
- * file-coding.c (encoding_marker):
- * file-coding.c (decoding_marker):
- * file-coding.c (Fcopy_coding_system):
- * file-coding.c (Fmake_coding_system):
- * file-coding.c (struct coding_system_list_closure):
- * file-coding.c (Ffind_coding_system):
- * file-coding.c (symbol_to_eol_type):
- * file-coding.c:
- * faces.h (struct face_cachel):
- * faces.c (vars_of_faces):
- * faces.c (face_property_was_changed):
- * faces.c (mark_face_cachels):
- * faces.c (temporary_faces_list):
- * faces.c (struct face_list_closure):
- * faces.c:
- * extents.h (struct extent):
- * extents.c (vars_of_extents):
- * extents.c (struct copy_string_extents_1_arg):
- * extents.c (add_string_extents_mapper):
- * extents.c (Fextent_property):
- * extents.c (Fset_extent_property):
- * extents.c (symbol_to_glyph_layout):
- * extents.c (properties_equal):
- * extents.c (print_extent):
- * extents.c (print_extent_1):
- * extents.c (extent_in_region_p):
- * extents.c (gap_array_make_gap):
- * extents.c:
- * events.h (struct Lisp_Event):
- * events.h:
- * events.c (Fevent_properties):
- * events.c (format_event_object):
- * events.c (Fmake_event):
- * events.c (event_equal):
- * events.c (print_event):
- * events.c (mark_event):
- * event-stream.c ((read-char)
- * event-stream.c (vars_of_event_stream):
- * event-stream.c (syms_of_event_stream):
- * event-stream.c (Fset_recent_keys_ring_size):
- * event-stream.c (Fsit_for):
- * event-stream.c (Fnext_event):
- * event-stream.c (execute_help_form):
- * event-stream.c (maybe_kbd_translate):
- * event-stream.c:
- * event-msw.c (vars_of_event_mswindows):
+ * fileio.c (Ffile_name_nondirectory):
+ * fileio.c (directory_file_name):
+ * fileio.c (Fexpand_file_name):
+ * fileio.c (Fsubstitute_in_file_name):
+ * fileio.c (Ffile_name_absolute_p):
+ * fileio.c (check_executable):
+ * fileio.c (Ffile_readable_p):
+ * fileio.c (Ffile_accessible_directory_p):
+ * fileio.c (Ffile_modes):
+ * fileio.c (Funix_sync):
+ * fileio.c (vars_of_fileio):
+ [1]. [4].
+
+ [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
+
+ Expand getdefdir defn.
+ Fix bogus rename() comment.
+
+ [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
+ to use standard XEmacs include files, e.g. sysfile.h, rather
+ than system-specific includes.
+
+ * fns.c:
+ * fns.c (Fsubseq):
+ [5]. [6].
+
+ * frame.c (vars_of_frame):
+ [1].
+
+ * getloadavg.c:
+ * getloadavg.c (getloadavg):
+ [1]. [6].
+ #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
+ (We don't use it elsewhere in the code; just add a comment.)
+
+ * gif_io.c:
+ [6].
+ Add config.h.
+
+ * glyphs-msw.c:
+ * glyphs-msw.c (mswindows_resource_instantiate):
+ [1].
+
+ * glyphs-x.c (x_native_layout_instantiate):
+ [5].
+
+ * gui-msw.c (Fmswindows_shell_execute):
+ [1].
+
+ * insdel.c:
+ [4].
+
+ * lisp.h:
+ [4]. [5].
+
+ * lread.c (locate_file_in_directory_mapper):
+ [1].
+
+ * lstream.c:
+ [4].
+
+ * mem-limits.h:
+ * mem-limits.h (get_lim_data):
+ [1].
+
+ * menubar-msw.c:
+ [4].
+
+ * ndir.h:
+ [1].
+
+ * nt.c:
+ * nt.c (getwd):
+ * nt.c (closedir):
+ * nt.c (rva_to_section):
+ * nt.c (mswindows_executable_type):
+ [1]. [6].
+ Fix closedir() defn.
+
+ * nt.h:
+ [[[[8]]]]: *_OK defs moved to sysfile.h.
+
+ * ntproc.c:
+ [6]. [7].
+
+ * objects-x.c:
+ [4].
+
+ * print.c:
+ * print.c (std_handle_out_external):
+ [1]. [4].
+
+ * process-nt.c:
+ * process-nt.c (nt_create_process):
+ [6].
+ try to fix process quoting somewhat.
+
+ * process-unix.c (unix_create_process):
+ [1].
+
+ * process.c:
+ * process.c (vars_of_process):
+ Add Vnull_device.
+
+ * process.h:
+ [1].
+
+ * realpath.c:
+ * realpath.c (xrealpath):
+ [1].
+
+ * redisplay-tty.c (init_tty_for_redisplay):
+ [3].
+
+ * redisplay.c:
+ [4]. [6].
+
+ * scrollbar-msw.c:
+ [4].
+
+ * sheap.c:
+ * sheap.c (more_static_core):
+ * sheap.c (report_sheap_usage):
+ [5]. [6].
+
+ * signal.c:
+ * signal.c (alarm_signal):
+ [1]. [6].
+
+ * sound.c:
+ [6].
+
+ * strftime.c:
+ * strftime.c (zone_name):
+ [1]. [5].
+
+ * symsinit.h (init_sunpro):
+ [1].
+
+ * syscommctrl.h:
+ commctrl.h not in Cygwin b20.1.
+
+ * sysdep.c:
+ * sysdep.c (endif):
+ * sysdep.c (sys_subshell):
+ * sysdep.c (init_baud_rate):
+ * sysdep.c (emacs_get_tty):
+ * sysdep.c (emacs_set_tty):
+ * sysdep.c (tty_init_sys_modes_on_device):
+ * sysdep.c (init_system_name):
+ * sysdep.c (sys_open):
+ * sysdep.c (interruptible_open):
+ * sysdep.c (sys_fopen):
+ * sysdep.c (sys_mkdir):
+ * sysdep.c (sys_rename):
+ * sysdep.c (get_process_times_1):
+ [1]. [6].
+
+ * sysdep.h:
+ [1].
+
+ * sysdir.h:
+ * sysdir.h (DIRENTRY_NONEMPTY):
+ [1]. [6].
+
+ * sysdll.c (dll_init):
+ * sysdll.h:
+ [1].
+
+ * sysfile.h:
+ [1]. [6]. [8].
+ added text/binary defs.
+
+ * sysfloat.h:
+ [1].
+
+ * sysproc.h:
+ * sysproc.h (EDESTADDRREQ):
+ * sysproc.h (poll_fds_for_input):
+ [1]. [6].
+
+ * syspwd.h:
+ [6].
+
+ * syssignal.h:
+ [1].
+
+ * systime.h:
+ [1]. [6].
+
+ * systty.h:
+ [1].
+
+ * syswindows.h:
+ [1].
+ Always define WIN32_LEAN_AND_MEAN.
+
+ * unexcw.c (unexec):
+ [5].
+
+ * unexec.c:
+ * unexec.c (copy_text_and_data):
+ * unexec.c (adjust_lnnoptrs):
+ [1].
+
+ * unexnt.c:
+ * unexnt.c (_start):
+ [1].
+
+2000-06-07 Ben Wing <ben@xemacs.org>
+
+ * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
+ was used only as a model. We've long since extracted any useful
+ logic or code out of this. (I just did an exhaustive search.)
+
+ * s\msdos.h: Removed.
+
+ * s\windows95.h: Removed.
+
+2000-06-10 Ben Wing <ben@xemacs.org>
+
+ * s\cygwin32.h:
+ [1]. [5].
+ Don't use extern with fun defs.
+
+ * s\mingw32.h:
+ [1]. [7].
+ Remove nt\inc include.
+ Remove getdisk, getdefdir. (The former is unused, the latter
+ expanded in fileio.h.)
+
+ * s\windowsnt.h:
+ * s\windowsnt.h (WIN32_NATIVE):
+ * s\windowsnt.h (HAVE_STRCASECMP):
+ [1]. [7].
+ Add long comment about preprocessor changes.
+ Remove getdisk, getdefdir. (The former is unused, the latter
+ expanded in fileio.h.)
+
+2000-06-10 Ben Wing <ben@xemacs.org>
+
+ * m\arm.h:
+ * m\delta.h:
+ * m\intel386.h:
+ * m\sequent.h:
+ * m\template.h:
+ * m\windowsnt.h:
+ [1].
+ Remove bogus/unused NO_SOCK_SIGIO.
+
+2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
+
+ * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
+ not an Emchar.
+
+2000-06-04 Mike Sperber <mike@xemacs.org>
+
+ * casetab.c (set_case_table): For `set-standard-case-table',
+ actually deposit the new case tables where the rest of XEmacs can
+ see them.
+
+2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * data.c (Faset): Don't cast XCHAR() to unsigned char.
+
+2000-06-05 Ben Wing <ben@xemacs.org>
+
+ * callproc.c (child_setup): Don't do close_load_descs() under
+ MS Windows. Put in a comment explaining why.
+
+2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
+
+ * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
+ Toolkit shell" which breaks `kill-compilation' on Windows NT
+ native, retaining STDERR handling improvements.
+
+2000-06-01 Andreas Jaeger <aj@suse.de>
+
+ * s/s390.h: Support for S390, based on a patch by Martin
+ Schwidefsky <schwidefsky@de.ibm.com>.
+
+2000-05-30 Andy Piper <andy@xemacs.org>
+
+ * window.c (allocate_window):
+ (make_dummy_parent):
+ (Fset_window_configuration): use new hashtable type.
+
+ * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
+ (struct image_instantiator_methods):
+ (struct Lisp_Image_Instance): make instance geometry signed.
+
+ * glyphs.c (instantiate_image_instantiator):
+ (image_instance_query_geometry):
+ (image_instance_layout):
+ (image_instance_layout):
+ (query_string_geometry):
+ (text_query_geometry):
+ (image_instantiate):
+ (image_instantiate):
+ (cache_subwindow_instance_in_frame_maybe):
+ (subwindow_query_geometry): make instance geometry signed.
+
+ * glyphs-widget.c (widget_query_geometry):
+ (widget_layout):
+ (button_query_geometry):
+ (tree_view_query_geometry):
+ (tab_control_query_geometry):
+ (layout_query_geometry):
+ (layout_layout):
+ (native_layout_layout): make instance geometry signed.
+
+2000-05-29 Olivier Galibert <galibert@pobox.com>
+
+ * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
+ constant.
+
+ * general.c (syms_of_general): Add Qfull_assoc symbol.
+
+ * data.c (finish_marking_weak_lists): Mark full-assoc lists
+ correctly.
+ (decode_weak_list_type): Decode full-assoc type.
+ (encode_weak_list_type): Encode full-assoc type.
+ (Fmake_weak_list): Update doc string.
+
+2000-05-30 Andy Piper <andy@xemacs.org>
+
+ * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
+
+ * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
+ (decode_hash_table_weakness): ditto.
+ (Fhash_table_weakness): ditto.
+ (Fhash_table_type): ditto.
+ (finish_marking_weak_hash_tables): ditto.
+ (hash_table_weakness_validate): ditto.
+ (syms_of_elhash): ditto.
+
+2000-05-28 Martin Buchholz <martin@xemacs.org>
+
+ * XEmacs 21.2.34 is released.
+
+2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
+
+ * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
+ start cache.
+ (updating_line_start_cache): Gone.
+ (regenerate_window): Replace resetting of VERTICAL_CLIP by
+ generic code to force a minimum of 1 line laid out in the
+ CMOTION_DISP case.
+
+2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
+
+ * glyphs.c (instantiate_image_instantiator): Check for initialized
+ height & width no longer special cases IMAGE_NOTHING.
+ (nothing_instantiate): Set height and width of instance.
+
+2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * unexelf.c (unexec): Search for ".data" section.
+ Initialize new_data2_offset from old_data_index.
+ Remove redundant check for ElfW.
+
+2000-05-23 Andy Piper <andy@xemacs.org>
+
+ * glyphs.c (get_image_instantiator_governing_domain): allow more
+ specific domains as the governing domain rather than expecting an
+ exact match. This fixes problems with layouts.
+
+2000-05-22 Andy Piper <andy@xemacs.org>
+
+ * redisplay-output.c (compare_runes): check for non-images
+
+ * glyphs.c (set_glyph_dirty_p): ditto.
+ (update_glyph_cachel_data): ditto.
+
+ * glyphs-widget.c (layout_post_instantiate): ditto.
+ (layout_post_instantiate): ditto.
+
+ * event-msw.c (mswindows_wnd_proc): warning removal.
+
+2000-05-12 Craig Lanning <CraigL@DyCon.com>
+
+ * s\mingw32.h: Added #undef for CLASH_DETECTION.
+
+ * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
+
+ * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
+
+ * nt.c (rva_to_section): mingw32 needs rva_to_section.
+ (mswindows_executable_type): mingw32 now has enough headers for
+ this to work.
+
+2000-05-20 Andy Piper <andy@xemacs.org>
+
+ * console-msw.c (mswindows_output_last_error): ; -> ,
+
+2000-05-12 Andy Piper <andy@xemacs.org>
+
+ * console-msw.c (FROB): compare ints with ints.
+
+2000-05-11 Andy Piper <andy@xemacs.org>
+
+ * glyphs-x.c (x_finalize_image_instance): make minimal build
+ happy.
+
+2000-05-20 Ben Wing <ben@xemacs.org>
+
+ * event-Xt.c:
+ * event-Xt.c (vars_of_event_Xt):
+ move modifier-keys-are-sticky to event-stream.c.
+
+ * event-msw.c:
+ * event-msw.c (mswindows_enqueue_mouse_button_event):
+ * event-msw.c (key_needs_default_processing_p):
+ * event-msw.c (XEMSW_LCONTROL):
+ * event-msw.c (mswindows_handle_sticky_modifiers):
+ * event-msw.c (FROB):
+ * event-msw.c (clear_sticky_modifiers):
+ * event-msw.c (output_modifier_keyboard_state):
+ * event-msw.c (output_alt_keyboard_state):
* event-msw.c (mswindows_wnd_proc):
- * event-msw.c (mswindows_need_event):
- * event-msw.c (mswindows_drain_windows_queue):
- * event-msw.c (mswindows_pump_outstanding_events):
+ * event-msw.c (mswindows_modifier_state):
+ * event-msw.c (emacs_mswindows_handle_magic_event):
+ implement sticky modifiers.
+
+ * event-stream.c:
+ * event-stream.c (vars_of_event_stream):
+ move modifier-keys-are-sticky here.
+
+ * lisp.h:
+ add CHECK_FUNCTION.
+
+ * rangetab.c:
+ implement map-range-table.
+
+
+2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * redisplay-tty.c (reset_tty_modes):
+ (tty_redisplay_shutdown): Adjust argument type to
+ tty_frame_output_end.
+
+2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * eval.c (Fbacktrace): Don't output a line with only right
+ parenthesis.
+
+2000-05-17 Kenji Itoh <keit@tpj.co.jp>
+
+ * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
+ (Fpq_reset_poll): Ditto.
+
+2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
+
+2000-05-16 Ben Wing <ben@xemacs.org>
+
+ * buffer.c:
+ * buffer.c (dfc_convert_to/from_internal_format):
+ * buffer.c (reinit_vars_of_buffer):
+ Fix conversion functions to allow reentrancy.
+
+ * console-msw.c:
+ * console-msw.c (mswindows_output_last_error):
+ New fun, generally useful -- output a human-readable
+ version of GetLastError() on the console.
+
+ * console-msw.h:
+ * console-msw.h (struct mswindows_frame):
+ Changes for DeferWindowPos. Declare mswindows_output_last_error().
+
+ * console-stream.c (stream_output_begin):
+ * console-stream.c (stream_output_end):
+ * console-stream.c (stream_output_vertical_divider):
+ * console-stream.c (stream_clear_region):
+ * console-stream.c (stream_flash):
+ * console-stream.c (console_type_create_stream):
+ Delete blank stream methods, not needed.
+
+ * console.h (struct console_methods):
+ Split begin/end methods into window and frame.
+
* event-msw.c:
- * event-msw.c (slurp_thread):
- * event-msw.c (struct ntpipe_slurp_stream):
- * event-msw.c (HANDLE_TO_USID):
- * event-Xt.c (emacs_Xt_handle_magic_event):
- * event-Xt.c (x_event_to_emacs_event):
- * event-Xt.c (x_reset_modifier_mapping):
- * event-Xt.c (x_reset_key_mapping):
- * event-Xt.c:
- * eval.c (syms_of_eval):
- * eval.c (warn_when_safe):
- * eval.c (warn_when_safe_lispobj):
- * eval.c (Fbacktrace_frame):
- * eval.c (Fbacktrace):
- * eval.c (top_level_set):
- * eval.c (unbind_to_hairy):
- * eval.c (specbind_magic):
- * eval.c (specbind_unwind_wasnt_local):
- * eval.c (call2_trapping_errors):
- * eval.c (call1_trapping_errors):
- * eval.c (catch_them_squirmers_call2):
- * eval.c (call0_trapping_errors):
- * eval.c (run_hook_trapping_errors):
- * eval.c (catch_them_squirmers_eval_in_buffer):
- * eval.c (call4_in_buffer):
- * eval.c (call3_in_buffer):
- * eval.c (call2_in_buffer):
- * eval.c (call1_in_buffer):
- * eval.c (call0_in_buffer):
- * eval.c (run_hook):
- * eval.c (run_hook_with_args_in_buffer):
- * eval.c (Fapply):
- * eval.c (Feval):
- * eval.c (do_autoload):
- * eval.c (un_autoload):
- * eval.c (Fautoload):
- * eval.c (Finteractive_p):
- * eval.c (Fcommand_execute):
- * eval.c (signal_quit):
- * eval.c (call_with_suspended_errors):
- * eval.c (signal_error):
- * eval.c (return_from_signal):
- * eval.c (Fcall_with_condition_handler):
- * eval.c (run_condition_case_handlers):
- * eval.c (condition_case_1):
- * eval.c (Funwind_protect):
- * eval.c (unwind_to_catch):
- * eval.c (internal_catch):
- * eval.c (Fmacroexpand_internal):
- * eval.c (Fuser_variable_p):
- * eval.c (Fdefconst):
- * eval.c (Fdefvar):
- * eval.c (Ffunction):
- * eval.c (signal_call_debugger):
- * eval.c (call_debugger):
- * eval.c:
+ * event-msw.c (mswindows_handle_paint):
+ * event-msw.c (output_alt_keyboard_state):
+ * event-msw.c (mswindows_wnd_proc):
+ * event-msw.c (vars_of_event_mswindows):
+ Comment about problems with ignored-expose.
+ Define mswindows-debug-events; not really implemented.
+
+ * frame-msw.c (mswindows_init_frame_1):
+ random cleanups.
+
+ * glyphs-msw.c:
+ * glyphs-msw.c (begin_defer_window_pos):
+ * glyphs-msw.c (mswindows_unmap_subwindow):
+ * glyphs-msw.c (mswindows_map_subwindow):
+ * glyphs-msw.c (mswindows_resize_subwindow):
+ Use DeferWindowPos to reduce flashing when mapping/unmapping.
+
+ * glyphs.c (make_image_instance_1):
+ Fix crash.
+
+ * gutter.c (Fredisplay_gutter_area):
+ Use new begin/end methods.
+
+ * lisp.h (Dynarr_new2):
+ New creation fun.
+
+ * redisplay-msw.c:
+ * redisplay-msw.c (mswindows_frame_output_begin):
+ * redisplay-msw.c (mswindows_frame_output_end):
+ * redisplay-msw.c (console_type_create_redisplay_mswindows):
+ New begin/end methods -- handle DeferWindowPos.
+
+ * redisplay-output.c (redisplay_move_cursor):
+ * redisplay-output.c (redraw_cursor_in_window):
+ * redisplay-output.c (redisplay_update_line):
+ * redisplay-output.c (redisplay_output_window):
+ New begin/end methods.
+
+ * redisplay-tty.c:
+ * redisplay-tty.c (tty_frame_output_begin):
+ * redisplay-tty.c (tty_frame_output_end):
+ * redisplay-tty.c (console_type_create_redisplay_tty):
+ New begin/end methods.
+
+ * redisplay-x.c:
+ * redisplay-x.c (x_window_output_begin):
+ * redisplay-x.c (x_window_output_end):
+ * redisplay-x.c (console_type_create_redisplay_x):
+ New begin/end methods.
+
+ * redisplay.c (redisplay_frame):
+ * redisplay.c (Fredisplay_echo_area):
+ New begin/end methods.
+ use MAYBE_DEVMETH for clear_frame; it may not exist.
+
+ * window.h (WINDOW_XFRAME):
+ WINDOW_XFOO macros -- get locale and decode struct pointer.
+
+
+2000-05-12 Ben Wing <ben@xemacs.org>
+
+ * emacs.c:
+ * emacs.c (ensure_no_quitting_from_now_on):
+ * emacs.c (fatal_error_signal):
+ * emacs.c (mswindows_handle_hardware_exceptions):
* emacs.c (main):
- * emacs.c (sort_args):
- * emacs.c (main_1):
- * elhash.h:
- * elhash.c:
- * editfns.c (Fencode_time):
- * editfns.c (Fdecode_time):
- * editfns.c (Fuser_full_name):
- * editfns.c:
- * editfns.c (save_excursion_restore):
- * ecrt0.c:
- * dynarr.c:
- * doprnt.c (emacs_doprnt_1):
- * doc.c (verify_doc_mapper):
- * doc.c (Fsnarf_documentation):
- * doc.c (Fdocumentation):
- * dll.c:
- * dired.c (user_name_completion):
- * dired.c (Fdirectory_files):
- * dialog-x.c:
- * dialog-msw.c:
- * dgif_lib.c (FreeSavedImages):
- * dgif_lib.c (DGifGetImageDesc):
+ * emacs.c (Fkill_emacs):
+ * emacs.c (shut_down_emacs):
+ * emacs.c (assert_failed):
+ various improvements in fatal error handling.
+
+ * eval.c:
+ move preparing_for_armageddon to emacs.c.
+
+ * lisp.h:
+ declare fatal_error_in_progress.
+
+ * print.c:
+ * print.c (std_handle_out_external):
+ * print.c (std_handle_out_va):
+ * print.c (stderr_out):
+ * print.c (stdout_out):
+ use console under mswin when no standard output.
+ don't do code conversion during fatal error.
+
+ * scrollbar.c (Fscrollbar_page_up):
+ * scrollbar.c (Fscrollbar_page_down):
+ fix missing else. reindent.
+
+2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
+
+ Emergency fix.
+
+ * glyphs.h (GLYPH_CACHEL_DESCENT):
+ (GLYPH_CACHEL_DESCENT):
+ (GLYPH_CACHEL_DESCENT):
+ * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
+ used in case these are inline functions.
+ Use more absurd values to error check.
+
+ include window.h for error check functions.
+
+2000-05-11 Ben Wing <ben@xemacs.org>
+
+ * cmdloop.c (Freally_early_error_handler):
+ Display message box under windows; otherwise, message will disappear
+ before it can be viewed.
+
+ * console-msw.c:
+ * console-msw.c (Fmswindows_message_box):
+ * console-msw.c (FROB):
+ * console-msw.c (syms_of_console_mswindows):
+ Define new fun `mswindows-message-box'.
+ #### I will merge this into `popup-dialog-box'; just give me
+ a bit of time.
+
+ * general.c:
+ * general.c (syms_of_general):
+ Some new symbols used in `mswindows-message-box'.
+
+ * glyphs.c:
+ * glyphs.c (Fset_image_instance_property):
+ put warning in this fun.
+
+ * glyphs.h:
+ * glyphs.h (GLYPH_CACHEL_WIDTH):
+ * glyphs.h (GLYPH_CACHEL_ASCENT):
+ * glyphs.h (GLYPH_CACHEL):
+ * glyphs.h (GLYPH_CACHEL_GLYPH):
+ define error-checking versions to try to catch a bug i've seen --
+ redisplay gets in an infinite loop because the glyph width of the
+ continuation glyph is 65535.
+
+ * lisp.h:
+ Extern message-box stuff.
+
+ * window.c (allocate_window):
+ * window.c (make_dummy_parent):
+ * window.c (Fset_window_configuration):
+ Use EQUAL not EQ for subwindow caches to make them work a bit
+ better. (Something is still very broken.)
+
+
+2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * glyphs.c (image_instantiate): Suppress gcc warnings.
+ (Fmake_image_instance): Fix doc string.
+ * specifier.c (Fmake_specifier): Ditto.
+
+2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * paths.h.in (PATH_LOCK): Removed.
+ * config.h.in (LOCKDIR_USER_DEFINED): Removed.
+ * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
+
+2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * fns.c (Ffeaturep): Update e-mail address in doc-string.
+ Document (featurep '(and xemacs 21.02)).
+
+2000-05-09 Ben Wing <ben@xemacs.org>
+
+ * buffer.c (complex_vars_of_buffer):
+ update modeline-format doc.
+
* device.h:
- * device.h (struct device):
- * device.c (Fselect_device):
- * device.c (allocate_device):
- * device.c:
- * device-x.c (Fx_keysym_on_keyboard_p):
- * device-x.c (Fx_valid_keysym_name_p):
- * device-x.c (x_IO_error_handler):
- * device-x.c (x_delete_device):
- * device-x.c (x_finish_init_device):
- * device-x.c (x_init_device):
- * device-x.c:
- * device-msw.c (mswindows_init_device):
- * dbxrc:
- * database.c (vars_of_database):
- * database.c (Fput_database):
- * database.c (Fopen_database):
- * database.c (berkdb_remove):
- * database.c (berkdb_put):
- * database.c (Fdatabasep):
- * database.c (print_database):
- * database.c:
- * data.c (vars_of_data):
- * data.c (syms_of_data):
- * data.c (init_errors_once_early):
- * data.c (prune_weak_lists):
- * data.c (finish_marking_weak_lists):
- * data.c (print_weak_list):
- * data.c (Fmod):
- * data.c (Fstring_to_number):
- * data.c (Fnumber_to_string):
- * data.c (Findirect_function):
- * data.c (Fsetcdr):
- * data.c (Ffloatp):
- * data.c (Fsubr_interactive):
- * data.c (Farrayp):
- * data.c (Fkeywordp):
- * data.c (Fnull):
- * data.c:
- * console.h (CONSOLE_NAME):
- * console.h:
- * console.c (vars_of_console):
- * console.c (Fselect_console):
- * console.c:
- * console-x.h (DEVICE_X_COLORMAP):
- * console-x.h (struct x_device):
- * console-x.c (x_device_to_console_connection):
- * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
- * console-tty.c (tty_init_console):
- * console-tty.c:
- * console-msw.h (struct mswindows_frame):
- * conslots.h:
- * config.h.in:
- * cmds.c (internal_self_insert):
- * cmds.c (Fforward_line):
- * cmds.c (Fforward_char):
- * cmds.c:
- * cmdloop.c:
- * chartab.c (mark_char_table_entry):
- * chartab.c:
- * casefiddle.c (casify_word):
- * callproc.c (child_setup):
- * callproc.c (Fcall_process_internal):
- * callproc.c:
- * callint.c (Fcall_interactively):
- * bytecode.h:
- * bytecode.c (execute_rare_opcode):
- * bytecode.c (execute_optimized_program):
- * bytecode.c:
- * bufslots.h:
- * buffer.h (BUFFER_REALLOC):
- * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
- * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
+ comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
+
+ * emacs.c:
+ timeline of all released versions of Emacs, for use in creating
+ authorship comments and in synching up.
+
+ * glyphs-widget.c (image_instantiator_buttons):
+ * glyphs-widget.c (image_instantiator_edit_fields):
+ * glyphs-widget.c (image_instantiator_combo_box):
+ * glyphs-widget.c (image_instantiator_scrollbar):
+ * glyphs-widget.c (image_instantiator_progress_guage):
+ * glyphs-widget.c (image_instantiator_tree_view):
+ * glyphs-widget.c (image_instantiator_tab_control):
+ * glyphs-widget.c (image_instantiator_labels):
+ * glyphs-widget.c (image_instantiator_layout):
+ * glyphs-widget.c (image_instantiator_native_layout):
+ rename decode_domain method to governing_domain.
+
+ * glyphs.c:
+ * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
+ * glyphs.c (add_entry_to_device_ii_format_list):
+ make sure we don't put an entry more than once into the list.
+ * glyphs.c (check_instance_cache_mapper):
+ *************************************************************
+ allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
+ HAVE BEEN GETTING.
+ *************************************************************
+ * glyphs.c (get_image_instantiator_governing_domain):
+ clean up, expand on new concept of governing domain.
+ * glyphs.c (instantiate_image_instantiator):
+ * glyphs.c (allocate_image_instance):
+ use governing_domain instead of cache_domain in naming.
+ * glyphs.c (Fvalid_image_instance_type_p): fix docs.
+ * glyphs.c (make_image_instance_1):
+ * glyphs.c (Fmake_image_instance):
+ allow for any domain (not just device), and process the
+ governing domain correctly. very big doc fix.
+ * glyphs.c (Fimage_instance_domain):
+ new primitive, to retrieve the governing domain of an image instance.
+ * glyphs.c (image_instantiate):
+ use new governing_domain stuff. this fixes a crash you could get
+ by instantiating certain widget glyphs in frame locales. (should
+ signal an error instead of crashing.)
+ * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
+ * glyphs.c (Fglyphp): clean up doc.
+ * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
+ * glyphs.c (syms_of_glyphs):
+ declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
+ * glyphs.c (image_instantiator_format_create): add some comments about
+ bogus code.
+ * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
+ for current-display-table. (Apparently Hrjove implemented in 1998 a
+ design I wrote up in 1996, but didn't update the doc string.)
+
+ * glyphs.h: clean up a doc string.
+ * glyphs.h (governing_domain):
+ * glyphs.h (struct image_instantiator_methods):
+ changes for governing_domain stuff.
+
+ * gutter.c:
+ * gutter.c (Fgutter_specifier_p):
+ * gutter.c (Fgutter_size_specifier_p):
+ * gutter.c (Fgutter_visible_specifier_p):
+ * objects.c:
+ * objects.c (Fcolor_specifier_p):
+ * objects.c (Ffont_specifier_p):
+ * objects.c (Fface_boolean_specifier_p):
+ doc strings moved to make-*-specifier.
+
+ * redisplay.c (add_disp_table_entry_runes_1):
+ * redisplay.c (generate_fstring_runes):
+ * redisplay.c (screen):
+ add random comments and doc strings.
+
+ * specifier.c:
+ * specifier.c (Fmake_specifier):
+ major overhaul of this doc string.
+
+ * specifier.c (Fvalid_specifier_domain_p):
+ comment about the bogosity of image instances being domains.
+ * specifier.c (decode_domain):
+ now non-static, used in glyphs.c.
+ * specifier.c (specifier_instance):
+ comment about the bogosity of image instances being domains.
+ * specifier.c (Fgeneric_specifier_p):
+ move doc string to make-generic-specifier.
+ * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
+ rebackslashify.
+
+ * specifier.h:
+ * specifier.h (DOMAIN_FRAME):
+ * specifier.h (DOMAIN_LIVE_P):
+ * specifier.h (DOMAIN_XDEVICE):
+ rebackslashify.
+ add comments about problems with these macros.
+ prototype for decode_domain.
+
+ * toolbar.c:
+ * toolbar.c (Ftoolbar_specifier_p):
+ move doc string to `make-toolbar-specifier'.
+
+ * window.c (window_unmap_subwindows_cache_mapper):
+ *************************************************************
+ allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
+ HAVE BEEN GETTING.
+ *************************************************************
+
+2000-05-09 Andy Piper <andy@xemacs.org>
+
+ * glyphs.h: declare reset_frame_subwindow_instance_cache.
+
+ * window.c (Fset_window_configuration): reset the frame subwindow
+ cache and re-initialize the window subwindow caches.
+
+ * glyphs.c (reset_frame_subwindow_instance_cache): new function.
+
+2000-05-09 Ben Wing <ben@xemacs.org>
+
+ * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
+ DWORD.
+
+2000-04-26 Mike Woolley <mike@bulsara.com>
+
+ * ntheap.c: Changed recreate_heap to limit the amount reserved
+ for the heap to that which is actually available. Also now
+ displays a message box (with some dignostics) in the event that
+ it still can't start.
+
+2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
+
+ * callproc.c (Fold_call_process_internal): GCPRO path
+
+2000-05-08 Jan Vroonhof <jan@xemacs.org>
+
+ Patch by Bill Perry.
+
+ * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
+ back data instead of #ifdef.
+ (Fscrollbar_page_down): ditto.
+
+2000-05-07 Ben Wing <ben@xemacs.org>
+
* buffer.h:
- * buffer.h (MAP_INDIRECT_BUFFERS):
- * buffer.h (CHECK_LIVE_BUFFER):
- * buffer.c (init_initial_directory):
- * buffer.c (complex_vars_of_buffer):
- * buffer.c (vars_of_buffer):
- * buffer.c (finish_init_buffer):
- * buffer.c (Fget_file_buffer):
- * buffer.c (Fbuffer_list):
- * buffer.c (mark_buffer):
- * balloon_help.c (balloon_help_move_to_pointer):
- * balloon_help.c (show_help):
- * balloon_help.c:
- * backtrace.h:
- * alloc.c (garbage_collect_1):
- * alloc.c (sweep_strings):
- * alloc.c (sweep_compiled_functions):
- * alloc.c (sweep_bit_vectors_1):
- * alloc.c (sweep_vectors_1):
- * alloc.c (sweep_lcrecords_1):
- * alloc.c (tick_lcrecord_stats):
- * alloc.c (pure_string_sizeof):
- * alloc.c (mark_conses_in_list):
- * alloc.c (mark_object):
- * alloc.c (report_pure_usage):
- * alloc.c (make_pure_float):
- * alloc.c (make_pure_string):
- * alloc.c (free_managed_lcrecord):
- * alloc.c (mark_string):
- * alloc.c (noseeum_make_marker):
- * alloc.c (allocate_event):
- * alloc.c (Fbit_vector):
- * alloc.c (Fvector):
- * alloc.c (make_float):
- * alloc.c (Fmake_list):
- * alloc.c (Flist):
- * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
- * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
- * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
- * alloc.c (dbg_constants):
- * alloc.c (gc_record_type_p):
- * alloc.c (free_lcrecord):
- * alloc.c (xmalloc):
- * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
- * abbrev.c:
- * Makefile.in.in (mostlyclean):
- * Makefile.in.in (external_client_xlib_objs_nonshared):
- * Makefile.in.in (temacs_link_args):
- * Makefile.in.in (release):
- * Makefile.in.in (dnd_objs):
- * Makefile.in.in (objs):
- * Makefile.in.in (PROGNAME):
- * EmacsShell.c: cast strings to (XtPointer)
- * EmacsFrame.c: cast strings to (XtPointer)
- - mega patch
- - rewrite basic lisp functions for speed
- - rewrite bytecode interpreter for speed
- - rewrite list looping constructs for speed and safety using
- tortoise/hare.
- - use size_t where appropriate.
- - new hashtable implementation
- - cleanup implementation of opaques
- - opaques can now be purecopy'ed
- - move some cl functionality into C for speed.
- - remove last remaining VMS support
- - spelling fixes
- - improve gdb/dbx debugger support
- - move pure.c back into alloc.c for performance
- - enable report_pure_usage() if --memory-usage-stats
- - remove remnants of Energize support (EMACS_BTL, cadillac...)
- - don't use symbols with leading `_' or embedded `__'
- - globally cleanup duplicated semicolons `;;'
- - I give in on %p vs %lx - we use printf("%lx",(long) p)
- globally.
- - globally replace O_NDELAY with O_NONBLOCK.
- - globally replace CDISABLE with _POSIX_VDISABLE.
- - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
- - define (and maybe use!) STDERR_FILENO and friends.
- - add support for macros defined in C
- - `when', `unless', `not' and `defalias' now defined in C,
- so that they are universally available.
- - rename defvar_mumble to defvar_magic
- - rename RETURN__ to RETURN_SANS_WARNINGS
- - use consistent style of initial caps in error messages
- - implement last, butlast, nbutlast, copy-list in C.
- - provide typedefs for all struct Lisp_foo types
- - Lisp_Objects must be initialized to Qnil rather than 0.
- - make sure XEmacs runs (slowly) with always_gc == 1;
- - fast and safe LOOP_* macros
- - change calls to XSETOBJ to XSETFOO
- - replace calls to XSETINT by make_int()
- - plug up memory leaks
- - use style markobj (foo), not silly ((markobj) (foo))
- - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
-
-1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
+ Kludge for defining Qmswindows_tstr.
+
+ * nt.c:
+ * nt.c (open_input_file):
+ * nt.c (open_output_file):
+ * nt.c (rva_to_section):
+ * nt.c (mswindows_executable_type):
+ Move all memory-mapped-file routines here (some were in unexnt.c,
+ which is bad because they are used by process-nt.c, and unexnt
+ won't be around when portable dumping). Synched the above routines
+ with FSF 20.6.
+
+ * nt.h:
+ Removed ifdef'd out bogus code.
+ Fixed some prototypes.
+
+ * nt.h (file_data):
+ * nt.h (OFFSET_TO_RVA):
+ * nt.h (RVA_TO_OFFSET):
+ * nt.h (RVA_TO_PTR):
+ Moved the memory-mapped-file structures, macros and prototypes
+ here, to parallel nt.c. ntheap.h should really be removed
+ entirely, and it's a non-portable-dumper specific file.
+
+ * ntheap.h (round_to_next):
+ Moved the memory-mapped-file structures, macros and prototypes
+ to nt.h.
+
+ * ntproc.c (compare_env):
+ Moved rva_to_section and mswindows_executable_type to nt.c.
+ Moved compare_env to process-nt.c.
+ ntproc.c will die, one day.
- * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
+ * ntproc.c (sys_spawnve):
+ Account for win32_ -> mswindows_.
-1998-11-28 SL Baur <steve@altair.xemacs.org>
+ * process-nt.c:
+ * process-nt.c (struct nt_process_data):
+ * process-nt.c (ensure_console_window_exists):
+ * process-nt.c (compare_env):
+ * process-nt.c (nt_create_process):
+ * process-nt.c (nt_kill_process_by_pid):
+ * process-nt.c (syms_of_process_nt):
+ * process-nt.c (vars_of_process_nt):
+ Introduce variable `mswindows-quote-process-args', from FSF 20.6.
+ Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
+ changes). Eliminate our old `nt-quote-process-args' mechanism.
+ Synch up nt_create_process with FSF 20.6 sys_spawnve.
+ Move compare_env here from ntproc.c.
+
+ * process.c (Fprocess_send_region):
+ Takes an optional fourth argument, BUFFER, which should fix some
+ problems with call-process.
+
+ * syscommctrl.h:
+ Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
+
+ * syswindows.h:
+ Move ICC_BAR_CLASSES to syscommctrl.h.
+ Add preliminary macros for MSWindows/Mule. More to come.
- * XEmacs 21.2-beta4 is released.
+ * unexnt.c:
+ * unexnt.c (unexec):
+ open_output_file moved to nt.c.
-1998-11-27 SL Baur <steve@altair.xemacs.org>
- * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
- property in control-1 charset.
- From Julian Bradfield <jcb@daimi.au.dk>
+2000-05-05 Andy Piper <andy@xemacs.org>
-1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
+ * window.c (window_unmap_subwindows_cache_mapper): remove the dead
+ instance from the frame cache also since GC may catch up too late
+ to make frame deletion sane.
- * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
- keyword.
- Add stub for :label.
+2000-05-04 Andy Piper <andy@xemacs.org>
- * gui.c (gui_item_add_keyval_pair): ditto.
+ * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
+ (x_finalize_image_instance): ungcpro on deletion.
- * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
- :key-sequence keyword.
- Add stub for:label.
- Support :active for submenus like the Windows code and FSF Emacs.
+ * glyphs.c (image_instantiator_format_create): give pointers a
+ query geometry method so that the geometry is at least set.
-1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
+ * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
+ initialize layouts if using widgets.
- * dired.c (make_directory_hash_table): make_string() is OK because
- readdir() Mule-encapsulates.
+2000-05-03 Andy Piper <andy@xemacs.org>
-1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
+ * nt.c: remove bogus reference to sysmmsystem.h
- * fns.c (Fbase64_encode_string): Fix docstring.
- (Fbase64_decode_string): Ditto.
+ * gui-x.c (popup_selection_callback): fix no selection abort.
-1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
+2000-05-02 Andy Piper <andy@xemacs.org>
- * editfns.c (Ftranslate_region): Use
- convert_bufbyte_string_into_emchar_string().
+ * glyphs-msw.c (mswindows_update_widget): cope with nil text.
+ (mswindows_widget_instantiate): ditto.
-1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
+ * glyphs-widget.c (initialize_widget_image_instance): initialize
+ children correctly.
+ (widget_instantiate): cope with children and items in the same
+ instance.
- * editfns.c (Ftranslate_region): Accept vectors and char-tables as
- well as strings.
- (Ftranslate_region): Turn table into an array of Emchars for
- larger regions.
+ * glyphs.c (mark_image_instance): cope with children as a first
+ class member.
+ (image_instance_equal): ditto.
+ (image_instance_hash): ditto.
+ (image_instance_changed): ditto.
+
+2000-04-30 Andy Piper <andy@xemacs.org>
+
+ * glyphs.c (subwindow_query_geometry): new function. Return some
+ defaults.
+ (subwindow_instantiate): don't assign dimensions if none have been
+ given.
+ (image_instantiator_format_create): add subwindow_query_geometry.
+ (print_image_instance): cope with layouts as widgets.
+
+2000-04-29 Andy Piper <andy@xemacs.org>
+
+ * frame.c (delete_frame_internal): call
+ free_frame_subwindow_instance_cache so that all subwindows are
+ finalized before their parent.
+ (mark_frame): remove subwindow_cachels.
+ (Fmake_frame): remove subwindow_cachel manipulation.
+ (allocate_frame_core): subwindow_instance_cache is a weak list.
+ (delete_frame_internal): set subwindow_instance_cache to nil.
+
+ * glyphs-msw.c (mswindows_finalize_image_instance): make double
+ finalization safe.
+ (mswindows_finalize_image_instance): use the device
+ not the domain as the domain may have died already.
+
+ * glyphs-x.c (x_finalize_image_instance): ditto.
+ (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
+ HEIGHT.
+
+ * redisplay-output.c (redisplay_unmap_subwindows): update for
+ subwindow instance cache as a weak list.
+ (redisplay_unmap_subwindows_maybe): ditto.
+ (redisplay_unmap_subwindows_except_us): ditto.
+
+ * glyphs.c (unmap_subwindow): error checking will check the domain
+ so don't deal with it here. Don't use cachels anymore.
+ (map_subwindow): ditto.
+ (update_subwindow_cachel_data): remove old accessor names.
+ (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
+ (Fresize_subwindow): don't update cachel.
+ (mark_subwindow_cachels):
+ (update_subwindow_cachel_data):
+ (add_subwindow_cachel):
+ (get_subwindow_cachel_index):
+ (update_subwindow_cachel):
+ (reset_subwindow_cachels):
+ (mark_subwindow_cachels_as_not_updated): deleted.
+ (cache_subwindow_instance_in_frame_maybe): new function. Add a
+ subwindow instance to the frame cache.
+ (find_matching_subwindow): update for subwindow instance cache as
+ a weak list.
+ (update_widget_instances): ditto.
+ (image_instance_type_to_mask):inlined.
+ (free_frame_subwindow_instance_cache): new function. finalize all
+ subwindows that are instantiated.
+
+ * glyphs.h (struct Lisp_Image_Instance): add display_data instead
+ of cachel information.
+ (IMAGE_INSTANCE_DISPLAY_X):
+ (IMAGE_INSTANCE_DISPLAY_Y):
+ (IMAGE_INSTANCE_DISPLAY_WIDTH):
+ (IMAGE_INSTANCE_DISPLAY_HEIGHT):
+ (XIMAGE_INSTANCE_DISPLAY_X):
+ (XIMAGE_INSTANCE_DISPLAY_Y):
+ (XIMAGE_INSTANCE_DISPLAY_WIDTH):
+ (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
+ remove subwindow_cachel structure and function references.
+ (image_instance_type_to_mask): inline from glyphs.c
+
+ * redisplay.c (redisplay_frame): remove subwindow_cachel
+ references.
+
+ * frame.h (struct frame): remove subwindow_cachels.
+ (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
+
+ * frameslots.h: add subwindow_instance_cache.
+
+ * window.c (replace_window): check subwindow cache of replacement.
+ (window_unmap_subwindows_cache_mapper):
+ (window_unmap_subwindows): new functions. Unmap all subwindows
+ cached on this window.
+ (mark_window_as_deleted): unmap all subwindows.
+
+2000-04-27 Andy Piper <andy@xemacs.org>
+
+ * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
+
+ * glyphs-widget.c (widget_layout): return something.
+ (layout_layout): return something. Fail if not initialized.
+ (layout_query_geometry): ditto.
+ (image_instantiator_native_layout): new function. Initialized the
+ native layout type.
+ (widget_instantiate): don't do layout stuff here.
+
+ * glyphs.c (instantiate_image_instantiator): reorded calling or
+ instantiate and post_instantiate with layout in between.
+ (image_instance_layout): be more selective about deciding whether
+ the layout has been done or not.
+
+ * glyphs.h (struct image_instantiator_methods): return a value
+ from layout_method.
+
+2000-04-26 Andy Piper <andy@xemacs.org>
+
+ * glyphs.c (allocate_image_instance): make initial width and
+ height unspecified. Set initialized to 0.
+
+ * syscommctrl.h new file. Encapsulates commctrl.h.
+
+ * syswindows.h new file. Encapsulates windows.h.
+
+ * ntplay.c: use new syswindows.h and syscommctrl.h header.
+ * nt.c: ditto.
+ * console-msw.h: ditto.
+
+ * redisplay-tty.c (tty_output_display_block): remove layout references.
+
+ * glyphs-msw.c (mswindows_widget_instantiate): use the domain
+ window handle rather than just the frame.
+
+ * glyphs.c (mark_image_instance): remove layout references.
+ (print_image_instance): ditto.
+ (image_instance_equal): ditto.
+ (image_instance_hash): ditto.
+ (decode_image_instance_type): ditto.
+ (encode_image_instance_type): ditto.
+ (image_instantiate): ditto.
+ (allocate_glyph): ditto.
+ (Fimage_instance_height): ditto.
+ (Fimage_instance_width): ditto.
+ (update_subwindow): ditto.
+
+ * redisplay-x.c (x_output_display_block): recode for layouts as
+ widgets.
+
+ * redisplay-output.c (redisplay_output_layout): recode for layouts
+ as widgets.
+ (compare_runes): remove layout references.
+
+ * redisplay-msw.c (mswindows_output_display_block): recode for
+ layouts as widgets.
+
+ * glyphs-widget.c (image_instantiator_layout): remove
+ layout_possible_dest_types.
+ (layout_possible_dest_types): deleted.
+
+ * glyphs.h (image_instance_type): remove layout references.
+ (struct Lisp_Image_Instance): ditto. Add initialized flag.
+ (IMAGE_INSTANCE_INITIALIZED): new accessor.
+ (XIMAGE_INSTANCE_INITIALIZED): ditto.
+
+2000-04-25 Andy Piper <andy@xemacs.org>
+
+ * glyphs-widget.c (image_instantiator_buttons):
+ (image_instantiator_edit_fields):
+ (image_instantiator_combo_box):
+ (image_instantiator_scrollbar):
+ (image_instantiator_progress_guage):
+ (image_instantiator_tree_view):
+ (image_instantiator_tab_control):
+ (image_instantiator_labels):
+ (image_instantiator_layout): call default post_instantiate method.
+ (widget_post_instantiate): new function. Simply lays out the
+ widgets.
+
+ * glyphs.h (struct image_instantiator_methods): add
+ post_instantiate method.
+
+ * glyphs.c (instantiate_image_instantiator): add post_instantiate
+ method calls.
+
+2000-04-23 Andy Piper <andy@xemacs.org>
+
+ * glyphs.h (struct image_instantiator_methods): add
+ decode_domain_method.
+ (struct Lisp_Image_Instance): remove subwindow frame - it can be
+ derived from the domain.
+ (IMAGE_INSTANCE_FRAME): new accessor.
+ (XIMAGE_INSTANCE_FRAME): ditto.
+
+ * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
+ instead of _SUBWINDOW_FRAME.
+ (finalize_image_instance): ditto.
+ (Fimage_instance_foreground): ditto.
+ (Fimage_instance_background): ditto.
+ (image_instantiate): ditto.
+ (update_subwindow_cachel): ditto.
+ (update_subwindow): ditto.
+ (unmap_subwindow): ditto.
+ (map_subwindow): ditto
+ (subwindow_instantiate): ditto.
+ * glyphs-msw.c (mswindows_update_widget): ditto.
+ (mswindows_progress_gauge_instantiate): ditto.
+ (mswindows_tab_control_update): ditto.
+ * glyphs-x.c (x_update_widget): ditto.
+ (x_widget_instantiate): ditto.
+ (x_tab_control_instantiate): ditto.
+ (x_tab_control_update): ditto.
+ * event-msw.c (mswindows_wnd_proc): ditto
+
+ * glyphs-widget.c (image_instantiator_layout): use
+ subwindow_decode_domain.
+ (image_instantiator_buttons): ditto.
+ (image_instantiator_edit_fields): ditto.
+ (image_instantiator_combo_box): ditto.
+ (image_instantiator_scrollbar): ditto.
+ (image_instantiator_progress_guage): ditto.
+ (image_instantiator_tree_view): ditto.
+ (image_instantiator_tab_control): ditto.
+ (image_instantiator_labels): ditto.
+ (image_instantiator_layout): ditto.
+
+ * glyphs.c: add instance error checking to many functions.
+ (instantiate_image_instantiator): decode device from cache_domain.
+ (image_instantiate): partially rewrite by using
+ decode_image_instantiator_domain to determine what domain the
+ instance needs to be cached in.
+ (decode_image_instantiator_domain): new function. Determine what
+ domain the image needs to be cached in.
+ (check_window_subwindow_cache): new error checking function.
+ (check_instance_cache_mapper): ditto.
+ (check_image_instance_structure): ditto.
+ (subwindow_decode_domain): new function. Encodes a window as a
+ subwindow's cache domain.
+ (image_instantiator_format_create): use it for text and
+ subwindows.
+
+2000-04-21 Andy Piper <andy@xemacs.org>
+
+ * glyphs.c (image_instance_device): new function.
+ (image_instance_frame): new function.
+ (image_instance_window): new function.
+ (image_instance_live_p): new function.
+
+ * window.c (mark_window_as_deleted): reset the subwindow_instance_
+ cache to nil.
+
+ * glyphs.h (struct Lisp_Image_Instance): device->domain.
+ (IMAGE_INSTANCE_DOMAIN): new accessor.
+ (XIMAGE_INSTANCE_DOMAIN): ditto.
+
+ * glyphs-x.c (x_finalize_image_instance): device->domain.
+
+ * glyphs-msw.c (init_image_instance_geometry): device->domain.
+ (mswindows_finalize_image_instance): ditto.
+
+ * glyphs-eimage.c (jpeg_instantiate): device->domain.
+ (gif_instantiate): ditto.
+ (png_instantiate): ditto.
+ (tiff_instantiate): ditto.
+
+ * glyphs.c (instantiate_image_instantiator): use domain rather
+ than device.
+ (mark_image_instance): device -> domain.
+ (print_image_instance): ditto.
+ (finalize_image_instance): ditto.
+ (image_instance_equal): ditto.
+ (allocate_image_instance): ditto.
+ (Fcolorize_image_instance): ditto.
+ (query_string_geometry): ditto.
+ (image_instantiate): ditto
+ (query_string_font): ditto.
+ (image_instantiate): ditto.
+ (update_subwindow): ditto.
+ (unmap_subwindow): ditto.
+ (map_subwindow): ditto.
+ (subwindow_instantiate): ditto.
-1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
+ * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
+ (DOMAIN_FRAME): ditto.
+ (DOMAIN_WINDOW): ditto.
+ (DOMAIN_LIVE_P): ditto.
+ (XDOMAIN_DEVICE): ditto.
+ (XDOMAIN_FRAME): ditto.
+ (XDOMAIN_WINDOW): ditto.
- * chartab.c (Freset_char_table): Fix wrong placement of #endif.
+ * specifier.c (Fvalid_specifier_domain_p): add image instances as
+ a valid specifier domain.
-1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
+2000-04-19 Andy Piper <andy@xemacs.org>
- * chartab.c (Freset_char_table): Don't blindly fill chartables of
- type `char' with nils.
+ * glyphs-widget.c (syms_of_glyphs_widget): remove
+ widget-callback-current-channel.
+ (vars_of_glyphs_widget): ditto.
+ * glyphs.h: ditto
- * chartab.c (canonicalize_char_table_value): Coerce ints to chars
- for tables of type `char'.
+ * gui.c (get_gui_callback): revert to previous behaviour.
-1998-11-26 Didier Verna <verna@inf.enst.fr>
+2000-04-18 Andy Piper <andy@xemacs.org>
- * input-method-xlib.c (Initialize_Locale): don't call
- XtSetLanguageProc. We've done the whole work here.
- * input-method-xfs.c (Initialize_Locale): ditto.
- * input-method-motif.c (Initialize_Locale): ditto.
+ * glyphs.h (struct Lisp_Image_Instance): add margin_width.
+ (IMAGE_INSTANCE_MARGIN_WIDTH): new.
+ (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
-1998-11-26 Didier Verna <verna@inf.enst.fr>
+ * glyphs.c (image_instance_equal): add margin_width.
+ (image_instance_hash): ditto.
- * process-unix.c (unix_create_process): handle properly
- Vfile_name_coding_system for converting the program and directory
- names.
+ * glyphs-widget.c (widget_instantiate): deal with margin-width.
+ (layout_query_geometry): ditto.
+ (layout_layout): ditto.
+ (syms_of_glyphs_widget): add margin-width.
+ (image_instantiator_layout): allow margin-width.
-1998-11-27 SL Baur <steve@altair.xemacs.org>
+ * glyphs.c (update_widget_instances): make a normal function.
+ (syms_of_glyphs): remove Qupdate_widget_instances.
+ * glyphs.h: ditto.
- * m/arm.h: New file.
- From James LewisMoss <dres@ioa.com>
+ * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
+ so that we don't corrupt ideas about the last event or
+ command. Remove widget-callback-current-channel fiddling.
+ * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
-1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
+2000-05-01 Martin Buchholz <martin@xemacs.org>
- * m/mips-nec.h:
- Fix the realpath() problem of UnixWare2.1.3.
- Patches for NEC's sysv4.2 machine.
+ * XEmacs 21.2.33 is released.
-1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
+2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
- * dired.c (Fdirectory_files): Remove redundant code.
+ * make-src-depend: Allow dots in header file name.
-1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
+2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
- * fns.c (free_malloced_ptr): New function.
- (XMALLOC_OR_ALLOCA): New macro.
- (XMALLOC_UNBIND): Ditto.
- (Fbase64_encode_region): Use malloc() for large blocks; arrange it
- to be freed in case of non-local exit.
- (Fbase64_encode_string): Ditto.
- (Fbase64_decode_region): Ditto.
- (Fbase64_decode_string): Ditto.
- (STORE_BYTE): New macro.
- (base64_decode_1): Use it.
+ * mule-charset.h (struct charset_lookup): Add
+ next_allocated_1_byte_leading_byte and
+ next_allocated_2_byte_leading_byte.
+ * mule-charset.c: Move above two variables so that those values
+ will be dumped.
-1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
+2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
- * fns.c (base64_value_to_char): Base64 stuff.
+ * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
+ when string length is zero.
+ (find_charsets_in_emchar_string): Ditto.
-1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
+2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
- * editfns.c (Fbuffer_substring): New function.
+ * lisp.h: extern Qdialog and Qmenubar.
- * lisp.h: Declare make_string_from_buffer_no_extents().
+ * gui-x.c: added events.h.
+ also fixed typo which made the file uncompilable.
- * insdel.c (make_string_from_buffer_1): New function.
- (make_string_from_buffer_no_extents): Ditto.
+ * general.c: Added Qmenubar and Qdialog
-1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
+2000-04-28 Ben Wing <ben@xemacs.org>
- * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
- sound work on AIX with OSS installed. Linux should still work.
+ * frame-msw.c (mswindows_init_frame_1):
+ * frame-msw.c (mswindows_mark_frame):
+ * event-msw.c (mswindows_enqueue_dispatch_event):
+ * console-msw.h:
+ * console-msw.h (struct mswindows_frame):
+ * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
+ there are now three hash tables for callbacks.
+ mswindows_enqueue_dispatch_event is no longer static.
-1998-11-03 Andy Piper <andyp@parallax.co.uk>
+ * dialog-x.c (maybe_run_dbox_text_callback):
+ * dialog-x.c (dbox_descriptor_to_widget_value):
+ switch to new cons3 form for callbacks.
- * config.h.in: name change for cygwin/version.h
+ * glyphs-msw.c (mswindows_register_gui_item):
+ * glyphs-msw.c (mswindows_widget_instantiate):
+ * glyphs-msw.c (add_tree_item):
+ * glyphs-msw.c (add_tab_item):
+ new image instance parameter, so it can be passed to callback-ex.
+ respect :callback-ex as well as :callback.
- * configure.in: check for cygwin/version.h now.
+ * glyphs-widget.c (VALID_GUI_KEYWORDS):
+ add :callback-ex.
- * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
- CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
- move cygwin32/version.h to cygwin/version.h
+ * glyphs.c (print_image_instance):
+ prettify, e.g. now prints widget type.
-1998-11-03 Olivier Galibert <galibert@pobox.com>
+ * gui-x.h:
+ certain funs have new image instance parameter.
- * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
- int to long.
+ * gui.c:
+ * gui.c (get_gui_callback):
+ * gui.c (gui_item_add_keyval_pair):
+ * gui.c (gui_item_init):
+ * gui.c (gui_add_item_keywords_to_plist):
+ * gui.c (mark_gui_item):
+ * gui.c (gui_item_hash):
+ * gui.c (gui_item_equal):
+ * gui.c (copy_gui_item):
+ * gui.c (syms_of_gui):
+ recognize callback-ex in a number of places.
+ also, fix the annoying "can't get out of yes-no dialog" bug.
+
+ * gui.h:
+ * gui.h (struct Lisp_Gui_Item):
+ recognize callback-ex in a number of places.
-1998-10-22 Andy Piper <andyp@parallax.co.uk>
+ * menubar-x.c (menu_item_descriptor_to_widget_value_1):
+ new parameter in button_item_to_widget_value.
+
+ * glyphs-x.c (x_update_widget):
+ * glyphs-x.c (x_button_instantiate):
+ * glyphs-x.c (x_button_update):
+ * glyphs-x.c (x_progress_gauge_instantiate):
+ * glyphs-x.c (x_edit_field_instantiate):
+ * glyphs-x.c (x_combo_box_instantiate):
+ * glyphs-x.c (x_tab_control_instantiate):
+ * glyphs-x.c (x_label_instantiate):
+ new image instance parameter in various places.
- * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
- CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
- enable BROKEN_SIGIO under b20 to make QUIT work.
+ * event-Xt.c:
+ * event-Xt.c (enqueue_Xt_dispatch_event):
+ this fun gets exported.
-1998-10-22 Andy Piper <andyp@parallax.co.uk>
+ * gui-msw.c:
+ * gui-msw.c (mswindows_handle_gui_wm_command):
+ handle both :callback and :callback-ex, and generate our own
+ event because it's one of the callback-ex arguments.
- * frame-msw.c (mswindows_size_frame_internal): force frame sizing
- to fit within the constraints of the screen size. I.e. make the
- frame small enough to fit and move it if some of it will be
- off-screen.
+ * gui-x.c:
+ * gui-x.c (popup_selection_callback):
+ handle both :callback and :callback-ex, and generate our own
+ event because it's one of the callback-ex arguments.
+ * gui-x.c (button_item_to_widget_value):
+ * gui-x.c (gui_items_to_widget_values_1):
+ * gui-x.c (gui_item_children_to_widget_values):
+ * gui-x.c (gui_items_to_widget_values):
+ new image instance parameter in various places.
-1998-10-19 Greg Klanderman <greg@alphatech.com>
+ * fns.c (Freplace_list):
+ fix small typo in doc string.
- * dired.c: conditionalize inclusion of user-name-completion
- primitives on non-Windows NT. The needed functions don't exist on NT.
+ * lisp.h:
+ declare enqueue_Xt_dispatch_event.
-1998-11-24 SL Baur <steve@altair.xemacs.org>
+2000-04-28 Ben Wing <ben@xemacs.org>
- * gifrlib.h: Clean up types for 64 bit compile.
- * dgif_lib.c (DGifInitRead): Ditto.
- (MakeSavedImage): Ditto.
- * emacs.c (decode_path): Ditto.
- From Steve Carney <carney@pa.dec.com>
+ * buffer.c:
+ * buffer.c (Frecord_buffer):
+ * buffer.c (syms_of_buffer):
+ delete record-buffer-hook.
-1998-10-16 William M. Perry <wmperry@aventail.com>
+ * fns.c:
+ * fns.c (Freplace_list):
+ * fns.c (syms_of_fns):
+ new primitive replace-list.
- * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
- (cehckboxes instead of checkboxes).
+ * frameslots.h:
+ slot for old buffer-alist.
-1998-10-15 SL Baur <steve@altair.xemacs.org>
+ * lisp.h:
+ exfun replace-list.
- * XEmacs 21.2-beta3 is released.
+ * redisplay.c:
+ * redisplay.c (redisplay_frame):
+ * redisplay.c (syms_of_redisplay):
+ * redisplay.c (vars_of_redisplay):
+ new hook buffer-list-changed-hook.
+ call it.
-1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
+2000-04-27 Ben Wing <ben@xemacs.org>
- * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
- gnuclient. Otherwise, we run xemacs as we always did. This gets
- rid of the annoying DOS window when running gnuclient.
+ * extents.h: extern in_modeline_generation.
-1998-10-13 Andy Piper <andyp@parallax.co.uk>
+ * redisplay.c (generate_formatted_string_db): set
+ in_modeline_generation.
- * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
- HAVE_MS_WINDOWS typo.
+ * extents.c (extent_changed_for_redisplay): don't mark redisplay
+ flags if in modeline generation. otherwise frame-modified-tick
+ is ticked far too often.
+ Declare in_modeline_generation.
-1998-10-13 SL Baur <steve@altair.xemacs.org>
+2000-04-26 Ben Wing <ben@xemacs.org>
- * process-unix.c (unix_send_process): Set closed flag on writable
- pipe after SIGPIPE is received and before we call deactivate_process.
+ * emacs.c (vars_of_emacs): document quick-build "error-checking"
+ option.
+ (vars_of_emacs): add quick-build as an error-checking option.
+ A bit kludgy, but there doesn't seem much point in creating
+ a real var for this.
-1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
+ * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
- * window.c (Fset_window_start): respect narrowing when
- checking wheter start is at the beginning of a line.
- (Fset_window_buffer): Ditto
- Fixes repeatable crash in VM.
+2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
-1998-10-09 SL Baur <steve@altair.xemacs.org>
+ * redisplay.h (struct display_line): Add a new variable,
+ line_continuation.
- * window.c (specifier_vars_of_window): Set default vertical
- divider width to 1 on ttys.
+ * redisplay.c (create_text_block): Set dl->line_continuation if
+ the line continues.
+ (create_string_text_block): Ditto.
+ (regenerate_window_incrementally): Use line_continuation instead
+ of searching continuation glyph.
+ (add_margin_runes): Call add_glyph_rune.
+ (add_glyph_rune): Handle margin glyph.
-1998-10-08 Martin Buchholz <martin@xemacs.org>
+2000-04-20 Martin Buchholz <martin@xemacs.org>
- * alloc.c:
- * unexec.c:
- * malloc.c:
- Add <stddef.h> to get ptrdiff_t declaration
+ * filelock.c (fill_in_lock_file_name):
+ ANSIfy.
+ Check for IS_ANY_SEP instead of '/'.
+ (lock_file_1):
+ Avoid generating gratuitous garbage. Call user_login_name() directly.
+ Never check errno without first seeing that system call failed.
+ (unlock_file): Add GCPRO.
+ (Flock_buffer): Fix docstring.
+ (Ffile_locked_p): Fix docstring. Add GCPRO.
-1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
+2000-04-19 Martin Buchholz <martin@xemacs.org>
- * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
- is used for Motif or Lucid scrollbars under X.
+ * sysdep.c (get_pty_max_bytes):
+ Fix hangs on DEC OSF 4.0 when (process-send-string) sends
+ strings longer than 252 bytes.
-1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
+ * md5.c: Unconditionally include ANSI header <limits.h>
- * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
- `configure'
+ * glyphs-x.c (convert_EImage_to_XImage):
+ * lisp-union.h (union Lisp_Object):
+ Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
-1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
+2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
- * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
+ * filelock.c (current_lock_owner): Remove unused variable o, p.
-1998-10-05 Andy Piper <andyp@parallax.co.uk>
+2000-04-17 Norbert Koch <n.koch@eai-delta.de>
- * s/cygwin32.h: more cygwin b20 reorganisation.
+ * callint.c: Remove multiply defined symbol Qlet
+ (syms_of_callint): ditto.
-1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
+2000-04-14 Andy Piper <andy@xemacs.org>
- * nas.c: Added necessary support functions to be able to handle
- WAVE files in memory, just like the support for SND files in
- memory.
+ * general.c (syms_of_general): add last-command, this-command, let
+ and funcall.
-1998-09-30 SL Baur <steve@altair.xemacs.org>
+ * lisp.h: declare various symbols.
- * callproc.c (child_setup): Fix spelling typo.
+ * glyphs.h: declare Qwidget_callback_current_channel;
-1998-09-29 SL Baur <steve@altair.xemacs.org>
+ * glyphs-widget.c (syms_of_glyphs_widget): add
+ Qgui_callback_current_channel.
+ (vars_of_glyphs_widget): add Vgui_callback_current_channel.
- * XEmacs 21.2-beta2 is released.
+ * gui-msw.c (mswindows_handle_gui_wm_command): bind
+ widget-callback-current-channel when invoking the interactive
+ arg. Also bind last-command and next-command when invoking the
+ widget updates.
+ * gui-x.c (popup_selection_callback): ditto.
-1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
+ * gui.c (get_gui_callback): massage args so that we are always
+ calling eval. This allows us to add our own variable bindings
+ outside.
- * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
- to prevent memory corruption in the case of jumping out of a series of
- nested match patterns. This is a rather brute force approach, though.
+ * glyphs-x.c (x_button_instantiate): use
+ gui_items_to_widget_values since this is GC safe.
+ (x_progress_gauge_instantiate): ditto.
+ (x_edit_field_instantiate): ditto.
+ (x_label_instantiate): ditto.
-1998-09-02 Andy Piper <andyp@parallax.co.uk>
+ * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
+ (emacs_Xt_event_widget_focus_out): new function
+ (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
+ focus.
+ (emacs_Xt_event_add_widget_actions): new function. add focus
+ functions as actions.
+ (init_event_Xt_late): use it.
- * config.h.in: ditto.
+2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
- * s/cygwin32.h: rearrange declarations to cope with cygwin
- b20. Include cygwin32/version.h if it exists.
+ * event-stream.c (Fdispatch_event): Doc fix.
-1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
+2000-03-29 SL Baur <steve@musashimaru.m17n.org>
- * device-msw.c (mswindows_init_device): Call new
- mswindows_enumerate_fonts() function in objects-msw.c instead
- of font_enum_callback_1() to enumerate fonts.
+ * postgresql.c: Remove all references to PQsetenv*.
- font_enum_callback_1() and _2() moved to objects-msw.c.
+ * postgresql.h: Remove references to PGsetenvHandler object.
+ * lrecord.h (lrecord_type): Ditto.
- * faces.c (complex_vars_of_faces): Make the mswindows default
- face font fully specified and provide some fallbacks.
+2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
- * objects-msw.c: font_enum_callback_1() and _2() moved here
- from objects-msw.c. Obtain the enumerated font's character
- sets by table lookup instead of using the locale-specific
- string provided by Windows.
+ * glyphs-msw.h (struct mswindows_image_instance_data): Added
+ real_heigh and real_width members, and accessor macros for these.
- New public non-method mswindows_enumerate_fonts() that fills
- in the supplied mswindows device's font list.
+ * glyphs-msw.c (init_image_instance_geometry): New function.
+ (init_image_instance_from_dibitmap): Use it.
+ (mswindows_resource_instantiate): Use it.
+ (init_image_instance_from_xbm_inline): Use it.
+ (mswindows_initialize_image_instance_mask): Use real bitmap
+ geometry.
+ (mswindows_create_resized_bitmap): Ditto.
+ (mswindows_create_resized_mask): Ditto.
- mswindows_initialize_font_instance: Use the supplied name
- variable instead of f->name when signalling errors. Match font
- weights and character sets using lookup tables which handle
- spaces instead of by frobbing.
+ * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
+ and bitmap to their surface size.
-1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
+2000-04-11 Jan Vroonhof <jan@xemacs.org>
- * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
- on the size of code fragments passed to run_in_other_process.
+ * process-unix.c (unix_send_process): Guard against process MIA
+ after Faccept_process_output.
- run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
- the amount of memory to allocate in the other process.
+2000-04-11 Ben Wing <ben@xemacs.org>
- Removed sigkill_code_end(), sigint_code_end() and
- sig_enable_code_end() since they are now redundant.
+ * eval.c (unbind_to_hairy): fix brokenness introduced by
+ nanosecond speed improvements.
- send_signal() and enable_child_signals(): Don't try to work
- out the end of the code fragments passed to
- run_in_other_process()
+2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
-1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
+ * sunplay.c (init_device): To play sounds correctly, the device
+ apparently needs to be initialized at least once by XEmacs. Make
+ it so.
- * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
- FreeBSD-current.
+2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
- * src/unexelf.c: Partially synched with FSF's 20.3.
+ * redisplay.c (add_margin_runes): Add text image glyph
+ handling.
-1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
+2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
- * insdel.c (signal_after_change): Map across indirect buffers
- here, and not in the upper-level functions.
- (signal_first_change): Don't check for Armageddon.
- (signal_before_change): Map across indirect buffers here.
- (prepare_to_modify_buffer): ...and here.
+ * lisp.h (DOESNT_RETURN): Don't declare as volatile when
+ gcc is newer than 2.5.
-1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
+2000-04-06 Colin Rafferty <colin@xemacs.org>
- * insdel.c (signal_after_change): Add return value.
- (buffer_insert_string_1): Use it.
- (buffer_delete_range): Ditto.
- (buffer_replace_char): Ditto.
- (cancel_multiple_change): Map the indirect buffers.
+ * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
-1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
+ * fns.c (size_bit_vector):
+ * alloc.c (size_vector):
+ (make_vector_internal):
+ (make_bit_vector_internal):
+ (sweep_bit_vectors_1):
+ Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
- * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
- (uninit_buffer_text): Ditto.
+2000-04-06 Andy Piper <andy@xemacs.org>
- * buffer.c (Fmake_indirect_buffer): Implement stricter
- error-checking.
+ * gmalloc.c (malloc): undo previous change.
+ (malloc): ditto.
+ (free): ditto.
+ (realloc): ditto.
-1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
+2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
- * insdel.c (change_function_restore): Reverse order of
- function-call and assignment.
- (first_change_hook_restore): Ditto.
+ * line-number.c (buffer_line_number): Revert to former version.
- * extents.c (mark_extent_auxiliary): Mark them.
- (Fset_extent_property): Set them.
- (Fextent_property): Get them.
- (Fextent_properties): Ditto.
- (vars_of_extents): Set their default.
+2000-04-06 Andy Piper <andy@xemacs.org>
- * extents.h (struct extent_auxiliary): Add before_change_functions
- and after_change_functions.
+ * gmalloc.c (malloc): add error checking.
+ (malloc): ditto.
+ (free): ditto.
+ (realloc): ditto.
- * insdel.c (signal_before_change): Use it.
- (signal_after_change): Ditto.
+ * dialog-x.c (dbox_descriptor_to_widget_value): add extra
+ button_item_to_widget_value arg.
- * extents.c (report_extent_modification): New function.
+ * glyphs-x.c (x_button_instantiate): add extra
+ button_item_to_widget_value arg.
+ (x_progress_gauge_instantiate): ditto.
+ (x_edit_field_instantiate): ditto.
+ (x_label_instantiate): ditto.
- * insdel.c (signal_before_change): Don't check for Armageddon.
- (signal_after_change): Ditto.
+ * gui-x.c (gui_items_to_widget_values_1): add extra
+ button_item_to_widget_value arg.
+ (button_item_to_widget_value): add extra menu_item_p arg.
-1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
+ * gui-x.h: change signature of button_item_to_widget_value.
- * redisplay.c (redisplay_window): make sure a new starting point
- is chosen if it somehow got moved from the beginning of the line
- -- this can happen because Fwiden was called recently.
+ * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
+ button_item_to_widget_value arg.
- * window.c (Fset_window_start): set start_at_line_beg correctly
- (Fset_window_buffer): Ditto
+2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
-1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
+ * buffer.h (struct buffer): auto_save_modified should be long.
- * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
- (uninit_buffer_text): Ditto.
+2000-04-05 Andy Piper <andy@xemacs.org>
- * buffer.c (Fmake_indirect_buffer): Implement stricter
- error-checking.
+ * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
+ type.
+ (button_query_geometry): give a little more room so that athena
+ buttons fit.
-1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
+2000-04-05 Andy Piper <andy@xemacs.org>
- * emacs.c (main_1): Removed references to *vars_of_filelock.
+ * faces.c (complex_vars_of_faces): The widget face should inherit
+ the font of the gui-element face.
- * lisp.h: Added Fsystem_name.
+2000-04-04 Andy Piper <andy@xemacs.org>
- * filelock.c: Replaced by version from FSF 20.2. Now implements
- locking by using symlinks which is NFS safe. However keep the
- GCPRO's in lock_file and the calls to callx_in_buffer like our old
- version (and of course use ansi C, acessor macros, etc).
+ * glyphs-x.c (x_button_update): new function. unconditionally
+ update a button's state when the instance is dirty.
+ (image_instantiator_format_create_glyphs_x): add x_button_update.
+ (x_widget_instantiate): remove old resize cruft.
-1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
+2000-04-02 Andy Piper <andy@xemacs.org>
- * process-unix.c (unix_create_process): Reset SIGHUP handler to
- SIG_DFL. We now try to conserve any inherted SIG_IGN settings
- in init_signals_very_early. However these should not be passed
- on to children attached to the new pty.
+ * frame.c (change_frame_size_1): The introduction of gutters means
+ that we need to allow 0 as a potential frame dimension.
-1998-08-28 Andy Piper <andyp@parallax.co.uk>
+2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
- * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
+ * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
+ image glyph if allow_cursor.
+ (add_hscroll_rune): Don't allow cursor to border glyph.
+ (create_text_block): Ditto.
-1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
+ * redisplay-output.c (redisplay_move_cursor): Do nothing even if
+ text not in buffer.
+ (redisplay_output_layout): Call ensure_face_cachel_complete for
+ text image glyph.
- * fileio.c (file-name-directory, file_name_as_directory):
- Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
-1998-09-02 Andy Piper <andyp@parallax.co.uk>
+2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
- * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
+ * redisplay.c (add_glyph_rune): Adding text image as text runes.
- * ralloc.c: uncomment __morecore.
+ * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
+ not in buffer
-1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
+ * redisplay-tty.c (tty_output_display_block): Delete the routine
+ for text image glyph
+ * redisplay-x.c (x_output_display_block): ditto
+ * redisplay-msw.c (mswindows_output_display_block): ditto
- * event-msw.c(winsock_writer): Supply a dummy 4th argument to
- WriteFile() to fix a winsock 1.x bug on Win95.
+2000-02-02 Mike Alexander <mta@arbortext.com>
-1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
+ Note: Some of these were committed by accident as part of other
+ patches.
- * event-Xt.c (emacs_Xt_mapping_action): Check for device being
- deleted.
- (x_event_to_emacs_event): Ditto.
- (emacs_Xt_handle_focus_event): Ditto.
- (emacs_Xt_handle_magic_event): Ditto.
+ * regex.c (regex_compile): Avoid compiler warnings.
- * console-x.h (struct x_device): New flag being_deleted.
- (DEVICE_X_BEING_DELETED): New macro.
+ * ntproc.c (sys_spawnve): Avoid compiler warnings.
- * device-x.c (x_IO_error_handler): Throw to top-level instead of
- returning. Before doing that, set the being_deleted flag on the
- device.
+ * nt.h: Declare term_ntproc correctly.
-1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
+ * nt.c: Remove incorrect declaration of get_home_directory which
+ is declared correctly in lisp.h.
- * device-x.c (x-seppuku-on-epipe): Removed.
+ * keymap.c (get_keyelt): Avoid compiler warnings.
+ (raw_lookup_key_mapper): Avoid compiler warnings.
-1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
+ * gutter.c (gutter_was_visible): Add return statement to avoid warning.
- * frame-x.c (x_delete_frame): Flush the X output buffer after
- calling XtDestroyWidget to ensure that the windows are really
- killed right now.
+ * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
-1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
+ * filemode.c (mode_string): Avoid compiler warnings.
- * menubar-x.c (my_run_hook): New unused function.
- (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
- since we ignore the results of the contained functions anyway.
+ * file-coding.c (Fcoding_system_aliasee): Add return statement to
+ avoid warning.
-1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
+ * events-mod.h: Undef some things that winuser.h defines differently.
- * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
- interlaced GIF files that are smaller than 4 lines high...
+ * data.c (Faset): Avoid compiler warnings.
-1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
+ * alloc.c (Fmake_byte_code): Avoid compiler warnings.
- * buffer.c (map_over_sharing_buffers): Deleted.
+2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
- * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
+ * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
+ Fall through to simple beep on error.
+ Replace "extern" by real header file.
- * buffer.c (Fkill_buffer): Keep indirect_children updated while
- killing them.
+ * linuxplay.c: Use nativesound.h
+ (play_sound_data): Return error code. Be less verbose on error.
-1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
+ * sunplay.c: Use nativesound.h
+ (play_sound_data): Return error code. Be less verbose on error.
- * insdel.c (buffer_insert_string_1): Advance the point bytind in
- all the buffers.
- (buffer_delete_range): Ditto.
+ * ntplay.c: Use nativesound.h
+ (play_sound_data): Return fake error code
- * marker.c (init_buffer_markers): Set point-marker to the value of
- point in an indirect buffer.
+ * sgiplay.c: Use nativesound.h
+ (play_sound_data): Return error code
-1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
+ * hpplay.c: Use nativesound.h, partially implement
+ new error code. Break compilation until finished.
+ (play_sound_data): error code.
- * undo.c (undo_prelude): Test last-undo-buffer against base
- buffer.
+ * nativesound.h (play_sound_file):
+ (play_sound_data): Prototype in new header.
- * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
+2000-03-31 Andy Piper <andy@xemacs.org>
- * buffer.h (BUFFER_BASE_BUFFER): New macro.
+ * glyphs-widget.c: (button_query_geometry): new function. Adjust
+ for toggle and radio buttons.
+ (image_instantiator_buttons): use it.
-1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
+2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
- * insdel.c (init_buffer_text): Initialize it here.
+ * scrollbar-x.c (x_update_vertical_scrollbar_callback):
+ (x_update_horizontal_scrollbar_callback): Return if no mirror was
+ found. Scrollbar event probably belonged to some old config.
- * line-number.c: Address line_number_cache through buffer->text.
+2000-03-31 Andy Piper <andy@xemacs.org>
- * buffer.c (mark_buffer): Mark line number cache.
+ * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
+ than 1.
+ (initialize_widget_image_instance): default layout to
+ LAYOUT_HORIZONTAL rather than 0.
+ (widget_instantiate): reverse the item list at the end rather than
+ every iteration.
+ (layout_layout): re-code for the border text at the front of the
+ item list rather than at the end.
+ (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
+ provided by the user.
+ (widget_query_geometry): comment.
- * bufslots.h (line_number_cache): Move to struct buffer_text.
+2000-03-30 Andy Piper <andy@xemacs.org>
- * insdel.c (buffer_insert_string_1): Propagate signals and changes
- across the children buffers.
- (buffer_delete_range): Ditto.
- (buffer_replace_char): Ditto.
- (gap_left): Ditto.
- (gap_right): Ditto.
+ * glyphs-widget.c (image_instantiator_layout): allow standard
+ widget keywords in layouts.
- * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
+ * gutter.c (output_gutter): cope with nil gutter contents.
- * buffer.c (Fmake_indirect_buffer): Uncomment.
+ * frame.c (Fset_frame_properties): add gutter docs.
-1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
+2000-03-29 Andy Piper <andy@xemacs.org>
- * macros.c (Fend_kbd_macro): Remove trailing period from error
- message.
- (Fexecute_kbd_macro): Ditto.
+ * toolbar-msw.c (TBSTYLE_FLAT): add.
+ (mswindows_output_toolbar): minor fiddling.
-1998-08-21 Greg Klanderman <greg@alphatech.com>
+2000-03-29 Andy Piper <andy@xemacs.org>
- * dired.c (Fuser_name_completion): remove optional 2nd argument.
- (Fuser_name_completion_1): new function to return uniqueness
- indication in addition to the user name completion.
- (user_name_completion): change type of `uniq' argument.
+ * gutter.c (output_gutter): force gutter size recalculation if
+ what we are trying to display won't fit.
+ (update_gutter_geometry): new function. A per-gutter version of
+ update_frame_gutter_geometry.
+ (update_frame_gutter_geometry): use it.
+ (redraw_exposed_gutter): add extra debugging output.
-1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
+2000-03-28 Mike Alexander <mta@arbortext.com>
- * lread.c (vars_of_lread): Removed `source-directory' variable.
+ * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
+ (pdump_file_unmap): Implement it on Windows
+ (pdump_file_get): Save alocated handles for pdump_file_unmap
-1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
+2000-03-28 Andy Piper <andy@xemacs.org>
- * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
- Cygwin.
+ * gui.c (get_gui_callback): treat Quit specially.
-1998-08-19 SL Baur <steve@altair.xemacs.org>
+2000-03-27 Andy Piper <andy@xemacs.org>
- * dired.c (vars_of_dired): Fix misapplied patch.
+ * glyphs.c (image_instantiate): be careful to check in the same
+ way we assigned.
-1998-08-16 Martin Buchholz <martin@xemacs.org>
+2000-03-27 Didier Verna <didier@xemacs.org>
- * fns.c (Fremrassq, remrassq_no_quit):
- A XCAR that should have been an XCDR turned Fremrassq into Fremassq
+ * config.h.in: define the proper SMART_INCLUDE macro.
+ handle renaming of `foo_h_path' to `foo_h_file'.
-1998-07-17 Didier Verna <verna@inf.enst.fr>
+ * database.c: ditto.
- * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
- style as foreground GC for faces that have the `dim' property.
- (x_output_string): when the `dim' face property is set,
- ensure the gray pixmap has been created, and get a proper
- foreground GC to draw the text.
+ * emacs.c: ditto.
-1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
+ * linuxplay.c: ditto.
- * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
- Manually track the state of the left and right Ctrl and Alt
- modifiers.
+ * terminfo.c: ditto.
-1998-08-07 Matt Stupple <matts@tibco.com>
+ * tooltalk.h: ditto.
- * ntproc.c: don't wait on char_consumed at thread entry.
- Additionally, to get the 'process' marked as finished, ensure
- that the CHILD_ACTIVE macro returns false, so before exiting
- close char_avail and set it to NULL, and close other handles
- to reduce handle leak problems.
+2000-03-27 Andy Piper <andy@xemacs.org>
-1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
+ * glyphs-msw.c (mswindows_update_widget): make sure the widget
+ gets updated whenever the face might have changed.
- * menubar-msw.c (displayable_menu_item): take account of menu
- depth when deciding whether to try to display accelerators.
+2000-03-26 Mike Alexander <mta@arbortext.com>
-1998-08-04 Andy Piper <andyp@parallax.co.uk>
+ * dumper.c (pdump_resource_free): Fix the comment.
- * event-msw.c: use MsgWaitForMultipleObjects if there are no
- subprocesses.
+2000-03-21 Olivier Galibert <galibert@pobox.com>
- * glyphs-msw.c: fix a couple of potential handle leaks.
+ * input-method-xlib.c (XIM_init_frame): Remove painful warning.
-1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
+2000-03-22 Mike Alexander <mta@arbortext.com>
- * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
- *decoding ONLY* back into the core.
- * glyphs-eimage.c: Change referenced header file for GIF
- reading to point to the incore version.
+ * dumper.c: Include Windows headers on Windows
+ (pdump_resource_free): Add a body to the function
+ (pdump_load): exe_name -> exe_path and add some comments.
-1998-07-20 Martin Buchholz <martin@xemacs.org>
+2000-03-25 Mike Alexander <mta@arbortext.com>
- * casefiddle.c (casify_object):
- Change algorithm from O(N**2) to O(N).
- Code cleanup.
- Doc string cleanup.
-
-1998-07-22 Greg Klanderman <greg@alphatech.com>
-
- * dired.c (file_name_completion_unwind): don't leak the cons.
-
-1998-07-20 Greg Klanderman <greg@alphatech.com>
-
- * dired.c (Fuser_name_completion): new function.
- (Fuser_name_all_completions): new function.
- (user_name_completion): new function.
- (syms_of_dired): 2 new DEFSUBRs.
- (vars_of_dired): initialize user name cache vars.
-
-1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
-
- * glyphs-eimage.c (png_instantiate): Add proper handling for background
- colors taken from the default face. Also correct a thinko in
- transparency (not alpha) handling.
-
-1998-07-23 Martin Buchholz <martin@xemacs.org>
-
- * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
- * unexalpha.c: ANSI C-ize. Clean compiler warnings.
- * lread.c (Fload_internal): Be very careful with printfs of
- size_t's
- * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
- argument.
-
-1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
-
- * callint.c (Fcall_interactively): GCPRO prompt string before
- passing it to Fread_key_sequence
-
-1998-07-27 SL Baur <steve@altair.xemacs.org>
-
- * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
- Vvertical_divider_map.
-
- * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
- Qnil or 0, none were initialized prior to this change.
-
- Rename misnamed `V' prefixed integer variables:
- Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
- Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
- Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
- Vcanna_ichiran_revLen.
-
- Rename misnamed `V' prefixed integer variables and initialize
- properly in the vars_of routine.
- Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
- Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
- Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
- Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
- Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
- Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
- Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
- Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
- Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
- Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
- Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
- Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
- Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
- Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
- Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
- Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
- Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
- Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
- Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
- Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
- Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
- Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
- Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
- Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
- Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
- Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
- Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
- Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
- Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
- Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
- Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
- Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
- Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
- Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
- Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
- Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
- Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
- Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
- Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
- Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
- Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
- Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
- Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
- Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
- Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
- Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
-
-1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
-
- * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
- (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
- keys thus no longer considering all keysyms on a key.
-
-1998-07-19 SL Baur <steve@altair.xemacs.org>
-
- * XEmacs 21.2-beta1 is released.
-
-1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
-
- * eldap.c (Fldap_search_internal): When converting the list of
- attributes to search Copy the final 0 from Lisp strings to C
- strings.
- Check base, not Vldap_default_base as a a string
-
-1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
-
- * nt.c: Remove Vstdio_str; already defined in console-stream.c.
-
- * unexnt.c: Unconditionally define bss_start and bss_size, and
- ensure that they don't go in the .bss section.
-
-1998-07-17 Olivier Galibert <galibert@pobox.com>
-
- * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
- byte order is dependant of the local byte order).
- From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
-
-1998-07-18 SL Baur <steve@altair.xemacs.org>
-
- * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
- Qmswindows_resource.
- From Jonathan Harris <jhar@tardis.ed.ac.uk>
-
-1998-07-12 SL Baur <steve@altair.xemacs.org>
-
- * general.c (syms_of_general): Add defsymbol for Qresource.
-
- * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
- Qmswindows_resource.
- (TopLevel): Rename 'resource image format to 'mswindows_resource.
- (mswindows_resource_validate): Rename.
- (mswindows_resource_normalize): Rename.
- (mswindows_resource_possible_dest_types): Rename.
- (mswindows_resource_instantiate): Rename.
- (image_instantiator_format_create_glyphs_mswindows): Replace
- `resource' with `mswindows.resource'.
-
- * XEmacs 21.0-pre5 is released.
-
-1998-07-10 SL Baur <steve@altair.xemacs.org>
-
- * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
- server type in environment.
- Use alloca-ed strings instead of tiny fixed size ones.
-
-1998-07-09 SL Baur <steve@altair.xemacs.org>
-
- * XEmacs 21.0-pre4 is released.
-
-1998-07-01 James N. Potts <jnpotts@plutonium.net>
-
- * fileio.c: (expand_file_name): under win32: Don't treat names
- as UNC names if a drive letter has been specified. If a drive
- has been specified, strip out extra directory-seperators that
- reportedly cause problems under Win95.
+ * gui.c (copy_gui_item_tree): Return a value in all cases
-1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
+2000-03-21 Didier Verna <didier@xemacs.org>
- * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
- MSVC >= 5.0. Put emacs init and zero-init data in a special
- section of the executable when this is defined.
+ * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
+ lwlib/config.h.in.
+ (SMART_INCLUDE): new macro.
+ (POSTGRES_INCLUDE): new macro to include postgresql headers from
+ the proper location.
- * unexnt.c, ntheap.h:
- Removed unused find_section() and get_section_size().
+ * postgresql.c: use it.
- * unexnt.c:
- Fix up the executable's checksum after dumping otherwise the
- profiler complains.
- When DUMP_SEPARATE_SECTION is defined, don't need to dump
- zero-init data separately from init data. Dump emacs data
- into a special section of the executable.
- When DUMP_SEPARATE_SECTION not defined, dump .bss up to
- my_ebss instead of up to the end of bss.
+ * inline.c: ditto.
-1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
+2000-03-24 Andy Piper <andy@xemacs.org>
- * filelock.c: Removed Vconfigure_lock_directory - already
- defined in emacs.c.
+ * gutter.c (redraw_exposed_gutters): must be "in display" when we
+ do this.
- * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
- defined in frame.c and general.c respectively.
+2000-03-24 Andy Piper <andy@xemacs.org>
- * glyphs-msw.c: Removed Qresource - already defined in
- general.c.
+ * redisplay-output.c (compare_runes): use image_instance_changed
+ to detect changes. Do not depend on glyphs_changed, only depend on
+ dirtiness.
+ (redisplay_output_layout): add debug messages.
+ (compare_runes): ditto.
-1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
+ * glyphs.h: declare new functions.
+ (struct Lisp_Image_Instance): remove percent and associated
+ accessors.
- * eldap.c (Fldap_search_internal): Docstring fixes
+ * gui.h: declare new copying functions.
-1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
+ * gui.c (copy_gui_item_tree): new function.
+ (copy_gui_item): new function.
+ (gui_item_id_hash): revert to standard hash.
+ (gui_item_hash): ditto.
+ (gui_item_hash_internal): deleted.
+ (mark_gui_item): mark value.
+ (gui_item_add_keyval_pair): add value.
+ (gui_item_init): ditto.
+ (gui_add_item_keywords_to_plist): ditto.
+ (gui_item_equal): ditto.
+ (syms_of_gui): add Q_value.
- * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
- EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
- EMACSPACKAGEPATH and INFOPATH variables.
- Removed unused get_emacs_configuration function.
+ * glyphs-x.c (x_progress_gauge_update): use pending items and
+ value for setting the state.
+ (x_update_widget): don't set items from pending here.
- * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
- it is now defined at build-time by the makefile.
+ * glyphs-widget.c (update_widget): update items here.
+ (progress_gauge_set_property): use items for storing value. Put
+ new value in pending items.
-1998-07-01 James N. Potts <jnpotts@plutonium.net>
+ * glyphs-msw.c (mswindows_progress_gauge_update): use pending
+ items for new value. Convert percent -> value.
+ (mswindows_tab_control_update): don't update items here.
- * fileio.c: (expand_file_name): under win32: Don't treat names as
- UNC names if a drive letter has been specified. If a drive has
- been specified, strip out extra directory-seperators that
- reportedly cause problems under Win95.
+ * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
+ (update_subwindow): ditto.
+ (image_instance_changed): new function. Compare hash values and
+ past and present widget items.
+ (image_instantiate): We more careful about where we instantiate
+ things.
+ (image_instantiate): add error checking.
-1998-07-05 Andy Piper <andyp@parallax.co.uk>
+ * gutter.c (syms_of_gutter): use -hook.
- * faces.c (complex_vars_of_faces): for the gui-element face don't
- fallback to the default face, instead provide reasonable default
- fallbacks that were previously hardcoded elsewhere.
+2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
-1998-07-06 Olivier Galibert <galibert@pobox.com>
+ * console-tty.c (Fset_console_tty_input_coding_system): Use
+ Qkeyboard.
+ (Fset_console_tty_output_coding_system): Use Qterminal.
+ (tty_init_console): Use Qkeyboard and Qterminal.
- * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
- when the X server endianness is different than the client's one.
+2000-03-21 Ben Wing <ben@xemacs.org>
-1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
+ * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
+ From Mike Alexander <mta@arbortext.com>.
- * eval.c (run_hook_with_args_in_buffer): Check
- default (non-buffer-local) value of hook for
- nil before treating it as a function. Don't initialize
- the `globals' variable twice.
+2000-03-21 Ben Wing <ben@xemacs.org>
-1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
+ * event-msw.c (mswindows_need_event): Horrible kludge to fix
+ process brokenness. Proper implementation to come.
+ * callproc.c:
+ Rename call-process-internal to old-call-process-internal.
+ New impl. in process.el.
- * fileio.c: Don't do directory seperator canonicalisation in
- substitute-in-file-name because we don't know that the
- filename refers to a local file.
+2000-03-21 Martin Buchholz <martin@xemacs.org>
-1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
+ * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
- * process-nt.c (nt_create_process): Try appending the standard
- executable file extensions to the filename if none supplied.
+2000-03-20 Andy Piper <andy@xemacs.org>
-1998-06-29 SL Baur <steve@altair.xemacs.org>
+ * glyphs.c (full_list_hash): make hashes of the same elements in
+ different orders return different values.
- * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
- for cygwin32.
- From Keisuke Mori <ksk@ntts.com>
+2000-03-20 Martin Buchholz <martin@xemacs.org>
-1998-06-24 Andy Piper <andyp@parallax.co.uk>
+ * XEmacs 21.2.32 is released.
- * toolbar-msw.c (mswindows_output_toolbar): only enable masked
- images if we have masks. This handles the xbm case (have masks)
- and avoids overuse of resources in the xpm case (generally no masks).
- Don't output small toolbars.
+2000-03-20 Martin Buchholz <martin@xemacs.org>
-1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
+ * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
+ (DFC_MALLOC_USE_CONVERTED_DATA):
+ Add aliasing-safe casts to allow use with char* or unsigned char*
+ lvalues.
- * eval.c (run_hook_with_args_in_buffer): Don't treat
- the default value of a buffer local hook as a list of
- hooks unless it is both a cons and the car of that cons
- is not Qlambda.
+ * eldap.c (Fldap_open):
+ (Fldap_search_basic):
+ (Fldap_add):
+ (Fldap_modify):
+ Make C++-compilable.
+ Make sure GCPRO'ed variables are initialized.
+ Use temp variables to avoid repeated calls to Flength.
-1998-06-29 SL Baur <steve@altair.xemacs.org>
+2000-03-16 Martin Buchholz <martin@xemacs.org>
- * extents.c: Email address for Ben Wing is ben@xemacs.org.
- * process-unix.c: Ditto.
- * mule-coding.h: Ditto.
- * mule-coding.c: Ditto.
- * mule-charset.c: Ditto.
- * mule-charset.h: Ditto.
- * file-coding.c: Ditto.
- * file-coding.h: Ditto.
+ * sysfile.h:
+ Make sure PATH_MAX is always defined.
+ Include limits.h for PATH_MAX.
+ Deprecate use of MAXPATHLEN.
-1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
+2000-03-10 Martin Buchholz <martin@xemacs.org>
- * event-msw.c: Guard against recursion when freeing
- FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
+ * emacs.c: Add reinit_vars_of_fileio.
+ * symsinit.h: Add reinit_vars_of_fileio.
+ * fileio.c (reinit_vars_of_fileio): New.
+ * fileio.c (Fmake_temp_name):
+ Initialize temp_name random number from microseconds to make
+ collisions even less likely. Initialize always at process startup
+ time. (make-temp-name) used to return the same file name twice in
+ a row when PDUMP.
+ Random stylistic fiddling.
+ Comment fixes.
- * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
- Call ShowWindow twice in init_frame_3 to get round runemacs
- weirdness.
+2000-03-20 Andy Piper <andy@xemacs.org>
-1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
+ * glyphs.c (image_instantiate): allow text glyphs to be
+ instantiated in the minibuffer window.
- * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
+2000-03-19 Andy Piper <andy@xemacs.org>
- * winslots.h: Rename.
+ * glyphs.c (image_instance_hash): be careful about which items we
+ hash on.
- * window.c (specifier_vars_of_window): Renamed
- vertical-divider-draggable-p to vertical-divider-always-visible-p,
- as suggested by Ben Wing.
- (specifier_vars_of_window): Fix docstrings.
+ * glyphs-widget.c (tab_control_set_property): record into pending
+ items rather than the actual items.
-1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
+ * glyphs-x.c (x_update_widget): use pending items to update with.
- * unexaix.c: Line number information works correctly again.
+ * glyphs-msw.c (mswindows_tab_control_update): use pending items
+ to update with.
-1998-06-22 Olivier Galibert <galibert@pobox.com>
+ * glyphs.c (mark_image_instance): mark pending items.
- * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
+ * window.c (Fset_window_configuration): record the buffer.
+ (Fselect_window): totally revert previous change which breaks many
+ things.
-1998-06-21 Martin Buchholz <martin@xemacs.org>
+2000-03-18 Andy Piper <andy@xemacs.org>
- * editfns.c (get_home_directory): ANSIfy.
- XEmacs is compilable under C *and* C++.
- It's XEmacs, not Xemacs!
+ * glyphs-msw.c (mswindows_tab_control_update): force selected
+ item.
-1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
+ * glyphs.c (image_instantiate): don't allow the minibuffer as a
+ window domain cache, otherwise we get inconsistencies at
+ startup. There is something fishy at startup which can lead to the
+ minibuffer being the selected window when the gutter content is
+ instantiated.
- * console-msw.h: added a list of fonts to device data.
+ * gui.c (parse_gui_item_tree_list): add probably unnecessary
+ gcpros.
+ (parse_gui_item_tree_children): ditto.
+ (parse_gui_item_tree_item): ditto.
- * device-msw.c: enumerate list of available fonts in
- mswindows_init_device. Free list in mswindows_delete_device.
+ * glyphs.c (Fupdate_widget_instances): return something.
- * objects-msw.c: Added helper function match_font used by
- mswindows_initialize_font_instance and mswindows_list_fonts.
- Allow a charset to be specified in a font string, even if
- previous fields havn't been specified.
+2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
-1998-06-23 Greg Klanderman <greg@alphatech.com>
+ * window.c (Fselect_window): Undo 2000-03-17 change.
- * indent.c (column_at_point): column cache bugfix.
- Set last_known_column_point to the buffer position for
- which the column was requested, not buffer's point.
+2000-03-17 SL Baur <steve@musashimaru.m17n.org>
- * redisplay.c (decode_mode_spec): for current-column, show
- window's point's column, not buffer's point's column.
+ * postgresql.c (Fpq_setenv): Remove this turkey when linking
+ against v7.0 libraries. Insta-coredump city until the postgres
+ folks fix it.
-1998-06-23 Andy Piper <andyp@parallax.co.uk>
+2000-03-17 Andy Piper <andy@xemacs.org>
- * menubar-msw.c (mswindows_handle_wm_command): use
- enqueue_misc_user event rather than
- mswindows_enqueue_msic_user_event to fix customize problems. Add some
- checks that X does.
+ * faces.c (complex_vars_of_faces): don't give the widget face an
+ inherited background pixmap.
- * console-msw.h: declare mswindows_enqueue_magic_event.
+ * glyphs-msw.c (mswindows_tab_control_instantiate): select the
+ selected item.
- * event-msw.c (mswindows_enqueue_magic_event): make global.
+ * event-stream.c (Fdispatch_non_command_events): return something.
-1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
+ * gutter.c (output_gutter): use widget face.
+ (clear_gutter): ditto.
- * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
- (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
- (add_position_to_cache): Use EMACS_INT instead of int.
+ * NEWS: adjust again.
-1998-06-21 Olivier Galibert <galibert@pobox.com>
+ * window.c (Fselect_window): make sure this runs to completion to
+ avoid oddities with Fset_window_configuration.
+ (Fcurrent_window_configuration): in general do not save the
+ minibuffer as the selected window.
- * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
- suitable for an int used as a boolean (btw, C sucks.).
+ * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
-1998-06-18 Andy Piper <andyp@parallax.co.uk>
+2000-03-16 Olivier Galibert <galibert@pobox.com>
- * object-msw.c: remove warnings.
+ * emacs.c (Frunning_temacs_p): Revert previous patch.
+ (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
- * device-msw.c: #define wrongly named cygwin structure elements.
+2000-03-16 Andy Piper <andy@xemacs.org>
- * s/cygwin32.h: define DEMI_BOLD
+ * glyphs-x.c (x_tab_control_update): if no widget values then
+ return.
-1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
+ * NEWS: update for new features.
- * redisplay-msw.c: new function mswindows_apply_face_effects.
- This is called by output_string and output_cursor to display
- underline and strikeout on faces.
+ * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
+ synthetic event to the native system.
+ (reinit_vars_of_event_Xt): set force_event_pending to
+ emacs_Xt_force_event_pending.
-1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
+ * events.h (struct event_stream): add force_event_pending.
- * console-msw.h: added a list of fonts to device data.
+ * specifier.c (recompute_one_cached_specifier_in_window): add
+ comment.
- * device-msw.c: enumerate list of available fonts in
- mswindows_init_device. Free list in mswindows_delete_device.
+ * redisplay.c (redisplay_frame): don't call
+ update_frame_subwindows. Reset subwindow cachels when
+ subwindows_changed, removing this was an optimization too far.
- * objects-msw.c: Added helper function match_font used by
- mswindows_initialize_font_instance and mswindows_list_fonts.
- Allow a charset to be specified in a font string, even if
- previous fields havn't been specified.
+ * redisplay-output.c (compare_runes): reorganize so that we catch
+ glyph changes when we want them. Set optimize_output when this
+ would help layouts.
+ (redisplay_output_layout): remove frame_really_changed, use
+ optimize_output instead.
-1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
+ * redisplay-msw.c (mswindows_output_display_block): reset
+ optimize_output after outputting a glyph.
+ * redisplay-x.c (x_output_display_block): ditto.
+ * redisplay-tty.c (tty_output_display_block): ditto.
- * objects-msw.c:
- Removed compilation warnings from mswindows_string_to_color.
- mswindows_list_fonts returns a more general bogus font.
- New lisp-visible function mswindows-color-list.
+ * gutter.c: (specifier_vars_of_gutter): use new spec changed
+ functions.
+ (gutter_specs_changed): do specific gutter positions.
+ (top_gutter_specs_changed): new function. Only update the
+ specified gutter specs.
+ (bottom_gutter_specs_changed): ditto.
+ (left_gutter_specs_changed): ditto.
+ (right_gutter_specs_changed): ditto.
+
+ * gui.c (gui_item_hash_internal): new function, does a real hash.
+ (gui_item_id_hash): use it.
+ (gui_item_hash): hash the eval'ed gui_item.
+
+ * gui-x.c (popup_selection_callback): send an eval event to call
+ Fupdate_widget_instances.
+
+ * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
+ to call Fupdate_widget_instances.
+
+ * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
+ (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
+
+ * glyphs.c: (update_frame_subwindows): deleted.
+ (Fupdate_widget_instances): new function for updating the dirty
+ state of widgets that might have changed.
+ (syms_of_glyphs): add Qupdate_widget_instances.
+ (full_list_hash): hash a list completely.
+ (image_instance_hash): use it for items and properties.
+
+ * frame-msw.c (mswindows_size_frame_internal): remove unused
+ variable.
+
+ * faces.h (struct face_cachel): fix comment.
+
+ * event-stream.c (Fdispatch_non_command_events): new
+ function. Process non-command events, forcing an event cycle
+ beforehand.
+ (syms_of_event_stream): declare.
+ (event_stream_force_event_pending): new function. Force an event
+ on the native event queue so that an event cycle will occur next
+ time we check.
-1998-06-19 David Bush <david.bush@adn.alcatel.com>
+ * event-msw.c:
+ (struct ntpipe_shove_stream):
+ (mswindows_enqueue_dispatch_event):
+ (mswindows_dequeue_dispatch_event):
+ (mswindows_cancel_dispatch_event):
+ (mswindows_pump_outstanding_events):
+ (mswindows_drain_windows_queue):
+ (mswindows_handle_paint):
+ (mswindows_wnd_proc):
+ (mswindows_key_to_emacs_keysym):
+ (get_process_input_waitable):
+ (emacs_mswindows_delete_stream_pair): re-indent file.
+ (mswindows_need_event): do not process further fds if the windows
+ fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
+ fixes the 100% cpu problem.
+ (reinit_vars_of_event_mswindows): set force_event_pending to 0.
+
+2000-03-15 Olivier Galibert <galibert@pobox.com>
+
+ * alloc.h: New.
+ * dumper.h: New.
+ * dumper.c: New.
+
+ * emacs.c: Moved dump file searching to dumper.c.
+ (Frunning_temacs_p): Fixed.
+
+ * alloc.c: Moved everything pdump-related to dumper.c. Removed
+ last_lrecord_type_index_assigned.
+
+2000-02-20 Olivier Galibert <galibert@pobox.com>
+
+ * symsinit.h: Added reinit parameter to init_console_stream
+ declaration.
- * editfns.c (Fuser_login_name): Modify to user new function
- user_login_name.
- (user_login_name): C only function to avoid Lisp object overhead
- Returns "unknown" instead of nil in Cygwin environment
+ * lisp.h: Added file parameter to pdump_load declaration.
+
+ * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
+ support. Added dump file searching.
+
+ * config.h.in: Added EMACS_PROGNAME.
+
+ * console-stream.c (init_console_stream): Fix reinitialisation
+ when running from temacs.
+
+ * alloc.c (pdump): Add id support.
+ (pdump_load): Add file parameter and signature/id support.
+
+ * Makefile.in.in: Add full pdump support.
+
+2000-03-15 SL Baur <steve@musashimaru.m17n.org>
+
+ * postgresql.c: Update documentation to reflect latest code
+ status.
+ (print_result): Show tuple counts in printed representation when
+ appropriate.
+ (Fpq_put_nbytes): MULE-ize.
+ (Fpq_get_line_async): Ditto.
+
+2000-03-14 SL Baur <steve@musashimaru.m17n.org>
+
+ * postgresql.c (Fpq_lo_import): Fix return value.
+ Suggested by: Kenji Itoh <keit@tpj.co.jp>.
+
+2000-03-13 Ben Wing <ben@xemacs.org>
+
+ * alloc.c (pdump_load):
+ Fix compile warning under mswin.
+
+2000-03-14 SL Baur <steve@musashimaru.m17n.org>
+
+ * postgresql.c: Mule-ization, bug fixes.
+ Use PG_CODING to encapsulate coding system name changes.
+ Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
+ (pg-coding-system): Create.
+
+ (Fpq_conn_defaults): Mule-ize.
+ (Fpq_connectdb): Mule-ize & bug fix.
+ (Fpq_connect_start): Mule-ize.
+ (Fpq_set_client_encoding): Mule-ize.
+ (Fpq_finish): Document `DEAD' connection status.
+ (Fpq_clear): Ditto.
+ (Fpq_pgconn): Mule-ize.
+ (Fpq_exec): Mule-ize & bug fix.
+ (Fpq_send_query): Ditto.
+ (Fpq_get_result): Ditto.
+ (Fpq_res_status): Mule-ize.
+ (Fpq_result_error_message): Mule-ize.
+ (Fpq_ntuples): fix comments.
+ (Fpq_fname): Mule-ize.
+ (Fpq_fnumber): Mule-ize.
+ (Fpq_ftype): fix comments.
+ (Fpq_get_value): Mule-ize.
+ (Fpq_cmd_status): Ditto.
+ (Fpq_cmd_tuples): Ditto.
+ (Fpq_oid_value): Ditto.
+ (Fpq_notifies): Ditto.
+ (Fpq_lo_import): Ditto.
+ (Fpq_lo_export): Ditto.
+ (Fpq_get_line): Ditto.
+ (Fpq_put_line): Mule-ize and bug fix.
+ (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
+
+2000-03-10 SL Baur <steve@musashimaru.m17n.org>
+
+ * postgresql.c (vars_of_postgresql): Mule-ize.
+ (Fpq_conn_defaults): Ditto.
+
+2000-03-12 Ben Wing <ben@xemacs.org>
+
+ * alloc.c (Fmake_byte_code):
+ * alloc.c (debug_string_purity_print):
+ * alloc.c (pdump_backtrace):
+ * alloc.c (pdump_get_indirect_count):
+ * alloc.c (pdump_register_sub):
+ * alloc.c (pdump_register_object):
+ * alloc.c (pdump_register_struct):
+ * alloc.c (pdump_dump_data):
+ * alloc.c (pdump_reloc_one):
+ Minor cleanups.
+
+ * console-msw.c:
+ * console-msw.c (GetConsoleHwnd):
+ * console-msw.c (msw_hide_console):
+ * console-msw.c (msw_show_console):
+ * console-msw.c (msw_ensure_console_buffered):
+ * console-msw.c (msw_output_console_string):
+ * console-msw.c (console_type_create_mswindows):
+
+ a) Added functions to manipulate the console window for use with
+ shell support.
+
+ b) Added support for writing text to the console, which is now
+ used under Windows when xemacs is not being run non-interactively,
+ to write text that would otherwise be destined for stdout because
+ under these circumstances, text written to stdout tends to
+ disappear and not be seen.
+
+ * console-msw.h:
+ * event-Xt.c:
+ * event-Xt.c (x_event_to_emacs_event):
+ * event-Xt.c (describe_event_window):
+ * events-mod.h (XEMACS_MOD_CONTROL):
+ * events.c:
+ * events.c (Fmake_event):
+ * events.c (character_to_event):
+ * events.c (event_to_character):
+ * events.c (format_event_object):
+ * events.c (Fevent_modifiers):
+ * events.h:
+ * events.h (struct key_data):
+ * events.h (struct button_data):
+ * events.h (struct misc_user_data):
+ * frame-x.c (Fcde_start_drag_internal):
+ * frame-x.c (Foffix_start_drag_internal):
+ * gpmevent.c (Freceive_gpm_event):
+ * keymap.c:
+ * keymap.c (bucky_sym_to_bucky_bit):
+ * keymap.c (control_meta_superify):
+ * keymap.c (make_key_description):
+ * keymap.c (keymap_lookup_directly):
+ * keymap.c (create_bucky_submap):
+ * keymap.c (keymap_store):
+ * keymap.c (define_key_check_and_coerce_keysym):
+ * keymap.c (define_key_parser):
+ * keymap.c (define_key_alternate_name):
+ * keymap.c (Fdefine_key):
+ * keymap.c (raw_lookup_key_mapper):
+ * keymap.c (struct map_keymap_unsorted_closure):
+ * keymap.c (map_keymap_unsorted_mapper):
+ * keymap.c (map_keymap_sort_predicate):
+ * keymap.c (map_keymap_sorted):
+ * keymap.c (accessible_keymaps_mapper_1):
+ * keymap.c (where_is_recursive_mapper):
+ * keymap.c (describe_map_mapper):
+ * keymap.c (describe_map_sort_predicate):
+ * keymap.c (describe_map):
+ * keymap.c (complex_vars_of_keymap):
+ And a number of other files, the key modifier preprocessor
+ constants that xemacs uses have names that conflict with constants
+ defined under MS Windows for other purposes, so they were renamed
+ to begin with the prefix XEMACS_. The variables that hold such
+ modifiers were changed to consistently be of type int to fix
+ various compile warnings.
+
+ * console.c (complex_vars_of_console):
+ * device.c:
+ * device-msw.c:
+ * device-msw.c (mswindows_finish_init_device):
+ * device-msw.c (msw_get_workspace_coords):
+ * device-msw.c (mswindows_device_system_metrics):
+ and various other files, added support for a new
+ device property called offset-workspace which returns the position
+ of the upper left corner of the workspace area and goes along with
+ the existing size-workspace property.
- * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
- equivalent for current user in Cygwin environment. Use new
- function user_login_name to get username.
+ * dialog-msw.c:
+ * dialog-msw.c (push_bufbyte_string_as_unicode):
+ * dialog-msw.c (mswindows_popup_dialog_box):
+ Added support for XEmacs-style accelerator specifications in
+ button text. Note: I didn't add support for this under X Windows,
+ and somebody needs to do this.
- * lisp.h: Declare user_login_name
+ * dialog.c:
+ * dialog.c (Fpopup_dialog_box):
+ Documented the support for accelerators that was just mentioned.
-1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
+ editfns.c (get_home_directory): Changed behavior under Windows
+ when HOME not defined; former behavior was irretrievably broken.
- * unexaix.c (make_hdr): Fixed bias computations so debugging info
- works again.
- Some other insignificant nitpicks.
+ * emacs.c:
+ * emacs.c (main_1):
+ * emacs.c (main):
+ * minibuf.c (clear_echo_area_internal):
+ * minibuf.c (echo_area_append):
+ * print.c:
+ * print.c (std_handle_out_external):
+ * print.c (std_handle_out_va):
+ * print.c (fatal):
+ * print.c (write_string_to_stdio_stream):
+ * print.c (output_string):
+ * print.c (debug_print):
+ * print.c (debug_backtrace):
+ * print.c (debug_short_backtrace):
+ Cleaned up the code that prints text to stdout so that this can be
+ changed to output into a console window instead under MS Windows,
+ as described above.
-1998-06-18 Andy Piper <andyp@parallax.co.uk>
+ * eval.c:
+ * eval.c (DEFEND_AGAINST_THROW_RECURSION):
+ * eval.c (internal_catch):
+ * eval.c (unwind_to_catch):
+ * eval.c (throw_or_bomb_out):
+ * eval.c (condition_case_1):
+ * eval.c (signal_1):
+ * eval.c (check_error_state_sanity):
+ * eval.c (call_with_suspended_errors_1):
+ * eval.c (call_with_suspended_errors):
+ * eval.c (reinit_vars_of_eval):
+ Added code to catch throw loops and check for a pesky bug that may
+ be gone now.
- * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
- creating the image list and make sure he bk color is transparent.
+ * event-msw.c:
+ * event-msw.c (key_needs_default_processing_p):
+ * event-msw.c (mswindows_wnd_proc):
+ * event-msw.c (mswindows_modifier_state):
+ * event-msw.c (emacs_mswindows_quit_p):
+ * event-msw.c (vars_of_event_mswindows):
+ a) Added support for using the alt key to select menu items as is
+ standard under MS Windows. This is controlled using the variable
+ menu-accelerator-enabled, just like under X Windows. There is an
+ option on the options menu to turn this support on. I really
+ think that it should be on by default under Windows, but I'm not
+ going to make this change yet.
-1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
+ b) Added support for dynamic display size changes under Windows.
- * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
- completed_timeouts. The timer could have expired.
+ * event-stream.c:
+ * event-stream.c (maybe_echo_keys):
+ * event-stream.c (Fnext_event):
+ * event-stream.c (command_builder_find_leaf):
+ * event-stream.c (lookup_command_event):
+ * event-stream.c (execute_command_event):
+ * event-stream.c (pre_command_hook):
+ * event-stream.c (post_command_hook):
+ * event-stream.c (syms_of_event_stream):
+ * event-stream.c (vars_of_event_stream):
+ * event-stream.c (complex_vars_of_event_stream):
+ * events.h (struct command_builder):
+
+ a) Tried to clean up a little bit the horribly written x-specific
+ accelerator code that crept into this file. I moved this code
+ into menubar-x.c where it belongs. I also needed to move the
+ command builder structure into the file events.h because it is
+ accessed directly by this accelerator code. What I didn't do, but
+ which should be done at some point, is to properly abstract this
+ code using device methods instead of the kludgy way that it
+ currently hooks into the event code.
+
+ b) Added the lisp variables this-command-properties and
+ last-command- properties, which should be used to synchronize two
+ adjacent commands in preference to playing games with the variable
+ this-command, which is typically what happens.
+
+ c) Added some slightly nasty code to hook into the lisp support
+ for shifted- motion-key selection. This is actually necessary for
+ somewhat complicated reasons, which are described in
+ simple.el. (NB: I think the proper thing would be to have the code
+ that calls the pre and post command hooks also call out to generic
+ lisp functions in simple.el, where all built-in stuff could be
+ added. I will think about this more.)
+
+ * event-unixoid.c (poll_fds_for_input):
+ * lread.c (readchar):
+ * redisplay-tty.c (tty_clear_frame):
+ * redisplay-x.c (x_get_gc):
+ * signal.c (interrupt_signal):
+ And a whole bunch of other files: fixed up places that printed
+ directly to stderr to instead call the function stderr_out so that
+ the changes I made under Windows work correctly.
+
+ * filemode.c (mode_string):
+ Warning fixes.
+
+ * frame-msw.c:
+ * frame-msw.c (mswindows_size_frame_internal):
+ Fixed the computation of frame size and position to keep the frame
+ within the workspace area, rather than within the physical
+ dimensions of the screen, so that the frame doesn't overlap window
+ manager decorations, such as the start menu and toolbar, typically
+ at the bottom of the screen.
+
+ * frame.c (vars_of_frame):
+ Changed the default frame title format under MS Windows to consist
+ of buffername-XEmacs, which is standard under MS Windows. I think
+ it might be a good idea to change this everywhere because I think
+ it is superior to the current frame title format, but this is the
+ kind of change that is likely to cause some people to get annoyed,
+ so I'm not making it.
+
+ * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
+
+ * gui-msw.c (mswindows_handle_gui_wm_command):
+ Fixed compile warnings.
+
+ * gui-x.c:
+ * gui-x.c (strdup_and_add_accel):
+ * gui-x.c (button_item_to_widget_value):
+ * gui-x.h:
+ Added code to automatically put an accelerator onto the beginning
+ of menu items that don't have one as is now the standard, and is
+ described more later. Also fixed things so that the menu item
+ name can be an evaluated expression, again a new standard.
-1998-06-17 Andy Piper <andyp@parallax.co.uk>
+ * gui.c:
+ * gui.c (gui_item_add_keyval_pair):
+ * gui.c (make_gui_item_from_keywords_internal):
+ * gui.c (gui_add_item_keywords_to_plist):
+ * gui.c (gui_item_accelerator):
+ * gui.c (gui_name_accelerator):
+ * gui.c (gui_item_included_p):
+ * gui.c (gui_item_display_flush_left):
+ * gui.c (gui_item_display_flush_right):
+ * gui.c (parse_gui_item_tree_item):
+ * gui.c (parse_gui_item_tree_children):
+ * gui.c (parse_gui_item_tree_list):
+ Mule-ized. Cleanup. GCPRO addition.
+
+ * line-number.c (buffer_line_number):
+ * lisp.h:
+ * lisp.h (EMACS_INT_MAX):
+ Added the manifest constant EMACS_INT_MIN corresponding to the
+ existing constant EMACS_INT_MAX. This is partially to fix compile
+ warnings under Windows, and partly for cleanliness.
- * console-msw.h: move XEMACS_RECT_WH inside frame
- parameters. define macors to access it.
+ * menubar-msw.c:
+ * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
+ * menubar-msw.c (msw_translate_menu_or_dialog_item):
+ * menubar-msw.c (displayable_menu_item):
+ * menubar-msw.c (populate_menu_add_item):
+ * menubar-msw.c (populate_or_checksum_helper):
+ * menubar-msw.c (populate_menu):
+ * menubar-msw.c (update_frame_menubar_maybe):
+ * menubar-msw.c (prune_menubar):
+ * menubar-msw.c (msw_char_is_accelerator):
+ * menubar-msw.c (unsafe_handle_wm_initmenu_1):
+ * menubar-msw.c (mswindows_handle_wm_command):
+ * menubar-msw.c (mswindows_handle_wm_initmenupopup):
+ * menubar-msw.c (mswindows_handle_wm_initmenu):
+ * menubar-msw.c (mswindows_update_frame_menubars):
+ * menubar-msw.c (mswindows_free_frame_menubars):
+ * menubar-msw.c (mswindows_popup_menu):
+ Fixed a bug in handling accelerators where an extra character
+ would be displayed in the menu item. Also generalized the
+ function displayable_menu_item because it is now used by the
+ dialog box code as well. And finally, added code in the functions
+ that create the menubar to extract a list of accelerators for the
+ top level menubar, which is used in the event code to determine
+ whether a particular alt-key combination should be used to invoke
+ a menu item, or should be passed through to access the standard
+ XEmacs keymap binding for this key combination.
+
+ Much needed GCPROing.
- * frame-msw.c (mswindows_init_frame_1): use new target_rect
- parameter to intialise desired sizing. (mswindows_init_frame_2):
- enable and size the frame to something sensible when we get
- here. (mswindows_set_frame_properites): use new
- mswindows_size_frame_internal function and size frame if frame
- parameters not just if init is finished - WM_SIZE happens too
- early for some specs. (mswindows_size_frame_internal): new
- function abstracted from mswindows_set_frame_properties.
- (Vmswindows_use_system_frame_size_defaults):
- new variable controls whether to allow the system to pick frame
- size defaults, defaults to nil.
+ * menubar-x.c:
+ * menubar-x.c (menu_item_descriptor_to_widget_value_1):
+ * menubar-x.c (menu_item_descriptor_to_widget_value):
+ * menubar-x.c (restore_in_menu_callback):
+ * menubar-x.c (x_popup_menu):
+ * menubar-x.c (menu_move_up):
+ * menubar-x.c (menu_move_down):
+ * menubar-x.c (menu_move_left):
+ * menubar-x.c (menu_move_right):
+ * menubar-x.c (menu_select_item):
+ * menubar-x.c (command_builder_operate_menu_accelerator):
+ * menubar-x.c (menu_accelerator_junk_on_error):
+ * menubar-x.c (command_builder_find_menu_accelerator):
+ * menubar-x.c (Faccelerate_menu):
+ * menubar.h:
+ Moved a whole bunch of code here that was previously in
+ event-stream.c as described above. There is also code connected
+ to the new standard of adding an accelerator to the beginning of
+ menu items that don't have one as described above and below.
+
+ * menubar.c:
+ * menubar.c (menu_parse_submenu_keywords):
+ * menubar.c (Fmenu_find_real_submenu):
+ * menubar.c (Fnormalize_menu_item_name):
+ * menubar.c (syms_of_menubar):
+ * menubar.c (vars_of_menubar):
+ * menubar.c (complex_vars_of_menubar):
+
+ a) Cleaned up a bunch of documentation and improved it.
+
+ b) XEmacs now automatically adds an accelerator onto the beginning
+ of any menu items that don't have one. I did this because there
+ will inevitably be some menu items on the main menubar that don't
+ have accelerators on them because the package that adds that
+ particular menu item hasn't yet been fixed up to have accelerators
+ in them and it looked rather strange to have some items with and
+ some items without accelerators, especially since even in items
+ without accelerators, you can, at least under windows, still
+ access the item through an accelerator corresponding to the first
+ character in the item's name. If people don't like this behavior,
+ I can add a variable to turn it off optionally, but I'm not sure
+ this is a good idea because we really do need to have accelerators
+ on all of the menu items, and if a package doesn't like the
+ accelerators being put on the first character, then it should put
+ the accelerators where they belong.
+
+ c) I made a behavior change, which is that the descriptor that
+ specifies the text of the menu item, which formerly was just a
+ string, can now also be an evaluated expression. This makes this
+ descriptor parallel with all of the others, which could also be
+ evaluated expressions. This also obviates the need for the
+ keyword :label, which was previously listed in the documentation
+ as unimplemented, and which was for the same purpose.
+
+ d) GCPROing.
- * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
- than duplicated code.
+ * ntproc.c:
+ * ntproc.c (new_child):
+ * ntproc.c (sys_spawnve):
+ * ntproc.c (find_child_console):
+ * ntproc.c (sys_kill):
+ Fixed compile warnings. By the way, this file should really go
+ away entirely, and this will happen as soon as Kirill makes his
+ final round of process cleanups, which affect the function
+ call-process.
-1998-06-15 Colin Rafferty <colin@xemacs.org>
+ * process-nt.c:
+ * process-nt.c (struct nt_process_data):
+ * process-nt.c (find_process_from_pid):
+ * process-nt.c (send_signal_the_nt_way):
+ * process-nt.c (enable_child_signals):
+ * process-nt.c (find_child_console):
+ * process-nt.c (send_signal_the_95_way):
+ * process-nt.c (nt_finalize_process_data):
+ * process-nt.c (ensure_console_window_exists):
+ * process-nt.c (nt_create_process):
+ * process-nt.c (nt_kill_child_process):
+ * process-nt.c (nt_kill_process_by_pid):
+ * process-nt.c (nt_open_network_stream):
+ * process-nt.c (vars_of_process_nt):
+ Copied over code from Emacs 20.5 to correctly send signals to sub-
+ processes under Windows 95. Also added code to automatically
+ create and hide console window when a sub-process is created under
+ Windows 95, which obviates the need for the separate runemacs.exe
+ executable, and finally implemented some variables that were
+ implemented in Emacs 20.5, but previously not in XEmacs. These
+ include mswindows- start-process-share-console and
+ mswindows-start-process-inherit-error-mode. (Both of these only
+ apply to Windows 95.)
+
+ * regex.c (regex_compile): Fixed a compile warning.
+
+ * select-msw.c:
+ * select-msw.c (mswindows_own_selection):
+ * select-msw.c (mswindows_get_foreign_selection):
+ * select-msw.c (mswindows_disown_selection):
+ * select-msw.c (console_type_create_select_mswindows):
+ * select-msw.c (syms_of_select_mswindows):
+ Cleaned up the file and implemented the device method
+ selection_exists_p, which had accidentally been left out. Also
+ removed four lisp functions that were remnants from before the
+ time when the selection code was properly device abstracted.
+ These functions are no longer needed because there are generic
+ equivalents, and because they were added recently and don't exist
+ in FSF Emacs, I don't think there's any problem with just deleting
+ them.
- * Makefile.in.in: Made EXTW_LINK expand properly.
+ * sysdep.c:
+ * sysdep.c (sys_subshell):
+ Fixed a compile warning, although in this case there's probably
+ something wrong with this code, and it ought to be looked into
+ more thoroughly by somebody who understands it.
-1998-06-12 Martin Buchholz <martin@xemacs.org>
+ * window.c:
+ * window.c (Fwindow_text_area_height):
+ * window.c (Fwindow_width):
+ * window.c (Fwindow_full_width):
+ * window.c (Fwindow_pixel_width):
+ * window.c (debug_print_window):
+ * window.c (syms_of_window):
+ Added functions window-text-area-height and window-full-width,
+ which are functions for returning various width and height
+ characteristics of a window. (One of these functions is necessary
+ for making the file dialog box work correctly, and the other one
+ was added for completeness.) Also added a table to the
+ documentation for window-height which describes the entire scheme
+ for accessing width and height characteristics of a window.
- * redisplay.c (vars_of_redisplay): default value of
- column-number-start-at-one should be NIL!
+2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
-1998-06-11 Martin Buchholz <martin@xemacs.org>
+ * nt.c (fstat): Added a comment for another problem with
+ non-encapsulated [f]stat(), reported by Adrian Aichner
+ <aichner@ecf.teradyne.com>.
- * casefiddle.c:
- (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
+2000-03-11 Andy Piper <andy@xemacs.org>
-1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
+ * window.c (make_dummy_parent): initialize subwindow instance
+ cache.
+ (Fset_window_configuration): zero extent_modiff.
- * eldap.c (Fldap_search_internal): Use build_ext_string instead of
- build_string to avoid crashes under Mule.
+2000-03-10 Andy Piper <andy@xemacs.org>
-1998-06-13 Andy Piper <andyp@parallax.co.uk>
+ * redisplay.c (Fredraw_frame): reset the changed_set flags so that
+ more changes can be triggered.
+ (Fredisplay_frame): ditto.
+ (Fredraw_device): ditto.
+ (Fredisplay_device): ditto.
+ (redisplay_frame): make non-static.
+ (redisplay_frame): call update_frame_gutter_geometry outside of
+ display proper.
- * ntplay.c (play_sound_data_1): don't delete the sound data until
- the next sound is played and the previous one finished.
+ * gutter.h: declare update_frame_gutter_geometry.
-1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
+ * redisplay.h: declare redisplay_frame.
- * fileio.c (directory-sep-char): Escape backslashes.
+ * gutter.c (update_frame_gutter_geometry): move geometry changes
+ in update_frame_gutters here. Geometry changes can only occur
+ outside of redisplay.
+ (update_frame_gutters): remove geometry change code.
+ (Fredisplay_gutter_area): make sure that we are in display when we
+ update and that we have flushed any size changes.
-1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
+2000-03-11 Andy Piper <andy@xemacs.org>
- * event-stream.c: Fix docstring reference.
+ * alloc.c (pdump_dump_data): remove i & count shadows.
-1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
+2000-02-27 Mike Alexander <mta@arbortext.com>
- * alloc.c (make_float): Remove useless initialization of `next'
- field.
- (make_pure_float): Ditto.
+ * sysdep.h: Declare pdump_read_file
- * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
+ * sysdep.c (pdump_read_file): New function
-1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
+ * alloc.c (pdump_load): Call pdump_read_file to get the portable
+ dump data
- * fileio.c (Fmake_directory_internal): Remove conditionals
- on WINDOWSNT when calling mkdir.
+2000-03-10 SL Baur <steve@musashimaru.m17n.org>
- * ntproc.c: Deleted the following unused functions:
- register_child, reap_subprocess, sys_wait.
+ * lrecord.h: add `lrecord_type_pgsetenv'.
- * nt.c (sys_rename): Ifzeroed this implementation.
- Deleted the following unused functions:
- sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
- sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
- sys_read, sys_write.
- Merger sys_fopen and sys_open with sysdep.c implementation.
+2000-03-08 SL Baur <steve@musashimaru.m17n.org>
- * sysdep.c: Removed MS-DOS code.
- (sys_rename): Deal with Microsoft rename weirdness.
- (sys_open): Implemented for Windows.
- (sys_fopen): Ditto.
- (sys_mkdir): Ditto.
+ * symsinit.h: declare (vars|syms)_of* functions.
+ * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
-1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
+2000-03-06 SL Baur <steve@musashimaru.m17n.org>
- * buffer.c (complex_vars_of_buffer): Removed %t description from
- the docstring.
+ * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
-1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
+ * inline.c: Include postgresql.h lrecord stuffs to placate buggy
+ GCCs.
- * scrollbar-msw.c: initialize the cbSize element of the
- SCROLLINFO struct before calling SetScrollInfo. WinNT seems
- to ignore the value of cbSize, but Win95 (and I presume Win98)
- appear to want it set to sizeof(SCROLLINFO).
+ * emacs.c (main_1): Call postgres initialization code.
-1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
+ * postgresql.h: New file. PostgreSQL RDBMS support.
+ * postgresql.c: New file.
- * event-stream.c: Defined Qcancel_mode_internal.
- (syms_of_event_stream): defsymbol'ed it.
+2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
- * events.h: Externed it.
+ * redisplay-output.c (redisplay_output_display_block): Disable
+ redundant code.
- * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
+2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
-1998-06-04 Oliver Graf <ograf@fga.de>
+ * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
+ (Fcanna_henkan_next): Ditto.
+ (Fcanna_bunsetu_henkou): Ditto.
+ (Fcanna_henkan_kakutei): Ditto.
+ (Fcanna_henkan_end): Ditto.
+ (Fcanna_henkan_quit): Ditto.
+ (Fcanna_henkan_next): Set retun value correctly.
+ (c2mu): Use unsigned char instead of signed char.
- * frame-x.c (x_cde_destroy_callback): free the data
- (cde-start-drag-internal) corrected root position, 21.1 needs this
- hardcoded in Button events
- (offix-start-drag-internal) corrected root position
+2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
-1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
+ * emacs.c (main_1): Always call syms_of_gui.
+ * inline.c: include gui.h
- * process-nt.c (signal_cannot_launch): Use signal_simple_error()
- instead of error().
+2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
-1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
+ * redisplay.c (Vvisible_bell): Renamed from visible_bell and
+ converted to Lisp_Object.
+ (Qtop_bottom): New variable.
+ (syms_of_redisplay): Initialize it.
+ * redisplay.h (Vvisible_bell): Ditto.
+ * sound.c (ding): Ditto and check if Vvisible_bell is nil.
+ * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
+ only flash top and bottom.
- * dialog-msw.c (button_width): Removed `inline' from the function
- declaration.
+2000-03-08 Andy Piper <andy@xemacs.org>
-1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
+ * buffer.c (Frename_buffer): record new buffer name the right way.
- * frame-msw.c: add WS_VISIBLE flag to the first frame created.
- Note that adding this flag to subsequent frames causes problems.
+2000-03-08 Andy Piper <andy@xemacs.org>
-1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
+ * glyphs.c (update_subwindow): increase hash depth so that widget
+ items get picked up properly.
- * glyphs-eimage.c (png_instantiate) move 'struct
- png_memory_storage tbr' out of nested block to avoid dangling
- reference
+ * redisplay-output.c (compare_runes): increase hash depth so that
+ widget items get picked up properly.
-1998-06-02 Andy Piper <andyp@parallax.co.uk>
+2000-03-08 Andy Piper <andy@xemacs.org>
- * faces.h:
- * faces.c: rename 3d-object -> gui-element. add toolbar face which
- inherits from gui-element.
+ * gutter.c (output_gutter): add some debug.
- * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
- with existing code, generate masks correctly.
+ * glyphs.h (struct Lisp_Image_Instance): add display_hash.
+ (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
+ (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
-1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
+ * redisplay-output.c (compare_runes): use display_hash to
+ determine if glyphs really are not the same.
- * glyphs-eimage.c: Changed included header for gifs to use
- Gifreader instead of giflib.
+ * glyphs.c (update_subwindow): check display_hash to see if
+ anything really needs to be updated. If not then do
+ nothing. Record the display_hash after updating.
+ (image_instance_equal): compare the image_instance face also.
- * glyphs-x.c: removed the image-related functions that were
- moved into glyphs-eimage.
+2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
-1998-06-02 David Bush <david.bush@adnb.alcatel.com>
+ * redisplay.h: Fix comment style.
- * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
- if built without X Windows support.
+2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
-1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
+ * consle-msw.h (struct mswindows_frame):
+ Added new member paint_pending to indicate whether a WM_PAINT
+ magic event has been queued for this frame.
- * fns.c (Fconcat): Synch docstring with new reality.
+ * event-msw.c (mswindows_drain_windows_queue):
+ Don't queue a WM_PAINT magic event if one is already queued.
+ (emacs_mswindows_handle_magic_event): clear paint_pending flag.
-1998-06-03 SL Baur <steve@altair.xemacs.org>
+ * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
- * frame.c: Remove reference to msdos.h (which is going away).
- Suggested by Hrvoje Niksic and Kirill Katsnelson.
+2000-03-07 Didier Verna <didier@xemacs.org>
-1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
+ * dired.c: #include `regex.h' after `sysfile.h'.
- * glyphs-eimage.c (jpeg_instantiate): Fix handling of
- grayscale images/
+2000-03-06 Martin Buchholz <martin@xemacs.org>
+ * sound.c (init_nas_sound): Fix compiler warning.
-1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
+ * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
+ (FREE_STRUCT_P):
+ (MARK_STRUCT_AS_FREE):
+ (MARK_STRUCT_AS_NOT_FREE):
+ Make `gcc -fstrict-aliasing' work properly.
- * events.h: Fixed commentary about misc-user scrollbar events.
+2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
- * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
- object as an event channel, instead of window object.
- (x_update_horizontal_scrollbar_callback): Ditto.
+ * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
+ (mswindows_delete_device): Call CoUnnitialize().
-1998-05-29 Andy Piper <andyp@parallax.co.uk>
+ * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
- * ntplay.c (play_sound_data_1) new function. convert alloca data
- to malloc if necessary.
- (play_sound_file): if the file is not in our path then convert to
- data and play.
+2000-02-25 <CraigL@DyCon.com>
-1998-06-01 SL Baur <steve@altair.xemacs.org>
+ * process-nt.c: MinGW now has <shellapi.h>, but still needs
+ <errno.h>.
- * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
- * msdos.c (Frecent_doskeys): Ditto.
+ * sysdep.c: This extern declaration for environ prevents MinGW
+ from finding the variable in CRTDLL.DLL.
- * unexalpha.c (unexec): Reverse parameters in call to memcpy.
- Suggested by Reggie Perry <perry@zso.dec.com>
+ * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
+ windows headers.
+ (SHGFI_EXETYPE): ..
+ (WM_MOUSEWHEEL): ..
+ (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
+ definitions.
+ (MMRESULT): Removed, now defined in cygwin's windows headers.
+ (TIMECAPS): ..
+ (uid_t,gid_t,pid_t,ssize_t): ..
+ (_timeb): Removed, MinGW defines both _timeb and timeb.
+ (HAVE_H_ERRNO): Added.
+ (HAVE_TZNAME): Added, configure is not detecting this.
- * buffer.h: Eliminate size in declaration.
+2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
-1998-06-01 Olivier Galibert <galibert@pobox.com>
+ * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
+ * syntax.c (syntax_match): Use it.
- * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
+ * cmds.c: Import auto-fill-chars from FSF Emacs.
+ (Vauto_fill_chars): New variables.
+ (internal_self_insert): Check Vauto_fill_chars.
+ (vars_of_cmds):
+ Declare auto-fill-chars as a Lisp variable and initialize it.
-1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
+2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
- * gui.c (gui_item_init): Changed the default value for config member
- from Qunbound to Qnil.
+ * fileio.c (Fmake_symbolic_link):
+ (Ffile_symlink_p):
+ Run handlers even if local machine doesn't have symlinks.
-1998-06-01 Greg Klanderman <greg@alphatech.com>
+2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
- * indent.c (vmotion_pixels): Don't #define abs().
+ * event-msw.c (mswindows_drain_windows_queue):
+ Don't generate paint magic events for non-XEmacs frames.
-1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
+2000-03-05 Andy Piper <andy@xemacs.org>
- * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
- respectively.
+ * redisplay.c (redisplay_frame): generate_displayable_area and
+ friends assumes that we are not in GC, we therefore have to make
+ sure that this doesn't happen.
-1998-05-30 Andy Piper <andyp@parallax.co.uk>
+ * gutter.c (calculate_gutter_size): generate_displayable_area
+ assumes that we are not in GC, we therefore have to make sure that
+ this doesn't happen.
- * glyphs.h: add xbm declarations.
+2000-03-05 Martin Buchholz <martin@xemacs.org>
- * console.h: add xbm_instantiate_method device method.
+ * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
- * glyphs.c (check_valid_xbm_inline) (xbm_validate)
- (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
- (xbm_possible_dest_types): moved here from glyphs-x.c. use
- locate_pixmap_file device method and read_bitmap_data_from_file
- instead of XmuReadBitmapDataFromFile.
- (xbm_instatntiate): make a device method.
+2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
- * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
- new function that just calls XmuReadBitmapDataFromFile.
- (x_xbm_instatntiate): device method from xbm_instantiate.
+ * redisplay.c (regenerate_window): Make sure we set a sane value
+ for end_pos even if we jump out of the loop.
+ (regenerate_window): Answer Ben's question :-).
+ (start_end_of_last_line): Add may_error argument.
+ (start_of_last_line):
+ (end_of_last_line): Pass may_error = 0.
+ (end_of_last_line_may_error): New function.
+ (pixel_to_glyph_translation): Use it, so we don't crash in
+ event_to_glyph.
- * glyphs-msw.c (read_bitmap_data) (NextInt)
- (read_bitmap_data_from_file): new functions copied from Xmu
- sources.
- (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
- inline data to an mswindows bitmap.
- (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
- (mswindows_xbm_instantiate): mswindows-ized versions of the X
- functions.
+2000-03-04 Andy Piper <andy@xemacs.org>
-1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
+ * window.h (struct window): add gutter_extent_modiff.
- * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
- `modeline-visible-p'.
- Declared specifier lisp variables at the beginning oh the file
- as static.
+ * window.c (allocate_window): zero out gutter_extent_modiff.
- * procimpl.h (struct process_methods): Changed semantics of
- create_process method so it accepts lisp strings instead of
- char pointers.
+ * redisplay.h: declare sync_display_line_structs.
- * process.c (Fstart_process_internal): Moved building of
- unix style argv from here to process-unix.c, ...
+ * redisplay.c (add_glyph_rune): add a better comment.
- * process-unix.c (unix_create_process): ... right here.
+ * redisplay-output.c (sync_display_line_structs): made non-static.
+ (compare_runes): remove unneccesary glyph cachel access.
- * process-nt.c (nt_create_process): Changed this function to
- support new semantics, so avoided a GC problem.
+ * gutter.h: declare gutter_extent_signal_changed_region_maybe.
- * events.c (Fmake_event): Document misc-user events properties.
- (Fmake_event): Do not allow arbitrary objects for channel property
- of misc-user events.
- (Fmake_event): Change misc-user event validation: it is function
- which is required, not button.
+ * gutter.c (output_gutter): don't output the gutter if extent
+ changes only involve extents in buffers. use 4 sets of display
+ lines.
+ (gutter_extent_signal_changed_region_maybe): new function. Mark
+ extents in gutters as changed.
+ (update_frame_gutters): use 4 sets of display lines.
+ (reset_gutter_display_lines): ditto.
+ (free_frame_gutters): ditto.
+ (redraw_exposed_gutter): force output of gutters.
- * event-msw.c (mswindows_user_event_p): Recognize misc user events as
- user events.
- (mswindows_enqueue_misc_user_event): Added function.
- (mswindows_bump_queue): Removed function.
- (mswindows_enqueue_magic_event): Support NULL HWND parameter.
- (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
- (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
- (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
- really nothing, which is my personal favorite thing.
+ * frame.h (struct frame): add 4 sets of gutter display lines.
- * console-msw.h: Removed prototype for mswindows_bump_queue().
- Added prototype for mswindows_enqueue_misc_user_event().
+ * extents.c: (extent_changed_for_redisplay): signal changes to
+ extents in strings in the gutter as well as extents in buffers.
- * menubar-msw.c (mswindows_handle_wm_command): Use
- mswindows_enqueue_misc_user_event().
+2000-03-02 Andy Piper <andy@xemacs.org>
- * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
+ * gutter.c (specifier_vars_of_gutter): cosmetic changes.
- * dialog-msw.c (dialog_proc): Ditto.
+ * frame.c (Fmake_frame): make sure the gutters get initialized
+ after the frame is visible.
+ (set_frame_selected_window): re-arrange compilation macros a
+ little.
+ (change_frame_size_1): mark gutters changed.
- * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
- (mswindows_handle_scrollbar_event): Use frame, not window, for misc
- user events channel.
+ * device.c (Fset_device_class): mark gutters changed.
-1998-05-29 Greg Klanderman <greg@alphatech.com>
+2000-03-01 Andy Piper <andy@xemacs.org>
- * window.c (Fwindow_displayed_text_pixel_height): was relying on
- incorrect semantics of vmotion_pixels which has been fixed. don't
- use it anymore as it can't easily be used.
+ * window.c (window_top_frame_gutter_height): deleted.
+ (window_bottom_frame_gutter_height): ditto.
+ (window_left_frame_gutter_height): ditto.
+ (window_right_frame_gutter_height): ditto.
+ (window_top_gutter_height): don't use them.
+ (window_bottom_gutter_height): ditto.
+ (window_left_gutter_width): ditto.
+ (window_right_gutter_width): ditto.
+ (Fsplit_window): ditto.
+ (Fwindow_pixel_edges): don't use border dimensions here.
- * indent.c (vmotion_pixels): fix off by one bug moving up. also
- the motion was reported incorrectly if you tried to go past end of
- buffer.
+ * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
+ (update_scrollbar_instance): ditto.
-1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
+ * redisplay.c (generate_modeline): don't take gutters into account.
+ (generate_modeline): ditto.
+ (redisplay_frame): small gutter display optimization.
- * toolbar.h: Removed misleading commentary, as Martin suggested.
+ * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
-1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
+ * redisplay-msw.c (mswindows_output_vertical_divider): don't take
+ gutters into account.
- * lisp.h: Extern Qactivate_menubar_hook.
+ * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
+ for window position and type.
- * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
- run_hook ().
+ * gutter.c (get_gutter_coords): fix for frame gutters.
+ (update_frame_gutters): update frame geometry if the gutters have
+ changed.
+ (init_frame_gutters): record current gutter geometries.
-1998-05-29 Andy Piper <andyp@parallax.co.uk>
+ * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
+ var.
+ (mswindows_widget_instantiate): ditto.
- * glyphs-msw.c: use BPLINE macro.
+ * frame.h (struct frame): add current_gutter_bounds.
- * select-msw.c (mswindows-selection-exists-p)
- (mswindows-delete-selection): doc string fixes.
+ * frame.c (change_frame_size_1): position window and minibuffer
+ appropriately taking into account the frame gutters.
- * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
- unpressable. warning elimination.
+ * frame-x.c: (x_initialize_frame_size): take into account the
+ frame gutters.
-1998-05-28 Martin Buchholz <martin@xemacs.org>
+2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
- * alloc.c (dbg_constants):
- * dbxrc:
- * gdbinit:
- Remove toolbar_data debugging code, since that lrecord has
- also been removed.
+ * emacs.c (data-directory): Xref `locate-data-file' in docstring.
-Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
+2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
- * alloc.c: zap cached value of (user-home-directory), so that
- it's not undumped.
+ * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
- * buffer.c: From init_buffer(), separated out code that
- determined the initial directory for the *scratch* buffer, and
- put them into a function called "init_initial_directory()".
- The initial directory is now available as a global "char *"
- called initial_directory.
+1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
- * buffer.h: Added extern entries for initial_directory[] and
- init_initial_directory().
+ * file-coding.c (reset_decoding_stream): Clear previous
+ detection state when autodetect.
- * editfns.c: added new elisp function "user-home-directory",
- which basically returns getenv("HOME"), but attempts to use
- other values if $HOME isn't set.This may have to be tweaked in
- the future as, under Unix, "/" is used if $HOME isn't set (this
- probably should be set to the current directory). To support
- this, a new C function, "get_home_directory()", now exists,
- which returns the "home directory", as a "char *" string.
+2000-02-29 Didier Verna <didier@xemacs.org>
- * emacs.c: Rearrange NT initialization order so that
- environment/registry variables will be properly entered into
- Vprocess_enviroment.
+ * extents.c (set_extent_glyph_1): don't require extents to be
+ attached.
- * fileio.c: replaced egetenv("HOME") with calls to the new
- get_home_directory().
+2000-02-27 Andy Piper <andy@xemacs.org>
- * lisp.h: Added function prototypes for uncache_home_directory()
- and get_home_directory(), along with lisp prototypes for
- Fuser_home_directory() and friends.
+ * gutter.c (Fset_default_gutter_position): don't default left and
+ right gutter visibility to t.
+ (Fset_default_gutter_position): run
+ default-gutter-position-changed-hook.
+ (syms_of_gutter): add default-gutter-position-changed-hook.
- * nt.c: replaced getenv("HOME") with calls to the new
- get_home_directory().
+2000-02-26 Andy Piper <andy@xemacs.org>
+
+ * specifier.c (Fmake_specifier): add gutter references.
+
+ * gutter.h (RAW_WINDOW_GUTTER): new macro.
+
+ * lisp.h: declare Fvalid_plist_p.
- * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
- warnings about getcwd(), etc. not having prototypes.
+ * gutter.c (gutter_geometry_changed_in_window): mark the modeline
+ as changed.
+ (default_gutter_visible_p_changed_in_window): invalidate gutter as
+ well as its visibility so that it gets reconstructed.
+ (construct_window_gutter_spec): new function. Construct a string
+ to be displayed in the gutter from a plist of strings. Take care
+ to only use elements that are declared as visible.
+ (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
+ WINDOW_GUTTER.
+ (gutter_validate): allow plists of strings in the specifier.
+ (gutter_specs_changed): construct the real_gutter from the gutter
+ specs using construct_window_gutter_spec.
+ (gutter_visible_validate): gutter-visible is a new specifier type.
+ (Fgutter_visible_specifier_p): new function for the new specifier.
+ (syms_of_gutter): declare gutter-visible and
+ Fgutter_visible_specifier_p.
+ (specifier_type_create_gutter): intitalize new gutter-visible
+ specifier.
+ (reinit_specifier_type_create_gutter): ditto.
+ (specifier_vars_of_gutter): use new specifier type for gutter
+ visibility.
+ (init_frame_gutters): construct real_gutter correctly.
+ (Fgutter_specifier_p): beef up documentation.
+ (Fgutter_size_specifier_p): ditto.
-1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
+ * winslots.h: add real_gutter slots.
- * process-nt.c (send_signal): Emulate SIGHUP.
- (validate_signal_number): Ditto.
+2000-02-25 Andy Piper <andy@xemacs.org>
- * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
- remove MOD_SHIFT from ASCII characters.
- (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
- F10 is pressed.
+ * device-msw.c: Be kind to older cygwin versions. From Raymond
+ Toy <toy@rtp.ericsson.se>.
-1998-05-24 Oliver Graf <ograf@fga.de>
+ * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
+ earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
- * frame-x.c (cde-start-drag-internal): added filename and multi-
- data transfers
- (x_cde_convert_callback) dito
+2000-02-25 Martin Buchholz <martin@xemacs.org>
-1998-05-26 Oliver Graf <ograf@fga.de>
+ * elhash.c (MARK_OBJ): Practice macro hygiene.
- * frame-x.c: include event-mod.h also with CDE
- (x_cde_convert_callback) made the thing working
- (cde-start-drag-internal) also debugging
+2000-02-24 Martin Buchholz <martin@xemacs.org>
-1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
+ * miscplay.c: s/__inline__/inline/g;
+ * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
+ (get_device_compdc): INLINE ==> static inline
+ * *.[ch]: Change INLINE to INLINE_HEADER globally.
+ find -name '*.h' | \
+ xargs global-replace \
+ 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
- * m/sparc.h:
- * getloadavg.c:
- * malloc.c:
- * unexec.c:
- * mem-limits.h:
- - add __OpenBSD__ where __NetBSD__ was found.
- - TODO: replace platform-specific conditional compilation by
- feature tests in configure.in.
+2000-02-25 Andy Piper <andy@xemacs.org>
-1998-05-15 Greg Klanderman <greg@alphatech.com>
+ * window.c (window_top_frame_gutter_height): new function.
+ (window_top_window_gutter_height): ditto.
+ (window_top_gutter_height): use them.
+ (window_bottom_frame_gutter_height): new function.
+ (window_bottom_window_gutter_height): ditto.
+ (window_bottom_gutter_height): use them.
+ (window_left_window_gutter_width): new function.
+ (window_left_frame_gutter_width): ditto.
+ (window_left_gutter_width): use them.
+ (window_right_window_gutter_width): new function.
+ (window_right_frame_gutter_width): ditto.
+ (window_right_gutter_width): use them.
+ (window_pixel_height): new function. calulate window pixel height
+ with frame gutter involvement.
+ (Fsplit_window): calculate new sizes taking frame gutters into
+ account.
+ (window_char_height_to_pixel_height): don't include frame gutters.
+ (window_char_height): use window_pixel_height.
+ (window_pixheight): rename from window_pixel_height.
+ (change_window_height): use it.
+ (window_pixel_height_to_char_height): don't include frame gutters.
+ (window_char_width_to_pixel_width): ditto.
+
+2000-02-25 Andy Piper <andy@xemacs.org>
+
+ * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
+ if it is.
+
+2000-02-24 Martin Buchholz <martin@xemacs.org>
+
+ * alloc.c (staticpro):
+ (staticpro_nodump):
+ (dumpstruct):
+ (dumpopaque):
+ (pdump_wire):
+ (pdump_wire_list):
+ (compact_string_chars):
+ (pdump_dump_wired):
+ Convert: if (foo) abort(); ==> assert (! foo);
+
+ * eldap.c (Fldap_search_basic):
+ (Fldap_add):
+ (Fldap_modify):
+ (Fldap_delete):
+ Fix compiler warnings, and possible crashes if (random) return
+ value were to be used.
+
+2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
+
+ * device-msw.c: Workaround ResetDC failure.
+
+ * frame-msw.c (msprinter_init_frame_3): Added an assertion before
+ applying a devmode.
+
+ * redisplay-msw.c (get_frame_dc): Added start_page_p.
+ (mswindows_text_width): Do not start printer page.
+
+ * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
+
+ * glyphs-msw.c: Added image methods to msprinter console and
+ msprinter-specific image instantiation.
+
+2000-02-20 Mike Alexander <mta@arbortext.com>
+
+ * select-msw.c (Fmswindows_set_clipboard): GC protect more things
+ to avoid crashes when selection-sets-clipboard is on
+ (mswindows_own_selection): ditto
- * window.c (Fwindow_displayed_text_pixel_height): New function.
- (syms_of_window): DEFSUBR it.
+2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
+
+ * glyphs-msw.c:
+ * redisplay-msw.c (get_frame_dc):
+ (get_frame_compdc):
+ * console-msw.h:
+ * device-msw.c (mswindows_init_device):
+ (mswindows_delete_device):
+ (msprinter_init_device):
+ (msprinter_delete_device):
+ * frame-msw.c (mswindows_init_frame_1):
+ (mswindows_delete_frame):
+ (msprinter_init_frame_3):
+ (msprinter_delete_frame): Move compatible DC to device object from
+ frame object, for both mswindows and msprinter. Only one at a time
+ is needed, it is a real waste to have one per frame!
- * indent.c (Fvertical_motion_pixels): New function - request
- movement in pixels.
- (vmotion_pixels): helper.
- (syms_of_indent): DEFSUBR.
- * lisp.h: declaration for vmotion_pixels().
+2000-02-23 Andy Piper <andy@xemacs.org>
- * indent.c (Fvertical_motion): Add optional third argument PIXELS,
- to request returning motion in pixels.
- (Fvertical_motion_pixels): Remove, functionality merged into
- Fvertical_motion.
- * window.c (window_scroll): call Fvertical_motion with 3 arguments.
- (Fmove_to_window_line): ditto.
- * lisp.h: Change declaration for Fvertical_motion.
+ * glyphs.c: add dynamic width and height elements.
+ (image_instance_equal): ditto.
- * window.c: rename window-text-pixel-{height,width,edges} to
- window-text-area-pixel-*.
+ * glyphs-widget.c (widget_query_geometry): calculate width and
+ height dynamically if required.
+ (initialize_widget_image_instance): initialize dynamic dimensions.
+ (widget_instantiate): pick-up dynamic dimensions.
-1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
+ * glyphs.h (struct Lisp_Image_Instance): add width and height for
+ dynamic determination. Add appropriate macros.
- * tooltalk.c (vars_of_tooltalk) added staticpro for
- Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
+ * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
+ dimensions safe.
+ (WINDOW_GUTTER_SIZE): ditto.
+ (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
-1998-05-27 Andy Piper <andyp@parallax.co.uk>
+ * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
+ inline.
+ (get_frame_dc): ditto.
- * faces.c: create a new 3d_object_face, make modeline and
- vertical_divider faces fallback to this rather than the default.
+ * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
+ here.
-1998-05-21 Andy Piper <andyp@parallax.co.uk>
+2000-02-23 Martin Buchholz <martin@xemacs.org>
- * s/cygwin32.h: define charsets for cygwin.
+ * XEmacs 21.2.31 is released.
-1998-05-25 Andy Piper <andyp@parallax.co.uk>
+2000-02-22 Ben Wing <ben@xemacs.org>
- * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
- and coordinates. resize bitmaps if we have already settled on a
- different size.
+ * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
- * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
+2000-02-22 Andy Piper <andy@xemacs.org>
-1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
+ * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
- * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
+2000-02-21 Mike Sperber <mike@xemacs.org>
- * menubar-msw.c (mswindows_handle_wm_command): Ditto.
+ * .dbxrc:
+ * .gdbinit:
+ * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
+ variables.
- * gui.h: Ditto.
+2000-02-21 Mike Sperber <mike@xemacs.org>
- * gui-x.c (popup_selection_callback): Ditto.
+ * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
- * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
+2000-02-21 Martin Buchholz <martin@xemacs.org>
- * gui.c (get_callback): Renamed to get_gui_callback.
+ * XEmacs 21.2.30 is released.
-1998-05-17 Martin Buchholz <martin@xemacs.org>
+2000-02-20 Martin Buchholz <martin@xemacs.org>
- * glyphs.h: order rearrangement.
+ Performance hacking.
+ * *.c (syms_of_*):
+ Add INIT_LRECORD_IMPLEMENTATION macros, paired with
+ DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
+ * emacs.c (main_1):
+ * lisp.h (DEFUN):
+ * console.c (DEFVAR_CONSOLE_LOCAL_1):
+ * buffer.c (DEFVAR_BUFFER_LOCAL_1):
+ * symeval.h (DEFVAR_SYMVAL_FWD):
+ * symbols.c (guts_of_unbound_marker):
+ Make all c_readonly objects also lisp_readonly and marked for life.
+ * lrecord.h (struct lrecord_implementation):
+ Document flags better.
+ * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
+ * lrecord.h (DECLARE_LRECORD):
+ * lrecord.h (XSETRECORD):
+ * lrecord.h (RECORDP):
+ * lrecord.h (RECORD_TYPEP):
+ * lrecord.h (RECORD_MARKER): New.
+ * lrecord.h (error_check_*):
+ * lrecord.h (CONCHECK_NONRECORD):
+ * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
+ * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
+ * lrecord.h (set_lheader_implementation):
+ * lrecord.h (enum lrecord_type): New.
+ * symeval.h (SYMBOL_VALUE_MAGIC_P):
+ * alloc.c (disksave_object_finalization_1):
+ * alloc.c (mark_object):
+ * alloc.c (lrecord_type_index):
+ * alloc.c (tick_lcrecord_stats):
+ * alloc.c (Fgarbage_collect):
+ * alloc.c (init_alloc_once_early):
+ * alloc.c (pdump_load):
+ * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
+ * alloc.c (lrecord_type_index): Delete.
+ Make lisp object type indexes be constant.
+ Makes (byte-compile) 5% faster.
+ Put all marker functions into their own array.
+ Makes (garbage-collect) 5% faster.
+ Optimize SYMBOL_VALUE_MAGIC_P.
+ Makes (byte-compile) 2-3% faster.
+ * config.h.in (gc_checking_assert): New.
+ * alloc.c: Use gc_checking_assert().
+ * .dbxrc: Make compatible with new object type implementation.
+ * .gdbinit: Make compatible with new object type implementation.
+ * alloc.c: Delete all symbols defined only for debugging, such as
+ Lisp_Type_Vector and lrecord_charset.
+
+2000-02-21 Andy Piper <andy@xemacs.org>
+
+ * gui-msw.c (Fmswindows_shell_execute): fix file location
+ problems.
+
+ * buffer.c (Fkill_buffer): remove buffer from alist buffer
+ unshowing so that set_window_buffer doesn't undo
+ kill_buffer_hook's hard work.
+
+ * glyphs-widget.c (tab_control_query_geometry): don't count the
+ first item when calculating geometry.
+
+ * glyphs.c (map_subwindow): remove redundant code.
+ (update_frame_subwindows): be more circumspect about when to
+ update subwindows.
+
+ * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
+ when items haven't changed. Update faces if faces have changed as
+ well as just the widget face.
+ (x_tab_control_update): Update faces if faces have changed as well
+ as just the widget face.
+
+2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
+
+ * device-msw.c: (mswindows_delete_device): Remove redundant DDE
+ registration.
+ (build_syscolor_string): Use mswindows_color_to_string to try to
+ get a named color.
+ (mswindows_device_system_metrics): Reverse the foreground and
+ background colors so that they match the documentation.
+
+ * objects-msw.c: (mswindows_X_color_map): tweak some values so
+ they match the default Windows palette.
+ (mswindows_color_to_string): New function.
+
+2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
+
+ * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
+
+2000-02-18 Olivier Galibert <galibert@pobox.com>
+
+ * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
+ WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
+
+ * symbols.c (init_symbols_once_early): Removed obsolete
+ DATA_SEG_BITS related kludge.
+ (defvar_magic): Ditto.
+
+ * malloc.c: Removed obsolete DATA_SEG_BITS
+ * ralloc.c: Ditto.
+ * mem-limits.h: Ditto.
+
+ * Makefile.in.in: Removed obsolete HAVE_SHM
+ * emacs.c: Ditto.
+
+2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
+
+ * device-msw.c (mswindows_delete_device): Free DDE string
+ handles.
+
+2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
+
+ * keymap.c (get_keyelt):
+ * unexnt.c (unexec):
+ * vm-limit.c (memory_warnings):
+ * ntheap.c (recreate_heap):
+ * ntheap.h (UNINIT_PTR):
+ * select-msw.c (Fmswindows_get_clipboard):
+ (Fmswindows_set_clipboard):
+ * objects-msw.h (MSWINDOWS_BAD_HFONT):
+ * objects-msw.c:
+ * menubar-msw.c (displayable_menu_item):
+ * glyphs-msw.c:
+ * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
+ * sysdep.c (sys_subshell):
+ * process-nt.c (nt_create_process):
+ * nt.c (normalize_filename):
+ (dostounix_filename):
+ (unixtodos_filename):
+ * ntproc.c (win32_executable_type):
+ * ntplay.c (play_sound_data_1):
+ (play_sound_file):
+ * editfns.c (get_home_directory):
+ * event-msw.c (struct winsock_stream):
+ (mswindows_dde_callback):
+ * device-msw.c (msprinter_init_device):
+ (msprinter_get_devmode_copy): Frobbed syntax frivolities.
- * device-tty.c (tty_asynch_device_change): Warning suppression.
- * device-x.c (x_device_system_metrics): Warning suppression.
- Make Doc strings consistent with coding standards.
+ * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
+ mswindows_clear_toolbar were swapped!
-1998-05-24 Martin Buchholz <martin@xemacs.org>
+ * objects-msw.c:(colormap_t):
+ (fontmap_t):
+ * emacs.c (struct standard_args): Fixed const jumble.
- * general.c: multiple definition of `Qicon'. general.c seems
- like a good home for Qicon.
+ * glyphs-widget.c (update_widget): Fixed comparison notation.
-1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
+ * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
- * This patch is to fix compilation warnings under Windows.
+ * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
+ __declspec(noreturn) syntax.
- * s/windowsnt.h: Encapsulate getpid with sys_getpid.
- Added prototypes for FSF inherited functions, with which XEmacs is
- sprinkled thoroughly.
- Removed some #if 0 code. Bracketed some more definitions, probably
- related to Visual C versions prior to 4 (we do not support them).
+2000-02-19 Martin Buchholz <martin@xemacs.org>
- * sysfloat.h (logb): Finally, get logb() prototyped.
+ * eldap.c (Fldap_open):
+ (Fldap_search_basic):
+ (Fldap_add):
+ (Fldap_modify):
+ Use new coding system conversion macros.
- * sysfile.h: Added Windows specific includes.
- Removed old Windows specific code bracketed with #if 0.
+2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
- * sysdep.h: Added prototype for xrealpath().
+ * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
- * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
+1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
- * symsinit.h: Added prototypes for syms_of_dired_mswindows,
- vars_of_dired_mswindows and init_ntproc (Grrr).
+ * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
+ (Fldap_add, Fldap_modify, Fldap_delete): New functions
- * realpath.c: Added Windows specific include files.
- (xrealpath): Conditionalized declaration of some auto variables on
- S_IFLNK, to avoid warnings.
+ * eldap.c (Qadd, Qreplace): New constant symbols
+ (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
+ interruptions by XEmacs signals
+ Remove unnecessary calls to slow_down_interrupts and
+ speed_up_interrupts
+ (Fldap_search_basic): Renamed from Fldap_search_internal
+ Added new optional parameter VERBOSE that triggers the
+ display of progress messages
+ Remove unnecessary calls to slow_down_interrupts and
+ speed_up_interrupts
+ LDAP result code analysis rewritten
+ (Fldap_add, Fldap_modify, Fldap_delete): New functions
+ (syms_of_eldap): Define the new symbols and functions
- * ntproc.c: Disabled some compiler warnings. This file is going to
- die, so I have not cleaned it up much.
- (set_process_dir): Const parameter.
- (Fwin32_short_file_name): Down CHECK_* macros to one argument.
- (Fwin32_long_file_name): Ditto.
- (Fwin32_set_process_priority): Ditto. Why didn't I remove these
- three functions?
- * nt.h: Added prototypes for set_process_dir and convert_time.
+2000-02-17 Martin Buchholz <martin@xemacs.org>
- * nt.c: More include files.
- (getpwnam): Consted char* argument.
- (get_emacs_configuration): Const return value.
- (opendir): Const argument.
- (stat): Casted converstion long->short.
- (stat): Removed ad hoc and questionable support for non-MSC compile.
- (sys_pipe): Removed unused auto variable.
- (_sys_read_ahead): Removed calls to DebPrint.
- (sys_read): Ditto, in 2 places.
- (term_ntproc): Added unused int parameter to signal handler, to
- avoid a warning when compiling a call to signal().
- (msw_sigset): Properly return old signandler or NULL instead of void.
+ * realpath.c: Determine PATH_MAX maximally portably.
- * floatfns.c (Flogb): Casted arguments to unary minus to signed.
+ * insdel.c (bytecount_to_charcount): Optimize.
+ The function used to be optimized for entirely ASCII sequences.
+ Now it is optimized for successive characters from the same
+ charset. This also wins big for _mostly_ ASCII sequences.
- * gmalloc.c (morecore): Ditto.
- (_free_internal): Ditto.
+ * fileio.c (Ffile_truename): convert return from realpath() using
+ Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
+ - Rewrite GCPROing slightly.
- * lread.c (parse_integer): Ditto.
+ * sysdep.c (sys_open): Do filename conversion, like all other
+ sys_* functions. Fixes bug:
+ (let ((file-name-coding-system 'iso-8859-2))
+ (write-region x y latin2-name))
+ ==> writes filename using internal encoding.
- * dired-msw.c: Added several include files.
+2000-02-18 Martin Buchholz <martin@xemacs.org>
- * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
- of Compilers to Shut Up.
+ * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
+ * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
+ * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
+ * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
+ * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
+ * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
+ * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
+ (CONST_IF_NOT_DEBUG): Delete.
+ * alloc.c (this_one_is_unmarkable): Delete.
+ (mark_object): Don't check for this_one_is_unmarkable. Use the
+ c_readonly flag instead.
+ * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
- * callproc.c: Added #includes to suppress warnings under Windows.
- (init_callproc): Removed #if0'ed code and unused variables.
+2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
-1998-05-25 Andy Piper <andyp@parallax.co.uk>
+ * event-msw.c (mswindows_drain_windows_queue):
+ (emacs_mswindows_handle_magic_event): Remove attempt to optimise
+ away redundant repaint events.
- * device-msw.c (mswindows_device_system_metrics): do planes in a
- way consistent with X.
+2000-02-17 Andy Piper <andy@xemacs.org>
- * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
- use SetPixel, use DIBits functions.
- (xpm_to_eimage): frob colors more closely like xpm deos.
+ * redisplay.h: declare mark_redisplay_structs.
- * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
- to be closer to X version.
+ * redisplay.c (redisplay_window):
+ (redisplay_frame): don't check subwindows_state_changed.
+ (mark_redisplay): mark gutters here.
- * event-msw.c: use tooltip string directly.
+ * glyphs.c: (instantiate_image_instantiator): always layout if we
+ haven't done so already.
+ (allocate_image_instance): don't mark as dirty.
+ (update_subwindow): bind inhibit_quit.
- * redisplay-msw.c: reinstate Kirill's bg pixmap change.
+ * gutter.c (mark_gutters): new function.
- * objects-msw.c: frob rgb colors that only Kyle uses.
+ * glyphs-x.c (x_update_widget): Always resize to get round a
+ widget bug.
- * dialog-msw.c (button_width): INLINE -> inline.
+ * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
+ breaking absolutely everything.
-1998-05-23 SL Baur <steve@altair.xemacs.org>
+ * gutter.h: declare mark_gutters.
- * getloadavg.c (getloadavg): Fix typo.
+2000-02-16 Martin Buchholz <martin@xemacs.org>
-1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
+ * XEmacs 21.2.29 is released.
- * objects-msw.c (mswindows_initialize_font_instance): Added support
- for font character sets.
- Replaced 'XXX' with '####' in comments throughout the file.
+2000-02-15 Olivier Galibert <galibert@pobox.com>
-1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
+ * fns.c (size_bit_vector): Fix computation of the size.
- * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
- console_type_create_dialog_mswindows(), to initialize Windows dialog
- support.
+2000-02-15 Martin Buchholz <martin@xemacs.org>
- * symsinit.h: Prototyped the above functions.
+ * *.[ch]: Change CONST to const globally.
+ find -name '*.[ch]' | \
+ xargs global-replace \
+ 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
+ - Remove vestigial references to CONST_IS_LOSING
- * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
- checks to dialog.c...
+2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
- * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
- device must support dialog boxes, and the descriptor must supply at
- least one button.
+ * event-msw.c (mswindows_drain_windows_queue): Remove hack to
+ bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
+ events instead of dispatching them directly.
+ (mswindows_handle_paint): New function to do repainting.
+ (mswindows_wnd_proc):
+ (emacs_mswindows_handle_magic_event): Call above function.
- * dialog-msw.c: New file, dialogs for Windows.
+2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
-1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
+ * objects-msw.c (mswindows_create_font_variant): Return the new
+ font handle.
+ (initialize_font_instance): Get font metrics from the underlined
+ variant of the font to cope with the case where the underlined
+ font has a bigger descent.
- * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
- (Fldap_search_internal): Removed unused variable `err'
+2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
- * eldap.h: Moved Lisp_LDAP declaration here instead of using a
- forward declaration
+ * gui.c (gui_item_accelerator): Return the first underlined
+ character in item name.
-1998-05-17 Martin Buchholz <martin@xemacs.org>
+2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
- * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
- defined. Therefore there is no need to handle the case when
- HAVE_LDAP is undefined. Similarily, there is no reason to have
- any code wrapped within `#ifdef emacs', since this code is only
- useful within an emacs. This simplifies the code significantly.
+ * lisp.h: Added Qprinter.
- * inline.c: Include eldap.h only if HAVE_LDAP.
- * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
- already does that.
+ * general.c (syms_of_general): Initialized it.
-1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
+ * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
+ (get_frame_dc):
+ (get_frame_compdc): Made inline.
- * unexnt.c (copy_executable_and_dump_data_section): Suppress
- printing dump stats when building without DEBUG_XEMACS.
- (dump_bss_and_heap): Ditto.
+ * console.h (struct console_methods): Added eject_page method.
-1998-05-21 Andy Piper <andyp@parallax.co.uk>
+ * frame.h: Added FRAME_DISPLAY_P and friends.
+ Aligned backslahes in many macros in more readable fashion.
+ Added page_number to struct frame, and an accessor macro
+ for it.
- * gnuclient.c: don't suppress window system if there is no display
- and we are running under mswindows. send 'mswindows device type if
- we are in this situation.
+ * defice.h: Added DEVICE_DISPLAY_P and friends.
-1998-05-20 Andy Piper <andyp@parallax.co.uk>
+ * device.c (Fdevice_printer_p): Used these.
- * general.c:
- * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
+ * frame.c (allocate_frame_core): Initialize page number.
+ (Fprint_job_page_number):
+ (Fprint_job_eject_page): Implemented.
- * glyphs-msw.c: change cursor imgae type name to resource. Fix
- some nits.
+ * frame-msw.c (msprinter_eject_page): Added method.
+ (msprinter_start_page): Added.
-1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
+ * window.c (Fwindow_truncated_p): Fixed docstring.
+ (Fwindow_last_line_visible_height): Implemented.
- * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
- {top,bottom}-{left,right} values in addition to
- {top,bottom}_{left,right}.
+2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
-1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
+ * frame.c (change_frame_size_1): Undo 2000-02-03 change.
- * fileio.c (Fmake_temp_name): Remove unreached code.
+1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
- * process-nt.c (validate_signal_number): Use
- signal_simple_error().
+ * syntax.c (scan_words): Always advance at least one character.
-1998-05-19 Martin Buchholz <martin@xemacs.org>
+2000-02-13 Andy Piper <andy@xemacs.org>
- * unexhp9k800.c:
- * sound.c (vars_of_sound):
- * sysdep.c (reset_sigio_on_device):
- * window.c (window_bottom_gutter_height):
- unexhp9k800.c:258: warning: implicit declaration of function
- `calculate_checksum'
- sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
- sysdep.c:1012: warning: unused variable `owner'
- window.c:993: warning: `window_right_toolbar_width' defined but not used
+ * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
+ to make sure the glyph is in the cachels.
-1998-05-19 Andy Piper <andyp@parallax.co.uk>
+ * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
+ global image instance flag.
+ (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
+ (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
- * glyphs-msw.c (mswindows_create_resized_mask)
- (mswindows_create_resized_bitmap): new funnctions split out from
- mswindows_resize_dibitmap_instance.
+ * glyphs.c (allocate_image_instance): set dirty bits correctly.
+ (Fset_image_instance_property): mark layout as changed.
+ (invalidate_glyph_geometry_maybe): mark layout as changed.
+ (glyph_width): use new NEEDS_LAYOUT macro.
+ (glyph_ascent): ditto.
+ (glyph_descent): ditto.
+ (glyph_height): ditto.
+ (image_instance_layout): mark layout as clean after laying out.
+ (update_subwindow): don't mark layout as clean here.
- * glyphs-msw.h: declare new resize functions.
+ * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
+ should no longer be needed.
- * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
- functions so that the original bitmaps are preserved.
+ * glyphs-x.c (x_update_widget): sanitize asserts.
+ (x_finalize_image_instance): sanitize assignment to widgets.
- * sheap.c: fixup static heap exhausted error to avoid FAQs.
+ * glyphs-widget.c (widget_instantiate): don't need to clear the
+ layout flag here.
- * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
- color if we are trying to output 0 depth bg pixmap.
+2000-02-13 Martin Buchholz <martin@xemacs.org>
- * scrollbar-msw.c: warning elimination.
+ * sysdep.c (getcwd): Use standard prototype.
+ * sysdep.h (getcwd): Use standard prototype.
-1998-05-18 Martin Buchholz <martin@xemacs.org>
+ * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
+ (sequence, start, end).
+ Remove redundant type checking.
+ (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
+ view of `caller-protects') to avoid a crash where the real fix was
+ found elsewhere.
- * frame-x.c (x_update_frame_external_traits): Start preprocessor
- directives in column 1.
+2000-02-12 Martin Buchholz <martin@xemacs.org>
- * search.c (skip_chars): Avoid using xzero with arrays, since some
- compilers get confused by the construct &array.
+ * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
-1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
+ * s/sol2.h: Remove feature macro initialization.
- * objects-msw.h:
- * objects-msw.c: Changed the charset value for a new font from
- "don't care" to "ansi".
+ * alloc.c (alloc_lcrecord): Add more type checking assertions.
+ (vector_hash): New. Code from internal_hash.
+ * lrecord.h:
+ Fix up allocation subsystem comments.
- * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
+ * config.h.in: Add __EXTENSIONS__ for Solaris.
-1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
+ * systime.h (EMACS_GETTIMEOFDAY): New.
+ (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
+ Remove Solaris-specific code.
+ Use void* for the (ignored) second arg for gettimeofday().
- * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
- modifier on control chars.
- Use IsCharAlpha() instead of isaplha().
+ * elhash.c (hash_table_hash): Implement it, finally.
+ * elhash.c: Use hashcode_t.
-1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
+ * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
+ * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
- * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
+ * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
+ * fns.c (size_bit_vector):
+ * alloc.c (size_vector):
+ (make_vector_internal):
+ (make_bit_vector_internal):
+ (sweep_bit_vectors_1):
+ Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
-1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
+2000-02-10 Martin Buchholz <martin@xemacs.org>
- * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
- charset when creating font.
- (mswindows_initialize_color_instance): Do not create brush along
- with a color.
- (mswindows_finalize_color_instance): Do not delete it then.
+ * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
+ Include strings.h to avoid warnings for bzero and strcasecmp.
- * objects-msw.h (struct mswindows_color_instance_data): Removed
- brush slot, and corresponding accessor macro.
+2000-02-10 Olivier Galibert <galibert@pobox.com>
-1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
+ * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
+ * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
- * toolbar.c: Removed toolbar_data lrecord implementation.
- (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
- with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
- (compute_frame_toolbar_buttons): Ditto.
- (CHECK_TOOLBAR): Ditto.
- (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
- (update_frame_toolbars): Do not check for changed buffer
- here. Toolbar information is provided by cached specs in
- windows. The check for buffer is eliminated becuase toolbars are
- marked changed in set_frame_selected_window() in frame.c
- Added check for changed toolbars geometry.
- (compute_frame_toolbars_data): Removed unused second parameter;
- Adjusted callers of this static function throughout the file.
- (init_frame_toolbars): Initialize current_toolbar_size.
- (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
- what is its current expansion, for clarity.
- (init_frame_toolbars): Ditto.
- (init_device_toolbars): Ditto.
- (init_global_toolbars): Ditto.
+ * fns.c (size_bit_vector): New. Declare bit vectors as a
+ sequence.
- * toolbar.h: Removed definition of toolbar_data lrecord.
- Added accessor macros FRAME_TOOLBAR_BUTTONS and
- FRAME_CURRENT_TOOLBAR_SIZE.
- Added macro DEVICE_SUPPORTS_TOOLBARS_P.
+2000-02-10 Olivier Galibert <galibert@pobox.com>
- * toolbar-x.c (x_output_toolbar): The same change as in
- toolbar-msw.c
- (x_output_toolbar): Ditto.
- (x_redraw_exposed_toolbar): Ditto.
+ * symeval.h (struct symbol_value_magic): Remove "next" kludge and
+ use a value field instead.
+ (symbol_value_forward_forward): Use value field.
+ (DEFVAR_SYMVAL_FWD): Use value field.
+ (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
+ (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
+ (DEFVAR_CONST_INT): Ditto.
+ (DEFVAR_BOOL): Ditto.
+ (DEFVAR_CONST_BOOL): Ditto.
+ (DEFVAR_INT_MAGIC): Ditto.
+ (DEFVAR_BOOL_MAGIC): Ditto.
- * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
- buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
- (mswindows_output_toolbar): Ditto.
- (mswindows_output_toolbar): Ditto.
+ * symbols.c (guts_of_unbound_marker): Use value field.
+ * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
+ * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
- * frame.c (mark_frame): Removed marking of arrays, according to
- frameslots.h change.
- (nuke_all_frame_slots): Ditto.
- (set_frame_selected_window): Mark toolbars changed when
- last_nonminibuf_window changes.
+ * lisp.h: Declare dumpopaque and noninteractive1.
- * frame.h (struct frame): Moved some slots to frameslots.h.
- Added current_toolbar_size array.
- Changed references from toolbar_data to toolbar_buttons in macros
- FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
- FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
- FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
+ * alloc.c (dumpopaque): Added.
+ (pdump_dump_opaquevec): Added.
+ (pdump): Call pdump_dump_opaquevec to dump opaque data.
+ (pdump_load): Reload opaque data. Sync noninteractive1 with
+ noninteractive.
- * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
- Moved arrays of lisp objects here from frame.h: toolbar_size,
- toolbar_visible_p, toolbar_border_width.
- Removed toolbar_data slot and added toolbar_buttons.
+2000-02-10 Andy Piper <andy@xemacs.org>
-1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
+ * glyphs.c (image_instance_layout): if the size changes, mark it
+ as such.
- * symsinit.h: Externed syms_of_process_nt()
+ * redisplay-output.c (redisplay_output_layout): Update the
+ subwindow here.
+ (redisplay_output_subwindow): ditto.
- * emacs.c (main_1): Call syms_of_process_nt()
+ * glyphs.c (update_subwindow): make sure we reset flags for
+ layouts as well as everything else.
+
+ * glyphs-widget.c (layout_layout): don't need to set the instances
+ dimensions here.
+
+2000-02-09 Martin Buchholz <martin@xemacs.org>
+
+ * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
+ not HAVE_DLOPEN, which is a lower-level thing.
+
+ * .cvsignore: Ignore gmon.out
+
+2000-02-09 Hamish Macdonald <hamishm@lucent.com>
+
+ * .cvsignore: Ignore portable dumper xemacs.dmp file
+
+2000-02-09 Andy Piper <andy@xemacs.org>
+
+ * redisplay-output.c (redisplay_output_layout): be more clever
+ about when we output based on the changed flags.
+
+ * glyphs.h (struct image_instantiator_methods): add update_method.
+ (struct Lisp_Image_Instance): add changed flags. Declare new
+ macros for manipulating them.
+
+ * glyphs.c (allocate_image_instance): renamed glyph -> parent.
+ (image_instance_parent_glyph): find an image_instance's parent
+ glyph or image_instance.
+ (image_instance_layout): mark the size as changed.
+ (set_image_instance_dirty_p): new function. mark an image
+ instance, plus all of its parents, as dirty.
+ (Fset_image_instance_property): use it.
+ (Fglyph_animated_timeout_handler): use it.
+ (update_subwindow): call update_widget and device methods for
+ update_subwindow. Mark all changed flags as clean.
+ (Fresize_subwindow): mark size as changed.
+
+ * glyphs-x.c (x_finalize_image_instance): try and detect gc
+ failures.
+ (x_update_subwindow): only resize subwindows here.
+ (x_update_widget): new function. Update all changed properties of
+ a widget.
+ (x_resize_subwindow): deleted.
+ (x_widget_set_property): deleted.
+ (x_progress_gauge_set_property): deleted.
+ (x_progress_gauge_update): new function. Implement recorded
+ changes.
+ (x_tab_control_update): ditto.
+ (x_tab_control_set_property): deleted.
+ (console_type_create_glyphs_x): declare new functions.
+ (image_instantiator_format_create_glyphs_x): ditto.
+
+ * glyphs-widget.c (widget_set_property): mark text changed.
+ (update_widget): new function. Update properties of a widget.
+ (widget_instantiate): for layouts make sure we set their
+ children's parent correctly.
+ (tab_control_set_property): new function. Record changes that will
+ take place under redisplay's control.
+ (progress_gauge_set_property): ditto.
+ (image_instantiator_progress_guage): declare new functions.
+ (image_instantiator_tab_control): ditto.
+
+ * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
+ now.
+ (mswindows_update_widget): new function. Update all properties on
+ a widget that have changed.
+ (mswindows_button_update): new function. Update a button's set
+ state.
+ (mswindows_tab_control_update): new function. Update the items in
+ a tab.
+ (mswindows_tab_control_set_property): deleted.
+ (mswindows_progress_gauge_update): new function. Update the
+ progress gauge's progress.
+ (mswindows_widget_set_property): deleted. This is all done
+ asynchronously now.
+ (mswindows_progress_gauge_set_property): ditto.
+ (console_type_create_glyphs_mswindows): declare new methods.
+ (image_instantiator_format_create_glyphs_mswindows): ditto.
- * process-nt.c: Quote process arguments by a call to Lisp function
- `nt-quote-process-args'.
- (syms_of_process_nt): New function.
- (nt_send_process): Flush data stream after each write, to avoid
- leaving buffered data.
- (nt_send_process): When blocked on process output, wait for
- process to slurp more for progressively increasing time intervals.
+ * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
+ (msprinter_set_frame_properties): ditto.
-1998-05-17 Martin Buchholz <martin@xemacs.org>
+ * console.h (struct console_methods): Add update_widget_method.
- * window.c (have_undivided_common_edge): Make file-local function
- static.
- (map_windows): Return 0 if all map functions successful.
- Fix typos.
+2000-02-09 Andy Piper <andy@xemacs.org>
- * winslots.h: Use unlikely names for local variables in macros to
- avoid shadowing warnings.
+ * gui-msw.c (Fmswindows_shell_execute): Make
+ mswindows-shell-execute industrial strength.
-1998-05-17 Andy Piper <andyp@parallax.co.uk>
+2000-02-08 Martin Buchholz <martin@xemacs.org>
- * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
- so that we re-output if the toolbar size has changed.
+ * lrecord.h: Make macro argument `props' match member function `plist'.
+ * fns.c (Fget):
+ * fns.c (Fput):
+ * fns.c (Fremprop):
+ * fns.c (Fobject_plist):
+ * alloc.c:
+ * symbols.c:
+ Object property list frobbing cleanup.
+ - Allow any lisp object (compared with `eq'), not just symbols, as
+ keys in object plists.
+ - Move symbol plist frobbing into symbols.c, where it belongs.
+ - Move string plist frobbing into alloc.c, where it belongs.
+ - Everything's an lrecord now, so no need to test for symbolp, etc.
+ - Fix up doc strings to refer to PROPERTY, not PROPNAME.
-1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
+ * extents.c: Reorder code to remove declarations.
- * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
+ * frame.h (store_in_alist): Remove useless declaration.
- * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
+2000-02-07 Martin Buchholz <martin@xemacs.org>
- * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
- greater).
+ * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
+ * config.h.in: Add HAVE_XCONVERTCASE.
-1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
+2000-02-07 Andy Piper <andy@xemacs.org>
- * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
- get bitmap manifest constants defined.
+ * glyphs.c (image_instance_layout): undo 2000-01-29 change since
+ it breaks many things.
- * console-msw.h: Include system files in angle brackets, not in
- quotes.
+2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
- * window.c (specifier_vars_of_window): Fixed a typo in
- `vertical-divider-line-width' docstirng.
+ * src/syntax.h (SYNTAX_START_P): Check whether the two chars
+ actually can start a common comment type.
+ * src/syntax.h (SYNTAX_END_P): ditto for end.
-1998-05-16 Olivier Galibert <galibert@pobox.com>
+2000-02-07 Martin Buchholz <martin@xemacs.org>
- * line-number.c (delete_invalidate_line_number_cache): Use an
- EMACS_INT.
- (buffer_line_number): Remove dangerous, plain wrong when using
- 64bits emacs ints, cast.
+ * XEmacs 21.2.28 is released.
- * insdel.c (buffer_delete_range): Use an EMACS_INT.
+2000-02-06 Martin Buchholz <martin@xemacs.org>
- * cmds.c (Fforward_line): Use EMACS_INTs.
+ * event-Xt.c (x_keysym_to_character): New.
+ (maybe_define_x_key_as_self_inserting_character): New.
+ (x_has_keysym): New.
+ Auto-define all keys on the keyboard as self-insert-key.
- * search.c (bi_scan_buffer): Change to use EMACS_INTs.
- (scan_buffer): Ditto.
- (bi_find_next_newline_no_quit): Remove useless cast.
- (find_next_newline_no_quit): Ditto.
- (find_next_newline): Ditto.
- (find_before_next_newline): Use an EMACS_INT.
+2000-02-02 Martin Buchholz <martin@xemacs.org>
- * lisp.h: Change scan_buffer to pass EMACS_INTs.
+ * menubar.c (vars_of_menubar): A small code simplification.
-1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
+ * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
- * menubar-msw.c (mswindows_handle_wm_command): Ditto.
+ * ExternalShell.c:
+ * ExternalClient.c:
+ * EmacsShell-sub.c:
+ * EmacsManager.c:
+ * EmacsFrame.c:
+ Use consistent style for specifying X resources.
- * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
+ * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
+ This makes (dontusethis-set-symbol-value-handler) actually usable.
- * gui-x.c (popup_selection_callback): Use it.
+ * lrecord.h (lrecord_decription_type):
+ * alloc.c (pdump_register_sub):
+ (pdump_dump_data):
+ (pdump_reloc_one):
+ Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
+ Comply with XEmacs coding style.
+ All lrecord descriptions updated to use XD_LISP_OBJECT with 2
+ args, and XD_LISP_OBJECT_ARRAY with 3 args.
- * gui.h (get_callback): Declare it.
+ * keymap.c (Faccessible_keymaps):
+ Make (accessible-keymaps map "\C-h") do the Right Thing.
+ Make (accessible-keymaps map []) do the Right Thing.
+ Make (accessible-keymaps map "") do the Right Thing.
+ (check_keymap_definition_loop): New function.
+ (keymap_store_internal): Keep luser from shooting self in foot,
+ via (define-key ctl-x-4-map "p" global-map).
+ Remove fullness slot from struct Lisp_Keymap, since hash tables
+ are now reliable.
+ (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
- * gui.c (get_callback): New function.
+2000-01-30 Martin Buchholz <martin@xemacs.org>
-1998-05-15 SL Baur <steve@altair.xemacs.org>
+ * redisplay.c (init_redisplay): Fix small memory leak.
+ * elhash.h:
+ * elhash.c (pdump_reorganize_hash_table):
+ Rename from reorganize_hash_table. Change prototype.
+ Reuse the original memory for hentries. Save 100k.
+ * alloc.c (PDUMP_READ): new macro.
+ * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
+ * alloc.c: No need to #ifndef before #undef.
- * window.c (have_undivided_common_edge): Guard scrollbar specific
- stuff.
- (window_needs_vertical_divider_1): Ditto.
+ * print.c: Allow debug_print() to print readably by modifying
+ debug_print_readably. Use consistent variable names.
-1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
+ * .dbxrc: Try to get things to work even if stopped in a function
+ without source available by explicitly specifying source files.
+2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
- * emacs.c (decode_path): Eliminate compiler warning.
- (Fdecode_path): Renamed to Fsplit_path.
- (Fsplit_string_by_char): New function.
+ * unexnt.c (_start): Removed bogus code which caused loading heap
+ from differrent executable file.
+ Removed bogus assignment to _fmode, which caused inconsistencies.
-1998-05-14 Damon Lipparelli <lipp@primus.com>
+2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
- * winslots.h: close comment
+ * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
+ Have spawnve encapsulation regard DONT_ENCAPSULATE.
+ Do not preliminary `#define signal sigset'.
-1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
+ * systime.h: Do not prototype environ on windows nt and cygwin,
+ this conflicts with system header.
- * callproc.c: Removed declared and unused variable Qbuffer_file_type.
+ * syssignal.h: Use correct define for WINDOWSNT
- * bufslots.h: Removed buffer_file_type slot.
+ * sysdep.h: Do not prototype environ on windows nt, this conflicts
+ with system header.
- * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
- buffer local flags.
- (complex_vars_of_buffer): Removed buffer-file-type variable and
- its default reference.
+ * sysdep.c (near start of file): Fixed commentary and rearranged
+ ifdefs in readable order.
+ (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
+ (start_of_text):
+ (end_of_text):
+ (end_of_data): Do not compile in if using PDUMP.
-1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
+ * symsinit.h: Prototyped vars_of_nt().
- * faces.c (complex_vars_of_faces): Defined
- Vvertical_divider_face.
- (vars_of_faces): Staticpro it.
+ * ntproc.c (windows9x_p): Added, instead of os_subtype.
+ (find_child_console): Use it.
+ (sys_kill): Use it.
- * faces.h: Externed Vvertical_divider_face.
+ * ntheap.h: Do not extern os_subtype.
- * redisplay-x.c (x_output_vertical_divider): Use
- Vvertical_divider_face to draw the divider instead of modeline
- face.
+ * ntheap.c (cache_system_info): Do not cache unneeded:
+ nt_major_version, nt_minor_version and os_subtype.
+ (recreate_heap): Do not compile in when PDUMPing.
- * redisplay-msw.c (mswindows_output_vertical_divider): Draw
- divider face using Vvertical_divider_face background.
- Fix drawing spacing gaps around the divider.
+ * nt.c (geteuid and friends): Use the new varibale
+ nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
+ (init_user_info): Removed the above mentioned hackery.
+ (fstat, stat): Do not compile in if using MSVC 5.0 and above -
+ stat has been fixed in the C runtime.
+ (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
-1998-05-14 Didier Verna <verna@inf.enst.fr>
+ * file-coding.c (struct file_coding_dump): Do not define
+ ucs_to_mule_table in the struct if not MULE.
+ (struct struct lrecord_description fcd_description_1): Do not dump
+ the above.
- * redisplay-x.c (x_output_vertical_divider): removed hard-wired
- values for the vertical divider line width and spacing. Use the
- cached values from the window structure instead.
- (x_divider_width): ditto.
+ * emacs.c (main_1): Call vars_of_nt().
+ (right before Fdump_emacs_data): Don't need lastfile if using both
+ portabe dumper and system malloc.
- * window.c (specifier_vars_of_window): new specifiers:
- vertical-divier -line-width and -spacing.
- (vertical_divider_global_width_changed): formerly known as
- vertical_divider_shadow_thickness_changed.
+ * alloc.c (Fmemory_limit): Conditionalized out.
+ (pdump): Use OPEN_BINARY for the portable dump file.
+ (pdump_load): Ditto.
- * winslots.h: new slots: vertical_specifier _line_width and
- _spacing. Plus corrected a comment typo.
+2000-02-02 Mike Alexander <mta@arbortext.com>
-1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
+ * nt.c (convert_time): Set tm_isdst before calling mktime and
+ avoid calling it at all if the compiler supports 64 bit integers.
+ Also initialize utc_base_ft before using it.
- * window.h: Declared window_divider_width().
+2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
- * console-stream.c (stream_divider_width): Removed method.
- (console_type_create_stream): And declaration for it.
+ * frame.c (change_frame_size_1): Take f->internal_border_width
+ into consideration when calculating the width of the frame.
- * redisplay.c (pixel_to_glyph_translation): Use
- window_divider_width() instead of divider_width redisplay method.
- (pixel_to_glyph_translation): Fix top divider edge calculation
- when scrollbar is on top.
+2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
- * window.c (window_divider_width): New function, an outphaser for
- divider_width redisplay method.
- (window_right_gutter_width): Use it.
- (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
- specifiers, set fallback values differently on TTYs, and document
- the behavior of these on TTYs in the docstrings.
+ * window.c (frame_min_height):
+ (frame_size_valid_p):
+ (frame_pixsize_valid_p): Added.
+ (check_frame_size): Generalized.
- * scrollbar.c (update_scrollbar_instance): Use
- window_divider_width() instead of divider_width redisplay method.
+ * window.h: Prototyped the above.
- * console.h (struct console_methods): Removed divider_width_method.
+ * lisp.h:
+ * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
+ Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
+ Deleted Vwin32_* and Vbinary_process_* unused variables.
- * redisplay-tty.c (tty_divider_width): Removed device method.
- (console_type_create_redisplay_tty): Removed definition for it.
- (tty_output_vertical_divider): Respect the value returned by
- window_divider_width thus divider line width specification.
+ * device-msw.c (msprinter_init_device): Do not get printer font
+ list; Added DEVMODE functions.
- * redisplay-msw.c (mswindows_divider_width): Removed device method.
- (console_type_create_redisplay_mswindows): Removed definition for it.
- (mswinodws_output_vertical_divider): Respect the value returned by
- window_divider_width thus divider line width specification.
+ * frame-msw.c: Added lots of printer code.
-1998-05-15 Andy Piper <andyp@parallax.co.uk>
+ * faces.c: Moved 'left-margin and 'right-margin defsymbols to
+ general.c.
- * toolbar-msw.c: guess toolbar frame size a bit more accurately.
+ * console-msw.h: Added more msprinter device private slots.
-1998-05-15 Andy Piper <andyp@parallax.co.uk>
+2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
- * glyphs-msw.c: resource loading implementation.
- (cursor_normalize): new function.
- (cursor_validate): ditto.
- (cursor_instantiate): ditto.
- (cursor_name_to_resource): ditto.
- (cursor_possible_dest_types): ditto.
- (check_valid_symbol): ditto.
- (check_valid_string_or_int): ditto.
+ * event-msw.c (key_needs_default_processing_p): Added.
+ (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
-1998-05-14 Martin Buchholz <martin@xemacs.org>
+2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
- * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
- VINTR and VQUIT.
+ * glyphs.c (image_instance_layout): Mark image instance as clean
+ after layout.
+ (glyph_dirty_p): Removed redundant function.
+ (invalidate_glyph_geometry_maybe): Added.
+ (update_glyph_cachel_data): Call it.
- * process-unix.c (process_signal_char): Use VSUSP instead of
- non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
+ * glyphs.h: Prototyped it.
-1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
+ * redisplay.c (add_glyph_rune): Call it.
+ (redisplay_window): Reset glyphs cachels when frame faces have
+ changed, thus forcing recomputation of built-in border glyphs.
- * specifier.c (specifier_instance): Change locale precedence of
- instantiation so window locale has higher priority than buffer
- locale.
- (Fspecifier_instance): Reflect this in docstring.
- (Fadd_spec_list_to_specifier): Ditto.
- (Fadd_spec_to_specifier): Ditto.
- (Fremove_specifier): Ditto.
+2000-01-30 Martin Buchholz <martin@xemacs.org>
-1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
+ * Makefile.in.in: Make portable dumper and purify play well together.
+ Add imperfect, but better than nothing, support for pdump.
+ Remove xemacs.dmp when temacs is re-generated.
+ Don't ignore errors when dumping xemacs.
- ** Dialog separation into a device method from Andy Piper
+ * symbols.c (maybe_call_magic_handler): Remove one magic number.
- * emacs.c (main_1): Call console_type_create_dialog_x().
+2000-01-28 Andy Piper <andy@xemacs.org>
- * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
- into this device method.
- (console_type_create_dialog_x): New function.
+ * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
+ (setup_normal_frame): ditto.
+ (setup_frame_without_minibuffer): ditto.
+ (setup_minibuffer_frame): ditto.
+ (delete_frame_internal): ditto.
+ (Fmake_frame_invisible): ditto.
+ (Ficonify_frame): ditto.
- * dialog.c (Fpopup_dialog_box): New function.
- (syms_of_dialog): Defsubr it.
+ * window.h: change Fset_window_buffer signature.
- * console.h (struct console_methods): Declared
- popup_dialog_box_method().
+ * window.c (Fsplit_window): Use new Fset_window_buffer signature.
+ (Fset_window_buffer): allow recording of buffer if the window is
+ the selected window.
+ (window_loop): Use new Fset_window signature.
- * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
+2000-01-23 Daniel Pittman <daniel@danann.net>
-1998-05-14 Oliver Graf <ograf@fga.de>
+ * config.h.in: Added template for `HAVE_ATHENA_3D'
- * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
- * frame-x.c (x_cde_transfer_callback): checked for merge errors
+2000-01-29 Andy Piper <andy@xemacs.org>
-1998-05-13 Oliver Graf <ograf@fga.de>
+ * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
- * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
+ * gutter.c (output_gutter): Don't output if the window isn't live.
-1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
+2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
- * console.h (device_metrics): Removed dbcs, input-method-editor
- and right-to-left metrics.
+ * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
+ of 01/12/00: Moved SetFocus back here where it belongs.
- * device.c (Fdevice_system_metric): Ditto.
- (Fdevice_system_metrics): Ditto.
- (syms_of_device): Ditto.
- (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
- again.
+2000-01-23 Andy Piper <andy@xemacs.org>
-1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
+ * s/cygwin32.h: declare printer things.
- * line-number.h (mark_line_number_cache): Remove unused
- declaration.
+2000-01-26 Andy Piper <andy@xemacs.org>
- * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
- (get_nearest_line_number): Simplify.
- (add_position_to_cache): Make the old marker point nowhere.
+ * select.c (Fown_selection_internal): GCPRO bug fix from Mike
+ Alexander.
-1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
+2000-01-24 Andy Piper <andy@xemacs.org>
- ** Renamed window-divider-map => vertical-divider-map
- and event-over-divider-p => event-over-vertical-divider-p,
- in the following files/functions:
- * events.h:
- * events.c (Fevent_over_divider_p):
- * keymap.c (get_relevant_keymaps):
- (vars_of_keymap):
+ * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
+ (mswindows_button_instantiate): Make sure glyph is a pixmap.
- * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
+ * glyphs-widget.c (widget_instantiate): Avoid shadows.
- * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
+ * frame-msw.c (msprinter_init_frame_3): Nuke warning.
-1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
+ * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
- * window.c (vertical_divider_changed_in_window): Renamed so.
- (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
- (window_needs_vertical_divider_1): Decide whether we need it based
- on the value of the above specifier. If separators are unwanted,
- put them only if there's no scrollbar between this window and its
- right neighbor.
- (have_undivided_common_edge): New function, helper for the above.
- (window_needs_vertical_divider): Return either a cached value,
- or clauclate and cache one.
- (invalidate_vertical_divider_cache_in_window): Implemented.
- (map_windows): Changed return type to int, return the value from
- MAPFUN.
+ * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
+ (mswindows_output_display_block): Avoid local shadows.
- * window.h: Prototype invalidate_vertical_divider_cache_in_window.
- (struct window): Added need_vertical_divider_p and
- need_vertical_divider_valid_p.
+ * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
+ (mswindows_enqueue_mouse_button_event): ditto.
+ (mswindows_handle_gui_wm_command): remove declaration.
- * winslots.h: Added vertical_divider_draggable_p slot.
+ * console-msw.c (mswindows_canonicalize_console_connection): Avoid
+ warnings.
- * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
- (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
+ * console-msw.h: Avoid shadows.
+ (mswindows_get_toolbar_button_text):
+ (emacs_mswindows_create_stream_pair):
+ (emacs_mswindows_delete_stream_pair):
+ (mswindows_handle_toolbar_wm_command): declare.
- * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
+ * device-msw.c (build_syscolor_string): Avoid shadows.
- * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
- invalidate_vertical_divider_cache_in_frame().
- Prototype it.
+2000-01-23 Andy Piper <andy@xemacs.org>
-1998-05-14 Andy Piper <andyp@parallax.co.uk>
+ * glyphs-widget.c (widget_instantiate): reverse the items for
+ layouts so that children are in the expected order.
- * toolbar-msw.c: provide correct parameters to TB_SETROWS.
+2000-01-28 Martin Buchholz <martin@xemacs.org>
- * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
- masks correctly and don't select 0.
+ * ralloc.c: safe_bcopy ==> memmove
+ * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
+ * s/msdos.h: Remove BCOPY macros.
+ * insdel.c (gap_right): Remove BCOPY conditional code.
+ * insdel.c (gap_left): Remove BCOPY conditional code.
+ XEmacs demands a working ANSI C compiler - hence memmove.
-1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
+ * regex.c (regex_compile): Remove accidental use of trigraphs.
- * winslots.h: New file, declaration of some struct window and
- struct saved_window members.
+2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
- * window.h (struct window): Include it, with required preprocessor
- magic.
+ * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
+ event timestamp.
- * window.c (mark_window): Ditto.
- (allocate_window): Ditto.
- (struct saved_window): Ditto.
- (mark_window_config): Ditto.
- (saved_window_equal): Ditto.
- (Fset_window_configuration): Ditto.
+2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
-1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
+ * event-msw.c (mswindows_drain_windows_queue): Added the
+ parameter.
+ (mswindows_need_event): Commented the call to
+ mswindows_drain_windows_queue().
+ (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
+ only.
- * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
+ * console-msw.h: Moved a few function prototypes here from
+ event-msw.c.
-1998-05-12 Didier Verna <verna@inf.enst.fr>
+ * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
+ parameter from unsigned short to unsigned long.
+ (Fmswindows_shell_execute): Added return value.
- * redisplay-x.c (x_output_vertical_divider): draw shadows around
- the divider line. The shadow thickness is currently
- hard-wired. This will probably be turned into a specifier soon.
+2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
-1998-05-12 Didier Verna <verna@inf.enst.fr>
+ * sysdep.c (init_system_name):
+ process-unix.c (unix_canonicalized_host_name):
+ Don't call freeaddrinfo() if getaddrinfo() fails.
- * console.h (struct console_methods): the divider_width console
- method now requires a struct window * argument.
+ * process-unix.c (unix_open_unix_network_stream):
+ Moved the code to get a port # into address loop.
- * redisplay-x.c (x_divider_width): ditto. Plus remove
- X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
- (x_output_vertical_divider): give a depressed look when the shadow
- thickness is negative.
+2000-01-27 Martin Buchholz <martin@xemacs.org>
- * console-stream.c (stream_divider_width): pass a struct window *
- argument.
+ * buffer.c (reinit_vars_of_buffer):
+ The right place to initialize conversion_in_dynarr and
+ conversion_out_dynarr.
- * redisplay-tty.c (tty_divider_width): ditto.
+ * alloc.c (pdump): Use the real open() till sys_open() is functional.
- * window.c (window_right_gutter_width): totdi.
+ * process-unix.c (unix_canonicalize_host_name): Muleize.
+ (unix_open_network_stream): Muleize.
- * redisplay.c (generate_modeline): ittod.
+ * buffer.h: Fix up prototypes for ralloc.c functions.
- * scrollbar.c (update_scrollbar_instance): ttido.
+2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
+ * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
+ * sysdep.c: In init_system_name(), add code to use getaddrinfo()
+ instead of gethostbyname()
+ * process-unix.c: In unix_canonicalize_host_name() and
+ unix_open_network_stream(), add code to use getaddrinfo()
+ instead of gethostbyname().
- * redisplay-msw.c (mswindows_divider_width): ottid.
- WARNING: this enables to compile, but the feature is not functional.
+2000-01-27 Daniel Pittman <daniel@danann.net>
- * window.h (struct window): new field
- vertical_divider_shadow_thickness.
+ * device-x.c (x_init_device): Warn at run-time if using Athena 3d
+ libs when built with flat Athena.
- * window.c (specifier_vars_of_window): new specifier
- vertical-divider-shadow-thickness.
- (vertical_divider_shadow_thickness_changed): new function to
- inform redisplay that the window has changed.
- (mark_window): handle new field vertical_divider_shadow_thickness
- from struct window.
- (allocate_window): ditto.
- (saved_window_equal): toddi.
- (Fset_window_configuration): totid.
- (save_window_save): ttdio.
- (struct saved_window): new field vertical_divider_shadow_thickness.
+2000-01-27 Martin Buchholz <martin@xemacs.org>
-1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
+ * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
+ Use coding standards for function prototypes.
- * device-msw.c (mswindows_device_system_metrics): Support a deluge
- of metrics.
+2000-01-25 Martin Buchholz <martin@xemacs.org>
-1998-05-12 Oliver Graf <ograf@fga.de>
+ * dialog-msw.c (push_lisp_string_as_unicode):
+ * doc.c (unparesseuxify_doc_string):
+ * dired.c (Fuser_name_completion_1):
+ * dired.c (Fuser_name_all_completions):
+ * dired.c (free_user_cache):
+ * dired.c (user_name_completion):
+ * console-x.c (get_display_arg_connection):
+ * minibuf.c (clear_echo_area_internal):
+ * minibuf.c (echo_area_append):
+ * eldap.c (Fldap_open):
+ * eldap.c (Fldap_search_internal):
+ * frame-x.c (x_set_frame_text_value):
+ * frame-x.c (x_set_frame_properties):
+ * frame-x.c (x_create_widgets):
+ * redisplay-tty.c (term_get_fkeys_1):
+ * objects-x.c (x_parse_nearest_color):
+ * objects-x.c (x_valid_color_name_p):
+ * objects-x.c (x_initialize_font_instance):
+ * objects-x.c (x_list_fonts):
+ * objects-x.c (x_find_charset_font):
+ * tooltalk.c (Fadd_tooltalk_message_arg):
+ * tooltalk.c (Fadd_tooltalk_pattern_attribute):
+ * tooltalk.c (Fadd_tooltalk_pattern_arg):
+ * process-unix.c (unix_create_process):
+ * ntproc.c (sys_spawnve):
+ * sound.c (Fplay_sound_file):
+ * sound.c (Fplay_sound):
+ * buffer.c (init_initial_directory):
+ * buffer.c (init_buffer):
+ * editfns.c (init_editfns):
+ * editfns.c (Ftemp_directory):
+ * editfns.c (Fuser_full_name):
+ * editfns.c (uncache_home_directory):
+ * editfns.c (get_home_directory):
+ * editfns.c (Fuser_home_directory):
+ * editfns.c (Fformat_time_string):
+ * editfns.c (Fcurrent_time_string):
+ * gui-x.c (button_item_to_widget_value):
+ * database.c (Fopen_database):
+ * event-Xt.c (x_to_emacs_keysym):
+ * event-Xt.c (x_event_to_emacs_event):
+ * event-Xt.c (describe_event_window):
+ * event-msw.c (mswindows_wnd_proc):
+ * glyphs-eimage.c (jpeg_instantiate):
+ * glyphs-eimage.c (gif_instantiate):
+ * glyphs-eimage.c (png_instantiate):
+ * glyphs-eimage.c (tiff_instantiate):
+ * glyphs-x.c (xbm_instantiate_1):
+ * glyphs-x.c (x_xbm_instantiate):
+ * glyphs-x.c (x_xface_instantiate):
+ * glyphs-x.c (autodetect_instantiate):
+ * glyphs-x.c (cursor_font_instantiate):
+ * glyphs-x.c (x_widget_instantiate):
+ * glyphs-x.c (x_widget_set_property):
+ * glyphs-x.c (x_widget_property):
+ * glyphs-x.c (BUILD_GLYPH_INST):
+ * print.c (write_string_to_stdio_stream):
+ * print.c (output_string):
+ * print.c (Falternate_debugging_output):
+ * print.c (Fexternal_debugging_output):
+ * glyphs-msw.c (extract_xpm_color_names):
+ * glyphs-msw.c (mswindows_xpm_instantiate):
+ * glyphs-msw.c (bmp_instantiate):
+ * glyphs-msw.c (resource_name_to_resource):
+ * glyphs-msw.c (mswindows_resource_instantiate):
+ * glyphs-msw.c (xbm_instantiate_1):
+ * glyphs-msw.c (mswindows_xbm_instantiate):
+ * glyphs-msw.c (mswindows_xface_instantiate):
+ * glyphs-msw.c (mswindows_widget_instantiate):
+ * glyphs-msw.c (add_tree_item):
+ * glyphs-msw.c (add_tab_item):
+ * glyphs-msw.c (mswindows_combo_box_instantiate):
+ * glyphs-msw.c (mswindows_widget_property):
+ * glyphs-msw.c (mswindows_combo_box_property):
+ * glyphs-msw.c (mswindows_widget_set_property):
+ * console.c (stuff_buffered_input):
+ * objects-msw.c (mswindows_initialize_color_instance):
+ * objects-msw.c (mswindows_valid_color_name_p):
+ * objects-msw.c (mswindows_list_fonts):
+ * objects-msw.c (mswindows_font_instance_truename):
+ * bytecode.c (optimize_compiled_function):
+ * select-x.c (symbol_to_x_atom):
+ * select-x.c (x_atom_to_symbol):
+ * select-x.c (hack_motif_clipboard_selection):
+ * select-x.c (selection_data_to_lisp_data):
+ * select-x.c (lisp_data_to_selection_data):
+ * select-x.c (Fx_get_cutbuffer_internal):
+ * select-x.c (Fx_store_cutbuffer_internal):
+ * buffer.h (TO_EXTERNAL_FORMAT): New function.
+ * buffer.h (TO_INTERNAL_FORMAT): New function.
+ * emacs.c (make_arg_list_1):
+ * emacs.c (make_argc_argv):
+ * emacs.c (main_1):
+ * emacs.c (Fdump_emacs):
+ * emacs.c (split_string_by_emchar_1):
+ * file-coding.h:
+ * lisp.h:
+ * lstream.h:
+ * symsinit.h:
+ * device-x.c (x_init_device):
+ * device-x.c (Fx_valid_keysym_name_p):
+ * device-x.c (Fx_get_font_path):
+ * device-x.c (Fx_set_font_path):
+ * glyphs.c (bitmap_to_lisp_data):
+ * glyphs.c (pixmap_to_lisp_data):
+ * alloc.c (make_ext_string): Use coding system arguments. Update
+ all callers.
+ * alloc.c (build_string):
+ * callproc.c (child_setup):
+ * callproc.c (init_callproc):
+ * fileio.c (lisp_strerror):
+ * fileio.c (directory_file_name):
+ * fileio.c (Fexpand_file_name):
+ * fileio.c (Ffile_truename):
+ * fileio.c (Fsysnetunam):
+ * fileio.c (Fdo_auto_save):
+ * sysdep.c (sys_readdir):
+ * tests.c: New file. Allow adding C tests.
+ Replace GET_* macros with a more comprehensible and flexible
+ interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
+ Modify all calls.
+ Any coding system can be used to do format conversion.
+ Eliminate enum external_data_format.
+ Eliminate convert_to_external_format.
+ Eliminate convert_to_internal_format.
+ Make sure file-name, keyboard, terminal, and ctext are always
+ defined as coding systems or aliases. Make
+ file-name-coding-system, terminal-coding-system, and
+ keyboard-coding-system magical variables that are equivalent to
+ defining the corresponding coding system aliases.
+
+ * file-coding.c (Fcoding_system_canonical_name_p): New function.
+ * file-coding.c (Fcoding_system_alias_p): New function.
+ * file-coding.c (Fcoding_system_aliasee): New function.
+ * file-coding.c (append_suffix_to_symbol): New function.
+ * file-coding.c (dangling_coding_system_alias_p): New function.
+ * file-coding.c (Ffind_coding_system):
+ * file-coding.c (Fcopy_coding_system):
+ * file-coding.c (encode_coding_no_conversion):
+ * file-coding.c (syms_of_file_coding):
+ * file-coding.c (vars_of_file_coding):
+ Rewrite coding system alias code.
+ Allow nested aliases, like symbolic links.
+ Allow redefinition of coding system aliases.
+ Prevent existence of dangling coding system aliases.
+
+ * dired.c (Fuser_name_completion_1):
+ * dired.c (Fuser_name_all_completions):
+ A crash would happen if user did QUIT in the middle of building
+ user_name_cache. Remove redundant code in mainline and unwind_protect.
- * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
- * event-Xt.c (x_event_to_emacs_event): C++ compability
+ * lisp.h:
+ * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
-1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
+ * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
+ an unsigned char *. Update all callers.
- * emacs.c (Fdecode_path): Default SEPCHAR to value of
- path-separator.
+2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
-1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
+ * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
- * emacs.c (vars_of_emacs): Do it here; change the meaning of
- Vpath_separator.
+2000-01-25 Martin Buchholz <martin@xemacs.org>
- * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
+ * elhash.c (hentry_description): Use more portable definition.
+ (resize_hash_table): Initialize new hentries using
+ xnew_array_and_zero, thereby simplifying the code.
-1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
+ * mule-charset.c (make_charset): Make sure entire object is
+ initialized, to avoid Purify warnings.
- * emacs.c (decode_path_1): New function.
- (decode_path): Use it.
- (Fdecode_path): Renamed from Fdecode_path_internal; use
- decode_path_1.
+ * alloc.c (resize_string): Fix unlikely crash with big strings.
-1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
+2000-01-24 Martin Buchholz <martin@xemacs.org>
- * macros.c (Fzap_last_kbd_macro_event): New function.
- (Fend_kbd_macro): Remove REMOVE_LAST kludge.
+ * realpath.c (xrealpath):
+ Don't call getwd().
-1998-05-10 Andy Piper <andyp@parallax.co.uk>
+2000-01-25 Martin Buchholz <martin@xemacs.org>
- * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
- multiple bitmaps are output vertically as well as horizontally.
- * (mswindows_output_dibitmap): don't cope with bitmap boundaries
- crossing lines this is handled by
- mswindows_output_dibitmap_region.
+ * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
-1998-05-12 Martin Buchholz <martin@xemacs.org>
+1999-12-28 Max Matveev <max@melbourne.sgi.com>
- * inline.c: Include eldap.h
+ * unexelfsgi.c (unexec): Change the way we decide which segment
+ should be extended.
- * menubar-x.c (x_update_frame_menubar_internal):
- Remove: unused variable `container'
+ Assumption that .bss section should be outside the PT_LOADable
+ segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
+ it's present) is inside the 'data' segment. This would fail the
+ test which was used to find a segment to grow and cover new
+ heap. Instead of this assumption, I created another one - on IRIX
+ the segment to grow should start below .bss and it's address
+ should extent above the end of .bss. Once this segment is
+ identified, it's grown to accommodate the new heap and new
+ zero-length .bss section is added at the end of .data2.
-1998-05-11 Martin Buchholz <martin@xemacs.org>
+2000-01-25 Martin Buchholz <martin@xemacs.org>
- * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
- Unfortunately, the resulting temacs still cannot dump.
+ * eval.c (Feval): Wrong number of arguments should use original
+ function, not the indirect_function version of it.
- * symbols.c (symbol_is_constant):
- (verify_ok_for_buffer_local):
- -Wswitch Warning suppression - add default case to switches.
+2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
- * redisplay.c (decode_mode_spec): Remove unused variables,
- Replace Fcoding_system_property (codesys, Qmnemonic) with
- XCODING_SYSTEM_MNEMONIC (codesys);
- Fcoding_system_property is for users.
+ * glyphs-x.c (x_button_instantiate): Don't add image if
+ it is not a pixmap.
+ (x_locate_pixmap_file): Call Fexpand_file_name when file name
+ is relative.
- * buffer.c:
+2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
+ declaration.
+ (DEFVAR_INT_MAGIC): Ditto.
+ (DEFVAR_BOOL_MAGIC): Ditto.
+ * glyphs.h: Reindent backslash.
+
+2000-01-24 Martin Buchholz <martin@xemacs.org>
+
+ * glyphs-widget.c (layout_query_geometry):
+ (layout_layout): Use correct types for gheight, gwidth.
+
+2000-01-24 Martin Buchholz <martin@xemacs.org>
+
+ * EmacsManager.c (QueryGeometry): Purified.
+
+2000-01-23 Martin Buchholz <martin@xemacs.org>
+
+ * alloc.c (make_float): Make sure entire object is initialized, to
+ avoid Purify warnings.
+ (pdump_register_sub): Remove useless assignment.
+ (pdump): Use xmalloc, not malloc.
+ (pdump_load): Use xmalloc, not malloc.
+
+2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
+
+ * callproc.c:
+ * dired-msw.c:
* fileio.c:
- * lread.c:
- * xselect.c:
- Change empty docstrings into no doc strings at all.
- Fix bogus FSF-format docstrings.
+ * process-nt.c:
+ * redisplay-msw.c:
+ * sysdep.c: Removed redundant #include <windows.h>
- * extents.c:
- Standardize docstrings.
+2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
- * floatfns.c:
- Explain problems with matherr.
+ * frame.c (delete_frame_internal): Do not delete device when its
+ implementation so declares.
+ (delete_frame_internal): Set device selected frame to nil when
+ last frame goes away.
- * glyphs.c: make DEFUNs etags-readable, i.e. single-line
+ * device-msw.c (msprinter_device_system_metrics): Implemented.
+ (mswindows_device_system_metrics): Added 'device-dpi property.
- * syssignal.h:
- if BROKEN_SIGIO, then SIGIO wants to be undefined.
- if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
- Fix the weird resultant interaction (causes windows problems)
+ * device.c: (Fdevice_printer_p): Added.
+ Added 'offset-workspace device metric.
- * gdbinit:
- * dbxrc:
- Take new EMACSBOOTSTRAPLOADPATH into account.
- Update documentation strings
+ * console.h (device_metrics): Declared DM_offset_workspace.
- * Makefile.in.in:
- - Adjust for luser's CDPATH being set to something weird.
- - Take into account bash 2.02's tendency to print the cwd when
- using CDPATH. Always use `cd ./foo' instead of `cd foo'.
- - fix the run-temacs target to use $(DUMPENV)
- - fix the run-puremacs target to use $(DUMPENV)
- - fix the `depend' target to properly $(RM) the right files
- - Generate a better TAGS file for XEmacs' lisp code using
- hand-crafted regexps.
- - Use standard coding conventions for modules/Makefile.in
+2000-01-23 Martin Buchholz <martin@xemacs.org>
+
+ * fileio.c (Ffile_truename): Remove pointless and confusing
+ initialization of elen.
+
+ * glyphs-widget.c: Compiler warning fixes.
+
+2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
+
+ * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
+ instead of a Lisp_Object as argument to make it consistent with
+ the other LIVE_P macros.
+ (CHECK_LIVE_PROCESS): New macro.
+
+ * process.c: Declare Qprocess_live_p.
+ (Fprocess_live_p): New function.
+ (create_process): Use PROCESS_LIVE_P.
+ (read_process_output): Ditto.
+ (set_process_filter): Ditto.
+ (Fdelete_process): Ditto.
+ (kill_buffer_processes): Ditto
+ (process_send_signal): Use CHECK_LIVE_PROCESS.
+ (Fprocess_input_coding_system): Check whether process is still
+ alive (fix PR#1061).
+ (Fprocess_output_coding_system): Ditto.
+ (Fprocess_coding_system): Ditto.
+ (Fset_process_input_coding_system): Ditto.
+ (Fset_process_output_coding_system): Ditto.
+
+2000-01-23 Andy Piper <andy@xemacs.org>
+
+ * glyphs.h (struct Lisp_Image_Instance): change format by unifying
+ layout and widget.
+
+ * glyphs.c (mark_image_instance): take into account changed
+ image_instance format.
+ (image_instance_equal): ditto.
+ (image_instance_hash): ditto.
+
+ * glyphs-widget.c (widget_instantiate): Incorporate layout
+ instantiation here. Delay layout of the layout until later.
+ (layout_instantiate): deleted.
+ (layout_query_geometry): new function. get the geometry of a
+ layout.
+ (layout_layout): layout a layout dynamically.
+ (image_instantiator_widget): New function - splitting up
+ image_instantiator_format_create_glyphs_widget for netwinder
+ compilation.
+ (image_instantiator_buttons):
+ (image_instantiator_edit_fields):
+ (image_instantiator_combo_box):
+ (image_instantiator_scrollbar):
+ (image_instantiator_progress_guage):
+ (image_instantiator_tree_view):
+ (image_instantiator_tab_control):
+ (image_instantiator_labels):
+ (image_instantiator_layout): ditto.
+ (image_instantiator_format_create_glyphs_widget): Call preceding
+ functions.
+
+2000-01-22 Martin Buchholz <martin@xemacs.org>
+
+ * process.c (Fset_process_coding_system):
+ * device-x.c (Fx_keysym_hash_table):
+ Docstring fixes.
+
+ * lstream.c (Lstream_write): Return documented value, not 0.
+
+ * fileio.c (directory_file_name):
+ (Fsubstitute_in_file_name):
+ (Fsubstitute_insert_file_contents_internal):
+ (Fwrite_region_internal):
+ * emacs.c:
+ * sysdep.c:
+ * getloadavg.c:
+ * systty.h:
+ Remove vestigial APOLLO-conditional code.
+
+2000-01-21 Martin Buchholz <martin@xemacs.org>
+
+ * getpagesize.h: Add guard macros.
+ * libsst.h: Add guard macros.
+ * libst.h: Add guard macros.
+ * line-number.h: Add guard macros.
+ * ndir.h: Add guard macros.
+ * sysfloat.h: Add guard macros.
+ * sysfile.h: Add guard macros.
+ * sysproc.h: Add guard macros.
+ * syswait.h: Add guard macros.
+ * xintrinsic.h: Add guard macros.
+ * xintrinsicp.h: Add guard macros.
+ * xmmanager.h: Add guard macros.
+ * xmmanagerp.h: Add guard macros.
+ * xmprimitive.h: Add guard macros.
+ * xmu.h: Add guard macros.
+ * gpmevent.h: Add copyright statement. Add guard macros.
+ * miscplay.h: Add guard macros.
+ * *.h: Use consistent C-standards-approved guard macro names.
+
+ * opaque.c (make_opaque): Switch parameter order.
+ * opaque.h (make_opaque): Switch parameter order.
+ Update all callers.
+ * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
+
+ * config.h.in (type_checking_assert): Added.
+ (bufpos_checking_assert): Added.
+
+2000-01-21 Martin Buchholz <martin@xemacs.org>
+
+ * alloc.c: Harmless pdump changes.
+ - Use countof().
+ - spell alignment correctly.
+ * sysdep.c: Use countof()
+
+2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
+
+ * console.c (create_console): Use CONMETH_OR_GIVEN when calling
+ initially_selected_for_input() console method, default to 0.
+ (semi_canonicalize_console_connection): Try to delegate to
+ canonicalize_console_connection if no such console method.
+ (canonicalize_console_connection): Vice versa.
+ (print_console): Do not print nil connection.
+
+ * console.h (XDEVIMPF_IS_A_PRINTER): Added.
+ (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
+ (XDEVIMPF_FRAMELESS_OK): Added.
+ (CONSOLE_INHERITS_METHOD): Added.
+
+ * console-msw.c (mswindows_canonicalize_console_connection):
+ Added.
+ (mswindows_canonicalize_device_connection): Added.
+
+ * console-msw.h (struct msprinter_device): Added this struct and
+ accessor macros.
+ (mswindows_device): Made fontlist a lisp object.
+
+ * device.c (semi_canonicalize_device_connection): Try to delegate
+ to canonicalize_device_connection if no such console method.
+ (canonicalize_device_connection): Vice versa.
+ (print_device): Do not print nil connection.
+
+ * device-msw.c (mswindows_init_device): Call InitCommonControls
+ when have widgets.
+ (mswindows_delete_device): Removed fontlist deallocation.
+ (mswindows_mark_device): Added.
+
+ * events.c (event_equal): Added abort() at unreached code.
+ (event_hash): Ditto.
+
+ * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
+ fallback tags of Windows devices.
+
+ * general.c (syms_of_general): Initialized Qmsprinter.
+
+ * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
+ of fallback tags of Windows devices.
+
+ * lisp.h: Declared Qmsprinter.
+
+ * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
+ of strings.
+ (mswindows_list_fonts): Ditto.
+ (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
+ that it can be used by both mswindows and msprinter devices.
+ (initialize_font_instance): Added.
+ (mswindows_initialize_font_instance): Use it.
+ (msprinter_initialize_font_instance): Added.
+
+ * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
+ and implementation flags check.
+ (redisplay_without_hooks): Changed the call to the above.
+ (Fredraw_device): Ditto.
+ (Fredisplay_device): Ditto.
+
+ * redisplay-msw.c (get_frame_dc): Implemented.
+ (get_frame_compdc): Implemented.
+ (many functions): Use the two functions above to get device
+ contexts, ether for a window or a printer.
+
+2000-01-21 Olivier Galibert <galibert@pobox.com>
+
+ * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
+ initialization here.
+ (init_symbols_once_early): Call it.
+ * emacs.c (main_1): Call it.
+ * symsinit.h: Declare it.
+
+2000-01-19 Olivier Galibert <galibert@pobox.com>
+
+ * alloc.c: Use a lrecord_header * in the backtrace instead of a
+ Lisp_Object.
+ (pdump_backtrace): Ditto.
+ (pdump_register_object): Ditto. Cleanup use of the pointers.
+ (pdump_get_entry): Abort if trying to register a null pointer.
+ (pdump_dump_data): Cleanup types when relocating.
+ (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
+ (pdump_dump_rtables): Remove bad casts.
+ (pdump_load): Cleanup relocation w.r.t union type. Use a
+ Lisp_Object instead of a EMACS_INT for the hashtable
+ reorganization.
+
+2000-01-20 Martin Buchholz <martin@xemacs.org>
+
+ * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
+
+ * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
+
+ * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
+
+ * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
+
+2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
+
+ * faces.h (FACE_STRIKETHRU_P): Added.
+
+ * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
+ of font variants.
+
+ * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
+ (mswindows_set_dc_font): New function, aware of font variants,
+ separated from mswindows_update_dc.
+
+ * objects-msw.h (struct mswindows_font_instance_data): Added
+ definition.
+
+ * objects-msw.c (mswindows_finalize_font_instance): Delete all
+ cached fonts and the data structure.
+ (mswindows_initialize_font_instance): Added creation of font data
+ structure.
+ (mswindows_print_font_instance): Print at least something.
+ (mswindows_create_font_variant): Implemented.
+ (mswindows_get_hfont): Implemented.
+
+2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
-1998-05-12 Didier Verna <verna@inf.enst.fr>
+ * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
+ prototyping problem with msvc.
- * redisplay.c: removed the scrolling modeline code that didn't
- make it for 21.0. To be continued ...
+ * emacs.c (main_1): added syms_of_gui_mswindows() call
+
+ * gui-msw.c: added "mswindows-shell-execute" lisp subr and
+ syms_of_gui_mswindows() function
+
+ * symsinit.h: added the prototype for syms_of_gui_mswindows()
+
+2000-01-18 Martin Buchholz <martin@xemacs.org>
+
+ * XEmacs 21.2.27 is released.
+
+2000-01-18 Martin Buchholz <martin@xemacs.org>
+
+ * glyphs-eimage.c (struct tiff_error_struct):
+ (tiff_error_func):
+ (tiff_warning_func):
+ #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
+
+ * unexmips.c:
+ * unexhp9k3.c:
+ * unexfreebsd.c:
+ * unexec.c: Remove vestigial Lucid C code.
+ * unexalpha.c:
+ * unexaix.c:
+ * termcap.c:
+ * libsst.c: Ansify.
+ Remove declarations of errno and strerror().
+
+ * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
+
+ * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
+
+2000-01-16 Martin Buchholz <martin@xemacs.org>
+
+ * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
+ Optimize.
+
+2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
+
+ * md5.c:
+ * file-coding.c:
+ * file-coding.h:
+ Change enum eol_type to eol_type_t.
-1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
+2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
- * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
- and empty string inputs.
+ * gui.c (get_gui_callback): Check cons before accessing car.
-1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
+2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
- * redisplay-x.c (x_output_vertical_divider): Fixed typo.
+ * specifier.h (XSPECIFIER_TYPE): Add error checking version.
+ (XSETSPECIFIER_TYPE): Ditto.
-1998-05-10 Oliver Graf <ograf@fga.de>
+2000-01-17 Didier Verna <didier@xemacs.org>
- * event-stream.c (enqueue_misc_user_event_pos): created
- * lisp.h (enqueue_misc_user_event_pos): prototype added
- * frame-x.c (x_cde_transfer_callback): debug code plus API changes
- * emacs.c: call vars_of_dragdrop
- * dragdrop.c (vars_of_dragdrop): provide dragdrop
+ * redisplay.c (generate_fstring_runes): compute string size in
+ characters, not bytes.
-1998-05-11 Oliver Graf <ograf@fga.de>
+2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
- * frame-x.c (x_cde_transfer_callback): return at correct pos
- * event-Xt.c (x_event_to_emacs_event): changed format of drop
- object for MIME (see comment in dragdrop.c)
- * dragdrop.c: API change documented in comment
- removed provide of dragdrop [is provided by dragdrop.el]
+ * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
-1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
+2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
- * window.c (window_needs_vertical_divider): Enable vertical
- dividers for every non-rightmost window.
- (window_left_gutter_width): Left gutter consists of mythical
- toolbar and a virtual scrollbar.
- (window_right_gutter_width): The right one may have a divider
- also.
+ * print.c (print_error_message): Call print_prepare().
- * scrollbar.c (update_scrollbar_instance): Position vertical
- scrollbar left to divider if the latter present.
+2000-01-14 Martin Buchholz <martin@xemacs.org>
- * redisplay.h: Declared OVER_DIVIER constant.
+ * .dbxrc: Renamed from dbxrc.
- * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
- case.
+ * events.c (event_to_character):
+ Use `assert (foo)' instead of `if (!foo) abort()'
- * redisplay-x.c (x_output_vertical_divider): Output divider along
- the right side of the window, down to window bottom. Swapped
- foreground and background colors so it is visible by default.
+ * .gdbinit (xtype): Add documentation.
+ * .gdbinit (check-temacs): New function.
+ * .gdbinit (check-xemacs): New function.
+ * dbxrc (check-xemacs): New function.
+ * dbxrc (check-xemacs): New function.
- * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
- stick the divider to the right window side.
+2000-01-14 Andy Piper <andy@xemacs.org>
- * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
- deadbox painting.
- (mswindows_divider_width): Ask system for user preferred value.
- (mswindows_output_vertical_divider): Always output the divider on
- the right side of a window, down to bottom.
+ * glyphs-widget.c (widget_query_geometry): Make sure that we
+ calculate default dimensions correctly.
- * keymap.c (get_relevant_keymaps): Route mouse button events which
- happened over a window divider through window-divider-map.
- (Fkey_binding): Documented that in the docstring.
- Defined the variable Vwindow_divider_map.
+2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
- * events.c (Fevent_over_divider_p): Added this function.
+ * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
- * events.h: EXFUNed it.
+ * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
+ pdump_wire'd variable.
-1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
+ * emacs.c: (main_1): Conditionalized calls to
+ reinit_vars_of_scrollbar_x and reinit_vars_of_module.
- * toolbar.c (update_frame_toolbars): Re-layout frame windows if
- toolbar geometry is suspected to change.
+2000-01-13 Martin Buchholz <martin@xemacs.org>
-1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
+ * window.c (Fset_window_configuration):
+ * sysdep.c (_start):
+ * input-method-motif.c (res):
+ * event-Xt.c (Xt_process_to_emacs_event):
+ Simple compiler warning fixes.
- * src/device-msw.c
- * src/event-msw.c
- Condition dnd and dde code on HAVE_DRAGNDROP.
+ * bytecode.c (funcall_compiled_function): Use the original
+ function symbol on the backtrace list in preference to the
+ compiled_function object in error messages.
-1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
+2000-01-13 Andy Piper <andy@xemacs.org>
- * events.c (format_event_object): Print space as SPC etc.
+ * glyphs-x.c (update_widget_face): Make sure we update the widget
+ background as well as foreground.
-1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
+2000-01-13 Andy Piper <andy@xemacs.org>
- * print.c (print_internal): In the default case, abort() if
- ERROR_CHECK_TYPECHECK.
+ * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
+ fields to subwindow.
+ (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
+ (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
+ (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
+ (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
- * fileio.c (Fmake_temp_name): Doc fix.
+ * glyphs-widget.c (check_valid_tab_orientation): new function.
+ (initialize_widget_image_instance): zero orientation and
+ justification.
+ (widget_instantiate): pick up orientation.
+ (tab_control_query_geometry): return appropriate values for
+ vertical tabs.
-1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
+ * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
+ appropriate creation flags for left, right and bottom tabs.
- * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
+ * s/cygwin32.h: add tab definitions.
- * undo.c (Fprimitive_undo): Fixed typo.
+2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
-1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
+ * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
+ frame upon hiding a subwindow.
+ (mswindows_button_instantiate): Changed the push button style to
+ BS_PUSHBUTTON.
+ (mswindows_button_instantiate): Removed button BS_NOTIFY
+ style.
+ (mswindows_button_instantiate): Removed redundant check for
+ a disabled gui item.
+ (mswindows_button_instantiate): Made use of WS_TABSTOP
+ consistent: "operable" controls (edit, button, tree, scroll) have
+ this style, "display-only" ones (static, progress gauge) do
+ not. This style is currently ignored by XEmacs though. Also,
+ removed the WS_EX_CONTROLPARENT style - it is not for children,
+ it is for their parents!
+ (mswindows_edit_field_instantiate): Ditto.
+ (mswindows_progress_gauge_instantiate): Ditto.
+ (mswindows_tree_view_instantiate): Ditto.
+ (mswindows_tab_control_instantiate): Ditto.
+ (mswindows_scrollbar_instantiate): Ditto.
+ (mswindows_combo_box_instantiate): Ditto.
+ (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
+ style to the "clip" window.
+ (mswindows_button_instantiate): Removed compilation warning by
+ equally typing terms of the ?: operator.
- * fns.c (concat): Signal error on integer argument.
+2000-01-12 Didier Verna <didier@xemacs.org>
-1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
+ * redisplay.c (generate_fstring_runes): new parameter holding the
+ last modeline-format extent.
+ (add_glyph_to_fstring_db_runes): new parameter holding the glyph
+ extent, fill the glyph block with it.
+ (generate_fstring_runes): handle these parameters.
+ (generate_formatted_string_db): ditto.
- * console.h (device_metrics): Prefixed each constatnt with DM_
+ * keymap.c (get_relevant_keymaps): retreive the keymaps from the
+ glyphs'extents in the modeline.
- * device.c: (Fdevice_system_metric): Renamed so from plural form
- (metrics); Changed parameters order and added DEFAULT parameter;
- Unabbreviated some metric constants; Fixed and untabified doc string.
- (Fdevice_system_metrics): Added. Returns a plist of all provided
- metrics.
+1999-01-11 Mike Woolley <mike@bulsara.com>
- * device-msw.c (mswindows_device_system_metrics): Renamed
- device_metrics enum constants.
- Return Qunbound instead of Qnil.
+ * ntheap.c: Reduced the reserved heap space from 1Gb down to
+ 256Mb, as a workaround for the non-starting problem many people
+ have experienced.
- * device-tty.c (tty_device_system_metrics): Ditto.
+2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
- * device-x.c (x_device_system_metrics): Ditto.
+ * console-tty.c (Fset_console_tty_output_coding_system):
+ Force redrawing tty frame.
-1998-05-10 Andy Piper <andyp@parallax.co.uk>
+2000-01-10 Didier Verna <didier@xemacs.org>
- * redisplay-msw.c: implement background pixmaps (really!). Make
- sure bg color is transparent if we have bg pmaps.
- * (mswindows_output_string) (mswindows_clear_region): output bg
- pmap if required.
- * (mswindows_output_dibitmap_region): new function.
- * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
- the bg color rather than transparently.
+ * redisplay.c (generate_fstring_runes): fix size computation bug.
- * toolbar-msw.c: use masks if they exist.
+2000-01-09 William M. Perry <wmperry@aventail.com>
- * glyphs-msw.c: set up masks correctly.
+ * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
- * event-msw.c: typedef SOCKET if cygwin and not msg select().
+2000-01-09 Andy Piper <andy@xemacs.org>
-1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
+ * glyphs-msw.c: index -> i to avoid shadows.
+ (xbm_create_bitmap_from_data): make static.
+ (check_valid_string_or_int): deleted.
+ (mswindows_control_wnd_proc): message -> msg to avoid shadows.
+
+ * glyphs-x.c (x_update_subwindow): remove unused args.
- * regex.c (re_match_2_internal): Check for quit.
+ * glyphs.c (glyph_image_instance): return the thing. Don't set the
+ back pointer - this is done in allocate_image_instance.
+ (query_string_font): return Qnil to make the compiler happy.
+ (unmap_subwindow): set to ~0 to make the compiler happy.
+ (glyph_query_geometry): comment out until used.
+ (glyph_layout): ditto.
-1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
+2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
- * frame.c (Ffocus_frame): New function.
+ * insdel.c (signal_after_change): Remove extraneous unbind_to().