annotate oldXMenu/README @ 102422:82f82b92314e

(CODING_ISO_CMP_STATUS): New macro. (CODING_ISO_EXTSEGMENT_LEN, CODING_ISO_EMBEDDED_UTF_8): New macros. (MAX_ANNOTATION_LENGTH): Defined to 5. (ADD_COMPOSITION_DATA): New arg nbytes. (emacs_mule_char): New arg cmp_status. (DECODE_EMACS_MULE_COMPOSITION_CHAR): Delete it. (DECODE_EMACS_MULE_COMPOSITION_RULE_20): New arg c. (DECODE_EMACS_MULE_COMPOSITION_RULE_21): New arg c. (DECODE_EMACS_MULE_21_COMPOSITION): Delete the arg c. (DECODE_EMACS_MULE_20_RELATIVE_COMPOSITION): Likewise. (DECODE_EMACS_MULE_20_RULEBASE_COMPOSITION): Likewise. (DECODE_EMACS_MULE_COMPOSITION_START): New macro. (EMACS_MULE_COMPOSITION_END): New macro. (emacs_mule_finish_composition): New function. (EMACS_MULE_MAYBE_FINISH_COMPOSITION): New macro. (decode_coding_emacs_mule): Avoid long looking ahead while handling composition. (DECODE_COMPOSITION_RULE): Argument changed to rule and nbytes. (ENCODE_COMPOSITION_RULE): New macro. (finish_composition): New function. (MAYBE_FINISH_COMPOSITION): Call finish_composition. (DECODE_COMPOSITION_START): New implementation. (DECODE_COMPOSITION_END): Likewise. (STORE_COMPOSITION_RULE): New macro. (decode_coding_iso_2022): Avoid long looking ahead while handling composition, CTEXT extended segment, and embedded UTF-8. (setup_coding_system): For a coding of type iso-2022, reset CODING_ISO_EXTSEGMENT_LEN (coding) and CODING_ISO_EMBEDDED_UTF_8 (coding). (get_translation): Delete arguments last_block, from_nchars, to_nchars. Callers changed. (produce_chars): Don't modify charbuf. Adjusted for the change of get_translation. (produce_composition): Adjusted for the new annotation sequence. (handle_composition_annotation): Likewise. (consume_chars): Adjusted for the change of get_translation.
author Kenichi Handa <handa@m17n.org>
date Fri, 06 Mar 2009 07:51:52 +0000
parents b6efdc75a68e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
76134
7cdfa9a1f509 *** empty log message ***
Glenn Morris <rgm@gnu.org>
parents: 49600
diff changeset
1 Most of the files in this directory are originally from the X11R2
76185
b6efdc75a68e *** empty log message ***
Glenn Morris <rgm@gnu.org>
parents: 76134
diff changeset
2 XMenu library, distributed by MIT under the terms in the file copyright.h.
25858
Dave Love <fx@gnu.org>
parents:
diff changeset
3
Dave Love <fx@gnu.org>
parents:
diff changeset
4 As of Release 2 of the X Window System, Version 11 from MIT, the XMenu
76134
7cdfa9a1f509 *** empty log message ***
Glenn Morris <rgm@gnu.org>
parents: 49600
diff changeset
5 library is no longer supported. It is not used in any software
7cdfa9a1f509 *** empty log message ***
Glenn Morris <rgm@gnu.org>
parents: 49600
diff changeset
6 supplied by MIT and its use is not encouraged.
7cdfa9a1f509 *** empty log message ***
Glenn Morris <rgm@gnu.org>
parents: 49600
diff changeset
7
7cdfa9a1f509 *** empty log message ***
Glenn Morris <rgm@gnu.org>
parents: 49600
diff changeset
8 In X11R1, oldXMenu/ was found in the lib/ directory of the X11 source;
7cdfa9a1f509 *** empty log message ***
Glenn Morris <rgm@gnu.org>
parents: 49600
diff changeset
9 but in X11R2 it was moved to contrib/.
7cdfa9a1f509 *** empty log message ***
Glenn Morris <rgm@gnu.org>
parents: 49600
diff changeset
10
7cdfa9a1f509 *** empty log message ***
Glenn Morris <rgm@gnu.org>
parents: 49600
diff changeset
11 The following files are from the X11 oldXMenu/ directory:
25858
Dave Love <fx@gnu.org>
parents:
diff changeset
12
76134
7cdfa9a1f509 *** empty log message ***
Glenn Morris <rgm@gnu.org>
parents: 49600
diff changeset
13 Activate.c AddPane.c AddSel.c ChgPane.c ChgSel.c Create.c DelPane.c
7cdfa9a1f509 *** empty log message ***
Glenn Morris <rgm@gnu.org>
parents: 49600
diff changeset
14 DelSel.c Destroy.c Error.c EvHand.c FindPane.c FindSel.c InsPane.c
7cdfa9a1f509 *** empty log message ***
Glenn Morris <rgm@gnu.org>
parents: 49600
diff changeset
15 InsSel.c Internal.c Locate.c Post.c Recomp.c SetAEQ.c SetFrz.c
7cdfa9a1f509 *** empty log message ***
Glenn Morris <rgm@gnu.org>
parents: 49600
diff changeset
16 SetPane.c SetSel.c XMenu.h XMenuInt.h (renamed from "XMenuInternal.h")
7cdfa9a1f509 *** empty log message ***
Glenn Morris <rgm@gnu.org>
parents: 49600
diff changeset
17
7cdfa9a1f509 *** empty log message ***
Glenn Morris <rgm@gnu.org>
parents: 49600
diff changeset
18 The following files are from the X11 oldX/ directory:
7cdfa9a1f509 *** empty log message ***
Glenn Morris <rgm@gnu.org>
parents: 49600
diff changeset
19
7cdfa9a1f509 *** empty log message ***
Glenn Morris <rgm@gnu.org>
parents: 49600
diff changeset
20 X10.h XCrAssoc.c XDelAssoc.c XDestAssoc.c XLookAssoc.c XMakeAssoc.c
7cdfa9a1f509 *** empty log message ***
Glenn Morris <rgm@gnu.org>
parents: 49600
diff changeset
21
7cdfa9a1f509 *** empty log message ***
Glenn Morris <rgm@gnu.org>
parents: 49600
diff changeset
22 This code is used by Emacs in the absence of an X-toolkit.