pango 3.2.5-x64-mingw32 → 3.2.6-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/COPYING.LIB +502 -0
- data/README.md +25 -0
- data/Rakefile +8 -8
- data/ext/pango/extconf.rb +4 -1
- data/ext/pango/pango.def +1 -0
- data/ext/pango/rb-pango-attr-list.c +3 -3
- data/ext/pango/rb-pango-attribute.c +67 -57
- data/ext/pango/rb-pango-conversions.h +3 -3
- data/ext/pango/rb-pango-private.h +0 -1
- data/ext/pango/rb-pango.c +0 -1
- data/ext/pango/rb-pango.h +2 -1
- 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/lib/2.5/pango.so +0 -0
- data/lib/pango/loader.rb +13 -1
- data/lib/pango/rectangle.rb +7 -1
- data/pango.gemspec +43 -0
- data/vendor/local/bin/derb.exe +0 -0
- data/vendor/local/bin/escapesrc.exe +0 -0
- data/vendor/local/bin/fribidi.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-subset.exe +0 -0
- data/vendor/local/bin/hb-view.exe +0 -0
- data/vendor/local/bin/icu-config +13 -8
- data/vendor/local/bin/icuinfo.exe +0 -0
- data/vendor/local/bin/icupkg.exe +0 -0
- data/vendor/local/bin/libfribidi-0.dll +0 -0
- data/vendor/local/bin/libgraphene-1.0-0.dll +0 -0
- data/vendor/local/bin/libharfbuzz-0.dll +0 -0
- data/vendor/local/bin/libharfbuzz-subset-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/fribidi/fribidi-config.h +2 -2
- data/vendor/local/include/harfbuzz/hb-blob.h +2 -0
- data/vendor/local/include/harfbuzz/hb-common.h +24 -3
- data/vendor/local/include/harfbuzz/hb-face.h +4 -0
- data/vendor/local/include/harfbuzz/hb-map.h +104 -0
- data/vendor/local/include/harfbuzz/hb-ot-layout.h +1 -1
- data/vendor/local/include/harfbuzz/hb-set.h +0 -2
- data/vendor/local/include/harfbuzz/hb-subset-plan.hh +46 -25
- data/vendor/local/include/harfbuzz/hb-subset.h +4 -1
- data/vendor/local/include/harfbuzz/hb-version.h +3 -3
- data/vendor/local/include/harfbuzz/hb.h +1 -0
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/include/unicode/alphaindex.h +2 -1
- data/vendor/local/include/unicode/appendable.h +25 -25
- data/vendor/local/include/unicode/basictz.h +1 -1
- data/vendor/local/include/unicode/brkiter.h +19 -24
- data/vendor/local/include/unicode/bytestream.h +26 -13
- data/vendor/local/include/unicode/bytestrie.h +2 -2
- data/vendor/local/include/unicode/bytestriebuilder.h +4 -5
- data/vendor/local/include/unicode/calendar.h +11 -11
- data/vendor/local/include/unicode/caniter.h +3 -3
- data/vendor/local/include/unicode/casemap.h +494 -0
- data/vendor/local/include/unicode/char16ptr.h +302 -0
- data/vendor/local/include/unicode/chariter.h +22 -18
- data/vendor/local/include/unicode/choicfmt.h +1 -1
- data/vendor/local/include/unicode/coleitr.h +2 -1
- data/vendor/local/include/unicode/coll.h +17 -17
- data/vendor/local/include/unicode/compactdecimalformat.h +10 -2
- data/vendor/local/include/unicode/curramt.h +5 -5
- data/vendor/local/include/unicode/currpinf.h +1 -1
- data/vendor/local/include/unicode/currunit.h +24 -6
- data/vendor/local/include/unicode/datefmt.h +3 -2
- data/vendor/local/include/unicode/dbbi.h +1 -1
- data/vendor/local/include/unicode/dcfmtsym.h +89 -13
- data/vendor/local/include/unicode/decimfmt.h +38 -39
- data/vendor/local/include/unicode/docmain.h +7 -2
- data/vendor/local/include/unicode/dtfmtsym.h +7 -6
- data/vendor/local/include/unicode/dtintrv.h +2 -2
- data/vendor/local/include/unicode/dtitvfmt.h +2 -2
- data/vendor/local/include/unicode/dtitvinf.h +1 -3
- data/vendor/local/include/unicode/dtptngen.h +48 -24
- data/vendor/local/include/unicode/dtrule.h +1 -1
- data/vendor/local/include/unicode/edits.h +424 -0
- data/vendor/local/include/unicode/enumset.h +1 -1
- data/vendor/local/include/unicode/errorcode.h +2 -2
- data/vendor/local/include/unicode/fieldpos.h +1 -1
- data/vendor/local/include/unicode/filteredbrk.h +35 -5
- data/vendor/local/include/unicode/fmtable.h +1 -1
- data/vendor/local/include/unicode/format.h +1 -1
- data/vendor/local/include/unicode/fpositer.h +11 -3
- data/vendor/local/include/unicode/gender.h +1 -1
- data/vendor/local/include/unicode/gregocal.h +1 -1
- data/vendor/local/include/unicode/icudataver.h +1 -1
- data/vendor/local/include/unicode/icuplug.h +1 -1
- data/vendor/local/include/unicode/idna.h +2 -2
- data/vendor/local/include/unicode/listformatter.h +4 -2
- data/vendor/local/include/unicode/localpointer.h +6 -43
- data/vendor/local/include/unicode/locdspnm.h +2 -1
- data/vendor/local/include/unicode/locid.h +7 -6
- data/vendor/local/include/unicode/measfmt.h +18 -7
- data/vendor/local/include/unicode/measunit.h +31 -60
- data/vendor/local/include/unicode/measure.h +1 -1
- data/vendor/local/include/unicode/messagepattern.h +2 -2
- data/vendor/local/include/unicode/msgfmt.h +2 -2
- data/vendor/local/include/unicode/normalizer2.h +130 -16
- data/vendor/local/include/unicode/normlzr.h +5 -5
- data/vendor/local/include/unicode/nounit.h +111 -0
- data/vendor/local/include/unicode/numberformatter.h +2194 -0
- data/vendor/local/include/unicode/numfmt.h +81 -7
- data/vendor/local/include/unicode/numsys.h +2 -2
- data/vendor/local/include/unicode/parseerr.h +3 -3
- data/vendor/local/include/unicode/parsepos.h +1 -1
- data/vendor/local/include/unicode/platform.h +66 -63
- data/vendor/local/include/unicode/plurfmt.h +1 -1
- data/vendor/local/include/unicode/plurrule.h +23 -4
- data/vendor/local/include/unicode/ptypes.h +1 -1
- data/vendor/local/include/unicode/putil.h +4 -4
- data/vendor/local/include/unicode/rbbi.h +105 -134
- data/vendor/local/include/unicode/rbnf.h +65 -3
- data/vendor/local/include/unicode/rbtz.h +1 -1
- data/vendor/local/include/unicode/regex.h +17 -17
- data/vendor/local/include/unicode/region.h +1 -1
- data/vendor/local/include/unicode/reldatefmt.h +4 -5
- data/vendor/local/include/unicode/rep.h +4 -4
- data/vendor/local/include/unicode/resbund.h +3 -3
- data/vendor/local/include/unicode/schriter.h +3 -3
- data/vendor/local/include/unicode/scientificnumberformatter.h +1 -1
- data/vendor/local/include/unicode/search.h +1 -1
- data/vendor/local/include/unicode/selfmt.h +1 -1
- data/vendor/local/include/unicode/simpleformatter.h +31 -25
- data/vendor/local/include/unicode/simpletz.h +5 -3
- data/vendor/local/include/unicode/smpdtfmt.h +17 -7
- data/vendor/local/include/unicode/sortkey.h +1 -1
- data/vendor/local/include/unicode/std_string.h +6 -8
- data/vendor/local/include/unicode/strenum.h +5 -5
- data/vendor/local/include/unicode/stringoptions.h +198 -0
- data/vendor/local/include/unicode/stringpiece.h +1 -3
- data/vendor/local/include/unicode/stringtriebuilder.h +19 -19
- data/vendor/local/include/unicode/stsearch.h +1 -1
- data/vendor/local/include/unicode/symtable.h +1 -1
- data/vendor/local/include/unicode/tblcoll.h +13 -13
- data/vendor/local/include/unicode/timezone.h +5 -5
- data/vendor/local/include/unicode/tmunit.h +1 -1
- data/vendor/local/include/unicode/tmutamt.h +1 -1
- data/vendor/local/include/unicode/tmutfmt.h +1 -1
- data/vendor/local/include/unicode/translit.h +2 -2
- data/vendor/local/include/unicode/tzfmt.h +4 -4
- data/vendor/local/include/unicode/tznames.h +3 -5
- data/vendor/local/include/unicode/tzrule.h +1 -1
- data/vendor/local/include/unicode/tztrans.h +1 -1
- data/vendor/local/include/unicode/ubidi.h +11 -8
- data/vendor/local/include/unicode/ubiditransform.h +16 -19
- data/vendor/local/include/unicode/ubrk.h +61 -4
- data/vendor/local/include/unicode/ucal.h +3 -3
- data/vendor/local/include/unicode/ucasemap.h +7 -47
- data/vendor/local/include/unicode/ucat.h +1 -1
- data/vendor/local/include/unicode/uchar.h +62 -37
- data/vendor/local/include/unicode/ucharstrie.h +48 -48
- data/vendor/local/include/unicode/ucharstriebuilder.h +12 -12
- data/vendor/local/include/unicode/uchriter.h +33 -29
- data/vendor/local/include/unicode/uclean.h +15 -13
- data/vendor/local/include/unicode/ucnv.h +11 -11
- data/vendor/local/include/unicode/ucnv_cb.h +1 -1
- data/vendor/local/include/unicode/ucnv_err.h +7 -7
- data/vendor/local/include/unicode/ucnvsel.h +1 -1
- data/vendor/local/include/unicode/ucol.h +6 -6
- data/vendor/local/include/unicode/ucoleitr.h +3 -3
- data/vendor/local/include/unicode/uconfig.h +8 -5
- data/vendor/local/include/unicode/ucsdet.h +7 -3
- data/vendor/local/include/unicode/ucurr.h +14 -1
- data/vendor/local/include/unicode/udat.h +39 -41
- data/vendor/local/include/unicode/udata.h +2 -2
- data/vendor/local/include/unicode/udateintervalformat.h +1 -1
- data/vendor/local/include/unicode/udatpg.h +56 -5
- data/vendor/local/include/unicode/udisplaycontext.h +4 -8
- data/vendor/local/include/unicode/uenum.h +5 -3
- data/vendor/local/include/unicode/ufieldpositer.h +1 -1
- data/vendor/local/include/unicode/uformattable.h +2 -2
- data/vendor/local/include/unicode/ugender.h +1 -1
- data/vendor/local/include/unicode/uidna.h +2 -2
- data/vendor/local/include/unicode/uiter.h +2 -2
- data/vendor/local/include/unicode/uldnames.h +1 -1
- data/vendor/local/include/unicode/ulistformatter.h +4 -4
- data/vendor/local/include/unicode/uloc.h +29 -16
- data/vendor/local/include/unicode/ulocdata.h +5 -5
- data/vendor/local/include/unicode/umachine.h +81 -38
- data/vendor/local/include/unicode/umisc.h +2 -2
- data/vendor/local/include/unicode/umsg.h +2 -2
- data/vendor/local/include/unicode/unifilt.h +2 -2
- data/vendor/local/include/unicode/unifunct.h +1 -1
- data/vendor/local/include/unicode/unimatch.h +1 -1
- data/vendor/local/include/unicode/unirepl.h +1 -1
- data/vendor/local/include/unicode/uniset.h +5 -4
- data/vendor/local/include/unicode/unistr.h +322 -208
- data/vendor/local/include/unicode/unorm.h +9 -9
- data/vendor/local/include/unicode/unorm2.h +3 -26
- data/vendor/local/include/unicode/unum.h +71 -11
- data/vendor/local/include/unicode/unumsys.h +1 -1
- data/vendor/local/include/unicode/uobject.h +2 -2
- data/vendor/local/include/unicode/upluralrules.h +51 -6
- data/vendor/local/include/unicode/uregex.h +2 -2
- data/vendor/local/include/unicode/uregion.h +2 -2
- data/vendor/local/include/unicode/ureldatefmt.h +33 -39
- data/vendor/local/include/unicode/urename.h +18 -17
- data/vendor/local/include/unicode/urep.h +1 -1
- data/vendor/local/include/unicode/ures.h +9 -9
- data/vendor/local/include/unicode/uscript.h +10 -3
- data/vendor/local/include/unicode/usearch.h +3 -3
- data/vendor/local/include/unicode/uset.h +2 -2
- data/vendor/local/include/unicode/usetiter.h +1 -1
- data/vendor/local/include/unicode/ushape.h +3 -3
- data/vendor/local/include/unicode/uspoof.h +24 -29
- data/vendor/local/include/unicode/usprep.h +7 -7
- data/vendor/local/include/unicode/ustdio.h +1 -1
- data/vendor/local/include/unicode/ustream.h +2 -9
- data/vendor/local/include/unicode/ustring.h +3 -13
- data/vendor/local/include/unicode/ustringtrie.h +2 -2
- data/vendor/local/include/unicode/utext.h +16 -16
- data/vendor/local/include/unicode/utf.h +19 -19
- data/vendor/local/include/unicode/utf16.h +128 -8
- data/vendor/local/include/unicode/utf32.h +2 -2
- data/vendor/local/include/unicode/utf8.h +177 -121
- data/vendor/local/include/unicode/utf_old.h +40 -7
- data/vendor/local/include/unicode/utmscale.h +8 -1
- data/vendor/local/include/unicode/utrace.h +4 -4
- data/vendor/local/include/unicode/utrans.h +3 -3
- data/vendor/local/include/unicode/utypes.h +13 -10
- data/vendor/local/include/unicode/uvernum.h +18 -11
- data/vendor/local/include/unicode/uversion.h +10 -4
- data/vendor/local/include/unicode/vtzone.h +1 -1
- data/vendor/local/lib/cmake/harfbuzz/harfbuzz-config.cmake +1 -1
- data/vendor/local/lib/icu/{58.2 → 61.1}/Makefile.inc +7 -7
- data/vendor/local/lib/icu/{58.2 → 61.1}/pkgdata.inc +2 -2
- data/vendor/local/lib/icu/Makefile.inc +7 -7
- data/vendor/local/lib/icu/pkgdata.inc +2 -2
- data/vendor/local/lib/icudt.dll +0 -0
- data/vendor/local/lib/{icudt58.dll → icudt61.dll} +0 -0
- data/vendor/local/lib/icuin.dll +0 -0
- data/vendor/local/lib/icuin61.dll +0 -0
- data/vendor/local/lib/icuio.dll +0 -0
- data/vendor/local/lib/{icuio58.dll → icuio61.dll} +0 -0
- data/vendor/local/lib/icutest.dll +0 -0
- data/vendor/local/lib/{icutest58.dll → icutest61.dll} +0 -0
- data/vendor/local/lib/icutu.dll +0 -0
- data/vendor/local/lib/icutu61.dll +0 -0
- data/vendor/local/lib/icuuc.dll +0 -0
- data/vendor/local/lib/icuuc61.dll +0 -0
- data/vendor/local/lib/libfribidi.dll.a +0 -0
- data/vendor/local/lib/libgraphene-1.0.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz-icu.a +0 -0
- data/vendor/local/lib/libharfbuzz-icu.la +3 -3
- data/vendor/local/lib/libharfbuzz-subset.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz-subset.la +3 -3
- 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/libpango-1.0.la +2 -2
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +2 -2
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +2 -2
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +2 -2
- data/vendor/local/lib/pkgconfig/fribidi.pc +1 -1
- data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +1 -1
- data/vendor/local/lib/pkgconfig/harfbuzz-subset.pc +1 -1
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +1 -1
- data/vendor/local/lib/pkgconfig/icu-i18n.pc +7 -7
- data/vendor/local/lib/pkgconfig/icu-io.pc +7 -7
- data/vendor/local/lib/pkgconfig/icu-uc.pc +7 -7
- data/vendor/local/lib/pkgconfig/pango.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangoft2.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/libexec/installed-tests/graphene-1.0/box.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/euler.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/frustum.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/matrix.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/plane.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/point.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/point3d.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/quad.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/quaternion.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/ray.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/rect.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/simd.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/size.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/sphere.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/triangle.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/vec2.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/vec3.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/vec4.exe +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Buffers.html +5 -3
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +5 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +1 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +2 -2
- data/vendor/local/share/icu/{58.2 → 61.1}/LICENSE +32 -3
- data/vendor/local/share/icu/{58.2 → 61.1}/config/mh-mingw64 +4 -0
- data/vendor/local/share/icu/{58.2 → 61.1}/install-sh +0 -0
- data/vendor/local/share/icu/{58.2 → 61.1}/mkinstalldirs +0 -0
- data/vendor/local/share/man/man1/derb.1 +2 -2
- data/vendor/local/share/man/man1/genbrk.1 +2 -2
- data/vendor/local/share/man/man1/gencfu.1 +1 -1
- data/vendor/local/share/man/man1/gencnval.1 +3 -3
- data/vendor/local/share/man/man1/gendict.1 +2 -2
- data/vendor/local/share/man/man1/genrb.1 +3 -3
- data/vendor/local/share/man/man1/icu-config.1 +2 -2
- data/vendor/local/share/man/man1/makeconv.1 +5 -5
- data/vendor/local/share/man/man1/pkgdata.1 +2 -2
- data/vendor/local/share/man/man1/uconv.1 +9 -9
- data/vendor/local/share/man/man3/fribidi_charset_to_unicode.3 +98 -0
- data/vendor/local/share/man/man3/fribidi_debug_status.3 +44 -0
- data/vendor/local/share/man/man3/fribidi_get_bidi_type.3 +58 -0
- data/vendor/local/share/man/man3/fribidi_get_bidi_type_name.3 +56 -0
- data/vendor/local/share/man/man3/fribidi_get_bidi_types.3 +68 -0
- data/vendor/local/share/man/man3/fribidi_get_bracket.3 +59 -0
- data/vendor/local/share/man/man3/fribidi_get_bracket_types.3 +73 -0
- data/vendor/local/share/man/man3/fribidi_get_joining_type.3 +87 -0
- data/vendor/local/share/man/man3/fribidi_get_joining_type_name.3 +83 -0
- data/vendor/local/share/man/man3/fribidi_get_joining_types.3 +96 -0
- data/vendor/local/share/man/man3/fribidi_get_mirror_char.3 +68 -0
- data/vendor/local/share/man/man3/fribidi_get_par_direction.3 +100 -0
- data/vendor/local/share/man/man3/fribidi_get_par_embedding_levels.3 +98 -0
- data/vendor/local/share/man/man3/fribidi_get_par_embedding_levels_ex.3 +114 -0
- data/vendor/local/share/man/man3/fribidi_get_type.3 +50 -0
- data/vendor/local/share/man/man3/fribidi_get_type_internal.3 +50 -0
- data/vendor/local/share/man/man3/fribidi_join_arabic.3 +92 -0
- data/vendor/local/share/man/man3/fribidi_log2vis.3 +124 -0
- data/vendor/local/share/man/man3/fribidi_log2vis_get_embedding_levels.3 +97 -0
- data/vendor/local/share/man/man3/fribidi_mirroring_status.3 +44 -0
- data/vendor/local/share/man/man3/fribidi_parse_charset.3 +78 -0
- data/vendor/local/share/man/man3/fribidi_remove_bidi_marks.3 +96 -0
- data/vendor/local/share/man/man3/fribidi_reorder_line.3 +146 -0
- data/vendor/local/share/man/man3/fribidi_reorder_nsm_status.3 +44 -0
- data/vendor/local/share/man/man3/fribidi_set_debug.3 +48 -0
- data/vendor/local/share/man/man3/fribidi_set_mirroring.3 +58 -0
- data/vendor/local/share/man/man3/fribidi_set_reorder_nsm.3 +60 -0
- data/vendor/local/share/man/man3/fribidi_shape.3 +89 -0
- data/vendor/local/share/man/man3/fribidi_shape_arabic.3 +95 -0
- data/vendor/local/share/man/man3/fribidi_shape_mirroring.3 +71 -0
- data/vendor/local/share/man/man3/fribidi_unicode_to_charset.3 +99 -0
- data/vendor/local/share/man/man8/genccode.8 +2 -2
- data/vendor/local/share/man/man8/gencmn.8 +3 -3
- data/vendor/local/share/man/man8/gensprep.8 +3 -3
- data/vendor/local/share/man/man8/icupkg.8 +1 -1
- metadata +58 -59
- data/ext/pango/rb-pango-context.c +0 -79
- data/vendor/local/lib/icuin58.dll +0 -0
- data/vendor/local/lib/icutu58.dll +0 -0
- data/vendor/local/lib/icuuc58.dll +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
//
|
1
|
+
// © 2016 and later: Unicode, Inc. and others.
|
2
2
|
// License & terms of use: http://www.unicode.org/copyright.html
|
3
3
|
/*
|
4
4
|
*******************************************************************************
|
@@ -866,6 +866,52 @@ public:
|
|
866
866
|
FieldPosition& pos,
|
867
867
|
UErrorCode& status) const;
|
868
868
|
|
869
|
+
protected:
|
870
|
+
/**
|
871
|
+
* Format a decimal number.
|
872
|
+
* The number is a DigitList wrapper onto a floating point decimal number.
|
873
|
+
* The default implementation in NumberFormat converts the decimal number
|
874
|
+
* to a double and formats that. Subclasses of NumberFormat that want
|
875
|
+
* to specifically handle big decimal numbers must override this method.
|
876
|
+
* class DecimalFormat does so.
|
877
|
+
*
|
878
|
+
* @param number The number, a DigitList format Decimal Floating Point.
|
879
|
+
* @param appendTo Output parameter to receive result.
|
880
|
+
* Result is appended to existing contents.
|
881
|
+
* @param posIter On return, can be used to iterate over positions
|
882
|
+
* of fields generated by this format call.
|
883
|
+
* @param status Output param filled with success/failure status.
|
884
|
+
* @return Reference to 'appendTo' parameter.
|
885
|
+
* @internal
|
886
|
+
*/
|
887
|
+
virtual UnicodeString& format(const DigitList &number,
|
888
|
+
UnicodeString& appendTo,
|
889
|
+
FieldPositionIterator* posIter,
|
890
|
+
UErrorCode& status) const;
|
891
|
+
|
892
|
+
/**
|
893
|
+
* Format a decimal number.
|
894
|
+
* The number is a DigitList wrapper onto a floating point decimal number.
|
895
|
+
* The default implementation in NumberFormat converts the decimal number
|
896
|
+
* to a double and formats that. Subclasses of NumberFormat that want
|
897
|
+
* to specifically handle big decimal numbers must override this method.
|
898
|
+
* class DecimalFormat does so.
|
899
|
+
*
|
900
|
+
* @param number The number, a DigitList format Decimal Floating Point.
|
901
|
+
* @param appendTo Output parameter to receive result.
|
902
|
+
* Result is appended to existing contents.
|
903
|
+
* @param pos On input: an alignment field, if desired.
|
904
|
+
* On output: the offsets of the alignment field.
|
905
|
+
* @param status Output param filled with success/failure status.
|
906
|
+
* @return Reference to 'appendTo' parameter.
|
907
|
+
* @internal
|
908
|
+
*/
|
909
|
+
virtual UnicodeString& format(const DigitList &number,
|
910
|
+
UnicodeString& appendTo,
|
911
|
+
FieldPosition& pos,
|
912
|
+
UErrorCode& status) const;
|
913
|
+
public:
|
914
|
+
|
869
915
|
using NumberFormat::parse;
|
870
916
|
|
871
917
|
/**
|
@@ -964,6 +1010,20 @@ public:
|
|
964
1010
|
*/
|
965
1011
|
virtual void setContext(UDisplayContext value, UErrorCode& status);
|
966
1012
|
|
1013
|
+
/**
|
1014
|
+
* Get the rounding mode.
|
1015
|
+
* @return A rounding mode
|
1016
|
+
* @draft ICU 60
|
1017
|
+
*/
|
1018
|
+
virtual ERoundingMode getRoundingMode(void) const;
|
1019
|
+
|
1020
|
+
/**
|
1021
|
+
* Set the rounding mode.
|
1022
|
+
* @param roundingMode A rounding mode
|
1023
|
+
* @draft ICU 60
|
1024
|
+
*/
|
1025
|
+
virtual void setRoundingMode(ERoundingMode roundingMode);
|
1026
|
+
|
967
1027
|
public:
|
968
1028
|
/**
|
969
1029
|
* ICU "poor man's RTTI", returns a UClassID for this class.
|
@@ -1013,7 +1073,6 @@ private:
|
|
1013
1073
|
void dispose();
|
1014
1074
|
void stripWhitespace(UnicodeString& src);
|
1015
1075
|
void initDefaultRuleSet();
|
1016
|
-
void format(double number, NFRuleSet& ruleSet);
|
1017
1076
|
NFRuleSet* findRuleSet(const UnicodeString& name, UErrorCode& status) const;
|
1018
1077
|
|
1019
1078
|
/* friend access */
|
@@ -1031,7 +1090,9 @@ private:
|
|
1031
1090
|
NFRule * initializeDefaultNaNRule(UErrorCode &status);
|
1032
1091
|
const NFRule * getDefaultNaNRule() const;
|
1033
1092
|
PluralFormat *createPluralFormat(UPluralType pluralType, const UnicodeString &pattern, UErrorCode& status) const;
|
1034
|
-
UnicodeString& adjustForCapitalizationContext(int32_t startPos, UnicodeString& currentResult) const;
|
1093
|
+
UnicodeString& adjustForCapitalizationContext(int32_t startPos, UnicodeString& currentResult, UErrorCode& status) const;
|
1094
|
+
UnicodeString& format(int64_t number, NFRuleSet *ruleSet, UnicodeString& toAppendTo, UErrorCode& status) const;
|
1095
|
+
void format(double number, NFRuleSet& rs, UnicodeString& toAppendTo, UErrorCode& status) const;
|
1035
1096
|
|
1036
1097
|
private:
|
1037
1098
|
NFRuleSet **ruleSets;
|
@@ -1043,6 +1104,7 @@ private:
|
|
1043
1104
|
DecimalFormatSymbols* decimalFormatSymbols;
|
1044
1105
|
NFRule *defaultInfinityRule;
|
1045
1106
|
NFRule *defaultNaNRule;
|
1107
|
+
ERoundingMode roundingMode;
|
1046
1108
|
UBool lenient;
|
1047
1109
|
UnicodeString* lenientParseRules;
|
1048
1110
|
LocalizationInfo* localizations;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
//
|
1
|
+
// © 2016 and later: Unicode, Inc. and others.
|
2
2
|
// License & terms of use: http://www.unicode.org/copyright.html
|
3
3
|
/*
|
4
4
|
**********************************************************************
|
@@ -6,7 +6,7 @@
|
|
6
6
|
* Corporation and others. All Rights Reserved.
|
7
7
|
**********************************************************************
|
8
8
|
* file name: regex.h
|
9
|
-
* encoding:
|
9
|
+
* encoding: UTF-8
|
10
10
|
* indentation:4
|
11
11
|
*
|
12
12
|
* created on: 2002oct22
|
@@ -350,17 +350,17 @@ public:
|
|
350
350
|
private:
|
351
351
|
/**
|
352
352
|
* Cause a compilation error if an application accidentally attempts to
|
353
|
-
* create a matcher with a (
|
353
|
+
* create a matcher with a (char16_t *) string as input rather than
|
354
354
|
* a UnicodeString. Avoids a dangling reference to a temporary string.
|
355
355
|
* <p>
|
356
|
-
* To efficiently work with
|
356
|
+
* To efficiently work with char16_t *strings, wrap the data in a UnicodeString
|
357
357
|
* using one of the aliasing constructors, such as
|
358
|
-
* <code>UnicodeString(UBool isTerminated, const
|
358
|
+
* <code>UnicodeString(UBool isTerminated, const char16_t *text, int32_t textLength);</code>
|
359
359
|
* or in a UText, using
|
360
|
-
* <code>utext_openUChars(UText *ut, const
|
360
|
+
* <code>utext_openUChars(UText *ut, const char16_t *text, int64_t textLength, UErrorCode *status);</code>
|
361
361
|
*
|
362
362
|
*/
|
363
|
-
RegexMatcher *matcher(const
|
363
|
+
RegexMatcher *matcher(const char16_t *input,
|
364
364
|
UErrorCode &status) const;
|
365
365
|
public:
|
366
366
|
|
@@ -748,17 +748,17 @@ public:
|
|
748
748
|
private:
|
749
749
|
/**
|
750
750
|
* Cause a compilation error if an application accidentally attempts to
|
751
|
-
* create a matcher with a (
|
751
|
+
* create a matcher with a (char16_t *) string as input rather than
|
752
752
|
* a UnicodeString. Avoids a dangling reference to a temporary string.
|
753
753
|
* <p>
|
754
|
-
* To efficiently work with
|
754
|
+
* To efficiently work with char16_t *strings, wrap the data in a UnicodeString
|
755
755
|
* using one of the aliasing constructors, such as
|
756
|
-
* <code>UnicodeString(UBool isTerminated, const
|
756
|
+
* <code>UnicodeString(UBool isTerminated, const char16_t *text, int32_t textLength);</code>
|
757
757
|
* or in a UText, using
|
758
|
-
* <code>utext_openUChars(UText *ut, const
|
758
|
+
* <code>utext_openUChars(UText *ut, const char16_t *text, int64_t textLength, UErrorCode *status);</code>
|
759
759
|
*
|
760
760
|
*/
|
761
|
-
RegexMatcher(const UnicodeString ®exp, const
|
761
|
+
RegexMatcher(const UnicodeString ®exp, const char16_t *input,
|
762
762
|
uint32_t flags, UErrorCode &status);
|
763
763
|
public:
|
764
764
|
|
@@ -1156,17 +1156,17 @@ public:
|
|
1156
1156
|
private:
|
1157
1157
|
/**
|
1158
1158
|
* Cause a compilation error if an application accidentally attempts to
|
1159
|
-
* reset a matcher with a (
|
1159
|
+
* reset a matcher with a (char16_t *) string as input rather than
|
1160
1160
|
* a UnicodeString. Avoids a dangling reference to a temporary string.
|
1161
1161
|
* <p>
|
1162
|
-
* To efficiently work with
|
1162
|
+
* To efficiently work with char16_t *strings, wrap the data in a UnicodeString
|
1163
1163
|
* using one of the aliasing constructors, such as
|
1164
|
-
* <code>UnicodeString(UBool isTerminated, const
|
1164
|
+
* <code>UnicodeString(UBool isTerminated, const char16_t *text, int32_t textLength);</code>
|
1165
1165
|
* or in a UText, using
|
1166
|
-
* <code>utext_openUChars(UText *ut, const
|
1166
|
+
* <code>utext_openUChars(UText *ut, const char16_t *text, int64_t textLength, UErrorCode *status);</code>
|
1167
1167
|
*
|
1168
1168
|
*/
|
1169
|
-
RegexMatcher &reset(const
|
1169
|
+
RegexMatcher &reset(const char16_t *input);
|
1170
1170
|
public:
|
1171
1171
|
|
1172
1172
|
/**
|
@@ -1,4 +1,4 @@
|
|
1
|
-
//
|
1
|
+
// © 2016 and later: Unicode, Inc. and others.
|
2
2
|
// License & terms of use: http://www.unicode.org/copyright.html
|
3
3
|
/*
|
4
4
|
*****************************************************************************
|
@@ -230,6 +230,7 @@ typedef enum UDateDirection {
|
|
230
230
|
|
231
231
|
U_NAMESPACE_BEGIN
|
232
232
|
|
233
|
+
class BreakIterator;
|
233
234
|
class RelativeDateTimeCacheData;
|
234
235
|
class SharedNumberFormat;
|
235
236
|
class SharedPluralRules;
|
@@ -414,7 +415,6 @@ public:
|
|
414
415
|
UnicodeString& appendTo,
|
415
416
|
UErrorCode& status) const;
|
416
417
|
|
417
|
-
#ifndef U_HIDE_DRAFT_API
|
418
418
|
/**
|
419
419
|
* Format a combination of URelativeDateTimeUnit and numeric offset
|
420
420
|
* using a numeric style, e.g. "1 week ago", "in 1 week",
|
@@ -430,7 +430,7 @@ public:
|
|
430
430
|
* appended.
|
431
431
|
* @param status ICU error code returned here.
|
432
432
|
* @return appendTo
|
433
|
-
* @
|
433
|
+
* @stable ICU 57
|
434
434
|
*/
|
435
435
|
UnicodeString& formatNumeric(
|
436
436
|
double offset,
|
@@ -453,14 +453,13 @@ public:
|
|
453
453
|
* appended.
|
454
454
|
* @param status ICU error code returned here.
|
455
455
|
* @return appendTo
|
456
|
-
* @
|
456
|
+
* @stable ICU 57
|
457
457
|
*/
|
458
458
|
UnicodeString& format(
|
459
459
|
double offset,
|
460
460
|
URelativeDateTimeUnit unit,
|
461
461
|
UnicodeString& appendTo,
|
462
462
|
UErrorCode& status) const;
|
463
|
-
#endif /* U_HIDE_DRAFT_API */
|
464
463
|
|
465
464
|
/**
|
466
465
|
* Combines a relative date string and a time string in this object's
|
@@ -1,4 +1,4 @@
|
|
1
|
-
//
|
1
|
+
// © 2016 and later: Unicode, Inc. and others.
|
2
2
|
// License & terms of use: http://www.unicode.org/copyright.html
|
3
3
|
/*
|
4
4
|
**************************************************************************
|
@@ -93,7 +93,7 @@ public:
|
|
93
93
|
* @return 16-bit code unit of text at given offset
|
94
94
|
* @stable ICU 1.8
|
95
95
|
*/
|
96
|
-
inline
|
96
|
+
inline char16_t charAt(int32_t offset) const;
|
97
97
|
|
98
98
|
/**
|
99
99
|
* Returns the 32-bit code point at the given 16-bit offset into
|
@@ -230,7 +230,7 @@ protected:
|
|
230
230
|
* Virtual version of charAt().
|
231
231
|
* @stable ICU 2.4
|
232
232
|
*/
|
233
|
-
virtual
|
233
|
+
virtual char16_t getCharAt(int32_t offset) const = 0;
|
234
234
|
|
235
235
|
/**
|
236
236
|
* Virtual version of char32At().
|
@@ -246,7 +246,7 @@ Replaceable::length() const {
|
|
246
246
|
return getLength();
|
247
247
|
}
|
248
248
|
|
249
|
-
inline
|
249
|
+
inline char16_t
|
250
250
|
Replaceable::charAt(int32_t offset) const {
|
251
251
|
return getCharAt(offset);
|
252
252
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
//
|
1
|
+
// © 2016 and later: Unicode, Inc. and others.
|
2
2
|
// License & terms of use: http://www.unicode.org/copyright.html
|
3
3
|
/*
|
4
4
|
******************************************************************************
|
@@ -132,7 +132,7 @@ public:
|
|
132
132
|
ResourceBundle(UErrorCode &err);
|
133
133
|
|
134
134
|
/**
|
135
|
-
* Standard constructor,
|
135
|
+
* Standard constructor, constructs a resource bundle for the locale-specific
|
136
136
|
* bundle in the specified package.
|
137
137
|
*
|
138
138
|
* @param packageName The packageName and locale together point to an ICU udata object,
|
@@ -216,7 +216,7 @@ public:
|
|
216
216
|
* could be <TT>U_MISSING_RESOURCE_ERROR</TT> if the key is not found
|
217
217
|
* could be a warning
|
218
218
|
* e.g.: <TT>U_USING_FALLBACK_WARNING</TT>,<TT>U_USING_DEFAULT_WARNING </TT>
|
219
|
-
* @return a pointer to a zero-terminated
|
219
|
+
* @return a pointer to a zero-terminated char16_t array which lives in a memory mapped/DLL file.
|
220
220
|
* @stable ICU 2.0
|
221
221
|
*/
|
222
222
|
UnicodeString
|
@@ -1,4 +1,4 @@
|
|
1
|
-
//
|
1
|
+
// © 2016 and later: Unicode, Inc. and others.
|
2
2
|
// License & terms of use: http://www.unicode.org/copyright.html
|
3
3
|
/*
|
4
4
|
******************************************************************************
|
@@ -69,7 +69,7 @@ public:
|
|
69
69
|
* Create an iterator over the UnicodeString referred to by "textStr".
|
70
70
|
* The UnicodeString object is copied.
|
71
71
|
* The iteration range begins with the code unit specified by
|
72
|
-
* "textBegin" and ends with the code unit BEFORE the code unit
|
72
|
+
* "textBegin" and ends with the code unit BEFORE the code unit specified
|
73
73
|
* by "textEnd". The starting position is specified by "textPos". If
|
74
74
|
* "textBegin" and "textEnd" don't form a valid range on "text" (i.e.,
|
75
75
|
* textBegin >= textEnd or either is negative or greater than text.size()),
|
@@ -175,7 +175,7 @@ protected:
|
|
175
175
|
* @param newTextLength The length of the String
|
176
176
|
* @stable ICU 2.0
|
177
177
|
*/
|
178
|
-
void setText(const
|
178
|
+
void setText(const char16_t* newText, int32_t newTextLength);
|
179
179
|
|
180
180
|
/**
|
181
181
|
* Copy of the iterated string object.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
//
|
1
|
+
// © 2016 and later: Unicode, Inc. and others.
|
2
2
|
// License & terms of use: http://www.unicode.org/copyright.html
|
3
3
|
/*
|
4
4
|
******************************************************************************
|
@@ -19,10 +19,15 @@
|
|
19
19
|
#include "unicode/utypes.h"
|
20
20
|
#include "unicode/unistr.h"
|
21
21
|
|
22
|
-
#ifndef U_HIDE_DRAFT_API
|
23
|
-
|
24
22
|
U_NAMESPACE_BEGIN
|
25
23
|
|
24
|
+
// Forward declaration:
|
25
|
+
namespace number {
|
26
|
+
namespace impl {
|
27
|
+
class SimpleModifier;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
26
31
|
/**
|
27
32
|
* Formats simple patterns like "{1} was born in {0}".
|
28
33
|
* Minimal subset of MessageFormat; fast, simple, minimal dependencies.
|
@@ -49,15 +54,15 @@ U_NAMESPACE_BEGIN
|
|
49
54
|
*
|
50
55
|
* @see MessageFormat
|
51
56
|
* @see UMessagePatternApostropheMode
|
52
|
-
* @
|
57
|
+
* @stable ICU 57
|
53
58
|
*/
|
54
59
|
class U_COMMON_API SimpleFormatter U_FINAL : public UMemory {
|
55
60
|
public:
|
56
61
|
/**
|
57
62
|
* Default constructor.
|
58
|
-
* @
|
63
|
+
* @stable ICU 57
|
59
64
|
*/
|
60
|
-
SimpleFormatter() : compiledPattern((
|
65
|
+
SimpleFormatter() : compiledPattern((char16_t)0) {}
|
61
66
|
|
62
67
|
/**
|
63
68
|
* Constructs a formatter from the pattern string.
|
@@ -66,7 +71,7 @@ public:
|
|
66
71
|
* @param errorCode ICU error code in/out parameter.
|
67
72
|
* Must fulfill U_SUCCESS before the function call.
|
68
73
|
* Set to U_ILLEGAL_ARGUMENT_ERROR for bad argument syntax.
|
69
|
-
* @
|
74
|
+
* @stable ICU 57
|
70
75
|
*/
|
71
76
|
SimpleFormatter(const UnicodeString& pattern, UErrorCode &errorCode) {
|
72
77
|
applyPattern(pattern, errorCode);
|
@@ -84,7 +89,7 @@ public:
|
|
84
89
|
* Must fulfill U_SUCCESS before the function call.
|
85
90
|
* Set to U_ILLEGAL_ARGUMENT_ERROR for bad argument syntax and
|
86
91
|
* too few or too many arguments.
|
87
|
-
* @
|
92
|
+
* @stable ICU 57
|
88
93
|
*/
|
89
94
|
SimpleFormatter(const UnicodeString& pattern, int32_t min, int32_t max,
|
90
95
|
UErrorCode &errorCode) {
|
@@ -93,20 +98,20 @@ public:
|
|
93
98
|
|
94
99
|
/**
|
95
100
|
* Copy constructor.
|
96
|
-
* @
|
101
|
+
* @stable ICU 57
|
97
102
|
*/
|
98
103
|
SimpleFormatter(const SimpleFormatter& other)
|
99
104
|
: compiledPattern(other.compiledPattern) {}
|
100
105
|
|
101
106
|
/**
|
102
107
|
* Assignment operator.
|
103
|
-
* @
|
108
|
+
* @stable ICU 57
|
104
109
|
*/
|
105
110
|
SimpleFormatter &operator=(const SimpleFormatter& other);
|
106
111
|
|
107
112
|
/**
|
108
113
|
* Destructor.
|
109
|
-
* @
|
114
|
+
* @stable ICU 57
|
110
115
|
*/
|
111
116
|
~SimpleFormatter();
|
112
117
|
|
@@ -118,7 +123,7 @@ public:
|
|
118
123
|
* Must fulfill U_SUCCESS before the function call.
|
119
124
|
* Set to U_ILLEGAL_ARGUMENT_ERROR for bad argument syntax.
|
120
125
|
* @return TRUE if U_SUCCESS(errorCode).
|
121
|
-
* @
|
126
|
+
* @stable ICU 57
|
122
127
|
*/
|
123
128
|
UBool applyPattern(const UnicodeString &pattern, UErrorCode &errorCode) {
|
124
129
|
return applyPatternMinMaxArguments(pattern, 0, INT32_MAX, errorCode);
|
@@ -137,14 +142,14 @@ public:
|
|
137
142
|
* Set to U_ILLEGAL_ARGUMENT_ERROR for bad argument syntax and
|
138
143
|
* too few or too many arguments.
|
139
144
|
* @return TRUE if U_SUCCESS(errorCode).
|
140
|
-
* @
|
145
|
+
* @stable ICU 57
|
141
146
|
*/
|
142
147
|
UBool applyPatternMinMaxArguments(const UnicodeString &pattern,
|
143
148
|
int32_t min, int32_t max, UErrorCode &errorCode);
|
144
149
|
|
145
150
|
/**
|
146
151
|
* @return The max argument number + 1.
|
147
|
-
* @
|
152
|
+
* @stable ICU 57
|
148
153
|
*/
|
149
154
|
int32_t getArgumentLimit() const {
|
150
155
|
return getArgumentLimit(compiledPattern.getBuffer(), compiledPattern.length());
|
@@ -160,7 +165,7 @@ public:
|
|
160
165
|
* @param errorCode ICU error code in/out parameter.
|
161
166
|
* Must fulfill U_SUCCESS before the function call.
|
162
167
|
* @return appendTo
|
163
|
-
* @
|
168
|
+
* @stable ICU 57
|
164
169
|
*/
|
165
170
|
UnicodeString &format(
|
166
171
|
const UnicodeString &value0,
|
@@ -177,7 +182,7 @@ public:
|
|
177
182
|
* @param errorCode ICU error code in/out parameter.
|
178
183
|
* Must fulfill U_SUCCESS before the function call.
|
179
184
|
* @return appendTo
|
180
|
-
* @
|
185
|
+
* @stable ICU 57
|
181
186
|
*/
|
182
187
|
UnicodeString &format(
|
183
188
|
const UnicodeString &value0,
|
@@ -196,7 +201,7 @@ public:
|
|
196
201
|
* @param errorCode ICU error code in/out parameter.
|
197
202
|
* Must fulfill U_SUCCESS before the function call.
|
198
203
|
* @return appendTo
|
199
|
-
* @
|
204
|
+
* @stable ICU 57
|
200
205
|
*/
|
201
206
|
UnicodeString &format(
|
202
207
|
const UnicodeString &value0,
|
@@ -221,7 +226,7 @@ public:
|
|
221
226
|
* @param errorCode ICU error code in/out parameter.
|
222
227
|
* Must fulfill U_SUCCESS before the function call.
|
223
228
|
* @return appendTo
|
224
|
-
* @
|
229
|
+
* @stable ICU 57
|
225
230
|
*/
|
226
231
|
UnicodeString &formatAndAppend(
|
227
232
|
const UnicodeString *const *values, int32_t valuesLength,
|
@@ -247,7 +252,7 @@ public:
|
|
247
252
|
* @param errorCode ICU error code in/out parameter.
|
248
253
|
* Must fulfill U_SUCCESS before the function call.
|
249
254
|
* @return result
|
250
|
-
* @
|
255
|
+
* @stable ICU 57
|
251
256
|
*/
|
252
257
|
UnicodeString &formatAndReplace(
|
253
258
|
const UnicodeString *const *values, int32_t valuesLength,
|
@@ -257,7 +262,7 @@ public:
|
|
257
262
|
/**
|
258
263
|
* Returns the pattern text with none of the arguments.
|
259
264
|
* Like formatting with all-empty string values.
|
260
|
-
* @
|
265
|
+
* @stable ICU 57
|
261
266
|
*/
|
262
267
|
UnicodeString getTextWithNoArguments() const {
|
263
268
|
return getTextWithNoArguments(compiledPattern.getBuffer(), compiledPattern.length());
|
@@ -275,23 +280,24 @@ private:
|
|
275
280
|
*/
|
276
281
|
UnicodeString compiledPattern;
|
277
282
|
|
278
|
-
static inline int32_t getArgumentLimit(const
|
283
|
+
static inline int32_t getArgumentLimit(const char16_t *compiledPattern,
|
279
284
|
int32_t compiledPatternLength) {
|
280
285
|
return compiledPatternLength == 0 ? 0 : compiledPattern[0];
|
281
286
|
}
|
282
287
|
|
283
|
-
static UnicodeString getTextWithNoArguments(const
|
288
|
+
static UnicodeString getTextWithNoArguments(const char16_t *compiledPattern, int32_t compiledPatternLength);
|
284
289
|
|
285
290
|
static UnicodeString &format(
|
286
|
-
const
|
291
|
+
const char16_t *compiledPattern, int32_t compiledPatternLength,
|
287
292
|
const UnicodeString *const *values,
|
288
293
|
UnicodeString &result, const UnicodeString *resultCopy, UBool forbidResultAsValue,
|
289
294
|
int32_t *offsets, int32_t offsetsLength,
|
290
295
|
UErrorCode &errorCode);
|
296
|
+
|
297
|
+
// Give access to internals to SimpleModifier for number formatting
|
298
|
+
friend class number::impl::SimpleModifier;
|
291
299
|
};
|
292
300
|
|
293
301
|
U_NAMESPACE_END
|
294
302
|
|
295
|
-
#endif /* U_HIDE_DRAFT_API */
|
296
|
-
|
297
303
|
#endif // __SIMPLEFORMATTER_H__
|