summaryrefslogtreecommitdiff
path: root/src/coding.c
AgeCommit message (Collapse)Author
2002-03-08(encode_coding_utf_8): Initialize produced_chars to 0.Kenichi Handa
(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.
2002-03-05* coding.c: Delete unused variables.Kenichi Handa
2002-03-01Completely re-written.Kenichi Handa
2002-02-01(decode_composition_emacs_mule):Richard M. Stallman
Give up if NCOMPONENT gets too large to index `component'.
2002-01-11(code_convert_region): Don't copy old text if undo disabled.Richard M. Stallman
2001-12-17(code_convert_region): Update coding->cmp_data->char_offsetRichard M. Stallman
before calling decode_coding.
2001-12-17(DECODE_COMPOSITION_END): Fixed a typo in the lastSam Steingold
patch (COMPOSING_P, not COMPOSING).
2001-12-17(DECODE_COMPOSITION_END): Check for ! COMPOSING (coding)Richard M. Stallman
instead of only for COMPOSITION_DISABLED.
2001-12-09(setup_coding_system, shrink_encoding_region)Pavel Janík
(Fdecode_sjis_char): Likewise.
2001-11-29(syms_of_coding) <Qchar_coding_system>: Give it anDave Love
extra extra slot. (detect_coding_mask): Fix call of detect_coding_iso2022.
2001-11-28(decode_coding_string): Remove unused variable `gcpro1'.Pavel Janík
2001-11-14(syms_of_coding): Doc fix.Richard M. Stallman
2001-11-13Doc fix.Pavel Janík
2001-11-09(encode_coding): Use precomputed value of `src'.Pavel Janík
(encode_coding): Remove unused variable `src_end'. (code_convert_region): Remove unused variables `count'.
2001-11-04Change doc-string comments to `new style' [w/`doc:' keyword].Pavel Janík
2001-11-02Update usage of CHECK_ macros (remove unused second argument).Pavel Janík
2001-10-29(syms_of_coding): Document that locale-coding-system isEli Zaretskii
used for decoding input on X.
2001-10-21(Ffind_operation_coding_system): Add usage: string to doc string.Miles Bader
2001-10-16Avoid (most) uses of XCAR/XCDR as lvalues, for flexibility in experimentingKen Raeburn
with lisp system changes.
2001-10-05Use SYMBOL_VALUE/SET_SYMBOL_VALUE macros instead of accessingGerd Moellmann
symbols' value directly.
2001-07-23(code_convert_region): Handle the multibyte case ifGerd Moellmann
decoding ends with CODING_FINISH_INSUFFICIENT_SRC.
2001-07-17* coding.c (setup_coding_system): Don't do any designation based on reg_bits ifKen Raeburn
charset is not yet defined.
2001-07-12(Ffind_coding_systems_region_internal): If safe_codingsStefan Monnier
is t, don't try to append anything to it.
2001-04-05commentDave Love
2001-03-08(Fdetect_coding_region): Fix comments added by the previous change.Kenichi Handa
2001-03-08(detect_coding_mask): Fix the incorrect handling of arg MULTIBYTEP.Kenichi Handa
2001-03-08(detect_coding_sjis): Do more rigid check.Kenichi Handa
(detect_coding_big5): Likewise. (decode_coding_sjis_big5): Likewise. (Fdetect_coding_region): Call detect_coding_system with tailing anchor byte `\0' for more rigid detection. (Fdetect_coding_string): Likewise.
2001-03-05(syms_of_coding): Docstring modified.Kenichi Handa
2001-02-27(ccl_coding_driver): If ccl->eight_bit_control is zero,Kenichi Handa
treat the produced bytes as a valid multibyte sequence.
2001-02-14Doc and message fixes.Dave Love
2001-02-08(code_convert_region): After detecting a coding, ifKenichi Handa
nothing found, set coding->composing to COMPOSITION_NO. (decode_coding_string): Likewise.
2001-01-26(decode_coding): Set a flag for inhibitingKenichi Handa
inconsistent eol. (code_convert_region): Always set saved_coding_symbol. (decode_coding_string): Likewise. Update coding->symbol when we encounter a inconsistent eol by the same way as code_convert_region.
2001-01-24(ccl_coding_driver): Setup ccl->suppress_error.Kenichi Handa
(Fset_terminal_coding_system_internal): Set the member suppress_error to 1. (Fset_safe_terminal_coding_system_internal): Likewise.
2001-01-04Commentary changes.Dave Love
(detect_eol_type_in_2_octet_form): Declare arg big_endian_p.
2001-01-02(detect_coding_iso2022, setup_coding_system): RemoveEli Zaretskii
unused variable `i'. (detect_coding_mask): Remove unused variable `idx'. (detect_coding): Remove unused variable `i'. (ccl_coding_driver): Remove unused variable `result'. (run_pre_post_conversion_on_str): Remove unused variable `prev'. (decode_coding_string): Remove unused variables `to' and `gcpro1'. (encode_coding_string): Remove unused variables `gcpro1' and `saved_coding_symbol'. (Ffind_coding_systems_region_internal): Remove function-local variable args[], leave only the block-local one. (code_convert_region1): Remove unused variable `len'.
2000-12-28(setup_coding_system): InitializeKenichi Handa
coding->spec.ccl.eight_bit_carryover. (ccl_coding_driver): Pay attention to carried over 8-bit bytes.
2000-12-28(SAFE_ONE_MORE_BYTE): New macro.Kenichi Handa
(DECODE_EMACS_MULE_COMPOSITION_CHAR): New macro. (DECODE_EMACS_MULE_COMPOSITION_RULE): New macro. (decode_composition_emacs_mule): New function. (decode_coding_emacs_mule): Decode composition sequence by calling decode_composition_emacs_mule. (ENCODE_COMPOSITION_EMACS_MULE): New macro. (encode_coding_emacs_mule): Changed from macro to function. If a text contains compostions, encode them correctly. (setup_coding_system): Set coding->commong_flags for emacs-mule so that decoding and encoding are required.
2000-12-21(ccl_coding_driver): Initialize ccl->cr_consumed.Kenichi Handa
2000-12-15(detect_coding): Call detect_coding_mask with a correct MULTIBYTEPKenichi Handa
argument. (code_convert_region): Don't override coding->src_multibyte and coding->dst_multibyte.
2000-12-15(setup_coding_system): Clear all members of the structKenichi Handa
coding_system at first.
2000-12-14(decode_coding_string): Set coding->src_multibyte andKenichi Handa
coding->dst_multibyte before calling detect_coding and detect_eol. Update them after some coding system is detected.
2000-12-13(ONE_MORE_BYTE_CHECK_MULTIBYTE): New macro.Kenichi Handa
(detect_coding_emacs_mule, detect_coding_iso2022,) (detect_coding_sjis, detect_coding_big5, detect_coding_utf_8) (detect_coding_utf_16, detect_coding_ccl): Make them static. New argument MULTIBYTEP. Callers changed. (detect_coding_mask, detect_coding_system): New argument MULTIBYTEP. Callers changed.
2000-12-05(setup_coding_system): Be sure to initialize coding->category_idx.Kenichi Handa
2000-11-28(Ffind_coding_systems_region_internal): Be sure toKenichi Handa
include no-conversion.
2000-11-23(decode_coding_emacs_mule): Fix the case ofEli Zaretskii
CODING_EOL_LF, which used an uninitialized value of c.
2000-10-26(decode_coding): Fix previous change (check alsoKenichi Handa
CODING_MODE_LAST_BLOCK).
2000-10-24(decode_coding_emacs_mule): If coding->eol_type is CREli Zaretskii
or CRLF, decode EOLs.
2000-10-22Fix a typo in a comment.Eli Zaretskii
2000-10-13(decode_coding_string): Set coding->src_multibyte andKenichi Handa
coding->dst_multibyte before using CODING_REQUIRE_DECODING. (encode_coding_string): Set coding->src_multibyte and coding->dst_multibyte before using CODING_REQUIRE_ENCODING.
2000-10-13(code_convert_region): Be sure to initialize coding->category_idx.Kenichi Handa