| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
and force_multibyte correctly.
|
| |
|
|
|
| |
unibyte_to_multibyte_table.
(init_charset_once): Likewise.
|
| |
|
|
| |
unibyte buffer, check if we must decode the result or not.
|
| |
|
|
|
|
|
| |
post-read-conversion or pre-write-conversion, set
CODING_REQUIRE_DECODING_MASK and CODING_REQUIRE_ENCODING_MASK
respectively.
(decode_coding_gap): Run post-read-conversion if any.
|
| | |
|
| |
|
|
| |
name to the same one as that of Emacs 21.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(decode_coding_iso_2022): Pay attention to the byte sequence of
CTEXT extended segment, and retain those bytes as is.
(decode_coding_ccl): Delete unused variable `valids'.
(setup_coding_system): Delete unused variable `category'.
(consume_chars): Delete unused variable `category'. Make it work
for non-multibyte case.
(make_conversion_work_buffer): Argument changed.
(saved_coding): Delete unused variable.
(code_conversion_restore): Don't check saved_coding->destination.
(code_conversion_save): New function.
(decode_coding_gap, encode_coding_gap): Call code_conversion_save
instead of record_unwind_protect.
(decode_coding_object, encode_coding_object): Likewise. Recover
PT.
(detect_coding_system): Delete unused variable `mask'.
(Fdefine_coding_system_internal): Delete unsed vaiable id;
|
| |
|
|
| |
(code_conversion_restore): Don't extern it.
|
| |
|
|
|
|
| |
(Finsert_file_contents): On replacing, call
make_conversion_work_buffer with correct args, and call
record_unwind_protect with the first arg kill_workbuf_unwind.
|
| | |
|
| | |
|
| |
|
|
| |
coding_type is Qcharset.
|
| |
|
|
|
|
|
|
| |
FONTSET_NAME.
(fontset_add): Fix for the case that TO is less than TO1.
(Ffontset_info): Don't use fallback fontset on checking the
default fontset.
(dump_fontset): New function for debugging.
|
| | |
|
| |
|
|
|
| |
(map_char_table): Don't inherit the value from the parent on
initializing VAL. Adjusted for the above change.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(syms_of_coding): Don't initialize them.
(CATEGORY_MASK_UTF_16_AUTO): New macro.
(detect_coding_utf_16): Add CATEGORY_MASK_UTF_16_AUTO in
detect_info->found.
(decode_coding_utf_16): Don't detect BOM here.
(encode_coding_utf_16): Produce BOM if CODING_UTF_16_BOM (coding)
is NOT utf_16_without_bom.
(setup_coding_system): For a coding system of type utf-16, check
if the attribute :endian is Qbig or not (not nil or not), and set
CODING_REQUIRE_DETECTION_MASK if BOM detection is required.
(detect_coding): If coding type is utf-16 and BOM detection is
required, detect it.
(Fdefine_coding_system_internal): For a coding system of type
utf-16, check if the attribute :endian is Qbig or not (not nil or
not).
|
| | |
|
| |
|
|
|
|
| |
buffer is different from coding->src_object.
(decode_coding_object): Don't use the conversion work buffer if
DST_OBJECT is a buffer.
|
| | |
|
| | |
|
| |
|
|
| |
emacs_mule_charset correctly.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Vface_resizing_fonts.
(struct font_name): Rename member resizing_ratio to rescale_ratio.
(font_rescale_ratio): Renamed from font_resizing_ratio.
(split_font_name): Set font->rescale_ratio.
(better_font_p): Pay attention to font->rescale_ratio.
(build_scalable_font_name): Likewise. Change RESX, and RESY
fields.
(syms_of_xfaces): Declare Vface_font_rescale_alist as a Lisp
variable.
|
| |
|
|
|
|
|
| |
(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.
|
| | |
|
| |
|
|
| |
the work buffer, set point of the work buffer to the end.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
and fix C types.
|
| |
|
|
| |
(set_cursor_from_row): Pay attention to string display properties.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
(syms_of_charset): Defsubr it.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
| |
member coding_arg_ccl_decoder to coding_arg_max.
|
| | |
|
| |
|
|
|
|
|
| |
(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.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
weak.
|
| | |
|
| | |
|
| |
|
|
|
| |
string. Use new_fontset_from_font_name to create a fontset from a
font name.
|
| |
|
|
|
|
| |
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.
|