1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 21:50:37 -08:00
Commit graph

456 commits

Author SHA1 Message Date
Kenichi Handa
b6828792a2 (decode_coding): Typo in comment fixed. 2006-04-07 12:02:40 +00:00
Kenichi Handa
4347441b23 (decode_eol): Pay attention to buffer relocation in
del_range_2.
(decode_coding): Call decode_eol before restoring undo_list.
2006-04-07 05:26:46 +00:00
Kenichi Handa
d959f5123e (DECODE_EMACS_MULE_20_RELATIVE_COMPOSITION): Fix
condition to terminate the loop.
2006-03-10 04:37:43 +00:00
Kenichi Handa
f75c90a9db (produce_composition): Compare charbuf[i] instead of
args[i] against 0.
(Fterminal_coding_system): Use EQ to compare Lisp objects.
2006-03-09 01:22:51 +00:00
Kenichi Handa
4d41e8b7ab (DECODE_COMPOSITION_START): If the source is short, set
coding->result to CODING_RESULT_INSUFFICIENT_SRC.
(decode_coding_gap): Set CODING_MODE_LAST_BLOCK after the call of
detect_coding.
(emacs_mule_char): Handle old style (Emacs 20) component character
of a composition.
(DECODE_EMACS_MULE_COMPOSITION_RULE_20): Fix parsing a composition
rule.
(DECODE_EMACS_MULE_20_RULEBASE_COMPOSITION): Likewise.
(decode_coding_emacs_mule): Handle invalid bytes correctly.
2006-03-07 08:15:33 +00:00
Kenichi Handa
9286b3338e (DECODE_COMPOSITION_START): If the source is short, set
coding->result to CODING_RESULT_INSUFFICIENT_SRC.
(decode_coding_gap): Set CODING_MODE_LAST_BLOCK after the call of
detect_coding.
2006-03-07 01:53:54 +00:00
Kenichi Handa
8cffd3e7e9 (encode_coding_ccl): Allocate destination dynamically
when necessary.
2006-03-04 02:59:04 +00:00
Kenichi Handa
54b367bbf0 (decode_coding): Fix previous change. 2006-03-02 06:54:30 +00:00
Kenichi Handa
0ca493eec6 (decode_coding): Fix the condition of terminating the
decoding loop.
2006-02-28 11:05:39 +00:00
Miles Bader
380874900c Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-13
Merge from emacs--devo--0

Patches applied:

 * emacs--devo--0  (patch 43-57)

   - Update from CVS
   - Merge from erc--emacs--0
   - Make constrain-to-field notice overlays
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 18-21)

   - Update from CVS
   - Merge from emacs--devo--0
2006-02-08 04:26:44 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Kenichi Handa
730fff51c6 Cancel incorrect synching with HEAD. 2006-02-05 02:45:48 +00:00
Miles Bader
307f5c5746 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-11
Merge from emacs--devo--0

Patches applied:

 * emacs--devo--0  (patch 34-42)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 14-17)

   - Update from CVS
   - Merge from emacs--devo--0
2006-02-04 01:01:38 +00:00
Kenichi Handa
583f71ca06 (Fdefine_coding_system_internal): Avoid a duplicated
element in Vcoding_system_alist.
(Fdefine_coding_system_alias): Likewise.
2006-02-03 07:37:09 +00:00
Kenichi Handa
999a0fe581 (decode_composition_emacs_mule): Fix handling of
incorrect format data.
2006-02-02 12:47:04 +00:00
Kenichi Handa
44e8490d9a Sync to HEAD for handling autoload-coding-system.
(Qcoding_system_define_form): New variable.
(syms_of_coding): Intern and staticpro it.
(Fcoding_system_p): Check Qcoding_system_define_form.
(Fcheck_coding_system): Try to autoload the definition of
CODING-SYSTEM.
2006-01-19 07:20:52 +00:00
Kenichi Handa
948bdcf344 (code_conversion_restore): GCPRO arg. 2006-01-17 02:38:38 +00:00
Miles Bader
41882805d6 Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-97
Merge from emacs--cvs-trunk--0

