pango 3.1.0-x64-mingw32 → 3.1.1-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +16 -11
- 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 +2 -2
- data/vendor/local/lib/icu/Makefile.inc +8 -9
- data/vendor/local/lib/icu/pkgdata.inc +2 -2
- data/vendor/local/lib/icudt.dll +0 -0
- data/vendor/local/lib/{icudt57.dll → 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/{icuio57.dll → 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/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-mingw64 +2 -0
- 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 +22 -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/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) 1997-2014, 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-2014, 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
|
* Copyright (C) 1997-2013, 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) 1997-2014, 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
|
@@ -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) 2012-2016, International Business Machines
|
@@ -157,7 +159,6 @@ public:
|
|
157
159
|
FieldPositionIterator* posIter,
|
158
160
|
UErrorCode& status) const;
|
159
161
|
|
160
|
-
/* Cannot use #ifndef U_HIDE_DRAFT_API for the following draft method since it is virtual. */
|
161
162
|
/**
|
162
163
|
* Format a long number using base-10 representation.
|
163
164
|
*
|
@@ -167,7 +168,7 @@ public:
|
|
167
168
|
* @param pos On input: an alignment field, if desired.
|
168
169
|
* On output: the offsets of the alignment field.
|
169
170
|
* @return Reference to 'appendTo' parameter.
|
170
|
-
* @
|
171
|
+
* @stable ICU 56
|
171
172
|
*/
|
172
173
|
virtual UnicodeString& format(int32_t number,
|
173
174
|
UnicodeString& appendTo,
|
@@ -274,7 +275,7 @@ public:
|
|
274
275
|
* @return Reference to 'appendTo' parameter.
|
275
276
|
* @internal
|
276
277
|
*/
|
277
|
-
virtual UnicodeString& format(
|
278
|
+
virtual UnicodeString& format(StringPiece number,
|
278
279
|
UnicodeString& appendTo,
|
279
280
|
FieldPositionIterator* posIter,
|
280
281
|
UErrorCode& status) const;
|
@@ -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) 2009-2015, 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
|
* Copyright (C) 1997-2016, 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) 1997-2016, 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) 1997-2016, International Business Machines
|
@@ -968,7 +970,7 @@ public:
|
|
968
970
|
* Can be NULL.
|
969
971
|
* @param status Output param filled with success/failure status.
|
970
972
|
* @return Reference to 'appendTo' parameter.
|
971
|
-
* @stable 4.4
|
973
|
+
* @stable ICU 4.4
|
972
974
|
*/
|
973
975
|
virtual UnicodeString& format(double number,
|
974
976
|
UnicodeString& appendTo,
|
@@ -1017,7 +1019,7 @@ public:
|
|
1017
1019
|
* Can be NULL.
|
1018
1020
|
* @param status Output param filled with success/failure status.
|
1019
1021
|
* @return Reference to 'appendTo' parameter.
|
1020
|
-
* @stable 4.4
|
1022
|
+
* @stable ICU 4.4
|
1021
1023
|
*/
|
1022
1024
|
virtual UnicodeString& format(int32_t number,
|
1023
1025
|
UnicodeString& appendTo,
|
@@ -1066,7 +1068,7 @@ public:
|
|
1066
1068
|
* Can be NULL.
|
1067
1069
|
* @param status Output param filled with success/failure status.
|
1068
1070
|
* @return Reference to 'appendTo' parameter.
|
1069
|
-
* @stable 4.4
|
1071
|
+
* @stable ICU 4.4
|
1070
1072
|
*/
|
1071
1073
|
virtual UnicodeString& format(int64_t number,
|
1072
1074
|
UnicodeString& appendTo,
|
@@ -1087,9 +1089,9 @@ public:
|
|
1087
1089
|
* Can be NULL.
|
1088
1090
|
* @param status Output param filled with success/failure status.
|
1089
1091
|
* @return Reference to 'appendTo' parameter.
|
1090
|
-
* @stable 4.4
|
1092
|
+
* @stable ICU 4.4
|
1091
1093
|
*/
|
1092
|
-
virtual UnicodeString& format(
|
1094
|
+
virtual UnicodeString& format(StringPiece number,
|
1093
1095
|
UnicodeString& appendTo,
|
1094
1096
|
FieldPositionIterator* posIter,
|
1095
1097
|
UErrorCode& status) const;
|
@@ -2101,6 +2103,8 @@ private:
|
|
2101
2103
|
DecimalFormatSymbols* symbolsToAdopt = 0
|
2102
2104
|
);
|
2103
2105
|
|
2106
|
+
void handleCurrencySignInPattern(UErrorCode& status);
|
2107
|
+
|
2104
2108
|
void parse(const UnicodeString& text,
|
2105
2109
|
Formattable& result,
|
2106
2110
|
ParsePosition& pos,
|
@@ -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
|
* COPYRIGHT:
|
3
5
|
* Copyright (c) 1997-2012, International Business Machines Corporation and
|
@@ -147,7 +149,7 @@
|
|
147
149
|
* </tr>
|
148
150
|
* <tr>
|
149
151
|
* <td>Bidirectional Algorithm</td>
|
150
|
-
* <td>ubidi.h</td>
|
152
|
+
* <td>ubidi.h, ubiditransform.h</td>
|
151
153
|
* <td>C API</td>
|
152
154
|
* </tr>
|
153
155
|
* <tr>
|
@@ -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-2016, International Business Machines
|
@@ -270,9 +272,15 @@ public:
|
|
270
272
|
* @stable ICU 3.6
|
271
273
|
*/
|
272
274
|
enum DtContextType {
|
273
|
-
|
274
|
-
|
275
|
-
|
275
|
+
FORMAT,
|
276
|
+
STANDALONE,
|
277
|
+
#ifndef U_HIDE_DEPRECATED_API
|
278
|
+
/**
|
279
|
+
* One more than the highest normal DtContextType value.
|
280
|
+
* @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
|
281
|
+
*/
|
282
|
+
DT_CONTEXT_COUNT
|
283
|
+
#endif // U_HIDE_DEPRECATED_API
|
276
284
|
};
|
277
285
|
|
278
286
|
/**
|
@@ -280,17 +288,21 @@ public:
|
|
280
288
|
* @stable ICU 3.6
|
281
289
|
*/
|
282
290
|
enum DtWidthType {
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
291
|
+
ABBREVIATED,
|
292
|
+
WIDE,
|
293
|
+
NARROW,
|
294
|
+
/**
|
295
|
+
* Short width is currently only supported for weekday names.
|
296
|
+
* @stable ICU 51
|
297
|
+
*/
|
298
|
+
SHORT,
|
299
|
+
#ifndef U_HIDE_DEPRECATED_API
|
300
|
+
/**
|
301
|
+
* One more than the highest normal DtWidthType value.
|
302
|
+
* @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
|
303
|
+
*/
|
304
|
+
DT_WIDTH_COUNT = 4
|
305
|
+
#endif // U_HIDE_DEPRECATED_API
|
294
306
|
};
|
295
307
|
|
296
308
|
/**
|
@@ -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) 2008-2009, 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
|
* Copyright (C) 2008-2016, International Business Machines Corporation and
|
3
5
|
* others. All Rights Reserved.
|
@@ -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) 2008-2016, International Business Machines Corporation and
|
@@ -150,7 +152,8 @@ U_NAMESPACE_BEGIN
|
|
150
152
|
|
151
153
|
class U_I18N_API DateIntervalInfo U_FINAL : public UObject {
|
152
154
|
public:
|
153
|
-
#ifndef U_HIDE_INTERNAL_API
|
155
|
+
// Do not enclose the protected default constructor with #ifndef U_HIDE_INTERNAL_API
|
156
|
+
// or else the compiler will create a public default constructor.
|
154
157
|
/**
|
155
158
|
* Default constructor.
|
156
159
|
* It does not initialize any interval patterns except
|
@@ -165,7 +168,6 @@ public:
|
|
165
168
|
* @internal ICU 4.0
|
166
169
|
*/
|
167
170
|
DateIntervalInfo(UErrorCode& status);
|
168
|
-
#endif /* U_HIDE_INTERNAL_API */
|
169
171
|
|
170
172
|
|
171
173
|
/**
|
@@ -339,7 +341,10 @@ private:
|
|
339
341
|
*/
|
340
342
|
friend class DateIntervalFormat;
|
341
343
|
|
342
|
-
|
344
|
+
/**
|
345
|
+
* Internal struct used to load resource bundle data.
|
346
|
+
*/
|
347
|
+
struct DateIntervalSink;
|
343
348
|
|
344
349
|
/**
|
345
350
|
* Following is for saving the interval patterns.
|
@@ -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) 2007-2016, International Business Machines Corporation and
|
@@ -116,7 +118,6 @@ public:
|
|
116
118
|
*/
|
117
119
|
UBool operator!=(const DateTimePatternGenerator& other) const;
|
118
120
|
|
119
|
-
#ifndef U_HIDE_DRAFT_API
|
120
121
|
/**
|
121
122
|
* Utility to return a unique skeleton from a given pattern. For example,
|
122
123
|
* both "MMM-dd" and "dd/MMM" produce the skeleton "MMMdd".
|
@@ -125,10 +126,9 @@ public:
|
|
125
126
|
* @param status Output param set to success/failure code on exit,
|
126
127
|
* which must not indicate a failure before the function call.
|
127
128
|
* @return skeleton such as "MMMdd"
|
128
|
-
* @
|
129
|
+
* @stable ICU 56
|
129
130
|
*/
|
130
131
|
static UnicodeString staticGetSkeleton(const UnicodeString& pattern, UErrorCode& status);
|
131
|
-
#endif /* U_HIDE_DRAFT_API */
|
132
132
|
|
133
133
|
/**
|
134
134
|
* Utility to return a unique skeleton from a given pattern. For example,
|
@@ -149,7 +149,6 @@ public:
|
|
149
149
|
return staticGetSkeleton(pattern, status);
|
150
150
|
}*/
|
151
151
|
|
152
|
-
#ifndef U_HIDE_DRAFT_API
|
153
152
|
/**
|
154
153
|
* Utility to return a unique base skeleton from a given pattern. This is
|
155
154
|
* the same as the skeleton, except that differences in length are minimized
|
@@ -161,10 +160,9 @@ public:
|
|
161
160
|
* @param status Output param set to success/failure code on exit,
|
162
161
|
* which must not indicate a failure before the function call.
|
163
162
|
* @return base skeleton, such as "MMMd"
|
164
|
-
* @
|
163
|
+
* @stable ICU 56
|
165
164
|
*/
|
166
165
|
static UnicodeString staticGetBaseSkeleton(const UnicodeString& pattern, UErrorCode& status);
|
167
|
-
#endif /* U_HIDE_DRAFT_API */
|
168
166
|
|
169
167
|
/**
|
170
168
|
* Utility to return a unique base skeleton from a given pattern. This is
|
@@ -518,7 +516,6 @@ private:
|
|
518
516
|
UnicodeString decimal;
|
519
517
|
DateTimeMatcher *skipMatcher;
|
520
518
|
Hashtable *fAvailableFormatKeyHash;
|
521
|
-
UnicodeString hackPattern;
|
522
519
|
UnicodeString emptyString;
|
523
520
|
UChar fDefaultHourFormatChar;
|
524
521
|
|
@@ -534,9 +531,11 @@ private:
|
|
534
531
|
};
|
535
532
|
|
536
533
|
void initData(const Locale &locale, UErrorCode &status);
|
537
|
-
void addCanonicalItems();
|
534
|
+
void addCanonicalItems(UErrorCode &status);
|
538
535
|
void addICUPatterns(const Locale& locale, UErrorCode& status);
|
539
536
|
void hackTimes(const UnicodeString& hackPattern, UErrorCode& status);
|
537
|
+
void getCalendarTypeToUse(const Locale& locale, CharString& destination, UErrorCode& err);
|
538
|
+
void consumeShortTimePattern(const UnicodeString& shortTimePattern, UErrorCode& status);
|
540
539
|
void addCLDRData(const Locale& locale, UErrorCode& status);
|
541
540
|
UDateTimePatternConflict addPatternWithSkeleton(const UnicodeString& pattern, const UnicodeString * skeletonToUse, UBool override, UnicodeString& conflictingPattern, UErrorCode& status);
|
542
541
|
void initHashtable(UErrorCode& status);
|
@@ -544,6 +543,7 @@ private:
|
|
544
543
|
void setDecimalSymbols(const Locale& locale, UErrorCode& status);
|
545
544
|
UDateTimePatternField getAppendFormatNumber(const char* field) const;
|
546
545
|
UDateTimePatternField getAppendNameNumber(const char* field) const;
|
546
|
+
UnicodeString& getMutableAppendItemName(UDateTimePatternField field);
|
547
547
|
void getAppendName(UDateTimePatternField field, UnicodeString& value);
|
548
548
|
int32_t getCanonicalIndex(const UnicodeString& field);
|
549
549
|
const UnicodeString* getBestRaw(DateTimeMatcher& source, int32_t includeMask, DistanceInfo* missingFields, const PtnSkeleton** specifiedSkeletonPtr = 0);
|
@@ -554,8 +554,12 @@ private:
|
|
554
554
|
UBool isAvailableFormatSet(const UnicodeString &key) const;
|
555
555
|
void copyHashtable(Hashtable *other, UErrorCode &status);
|
556
556
|
UBool isCanonicalItem(const UnicodeString& item) const;
|
557
|
-
static void loadAllowedHourFormatsData(UErrorCode &status);
|
557
|
+
static void U_CALLCONV loadAllowedHourFormatsData(UErrorCode &status);
|
558
558
|
void getAllowedHourFormats(const Locale &locale, UErrorCode &status);
|
559
|
+
|
560
|
+
struct AppendItemFormatsSink;
|
561
|
+
struct AppendItemNamesSink;
|
562
|
+
struct AvailableFormatsSink;
|
559
563
|
} ;// end class DateTimePatternGenerator
|
560
564
|
|
561
565
|
U_NAMESPACE_END
|
@@ -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) 2007-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
|
* Copyright (C) 1997-2006, International Business Machines
|
@@ -56,7 +58,7 @@ U_NAMESPACE_BEGIN
|
|
56
58
|
* to perform partial formatting or to get information about the
|
57
59
|
* formatted output (such as the position of a field).
|
58
60
|
*
|
59
|
-
* The FieldPosition class is not
|
61
|
+
* The FieldPosition class is not intended for public subclassing.
|
60
62
|
*
|
61
63
|
* <p>
|
62
64
|
* Below is an example of using <code>FieldPosition</code> to aid
|
@@ -107,7 +109,8 @@ class U_I18N_API FieldPosition : public UObject {
|
|
107
109
|
public:
|
108
110
|
/**
|
109
111
|
* DONT_CARE may be specified as the field to indicate that the
|
110
|
-
* caller doesn't need to specify a field.
|
112
|
+
* caller doesn't need to specify a field.
|
113
|
+
* @stable ICU 2.0
|
111
114
|
*/
|
112
115
|
enum { DONT_CARE = -1 };
|
113
116
|
|
@@ -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-2015, International Business Machines
|
@@ -13,8 +15,6 @@
|
|
13
15
|
|
14
16
|
#if !UCONFIG_NO_BREAK_ITERATION && !UCONFIG_NO_FILTERED_BREAK_ITERATION
|
15
17
|
|
16
|
-
#ifndef U_HIDE_DRAFT_API
|
17
|
-
|
18
18
|
U_NAMESPACE_BEGIN
|
19
19
|
|
20
20
|
/**
|
@@ -31,13 +31,13 @@ U_NAMESPACE_BEGIN
|
|
31
31
|
* but with "Mr." as an exception, a filtered break iterator
|
32
32
|
* would consider the string "Mr. Smith" to be a single segment.
|
33
33
|
*
|
34
|
-
* @
|
34
|
+
* @stable ICU 56
|
35
35
|
*/
|
36
36
|
class U_COMMON_API FilteredBreakIteratorBuilder : public UObject {
|
37
37
|
public:
|
38
38
|
/**
|
39
39
|
* destructor.
|
40
|
-
* @
|
40
|
+
* @stable ICU 56
|
41
41
|
*/
|
42
42
|
virtual ~FilteredBreakIteratorBuilder();
|
43
43
|
|
@@ -51,7 +51,7 @@ class U_COMMON_API FilteredBreakIteratorBuilder : public UObject {
|
|
51
51
|
* @param where the locale.
|
52
52
|
* @param status The error code.
|
53
53
|
* @return the new builder
|
54
|
-
* @
|
54
|
+
* @stable ICU 56
|
55
55
|
*/
|
56
56
|
static FilteredBreakIteratorBuilder *createInstance(const Locale& where, UErrorCode& status);
|
57
57
|
|
@@ -60,7 +60,7 @@ class U_COMMON_API FilteredBreakIteratorBuilder : public UObject {
|
|
60
60
|
* In this state, it will not suppress any segment boundaries.
|
61
61
|
* @param status The error code.
|
62
62
|
* @return the new builder
|
63
|
-
* @
|
63
|
+
* @stable ICU 56
|
64
64
|
*/
|
65
65
|
static FilteredBreakIteratorBuilder *createInstance(UErrorCode &status);
|
66
66
|
|
@@ -72,7 +72,7 @@ class U_COMMON_API FilteredBreakIteratorBuilder : public UObject {
|
|
72
72
|
* @param status error code
|
73
73
|
* @return returns TRUE if the string was not present and now added,
|
74
74
|
* FALSE if the call was a no-op because the string was already being suppressed.
|
75
|
-
* @
|
75
|
+
* @stable ICU 56
|
76
76
|
*/
|
77
77
|
virtual UBool suppressBreakAfter(const UnicodeString& string, UErrorCode& status) = 0;
|
78
78
|
|
@@ -85,7 +85,7 @@ class U_COMMON_API FilteredBreakIteratorBuilder : public UObject {
|
|
85
85
|
* @param status error code
|
86
86
|
* @return returns TRUE if the string was present and now removed,
|
87
87
|
* FALSE if the call was a no-op because the string was not being suppressed.
|
88
|
-
* @
|
88
|
+
* @stable ICU 56
|
89
89
|
*/
|
90
90
|
virtual UBool unsuppressBreakAfter(const UnicodeString& string, UErrorCode& status) = 0;
|
91
91
|
|
@@ -99,14 +99,14 @@ class U_COMMON_API FilteredBreakIteratorBuilder : public UObject {
|
|
99
99
|
* @param adoptBreakIterator the break iterator to adopt
|
100
100
|
* @param status error code
|
101
101
|
* @return the new BreakIterator, owned by the caller.
|
102
|
-
* @
|
102
|
+
* @stable ICU 56
|
103
103
|
*/
|
104
104
|
virtual BreakIterator *build(BreakIterator* adoptBreakIterator, UErrorCode& status) = 0;
|
105
105
|
|
106
106
|
protected:
|
107
107
|
/**
|
108
108
|
* For subclass use
|
109
|
-
* @
|
109
|
+
* @stable ICU 56
|
110
110
|
*/
|
111
111
|
FilteredBreakIteratorBuilder();
|
112
112
|
};
|
@@ -114,8 +114,6 @@ class U_COMMON_API FilteredBreakIteratorBuilder : public UObject {
|
|
114
114
|
|
115
115
|
U_NAMESPACE_END
|
116
116
|
|
117
|
-
#endif /* U_HIDE_DRAFT_API */
|
118
|
-
|
119
117
|
#endif // #if !UCONFIG_NO_BREAK_ITERATION && !UCONFIG_NO_FILTERED_BREAK_ITERATION
|
120
118
|
|
121
119
|
#endif // #ifndef FILTEREDBRK_H
|