~ubuntu-branches/ubuntu/gutsy/icu/gutsy

« back to all changes in this revision

Viewing changes to source/common/unicode/uversion.h

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2005-05-21 22:44:31 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: package-import@ubuntu.com-20050521224431-r7rktfhnu1n4tf1g
Tags: 2.1-2.1
Rename icu-doc to icu21-doc. icu-doc is built by the icu28 package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
*******************************************************************************
3
 
*   Copyright (C) 2001, International Business Machines
 
3
*   Copyright (C) 2002, International Business Machines
4
4
*   Corporation and others.  All Rights Reserved.
5
5
*******************************************************************************
6
6
*
24
24
 
25
25
/** IMPORTANT: When updating version, the following things need to be done:   */
26
26
/** source/common/unicode/uversion.h - this file: update major, minor,        */
27
 
/**        patchlevel, suffix, version, short version constants and copyright */
 
27
/**        patchlevel, suffix, version, short version constants, namespace,   */
 
28
/**                                                             and copyright */
28
29
/** source/common/common.dsp - update 'Output file name' on the link tab so   */
29
30
/**                   that it contains the new major/minor combination        */
30
31
/** source/i18n/i18n.dsp - same as for the common.dsp                         */
31
32
/** source/layout/layout.dsp - same as for the common.dsp                     */
32
 
/** source/ustdio/ustdio.dsp - same as for the common.dsp                     */
33
 
/** source/data/build/makedata.mak - change U_ICUDATA_NAME so that it contains*/
34
 
/**                   the new major/minor combination                         */
 
33
/** source/extra/ustdio/ustdio.dsp - same as for the common.dsp               */
 
34
/** source/data/makedata.mak - change U_ICUDATA_NAME so that it contains      */
 
35
/**                            the new major/minor combination                */
35
36
/** source/tools/genren/genren.pl - use this script according to the README   */
36
37
/**                    in that folder                                         */
37
38
 
39
40
 
40
41
/** The standard copyright notice that gets compiled into each library. */
41
42
#define U_COPYRIGHT_STRING \
42
 
  " Copyright (C) 2001, International Business Machines Corporation and others. All Rights Reserved. "
 
43
  " Copyright (C) 2002, International Business Machines Corporation and others. All Rights Reserved. "
43
44
 
44
45
#define U_COPYRIGHT_STRING_LENGTH  128
45
46
 
47
48
#define U_ICU_VERSION_MAJOR_NUM 2
48
49
 
49
50
/** The current ICU minor version as an integer. */
50
 
#define U_ICU_VERSION_MINOR_NUM 0
 
51
#define U_ICU_VERSION_MINOR_NUM 1
51
52
 
52
53
/** The current ICU patchlevel version as an integer. */
53
54
#define U_ICU_VERSION_PATCHLEVEL_NUM 0
54
55
 
55
56
/** Glued version suffix for renamers */
56
 
#define U_ICU_VERSION_SUFFIX _2_0
 
57
#define U_ICU_VERSION_SUFFIX _2_1
57
58
 
58
59
/** The current ICU library version as a dotted-decimal string. The patchlevel
59
60
    only appears in this string if it non-zero. */
60
 
#define U_ICU_VERSION "2.0"
 
61
#define U_ICU_VERSION "2.1"
61
62
 
62
63
/** The current ICU library major/minor version as a string without dots, for library name suffixes. */
63
 
#define U_ICU_VERSION_SHORT "20"
 
64
#define U_ICU_VERSION_SHORT "21"
64
65
 
65
66
/** An ICU version consists of up to 4 numbers from 0..255. */
66
67
#define U_MAX_VERSION_LENGTH 4
75
76
typedef uint8_t UVersionInfo[U_MAX_VERSION_LENGTH];
76
77
 
77
78
#if U_HAVE_NAMESPACE && defined(XP_CPLUSPLUS)
78
 
#define U_ICU_NAMESPACE icu_2_0
 
79
#define U_ICU_NAMESPACE icu_2_1
79
80
namespace U_ICU_NAMESPACE { }
80
81
namespace icu = U_ICU_NAMESPACE;
81
82
U_NAMESPACE_USE
141
142
/** in assigning different collation elements to code points                  */
142
143
/** version 2 was in ICU 1.8.1. added support for prefixes, tweaked canonical */
143
144
/** closure. However, the tailorings should probably get same CEs assigned    */
144
 
#define UCOL_BUILDER_VERSION 3
 
145
#define UCOL_BUILDER_VERSION 4
145
146
 
146
147
/* This is the version of FractionalUCA.txt tailoring rules*/
147
148
/* Version 1 was in ICU 1.8.1. Version two contains canonical closure for */
148
149
/* supplementary code points */
149
 
#define UCOL_FRACTIONAL_UCA_VERSION 2
 
150
#define UCOL_FRACTIONAL_UCA_VERSION 3
150
151
 
151
152
/** This is the version of the tailorings */
152
153
#define UCOL_TAILORINGS_VERSION 1