| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
the case converting a region.
(encode_coding_utf_8): Encode eight-bit chars as single byte.
(encode_coding_object): Fix coding->dst_pos and
coding->dst_pos_byte for the case converting a region.
|
| |
|
|
| |
for a coding system of type iso-2022.
|
| |
|
|
|
| |
of Fset_buffer_multibyte.
(encode_coding_raw_text): Increment p0 in the loop.
|
| | |
|
| |
|
|
| |
ASCII only string correctly.
|
| |
|
|
|
|
|
|
|
|
| |
LEADING_CODE_PRIVATE_21, LEADING_CODE_PRIVATE_22): Macros
deleted. Callers changes to use
EMACS_MULE_LEADING_CODE_PRIVATE_11, etc.
(decode_coding_ccl): Add `const' to local variables.
(consume_chars): Likewise.
(Ffind_coding_systems_region_internal): Likewise.
(Fcheck_coding_systems_region): Likewise.
|
| | |
|
| |
|
|
|
|
|
| |
(make_conversion_work_buffer, code_conversion_restore)
(Fdefine_coding_system_internal): Convert Lisp types.
(code_conversion_restore): Use EQ, not ==.
(Fencode_coding_string): Fix code_convert_string call.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
(encode_coding_iso_2022): Likewise.
(encode_coding_sjis): Likewise.
(encode_coding_big5): Likewise.
(encode_coding_charset): Likewise.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(CODING_ISO_FLAG_USE_OLDJIS): New macro.
(CODING_ISO_FLAG_FULL_SUPPORT): Macro definition changed.
(setup_iso_safe_charsets): Fix arguemtns to Fassq.
(DECODE_DESIGNATION): Pay attention to CODING_ISO_FLAG_USE_ROMAN
and CODING_ISO_FLAG_USE_OLDJIS.
(ENCODE_ISO_CHARACTER_DIMENSION1): Likewise.
(ENCODE_ISO_CHARACTER_DIMENSION2): Likewise.
(encode_coding_iso_2022): Change the 1st arg to
ENCODE_ISO_CHARACTER to a variable.
|
| | |
|
| | |
|
| |
|
|
| |
(Fcoding_system_aliases): Fix return value.
|
| |
|
|
| |
(suffixes): Moved out of make_subsidiaries for K&R.
|
| |
|
|
| |
(decode_coding_charset): Workaround for the bug of GCC 2.96.
|
| | |
|
| |
|
|
|
|
|
| |
Fdefine_coding_system_internal.
(Fdefine_coding_system_internal): For a coding system of
`charset' type, store a list of charset IDs in
`charset_attr_charset_valids' element of coding attributes.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(emacs_mule_char): New arg src. Delete arg `composition'. Caller
changed. Handle 2-byte and 3-byte charsets correctly.
(DECODE_EMACS_MULE_COMPOSITION_RULE_20): Renamed from
DECODE_EMACS_MULE_COMPOSITION_RULE. Caller changed.
(DECODE_EMACS_MULE_COMPOSITION_RULE_21): New macro.
(DECODE_EMACS_MULE_21_COMPOSITION): Call
DECODE_EMACS_MULE_COMPOSITION_RULE_21. Produce correct annotation
sequence.
(decode_coding_emacs_mule): Handle composition correctly. Rewind
`src' and `consumed_chars' correctly before calling
emacs_mule_char.
(DECODE_COMPOSITION_START): Correctly handle the case of altchar
and alt&rule composition.
(decode_coding_iso_2022): Handle composition correctly.
(init_coding_once): Setup emacs_mule_bytes for private charsets.
|
| |
|
|
|
|
|
|
| |
encoding, produce a character specified by
CODING_INHIBIT_CHARACTER_SUBSTITUTION.
(encode_coding_sjis): Likewise.
(encode_coding_big5): Likewise.
(encode_coding_charset): Likewise.
|
| |
|
|
|
|
| |
Removed.
(Fset_coding_system_priority, Fset_coding_system_priority)
(Fdefine_coding_system_internal): Doc fix.
|
| |
|
|
|
|
|
|
| |
pre-write-conversion. Ignore the return value of
pre-write-conversion function. Pay attention for the case that
pre-write-conversion change the current buffer. If dst_object is
Qt, even if coding->src_bytes is zero, allocate at least one byte
to coding->destination.
|
| |
|
|
| |
calling post-read-conversion function.
|
| |
|
|
|
| |
handling of charset list.
(encode_coding_iso_2022): Setup coding->safe_charsets in advance.
|
| |
|
|
|
| |
(Fdefine_coding_system_alias): Use names, not symbols, in
coding-system-alist.
|
| |
|
|
|
|
|
| |
(encode_coding_charset): Delete the local variable charset.
(Fdefine_coding_system_internal): Likewise.
(Fdefine_coding_system_internal): Setup
attrs[coding_attr_charset_valids] correctly.
|
| |
|
|
|
| |
(Fset_terminal_coding_system_internal)
(Fset_safe_terminal_coding_system_internal): Fix arg declarations.
|
| |
|
|
| |
multiple charsets correctly.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
(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.
|
| | |
|
| | |
|
| |
|
|
| |
Give up if NCOMPONENT gets too large to index `component'.
|
| | |
|
| |
|
|
| |
before calling decode_coding.
|
| |
|
|
| |
patch (COMPOSING_P, not COMPOSING).
|
| |
|
|
| |
instead of only for COMPOSITION_DISABLED.
|
| |
|
|
| |
(Fdecode_sjis_char): Likewise.
|
| |
|
|
|
| |
extra extra slot.
(detect_coding_mask): Fix call of detect_coding_iso2022.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
(encode_coding): Remove unused variable `src_end'.
(code_convert_region): Remove unused variables `count'.
|
| | |
|
| | |
|
| |
|
|
| |
used for decoding input on X.
|
| | |
|