Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | /* |
michael@0 | 2 | ******************************************************************************* |
michael@0 | 3 | * Copyright (C) 2000-2013, International Business Machines |
michael@0 | 4 | * Corporation and others. All Rights Reserved. |
michael@0 | 5 | ******************************************************************************* |
michael@0 | 6 | * |
michael@0 | 7 | * file name: uvernum.h |
michael@0 | 8 | * encoding: US-ASCII |
michael@0 | 9 | * tab size: 8 (not used) |
michael@0 | 10 | * indentation:4 |
michael@0 | 11 | * |
michael@0 | 12 | * Created by: Vladimir Weinstein |
michael@0 | 13 | * Updated by: Steven R. Loomis |
michael@0 | 14 | * |
michael@0 | 15 | */ |
michael@0 | 16 | |
michael@0 | 17 | /** |
michael@0 | 18 | * \file |
michael@0 | 19 | * \brief C API: definitions of ICU version numbers |
michael@0 | 20 | * |
michael@0 | 21 | * This file is included by uversion.h and other files. This file contains only |
michael@0 | 22 | * macros and definitions. The actual version numbers are defined here. |
michael@0 | 23 | */ |
michael@0 | 24 | |
michael@0 | 25 | /* |
michael@0 | 26 | * IMPORTANT: When updating version, the following things need to be done: |
michael@0 | 27 | * source/common/unicode/uvernum.h - this file: update major, minor, |
michael@0 | 28 | * patchlevel, suffix, version, short version constants, namespace, |
michael@0 | 29 | * renaming macro, and copyright |
michael@0 | 30 | * |
michael@0 | 31 | * The following files need to be updated as well, which can be done |
michael@0 | 32 | * by running the UNIX makefile target 'update-windows-makefiles' in icu/source. |
michael@0 | 33 | * |
michael@0 | 34 | * |
michael@0 | 35 | * source/common/common.vcproj - update 'Output file name' on the link tab so |
michael@0 | 36 | * that it contains the new major/minor combination |
michael@0 | 37 | * source/i18n/i18n.vcproj - same as for the common.vcproj |
michael@0 | 38 | * source/layout/layout.vcproj - same as for the common.vcproj |
michael@0 | 39 | * source/layoutex/layoutex.vcproj - same |
michael@0 | 40 | * source/stubdata/stubdata.vcproj - same as for the common.vcproj |
michael@0 | 41 | * source/io/io.vcproj - same as for the common.vcproj |
michael@0 | 42 | * source/data/makedata.mak - change U_ICUDATA_NAME so that it contains |
michael@0 | 43 | * the new major/minor combination and the Unicode version. |
michael@0 | 44 | */ |
michael@0 | 45 | |
michael@0 | 46 | #ifndef UVERNUM_H |
michael@0 | 47 | #define UVERNUM_H |
michael@0 | 48 | |
michael@0 | 49 | /** The standard copyright notice that gets compiled into each library. |
michael@0 | 50 | * This value will change in the subsequent releases of ICU |
michael@0 | 51 | * @stable ICU 2.4 |
michael@0 | 52 | */ |
michael@0 | 53 | #define U_COPYRIGHT_STRING \ |
michael@0 | 54 | " Copyright (C) 2013, International Business Machines Corporation and others. All Rights Reserved. " |
michael@0 | 55 | |
michael@0 | 56 | /** The current ICU major version as an integer. |
michael@0 | 57 | * This value will change in the subsequent releases of ICU |
michael@0 | 58 | * @stable ICU 2.4 |
michael@0 | 59 | */ |
michael@0 | 60 | #define U_ICU_VERSION_MAJOR_NUM 52 |
michael@0 | 61 | |
michael@0 | 62 | /** The current ICU minor version as an integer. |
michael@0 | 63 | * This value will change in the subsequent releases of ICU |
michael@0 | 64 | * @stable ICU 2.6 |
michael@0 | 65 | */ |
michael@0 | 66 | #define U_ICU_VERSION_MINOR_NUM 1 |
michael@0 | 67 | |
michael@0 | 68 | /** The current ICU patchlevel version as an integer. |
michael@0 | 69 | * This value will change in the subsequent releases of ICU |
michael@0 | 70 | * @stable ICU 2.4 |
michael@0 | 71 | */ |
michael@0 | 72 | #define U_ICU_VERSION_PATCHLEVEL_NUM 0 |
michael@0 | 73 | |
michael@0 | 74 | /** The current ICU build level version as an integer. |
michael@0 | 75 | * This value is for use by ICU clients. It defaults to 0. |
michael@0 | 76 | * @stable ICU 4.0 |
michael@0 | 77 | */ |
michael@0 | 78 | #ifndef U_ICU_VERSION_BUILDLEVEL_NUM |
michael@0 | 79 | #define U_ICU_VERSION_BUILDLEVEL_NUM 0 |
michael@0 | 80 | #endif |
michael@0 | 81 | |
michael@0 | 82 | /** Glued version suffix for renamers |
michael@0 | 83 | * This value will change in the subsequent releases of ICU |
michael@0 | 84 | * @stable ICU 2.6 |
michael@0 | 85 | */ |
michael@0 | 86 | #define U_ICU_VERSION_SUFFIX _52 |
michael@0 | 87 | |
michael@0 | 88 | /** |
michael@0 | 89 | * \def U_DEF2_ICU_ENTRY_POINT_RENAME |
michael@0 | 90 | * @internal |
michael@0 | 91 | */ |
michael@0 | 92 | /** |
michael@0 | 93 | * \def U_DEF_ICU_ENTRY_POINT_RENAME |
michael@0 | 94 | * @internal |
michael@0 | 95 | */ |
michael@0 | 96 | /** Glued version suffix function for renamers |
michael@0 | 97 | * This value will change in the subsequent releases of ICU. |
michael@0 | 98 | * If a custom suffix (such as matching library suffixes) is desired, this can be modified. |
michael@0 | 99 | * Note that if present, platform.h may contain an earlier definition of this macro. |
michael@0 | 100 | * \def U_ICU_ENTRY_POINT_RENAME |
michael@0 | 101 | * @stable ICU 4.2 |
michael@0 | 102 | */ |
michael@0 | 103 | |
michael@0 | 104 | #ifndef U_ICU_ENTRY_POINT_RENAME |
michael@0 | 105 | #ifdef U_HAVE_LIB_SUFFIX |
michael@0 | 106 | #define U_DEF_ICU_ENTRY_POINT_RENAME(x,y,z) x ## y ## z |
michael@0 | 107 | #define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y,z) U_DEF_ICU_ENTRY_POINT_RENAME(x,y,z) |
michael@0 | 108 | #define U_ICU_ENTRY_POINT_RENAME(x) U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX,U_LIB_SUFFIX_C_NAME) |
michael@0 | 109 | #else |
michael@0 | 110 | #define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y |
michael@0 | 111 | #define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y) U_DEF_ICU_ENTRY_POINT_RENAME(x,y) |
michael@0 | 112 | #define U_ICU_ENTRY_POINT_RENAME(x) U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX) |
michael@0 | 113 | #endif |
michael@0 | 114 | #endif |
michael@0 | 115 | |
michael@0 | 116 | /** The current ICU library version as a dotted-decimal string. The patchlevel |
michael@0 | 117 | * only appears in this string if it non-zero. |
michael@0 | 118 | * This value will change in the subsequent releases of ICU |
michael@0 | 119 | * @stable ICU 2.4 |
michael@0 | 120 | */ |
michael@0 | 121 | #define U_ICU_VERSION "52.1" |
michael@0 | 122 | |
michael@0 | 123 | /** The current ICU library major/minor version as a string without dots, for library name suffixes. |
michael@0 | 124 | * This value will change in the subsequent releases of ICU |
michael@0 | 125 | * @stable ICU 2.6 |
michael@0 | 126 | */ |
michael@0 | 127 | #define U_ICU_VERSION_SHORT "52" |
michael@0 | 128 | |
michael@0 | 129 | #ifndef U_HIDE_INTERNAL_API |
michael@0 | 130 | /** Data version in ICU4C. |
michael@0 | 131 | * @internal ICU 4.4 Internal Use Only |
michael@0 | 132 | **/ |
michael@0 | 133 | #define U_ICU_DATA_VERSION "52.1" |
michael@0 | 134 | #endif /* U_HIDE_INTERNAL_API */ |
michael@0 | 135 | |
michael@0 | 136 | /*=========================================================================== |
michael@0 | 137 | * ICU collation framework version information |
michael@0 | 138 | * Version info that can be obtained from a collator is affected by these |
michael@0 | 139 | * numbers in a secret and magic way. Please use collator version as whole |
michael@0 | 140 | *=========================================================================== |
michael@0 | 141 | */ |
michael@0 | 142 | |
michael@0 | 143 | /** |
michael@0 | 144 | * Collation runtime version (sort key generator, strcoll). |
michael@0 | 145 | * If the version is different, sort keys for the same string could be different. |
michael@0 | 146 | * This value may change in subsequent releases of ICU. |
michael@0 | 147 | * @stable ICU 2.4 |
michael@0 | 148 | */ |
michael@0 | 149 | #define UCOL_RUNTIME_VERSION 7 |
michael@0 | 150 | |
michael@0 | 151 | /** |
michael@0 | 152 | * Collation builder code version. |
michael@0 | 153 | * When this is different, the same tailoring might result |
michael@0 | 154 | * in assigning different collation elements to code points. |
michael@0 | 155 | * This value may change in subsequent releases of ICU. |
michael@0 | 156 | * @stable ICU 2.4 |
michael@0 | 157 | */ |
michael@0 | 158 | #define UCOL_BUILDER_VERSION 8 |
michael@0 | 159 | |
michael@0 | 160 | /** |
michael@0 | 161 | * This is the version of collation tailorings. |
michael@0 | 162 | * This value may change in subsequent releases of ICU. |
michael@0 | 163 | * @stable ICU 2.4 |
michael@0 | 164 | */ |
michael@0 | 165 | #define UCOL_TAILORINGS_VERSION 1 |
michael@0 | 166 | |
michael@0 | 167 | #endif |