- 05 Dec, 2000 1 commit
-
-
Kenichi Handa authored
-
- 28 Nov, 2000 1 commit
-
-
Kenichi Handa authored
include no-conversion.
-
- 23 Nov, 2000 1 commit
-
-
Eli Zaretskii authored
CODING_EOL_LF, which used an uninitialized value of c.
-
- 26 Oct, 2000 1 commit
-
-
Kenichi Handa authored
CODING_MODE_LAST_BLOCK).
-
- 24 Oct, 2000 1 commit
-
-
Eli Zaretskii authored
or CRLF, decode EOLs.
-
- 22 Oct, 2000 1 commit
-
-
Eli Zaretskii authored
-
- 13 Oct, 2000 2 commits
-
-
Kenichi Handa authored
coding->dst_multibyte before using CODING_REQUIRE_DECODING. (encode_coding_string): Set coding->src_multibyte and coding->dst_multibyte before using CODING_REQUIRE_ENCODING.
-
Kenichi Handa authored
-
- 07 Sep, 2000 3 commits
-
-
Kenichi Handa authored
-
Kenichi Handa authored
-
Kenichi Handa authored
encoding, not decoding. Check for the charset katakana-jisx0201, not latin-jisx0201. (ONE_MORE_CHAR): Call translate_char with CHARSET arg -1.
-
- 23 Aug, 2000 1 commit
-
-
Kenichi Handa authored
coding->produced_char correctly.
-
- 18 Aug, 2000 2 commits
-
-
Kenichi Handa authored
-
Kenichi Handa authored
consumed_char, produced, produced_char of *coding correctly. If decode_coding doesn't consume any byte, don't try anymore. (encode_coding_string): Likewise.
-
- 16 Aug, 2000 2 commits
-
-
Kenichi Handa authored
the end of the source block.
-
Kenichi Handa authored
(conversion_buffer, conversion_buffer_size): Variables deleted. (get_conversion_buffer): Function deleted. (struct conversion_buffer): New structure. (MAX_ALLOCA): New macro. (allocate_conversion_buffer): New macro. (extend_conversion_buffer, free_conversion_buffer): New functions. (ccl_coding_driver): Set coding->result. (decode_coding): Set coding->result to CODING_FINISH_NORMAL if this is the last block of source. (encode_coding): Likewise. Handle the source block as the last one only when the whole source text is consumed. (decode_coding_string): Handle the case that the output buffer is too small to decode the whole source text. Use allocate_conversion_buffer, extend_conversion_buffer and free_conversion_buffer, not get_conversion_buffer. (encode_coding_string): Likewise. (init_coding): Function deleted. (init_coding_once): Delete code to initialize conversion_buffer_size.
-
- 11 Aug, 2000 1 commit
-
-
Kenichi Handa authored
-
- 08 Aug, 2000 1 commit
-
-
Ken Raeburn authored
(Ffind_coding_systems_region_internal): First argument to Fappend must be an integer, not a lisp object.
-
- 04 Aug, 2000 2 commits
-
-
Kenichi Handa authored
cmp_data is not set properly (because of invalid code in the source text). (run_pre_post_conversion_on_str): Include text properties in the resulting string. (decode_coding_string): Set members of coding correctly.
-
Kenichi Handa authored
shifting.
-
- 27 Jul, 2000 1 commit
-
-
Kenichi Handa authored
(Qsafe_chars, Vchar_coding_system_table, Qchar_coding_system): New variables. (coding_safe_chars): New function. (CODING_SAFE_CHAR_P): New macro. (CHARSET_OK): New arg C. Call CODING_SAFE_CHAR_P instead of checking safe_charsets member of the coding system. Caller changed. (detect_coding_iso2022): New local variable safe_chars. (DECODE_DESIGNATION): Call CODING_SAFE_CHAR_P instead of checking safe_charsets member of the coding system. (decode_coding_iso2022): New local variable safe_chars. (ENCODE_ISO_CHARACTER_DIMENSION1): Don't check unsafe chars here. (ENCODE_ISO_CHARACTER_DIMENSION2): Likewise. (ENCODE_ISO_CHARACTER): Arguments changed. Caller changed. (ENCODE_UNSAFE_CHARACTER): New macro. (encode_coding_iso2022): New local variable safe_chars. Check unsafe chars. (setup_coding_system): Delete the code to initialize coding->safe_charses (intersection, find_safe_codings): New functions. (Ffind_coding_systems_region_internal): New function. (syms_of_coding): Defsubr it. Initialize Qsafe_chars, Qsafe_cding_system. Make Vchar_coding_system_table a Lisp variable and initialize it.
-
- 23 Jul, 2000 1 commit
-
-
Eli Zaretskii authored
-
- 19 Jul, 2000 1 commit
-
-
Kenichi Handa authored
conversion region.
-
- 18 Jul, 2000 2 commits
-
-
Gerd Moellmann authored
`inhibit-iso-escape-detection'.
-
Kenichi Handa authored
designations.
-
- 14 Jul, 2000 1 commit
-
-
Kenichi Handa authored
(syms_of_coding): Make it a Lisp variable. (detect_coding_iso2022): If inhibit_iso_escape_detection is nonzero, ignore ISO2022's escape sequence.
-
- 30 Jun, 2000 1 commit
-
-
Kenichi Handa authored
zero, try to convert it if coding->type is coding_type_ccl. (decode_coding_string, encode_coding_string): Likewise.
-
- 26 Jun, 2000 1 commit
-
-
Andreas Schwab authored
Fstring_as_unibyte.
-
- 23 Jun, 2000 1 commit
-
-
Eli Zaretskii authored
and inconsistent EOL types.
-
- 19 Jun, 2000 1 commit
-
-
Kenichi Handa authored
(ccl_coding_driver): On encoding, initialize ccl->eol_type. (decode_eol_post_ccl): New function. (decode_coding): Don't detect EOL format here for CCL based coding systems. (decode_coding) <coding_type_ccl>: Handle carryovered CR. Call decode_eol_post_ccl after running the CCL program. (code_convert_region): Don't detect EOL format here for CCL based coding systems. (decode_coding_string): Likewise.
-
- 15 Jun, 2000 1 commit
-
-
Kenichi Handa authored
start of the while loop.
-
- 30 May, 2000 1 commit
-
-
Kenichi Handa authored
CODING_CATEGORY_MASK_ISO_8_2.
-
- 29 May, 2000 1 commit
-
-
Kenichi Handa authored
yet allocated, finish decoding with result CODING_FINISH_INSUFFICIENT_CMP. (coding_allocate_composition_data): Make it non-static. (coding_restore_composition): Likewise.
-
- 26 May, 2000 1 commit
-
-
Dave Love authored
-
- 25 May, 2000 3 commits
-
-
Dave Love authored
-
Dave Love authored
-
Kenichi Handa authored
beginning of buffer before calling coding->post_read_conversion. (decode_coding_string): Give correct args to run_pre_post_conversion_on_str. (encode_coding_string): Likewise.
-
- 23 May, 2000 1 commit
-
-
Kenichi Handa authored
-
- 19 May, 2000 1 commit
-
-
Kenichi Handa authored
CODING_FINISH_INSUFFICIENT_SRC if there's not enough source. (ONE_MORE_CHAR, EMIT_CHAR, EMIT_ONE_BYTE, EMIT_TWO_BYTE, EMIT_BYTES): New macros. (THREE_MORE_BYTES, DECODE_CHARACTER_ASCII, DECODE_CHARACTER_DIMENSION1, DECODE_CHARACTER_DIMENSION2): These macros deleted. (CHECK_CODE_RANGE_A0_FF): This macro deleted. (detect_coding_emacs_mule): Use UNIBYTE_STR_AS_MULTIBYTE_P to check the validity of multibyte sequence. (decode_coding_emacs_mule): New function. (encode_coding_emacs_mule): New macro. (detect_coding_iso2022): Use ONE_MORE_BYTE to fetch a byte from the source. (DECODE_ISO_CHARACTER): Just return a character code. (DECODE_COMPOSITION_START): Set coding->result instead of result. (decode_coding_iso2022, decode_coding_sjis_big5, decode_eol): Use EMIT_CHAR to produced decoded characters. Exit the loop only by macros ONE_MORE_BYTE or EMIT_CHAR. Don't handle the case of last block here. (ENCODE_ISO_CHARACTER): Don't translate character here. Produce only position codes for an invalid character. (encode_designation_at_bol): Return new destination pointer. 5th arg DSTP is changed to DST. (encode_coding_iso2022, decode_coding_sjis_big5): Get a character from the source by ONE_MORE_CHAR. Don't handle the case of last block here. (DECODE_SJIS_BIG5_CHARACTER, ENCODE_SJIS_BIG5_CHARACTER): These macros deleted. (detect_coding_sjis, detect_coding_big5, detect_coding_utf_8, detect_coding_utf_16, detect_coding_ccl): Use ONE_MORE_BYTE and TWO_MORE_BYTES to fetch a byte from the source. (encode_eol): Pay attention to coding->src_multibyte. (detect_coding, detect_eol): Preserve members src_multibyte and dst_multibyte. (DECODING_BUFFER_MAG): Return 2 even for coding_type_raw_text. (encoding_buffer_size): Set magnification to 3 for all coding systems that require encoding. (ccl_coding_driver): For decoding, be sure that the result is valid multibyte sequence. (decode_coding): Initialize coding->errors and coding->result. For emacs-mule, call decode_coding_emacs_mule. For no-conversion and raw-text, always call decode_eol. Handle the case of last block here. If not coding->dst_multibyte, convert the resulting sequence to unibyte. (encode_coding): Initialize coding->errors and coding->result. For emacs-mule, call encode_coding_emacs_mule. For no-conversion and raw-text, always call encode_eol. Handle the case of last block here. (shrink_decoding_region, shrink_encoding_region): Detect cases that we can't skip data more rigidly. (code_convert_region): Setup src_multibyte and dst_multibyte members of coding. For decoding, if the buffer is multibyte, convert the source sequence to unibyte in advance. For encoding, if the buffer is multibyte, convert the resulting sequence to multibyte afterward. (run_pre_post_conversion_on_str): New function. (code_convert_string): Deleted and divided into the following two. (decode_coding_string, encode_coding_string): New functions. (code_convert_string1, code_convert_string_norecord): Call one of above. (Fdecode_sjis_char, Fdecode_big5_char): Use MAKE_CHAR instead of MAKE_NON_ASCII_CHAR. (Fset_terminal_coding_system_internal, Fset_safe_terminal_coding_system_internal): Setup src_multibyte and dst_multibyte members. (init_coding_once): Initialize iso_code_class with new enum ISO_control_0 and ISO_control_1.
-
- 08 Apr, 2000 1 commit
-
-
Ken Raeburn authored
* coding.c (code_convert_string_norecord): Pass an int, not a lisp object, as the fourth argument to code_convert_string.
-