5098ba1b94
* Remove 4.2 sourcecode * ICU is now an optional package (mandatory) * Adjust the namespaces and libraries names where needed git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37498 a95241bf-73f2-0310-859d-f6bbb57e9c96
149 lines
5.6 KiB
C
149 lines
5.6 KiB
C
/*
|
|
*******************************************************************************
|
|
* Copyright (C) 2000-2010, International Business Machines
|
|
* Corporation and others. All Rights Reserved.
|
|
*******************************************************************************
|
|
*
|
|
* file name: uvernum.h
|
|
* encoding: US-ASCII
|
|
* tab size: 8 (not used)
|
|
* indentation:4
|
|
*
|
|
* Created by: Vladimir Weinstein
|
|
* Updated by: Steven R. Loomis
|
|
*
|
|
* Gets included by uversion.h and other files.
|
|
*
|
|
* IMPORTANT: When updating version, the following things need to be done:
|
|
* source/common/unicode/uvernum.h - this file: update major, minor,
|
|
* patchlevel, suffix, version, short version constants, namespace,
|
|
* renaming macro, and copyright
|
|
*
|
|
* The following files need to be updated as well, which can be done
|
|
* by running the UNIX makefile target 'update-windows-makefiles' in icu/source.
|
|
*
|
|
*
|
|
* source/common/common.vcproj - update 'Output file name' on the link tab so
|
|
* that it contains the new major/minor combination
|
|
* source/i18n/i18n.vcproj - same as for the common.vcproj
|
|
* source/layout/layout.vcproj - same as for the common.vcproj
|
|
* source/layoutex/layoutex.vcproj - same
|
|
* source/stubdata/stubdata.vcproj - same as for the common.vcproj
|
|
* source/io/io.vcproj - same as for the common.vcproj
|
|
* source/data/makedata.mak - change U_ICUDATA_NAME so that it contains
|
|
* the new major/minor combination and the Unicode version.
|
|
*/
|
|
|
|
#ifndef UVERNUM_H
|
|
#define UVERNUM_H
|
|
|
|
/** The standard copyright notice that gets compiled into each library.
|
|
* This value will change in the subsequent releases of ICU
|
|
* @stable ICU 2.4
|
|
*/
|
|
#define U_COPYRIGHT_STRING \
|
|
" Copyright (C) 2010, International Business Machines Corporation and others. All Rights Reserved. "
|
|
|
|
/** The current ICU major version as an integer.
|
|
* This value will change in the subsequent releases of ICU
|
|
* @stable ICU 2.4
|
|
*/
|
|
#define U_ICU_VERSION_MAJOR_NUM 4
|
|
|
|
/** The current ICU minor version as an integer.
|
|
* This value will change in the subsequent releases of ICU
|
|
* @stable ICU 2.6
|
|
*/
|
|
#define U_ICU_VERSION_MINOR_NUM 4
|
|
|
|
/** The current ICU patchlevel version as an integer.
|
|
* This value will change in the subsequent releases of ICU
|
|
* @stable ICU 2.4
|
|
*/
|
|
#define U_ICU_VERSION_PATCHLEVEL_NUM 1
|
|
|
|
/** The current ICU build level version as an integer.
|
|
* This value is for use by ICU clients. It defaults to 0.
|
|
* @stable ICU 4.0
|
|
*/
|
|
#ifndef U_ICU_VERSION_BUILDLEVEL_NUM
|
|
#define U_ICU_VERSION_BUILDLEVEL_NUM 0
|
|
#endif
|
|
|
|
/** Glued version suffix for renamers
|
|
* This value will change in the subsequent releases of ICU
|
|
* @stable ICU 2.6
|
|
*/
|
|
#define U_ICU_VERSION_SUFFIX _44
|
|
|
|
/** Glued version suffix function for renamers
|
|
* This value will change in the subsequent releases of ICU.
|
|
* If a custom suffix (such as matching library suffixes) is desired, this can be modified.
|
|
* Note that if present, platform.h may contain an earlier definition of this macro.
|
|
* @draft ICU 4.2
|
|
*/
|
|
#ifndef U_ICU_ENTRY_POINT_RENAME
|
|
#define U_ICU_ENTRY_POINT_RENAME(x) x ## _44
|
|
#endif
|
|
|
|
/** The current ICU library version as a dotted-decimal string. The patchlevel
|
|
* only appears in this string if it non-zero.
|
|
* This value will change in the subsequent releases of ICU
|
|
* @stable ICU 2.4
|
|
*/
|
|
#define U_ICU_VERSION "4.4.1"
|
|
|
|
/** The current ICU library major/minor version as a string without dots, for library name suffixes.
|
|
* This value will change in the subsequent releases of ICU
|
|
* @stable ICU 2.6
|
|
*/
|
|
#define U_ICU_VERSION_SHORT "44"
|
|
|
|
/** Data version in ICU4C.
|
|
* @internal ICU 4.4 Internal Use Only
|
|
**/
|
|
#define U_ICU_DATA_VERSION "4.4.0.1"
|
|
|
|
/*===========================================================================
|
|
* ICU collation framework version information
|
|
* Version info that can be obtained from a collator is affected by these
|
|
* numbers in a secret and magic way. Please use collator version as whole
|
|
*===========================================================================
|
|
*/
|
|
|
|
/** Collation runtime version (sort key generator, strcoll).
|
|
* If the version is different, sortkeys for the same string could be different
|
|
* version 2 was in ICU 1.8.1. changed is: compression intervals, French secondary
|
|
* compression, generating quad level always when strength is quad or more
|
|
* version 4 - ICU 2.2 - tracking UCA changes, ignore completely ignorables
|
|
* in contractions, ignore primary ignorables after shifted
|
|
* version 5 - ICU 2.8 - changed implicit generation code
|
|
* version 6 - ICU 3.4 - with the UCA 4.1, Thai tag is no longer generated or used
|
|
* This value may change in the subsequent releases of ICU
|
|
* @stable ICU 2.4
|
|
*/
|
|
#define UCOL_RUNTIME_VERSION 6
|
|
|
|
/** Builder code version. When this is different, same tailoring might result
|
|
* in assigning different collation elements to code points
|
|
* version 2 was in ICU 1.8.1. added support for prefixes, tweaked canonical
|
|
* closure. However, the tailorings should probably get same CEs assigned
|
|
* version 5 - ICU 2.2 - fixed some bugs, renamed some indirect values.
|
|
* version 6 - ICU 2.8 - fixed bug in builder that allowed 0xFF in primary values
|
|
* version 7 - ICU 3.4 - with the UCA 4.1 Thai tag is no longer processed, complete ignorables
|
|
* now break contractions
|
|
* Backward compatible with the old rules.
|
|
* This value may change in the subsequent releases of ICU
|
|
* @stable ICU 2.4
|
|
*/
|
|
#define UCOL_BUILDER_VERSION 7
|
|
|
|
/** This is the version of the tailorings
|
|
* This value may change in the subsequent releases of ICU
|
|
* @stable ICU 2.4
|
|
*/
|
|
#define UCOL_TAILORINGS_VERSION 1
|
|
|
|
|
|
#endif
|