comparison src/ChangeLog @ 102424:d4c02fdc3efa

*** empty log message ***
author Kenichi Handa <handa@m17n.org>
date Fri, 06 Mar 2009 07:52:40 +0000
parents b14d67d22033
children 99e14dddbf65
comparison
equal deleted inserted replaced
102423:f23ca4ed51bd 102424:d4c02fdc3efa
1 2009-03-06 Kenichi Handa <handa@m17n.org>
2
3 These changes are to detect incorrect composition sequence without
4 looking ahead the source.
5
6 * coding.h: Include "composite.h".
7 (enum compisition_state): New enum.
8 (struct compisition_status): New struct.
9 (struct iso_2022_spec): New member cmp_status.
10 (struct emacs_mule_spec): New struct.
11 (struct coding_system): New members ctext_extended_segment_len and
12 embedded_utf_8. Change the union member
13 spec.emacs_mule_full_support to spec.emacs_mule.
14
15 * coding.c (CODING_ISO_CMP_STATUS): New macro.
16 (CODING_ISO_EXTSEGMENT_LEN, CODING_ISO_EMBEDDED_UTF_8): New macros.
17 (MAX_ANNOTATION_LENGTH): Defined to 5.
18 (ADD_COMPOSITION_DATA): New arg nbytes.
19 (emacs_mule_char): New arg cmp_status.
20 (DECODE_EMACS_MULE_COMPOSITION_CHAR): Delete it.
21 (DECODE_EMACS_MULE_COMPOSITION_RULE_20): New arg c.
22 (DECODE_EMACS_MULE_COMPOSITION_RULE_21): New arg c.
23 (DECODE_EMACS_MULE_21_COMPOSITION): Delete the arg c.
24 (DECODE_EMACS_MULE_20_RELATIVE_COMPOSITION): Likewise.
25 (DECODE_EMACS_MULE_20_RULEBASE_COMPOSITION): Likewise.
26 (DECODE_EMACS_MULE_COMPOSITION_START): New macro.
27 (EMACS_MULE_COMPOSITION_END): New macro.
28 (emacs_mule_finish_composition): New function.
29 (EMACS_MULE_MAYBE_FINISH_COMPOSITION): New macro.
30 (decode_coding_emacs_mule): Avoid long looking ahead while
31 handling composition.
32 (DECODE_COMPOSITION_RULE): Argument changed to rule and nbytes.
33 (ENCODE_COMPOSITION_RULE): New macro.
34 (finish_composition): New function.
35 (MAYBE_FINISH_COMPOSITION): Call finish_composition.
36 (DECODE_COMPOSITION_START): New implementation.
37 (DECODE_COMPOSITION_END): Likewise.
38 (STORE_COMPOSITION_RULE): New macro.
39 (decode_coding_iso_2022): Avoid long looking ahead while handling
40 composition, CTEXT extended segment, and embedded UTF-8.
41 (setup_coding_system): For a coding of type iso-2022, reset
42 CODING_ISO_EXTSEGMENT_LEN (coding) and
43 CODING_ISO_EMBEDDED_UTF_8 (coding).
44 (get_translation): Delete arguments last_block, from_nchars,
45 to_nchars. Callers changed.
46 (produce_chars): Don't modify charbuf. Adjusted for the change of
47 get_translation.
48 (produce_composition): Adjusted for the new annotation sequence.
49 (handle_composition_annotation): Likewise.
50 (consume_chars): Adjusted for the change of get_translation.
51
1 2009-03-05 Adrian Robert <Adrian.B.Robert@gmail.com> 52 2009-03-05 Adrian Robert <Adrian.B.Robert@gmail.com>
2 53
3 * nsterm.m (ns_select): Shortcircuit if reentrant call. 54 * nsterm.m (ns_select): Shortcircuit if reentrant call.
4 55
5 2009-03-05 Kenichi Handa <handa@m17n.org> 56 2009-03-05 Kenichi Handa <handa@m17n.org>