aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | | | | | | | | | (decode_coding): Fix handling of invalid bytes.Kenichi Handa2005-10-151-1/+3
| | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | (encode_coding_object): If a pre-write-conversionKenichi Handa2005-09-231-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function makes a new buffer, kill it.
* | | | | | | | | | | | | | | | | | | Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-78Miles Bader2005-08-261-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 514-518) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 104-105) - Update from CVS
| * | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | | | | | | | | | (QCascii_compatible_p): New variable.Kenichi Handa2005-07-291-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (syms_of_coding): Initialize it. (ONE_MORE_BYTE): Decrement `src' before calling string_char. (ONE_MORE_BYTE_NO_CHECK): Likewise. (record_conversion_result): Add `default:' case. (coding_charset_list): Delete unused variable `coding_type'. (Fdefine_coding_system_internal): Add `ascii-compatible-p' property in the plist of the coding system. (Fcoding_system_put): Check QCascii_compatible_p.
* | | | | | | | | | | | | | | | | | | Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-69Miles Bader2005-07-141-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 474-484) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 88-91) - Merge from emacs--cvs-trunk--0 - Update FSF's address in GPL notices - Update from CVS
| * | | | | | | | | | | | | | | | | | * coding.c (Qprocess_argument):Kim F. Storm2005-07-121-1/+1
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * coding.h (Qprocess_argument): Remove unused var.
* | | | | | | | | | | | | | | | | | Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-68Miles Bader2005-07-071-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 459-473) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 86-87) - Update from CVS
| * | | | | | | | | | | | | | | | | 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
| | |_|_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | |
* | | | | | | | | | | | | | | Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-33Miles Bader2005-04-021-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 223-227) - Update from CVS
| * | | | | | | | | | | | | | (Vcoding_category_list): Docstring fix.Kenichi Handa2005-03-311-1/+1
| | |_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | |
* | | | | | | | | | | | | | Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-31Miles Bader2005-03-311-2/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 206-222) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 45-52) - Update from CVS - Update from CVS: texi Makefile.in CVS keyw cruft - Update from CVS: ChangeLog tweaks
| * | | | | | | | | | | | | (syms_of_coding): Suggest to use set-coding-category inKenichi Handa2005-03-251-2/+1
| | |_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the docstring of coding-category-list.
* | | | | | | | | | | | | (decode_coding_object): Use safe_call1 instead of call1.Kenichi Handa2005-03-291-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (encode_coding_object): Use safe_call instead of call2.
* | | | | | | | | | | | | Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-28Miles Bader2005-03-191-1/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 180-191) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 39-44) - Merge from emacs--cvs-trunk--0 - Update from CVS
| * | | | | | | | | | | | (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.
* | | | | | | | | | Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-81Miles Bader2005-01-021-5/+5
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge from emacs--cvs-trunk--0 Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-748 - miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-749 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-750 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-751 - miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-753 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-754 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-755 - miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-757 Update from CVS * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-78 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-79 - miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-80 Update from CVS * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-81 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-82 Update from CVS
| * | | | | | | | | (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
| | |_|_|_|_|_|/ | |/| | | | | |
* | | | | | | | Cancel the change done in HEAD on 2004-11-30.Kenichi Handa2004-12-111-89/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (coding_charset_list): New function.
* | | | | | | | Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-74Miles Bader2004-12-081-0/+89
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge from emacs--cvs-trunk--0 Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-709 Update from CVS: src/indent.c (Fvertical_motion): Fix last change. * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-710 - miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-715 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-716 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-74 Update from CVS
| * | | | | | | (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.
| * | | | | (decode_coding_string): Adjust coding->consumed, andKenichi Handa2004-08-031-0/+5
| | |_|_|/ | |/| | | | | | | | | | | | | etc. with shrinked_bytes.
| * | | | (MAX_ALLOCA): Remove define.Kim F. Storm2004-06-211-6/+2
| | |_|/ | |/| |
| * | | (encode_coding_string): Check CODING_FINISH_INTERRUPT.Kenichi Handa2004-06-111-0/+1
| | |/ | |/|
| * | (find_safe_codings): Check NILP (safe_codings) only atKenichi Handa2004-06-071-8/+26
| | | | | | | | | | | | the necessary places.
| * | (Fset_safe_terminal_coding_system_internal): SetKenichi Handa2004-05-231-1/+1
| |/ | | | | | | suppress_error in safe_terminal_coding, not terminal_coding.
| * (decode_coding_emacs_mule): Handle insufficent source correctly.Kenichi Handa2004-03-091-2/+19
| |
| * UTF-8 is now RFC3629.Eli Zaretskii2004-03-071-1/+1
| |
| * (coding_restore_composition): Check invalidKenichi Handa2004-02-021-0/+3
| | | | | | | | composition data more rigidly.
| * (Fcheck_coding_system): Further doc fix.Luc Teirlinck2003-12-281-1/+1
| |
| * (Fcheck_coding_system): Doc fix.Luc Teirlinck2003-12-281-1/+1
| |
| * (decode_coding_iso2022): Fix for preserving UTF-8Kenichi Handa2003-12-031-1/+4
| | | | | | | | encoding sequence.
| * (coding_restore_composition): Lisp_Object/int mixup.Stefan Monnier2003-11-171-2/+2
| |
| * (coding_allocate_composition_data): ResetKenichi Handa2003-11-071-1/+7
| | | | | | | | | | | | coding->composing to COMPOSITION_NO. (coding_restore_composition): Detect invalid composition data. Give Fstring and Fvector a Lispy integer, not C int.
| * (Fcoding_system_p): Return t for auto-loading coding system.Kenichi Handa2003-10-071-0/+2
| |
| * (Qcoding_system_define_form): New variable.Kenichi Handa2003-10-071-1/+15
| | | | | | | | | | | | (syms_of_coding): Intern and staticpro it. (Fcheck_coding_system): Try to autoload the definition of CODING-SYSTEM.
* | (encode_coding_iso_2022): Fix handling of charsetKenichi Handa2004-10-131-1/+1
| | | | | | | | annotation.