aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merged in changes from CVS trunk.Karoly Lorentey2004-10-031-5/+15
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-581 Fix exec-shield autoconf test * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-582 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-583 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-584 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-585 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-586 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-587 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-588 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-589 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-590 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-591 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-592 Update from CVS * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-38 Update from CVS * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-39 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-40 Update from CVS * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-41 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-252
| * (code_convert_region): Don't skip ASCIIs if there are compositions to encode.Kenichi Handa2004-09-291-5/+15
| | | | | | | | | | Free composition data. (encode_coding_string): Likewise.
* | Merged in changes from CVS trunk.Karoly Lorentey2004-08-071-0/+5
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-479 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-480 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-481 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-227
| * (decode_coding_string): Adjust coding->consumed, andKenichi Handa2004-08-031-0/+5
| | | | | | | | etc. with shrinked_bytes.
* | Merged in changes from CVS trunk.Karoly Lorentey2004-06-241-6/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-409 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-410 Make sure image types are initialized for lookup too * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-411 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-412 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-413 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-414 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-415 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-416 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-417 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-418 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-419 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-202
| * (MAX_ALLOCA): Remove define.Kim F. Storm2004-06-211-6/+2
| |
* | Merged in changes from CVS trunk.Karoly Lorentey2004-06-141-0/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-398 Tweak permissions * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-399 Tweak directory permissions * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-400 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-401 More build-in-place tweaking of arch tagging * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-402 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-403 Yet more build-in-place tweaking of arch tagging * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-404 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-405 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-406 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-407 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-199
| * (encode_coding_string): Check CODING_FINISH_INTERRUPT.Kenichi Handa2004-06-111-0/+1
| |
* | Merged in changes from CVS trunk.Karoly Lorentey2004-06-071-8/+26
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-376 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-377 (Fdisplay_supports_face_attributes_p): Work around bootstrapping problem * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-378 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-379 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-380 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-381 Face merging cleanups git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-190
| * (find_safe_codings): Check NILP (safe_codings) only atKenichi Handa2004-06-071-8/+26
| | | | | | | | the necessary places.
| * (Fset_safe_terminal_coding_system_internal): SetKenichi Handa2004-05-231-1/+1
| | | | | | | | suppress_error in safe_terminal_coding, not terminal_coding.
* | Make terminal_coding and keyboard_coding display-local.Karoly Lorentey2004-05-231-19/+15
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/coding.c: Include frame.h and termhooks.h. (terminal_coding, keyboard_coding): Remove. (Fset_terminal_coding_system_internal, Fterminal_coding_system): Use the selected frame's terminal coding system. (Fset_safe_terminal_coding_system_internal): Fix typo. (Fset_keyboard_coding_system_internal, Fkeyboard_coding_system): Use the selected frame's keyboard coding system. (init_coding_once): Don't initialize keyboard_coding and terminal_coding. src/coding.h (terminal_coding, keyboard_coding): Remove. src/termhooks.h (terminal_coding, keyboard_coding): New members of struct display. (FRAME_TERMINAL_CODING, FRAME_KEYBOARD_CODING): New macros. src/termchar.h (kboard): Cosmetic change. src/term.c (encode_terminal_code): Add coding parameter. (tty_write_glyphs): Use the display-local terminal coding system. (create_display): Allocate and initialize coding systems. (delete_display): Free coding systems. src/xdisp.c (decode_mode_spec): Use display-local coding systems. src/Makefile.in: Fix dependencies for termchar.h and termhooks.h. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-167
* (decode_coding_emacs_mule): Handle insufficent source correctly.Kenichi Handa2004-03-091-2/+19
|
* UTF-8 is now RFC3629.Eli Zaretskii2004-03-071-1/+1
|
* (coding_restore_composition): Check invalidKenichi Handa2004-02-021-0/+3
| | | | composition data more rigidly.
* (Fcheck_coding_system): Further doc fix.Luc Teirlinck2003-12-281-1/+1
|
* (Fcheck_coding_system): Doc fix.Luc Teirlinck2003-12-281-1/+1
|
* (decode_coding_iso2022): Fix for preserving UTF-8Kenichi Handa2003-12-031-1/+4
| | | | encoding sequence.
* (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.