Patches applied:

 * emacs--cvs-trunk--0  (patch 616-696)

   - Add lisp/mh-e/.arch-inventory
   - Update from CVS
   - Merge from gnus--rel--5.10
   - Update from CVS: lisp/smerge-mode.el: Add 'tools' to file keywords.
   - lisp/gnus/ChangeLog: Remove duplicate entry

 * gnus--rel--5.10  (patch 147-181)

   - Update from CVS
   - Merge from emacs--cvs-trunk--0
   - Update from CVS: lisp/mml.el (mml-preview): Doc fix.
   - Update from CVS: texi/message.texi: Fix default values.
   - Update from CVS: texi/gnus.texi (RSS): Addition.
2006-01-16 08:37:27 +00:00
Kenichi Handa
ce03bf76b9 Copyright fixed 2005-12-19 07:04:44 +00:00
Kenichi Handa
89aa725ad6 (code_convert_region_unwind): GCPRO arg. 2005-12-14 00:43:36 +00:00
Kenichi Handa
1c91457d15 (decode_coding): Fix handling of invalid bytes. 2005-10-15 02:09:14 +00:00
Kenichi Handa
c02d943bc2 (encode_coding_object): If a pre-write-conversion
function makes a new buffer, kill it.
2005-09-23 07:06:22 +00:00
Kenichi Handa
24a2b28227 (code_convert_region_unwind): Argument format changed.
(run_pre_post_conversion_on_str): If pre-write-conversion function
changed the current buffer, delete the new buffer.
(run_pre_write_conversin_on_c_str): Likewise.
2005-09-14 07:06:20 +00:00
Miles Bader
d4cccb1406 Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-78
Merge from emacs--cvs-trunk--0

Patches applied:

 * emacs--cvs-trunk--0  (patch 514-518)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 104-105)

   - Update from CVS
2005-08-26 09:51:52 +00:00
Thien-Thi Nguyen
0b5538bd85 Update years in copyright notice; nfc. 2005-08-07 12:33:19 +00:00
Kenichi Handa
35befdaa75 (QCascii_compatible_p): New variable.
(syms_of_coding): Initialize it.
(ONE_MORE_BYTE): Decrement `src' before calling string_char.
(ONE_MORE_BYTE_NO_CHECK): Likewise.
(record_conversion_result): Add `default:' case.
(coding_charset_list): Delete unused variable `coding_type'.
(Fdefine_coding_system_internal): Add `ascii-compatible-p'
property in the plist of the coding system.
(Fcoding_system_put): Check QCascii_compatible_p.
2005-07-29 06:20:30 +00:00
Miles Bader
bacb9790f5 Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-69
Merge from emacs--cvs-trunk--0

Patches applied:

 * emacs--cvs-trunk--0  (patch 474-484)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 88-91)

   - Merge from emacs--cvs-trunk--0
   - Update FSF's address in GPL notices
   - Update from CVS
2005-07-14 08:02:00 +00:00
Kenichi Handa
16ef9c5612 (code_convert_region_unwind): ARG is changed to a cons.
(code_convert_region): Adjusted for the above change.
(set_conversion_work_buffer): If the work buffer is already in
use, generate a new buffer and return it.  Otherwise return Qnil.
(run_pre_post_conversion_on_str): Adjusted for the above change.
(run_pre_write_conversin_on_c_str): Likewise.
2005-07-14 07:57:42 +00:00
Kim F. Storm
387f6ba5c2 * coding.c (Qprocess_argument):
* coding.h (Qprocess_argument): Remove unused var.
2005-07-12 13:16:18 +00:00
Miles Bader
d3e4babdd1 Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-68
Merge from emacs--cvs-trunk--0

Patches applied:

 * emacs--cvs-trunk--0  (patch 459-473)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 86-87)

   - Update from CVS
