aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (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.
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-2/+2
|
* (syms_of_coding): Add `...' for symbols in the docstring ofKenichi Handa2003-01-311-12/+201
| | | | `coding-system-require-warning'.
* (coding_system_require_warning): New variable.Kenichi Handa2002-12-171-0/+11
| | | | (syms_of_coding): DEFVAR it.
* (Funencodable_char_position): Set pend correctly.Kenichi Handa2002-12-131-1/+4
|
* (Vtranslation_table_for_input): New.Dave Love2002-11-091-1/+3
| | | | (syms_of_coding): DEFVAR it.
* Reformat some DEFUNs so that etags works.Dave Love2002-11-061-10/+14
|
* (decode_coding_emacs_mule, decode_coding_iso2022)Stefan Monnier2002-11-021-22/+1
| | | | (decode_coding_sjis_big5, decode_eol): Allow lone \r in DOS EOL.
* Fix typo in comment.Juanma Barranquero2002-10-181-2/+2
|
* (code_convert_region): When we need more GAP forKenichi Handa2002-10-081-3/+13
| | | | | conversion, pay attention to the case that coding->produced is not greater than coding->consumed.
* (decode_coding_emacs_mule): Check coding->cmp_data.Kenichi Handa2002-09-301-2/+1
| | | | | Only when it is non-nil, handle composition sequence. (setup_coding_system) <0>: Don't force composition handling.
* (run_pre_post_conversion_on_str): Save and restore Vdeactivate_mark.Richard M. Stallman2002-09-261-2/+6
|
* (syms_of_coding): Fix spacing.Juanma Barranquero2002-09-061-1/+1
|
* (Funencodable_char_position): Lisp_Object/int mixup.Gerd Moellmann2002-08-131-1/+1
|
* (unencodable_char_position): New function.Kenichi Handa2002-08-111-0/+137
| | | | | (Funencodable_char_position): New function. (syms_of_coding): Defsubr Funencodable_char_position.
* (Ffind_operation_coding_system): Fix Lisp_Object/int mixup.Ken Raeburn2002-08-081-1/+1
|
* (Ffind_operation_coding_system): For write-region, ifKenichi Handa2002-08-081-0/+7
| | | | VISIT is a filename, make it the target.
* (detect_coding_iso2022): While checking a byte sequenceKenichi Handa2002-07-261-0/+6
| | | | | for CODING_CATEGORY_MASK_ISO_8_2, if we read one extra byte, check it in the normal loop.
* (encode_eol, detect_coding, detect_eol):Ken Raeburn2002-07-191-26/+30
| | | | | | | (decode_coding, encode_coding, detect_coding_system): Source strings now treated as const. (decode_coding_string, encode_coding_string): Use STRING_COPYIN to modify Lisp string contents.
* (Ffind_coding_systems_region_interval): Use const forKen Raeburn2002-07-161-1/+1
| | | | pointer to lisp string data.
* Most uses of XSTRING combined with STRING_BYTES or indirection changed toKen Raeburn2002-07-151-41/+41
| | | | | SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references left unchanged for now.
* Use macro SPECPDL_INDEX.Juanma Barranquero2002-07-111-1/+1
|
* Fix typo.Juanma Barranquero2002-07-031-1/+1
|
* (detect_eol): Preserve coding->cmp_data.Kenichi Handa2002-06-241-0/+2
|