aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* (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.
* Add arch taglinesMiles Bader2003-09-011-0/+2
|
* (decode_coding_iso2022): Initialized local variable c2.Kenichi Handa2003-08-281-2/+2
| | | | (decode_coding_sjis_big5): Likewise.
* (run_pre_post_conversion_on_str): Use delete_all_overlays.Stefan Monnier2003-07-221-2/+3
|
* Include intervals.h for Fset_text_properties.Stefan Monnier2003-07-091-0/+1
|
* (run_pre_post_conversion_on_str): Use new type for overlays_(before|after).Stefan Monnier2003-07-091-2/+2
|
* _buffer_size): If coding->type isKenichi Handa2003-06-041-1/+5
| | | | coding_type_ccl, double magnification on CRLF encoding.
* (Qutf_8): New.Dave Love2003-06-021-0/+5
| | | | (syms_of_coding): Intern it.
* (DECODE_EMACS_MULE_COMPOSITION_CHAR): If coding->flagsKenichi Handa2003-05-311-5/+29
| | | | | | | | is nonzero, accept multibyte form of eight-bit-control chars. (decode_composition_emacs_mule): Likewise. (decode_coding_emacs_mule): Likewise. (encode_coding_emacs_mule): If coding->flags is nonzero, produce multibyte form of eight-bit-control chars.
* (ccl_coding_driver): Set ccl->eight_bit_controlKenichi Handa2003-05-301-0/+3
| | | | property before calling ccl_driver.
* *** empty log message ***Kenichi Handa2003-05-281-0/+72
|
* (find_safe_codings): Remove unused var `i'.Stefan Monnier2003-05-251-2/+2
|
* (find_safe_codings): Fix last change.Andreas Schwab2003-05-241-2/+2
|
* (ENCODE_UNSAFE_CHARACTER): Adjusted for the name changeKenichi Handa2003-05-221-8/+23
| | | | | | | | | | | | | of CODING_REPLACEMENT_CHARACTER. (decode_coding_iso2022): If CODING_FLAG_ISO_SAFE, set CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag in coding->mode, and check this flag on encoding. (encode_coding_sjis_big5): Check CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag of coding->mode. (Fset_terminal_coding_system_internal): Set CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag in terminal_coding.mode instead of setting CODING_FLAG_ISO_SAFE flag in terminal_coding.flags.
* (decode_coding_string): Handle post-read-conversionKenichi Handa2003-05-191-1/+3
| | | | even if the coding doesn't require decoding.
* (Vlast_coding_system_used): Doc fix.Dave Love2003-05-081-2/+4
|
* (coding_system_accept_latin_extra_p): Delete thisKenichi Handa2003-05-011-31/+68
| | | | | | | function. (find_safe_codings): Pay attention to the property tranlsation-table-for-encode of each codings. (syms_of_coding): Give Qtranslation_table the extra slot number 2.
* (coding_system_accept_latin_extra_p): New function.Kenichi Handa2003-04-081-1/+25
| | | | | (find_safe_codings): Pay attention to characters registered in latin-extra-code-table.
* (code_convert_region): Fix last change.Kenichi Handa2003-04-081-1/+1
|
* (code_convert_region_unwind): SetKenichi Handa2003-04-081-6/+17
| | | | | | | | Vlast_coding_system_used to the argument. (code_convert_region): If post-read-conversion function changed the value of last-coding-sytem, keep the new value in coding->symbol so that it won't be overridden. (run_pre_post_conversion_on_str): Likewise.
* (Vchar_coding_system_table): Remove this variable.Kenichi Handa2003-03-181-164/+8
| | | | | | | | | | | | | (Vcoding_system_safe_chars): New variable. (intersection): Remove this function. (find_safe_codings): Don't use Vchar_coding_system_table, but try all codings in SAFE_CODINGS. (Ffind_coding_systems_region_internal): Adjusted for the change of find_safe_codings. Get generic coding systems from Vcoding_system_safe_chars. (Fdefine_coding_system_internal): New function. (syms_of_coding): Defsubr Sdefine_coding_system_internal. Initialize and staticpro Vcoding_system_safe_chars.
* (Fdetect_coding_region): Fix docstring.Kenichi Handa2003-03-131-2/+5
|
* (Fdetect_coding_string): Fix docstring.Kenichi Handa2003-03-131-2/+5
|
* (CODING_ADD_COMPOSITION_COMPONENT): If the number ofKenichi Handa2003-03-071-3/+40
| | | | | | | | | composition components reaches the limit, terminate composing. (COMPOSITION_OK): New macro. (detect_coding_iso2022): Use it if an escapse sequence for composition is found. (coding_restore_composition): Adjust the number of composition components if it is not sane.