summaryrefslogtreecommitdiff
path: root/src/coding.c
AgeCommit message (Collapse)Author
2002-09-06(syms_of_coding): Fix spacing.Juanma Barranquero
2002-08-21(coding_set_destination): Fix coding->destination forKenichi Handa
the case converting a region. (encode_coding_utf_8): Encode eight-bit chars as single byte. (encode_coding_object): Fix coding->dst_pos and coding->dst_pos_byte for the case converting a region.
2002-08-13(Funencodable_char_position): Lisp_Object/int mixup.Gerd Moellmann
2002-08-11(unencodable_char_position): New function.Kenichi Handa
(Funencodable_char_position): New function. (syms_of_coding): Defsubr Funencodable_char_position.
2002-08-08(Ffind_operation_coding_system): Fix Lisp_Object/int mixup.Ken Raeburn
2002-08-08(Fdefine_coding_system_internal): Fix category settingKenichi Handa
for a coding system of type iso-2022.
2002-08-08(Ffind_operation_coding_system): For write-region, ifKenichi Handa
VISIT is a filename, make it the target.
2002-07-31* coding.c (make_conversion_work_buffer): Adjusted for the changeKenichi Handa
of Fset_buffer_multibyte. (encode_coding_raw_text): Increment p0 in the loop.
2002-07-30Comment fixDave Love
2002-07-26(detect_coding_iso2022): While checking a byte sequenceKenichi Handa
for CODING_CATEGORY_MASK_ISO_8_2, if we read one extra byte, check it in the normal loop.
2002-07-25(Ffind_coding_systems_region_internal): Detect anKenichi Handa
ASCII only string correctly.
2002-07-22(LEADING_CODE_PRIVATE_11, LEADING_CODE_PRIVATE_12,Kenichi Handa
LEADING_CODE_PRIVATE_21, LEADING_CODE_PRIVATE_22): Macros deleted. Callers changes to use EMACS_MULE_LEADING_CODE_PRIVATE_11, etc. (decode_coding_ccl): Add `const' to local variables. (consume_chars): Likewise. (Ffind_coding_systems_region_internal): Likewise. (Fcheck_coding_systems_region): Likewise.
2002-07-19(encode_eol, detect_coding, detect_eol):Ken Raeburn
(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.
2002-07-17(adjust_coding_eol_type): Fix eol_type/eol_seen mixup.Dave Love
2002-07-16(Ffind_coding_systems_region_interval): Use const forKen Raeburn
pointer to lisp string data.
2002-07-16(ENCODE_DESIGNATION, decode_eol)Dave Love
(make_conversion_work_buffer, code_conversion_restore) (Fdefine_coding_system_internal): Convert Lisp types. (code_conversion_restore): Use EQ, not ==. (Fencode_coding_string): Fix code_convert_string call.
2002-07-15Most uses of XSTRING combined with STRING_BYTES or indirection changed toKen Raeburn
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references left unchanged for now.
2002-07-11(Fset_coding_system_priority): Allow null arg list.Dave Love
2002-07-11Use macro SPECPDL_INDEX.Juanma Barranquero
2002-07-03Fix typo.Juanma Barranquero
2002-06-24(detect_eol): Preserve coding->cmp_data.Kenichi Handa
2002-06-16commentsDave Love
2002-05-31(encode_coding_emacs_mule): Pay attention to raw-8-bit chars.Kenichi Handa
(encode_coding_iso_2022): Likewise. (encode_coding_sjis): Likewise. (encode_coding_big5): Likewise. (encode_coding_charset): Likewise.
2002-05-30(CODING_ISO_FLAG_USE_ROMAN): New macroKenichi Handa
(CODING_ISO_FLAG_USE_OLDJIS): New macro. (CODING_ISO_FLAG_FULL_SUPPORT): Macro definition changed. (setup_iso_safe_charsets): Fix arguemtns to Fassq. (DECODE_DESIGNATION): Pay attention to CODING_ISO_FLAG_USE_ROMAN and CODING_ISO_FLAG_USE_OLDJIS. (ENCODE_ISO_CHARACTER_DIMENSION1): Likewise. (ENCODE_ISO_CHARACTER_DIMENSION2): Likewise. (encode_coding_iso_2022): Change the 1st arg to ENCODE_ISO_CHARACTER to a variable.
2002-05-27(decode_coding_utf_8): Reject overlong sequences.Dave Love
2002-05-26(Qmac): Remove (duplicated) definition.Dave Love
2002-05-26Doc fixes.Dave Love
(Fcoding_system_aliases): Fix return value.
2002-05-24(setup_iso_safe_charsets): Fix arg decl for K&R.Dave Love
(suffixes): Moved out of make_subsidiaries for K&R.
2002-05-23(Fdefine_coding_system_internal): Fix previous change.Kenichi Handa
(decode_coding_charset): Workaround for the bug of GCC 2.96.
2002-05-22(decode_coding_charset): Fix previous change.Kenichi Handa
2002-05-22(decode_coding_charset): Adjusted for the change ofKenichi Handa
Fdefine_coding_system_internal. (Fdefine_coding_system_internal): For a coding system of `charset' type, store a list of charset IDs in `charset_attr_charset_valids' element of coding attributes.
2002-05-21(emacs_mule_char): Fix previous change.Kenichi Handa
2002-05-21(ONE_MORE_BYTE_NO_CHECK): Increment consumed_chars.Kenichi Handa
(emacs_mule_char): New arg src. Delete arg `composition'. Caller changed. Handle 2-byte and 3-byte charsets correctly. (DECODE_EMACS_MULE_COMPOSITION_RULE_20): Renamed from DECODE_EMACS_MULE_COMPOSITION_RULE. Caller changed. (DECODE_EMACS_MULE_COMPOSITION_RULE_21): New macro. (DECODE_EMACS_MULE_21_COMPOSITION): Call DECODE_EMACS_MULE_COMPOSITION_RULE_21. Produce correct annotation sequence. (decode_coding_emacs_mule): Handle composition correctly. Rewind `src' and `consumed_chars' correctly before calling emacs_mule_char. (DECODE_COMPOSITION_START): Correctly handle the case of altchar and alt&rule composition. (decode_coding_iso_2022): Handle composition correctly. (init_coding_once): Setup emacs_mule_bytes for private charsets.
2002-05-20(encode_coding_iso_2022): If coding requires safeKenichi Handa
encoding, produce a character specified by CODING_INHIBIT_CHARACTER_SUBSTITUTION. (encode_coding_sjis): Likewise. (encode_coding_big5): Likewise. (encode_coding_charset): Likewise.
2002-05-20* coding.c (Fread_coding_system, code_convert_region1)Ken Raeburn
(code_convert_string1, code_convert_string_norecord) (Ffind_operation_coding_system): Use SYMBOL_NAME instead of XSYMBOL and name field.
2002-05-17(Vchar_coding_system_table, Qchar_coding_system):Dave Love
Removed. (Fset_coding_system_priority, Fset_coding_system_priority) (Fdefine_coding_system_internal): Doc fix.
2002-05-14(encode_coding_object): Give correct arguments otKenichi Handa
pre-write-conversion. Ignore the return value of pre-write-conversion function. Pay attention for the case that pre-write-conversion change the current buffer. If dst_object is Qt, even if coding->src_bytes is zero, allocate at least one byte to coding->destination.
2002-05-14(decode_coding_object): Move point to coding->dst_pos beforeKenichi Handa
calling post-read-conversion function.
2002-05-14(Fdecode_sjis_char): Fix typo (0x7F->0xFF). Fix theKenichi Handa
handling of charset list. (encode_coding_iso_2022): Setup coding->safe_charsets in advance.
2002-05-13Doc fixes.Dave Love
(Fdefine_coding_system_alias): Use names, not symbols, in coding-system-alist.
2002-05-11(decode_coding) <coding_type_ccl>: If a lone CREli Zaretskii
characters is carried over from the previous block of text, adjust coding->produced to account for the extra character.
2002-05-11(intersection): Keep the elements of the returned listAndreas Schwab
in the same order as in the first list.
2002-05-10(encode_coding_sjis_big5): Enclose bitwise AND inEli Zaretskii
parens, to ensure correct evaluation order.
2002-05-10(coding_set_source): Delete the local variable beg_byte.Kenichi Handa
(encode_coding_charset): Delete the local variable charset. (Fdefine_coding_system_internal): Likewise. (Fdefine_coding_system_internal): Setup attrs[coding_attr_charset_valids] correctly.
2002-05-09(coding_inherit_eol_type)Dave Love
(Fset_terminal_coding_system_internal) (Fset_safe_terminal_coding_system_internal): Fix arg declarations.
2002-05-08(decode_coding_charset, encode_coding_charset): HandleKenichi Handa
multiple charsets correctly.
2002-05-07(coding_alloc_by_making_gap): Check the case that theKenichi Handa
source and destination are the same correctly. (decode_coding_raw_text): Set coding->consumed_char and coding->consumed to 0. (produce_chars): If coding->chars_at_source is nonzero, update coding->consumed_char and coding->consumed before calling alloc_destination. (Fdefine_coding_system_alias): Register ALIAS in Vcoding_system_alist. (syms_of_coding): Define `no-convesion' coding system at the tail.
2002-04-13(run_pre_post_conversion_on_str):Richard M. Stallman
Don't call temp_output_buffer_setup--do just part, by hand.
2002-03-11(syms_of_coding) <file-coding-system-alist>: Doc fixAndreas Schwab
2002-03-11(produce_chars): Set the variable `multibytep' correctly.Kenichi Handa
(decode_coding_gap): Set coding->dst_multibyte correctly.