| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
|
| |
(Fdefine_coding_system_alias): Use names, not symbols, in
coding-system-alist.
|
| | |
|
| |
|
|
| |
of calling free_reazlied_face.
|
| |
|
|
|
|
|
| |
(encode_coding_charset): Delete the local variable charset.
(Fdefine_coding_system_internal): Likewise.
(Fdefine_coding_system_internal): Setup
attrs[coding_attr_charset_valids] correctly.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(read_hex): Don't treat SPC as a comment starter.
(decode_char): If CODE_POINT_TO_INDEX retruns -1, always return
-1.
(Fdecode_char): Fix typo.
(CODE_POINT_TO_INDEX): Utilize `code_space_mask'
member to check if CODE is valid or not.
(Fdefine_charset_internal): Initialize `code_space_mask' member.
(encode_char): Before calling CODE_POINT_TO_INDEX, check if CODE
is within the range of charset->min_code and carset->max_code.
|
| |
|
|
|
| |
(Fset_terminal_coding_system_internal)
(Fset_safe_terminal_coding_system_internal): Fix arg declarations.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
multiple charsets correctly.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
changed, update `this' and `lisp_string'.
|
| |
|
|
| |
family than face's family.
|
| |
|
|
|
| |
val. If the current buffer is multibyte, always call
decode_coding_gap.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
source and destination are the same correctly.
(decode_coding_raw_text): Set coding->consumed_char and
coding->consumed to 0.
(produce_chars): If coding->chars_at_source is nonzero, update
coding->consumed_char and coding->consumed before calling
alloc_destination.
(Fdefine_coding_system_alias): Register ALIAS in
Vcoding_system_alist.
(syms_of_coding): Define `no-convesion' coding system at the tail.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(load_charset_map): Renamed from parse_charset_map. New args
entries and n_entries. Caller changed.
(load_charset_map_from_file): Renamed from load_charset_map.
Caller changed. New arg control_flag. Call load_charset_map at
the tail.
(load_charset_map_from_vector): New function.
(Fdefine_charset_internal): Setup charset.compact_codes_p.
(encode_char): If the charset is compact, change a character index
to a code point.
|
| |
|
|
|
| |
to decode_coding_c_string. Update PT and PT_BYTE after the
insertion.
|
| | |
|
| | |
|
| |
|
|
| |
Fix arguments to insert_from_buffer.
|
| | |
|
| |
|
|
| |
(decode_coding_gap): Set coding->dst_multibyte correctly.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
(decode_coding_utf_16): Fix converting high and low bytes to
code-point.
(encode_coding_utf_16): Substitute coding->default_char for
non-Unicode characters.
(decode_coding): Don't call record_insert here.
(setup_coding_system): Initialize `surrogate' of
coding->spec.utf_16 to 0.
(EMIT_ONE_BYTE): Fix for multibyte case.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
earlier. If inserted is zero and the coding system doesn't
require flushing, don't call decode_coding_gap.
|
| | |
|
| |
|
|
| |
DEPTH == 3. Add workaround code for a GCC optimization bug.
|
| |
|
|
|
|
| |
(CHAR_STRING): Adjusted for the change of
char_string_with_unification.
(CHAR_STRING_ADVANCE): Make it do-while statement.
|
| |
|
|
| |
(char_string_with_unification): Arg ADVANCED deleted.
|
| | |
|
| |
|
|
|
| |
(selection_data_to_lisp_data): Adjusted for the new code
covnersion API.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(x_encode_char): New argument CHARSET. Caller changed.
(x_get_char_face_and_encoding): Call ENCODE_CHAR instead of
SPLIT_CHAR.
(x_get_glyph_face_and_encoding): Likewise.
(x_produce_glyphs): Don't check Vnonascii_translation_table Call
CHAR_WIDTH instead of CHARSET_WIDTH.
(XTread_socket): Adjusted for the new code-conversion API.
(x_new_font): Adjusted for the change of FS_LOAD_FONT.
(x_load_font): Adjusted for the change of struct font.
|
| | |
|
| |
|
|
| |
(x_encode_text): Adjusted for the new code-conversion API.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
|
|
|
|
|
| |
(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.
|
| | |
|