1. 03 Dec, 2008 2 commits
  2. 21 Nov, 2008 1 commit
    • Kenichi Handa's avatar
      (detect_coding_iso_2022): Reject invalid composition · cee53ed4
      Kenichi Handa authored
      sequence.
      (DECODE_COMPOSITION_START): If the current source is the last
      block, and the current composition doesn't end, regard this
      sequence as invalid.
      (decode_coding_iso_2022): Handle invalid composition sequence.
      cee53ed4
  3. 23 Oct, 2008 1 commit
  4. 21 Oct, 2008 2 commits
  5. 16 Sep, 2008 1 commit
  6. 09 Jul, 2008 1 commit
  7. 05 Jun, 2008 1 commit
  8. 04 Jun, 2008 1 commit
  9. 29 May, 2008 1 commit
    • Kenichi Handa's avatar
      (CODING_UTF_8_BOM): New macro. · a470d443
      Kenichi Handa authored
      (enum coding_category): Delete coding_category_utf_8, add
      coding_category_utf_8_auto, coding_category_utf_8_nosig, and
      coding_category_utf_8_sig.
      (CATEGORY_MASK_UTF_8): Delete it.
      (CATEGORY_MASK_UTF_8_AUTO, CATEGORY_MASK_UTF_8_NOSIG)
      (CATEGORY_MASK_UTF_8_SIG): New macros.
      (CATEGORY_MASK_ANY): Delete CATEGORY_MASK_UTF_8, add
      CATEGORY_MASK_UTF_8_AUTO, CATEGORY_MASK_UTF_8_NOSIG, and
      CATEGORY_MASK_UTF_8_SIG.
      (CATEGORY_MASK_UTF_8): New macro.
      (UTF_BOM, UTF_8_BOM_1, UTF_8_BOM_2, UTF_8_BOM_3): New macros.
      (detect_coding_utf_8): Check BOM.
      (decode_coding_utf_8, encode_coding_utf_8): Handle BOM.
      (decode_coding_utf_16): Adjusted for the change of enum
      utf_bom_type.
      (encode_coding_utf_16): Likewise.
      (setup_coding_system): Likewise.  Set CODING_UTF_8_BOM (coding).
      (detect_coding, detect_coding_system): Handle utf-8-auto.
      (Fdefine_coding_system_internal): Handle `bom' property for utf-8.
      (syms_of_coding): Fix setting up of Vcoding_category_table.
      a470d443
  10. 28 May, 2008 2 commits
  11. 27 May, 2008 2 commits
  12. 19 May, 2008 1 commit
    • Juanma Barranquero's avatar
      (Fcoding_system_p): Rename argument to match docstring. · d4a1d553
      Juanma Barranquero authored
      (Funencodable_char_position, Fcheck_coding_systems_region,
      Fdecode_coding_string, Fencode_coding_string): Fix typos in docstrings.
      (Fdetect_coding_region, Fdetect_coding_string, Fencode_coding_region,
      Ffind_operation_coding_system, Fset_coding_system_priority,
      Fcoding_system_eol_type): Doc fixes.
      d4a1d553
  13. 14 May, 2008 2 commits
  14. 08 Apr, 2008 1 commit
  15. 03 Apr, 2008 1 commit
  16. 27 Mar, 2008 3 commits
  17. 25 Mar, 2008 1 commit
  18. 16 Mar, 2008 1 commit
    • Kenichi Handa's avatar
      (CHAR_STRING_ADVANCE_NO_UNIFY) · db274c7a
      Kenichi Handa authored
      (STRING_CHAR_ADVANCE_NO_UNIFY): New macros.
      (coding_alloc_by_making_gap): Fix the way to preserve data in the
      gap.
      (alloc_destination): Fix the 2nd arg to
      coding_alloc_by_making_gap.
      (encode_coding_utf_8): Use CHAR_STRING_ADVANCE_NO_UNIFY instead of
      CHAR_STRING_ADVANCE.
      (produce_chars): Fix for the case that the source and the
      destination are the same buffer.  Use CHAR_STRING_ADVANCE_NO_UNIFY
      instead of CHAR_STRING_ADVANCE.
      (consume_chars): Use STRING_CHAR_ADVANCE_NO_UNIFY instead of
      STRING_CHAR_ADVANCE.
      db274c7a
  19. 03 Mar, 2008 1 commit
  20. 02 Mar, 2008 2 commits
  21. 21 Feb, 2008 1 commit
  22. 14 Feb, 2008 1 commit
  23. 12 Feb, 2008 1 commit
    • Stefan Monnier's avatar
      * coding.c (coding_set_destination): Use BEG_BYTE rather than hardcoding 1. · 13818c30
      Stefan Monnier authored
      (detect_coding_system):
      * lisp.h (detect_coding_system, chars_in_text, multibyte_chars_in_text)
      (string_char_to_byte, string_byte_to_char, insert_from_gap):
      * insdel.c (insert_from_gap):
      * fns.c (string_char_byte_cache_charpos, string_char_byte_cache_bytepos)
      (string_char_to_byte, string_byte_to_char, string_make_multibyte)
      (string_to_multibyte):
      * character.c (chars_in_text, multibyte_chars_in_text):
      * fileio.c (Finsert_file_contents): Use EMACS_INT for buffer positions.
      13818c30
  24. 07 Feb, 2008 1 commit
  25. 05 Feb, 2008 1 commit
  26. 19 Jan, 2008 1 commit
    • Kenichi Handa's avatar
      (detect_coding_iso2022): New arg · 5a7a1dde
      Kenichi Handa authored
      latin_extra_code_state.  Allow Latin extra codes only
      when *latin_extra_code_state is nonzero.
      (detect_coding_mask): If there is a NULL byte, detect the encoding
      as UTF-16 or binary.  If Latin extra codes exist, detect the
      encoding as ISO-2022 only when there's no other proper encoding is
      found.
      5a7a1dde
  27. 18 Jan, 2008 1 commit
  28. 16 Jan, 2008 1 commit
  29. 11 Jan, 2008 1 commit
  30. 09 Jan, 2008 1 commit
  31. 08 Jan, 2008 1 commit
  32. 19 Nov, 2007 1 commit