Kenichi Handa [Fri, 28 Mar 2003 04:09:32 +0000 (04:09 +0000)]
(Qutf_16_be_nosig, Qutf_16_be, Qutf_16_le_nosig)
(Qutf_16_le): Remove these variables.
(syms_of_coding): Don't DEFSYM them.
(decode_coding_utf_16): Fix handling of BOM.
(encode_coding_utf_16): Fix handling of BOM.
Kenichi Handa [Fri, 28 Mar 2003 04:06:53 +0000 (04:06 +0000)]
(utf-16-le): Renamed from utf-16-le-nosig.
(utf-16-be): Renamed from utf-16-be-nosig.
(utf-16-le-with-sig): Renamed from utf-16-le.
(utf-16-be-with-sig): Renamed from utf-16-be.
(utf-16): Set :bom to (utf-16-le-with-sig . utf-16-be-with-sig).
Kenichi Handa [Fri, 14 Mar 2003 07:58:54 +0000 (07:58 +0000)]
*** empty log message ***
Kenichi Handa [Fri, 14 Mar 2003 05:13:52 +0000 (05:13 +0000)]
(Finsert_file_contents): On replacing, before decoding the file into
the work buffer, set point of the work buffer to the end.
Dave Love [Fri, 14 Feb 2003 19:30:09 +0000 (19:30 +0000)]
("polish-slash"): Doc fix.
Dave Love [Thu, 13 Feb 2003 22:46:33 +0000 (22:46 +0000)]
*** empty log message ***
Dave Love [Thu, 13 Feb 2003 22:46:13 +0000 (22:46 +0000)]
("turkish-latin-3-postfix"): Make it
just an alias for turkish-postfix.
Dave Love [Thu, 13 Feb 2003 22:45:54 +0000 (22:45 +0000)]
("turkish-latin-3-alt-postfix"): Make it
just an alias for turkish-alt-postfix.
Dave Love [Thu, 13 Feb 2003 22:26:17 +0000 (22:26 +0000)]
(ukrainian-computer): Fix duplicate `\'.
Dave Love [Thu, 13 Feb 2003 22:23:01 +0000 (22:23 +0000)]
(Fcheck_coding_systems_region): Fix type errors.
Dave Love [Wed, 12 Feb 2003 18:48:38 +0000 (18:48 +0000)]
(chinese-big5-hkscs): New coding system.
(big5-hkscs, cn-big5-hkscs): New aliases.
Dave Love [Wed, 12 Feb 2003 18:47:23 +0000 (18:47 +0000)]
(georgian-ps, georgian-academy): New coding
system.
Dave Love [Wed, 12 Feb 2003 18:46:52 +0000 (18:46 +0000)]
Revert bogus checkin.
Dave Love [Wed, 12 Feb 2003 18:02:51 +0000 (18:02 +0000)]
(big5-hkscs, georgian-academy): New
charset.
(ibm1047): Doc fix.
(pt154): Add mime-charset.
(ptcp154, cp154): New aliases.
Dave Love [Wed, 12 Feb 2003 18:01:35 +0000 (18:01 +0000)]
(georgian-ps, georgian-academy): New coding
system.
Dave Love [Wed, 12 Feb 2003 15:09:46 +0000 (15:09 +0000)]
*** empty log message ***
Dave Love [Tue, 4 Feb 2003 19:29:56 +0000 (19:29 +0000)]
*** empty log message ***
Dave Love [Tue, 4 Feb 2003 19:26:38 +0000 (19:26 +0000)]
(charset-iso-final-char)
(define-coding-system): Doc fix.
Dave Love [Tue, 4 Feb 2003 19:25:06 +0000 (19:25 +0000)]
Comment.
Dave Love [Tue, 4 Feb 2003 19:24:26 +0000 (19:24 +0000)]
(XTread_socket): Check Lisp types for Vx_keysym_table
and fix C types.
Kenichi Handa [Fri, 31 Jan 2003 06:11:29 +0000 (06:11 +0000)]
(SKIP_GLYPHS): New macro.
(set_cursor_from_row): Pay attention to string display properties.
Kenichi Handa [Fri, 31 Jan 2003 06:10:06 +0000 (06:10 +0000)]
(copy_category_entry): Fix for the case that RANGE is an integer.
Kenichi Handa [Fri, 31 Jan 2003 06:09:27 +0000 (06:09 +0000)]
(x_encode_char): Call ccl_driver with the last arg Qnil.
Kenichi Handa [Fri, 31 Jan 2003 06:08:43 +0000 (06:08 +0000)]
(w32_encode_char): Call ccl_driver with the last arg Qnil.
Kenichi Handa [Thu, 30 Jan 2003 02:28:24 +0000 (02:28 +0000)]
*** empty log message ***
Kenichi Handa [Thu, 30 Jan 2003 02:27:52 +0000 (02:27 +0000)]
(define-ccl-program): Fset charset-id to charset-id-internal
temporarily.
Kenichi Handa [Thu, 30 Jan 2003 02:25:12 +0000 (02:25 +0000)]
(Fcharset_id_internal): New function.
(syms_of_charset): Defsubr it.
Kenichi Handa [Thu, 30 Jan 2003 02:23:40 +0000 (02:23 +0000)]
(decode_coding_ccl, encode_coding_ccl): Call ccl_driver
with the last arg charset_list acquired from coding.
(Fdefine_coding_system_internal): For ccl-based coding system, fix
the attribute coding_attr_ccl_valids.
Kenichi Handa [Thu, 30 Jan 2003 02:20:43 +0000 (02:20 +0000)]
(enum define_coding_ccl_arg_index): Set the first
member coding_arg_ccl_decoder to coding_arg_max.
Kenichi Handa [Thu, 30 Jan 2003 02:19:36 +0000 (02:19 +0000)]
(ccl_driver): Prototype adjusted.
Kenichi Handa [Thu, 30 Jan 2003 02:19:06 +0000 (02:19 +0000)]
(CCL_DECODE_CHAR, CCL_ENCODE_CHAR): New macros.
(ccl_driver): New arg CHARSET_LIST. Use the above macros instead
of DECODE_CAHR, ENCODE_CHAR, CHAR_CHARSET.
(Fccl_execute): Call ccl_driver with the last arg Qnil.
(Fccl_execute_on_string): Likewise.
Kenichi Handa [Tue, 21 Jan 2003 08:30:08 +0000 (08:30 +0000)]
(list-block-of-chars): Use decode-char instead of make-char.
Kenichi Handa [Tue, 21 Jan 2003 08:28:52 +0000 (08:28 +0000)]
*** empty log message ***
Kenichi Handa [Sat, 11 Jan 2003 03:39:02 +0000 (03:39 +0000)]
(ENCODE_CHAR): If the method is SUBSET or SUPERSET, call encode_char.
Kenichi Handa [Sat, 11 Jan 2003 03:38:05 +0000 (03:38 +0000)]
(encode_char): Fix handling of methods SUBSET and SUPERSET.
Kenichi Handa [Sat, 11 Jan 2003 01:59:15 +0000 (01:59 +0000)]
*** empty log message ***
Kenichi Handa [Sat, 11 Jan 2003 01:50:19 +0000 (01:50 +0000)]
(x_new_fontset): Fix previous change.
Dave Love [Fri, 10 Jan 2003 12:45:24 +0000 (12:45 +0000)]
(syms_of_composite): Make composition_hash_table
weak.
Kenichi Handa [Fri, 10 Jan 2003 07:42:18 +0000 (07:42 +0000)]
*** empty log message ***
Kenichi Handa [Fri, 10 Jan 2003 07:42:08 +0000 (07:42 +0000)]
* HELLO: Fix upcase and downcase for several languages. Change
the two German lines into one. Change "Nederlangs" to
"Dutch (Nederlands)". Add original language names to several
entries.
Kenichi Handa [Fri, 10 Jan 2003 07:37:08 +0000 (07:37 +0000)]
Delete the code to create a fontset from the X resource "Font".
Kenichi Handa [Fri, 10 Jan 2003 07:35:06 +0000 (07:35 +0000)]
Enable the default fontset to use
unicode fonts for ASCII characters.
(x-decompose-font-name): Don't try to resolve PATTERN by
x-resolve-font-name.
(x-complement-fontset-spec): Never prepend an ASCII font.
(create-fontset-from-fontset-spec): If a fontset of the same name
already exists, override it instead of signalling an error. Don't
turn `ascii' into `latin'. Don't update fontset-alias-alist here.
Kenichi Handa [Fri, 10 Jan 2003 07:26:55 +0000 (07:26 +0000)]
(unicode-bmp): Delete duplicated definition. Give it :code-offset 0.
Kenichi Handa [Fri, 10 Jan 2003 07:25:31 +0000 (07:25 +0000)]
(print-fontset-element): New
function.
(print-fontset): Use print-fontset-element to print the elements
of a fontset. Use it also to print fonts fallen back to the
default fontsets.
Kenichi Handa [Fri, 10 Jan 2003 07:22:39 +0000 (07:22 +0000)]
(x_new_fontset): Prototype adjusted.
Kenichi Handa [Fri, 10 Jan 2003 07:22:03 +0000 (07:22 +0000)]
(x_new_fontset): Change the arg FONTSETNAME to Lisp
string. Use new_fontset_from_font_name to create a fontset from a
font name.
Kenichi Handa [Fri, 10 Jan 2003 07:20:25 +0000 (07:20 +0000)]
(x_set_font, x_create_tip_frame): Adjusted to the change
of x_new_fontset.
(Fx_create_frame): Don't call x_new_fontset here. Just use
x_list_fonts to check the existence of fonts.
Kenichi Handa [Fri, 10 Jan 2003 07:16:14 +0000 (07:16 +0000)]
(check_face_attributes, generate_ascii_font_name)
(font_name_registry): Don't extern them.
(split_font_name_into_vector, build_font_name_from_vector): Extern
them.
Kenichi Handa [Fri, 10 Jan 2003 07:14:47 +0000 (07:14 +0000)]
(Qfontset): Don't extern it.
(new_fontset_from_font_name): Extern it.
Kenichi Handa [Fri, 10 Jan 2003 07:13:43 +0000 (07:13 +0000)]
Give 8 extra slots to fontset objects.
(Qfontset_info): New variable.
(syms_of_fontset): Defsym it.
(FONTSET_FALLBACK): New macro.
(fontset_face): Try also the default fontset.
(make_fontset): Realize a fallback fontset from the default
fontset.
(generate_ascii_font_name): Moved from xfaces.c. Rewritten by
using split_font_name_into_vector and build_font_name_from_vector.
(Fset_fontset_font): Access the elements of font_spec by enum
FONT_SPEC_INDEX. If font_spec is a string, extract the registry
name by using split_font_name_into_vector.
(Fnew_fontset): If no ASCII font is specified in FONTLIST,
generate a proper font name from the fontset name. Update
Vfontset_alias_alist.
(n_auto_fontsets): New variable.
(new_fontset_from_font_name): New function.
(Ffont_info): Store the information about fonts generated from the
default fontset in the first extra slot of the returned
char-table.
Kenichi Handa [Fri, 10 Jan 2003 06:55:55 +0000 (06:55 +0000)]
(generate_ascii_font_name): Moved to fontset.c.
(font_name_registry): Function deleted.
(split_font_name_into_vector): New function.
(build_font_name_from_vector): New function.
(font_list): The argument REGISTRY is now a list of registry
names.
(choose_face_font): If we are choosing an ASCII font, and ATTRS
specifies an explicit font name, return the name as is. Make a
list of registy names.
Kenichi Handa [Thu, 9 Jan 2003 11:55:10 +0000 (11:55 +0000)]
(print-fontset): Insert proper newline and indentation spaces.
Dave Love [Tue, 7 Jan 2003 18:07:20 +0000 (18:07 +0000)]
*** empty log message ***
Dave Love [Tue, 7 Jan 2003 18:06:43 +0000 (18:06 +0000)]
(find-coding-systems-for-charsets):
Use coding-system-type, coding-system-charset-list.
(standard-keyboard-coding-systems): Deleted.
(set-locale-environment): Maybe set keyboard coding system. Avoid
typical warning about codeset in C locale.
Dave Love [Tue, 7 Jan 2003 18:06:29 +0000 (18:06 +0000)]
(cl-make-type-test): Use characterp.
Dave Love [Tue, 7 Jan 2003 18:06:20 +0000 (18:06 +0000)]
(side-effect-free-fns): Add langinfo,
multibyte-char-to-unibyte.
Dave Love [Tue, 7 Jan 2003 17:54:30 +0000 (17:54 +0000)]
(skip_chars, skip_syntaxes): Fix type errors.
Dave Love [Tue, 7 Jan 2003 17:54:11 +0000 (17:54 +0000)]
(update_compositions): Fix type error.
Dave Love [Tue, 7 Jan 2003 17:53:49 +0000 (17:53 +0000)]
(Fapropos_internal): Don't gcpro apropos_predicate but
set it to nil before returning.
Dave Love [Tue, 7 Jan 2003 17:52:51 +0000 (17:52 +0000)]
Fix some dependencies.
Kenichi Handa [Tue, 7 Jan 2003 01:28:01 +0000 (01:28 +0000)]
(Fset_fontset_font): Fix indentation of docstring.
Kenichi Handa [Tue, 7 Jan 2003 01:26:33 +0000 (01:26 +0000)]
(x_new_font): Optimize for the case that the font is
already set for the frame.
Kenichi Handa [Tue, 7 Jan 2003 01:26:08 +0000 (01:26 +0000)]
*** empty log message ***
Kenichi Handa [Mon, 6 Jan 2003 13:26:04 +0000 (13:26 +0000)]
(char_table_ascii): Check if the char table contents
is sub-char-table or not.
(char_table_set): Fix argument to char_table_ascii.
(char_table_set_range): Likewise.
Kenichi Handa [Mon, 6 Jan 2003 13:25:48 +0000 (13:25 +0000)]
*** empty log message ***
Kenichi Handa [Mon, 6 Jan 2003 12:24:13 +0000 (12:24 +0000)]
*** empty log message ***
Kenichi Handa [Mon, 6 Jan 2003 11:37:17 +0000 (11:37 +0000)]
(CATEGORY_MASK_RAW_TEXT): New macro.
(detect_coding_utf_8, detect_coding_utf_16)
(detect_coding_emacs_mule, detect_coding_iso_2022)
(detect_coding_sjis, detect_coding_big5)
(detect_coding_ccl, detect_coding_charset): Change argument MASK
to DETECT_INFO. Update DETECT_INFO and return 1 if the byte
sequence is valid in this coding system. Callers changed.
(MAX_ANNOTATION_LENGTH): New macro.
(ADD_ANNOTATION_DATA): New macro.
(ADD_COMPOSITION_DATA): Argument changed. Callers changed. Call
ADD_ANNOTATION_DATA. The format of annotation data changed.
(ADD_CHARSET_DATA): New macro.
(emacs_mule_char): New argument ID. Callers changed.
(decode_coding_emacs_mule, decode_coding_iso_2022)
(decode_coding_sjis, decode_coding_big5, decode_coding_charset):
Produce charset annotation data in coding->charbuf.
(encode_coding_emacs_mule, encode_coding_iso_2022): Pay attention
to charset annotation data in coding->charbuf.
(setup_coding_system): Add CODING_ANNOTATE_CHARSET_MASK
coding->common_flags if the coding system is iso-2022 based and
uses designation.
(produce_composition): Adjusted for the new annotation data
format.
(produce_charset): New function.
(produce_annotation): Handle charset annotation.
(handle_composition_annotation, handle_charset_annotation): New
functions.
(consume_chars): Handle charset annotation. Utilize the above two
functions.
(encode_coding_object): If SRC_OBJECT and DST_OBJECT are the same
buffer, get the deleted text as a string and set
coding->src_object to that string.
(detect_coding, detect_coding_system): Use the new struct
coding_detection_info.
Kenichi Handa [Mon, 6 Jan 2003 11:36:42 +0000 (11:36 +0000)]
(struct coding_detection_info): New structure.
(struct coding_system): Prototype of the member `detector'
adjusted.
(CODING_ANNOTATE_CHARSET_MASK): New macro.
Kenichi Handa [Mon, 6 Jan 2003 11:09:58 +0000 (11:09 +0000)]
Add local variable coding: latin-1.
Kenichi Handa [Mon, 6 Jan 2003 11:09:39 +0000 (11:09 +0000)]
*** empty log message ***
Kenichi Handa [Mon, 6 Jan 2003 01:18:01 +0000 (01:18 +0000)]
*** empty log message ***
Kenichi Handa [Mon, 6 Jan 2003 01:17:47 +0000 (01:17 +0000)]
(insert_from_gap): Fix argument to offset_intervals.
Kenichi Handa [Mon, 6 Jan 2003 01:12:14 +0000 (01:12 +0000)]
(x-complement-fontset-spec): If a fontname doesn't conform to XLFD
format, try to get XLFD name by x-list-fonts.
Dave Love [Fri, 3 Jan 2003 20:25:06 +0000 (20:25 +0000)]
(apropos_predicate, apropos_accumulate): Declare
static.
(Fapropos_internal): Don't gcpro apropos_accumulate. Set result
to new local and nullify apropos_accumulate before returning.
(syms_of_keymap): Staticpro and initialize apropos_accumulate.
Dave Love [Thu, 12 Dec 2002 19:42:58 +0000 (19:42 +0000)]
Fixed/updated
from haible's version.
Dave Love [Sun, 8 Dec 2002 22:50:32 +0000 (22:50 +0000)]
*** empty log message ***
Dave Love [Sun, 8 Dec 2002 22:48:37 +0000 (22:48 +0000)]
(mik, pt154): New coding systems.
Dave Love [Sun, 8 Dec 2002 22:48:16 +0000 (22:48 +0000)]
(mik, pt154): New charsets.
Dave Love [Sun, 8 Dec 2002 22:45:54 +0000 (22:45 +0000)]
Remove codepoint 0x7f.
Dave Love [Thu, 5 Dec 2002 14:31:28 +0000 (14:31 +0000)]
(unicode-data): Fix treatment of
numeric-value fields.
Dave Love [Thu, 5 Dec 2002 14:28:21 +0000 (14:28 +0000)]
Move parts around so that syntax
definitions aren't overwritten wrongly.
Kenichi Handa [Thu, 5 Dec 2002 04:25:02 +0000 (04:25 +0000)]
(Fdefine_charset_internal): Setup charset.fast_map correctly.
Kenichi Handa [Thu, 5 Dec 2002 04:24:45 +0000 (04:24 +0000)]
*** empty log message ***
Dave Love [Sun, 1 Dec 2002 12:19:36 +0000 (12:19 +0000)]
*** empty log message ***
Dave Love [Tue, 26 Nov 2002 17:48:07 +0000 (17:48 +0000)]
(Flanginfo): Call synchronize_system_time_locale.
Dave Love [Thu, 7 Nov 2002 20:26:51 +0000 (20:26 +0000)]
Use AC_CONFIG_LIBOBJ_DIR. Require autoconf 2.54.
Kenichi Handa [Thu, 7 Nov 2002 07:32:07 +0000 (07:32 +0000)]
Fix previous change.
Kenichi Handa [Thu, 7 Nov 2002 06:34:54 +0000 (06:34 +0000)]
*** empty log message ***
Kenichi Handa [Thu, 7 Nov 2002 06:33:32 +0000 (06:33 +0000)]
Load composite
Kenichi Handa [Thu, 7 Nov 2002 06:33:13 +0000 (06:33 +0000)]
(tibetan-composition-function): Change
arguments to conform to composition-function-table.
Kenichi Handa [Thu, 7 Nov 2002 06:32:49 +0000 (06:32 +0000)]
Register tibetan-composition-function in
composition-function-table for Tibetan characters.
Kenichi Handa [Thu, 7 Nov 2002 06:32:26 +0000 (06:32 +0000)]
(thai-post-read-conversion): Delete this
function.
(thai-composition-function): Change arguments to conform to
composition-function-table.
Kenichi Handa [Thu, 7 Nov 2002 06:32:02 +0000 (06:32 +0000)]
Register thai-composition-function in
composition-function-table for Thai vowels and tones.
(thai-tis620): Don't use thai-post-read-conversion.
Kenichi Handa [Thu, 7 Nov 2002 06:31:37 +0000 (06:31 +0000)]
(lao-post-read-conversion): Delete this
function.
(lao-composition-function): Change arguments to conform to
composition-function-table.
Kenichi Handa [Thu, 7 Nov 2002 06:31:13 +0000 (06:31 +0000)]
Register lao-composition-function in
composition-function-table for Lao vowels and tones.
(lao): Don't use lao-post-read-conversion.
Kenichi Handa [Thu, 7 Nov 2002 06:30:49 +0000 (06:30 +0000)]
(indian-compose-region): Don't call
compose-chars-after, instead call a function registered in
composition-function-table.
Kenichi Handa [Thu, 7 Nov 2002 06:30:22 +0000 (06:30 +0000)]
(indian-composable-pattern): New variable.
Kenichi Handa [Thu, 7 Nov 2002 06:29:59 +0000 (06:29 +0000)]
Register combining characters in
composition-function-table.
(diacritic-composition-function): Change arguments to conform to
composition-function-table.
Kenichi Handa [Thu, 7 Nov 2002 06:29:31 +0000 (06:29 +0000)]
Register devanagari-composable-pattern
in indian-composable-pattern.
(devanagari-composition-function): Add autoload cookie. Change
arguments to conform to composition-function-table.
Kenichi Handa [Thu, 7 Nov 2002 06:29:07 +0000 (06:29 +0000)]
Register devanagari-composable-function
in composition-function-table for Devanagari characters.