1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 00:01:33 -08:00
Commit graph

40541 commits

Author SHA1 Message Date
Kenichi Handa
cd2086e4c3 Don't bind multibyte characters to self-insert-command here. It's
done in mule-conf.el
2002-03-01 01:58:36 +00:00
Kenichi Handa
0f8c4c4fed Include "character.h".
(x_encode_text): Adjusted for the new code-conversion API.
2002-03-01 01:50:19 +00:00
Kenichi Handa
81b39386f6 Include "character.h" instead of "charset.h".
(load_face_font): Adjusted for the change of choose_face_font and
FS_LOAD_FONT.
(generate_ascii_font): New function.
(set_lface_from_font_name): Adjusted for the change of
FS_LOAD_FONT.
(set_font_frame_param): Adjusted for the change of
choose_face_font.
(free_realized_face): Make it public.
(free_realized_faces_for_fontset): Renamed from
free_realized_multibyte_face.  Free also faces realized for ASCII.
(choose_face_font): Argments changed.  Adjusted for the change of
fontset_font_pattern and FS_LOAD_FONT.
2002-03-01 01:49:55 +00:00
Kenichi Handa
ea0ffe2111 Include "character.h".
(get_next_display_element): Adjusted for the new multibyte form.
(disp_char_vector): Adjusted for the new char table structure.
(decode_mode_spec_coding): Adjusted for the new structure of
coding system.
(decode_mode_spec): Adjusted for the new code-conversion API.
2002-03-01 01:49:30 +00:00
Kenichi Handa
43d69cebd5 (x_new_font): Adjusted for the change of FS_LOAD_FONT. 2002-03-01 01:49:08 +00:00
Kenichi Handa
9332ea0315 Include "buffer.h" and "character.h".
(encode_terminal_code): Adjusted for the new code-conversion API.
(write_glyphs): Likewise.
(produce_glyphs): Call CHAR_WIDTH instead of CHARSET_WIDTH.
2002-03-01 01:48:37 +00:00
Kenichi Handa
f4926ee835 (SET_RAW_SYNTAX_ENTRY): Call CHAR_TABLE_SET.
(SYNTAX_ENTRY_FOLLOW_PARENT): Macro deleted.
(SET_RAW_SYNTAX_ENTRY_RANGE): New macro.
(SYNTAX_ENTRY_INT): Call CHAR_TABLE_REF.
2002-03-01 01:48:16 +00:00
Kenichi Handa
5c7b02aba7 Include "character.h" instead of "charset.h".
(syntax_parent_lookup): Deleted.
(Fmodify_syntax_entry): Accept a cons as CHAR.
(skip_chars): Adjusted for the new multibyte form.
(init_syntax_once): Call char_table_set_range instead of directly
accessing the structure of a char table.
2002-03-01 01:47:11 +00:00
Kenichi Handa
76eb088136 Include "character.h" instead of "charset.h".
(search_buffer, boyer_moore): Adjusted for the new multibyte form.
(Freplace_match): Adjusted for the change of
multibyte_char_to_unibyte.
2002-03-01 01:46:49 +00:00
Kenichi Handa
9117d724bb * regex.c: Include "character.h" instead of "charset.h".
(BYTE8_TO_CHAR, CHAR_BYTE8_P) [not emacs]: New dummy macros.
(regex_compile): Accept a range whose starting and ending
character have different leading bytes.
(analyse_first): Adjusted for the above change.
2002-03-01 01:46:12 +00:00
Kenichi Handa
404061ebe6 (BASE_PURESIZE): Increased. 2002-03-01 01:45:51 +00:00
Kenichi Handa
5bbf78c1f9 Include "character.h" instead of "charset.h".
(read_process_output): Adjusted for the new code-conversion API.
(send_process): Likewise.
2002-03-01 01:45:23 +00:00
Kenichi Handa
8b4b4467b5 * print.c: Include "character.h" instead of "charset.h".
(print_string): Convert 8-bit raw bytes to octal form by
string_escape_byte8.
(print_object): Adjusted for the new multibyte form.  Print 8-bit
raw bytes always in octal form.  Handle sub char table correctly.
2002-03-01 01:45:03 +00:00
Kenichi Handa
1571601b93 Include "character.h".
(read_multibyte): New arg NBYTES.
(read_escape): The meaning of returned *BYTEREP changed.
(to_multibyte): Deleted.
(read1): Adjuted the handling of char table and string.
2002-03-01 01:44:45 +00:00
Kenichi Handa
1842abb2bf (enum pvec_type): New member PVEC_SUB_CHAR_TABLE.
(XSUB_CHAR_TABLE, XSETSUB_CHAR_TABLE): New macros.
(CHAR_TABLE_ORDINARY_SLOTS, CHAR_TABLE_SINGLE_BYTE_SLOTS,
SUB_CHAR_TABLE_ORDINARY_SLOTS, SUB_CHAR_TABLE_STANDARD_SLOTS):
Deleted.
(CHAR_TABLE_REF, CHAR_TABLE_SET): Adjusted for the new char table
structure.
(CHAR_TABLE_TRANSLATE): Just call char_table_translate.
(CHARTAB_SIZE_BITS_0, CHARTAB_SIZE_BITS_1, CHARTAB_SIZE_BITS_2,
CHARTAB_SIZE_BITS_3): New macros.
(chartab_size): Extern it.
(struct Lisp_Char_Table): Re-designed.
(struct Lisp_Sub_Char_Table): New structure.
(HASH_KEY, HASH_VALUE): Moved from fns.c.
(CHARACTERBITS): Defined as 22.
(GLYPH_MASK_FACE, GLYPH_MASK_CHAR): Adjusted for the above change.
(SUB_CHAR_TABLE_P): Check PVEC_CHAR_TABLE.
(GC_SUB_CHAR_TABLE_P): New macro.
(Fencode_coding_string, Fdecode_coding_string): EXFUN Updated.
(code_convert_string_norecord): Extern deleted.
(init_character_once, syms_of_character, init_charset,
syms_of_composite, Qeq, Fmakehash, insert_from_gap): Extern them.
2002-03-01 01:44:13 +00:00
Kenichi Handa
dd4acaa57f (describe_char_table): Extern it. 2002-03-01 01:43:45 +00:00
Kenichi Handa
e1e36e6e40 Include "character.h".
(store_in_keymap): Handle the case that IDX is a cons.
(Fdefine_key): Handle the case that KEY is a cons and the car part
is also a cons (range).
(push_key_description): Adjusted for the new character code.
(describe_vector): Call describe_char_table for a char table.
(describe_char_table): New function.
2002-03-01 01:43:26 +00:00
Kenichi Handa
8b46191092 Include "character.h" instead of "charset.h".
(command_loop_1): Never call direct_output_forward_char before
a non-ASCII character.
(read_char): If Vkeyboard_translate_table is a char table, always
translated a character.
2002-03-01 01:43:03 +00:00
Kenichi Handa
811f73706a Include "character.h" instead of "charset.h".
(copy_text): Don't refer to Vnonascii_translation_table.
(insert_from_gap): New function.
2002-03-01 01:42:42 +00:00
Kenichi Handa
f6ed712f0a Include "character.h" instead of "charset.h".
(MULTIBYTE_BYTES_WIDTH): Call CHAR_WIDTH instead of
WIDTH_BY_CHAR_HEAD.
2002-03-01 01:42:20 +00:00
Kenichi Handa
5c23ffd551 (struct font_info): Type of the member encoding_type
changed.
(enum FONT_SPEC_INDEX): New enum.
(fontset_font_pattern, fs_load_font): Prototype updated.
(FS_LOAD_FONT): Adjusted for the change of fs_load_font.
2002-03-01 01:41:06 +00:00
Kenichi Handa
38583a692b Include "character.h" instead of "charset.h".
(copy_sub_char_table): Moved to chartab.c.
(Fcopy_sequence): Call copy_char_table for a char table.
(concat): Delete codes calling count_multibyte.
(string_char_to_byte): Adjusted for the new multibyte form.
(string_byte_to_char): Likewise.
(internal_equal): Adjusted for the change of char table structure.
(Fchar_table_subtype, Fchar_table_parent, Fset_char_table_parent,
Fchar_table_extra_slot, Fset_char_table_extra_slot,
Fchar_table_range, Fset_char_table_range, Fset_char_table_default,
char_table_translate, optimize_sub_char_table,
Foptimize_char_table, map_char_table, Fmap_char_table): Moved to
chartab.c.
(char_table_ref_and_index): Deleted.
(HASH_KEY, HASH_VALUE): Moved to lisp.h.
(Fmd5): Call preferred_coding_system instead of accessing
Vcoding_category_list.  Adjusted for the new code-conversion API.
(syms_of_fns): Defsubr for char table related functions moved to
chartab.c.
2002-03-01 01:39:56 +00:00
Kenichi Handa
db327c7e5a Include "character.h" instead of "charset.h".
(Finsert_file_contents): Big change for the new code-conversion
API.
(choose_write_coding_system): Likewise.
(Fwrite_region): Likewise.
(build_annotations_2): Deleted.
(e_write): Big change for the new code-conversion API.
2002-03-01 01:38:37 +00:00
Kenichi Handa
e37d7195c5 (main): Call init_charset_once, init_charset,
syms_of_chartab, and syms_of_character.
2002-03-01 01:38:15 +00:00
Kenichi Handa
40fbd2544a Include "character.h" instead of "charset.h".
(Fchar_to_string): Always call CHAR_STRING.
2002-03-01 01:37:55 +00:00
Kenichi Handa
222b06302b Include "character.h" instead of "charset.h".
(Fchar_to_string): Always call CHAR_STRING.
2002-03-01 01:26:16 +00:00
Kenichi Handa
f35dca995e (DISP_CHAR_VECTOR): Adjusted for the change of char
table structure.
2002-03-01 01:25:51 +00:00
Kenichi Handa
9cb01f031d (free_realized_face, check_face_attribytes,
generate_ascii_font): Extern them.
(free_realized_multibyte_face): Extern deleted.
2002-03-01 01:25:27 +00:00
Kenichi Handa
e6e1f52114 Include "character.h" instead of "charset.h".
(Faref): Call CHAR_TABLE_REF for a char table.
(Faset): Call CHAR_TABLE_SET for a char table.
2002-03-01 01:25:08 +00:00
Kenichi Handa
9f504898c4 (enum composition_method): Order of enumeration
symbols changed.
2002-03-01 01:18:37 +00:00
Kenichi Handa
1527c36e24 Include "character.h" instead of "charset.h".
(CHAR_WIDTH): Moved to character.h.
(HASH_KEY, HASH_VALUE): Deleted.
2002-03-01 01:18:09 +00:00
Kenichi Handa
df7492f970 Completely re-written. 2002-03-01 01:17:24 +00:00
Kenichi Handa
3263d5a2ea Completely re-written. Character and multibyte
sequence handling codes are moved to character.c.
2002-03-01 01:16:34 +00:00
Kenichi Handa
0168c3d809 New file. 2002-03-01 01:15:38 +00:00
Kenichi Handa
d2bc5a70e9 (struct ccl_program): Members eol_type and multibyte
deleted.  New members src_multibyte, dst_multibyte, consumed, and
produced.
(struct ccl_spec): Members decoder and encoder deleted.  New
memeber ccl.
(CODING_SPEC_CCL_PROGRAM): New macro.
(ccl_driver): Prototype updated.
(Qccl, Qcclp, Fccl_program_p): Extern them.
(CHECK_CCL_PROGRAM): New macro.
2002-03-01 01:14:37 +00:00
Kenichi Handa
c10842eac7 Include "character.h".
(Qccl, Qcclp): New variables.
(CCL_WRITE_CHAR): Alway treat the arg CH as a character even if
it's less than 256.
(CCL_WRITE_MULTIBYTE_CHAR): Deleted.
(CCL_WRITE_STRING, CCL_READ_CHAR): Adjusted for the change of SRC
and DST type.
(ccl_driver): Types of arguments changed.  Code adjusted for that.
(Fccl_execute, Fccl_execute_on_string): Adjusted for the change of
ccl_driver.
(syms_of_ccl): Intern and staticpro Qccl and Qcclp.
2002-03-01 01:14:09 +00:00
Kenichi Handa
2eca16e6a1 (CATEGORY_SET): Just call char_category_set. 2002-03-01 01:13:46 +00:00
Kenichi Handa
ea012abd5c Include "character.h".
(copy_category_entry): New function.
(copy_category_table): Call map_char_table and copy_category_entry.
(Fmake_category_table): Initialize all top-vel slots.
(char_category_set): New function.
(modify_lower_category_set): Deleted.
(Fmodify_category_entry): Call char_table_ref_and_range.
2002-03-01 01:13:23 +00:00
Kenichi Handa
1ee5d538f3 New file that implements char table. 2002-03-01 01:12:57 +00:00
Kenichi Handa
e961d43908 Include "character.h" instead of "charset.h".
(set_canon, set_identity, shuffle): Adjusted for the new
map_char_table spec.
(init_casetab_once): Call CHAR_TABLE_SET instead of directly
accessing the char table structure.
2002-03-01 01:11:39 +00:00
Kenichi Handa
91183bfd93 Include "character.h" instead of "charset.h".
(Fcall_process): Big change for the new code-conversion APIs.
2002-03-01 01:11:12 +00:00
Kenichi Handa
d6af5f0c11 EXFUN Fbuffer_live_p. 2002-03-01 01:10:45 +00:00
Kenichi Handa
8f348ed597 Include "character.h" instead of "charset.h", don't include
"coding.h".
(Fset_buffer_multibyte): Adjuted for UTF-8.
2002-03-01 01:07:51 +00:00
Kenichi Handa
9d80e8839b Include "character.h" instead of "charset.h".
(Fmake_char_table): Moved to chartab.c.
(make_sub_char_table): Likewise.
(syms_of_alloc): Remove defsubr for Smake_char_table.
2002-03-01 01:06:56 +00:00
Kenichi Handa
d2f6dae878 Include "character.h". 2002-03-01 01:06:35 +00:00
Kenichi Handa
83be827add Include "character.h" instead of "charset.h". 2002-03-01 01:06:01 +00:00
Kenichi Handa
85969c224a (obj): Add character.o and chartab.o.
(lisp, shortlisp): Remove utf-8.elc:
(*.o): For many files, change dependency on charset.h to
character.h, and add dependency on character.h.
(character.o, chartab.o): New targets.
2002-03-01 01:01:48 +00:00
Kenichi Handa
d5fb9ac8f4 (xchartable): Adjusted for the change of char table
structure.
(xsubchartable, xcoding, xcharset, xcurbuf): New commands.
2002-03-01 00:59:36 +00:00
Richard M. Stallman
3243b9f38e Clarify gamma correction. 2002-02-27 05:29:00 +00:00
Richard M. Stallman
b83e4a7727 <making srcdir absolute>: Verify that PWD is correct,
not just well-formed and valid.
2002-02-27 03:53:03 +00:00