1/*
2*******************************************************************************
3*   Copyright (C) 2000-2010, International Business Machines
4*   Corporation and others.  All Rights Reserved.
5*******************************************************************************
6*
7*   file name:  uvernum.h
8*   encoding:   US-ASCII
9*   tab size:   8 (not used)
10*   indentation:4
11*
12*   Created by: Vladimir Weinstein
13*   Updated by: Steven R. Loomis
14*
15*  Gets included by uversion.h and other files.
16*
17* IMPORTANT: When updating version, the following things need to be done:
18* source/common/unicode/uvernum.h - this file: update major, minor,
19*        patchlevel, suffix, version, short version constants, namespace,
20*                    renaming macro, and copyright
21*
22* The following files need to be updated as well, which can be done
23*  by running the UNIX makefile target 'update-windows-makefiles' in icu/source.
24*
25*
26* source/common/common.vcproj - update 'Output file name' on the link tab so
27*                   that it contains the new major/minor combination
28* source/i18n/i18n.vcproj - same as for the common.vcproj
29* source/layout/layout.vcproj - same as for the common.vcproj
30* source/layoutex/layoutex.vcproj - same
31* source/stubdata/stubdata.vcproj - same as for the common.vcproj
32* source/io/io.vcproj - same as for the common.vcproj
33* source/data/makedata.mak - change U_ICUDATA_NAME so that it contains
34*                            the new major/minor combination and the Unicode version.
35*/
36
37#ifndef UVERNUM_H
38#define UVERNUM_H
39
40/** The standard copyright notice that gets compiled into each library.
41 *  This value will change in the subsequent releases of ICU
42 *  @stable ICU 2.4
43 */
44#define U_COPYRIGHT_STRING \
45  " Copyright (C) 2010, International Business Machines Corporation and others. All Rights Reserved. "
46
47/** The current ICU major version as an integer.
48 *  This value will change in the subsequent releases of ICU
49 *  @stable ICU 2.4
50 */
51#define U_ICU_VERSION_MAJOR_NUM 4
52
53/** The current ICU minor version as an integer.
54 *  This value will change in the subsequent releases of ICU
55 *  @stable ICU 2.6
56 */
57#define U_ICU_VERSION_MINOR_NUM 6
58
59/** The current ICU patchlevel version as an integer.
60 *  This value will change in the subsequent releases of ICU
61 *  @stable ICU 2.4
62 */
63#define U_ICU_VERSION_PATCHLEVEL_NUM 0
64
65/** The current ICU build level version as an integer.
66 *  This value is for use by ICU clients. It defaults to 0.
67 *  @stable ICU 4.0
68 */
69#ifndef U_ICU_VERSION_BUILDLEVEL_NUM
70#define U_ICU_VERSION_BUILDLEVEL_NUM 0
71#endif
72
73/** Glued version suffix for renamers
74 *  This value will change in the subsequent releases of ICU
75 *  @stable ICU 2.6
76 */
77#define U_ICU_VERSION_SUFFIX _46
78
79/** Glued version suffix function for renamers
80 *  This value will change in the subsequent releases of ICU.
81 *  If a custom suffix (such as matching library suffixes) is desired, this can be modified.
82 *  Note that if present, platform.h may contain an earlier definition of this macro.
83 *  @stable ICU 4.2
84 */
85#ifndef U_ICU_ENTRY_POINT_RENAME
86#define U_ICU_ENTRY_POINT_RENAME(x)    x ## _46
87#endif
88
89/** The current ICU library version as a dotted-decimal string. The patchlevel
90 *  only appears in this string if it non-zero.
91 *  This value will change in the subsequent releases of ICU
92 *  @stable ICU 2.4
93 */
94#define U_ICU_VERSION "4.6"
95
96/** The current ICU library major/minor version as a string without dots, for library name suffixes.
97 *  This value will change in the subsequent releases of ICU
98 *  @stable ICU 2.6
99 */
100#define U_ICU_VERSION_SHORT "46"
101
102/** Data version in ICU4C.
103 * @internal ICU 4.4 Internal Use Only
104 **/
105#define U_ICU_DATA_VERSION "4.6"
106
107/*===========================================================================
108 * ICU collation framework version information
109 * Version info that can be obtained from a collator is affected by these
110 * numbers in a secret and magic way. Please use collator version as whole
111 *===========================================================================
112 */
113
114/** Collation runtime version (sort key generator, strcoll).
115 * If the version is different, sortkeys for the same string could be different
116 * version 2 was in ICU 1.8.1. changed is: compression intervals, French secondary
117 * compression, generating quad level always when strength is quad or more
118 * version 4 - ICU 2.2 - tracking UCA changes, ignore completely ignorables
119 * in contractions, ignore primary ignorables after shifted
120 * version 5 - ICU 2.8 - changed implicit generation code
121 * version 6 - ICU 3.4 - with the UCA 4.1, Thai tag is no longer generated or used
122 * This value may change in the subsequent releases of ICU
123 * @stable ICU 2.4
124 */
125#define UCOL_RUNTIME_VERSION 6
126
127/** Builder code version. When this is different, same tailoring might result
128 * in assigning different collation elements to code points
129 * version 2 was in ICU 1.8.1. added support for prefixes, tweaked canonical
130 * closure. However, the tailorings should probably get same CEs assigned
131 * version 5 - ICU 2.2 - fixed some bugs, renamed some indirect values.
132 * version 6 - ICU 2.8 - fixed bug in builder that allowed 0xFF in primary values
133 * version 7 - ICU 3.4 - with the UCA 4.1 Thai tag is no longer processed, complete ignorables
134 *                       now break contractions
135 * version 8 - ICU 4.6 - the addition of collation reordering. It should in general be
136 *                       compatible since the data is at the end of the file. However,
137 *                       if data parsers make assumptions about lengths this will cause problems.
138 * Backward compatible with the old rules.
139 * This value may change in the subsequent releases of ICU
140 * @stable ICU 2.4
141 */
142#define UCOL_BUILDER_VERSION 8
143
144/** This is the version of the tailorings
145 *  This value may change in the subsequent releases of ICU
146 *  @stable ICU 2.4
147 */
148#define UCOL_TAILORINGS_VERSION 1
149
150
151#endif
152