From: handa Date: Thu, 1 Mar 2007 12:17:06 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: REL-1-4-0~136 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=eb74bd1a12e6ac3fddd9d0e863e733bcab04207c;p=m17n%2Fm17n-db.git *** empty log message *** --- diff --git a/FORMATS/Dir.txt b/FORMATS/Dir.txt index 0b5a0f9..40becb9 100644 --- a/FORMATS/Dir.txt +++ b/FORMATS/Dir.txt @@ -16,11 +16,13 @@ initialization time. The plist format of this file is as follows: @verbatim MDB-DIR ::= DEFINITION * -DEFINITION ::= '(' TAG0 [ TAG1 [ TAG2 [ TAG3 ] ] ] FILE ')' +DEFINITION ::= '(' TAG0 [ TAG1 [ TAG2 [ TAG3 ] ] ] FILE [ VERSION ]')' TAGn ::= SYMBOL FILE ::= MTEXT + +VERSION ::= MTEXT @endverbatim If TAG0 is neither `charset' nor `char-table', and TAGn (n > 0) is a @@ -30,7 +32,7 @@ of database files. In that case, each file must contain a plist element providing the actual TAGn values by the form: @verbatim -'(' TAG0 TAG1 TAG2 TAG3 ')' +'(' TAG0 TAG1 TAG2 TAG3 [ VERSION ] ')' @endverbatim For instance, if a database directory contains these files: @@ -58,6 +60,10 @@ can be shortened to this single line: (input-method * "*.mim") @endverbatim +VERSION is a required version number of the m17n library. The format +is "XX.YY.ZZ" where XX is a major version number, YY is a minor +version number, and ZZ is a patch level. + */ /* diff --git a/FORMATS/IM.txt b/FORMATS/IM.txt index e113335..1373ec5 100644 --- a/FORMATS/IM.txt +++ b/FORMATS/IM.txt @@ -27,7 +27,7 @@ INPUT-METHOD ::= IM-DECLARATION ? DESCRIPTION ? VARIABLE-LIST ? COMMAND-LIST ? TITLE MAP-LIST MACRO-LIST ? MODULE-LIST ? STATE-LIST -IM-DECLARATION ::= '(' 'input-method' LANGUAGE NAME ')' +IM-DECLARATION ::= '(' 'input-method' LANGUAGE NAME [ VERSION ] ')' DESCRIPTION ::= '(' 'description' [ MTEXT-OR-GETTEXT | nil] ')' VARIABLE-LIST ::= '(' 'variable' VARIABLE-DECLARATION * ')' COMMAND-LIST ::= '(' 'command' COMMAND-DECLARATION * ')' @@ -44,6 +44,7 @@ MTEXT-OR-GETTEXT ::= LANGUAGE ::= SYMBOL NAME ::= SYMBOL +VERSION ::= MTEXT IM-DESCRIPTION ::= MTEXT VAR-NAME ::= SYMBOL VAR-DESCRIPTION ::= MTEXT @@ -56,6 +57,10 @@ CMD-DESCRIPTION ::= MTEXT TITLE-TEXT ::= MTEXT @endverbatim +@c VERSION specifies the required minimum version number of the m17n +library. The format is is "XX.YY.ZZ" where XX is a major version +number, YY is a minor version number, and ZZ is a patch level. + @c IM-DECLARATION specifies the language and name of this input method.