Delete `mojikyo'.
[chise/xemacs-chise.git] / src / ChangeLog
index 607bd64..bbca052 100644 (file)
@@ -1,3 +1,235 @@
+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
        (Vcharset_thai_tis620): Likewise.
        (Vcharset_katakana_jisx0201): 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.
        (fast_string_match): Ditto.
        (search_command): Ditto.
        (search_buffer): Separate boyer_moore.  Check whether
-       boyer_moore is poosible.
+       boyer_moore is possible.
        (simple_search): New function.
        (boyer_moore): Separated from search_buffer. Translate char.