1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 03:40:56 -08:00
Commit graph

41437 commits

Author SHA1 Message Date
Kenichi Handa
f4b670efaf (copy_category_entry): Fix for the case that RANGE is an integer. 2003-01-31 06:10:06 +00:00
Kenichi Handa
d8d032b87c (x_encode_char): Call ccl_driver with the last arg Qnil. 2003-01-31 06:09:27 +00:00
Kenichi Handa
b1a92b9199 (w32_encode_char): Call ccl_driver with the last arg Qnil. 2003-01-31 06:08:43 +00:00
Kenichi Handa
30959a4209 *** empty log message *** 2003-01-30 02:28:24 +00:00
Kenichi Handa
acc89ed1ef (define-ccl-program): Fset charset-id to charset-id-internal
temporarily.
2003-01-30 02:27:52 +00:00
Kenichi Handa
d5b3330910 (Fcharset_id_internal): New function.
(syms_of_charset): Defsubr it.
2003-01-30 02:25:12 +00:00
Kenichi Handa
8dcbea820b (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.
2003-01-30 02:23:40 +00:00
Kenichi Handa
35d47d18be (enum define_coding_ccl_arg_index): Set the first
member coding_arg_ccl_decoder to coding_arg_max.
2003-01-30 02:20:43 +00:00
Kenichi Handa
5cac9fd684 (ccl_driver): Prototype adjusted. 2003-01-30 02:19:36 +00:00
Kenichi Handa
bda731af93 (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.
2003-01-30 02:19:06 +00:00
Kenichi Handa
01ca0a766d (list-block-of-chars): Use decode-char instead of make-char. 2003-01-21 08:30:08 +00:00
Kenichi Handa
e3beb58b5b *** empty log message *** 2003-01-21 08:28:52 +00:00
Kenichi Handa
9a02732df6 (ENCODE_CHAR): If the method is SUBSET or SUPERSET, call encode_char. 2003-01-11 03:39:02 +00:00
Kenichi Handa
15c85a884f (encode_char): Fix handling of methods SUBSET and SUPERSET. 2003-01-11 03:38:05 +00:00
Kenichi Handa
1ab88162aa *** empty log message *** 2003-01-11 01:59:15 +00:00
Kenichi Handa
381cef56be (x_new_fontset): Fix previous change. 2003-01-11 01:50:19 +00:00
Dave Love
b418f8a60f (syms_of_composite): Make composition_hash_table
weak.
2003-01-10 12:45:24 +00:00
Kenichi Handa
23b513e6e2 *** empty log message *** 2003-01-10 07:42:18 +00:00
Kenichi Handa
7ca01d2ab8 * 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.
2003-01-10 07:42:08 +00:00
Kenichi Handa
c3459fd2f4 Delete the code to create a fontset from the X resource "Font". 2003-01-10 07:37:08 +00:00
Kenichi Handa
92438d6e2d 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.
2003-01-10 07:35:06 +00:00
Kenichi Handa
143023034c (unicode-bmp): Delete duplicated definition. Give it :code-offset 0. 2003-01-10 07:26:55 +00:00
Kenichi Handa
5c117135d1 (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.
2003-01-10 07:25:31 +00:00
Kenichi Handa
b94d3b355f (x_new_fontset): Prototype adjusted. 2003-01-10 07:22:39 +00:00
Kenichi Handa
77dabd3b55 (x_new_fontset): Change the arg FONTSETNAME to Lisp
string.  Use new_fontset_from_font_name to create a fontset from a
font name.
2003-01-10 07:22:03 +00:00
Kenichi Handa
7fb92cb1cb (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.
2003-01-10 07:20:25 +00:00
Kenichi Handa
e7d9cb6ac3 (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.
2003-01-10 07:16:14 +00:00
Kenichi Handa
d1970d058b (Qfontset): Don't extern it.
(new_fontset_from_font_name): Extern it.
2003-01-10 07:14:47 +00:00
Kenichi Handa
d6aaac9ead 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.
2003-01-10 07:13:43 +00:00
Kenichi Handa
154c2d3959 (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.
2003-01-10 06:55:55 +00:00
Kenichi Handa
1c4ec26057 (print-fontset): Insert proper newline and indentation spaces. 2003-01-09 11:55:10 +00:00
Dave Love
5c2a8d5d10 *** empty log message *** 2003-01-07 18:07:20 +00:00
Dave Love
c7b4b46659 (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.
2003-01-07 18:06:43 +00:00
Dave Love
31ff0ac1a2 (cl-make-type-test): Use characterp. 2003-01-07 18:06:29 +00:00
Dave Love
f9cbd45659 (side-effect-free-fns): Add langinfo,
multibyte-char-to-unibyte.
2003-01-07 18:06:20 +00:00
Dave Love
92eaa22e5d (skip_chars, skip_syntaxes): Fix type errors. 2003-01-07 17:54:30 +00:00
Dave Love
a6dd56c511 (update_compositions): Fix type error. 2003-01-07 17:54:11 +00:00
Dave Love
6403daf1a3 (Fapropos_internal): Don't gcpro apropos_predicate but
set it to nil before returning.
2003-01-07 17:53:49 +00:00
Dave Love
a11e18e5af Fix some dependencies. 2003-01-07 17:52:51 +00:00
Kenichi Handa
3dcd48ddf4 (Fset_fontset_font): Fix indentation of docstring. 2003-01-07 01:28:01 +00:00
Kenichi Handa
2570e34465 (x_new_font): Optimize for the case that the font is
already set for the frame.
2003-01-07 01:26:33 +00:00
Kenichi Handa
07ad7d434e *** empty log message *** 2003-01-07 01:26:08 +00:00
Kenichi Handa
40033db7ce (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.
2003-01-06 13:26:04 +00:00
Kenichi Handa
5a84378502 *** empty log message *** 2003-01-06 13:25:48 +00:00
Kenichi Handa
372edcb6ad *** empty log message *** 2003-01-06 12:24:13 +00:00
Kenichi Handa
ff0dacd733 (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.
2003-01-06 11:37:17 +00:00
Kenichi Handa
4fecac5ca4 (struct coding_detection_info): New structure.
(struct coding_system): Prototype of the member `detector'
adjusted.
(CODING_ANNOTATE_CHARSET_MASK): New macro.
2003-01-06 11:36:42 +00:00
Kenichi Handa
350f35e72f Add local variable coding: latin-1. 2003-01-06 11:09:58 +00:00
Kenichi Handa
a729ee1ec5 *** empty log message *** 2003-01-06 11:09:39 +00:00
Kenichi Handa
b0f481396a *** empty log message *** 2003-01-06 01:18:01 +00:00