1. 28 Feb, 2009 4 commits
  2. 22 Feb, 2009 1 commit
    • Andreas Schwab's avatar
      * coding.h (struct coding_system): Make safe_charsets a pointer to · 1b3b981b
      Andreas Schwab authored
      unsigned char.
      * coding.c (CODING_ISO_REQUEST): Check for safe_charsets content
      being 255.
      (SAFE_CHARSET_P): Likewise.
      (setup_iso_safe_charsets): Properly setup safe_charsets.
      (Fdefine_coding_system_internal): Likewise.
      (setup_coding_system): Likewise.  Remove unneeded casts.
      (detect_coding_iso_2022): Compare Viso_2022_charset_list with
      CODING_ATTR_CHARSET_LIST, not CODING_ATTR_SAFE_CHARSETS.  Remove
      unneeded casts.
      1b3b981b
  3. 19 Feb, 2009 2 commits
  4. 16 Feb, 2009 2 commits
  5. 11 Feb, 2009 1 commit
  6. 09 Feb, 2009 1 commit
  7. 07 Feb, 2009 1 commit
  8. 04 Feb, 2009 1 commit
  9. 30 Jan, 2009 1 commit
  10. 15 Jan, 2009 1 commit
  11. 14 Jan, 2009 2 commits
  12. 10 Jan, 2009 1 commit
    • Eli Zaretskii's avatar
      Fix Bug #876: · 97b1b294
      Eli Zaretskii authored
      (inhibit_null_byte_detection): New variable.
      (detect_coding, detect_coding_system): Don't pay attention to null bytes if
      inhibit_null_byte_detection is non-zero.
      (syms_of_coding) <inhibit-null-byte-detection>: Declare and document.
      <inhibit-iso-escape-detection>: Doc fix.
      97b1b294
  13. 08 Jan, 2009 1 commit
  14. 07 Jan, 2009 1 commit
  15. 20 Dec, 2008 1 commit
  16. 10 Dec, 2008 1 commit
  17. 07 Dec, 2008 1 commit
  18. 03 Dec, 2008 5 commits
  19. 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
  20. 23 Oct, 2008 1 commit
  21. 21 Oct, 2008 2 commits
  22. 16 Sep, 2008 1 commit
  23. 09 Jul, 2008 1 commit
  24. 05 Jun, 2008 1 commit
  25. 04 Jun, 2008 1 commit
  26. 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
  27. 28 May, 2008 2 commits
  28. 27 May, 2008 1 commit