Commit graph

15 commits

Author SHA1 Message Date
Richard M. Stallman
203cb91615 Change copyright notices. 1997-06-16 07:29:16 +00:00
Kenichi Handa
02ba47237b (Vcoding_system_alist): Deleted.
(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-06-09 12:59:12 +00:00
Kenichi Handa
1ba9e4ab9c (encode_invocation_designation): Use macro
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-28 04:36:27 +00:00
Kenichi Handa
0ef691383d Name change through the code:
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-16 00:43:29 +00:00
Kenichi Handa
bdd9fb4867 (Valternate_charset_table): The valiable deleted.
(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 03:37:01 +00:00
Richard M. Stallman
9d991de859 (Fread_coding_system, Fread_non_nil_coding_system):
Pass new arg to Fcompleting_read.
1997-05-10 03:19:20 +00:00
Kenichi Handa
dec137e53f (setup_coding_system): Setup coding->eol_type as LF
for a invalid coding system.
1997-04-16 01:04:54 +00:00
Karl Heuer
efee68610e (Ffind_coding_system): Don't use Lisp_Object as integer. 1997-04-10 21:53:28 +00:00
Kenichi Handa
bcf26d6a7d (detect_coding_iso2022, detect_coding_mask): Ignore
invalid ESC sequence for ISO 2022.
(Fencode_sjis_char, Fencode_big5_char): Adjusted for the change of
SPLIT_CHAR.
1997-04-07 07:12:13 +00:00
Richard M. Stallman
ccdb79f5d9 (Ffind_coding_system): Doc fix. 1997-04-05 07:48:17 +00:00
Kenichi Handa
467e767554 Adjusted for the change of MAX_CHARSET. 1997-03-18 23:31:34 +00:00
Kenichi Handa
bfd9904870 (decode_eol): Fix bug of converting CRLF to LF. 1997-03-05 07:02:02 +00:00
Kenichi Handa
e0e989f659 (create_process, Fopen_network_stream): Typo in indexes
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-27 11:10:42 +00:00
Karl Heuer
369314dc63 Fix FSF address in comment. 1997-02-23 09:20:52 +00:00
Karl Heuer
4ed4686978 Initial revision 1997-02-20 07:02:49 +00:00