| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | |
|
| | | |
|
| | |
| |
| |
| | |
coding_type_ccl, double magnification on CRLF encoding.
|
| | |
| |
| |
| | |
(syms_of_coding): Intern it.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
is nonzero, accept multibyte form of eight-bit-control chars.
(decode_composition_emacs_mule): Likewise.
(decode_coding_emacs_mule): Likewise.
(encode_coding_emacs_mule): If coding->flags is nonzero, produce
multibyte form of eight-bit-control chars.
|
| | |
| |
| |
| | |
property before calling ccl_driver.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
of CODING_REPLACEMENT_CHARACTER.
(decode_coding_iso2022): If CODING_FLAG_ISO_SAFE, set
CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag in coding->mode, and
check this flag on encoding.
(encode_coding_sjis_big5): Check
CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag of coding->mode.
(Fset_terminal_coding_system_internal): Set
CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag in terminal_coding.mode
instead of setting CODING_FLAG_ISO_SAFE flag in
terminal_coding.flags.
|
| | |
| |
| |
| | |
even if the coding doesn't require decoding.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
function.
(find_safe_codings): Pay attention to
the property tranlsation-table-for-encode of each codings.
(syms_of_coding): Give Qtranslation_table the extra slot number 2.
|
| | |
| |
| |
| |
| | |
(find_safe_codings): Pay attention to characters registered in
latin-extra-code-table.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Vlast_coding_system_used to the argument.
(code_convert_region): If post-read-conversion function changed
the value of last-coding-sytem, keep the new value in
coding->symbol so that it won't be overridden.
(run_pre_post_conversion_on_str): Likewise.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(Vcoding_system_safe_chars): New variable.
(intersection): Remove this function.
(find_safe_codings): Don't use Vchar_coding_system_table, but try
all codings in SAFE_CODINGS.
(Ffind_coding_systems_region_internal): Adjusted for the change of
find_safe_codings. Get generic coding systems from
Vcoding_system_safe_chars.
(Fdefine_coding_system_internal): New function.
(syms_of_coding): Defsubr Sdefine_coding_system_internal.
Initialize and staticpro Vcoding_system_safe_chars.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
composition components reaches the limit, terminate composing.
(COMPOSITION_OK): New macro.
(detect_coding_iso2022): Use it if an escapse sequence for
composition is found.
(coding_restore_composition): Adjust the number of composition
components if it is not sane.
|
| | | |
|
| | |
| |
| |
| | |
`coding-system-require-warning'.
|
| | |
| |
| |
| | |
(syms_of_coding): DEFVAR it.
|
| | | |
|
| | |
| |
| |
| | |
(syms_of_coding): DEFVAR it.
|
| | | |
|
| | |
| |
| |
| | |
(decode_coding_sjis_big5, decode_eol): Allow lone \r in DOS EOL.
|
| | | |
|
| | |
| |
| |
| |
| | |
conversion, pay attention to the case that coding->produced is not
greater than coding->consumed.
|
| | |
| |
| |
| |
| | |
Only when it is non-nil, handle composition sequence.
(setup_coding_system) <0>: Don't force composition handling.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
(Funencodable_char_position): New function.
(syms_of_coding): Defsubr Funencodable_char_position.
|
| | | |
|
| | |
| |
| |
| | |
VISIT is a filename, make it the target.
|
| | |
| |
| |
| |
| | |
for CODING_CATEGORY_MASK_ISO_8_2, if we read one extra byte, check
it in the normal loop.
|
| | |
| |
| |
| |
| |
| |
| | |
(decode_coding, encode_coding, detect_coding_system): Source
strings now treated as const.
(decode_coding_string, encode_coding_string): Use STRING_COPYIN to
modify Lisp string contents.
|
| | |
| |
| |
| | |
pointer to lisp string data.
|
| | |
| |
| |
| |
| | |
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
(code_convert_string1, code_convert_string_norecord)
(Ffind_operation_coding_system): Use SYMBOL_NAME instead of
XSYMBOL and name field.
|
| | |
| |
| |
| |
| | |
characters is carried over from the previous block of text, adjust
coding->produced to account for the extra character.
|
| | |
| |
| |
| | |
in the same order as in the first list.
|
| | |
| |
| |
| | |
parens, to ensure correct evaluation order.
|
| | |
| |
| |
| | |
Don't call temp_output_buffer_setup--do just part, by hand.
|
| |/ |
|
| |
|
|
| |
Give up if NCOMPONENT gets too large to index `component'.
|