summaryrefslogtreecommitdiff
path: root/src/coding.c
Commit message (Collapse)AuthorAgeFilesLines
* (detect_coding_iso2022): New argKenichi Handa2008-01-191-24/+93
| | | | | | | | | 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.
* Add 2008 to copyright years.Glenn Morris2008-01-081-2/+2
|
* (Qcompletion_ignore_case): New external Lisp_Object.Glenn Morris2007-10-171-1/+9
| | | | (Fread_coding_system): Ignore case of user input.
* Remove license from trivial file.Glenn Morris2007-07-251-1/+1
|
* (Ffind_operation_coding_system): Doc fix.Juanma Barranquero2007-07-161-1/+1
|
* Add 2007 to copyright years.Glenn Morris2007-01-211-2/+2
|
* Update AIST copyright years.Kenichi Handa2006-12-131-1/+2
|
* (code_convert_region): InitializeKenichi Handa2006-11-141-0/+5
| | | | | coding->heading_ascii. (decode_coding_string, code_convert_region): Likewise.
* (Fencode_sjis_char, Fencode_big5_char): Improve argument/docstring consistency.Juanma Barranquero2006-11-121-2/+2
|
* (Fdetect_coding_region, Fdetect_coding_string): FixKenichi Handa2006-08-281-2/+4
| | | | docstring about ISO-2022 control characters.
* (ONE_MORE_BYTE_CHECK_MULTIBYTE): New arg RET. If SRCKenichi Handa2006-08-151-36/+25
| | | | | | | | is exhausted, return with RET. (detect_coding_emacs_mule, detect_coding_iso2022) (detect_coding_sjis, detect_coding_big5, detect_coding_utf_8) (detect_coding_utf_16, detect_coding_ccl): Adjusted for the above change.
* (syms_of_coding): Improve the docstringKenichi Handa2006-08-091-2/+3
| | | | file-coding-system-alist.
* Comment change.Richard M. Stallman2006-07-291-0/+3
|
* (Ffind_operation_coding_system): Revert the change from 2006-05-29.Eli Zaretskii2006-07-291-1/+1
|
* (Fcheck_coding_system): Use xsignal1. Remove loop.Kim F. Storm2006-07-181-4/+5
| | | | (Fdefine_coding_system_internal): Use xsignal1.
* (Ffind_operation_coding_system): Doc fix.Richard M. Stallman2006-05-301-2/+2
|
* (Ffind_operation_coding_system): Doc fix.Eli Zaretskii2006-05-291-3/+4
|
* (Ffind_operation_coding_system): Call a function byKenichi Handa2006-05-291-1/+1
| | | | safe_call1 instead of call1.
* (Ffind_operation_coding_system): Allow (FILENAME . BUFFER) in TARGET.Kenichi Handa2006-05-261-1/+11
|
* (Qascii_incompatible): New variable.Kenichi Handa2006-05-181-1/+14
| | | | | | (syms_of_coding): Setup Qascii_incompatible. (setup_coding_system): Be sure to initialize coding->common_flags. Check `ascii-incompatible' property of the coding system.
* (setup_coding_system): For invalid coding-system, setKenichi Handa2006-05-081-11/+8
| | | | | | | | | coding->eol_type to CODING_EOL_UNDECIDED. (encode_coding): Cancel previous change. (shrink_encoding_region): Likewise. (code_convert_region1): Likewise. (code_convert_string1): Likewise. (code_convert_string_norecord): Likewise.
* (setup_coding_system): If eol-type is not yet decidedKenichi Handa2006-04-131-4/+9
| | | | | | | | | and system_eol_type is not LF, set CODING_REQUIRE_ENCODING_MASK. If coding_system is nil, return 0. (code_convert_region1): Even if coding_system is nil, don't skip conversion if system_eol_type is not LF. (code_convert_string1): Likewise. (code_convert_string_norecord): Likewise.
* (shrink_encoding_region): If eol_type is not yet decided andKenichi Handa2006-04-131-0/+2
| | | | system_eol_type is not LF, don't shrink.
* (encode_coding): If eol_type is not yet decided, useKenichi Handa2006-04-131-0/+2
| | | | system_eol_type.
* (setup_coding_system): Fix previous change.Kenichi Handa2006-04-131-1/+1
|
* (setup_coding_system): Use system_eol_type for defaultKenichi Handa2006-04-121-2/+2
| | | | coding->eol_type.
* (DECODE_EMACS_MULE_COMPOSITION_CHAR): Fix decodingKenichi Handa2006-03-091-1/+1
| | | | ASCII component of a composition.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+2
|
* (decode_composition_emacs_mule): Fix handling ofKenichi Handa2006-02-021-1/+3
| | | | incorrect format data.
* Copyright fixedKenichi Handa2005-12-191-2/+3
|
* (code_convert_region_unwind): GCPRO arg.Kenichi Handa2005-12-141-0/+5
|
* (code_convert_region_unwind): Argument format changed.Kenichi Handa2005-09-141-7/+22
| | | | | | (run_pre_post_conversion_on_str): If pre-write-conversion function changed the current buffer, delete the new buffer. (run_pre_write_conversin_on_c_str): Likewise.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-1/+1
|
* (code_convert_region_unwind): ARG is changed to a cons.Kenichi Handa2005-07-141-11/+34
| | | | | | | | (code_convert_region): Adjusted for the above change. (set_conversion_work_buffer): If the work buffer is already in use, generate a new buffer and return it. Otherwise return Qnil. (run_pre_post_conversion_on_str): Adjusted for the above change. (run_pre_write_conversin_on_c_str): Likewise.
* * coding.c (Qprocess_argument):Kim F. Storm2005-07-121-1/+1
| | | | * coding.h (Qprocess_argument): Remove unused var.
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (run_pre_post_conversion_on_str): Remove unused var `buf'.Stefan Monnier2005-06-131-1/+0
|
* (decode_coding_string): Handle CODING_FINISH_INTERRUPT.Kim F. Storm2005-06-031-0/+1
|
* Typo in comment.Kim F. Storm2005-04-211-1/+1
|
* (Vcoding_category_list): Docstring fix.Kenichi Handa2005-03-311-1/+1
|
* (syms_of_coding): Suggest to use set-coding-category inKenichi Handa2005-03-251-2/+1
| | | | the docstring of coding-category-list.
* (syms_of_coding): Docstring of coding-category-list fixed.Kenichi Handa2005-03-151-1/+4
|
* (encode_coding_string): Always return a unibyte string.Kenichi Handa2005-02-141-15/+28
| | | | | If NOCOPY is nonzero and there's no need of encoding, make STR unibyte directly.
* (decode_coding_iso2022): Translate invalid codes ifKenichi Handa2005-01-181-0/+2
| | | | translation-table is specified.
* (decode_coding): Fix previous change.Dan Nicolaescu2004-12-281-1/+1
|
* (decode_coding_XXX, decode_composition_emacs_mule)Dan Nicolaescu2004-12-281-30/+40
| | | | | | | (decode_coding_emacs_mule, encode_coding_emacs_mule) (decode_coding_iso2022, encode_designation_at_bol) (encode_coding_iso2022, decode_coding_sjis_big5, decode_eol) (decode_coding): Constify arguments and local vars.
* (code_convert_region): Fix calculation of `ratio'.Kenichi Handa2004-12-271-2/+2
|
* (Vcode_conversion_workbuf_name): New variable.Kenichi Handa2004-11-301-17/+93
| | | | | | | (syms_of_coding): Initialize and staticpro it. (set_conversion_work_buffer): New function. (run_pre_post_conversion_on_str): Use it. (run_pre_write_conversin_on_c_str): New function.
* (run_pre_post_conversion_on_str): Bind Qinhibit_read_only.Richard M. Stallman2004-11-251-0/+2
|
* (code_convert_region): Don't skip ASCIIs if there are compositions to encode.Kenichi Handa2004-09-291-5/+15
| | | | | Free composition data. (encode_coding_string): Likewise.