1. 11 Mar, 2004 4 commits
  2. 10 Mar, 2004 1 commit
    • Kenichi Handa's avatar
      (MAX_ANNOTATION_LENGTH): Adjusted for the change of · 69a80ea3
      Kenichi Handa authored
      annotation data format.
      Change arguments FROM and TO to single argument NCHARS.  Caller
      (decode_coding_utf_8): Pay attention to coding->charbuf_used.
      (decode_coding_utf_16, decode_coding_emacs_mule)
      (decode_coding_iso_2022, decode_coding_sjis, decode_coding_big5)
      (decode_coding_ccl, decode_coding_charset): Likewise.
      (get_translation): New function.
      (produce_chars): New arguments translation_table and last_block.
      Translate characters here.  Return number of carryover chars.
      Caller changed.
      (produce_composition): New argument pos.  Caller changed.
      Adjusted for the change of annotation data format.
      (produce_charset, produce_annotation): Likewise.
      (decode_coding): Don't call translate_chars.
  3. 09 Mar, 2004 1 commit
  4. 08 Mar, 2004 1 commit
  5. 04 Mar, 2004 1 commit
  6. 29 Jan, 2004 1 commit
  7. 28 Jan, 2004 1 commit
  8. 27 Jan, 2004 2 commits
    • Kenichi Handa's avatar
      (decode_coding_sjis): Handle 4th charset (typically JISX0212). · 57a47f8a
      Kenichi Handa authored
      (encode_coding_sjis): Likewise.
    • Kenichi Handa's avatar
      (QCmnemonic, QCdefalut_char) · a6f87d34
      Kenichi Handa authored
      (QCdecode_translation_table, QCencode_translation_table)
      (QCpost_read_conversion, QCpre_write_conversion): New variables.
      (get_translation_table): Return a list of translation tables if
      (decode_coding): Call get_translation_table with ENCODEP 0.
      (char_encodable_p): If translation_table is non-nil, always call
      (Fdefine_coding_system_internal): Accept list of translation
      tables as :encode-translation-table and :decode-translation-table.
      (Fcoding_system_put): New function.
      (syms_of_coding): Declare new symbols.  Defsubr
  9. 25 Jan, 2004 3 commits
  10. 24 Jan, 2004 1 commit
  11. 29 Dec, 2003 1 commit
    • Kenichi Handa's avatar
      (Qinsufficient_source, Qinconsistent_eol) · 065e3595
      Kenichi Handa authored
      (Qinvalid_source, Qinterrupted, Qinsufficient_memory): New
      (Vlast_code_conversion_error): New variables.
      (syms_of_coding): DEFSYM or DEFVAR_LISP them.
      (ONE_MORE_BYTE): Record error if any instead of signaling an
      error.  If non-ASCII multibyte char is found, return the negative
      value of the code.  All callers changed to check it.
      (ONE_MORE_BYTE_NO_CHECK): Likewise.
      (record_conversion_result): New function.  All codes setting
      coding->result are changed to call this function.
      (detect_coding_utf_8): Don't use the local variable incomplete.
      (decode_coding_utf_8): Likewise.
      (emacs_mule_char): Change the second arg to `const'.
      (detect_coding_emacs_mule): Don't use the local variable
      (detect_coding_sjis): Likewise.
      (detect_coding_big5): Likewise.
      (decode_coding): Fix of flushing out unprocessed data.
      (make_conversion_work_buffer): Fix making of a work buffer.
      (decode_coding_object): Return coding->dst_object;
  12. 02 Dec, 2003 2 commits
    • Kenichi Handa's avatar
      (detect_coding): Fix previous change. · d8c9fb88
      Kenichi Handa authored
      (detect_coding_system): Likewise.
    • Kenichi Handa's avatar
      (enum iso_code_class_type): Delete ISO_carriage_return. · 24a73b0a
      Kenichi Handa authored
      (CODING_GET_INFO): Delete argument eol_type.  Callers changed.
      (decode_coding_utf_8): Don't do eol converion.
      (detect_coding_utf_16): Check coding->src_chars, not
      coding->src_bytes.  Add heuristics for those that have no
      (decode_coding_emacs_mule): Don't do eol converion.
      (decode_coding_iso_2022): Likewise.
      (decode_coding_sjis): Likewise.
      (decode_coding_big5): Likewise.
      (decode_coding_charset): Likewise.
      (adjust_coding_eol_type): Return a new coding system.
      (detect_coding): Don't detect eol.  Fix for utf-16 detection.
      (decode_eol): In case of CRLF->LF conversion, use del_range_2 on
      each change.
      (decode_coding): Pay attention to undo_list.  Do eol convesion for
      all types of coding-systems (if necessary).
      (Vcode_conversion_work_buf_list): Delete it.
      (Vcode_conversion_reused_workbuf): Renamed from
      (Vcode_conversion_workbuf_name): New variable.
      (reused_workbuf_in_use): New variable.
      (make_conversion_work_buffer): Delete the arg DEPTH.
      (code_conversion_restore): Argument changed to cons.
      (code_conversion_save): Delete the argument BUFFER.  Callers
      (detect_coding_system): New argument src_chars.  Callers changed.
      Fix for utf-16 detection.
      (init_coding_once): Don't use ISO_carriage_return.
      (syms_of_coding): Initialized Vcode_conversion_workbuf_name and
  13. 24 Nov, 2003 1 commit
  14. 23 Nov, 2003 1 commit
  15. 22 Nov, 2003 2 commits
  16. 06 Oct, 2003 2 commits
  17. 01 Oct, 2003 1 commit
  18. 29 Sep, 2003 1 commit
  19. 17 Sep, 2003 1 commit
  20. 08 Sep, 2003 1 commit
  21. 01 Sep, 2003 1 commit
  22. 28 Aug, 2003 1 commit
  23. 22 Jul, 2003 1 commit
  24. 09 Jul, 2003 3 commits
  25. 06 Jun, 2003 1 commit
    • Kenichi Handa's avatar
      * coding.c (QCcategory): New variable. · 01378f49
      Kenichi Handa authored
      (syms_of_coding): Defsym it.  Set all elements of
      Vcoding_category_table and their symbol values.
      (Fset_coding_system_priority): Doc fix.  Update symbol qvalues of
      coding-category-XXX, and coding-category-list.
      (Fdefine_coding_system_internal): Add category in the plist.
  26. 05 Jun, 2003 2 commits
  27. 04 Jun, 2003 1 commit
  28. 02 Jun, 2003 1 commit