summaryrefslogtreecommitdiff
path: root/src/coding.c
AgeCommit message (Collapse)Author
1997-09-04(setup_coding_system, Ffind_operation_coding_system)Richard M. Stallman
(Fdetect_coding_region, Fread_coding_system): Don't initialize a Lisp_Object.
1997-09-04(detect_coding_mask): Re-work previous change.Richard M. Stallman
(detect_eol): Fix use of == instead of -.
1997-09-02(detect_coding_mask): Add in CODING_CATEGORY_MASK_RAW_TEXTRichard M. Stallman
in the detect_coding_iso2022 case.
1997-08-28(detect_eol): Do not select no-conversion even if EOLKenichi Handa
format of raw-text file is inconsistent. Just read it by raw-text-unix. (Fdetect_coding_region): Do not select no-conversion even if EOL format of raw-text file is inconsistent.
1997-08-28(Qno_conversion, Qundecided): New variables.Kenichi Handa
(syms_of_coding): Initialize and staticpro them. (coding_category_name): Include "coding-category-raw-test". (setup_coding_system): Handle coding_type_raw_text. (detect_coding_mask): Include CODING_CATEGORY_MASK_RAW_TEXT in the return value instead of CODING_CATEGORY_MASK_BINARY. (detect_coding): Do not check the case that `mask' is 0, which never happens now. (detect_eol_type): If EOL format is inconsistent, return CODING_EOL_INCONSISTENT. (detect_eol): If EOL format of raw-text file is inconsistent, detect it as no-conversion. (decode_coding): Handle coding_type_raw_text. (encode_coding): Likewise. (Fdetect_coding_region): Ajusted for the above changes. (shrink_conversion_area): Handle coding_type_raw_text.
1997-08-26(Fread_non_nil_coding_system): Supply the argKenichi Handa
INHERIT-INPUT-METHOD to Fcompleting_read. (Fread_coding_system): Likewise.
1997-08-22(detect_eol): If the coding system an alias, getKenichi Handa
eol-type from the base of it.
1997-08-16(CODING_FLAG_ISO_LATIN_EXTRA): New macro.Kenichi Handa
1997-08-10(Fset_terminal_coding_system_internal): SetKenichi Handa
CODING_FLAG_ISO_SAFE in terminal_coding.flags. (ENCODE_ISO_CHARACTER_DIMENSION1): Check CODING_SPEC_ISO_EXPECTED_CHARSETS. (ENCODE_ISO_CHARACTER_DIMENSION2): Likewise.
1997-08-10(ENCODE_ISO_CHARACTER_DIMENSION1): Pay attention toKenichi Handa
CODING_FLAG_ISO_SAFE. (ENCODE_ISO_CHARACTER_DIMENSION2): Likewise. (safe_terminal_coding): New variable. (Fset_safe_terminal_coding_system_internal): New function. (init_coding_once): Initilize safe_terminal_coding. (syms_of_coding): Declare set-safe-terminal-coding-system as a Lisp function. (Vmicrosoft_code_table): New variable. (syms_of_coding): Declare it as a Lisp variable and initialize it. (detect_coding_mask): Pay attention to Vmicrosoft_code_table.
1997-08-06(syms_of_coding): Doc syntax fixes.Richard M. Stallman
1997-08-06(detect_eol_type): Fix previous change.Kenichi Handa
1997-08-05(detect_eol_type): If EOL representation does notRichard M. Stallman
seem consistent, use no conversion.
1997-08-04(detect_coding_iso2022): Do not exclude posibility ofKenichi Handa
7-bit encoding when designation to G1 occurs. If CSI, SS2, or SS3 is found, return CODING_CATEGORY_MASK_ISO_8_ELSE. (Fdetect_coding_region): Doc-string modified.
1997-08-04(detect_coding_mask): Include CODING_CATEGORY_MASK_BINARY in theRichard M. Stallman
return value if any 8-bit code is found. Doc fix.
1997-08-01(encode_coding_iso2022): When source data ends not atKenichi Handa
character boundardy, set data in coding->carryover correctly, and set SRC to SRC_END. (encode_coding_sjis_big5): Likewise. (encode_coding): Don't set coding->carryover_size to 0.
1997-07-31(encode_coding_iso2022): Write out invalid multibyteKenichi Handa
forms in a buffer as is. (detect_coding_mask): If ISO_CODE_CSI appears in an invalid sequence, ignore it.
1997-07-22(syms_of_coding): Doc fix.Richard M. Stallman
1997-07-18(Ffind_operation_coding_system): Use Ffboundp toRichard M. Stallman
check for a function entry.
1997-07-15(detect_coding_iso2022): Distinguish coding-category-iso-7-else andKenichi Handa
coding-category-iso-8-else.
1997-07-13Comment changes.Richard M. Stallman
1997-07-12(Ffind_coding_system): Use call1, not call2.Richard M. Stallman
1997-07-07(Qemacs_mule, inhibit_eol_conversion): New variables.Kenichi Handa
(setup_coding_system): If inhibit_eol_conversion is 0, set coding->eol_type to CODING_EOL_LF. (syms_of_coding): Initialize and staticpro Qemacs_mule. Change error-message property of coding-system-error. Declare inhibit-eol-conversion as Lisp variable. (system_eol_type): New variable. (init_coding_once): Initialize it. (ENCODE_SJIS_BIG5_CHARACTER): Bug in encoding a BIG5 character fixed.
1997-07-04Fix bugs with inappropriate mixing of Lisp_Object with int.Richard M. Stallman
1997-07-02(Vstandard_character_unification_table_for_decode):Kenichi Handa
Name changed from Vstandard_character_unification_table_for_read. (Vstandard_character_unification_table_for_encode): Name changed from Vstandard_character_unification_table_for_write. (Qcharacter_unification_table_for_decode): New variable. (Qcharacter_unification_table_for_encode): New variable. (decode_coding_iso2022): Adjusted for the above name change. (encode_coding_iso2022): Likewise. (ENCODE_ISO_CHARACTER): Bug of handling return value of unify_char fixed. (DECODE_SJIS_BIG5_CHARACTER): New macro. (decode_coding_sjis_big5): Handle character unificatoin table. Use macro DECODE_SJIS_BIG5_CHARACTER. (encode_coding_sjis_big5): Handle character unificatoin table. Use macro ENCODE_SJIS_BIG5_CHARACTER. (setup_coding_system): Handle members character_unification_table_for_decode and character_unification_table_for_encode of the variable coding. (Ffind_operation_coding_system): Renamed from Ffind_coding_system. (syms_of_coding): Initialize and staticpro Qcharacter_unification_table_for_decode and Qcharacter_unification_table_for_decode. Declare Ffind_operation_coding_system as Lisp functions. Declare Vstandard_character_unification_table_for_decode and Vstandard_character_unification_table_for_encode as Lisp variables.
1997-07-02(syms_of_coding): Change initial values of eol_mnemonic_... variables.Richard M. Stallman
1997-06-18(detect_coding_iso2022): Initilize mask correctly.Kenichi Handa
1997-06-16Change copyright notices.Richard M. Stallman
1997-06-09(Vcoding_system_alist): Deleted.Kenichi Handa
(Qcoding_system_spec): Renamed from Qcoding_system_vector. (Vdefault_process_coding_system, Vfile_coding_system_alist, Vprocess_coding_system_alist, Vnetwork_coding_system_alist): New variables. (Ffind_coding_system): Adjusted for the above change. (syms_of_coding): Declare them as lisp variables. (Fcheck_coding_system): Pass list as DATA argument to Fsignal.
1997-05-28(encode_invocation_designation): Use macroKenichi Handa
CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION. (encode_designation_at_bol, setup_coding_system): Likewise. Fset_terminal_coding_system_internal): Renamed from Fset_terminal_coding_system. Make it non-interactive. Do not call Fredraw_display (). (Fset_keyboard_coding_system_internal): Renamed from Fset_keyboard_coding_system. Make it non-interactive.
1997-05-16Name change through the code:Kenichi Handa
coding-category-internal => coding-category-emacs-mule, XXX_coding_internal => XXX_coding_emacs_mule, coding_type_internal => coding_type_emacs_mule, coding_type_automatic => coding_type_undecided, CODING_CATEGORY_MASK_INTERNAL => CODING_CATEGORY_MASK_EMACS_MULE, CODING_CATEGORY_IDX_INTERNAL => CODING_CATEGORY_IDX_EMACS_MULE, CODING_EOL_AUTOMATIC => CODING_EOL_UNDECIDED.
1997-05-10(Valternate_charset_table): The valiable deleted.Kenichi Handa
(Venable_character_unification, Vstandard_character_unification_table_for_read, Vstandard_character_unification_table_for_write, Qcharacter_unification_table): New variables. (syms_of_coding): Initialize and declare them. (DECODE_ISO_CHARACTER): Modified to handle a character unification table instead of Valternate_charset_table. (DECODE_DESIGNATION): Delete handling of Valternate_charset_table. (decode_coding_iso2022): Handle a character unification table. (ENCODE_ISO_CHARACTER): New macro. (encode_designation_at_bol): Handle a character unification table. Do not return -1 even if end-of-line is not in the current run. (encode_coding_iso2022): Handle a character unification table. Call macro ENCODE_ISO_CHARACTER instead of calling ENCODE_ISO_CHARACTER_DIMENSION1 and ENCODE_ISO_CHARACTER_DIMENSION2 directly. Check the size of carryover before copying it to destination. (setup_coding_system): Initialize the member character_unification_table of the struct coding system to Qnil. (Fset_keyboard_coding_system): Doc string augmented.
1997-05-10(Fread_coding_system, Fread_non_nil_coding_system):Richard M. Stallman
Pass new arg to Fcompleting_read.
1997-04-16(setup_coding_system): Setup coding->eol_type as LFKenichi Handa
for a invalid coding system.
1997-04-10(Ffind_coding_system): Don't use Lisp_Object as integer.Karl Heuer
1997-04-07(detect_coding_iso2022, detect_coding_mask): IgnoreKenichi Handa
invalid ESC sequence for ISO 2022. (Fencode_sjis_char, Fencode_big5_char): Adjusted for the change of SPLIT_CHAR.
1997-04-05(Ffind_coding_system): Doc fix.Richard M. Stallman
1997-03-18Adjusted for the change of MAX_CHARSET.Kenichi Handa
1997-03-05(decode_eol): Fix bug of converting CRLF to LF.Kenichi Handa
1997-02-27(create_process, Fopen_network_stream): Typo in indexesKenichi Handa
of array proc_encode_coding_system fixed. Remove prefix "coding-system-" from coding system symbol names. (encode_coding) : Fix typo ("=" -> "=="). (detect_coding_iso2022): Detect coding-category-iso-8-2 more precisely. (ENCODE_RESET_PLANE_AND_REGISTER): Argument `eol' is deleted. Don't call ENCODE_DESIGNATION if nothing designated initially. (encode_designation_at_bol) New function. (encode_coding_iso2022): Handle CODING_FLAG_ISO_INIT_AT_BOL and CODING_FLAG_ISO_DESIGNATE_AT_BOL. (setup_coding_system): Now, flags of ISO2022 coding systems contains charsets instead of charset IDs. (detect_coding_iso2022, decode_coding_iso2022): Make the code robust against invalid SI and SO. (Ffind_coding_system, syms_of_coding): Escape newlines in docstring. (setup_coding_system): Correct setting coding->symbol and coding->eol_type. The performance improved.
1997-02-23Fix FSF address in comment.Karl Heuer
1997-02-20Initial revisionKarl Heuer