pango 3.1.0-x86-mingw32 → 3.1.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +9 -4
- data/ext/pango/rbpangolayoutline.c +6 -2
- data/lib/2.2/pango.so +0 -0
- data/lib/2.3/pango.so +0 -0
- data/lib/2.4/pango.so +0 -0
- data/sample/layout.rb +1 -1
- data/vendor/local/bin/derb.exe +0 -0
- data/vendor/local/bin/genbrk.exe +0 -0
- data/vendor/local/bin/genccode.exe +0 -0
- data/vendor/local/bin/gencfu.exe +0 -0
- data/vendor/local/bin/gencmn.exe +0 -0
- data/vendor/local/bin/gencnval.exe +0 -0
- data/vendor/local/bin/gendict.exe +0 -0
- data/vendor/local/bin/gennorm2.exe +0 -0
- data/vendor/local/bin/genrb.exe +0 -0
- data/vendor/local/bin/gensprep.exe +0 -0
- data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
- data/vendor/local/bin/hb-shape.exe +0 -0
- data/vendor/local/bin/hb-view.exe +0 -0
- data/vendor/local/bin/icu-config +18 -13
- data/vendor/local/bin/icuinfo.exe +0 -0
- data/vendor/local/bin/icupkg.exe +0 -0
- data/vendor/local/bin/libharfbuzz-0.dll +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/makeconv.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/bin/pkgdata.exe +0 -0
- data/vendor/local/bin/uconv.exe +0 -0
- data/vendor/local/include/harfbuzz/hb-font.h +5 -0
- data/vendor/local/include/harfbuzz/hb-glib.h +2 -1
- data/vendor/local/include/harfbuzz/hb-ot-layout.h +19 -0
- data/vendor/local/include/harfbuzz/hb-shape-plan.h +19 -0
- data/vendor/local/include/harfbuzz/hb-version.h +3 -3
- data/vendor/local/include/unicode/alphaindex.h +2 -0
- data/vendor/local/include/unicode/appendable.h +2 -0
- data/vendor/local/include/unicode/basictz.h +2 -0
- data/vendor/local/include/unicode/brkiter.h +7 -0
- data/vendor/local/include/unicode/bytestream.h +2 -0
- data/vendor/local/include/unicode/bytestrie.h +3 -2
- data/vendor/local/include/unicode/bytestriebuilder.h +4 -4
- data/vendor/local/include/unicode/calendar.h +2 -0
- data/vendor/local/include/unicode/caniter.h +2 -0
- data/vendor/local/include/unicode/chariter.h +2 -0
- data/vendor/local/include/unicode/choicfmt.h +2 -0
- data/vendor/local/include/unicode/coleitr.h +2 -0
- data/vendor/local/include/unicode/coll.h +2 -0
- data/vendor/local/include/unicode/compactdecimalformat.h +4 -3
- data/vendor/local/include/unicode/curramt.h +2 -0
- data/vendor/local/include/unicode/currpinf.h +2 -0
- data/vendor/local/include/unicode/currunit.h +2 -0
- data/vendor/local/include/unicode/datefmt.h +2 -0
- data/vendor/local/include/unicode/dbbi.h +2 -0
- data/vendor/local/include/unicode/dcfmtsym.h +2 -0
- data/vendor/local/include/unicode/decimfmt.h +9 -5
- data/vendor/local/include/unicode/docmain.h +3 -1
- data/vendor/local/include/unicode/dtfmtsym.h +26 -14
- data/vendor/local/include/unicode/dtintrv.h +2 -0
- data/vendor/local/include/unicode/dtitvfmt.h +2 -0
- data/vendor/local/include/unicode/dtitvinf.h +8 -3
- data/vendor/local/include/unicode/dtptngen.h +13 -9
- data/vendor/local/include/unicode/dtrule.h +2 -0
- data/vendor/local/include/unicode/enumset.h +2 -0
- data/vendor/local/include/unicode/errorcode.h +2 -0
- data/vendor/local/include/unicode/fieldpos.h +5 -2
- data/vendor/local/include/unicode/filteredbrk.h +10 -12
- data/vendor/local/include/unicode/fmtable.h +4 -2
- data/vendor/local/include/unicode/format.h +2 -0
- data/vendor/local/include/unicode/fpositer.h +2 -0
- data/vendor/local/include/unicode/gender.h +2 -0
- data/vendor/local/include/unicode/gregocal.h +2 -0
- data/vendor/local/include/unicode/icudataver.h +2 -0
- data/vendor/local/include/unicode/icuplug.h +12 -2
- data/vendor/local/include/unicode/idna.h +6 -4
- data/vendor/local/include/unicode/listformatter.h +2 -0
- data/vendor/local/include/unicode/localpointer.h +19 -28
- data/vendor/local/include/unicode/locdspnm.h +2 -0
- data/vendor/local/include/unicode/locid.h +2 -0
- data/vendor/local/include/unicode/measfmt.h +21 -2
- data/vendor/local/include/unicode/measunit.h +50 -24
- data/vendor/local/include/unicode/measure.h +2 -0
- data/vendor/local/include/unicode/messagepattern.h +2 -0
- data/vendor/local/include/unicode/msgfmt.h +2 -0
- data/vendor/local/include/unicode/normalizer2.h +2 -0
- data/vendor/local/include/unicode/normlzr.h +4 -4
- data/vendor/local/include/unicode/numfmt.h +8 -6
- data/vendor/local/include/unicode/numsys.h +2 -0
- data/vendor/local/include/unicode/parseerr.h +2 -0
- data/vendor/local/include/unicode/parsepos.h +2 -0
- data/vendor/local/include/unicode/platform.h +8 -0
- data/vendor/local/include/unicode/plurfmt.h +2 -0
- data/vendor/local/include/unicode/plurrule.h +2 -0
- data/vendor/local/include/unicode/ptypes.h +2 -0
- data/vendor/local/include/unicode/putil.h +2 -0
- data/vendor/local/include/unicode/rbbi.h +18 -66
- data/vendor/local/include/unicode/rbnf.h +8 -0
- data/vendor/local/include/unicode/rbtz.h +2 -0
- data/vendor/local/include/unicode/regex.h +2 -0
- data/vendor/local/include/unicode/region.h +3 -1
- data/vendor/local/include/unicode/reldatefmt.h +19 -9
- data/vendor/local/include/unicode/rep.h +2 -0
- data/vendor/local/include/unicode/resbund.h +2 -0
- data/vendor/local/include/unicode/schriter.h +2 -0
- data/vendor/local/include/unicode/scientificnumberformatter.h +2 -0
- data/vendor/local/include/unicode/search.h +2 -0
- data/vendor/local/include/unicode/selfmt.h +2 -0
- data/vendor/local/include/unicode/simpleformatter.h +2 -0
- data/vendor/local/include/unicode/simpletz.h +2 -0
- data/vendor/local/include/unicode/smpdtfmt.h +9 -1
- data/vendor/local/include/unicode/sortkey.h +2 -0
- data/vendor/local/include/unicode/std_string.h +2 -0
- data/vendor/local/include/unicode/strenum.h +2 -0
- data/vendor/local/include/unicode/stringpiece.h +5 -3
- data/vendor/local/include/unicode/stringtriebuilder.h +13 -1
- data/vendor/local/include/unicode/stsearch.h +2 -0
- data/vendor/local/include/unicode/symtable.h +2 -0
- data/vendor/local/include/unicode/tblcoll.h +3 -1
- data/vendor/local/include/unicode/timezone.h +2 -0
- data/vendor/local/include/unicode/tmunit.h +8 -0
- data/vendor/local/include/unicode/tmutamt.h +2 -0
- data/vendor/local/include/unicode/tmutfmt.h +5 -0
- data/vendor/local/include/unicode/translit.h +2 -0
- data/vendor/local/include/unicode/tzfmt.h +2 -0
- data/vendor/local/include/unicode/tznames.h +16 -2
- data/vendor/local/include/unicode/tzrule.h +2 -0
- data/vendor/local/include/unicode/tztrans.h +2 -0
- data/vendor/local/include/unicode/ubidi.h +20 -8
- data/vendor/local/include/unicode/ubiditransform.h +321 -0
- data/vendor/local/include/unicode/ubrk.h +26 -7
- data/vendor/local/include/unicode/ucal.h +8 -4
- data/vendor/local/include/unicode/ucasemap.h +2 -0
- data/vendor/local/include/unicode/ucat.h +2 -0
- data/vendor/local/include/unicode/uchar.h +244 -17
- data/vendor/local/include/unicode/ucharstrie.h +2 -0
- data/vendor/local/include/unicode/ucharstriebuilder.h +2 -0
- data/vendor/local/include/unicode/uchriter.h +2 -0
- data/vendor/local/include/unicode/uclean.h +2 -0
- data/vendor/local/include/unicode/ucnv.h +8 -1
- data/vendor/local/include/unicode/ucnv_cb.h +2 -0
- data/vendor/local/include/unicode/ucnv_err.h +2 -0
- data/vendor/local/include/unicode/ucnvsel.h +2 -0
- data/vendor/local/include/unicode/ucol.h +28 -11
- data/vendor/local/include/unicode/ucoleitr.h +2 -0
- data/vendor/local/include/unicode/uconfig.h +2 -0
- data/vendor/local/include/unicode/ucsdet.h +2 -0
- data/vendor/local/include/unicode/ucurr.h +5 -1
- data/vendor/local/include/unicode/udat.h +13 -11
- data/vendor/local/include/unicode/udata.h +8 -1
- data/vendor/local/include/unicode/udateintervalformat.h +2 -0
- data/vendor/local/include/unicode/udatpg.h +15 -2
- data/vendor/local/include/unicode/udisplaycontext.h +34 -2
- data/vendor/local/include/unicode/uenum.h +2 -0
- data/vendor/local/include/unicode/ufieldpositer.h +4 -2
- data/vendor/local/include/unicode/uformattable.h +9 -1
- data/vendor/local/include/unicode/ugender.h +2 -0
- data/vendor/local/include/unicode/uidna.h +2 -0
- data/vendor/local/include/unicode/uiter.h +2 -0
- data/vendor/local/include/unicode/uldnames.h +2 -0
- data/vendor/local/include/unicode/ulistformatter.h +2 -0
- data/vendor/local/include/unicode/uloc.h +9 -3
- data/vendor/local/include/unicode/ulocdata.h +20 -2
- data/vendor/local/include/unicode/umachine.h +25 -0
- data/vendor/local/include/unicode/umisc.h +2 -0
- data/vendor/local/include/unicode/umsg.h +2 -0
- data/vendor/local/include/unicode/unifilt.h +2 -0
- data/vendor/local/include/unicode/unifunct.h +2 -0
- data/vendor/local/include/unicode/unimatch.h +2 -0
- data/vendor/local/include/unicode/unirepl.h +2 -0
- data/vendor/local/include/unicode/uniset.h +3 -1
- data/vendor/local/include/unicode/unistr.h +12 -14
- data/vendor/local/include/unicode/unorm.h +6 -2
- data/vendor/local/include/unicode/unorm2.h +2 -0
- data/vendor/local/include/unicode/unum.h +28 -10
- data/vendor/local/include/unicode/unumsys.h +2 -0
- data/vendor/local/include/unicode/uobject.h +2 -0
- data/vendor/local/include/unicode/upluralrules.h +6 -2
- data/vendor/local/include/unicode/uregex.h +2 -0
- data/vendor/local/include/unicode/uregion.h +6 -2
- data/vendor/local/include/unicode/ureldatefmt.h +13 -7
- data/vendor/local/include/unicode/urename.h +16 -4
- data/vendor/local/include/unicode/urep.h +2 -0
- data/vendor/local/include/unicode/ures.h +7 -1
- data/vendor/local/include/unicode/uscript.h +41 -29
- data/vendor/local/include/unicode/usearch.h +10 -4
- data/vendor/local/include/unicode/uset.h +5 -1
- data/vendor/local/include/unicode/usetiter.h +2 -0
- data/vendor/local/include/unicode/ushape.h +2 -0
- data/vendor/local/include/unicode/uspoof.h +876 -363
- data/vendor/local/include/unicode/usprep.h +2 -0
- data/vendor/local/include/unicode/ustdio.h +2 -0
- data/vendor/local/include/unicode/ustream.h +2 -0
- data/vendor/local/include/unicode/ustring.h +2 -0
- data/vendor/local/include/unicode/ustringtrie.h +2 -0
- data/vendor/local/include/unicode/utext.h +2 -0
- data/vendor/local/include/unicode/utf.h +2 -0
- data/vendor/local/include/unicode/utf16.h +2 -0
- data/vendor/local/include/unicode/utf32.h +2 -0
- data/vendor/local/include/unicode/utf8.h +2 -0
- data/vendor/local/include/unicode/utf_old.h +2 -0
- data/vendor/local/include/unicode/utmscale.h +2 -0
- data/vendor/local/include/unicode/utrace.h +20 -0
- data/vendor/local/include/unicode/utrans.h +2 -0
- data/vendor/local/include/unicode/utypes.h +71 -97
- data/vendor/local/include/unicode/uvernum.h +13 -12
- data/vendor/local/include/unicode/uversion.h +2 -0
- data/vendor/local/include/unicode/vtzone.h +2 -0
- data/vendor/local/lib/icu/{57.1 → 58.2}/Makefile.inc +8 -9
- data/vendor/local/lib/icu/{57.1 → 58.2}/pkgdata.inc +3 -3
- data/vendor/local/lib/icu/Makefile.inc +8 -9
- data/vendor/local/lib/icu/pkgdata.inc +3 -3
- data/vendor/local/lib/icudt.dll +0 -0
- data/vendor/local/lib/icudt58.dll +0 -0
- data/vendor/local/lib/icuin.dll +0 -0
- data/vendor/local/lib/icuin58.dll +0 -0
- data/vendor/local/lib/icuio.dll +0 -0
- data/vendor/local/lib/icuio58.dll +0 -0
- data/vendor/local/lib/icutest.dll +0 -0
- data/vendor/local/lib/{icutest57.dll → icutest58.dll} +0 -0
- data/vendor/local/lib/icutu.dll +0 -0
- data/vendor/local/lib/icutu58.dll +0 -0
- data/vendor/local/lib/icuuc.dll +0 -0
- data/vendor/local/lib/icuuc58.dll +0 -0
- data/vendor/local/lib/libharfbuzz-icu.a +0 -0
- data/vendor/local/lib/libharfbuzz-icu.la +4 -4
- data/vendor/local/lib/libharfbuzz.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz.la +3 -3
- data/vendor/local/lib/libicudt.dll.a +0 -0
- data/vendor/local/lib/{icudt57.dll → libicudt58.dll} +0 -0
- data/vendor/local/lib/libicuin.dll.a +0 -0
- data/vendor/local/lib/libicuio.dll.a +0 -0
- data/vendor/local/lib/libicutest.dll.a +0 -0
- data/vendor/local/lib/libicutu.dll.a +0 -0
- data/vendor/local/lib/libicuuc.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +1 -1
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +2 -2
- data/vendor/local/lib/pkgconfig/icu-i18n.pc +8 -6
- data/vendor/local/lib/pkgconfig/icu-io.pc +8 -6
- data/vendor/local/lib/pkgconfig/icu-uc.pc +8 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +3 -3
- data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +1 -1
- data/vendor/local/share/icu/{57.1 → 58.2}/LICENSE +52 -60
- data/vendor/local/share/icu/{57.1 → 58.2}/config/mh-mingw +4 -2
- data/vendor/local/share/icu/{57.1 → 58.2}/install-sh +0 -0
- data/vendor/local/share/icu/{57.1 → 58.2}/mkinstalldirs +2 -0
- data/vendor/local/share/man/man1/derb.1 +4 -2
- data/vendor/local/share/man/man1/genbrk.1 +4 -2
- data/vendor/local/share/man/man1/gencfu.1 +3 -1
- data/vendor/local/share/man/man1/gencnval.1 +5 -3
- data/vendor/local/share/man/man1/gendict.1 +4 -2
- data/vendor/local/share/man/man1/genrb.1 +5 -3
- data/vendor/local/share/man/man1/icu-config.1 +4 -5
- data/vendor/local/share/man/man1/makeconv.1 +5 -3
- data/vendor/local/share/man/man1/pkgdata.1 +4 -2
- data/vendor/local/share/man/man1/uconv.1 +4 -2
- data/vendor/local/share/man/man8/genccode.8 +4 -2
- data/vendor/local/share/man/man8/gencmn.8 +5 -3
- data/vendor/local/share/man/man8/gensprep.8 +5 -3
- data/vendor/local/share/man/man8/icupkg.8 +3 -1
- metadata +23 -40
- data/vendor/local/include/layout/LEFontInstance.h +0 -524
- data/vendor/local/include/layout/LEGlyphFilter.h +0 -45
- data/vendor/local/include/layout/LEGlyphStorage.h +0 -546
- data/vendor/local/include/layout/LEInsertionList.h +0 -177
- data/vendor/local/include/layout/LELanguages.h +0 -109
- data/vendor/local/include/layout/LEScripts.h +0 -204
- data/vendor/local/include/layout/LESwaps.h +0 -100
- data/vendor/local/include/layout/LETableReference.h +0 -435
- data/vendor/local/include/layout/LETypes.h +0 -728
- data/vendor/local/include/layout/LayoutEngine.h +0 -518
- data/vendor/local/include/layout/ParagraphLayout.h +0 -747
- data/vendor/local/include/layout/RunArrays.h +0 -676
- data/vendor/local/include/layout/loengine.h +0 -225
- data/vendor/local/include/layout/playout.h +0 -466
- data/vendor/local/include/layout/plruns.h +0 -441
- data/vendor/local/lib/icuin57.dll +0 -0
- data/vendor/local/lib/icuio57.dll +0 -0
- data/vendor/local/lib/icule.dll +0 -0
- data/vendor/local/lib/icule57.dll +0 -0
- data/vendor/local/lib/iculx.dll +0 -0
- data/vendor/local/lib/iculx57.dll +0 -0
- data/vendor/local/lib/icutu57.dll +0 -0
- data/vendor/local/lib/icuuc57.dll +0 -0
- data/vendor/local/lib/libicule.dll.a +0 -0
- data/vendor/local/lib/libiculx.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/icu-le.pc +0 -38
- data/vendor/local/lib/pkgconfig/icu-lx.pc +0 -38
@@ -1,3 +1,5 @@
|
|
1
|
+
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
2
|
+
// License & terms of use: http://www.unicode.org/copyright.html
|
1
3
|
/*
|
2
4
|
*******************************************************************************
|
3
5
|
* Copyright (C) 2010-2012, International Business Machines
|
@@ -1,3 +1,5 @@
|
|
1
|
+
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
2
|
+
// License & terms of use: http://www.unicode.org/copyright.html
|
1
3
|
/*
|
2
4
|
*******************************************************************************
|
3
5
|
* Copyright (C) 2004 - 2008, International Business Machines Corporation and
|
@@ -1,3 +1,5 @@
|
|
1
|
+
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
2
|
+
// License & terms of use: http://www.unicode.org/copyright.html
|
1
3
|
/*
|
2
4
|
*******************************************************************************
|
3
5
|
*
|
@@ -64,7 +66,13 @@ typedef enum UTraceFunctionNumber {
|
|
64
66
|
UTRACE_FUNCTION_START=0,
|
65
67
|
UTRACE_U_INIT=UTRACE_FUNCTION_START,
|
66
68
|
UTRACE_U_CLEANUP,
|
69
|
+
#ifndef U_HIDE_DEPRECATED_API
|
70
|
+
/**
|
71
|
+
* One more than the highest normal collation trace location.
|
72
|
+
* @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
|
73
|
+
*/
|
67
74
|
UTRACE_FUNCTION_LIMIT,
|
75
|
+
#endif // U_HIDE_DEPRECATED_API
|
68
76
|
|
69
77
|
UTRACE_CONVERSION_START=0x1000,
|
70
78
|
UTRACE_UCNV_OPEN=UTRACE_CONVERSION_START,
|
@@ -75,7 +83,13 @@ typedef enum UTraceFunctionNumber {
|
|
75
83
|
UTRACE_UCNV_FLUSH_CACHE,
|
76
84
|
UTRACE_UCNV_LOAD,
|
77
85
|
UTRACE_UCNV_UNLOAD,
|
86
|
+
#ifndef U_HIDE_DEPRECATED_API
|
87
|
+
/**
|
88
|
+
* One more than the highest normal collation trace location.
|
89
|
+
* @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
|
90
|
+
*/
|
78
91
|
UTRACE_CONVERSION_LIMIT,
|
92
|
+
#endif // U_HIDE_DEPRECATED_API
|
79
93
|
|
80
94
|
UTRACE_COLLATION_START=0x2000,
|
81
95
|
UTRACE_UCOL_OPEN=UTRACE_COLLATION_START,
|
@@ -87,7 +101,13 @@ typedef enum UTraceFunctionNumber {
|
|
87
101
|
UTRACE_UCOL_STRCOLLITER,
|
88
102
|
UTRACE_UCOL_OPEN_FROM_SHORT_STRING,
|
89
103
|
UTRACE_UCOL_STRCOLLUTF8, /**< @stable ICU 50 */
|
104
|
+
#ifndef U_HIDE_DEPRECATED_API
|
105
|
+
/**
|
106
|
+
* One more than the highest normal collation trace location.
|
107
|
+
* @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
|
108
|
+
*/
|
90
109
|
UTRACE_COLLATION_LIMIT
|
110
|
+
#endif // U_HIDE_DEPRECATED_API
|
91
111
|
} UTraceFunctionNumber;
|
92
112
|
|
93
113
|
/**
|
@@ -1,3 +1,5 @@
|
|
1
|
+
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
2
|
+
// License & terms of use: http://www.unicode.org/copyright.html
|
1
3
|
/*
|
2
4
|
*******************************************************************************
|
3
5
|
* Copyright (C) 1997-2011,2014-2015 International Business Machines
|
@@ -1,3 +1,5 @@
|
|
1
|
+
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
2
|
+
// License & terms of use: http://www.unicode.org/copyright.html
|
1
3
|
/*
|
2
4
|
**********************************************************************
|
3
5
|
* Copyright (C) 1996-2016, International Business Machines
|
@@ -373,88 +375,6 @@ typedef double UDate;
|
|
373
375
|
#define U_STANDARD_CPP_NAMESPACE
|
374
376
|
#endif
|
375
377
|
|
376
|
-
|
377
|
-
/*===========================================================================*/
|
378
|
-
/* Global delete operator */
|
379
|
-
/*===========================================================================*/
|
380
|
-
|
381
|
-
/*
|
382
|
-
* The ICU4C library must not use the global new and delete operators.
|
383
|
-
* These operators here are defined to enable testing for this.
|
384
|
-
* See Jitterbug 2581 for details of why this is necessary.
|
385
|
-
*
|
386
|
-
* Verification that ICU4C's memory usage is correct, i.e.,
|
387
|
-
* that global new/delete are not used:
|
388
|
-
*
|
389
|
-
* a) Check for imports of global new/delete (see uobject.cpp for details)
|
390
|
-
* b) Verify that new is never imported.
|
391
|
-
* c) Verify that delete is only imported from object code for interface/mixin classes.
|
392
|
-
* d) Add global delete and delete[] only for the ICU4C library itself
|
393
|
-
* and define them in a way that crashes or otherwise easily shows a problem.
|
394
|
-
*
|
395
|
-
* The following implements d).
|
396
|
-
* The operator implementations crash; this is intentional and used for library debugging.
|
397
|
-
*
|
398
|
-
* Note: This is currently only done on Windows because
|
399
|
-
* some Linux/Unix compilers have problems with defining global new/delete.
|
400
|
-
* On Windows, it is _MSC_VER>=1200 for MSVC 6.0 and higher.
|
401
|
-
*/
|
402
|
-
#if defined(__cplusplus) && U_DEBUG && U_OVERRIDE_CXX_ALLOCATION && (_MSC_VER>=1200) && !defined(U_STATIC_IMPLEMENTATION) && (defined(U_COMMON_IMPLEMENTATION) || defined(U_I18N_IMPLEMENTATION) || defined(U_IO_IMPLEMENTATION) || defined(U_LAYOUT_IMPLEMENTATION) || defined(U_LAYOUTEX_IMPLEMENTATION))
|
403
|
-
|
404
|
-
#ifndef U_HIDE_INTERNAL_API
|
405
|
-
/**
|
406
|
-
* Global operator new, defined only inside ICU4C, must not be used.
|
407
|
-
* Crashes intentionally.
|
408
|
-
* @internal
|
409
|
-
*/
|
410
|
-
inline void *
|
411
|
-
operator new(size_t /*size*/) {
|
412
|
-
char *q=NULL;
|
413
|
-
*q=5; /* break it */
|
414
|
-
return q;
|
415
|
-
}
|
416
|
-
|
417
|
-
#ifdef _Ret_bytecap_
|
418
|
-
/* This is only needed to suppress a Visual C++ 2008 warning for operator new[]. */
|
419
|
-
_Ret_bytecap_(_Size)
|
420
|
-
#endif
|
421
|
-
/**
|
422
|
-
* Global operator new[], defined only inside ICU4C, must not be used.
|
423
|
-
* Crashes intentionally.
|
424
|
-
* @internal
|
425
|
-
*/
|
426
|
-
inline void *
|
427
|
-
operator new[](size_t /*size*/) {
|
428
|
-
char *q=NULL;
|
429
|
-
*q=5; /* break it */
|
430
|
-
return q;
|
431
|
-
}
|
432
|
-
|
433
|
-
/**
|
434
|
-
* Global operator delete, defined only inside ICU4C, must not be used.
|
435
|
-
* Crashes intentionally.
|
436
|
-
* @internal
|
437
|
-
*/
|
438
|
-
inline void
|
439
|
-
operator delete(void * /*p*/) {
|
440
|
-
char *q=NULL;
|
441
|
-
*q=5; /* break it */
|
442
|
-
}
|
443
|
-
|
444
|
-
/**
|
445
|
-
* Global operator delete[], defined only inside ICU4C, must not be used.
|
446
|
-
* Crashes intentionally.
|
447
|
-
* @internal
|
448
|
-
*/
|
449
|
-
inline void
|
450
|
-
operator delete[](void * /*p*/) {
|
451
|
-
char *q=NULL;
|
452
|
-
*q=5; /* break it */
|
453
|
-
}
|
454
|
-
|
455
|
-
#endif /* U_HIDE_INTERNAL_API */
|
456
|
-
#endif
|
457
|
-
|
458
378
|
/*===========================================================================*/
|
459
379
|
/* UErrorCode */
|
460
380
|
/*===========================================================================*/
|
@@ -499,8 +419,13 @@ typedef enum UErrorCode {
|
|
499
419
|
|
500
420
|
U_PLUGIN_CHANGED_LEVEL_WARNING = -120, /**< A plugin caused a level change. May not be an error, but later plugins may not load. */
|
501
421
|
|
502
|
-
|
503
|
-
|
422
|
+
#ifndef U_HIDE_DEPRECATED_API
|
423
|
+
/**
|
424
|
+
* One more than the highest normal UErrorCode warning value.
|
425
|
+
* @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
|
426
|
+
*/
|
427
|
+
U_ERROR_WARNING_LIMIT,
|
428
|
+
#endif // U_HIDE_DEPRECATED_API
|
504
429
|
|
505
430
|
U_ZERO_ERROR = 0, /**< No error, no warning. */
|
506
431
|
|
@@ -536,9 +461,16 @@ typedef enum UErrorCode {
|
|
536
461
|
U_USELESS_COLLATOR_ERROR = 29, /**< Collator is options only and no base is specified */
|
537
462
|
U_NO_WRITE_PERMISSION = 30, /**< Attempt to modify read-only or constant data. */
|
538
463
|
|
539
|
-
|
464
|
+
#ifndef U_HIDE_DEPRECATED_API
|
465
|
+
/**
|
466
|
+
* One more than the highest standard error code.
|
467
|
+
* @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
|
468
|
+
*/
|
469
|
+
U_STANDARD_ERROR_LIMIT,
|
470
|
+
#endif // U_HIDE_DEPRECATED_API
|
471
|
+
|
540
472
|
/*
|
541
|
-
*
|
473
|
+
* Error codes in the range 0x10000 0x10100 are reserved for Transliterator.
|
542
474
|
*/
|
543
475
|
U_BAD_VARIABLE_DEFINITION=0x10000,/**< Missing '$' or duplicate variable name */
|
544
476
|
U_PARSE_ERROR_START = 0x10000, /**< Start of Transliterator errors */
|
@@ -576,10 +508,16 @@ typedef enum UErrorCode {
|
|
576
508
|
U_INTERNAL_TRANSLITERATOR_ERROR, /**< Internal transliterator system error */
|
577
509
|
U_INVALID_ID, /**< A "::id" rule specifies an unknown transliterator */
|
578
510
|
U_INVALID_FUNCTION, /**< A "&fn()" rule specifies an unknown transliterator */
|
579
|
-
|
511
|
+
#ifndef U_HIDE_DEPRECATED_API
|
512
|
+
/**
|
513
|
+
* One more than the highest normal Transliterator error code.
|
514
|
+
* @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
|
515
|
+
*/
|
516
|
+
U_PARSE_ERROR_LIMIT,
|
517
|
+
#endif // U_HIDE_DEPRECATED_API
|
580
518
|
|
581
519
|
/*
|
582
|
-
*
|
520
|
+
* Error codes in the range 0x10100 0x10200 are reserved for the formatting API.
|
583
521
|
*/
|
584
522
|
U_UNEXPECTED_TOKEN=0x10100, /**< Syntax error in format pattern */
|
585
523
|
U_FMT_PARSE_ERROR_START=0x10100, /**< Start of format library errors */
|
@@ -601,10 +539,16 @@ typedef enum UErrorCode {
|
|
601
539
|
U_DEFAULT_KEYWORD_MISSING, /**< Missing DEFAULT rule in plural rules */
|
602
540
|
U_DECIMAL_NUMBER_SYNTAX_ERROR, /**< Decimal number syntax error */
|
603
541
|
U_FORMAT_INEXACT_ERROR, /**< Cannot format a number exactly and rounding mode is ROUND_UNNECESSARY @stable ICU 4.8 */
|
604
|
-
|
542
|
+
#ifndef U_HIDE_DEPRECATED_API
|
543
|
+
/**
|
544
|
+
* One more than the highest normal formatting API error code.
|
545
|
+
* @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
|
546
|
+
*/
|
547
|
+
U_FMT_PARSE_ERROR_LIMIT,
|
548
|
+
#endif // U_HIDE_DEPRECATED_API
|
605
549
|
|
606
550
|
/*
|
607
|
-
*
|
551
|
+
* Error codes in the range 0x10200 0x102ff are reserved for BreakIterator.
|
608
552
|
*/
|
609
553
|
U_BRK_INTERNAL_ERROR=0x10200, /**< An internal error (bug) was detected. */
|
610
554
|
U_BRK_ERROR_START=0x10200, /**< Start of codes indicating Break Iterator failures */
|
@@ -621,10 +565,16 @@ typedef enum UErrorCode {
|
|
621
565
|
U_BRK_RULE_EMPTY_SET, /**< Rule contains an empty Unicode Set. */
|
622
566
|
U_BRK_UNRECOGNIZED_OPTION, /**< !!option in RBBI rules not recognized. */
|
623
567
|
U_BRK_MALFORMED_RULE_TAG, /**< The {nnn} tag on a rule is mal formed */
|
624
|
-
|
568
|
+
#ifndef U_HIDE_DEPRECATED_API
|
569
|
+
/**
|
570
|
+
* One more than the highest normal BreakIterator error code.
|
571
|
+
* @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
|
572
|
+
*/
|
573
|
+
U_BRK_ERROR_LIMIT,
|
574
|
+
#endif // U_HIDE_DEPRECATED_API
|
625
575
|
|
626
576
|
/*
|
627
|
-
*
|
577
|
+
* Error codes in the range 0x10300-0x103ff are reserved for regular expression related errors.
|
628
578
|
*/
|
629
579
|
U_REGEX_INTERNAL_ERROR=0x10300, /**< An internal error (bug) was detected. */
|
630
580
|
U_REGEX_ERROR_START=0x10300, /**< Start of codes indicating Regexp failures */
|
@@ -651,10 +601,16 @@ typedef enum UErrorCode {
|
|
651
601
|
U_REGEX_STOPPED_BY_CALLER, /**< Matching operation aborted by user callback fn. */
|
652
602
|
U_REGEX_PATTERN_TOO_BIG, /**< Pattern exceeds limits on size or complexity. @stable ICU 55 */
|
653
603
|
U_REGEX_INVALID_CAPTURE_GROUP_NAME, /**< Invalid capture group name. @stable ICU 55 */
|
654
|
-
|
604
|
+
#ifndef U_HIDE_DEPRECATED_API
|
605
|
+
/**
|
606
|
+
* One more than the highest normal regular expression error code.
|
607
|
+
* @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
|
608
|
+
*/
|
609
|
+
U_REGEX_ERROR_LIMIT=U_REGEX_STOPPED_BY_CALLER+3,
|
610
|
+
#endif // U_HIDE_DEPRECATED_API
|
655
611
|
|
656
612
|
/*
|
657
|
-
*
|
613
|
+
* Error codes in the range 0x10400-0x104ff are reserved for IDNA related error codes.
|
658
614
|
*/
|
659
615
|
U_IDNA_PROHIBITED_ERROR=0x10400,
|
660
616
|
U_IDNA_ERROR_START=0x10400,
|
@@ -666,7 +622,13 @@ typedef enum UErrorCode {
|
|
666
622
|
U_IDNA_LABEL_TOO_LONG_ERROR,
|
667
623
|
U_IDNA_ZERO_LENGTH_LABEL_ERROR,
|
668
624
|
U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR,
|
625
|
+
#ifndef U_HIDE_DEPRECATED_API
|
626
|
+
/**
|
627
|
+
* One more than the highest normal IDNA error code.
|
628
|
+
* @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
|
629
|
+
*/
|
669
630
|
U_IDNA_ERROR_LIMIT,
|
631
|
+
#endif // U_HIDE_DEPRECATED_API
|
670
632
|
/*
|
671
633
|
* Aliases for StringPrep
|
672
634
|
*/
|
@@ -675,14 +637,26 @@ typedef enum UErrorCode {
|
|
675
637
|
U_STRINGPREP_CHECK_BIDI_ERROR = U_IDNA_CHECK_BIDI_ERROR,
|
676
638
|
|
677
639
|
/*
|
678
|
-
*
|
640
|
+
* Error codes in the range 0x10500-0x105ff are reserved for Plugin related error codes.
|
679
641
|
*/
|
680
642
|
U_PLUGIN_ERROR_START=0x10500, /**< Start of codes indicating plugin failures */
|
681
643
|
U_PLUGIN_TOO_HIGH=0x10500, /**< The plugin's level is too high to be loaded right now. */
|
682
644
|
U_PLUGIN_DIDNT_SET_LEVEL, /**< The plugin didn't call uplug_setPlugLevel in response to a QUERY */
|
683
|
-
|
645
|
+
#ifndef U_HIDE_DEPRECATED_API
|
646
|
+
/**
|
647
|
+
* One more than the highest normal plug-in error code.
|
648
|
+
* @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
|
649
|
+
*/
|
650
|
+
U_PLUGIN_ERROR_LIMIT,
|
651
|
+
#endif // U_HIDE_DEPRECATED_API
|
684
652
|
|
685
|
-
|
653
|
+
#ifndef U_HIDE_DEPRECATED_API
|
654
|
+
/**
|
655
|
+
* One more than the highest normal error code.
|
656
|
+
* @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
|
657
|
+
*/
|
658
|
+
U_ERROR_LIMIT=U_PLUGIN_ERROR_LIMIT
|
659
|
+
#endif // U_HIDE_DEPRECATED_API
|
686
660
|
} UErrorCode;
|
687
661
|
|
688
662
|
/* Use the following to determine if an UErrorCode represents */
|
@@ -1,3 +1,5 @@
|
|
1
|
+
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
2
|
+
// License & terms of use: http://www.unicode.org/copyright.html
|
1
3
|
/*
|
2
4
|
*******************************************************************************
|
3
5
|
* Copyright (C) 2000-2016, International Business Machines
|
@@ -32,13 +34,12 @@
|
|
32
34
|
* by running the UNIX makefile target 'update-windows-makefiles' in icu/source.
|
33
35
|
*
|
34
36
|
*
|
35
|
-
* source/common/common.
|
37
|
+
* source/common/common.vcxproj - update 'Output file name' on the link tab so
|
36
38
|
* that it contains the new major/minor combination
|
37
|
-
* source/i18n/i18n.
|
38
|
-
* source/layout/layout.vcproj - same as for the common.vcproj
|
39
|
+
* source/i18n/i18n.vcxproj - same as for the common.vcxproj
|
39
40
|
* source/layoutex/layoutex.vcproj - same
|
40
|
-
* source/stubdata/stubdata.vcproj - same as for the common.
|
41
|
-
* source/io/io.vcproj - same as for the common.
|
41
|
+
* source/stubdata/stubdata.vcproj - same as for the common.vcxproj
|
42
|
+
* source/io/io.vcproj - same as for the common.vcxproj
|
42
43
|
* source/data/makedata.mak - change U_ICUDATA_NAME so that it contains
|
43
44
|
* the new major/minor combination and the Unicode version.
|
44
45
|
*/
|
@@ -51,19 +52,19 @@
|
|
51
52
|
* @stable ICU 2.4
|
52
53
|
*/
|
53
54
|
#define U_COPYRIGHT_STRING \
|
54
|
-
" Copyright (C) 2016
|
55
|
+
" Copyright (C) 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html "
|
55
56
|
|
56
57
|
/** The current ICU major version as an integer.
|
57
58
|
* This value will change in the subsequent releases of ICU
|
58
59
|
* @stable ICU 2.4
|
59
60
|
*/
|
60
|
-
#define U_ICU_VERSION_MAJOR_NUM
|
61
|
+
#define U_ICU_VERSION_MAJOR_NUM 58
|
61
62
|
|
62
63
|
/** The current ICU minor version as an integer.
|
63
64
|
* This value will change in the subsequent releases of ICU
|
64
65
|
* @stable ICU 2.6
|
65
66
|
*/
|
66
|
-
#define U_ICU_VERSION_MINOR_NUM
|
67
|
+
#define U_ICU_VERSION_MINOR_NUM 2
|
67
68
|
|
68
69
|
/** The current ICU patchlevel version as an integer.
|
69
70
|
* This value will change in the subsequent releases of ICU
|
@@ -83,7 +84,7 @@
|
|
83
84
|
* This value will change in the subsequent releases of ICU
|
84
85
|
* @stable ICU 2.6
|
85
86
|
*/
|
86
|
-
#define U_ICU_VERSION_SUFFIX
|
87
|
+
#define U_ICU_VERSION_SUFFIX _58
|
87
88
|
|
88
89
|
/**
|
89
90
|
* \def U_DEF2_ICU_ENTRY_POINT_RENAME
|
@@ -118,19 +119,19 @@
|
|
118
119
|
* This value will change in the subsequent releases of ICU
|
119
120
|
* @stable ICU 2.4
|
120
121
|
*/
|
121
|
-
#define U_ICU_VERSION "
|
122
|
+
#define U_ICU_VERSION "58.2"
|
122
123
|
|
123
124
|
/** The current ICU library major/minor version as a string without dots, for library name suffixes.
|
124
125
|
* This value will change in the subsequent releases of ICU
|
125
126
|
* @stable ICU 2.6
|
126
127
|
*/
|
127
|
-
#define U_ICU_VERSION_SHORT "
|
128
|
+
#define U_ICU_VERSION_SHORT "58"
|
128
129
|
|
129
130
|
#ifndef U_HIDE_INTERNAL_API
|
130
131
|
/** Data version in ICU4C.
|
131
132
|
* @internal ICU 4.4 Internal Use Only
|
132
133
|
**/
|
133
|
-
#define U_ICU_DATA_VERSION "
|
134
|
+
#define U_ICU_DATA_VERSION "58.2"
|
134
135
|
#endif /* U_HIDE_INTERNAL_API */
|
135
136
|
|
136
137
|
/*===========================================================================
|