aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (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
|
* * coding.c (Fread_coding_system, code_convert_region1)Ken Raeburn2002-05-201-5/+5
| | | | | | (code_convert_string1, code_convert_string_norecord) (Ffind_operation_coding_system): Use SYMBOL_NAME instead of XSYMBOL and name field.
* (decode_coding) <coding_type_ccl>: If a lone CREli Zaretskii2002-05-111-6/+14
| | | | | characters is carried over from the previous block of text, adjust coding->produced to account for the extra character.
* (intersection): Keep the elements of the returned listAndreas Schwab2002-05-111-4/+7
| | | | in the same order as in the first list.
* (encode_coding_sjis_big5): Enclose bitwise AND inEli Zaretskii2002-05-101-1/+1
| | | | parens, to ensure correct evaluation order.
* (run_pre_post_conversion_on_str):Richard M. Stallman2002-04-131-3/+16
| | | | Don't call temp_output_buffer_setup--do just part, by hand.
* (syms_of_coding) <file-coding-system-alist>: Doc fixAndreas Schwab2002-03-111-2/+2
|
* (decode_composition_emacs_mule):Richard M. Stallman2002-02-011-0/+4
| | | | Give up if NCOMPONENT gets too large to index `component'.
* (code_convert_region): Don't copy old text if undo disabled.Richard M. Stallman2002-01-111-2/+15
|
* (code_convert_region): Update coding->cmp_data->char_offsetRichard M. Stallman2001-12-171-1/+5
| | | | before calling decode_coding.
* (DECODE_COMPOSITION_END): Fixed a typo in the lastSam Steingold2001-12-171-21/+21
| | | | patch (COMPOSING_P, not COMPOSING).
* (DECODE_COMPOSITION_END): Check for ! COMPOSING (coding)Richard M. Stallman2001-12-171-1/+1
| | | | instead of only for COMPOSITION_DISABLED.
* (setup_coding_system, shrink_encoding_region)Pavel Janík2001-12-091-10/+10
| | | | (Fdecode_sjis_char): Likewise.
* (syms_of_coding) <Qchar_coding_system>: Give it anDave Love2001-11-291-3/+4
| | | | | extra extra slot. (detect_coding_mask): Fix call of detect_coding_iso2022.
* (decode_coding_string): Remove unused variable `gcpro1'.Pavel Janík2001-11-281-1/+0
|
* (syms_of_coding): Doc fix.Richard M. Stallman2001-11-141-2/+2
|
* Doc fix.Pavel Janík2001-11-131-1/+1
|
* (encode_coding): Use precomputed value of `src'.Pavel Janík2001-11-091-4/+1
| | | | | (encode_coding): Remove unused variable `src_end'. (code_convert_region): Remove unused variables `count'.
* Change doc-string comments to `new style' [w/`doc:' keyword].Pavel Janík2001-11-041-264/+267
|
* Update usage of CHECK_ macros (remove unused second argument).Pavel Janík2001-11-021-21/+21
|
* (syms_of_coding): Document that locale-coding-system isEli Zaretskii2001-10-291-1/+2
| | | | used for decoding input on X.
* (Ffind_operation_coding_system): Add usage: string to doc string.Miles Bader2001-10-211-1/+3
|
* Avoid (most) uses of XCAR/XCDR as lvalues, for flexibility in experimentingKen Raeburn2001-10-161-1/+1
| | | | with lisp system changes.
* Use SYMBOL_VALUE/SET_SYMBOL_VALUE macros instead of accessingGerd Moellmann2001-10-051-2/+2
| | | | symbols' value directly.