2005-07-07 12:43:14 +00:00
Lute Kamstra
4fc5845fe8 Update FSF's address. 2005-07-04 16:49:24 +00:00
Stefan Monnier
737ccba9d9 (run_pre_post_conversion_on_str): Remove unused var `buf'. 2005-06-13 20:47:42 +00:00
Kim F. Storm
c3912f23e3 (decode_coding_string): Handle CODING_FINISH_INTERRUPT. 2005-06-03 23:02:50 +00:00
Kim F. Storm
d12168d677 Typo in comment. 2005-04-21 23:36:16 +00:00
Miles Bader
4a2283bcc7 Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-33
Merge from emacs--cvs-trunk--0

Patches applied:

 * emacs--cvs-trunk--0  (patch 223-227)

   - Update from CVS
2005-04-02 22:40:25 +00:00
Kenichi Handa
4220560759 (Vcoding_category_list): Docstring fix. 2005-03-31 11:21:14 +00:00
Miles Bader
773415d934 Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-31
Merge from emacs--cvs-trunk--0

Patches applied:

 * emacs--cvs-trunk--0  (patch 206-222)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 45-52)

   - Update from CVS
   - Update from CVS: texi Makefile.in CVS keyw cruft
   - Update from CVS: ChangeLog tweaks
2005-03-31 09:58:14 +00:00
Kenichi Handa
d4850d6743 (decode_coding_object): Use safe_call1 instead of call1.
(encode_coding_object): Use safe_call instead of call2.
2005-03-29 00:34:38 +00:00
Kenichi Handa
dc3a0017db (syms_of_coding): Suggest to use set-coding-category in
the docstring of coding-category-list.
2005-03-25 04:28:40 +00:00
Miles Bader
1bac4db562 Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-28
Merge from emacs--cvs-trunk--0

Patches applied:

 * emacs--cvs-trunk--0  (patch 180-191)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 39-44)

   - Merge from emacs--cvs-trunk--0
   - Update from CVS
2005-03-19 02:42:17 +00:00
Kenichi Handa
0ec31faf30 (syms_of_coding): Docstring of coding-category-list fixed. 2005-03-15 06:26:15 +00:00
Kenichi Handa
3bb917bff6 (encode_coding_string): Always return a unibyte string.
If NOCOPY is nonzero and there's no need of encoding, make STR
unibyte directly.
2005-02-14 01:04:50 +00:00
Kenichi Handa
2d4430a8eb (decode_coding_iso2022): Translate invalid codes if
translation-table is specified.
2005-01-18 00:11:43 +00:00
Miles Bader
f1d34bcacd Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-81
Merge from emacs--cvs-trunk--0

Patches applied:

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-748
 - miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-749
   Update from CVS

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-750
   Merge from gnus--rel--5.10

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-751
 - miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-753
   Update from CVS

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-754
   Merge from gnus--rel--5.10

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-755
 - miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-757
   Update from CVS

 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-78
   Merge from emacs--cvs-trunk--0

 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-79
 - miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-80
   Update from CVS

 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-81
   Merge from emacs--cvs-trunk--0

 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-82
   Update from CVS
2005-01-02 09:13:19 +00:00
Dan Nicolaescu
4b9829242b (decode_coding): Fix previous change. 2004-12-28 18:22:55 +00:00
Dan Nicolaescu
5bdca8af0d (decode_coding_XXX, decode_composition_emacs_mule)
(decode_coding_emacs_mule, encode_coding_emacs_mule)
(decode_coding_iso2022, encode_designation_at_bol)
(encode_coding_iso2022, decode_coding_sjis_big5, decode_eol)
(decode_coding): Constify arguments and local vars.
2004-12-28 14:50:49 +00:00
Kenichi Handa
b3ebb2d471 (code_convert_region): Fix calculation of `ratio'. 2004-12-27 05:51:40 +00:00
Kenichi Handa
0ff61e786c Cancel the change done in HEAD on 2004-11-30.
(coding_charset_list): New function.
2004-12-11 02:12:49 +00:00
Miles Bader
000fc2b1fa Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-74
Merge from emacs--cvs-trunk--0

Patches applied:

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-709
   Update from CVS: src/indent.c (Fvertical_motion): Fix last change.

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-710
 - miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-715
   Update from CVS

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-716
   Merge from gnus--rel--5.10

 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-74
   Update from CVS
2004-12-08 05:02:30 +00:00
Kenichi Handa
2a47931bdb (Vcode_conversion_workbuf_name): New variable.
(syms_of_coding): Initialize and staticpro it.
(set_conversion_work_buffer): New function.
(run_pre_post_conversion_on_str): Use it.
(run_pre_write_conversin_on_c_str): New function.
2004-11-30 08:07:11 +00:00