pango 3.0.7-x86-mingw32 → 3.0.8-x86-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 +6 -6
- data/ext/pango/extconf.rb +1 -0
- data/lib/2.2/pango.so +0 -0
- data/lib/2.3/pango.so +0 -0
- data/lib/pango.rb +2 -10
- 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 +6 -7
- 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-blob.h +12 -12
- data/vendor/local/include/harfbuzz/hb-buffer.h +181 -78
- data/vendor/local/include/harfbuzz/hb-common.h +23 -17
- data/vendor/local/include/harfbuzz/hb-deprecated.h +10 -0
- data/vendor/local/include/harfbuzz/hb-face.h +17 -17
- data/vendor/local/include/harfbuzz/hb-font.h +180 -79
- data/vendor/local/include/harfbuzz/hb-ft.h +16 -9
- data/vendor/local/include/harfbuzz/hb-glib.h +4 -4
- data/vendor/local/include/harfbuzz/hb-icu.h +3 -3
- data/vendor/local/include/harfbuzz/hb-ot-font.h +1 -1
- data/vendor/local/include/harfbuzz/hb-ot-layout.h +28 -28
- data/vendor/local/include/harfbuzz/hb-ot-shape.h +2 -2
- data/vendor/local/include/harfbuzz/hb-ot-tag.h +4 -4
- data/vendor/local/include/harfbuzz/hb-set.h +29 -26
- data/vendor/local/include/harfbuzz/hb-shape-plan.h +9 -9
- data/vendor/local/include/harfbuzz/hb-shape.h +5 -5
- data/vendor/local/include/harfbuzz/hb-unicode.h +47 -31
- data/vendor/local/include/harfbuzz/hb-version.h +6 -6
- data/vendor/local/include/harfbuzz/hb.h +4 -0
- data/vendor/local/include/layout/LELanguages.h +2 -5
- data/vendor/local/include/layout/LEScripts.h +3 -62
- data/vendor/local/include/layout/LETableReference.h +15 -3
- data/vendor/local/include/pango-1.0/pango/pango-attributes.h +27 -1
- data/vendor/local/include/pango-1.0/pango/pango-engine.h +50 -31
- data/vendor/local/include/pango-1.0/pango/pango-features.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-font.h +1 -0
- data/vendor/local/include/pango-1.0/pango/pango-glyph-item.h +2 -0
- data/vendor/local/include/pango-1.0/pango/pango-glyph.h +5 -0
- data/vendor/local/include/pango-1.0/pango/pango-item.h +4 -0
- data/vendor/local/include/pango-1.0/pango/pango-layout.h +3 -0
- data/vendor/local/include/pango-1.0/pango/pango-matrix.h +2 -0
- data/vendor/local/include/pango-1.0/pango/pango-modules.h +6 -0
- data/vendor/local/include/pango-1.0/pango/pango-ot.h +8 -5
- data/vendor/local/include/pango-1.0/pango/pango-renderer.h +9 -2
- data/vendor/local/include/pango-1.0/pango/pango-script.h +63 -1
- data/vendor/local/include/pango-1.0/pango/pango-utils.h +12 -0
- data/vendor/local/include/pango-1.0/pango/pangofc-font.h +7 -10
- data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +25 -16
- data/vendor/local/include/unicode/brkiter.h +6 -3
- data/vendor/local/include/unicode/bytestriebuilder.h +3 -1
- data/vendor/local/include/unicode/coll.h +21 -18
- data/vendor/local/include/unicode/compactdecimalformat.h +87 -3
- data/vendor/local/include/unicode/currpinf.h +2 -1
- data/vendor/local/include/unicode/datefmt.h +19 -41
- data/vendor/local/include/unicode/dcfmtsym.h +28 -9
- data/vendor/local/include/unicode/decimfmt.h +126 -304
- data/vendor/local/include/unicode/dtfmtsym.h +50 -19
- data/vendor/local/include/unicode/dtitvfmt.h +89 -30
- data/vendor/local/include/unicode/dtitvinf.h +63 -60
- data/vendor/local/include/unicode/dtptngen.h +81 -30
- data/vendor/local/include/unicode/filteredbrk.h +14 -24
- data/vendor/local/include/unicode/icuplug.h +9 -2
- data/vendor/local/include/unicode/listformatter.h +2 -2
- data/vendor/local/include/unicode/localpointer.h +231 -13
- data/vendor/local/include/unicode/locdspnm.h +2 -2
- data/vendor/local/include/unicode/locid.h +1 -3
- data/vendor/local/include/unicode/measfmt.h +14 -14
- data/vendor/local/include/unicode/measunit.h +213 -225
- data/vendor/local/include/unicode/normlzr.h +55 -43
- data/vendor/local/include/unicode/numfmt.h +60 -67
- data/vendor/local/include/unicode/platform.h +96 -3
- data/vendor/local/include/unicode/plurrule.h +5 -0
- data/vendor/local/include/unicode/rbnf.h +43 -4
- data/vendor/local/include/unicode/regex.h +14 -4
- data/vendor/local/include/unicode/region.h +5 -11
- data/vendor/local/include/unicode/reldatefmt.h +53 -43
- data/vendor/local/include/unicode/scientificnumberformatter.h +9 -11
- data/vendor/local/include/unicode/simpleformatter.h +295 -0
- data/vendor/local/include/unicode/smpdtfmt.h +36 -22
- data/vendor/local/include/unicode/tblcoll.h +32 -31
- data/vendor/local/include/unicode/timezone.h +4 -6
- data/vendor/local/include/unicode/tmunit.h +13 -13
- data/vendor/local/include/unicode/tzfmt.h +3 -6
- data/vendor/local/include/unicode/tznames.h +2 -4
- data/vendor/local/include/unicode/ubrk.h +14 -2
- data/vendor/local/include/unicode/uchar.h +61 -8
- data/vendor/local/include/unicode/ucharstriebuilder.h +1 -1
- data/vendor/local/include/unicode/ucol.h +2 -0
- data/vendor/local/include/unicode/uconfig.h +11 -6
- data/vendor/local/include/unicode/ucurr.h +24 -32
- data/vendor/local/include/unicode/udat.h +103 -87
- data/vendor/local/include/unicode/udateintervalformat.h +4 -1
- data/vendor/local/include/unicode/udatpg.h +6 -4
- data/vendor/local/include/unicode/udisplaycontext.h +6 -12
- data/vendor/local/include/unicode/ufieldpositer.h +10 -12
- data/vendor/local/include/unicode/uldnames.h +2 -2
- data/vendor/local/include/unicode/ulistformatter.h +9 -11
- data/vendor/local/include/unicode/uloc.h +13 -16
- data/vendor/local/include/unicode/umachine.h +2 -2
- data/vendor/local/include/unicode/uniset.h +25 -3
- data/vendor/local/include/unicode/unistr.h +168 -27
- data/vendor/local/include/unicode/unorm.h +40 -133
- data/vendor/local/include/unicode/unorm2.h +97 -1
- data/vendor/local/include/unicode/unum.h +61 -24
- data/vendor/local/include/unicode/uregex.h +7 -9
- data/vendor/local/include/unicode/ureldatefmt.h +365 -0
- data/vendor/local/include/unicode/urename.h +12 -1
- data/vendor/local/include/unicode/ures.h +157 -142
- data/vendor/local/include/unicode/uscript.h +1 -1
- data/vendor/local/include/unicode/ustdio.h +3 -5
- data/vendor/local/include/unicode/utf8.h +2 -2
- data/vendor/local/include/unicode/utypes.h +4 -6
- data/vendor/local/include/unicode/uvernum.h +7 -7
- data/vendor/local/lib/girepository-1.0/Pango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/PangoCairo-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/PangoFT2-1.0.typelib +0 -0
- data/vendor/local/lib/icu/{55.1 → 57.1}/Makefile.inc +6 -6
- data/vendor/local/lib/icu/{55.1 → 57.1}/pkgdata.inc +1 -1
- data/vendor/local/lib/icu/Makefile.inc +6 -6
- data/vendor/local/lib/icu/pkgdata.inc +1 -1
- data/vendor/local/lib/icudt.dll +0 -0
- data/vendor/local/lib/{icudt55.dll → icudt57.dll} +0 -0
- data/vendor/local/lib/icuin.dll +0 -0
- data/vendor/local/lib/icuin57.dll +0 -0
- data/vendor/local/lib/icuio.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/icutest.dll +0 -0
- data/vendor/local/lib/icutest57.dll +0 -0
- data/vendor/local/lib/icutu.dll +0 -0
- data/vendor/local/lib/icutu57.dll +0 -0
- data/vendor/local/lib/icuuc.dll +0 -0
- data/vendor/local/lib/icuuc57.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 +4 -4
- 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/libicule.dll.a +0 -0
- data/vendor/local/lib/libiculx.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 +6 -6
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +6 -6
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +6 -6
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +6 -6
- 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 +6 -6
- data/vendor/local/lib/pkgconfig/icu-io.pc +6 -6
- data/vendor/local/lib/pkgconfig/icu-le.pc +6 -6
- data/vendor/local/lib/pkgconfig/icu-lx.pc +6 -6
- data/vendor/local/lib/pkgconfig/icu-uc.pc +6 -6
- data/vendor/local/lib/pkgconfig/pango.pc +3 -5
- data/vendor/local/lib/pkgconfig/pangocairo.pc +3 -2
- data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangowin32.pc +3 -2
- data/vendor/local/share/gir-1.0/Pango-1.0.gir +891 -307
- data/vendor/local/share/gir-1.0/PangoCairo-1.0.gir +45 -27
- data/vendor/local/share/gir-1.0/PangoFT2-1.0.gir +12 -5
- data/vendor/local/share/gtk-doc/html/harfbuzz/HarfBuzz.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-10.html +41 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-11.html +34 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-2.html +722 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-20.html +38 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-22.html +34 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-28.html +34 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-30.html +41 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-31.html +46 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-38.html +45 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-39.html +34 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-41.html +34 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-42.html +38 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-5.html +56 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-7.html +191 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-8.html +34 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-0-5.html +42 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-1-2.html +38 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-1-3.html +49 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +226 -58
- data/vendor/local/share/gtk-doc/html/harfbuzz/building.html +80 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/{ch06.html → ch07.html} +8 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +13 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Buffers.html +2738 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Shaping.html +20 -22
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +38 -38
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +287 -189
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +38 -38
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +403 -126
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +85 -10
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +17 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +172 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-font.html +76 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +43 -3
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-shape.html +80 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +6 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +39 -39
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +21 -21
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +51 -46
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +11 -11
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +4 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +262 -190
- data/vendor/local/share/gtk-doc/html/harfbuzz/hello-harfbuzz.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +61 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/install-harfbuzz.html +59 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +9 -8
- data/vendor/local/share/gtk-doc/html/harfbuzz/pt01.html +5 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +37 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/why-is-it-called-harfbuzz.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +22 -19
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +15 -12
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +9 -12
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +29 -35
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +206 -97
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +33 -8
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +150 -57
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +12 -4
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +3 -4
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +3 -4
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +3 -4
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +3 -4
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +3 -4
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +3 -4
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +3 -4
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +3 -4
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +3 -4
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +3 -4
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +4 -5
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +4 -5
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +5 -6
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +5 -6
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +7 -7
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-38.html +79 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +3 -4
- data/vendor/local/share/gtk-doc/html/pango/{tools.html → api-index-1-40.html} +9 -13
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +3 -4
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +3 -4
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +161 -4
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +51 -8
- data/vendor/local/share/gtk-doc/html/pango/index.html +8 -11
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +251 -4
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +3 -4
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +18 -23
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +121 -123
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +5 -7
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +10 -14
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +28 -37
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +170 -224
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +35 -38
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +257 -170
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +186 -214
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +117 -132
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +26 -41
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +140 -153
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +270 -75
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +28 -34
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +361 -203
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +194 -161
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +16 -19
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +21 -28
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +34 -48
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +52 -57
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +10 -11
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +285 -39
- data/vendor/local/share/gtk-doc/html/pango/pango.html +3 -4
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +3 -4
- data/vendor/local/share/gtk-doc/html/pango/style.css +9 -6
- data/vendor/local/share/icu/57.1/LICENSE +393 -0
- data/vendor/local/share/icu/{55.1 → 57.1}/config/mh-mingw +0 -0
- data/vendor/local/share/icu/{55.1 → 57.1}/install-sh +0 -0
- data/vendor/local/share/icu/{55.1 → 57.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 +3 -3
- data/vendor/local/share/man/man1/pango-view.1 +113 -1
- data/vendor/local/share/man/man1/pkgdata.1 +2 -2
- data/vendor/local/share/man/man1/uconv.1 +2 -2
- 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 +49 -40
- data/lib/2.0/pango.so +0 -0
- data/lib/2.1/pango.so +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/etc/pango/pango.modules +0 -19
- data/vendor/local/lib/icuin55.dll +0 -0
- data/vendor/local/lib/icuio55.dll +0 -0
- data/vendor/local/lib/icule55.dll +0 -0
- data/vendor/local/lib/iculx55.dll +0 -0
- data/vendor/local/lib/icutest55.dll +0 -0
- data/vendor/local/lib/icutu55.dll +0 -0
- data/vendor/local/lib/icuuc55.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.la +0 -41
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.la +0 -41
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.la +0 -41
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.la +0 -41
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-buffer.html +0 -1704
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +0 -131
- data/vendor/local/share/icu/55.1/license.html +0 -384
- data/vendor/local/share/man/man1/pango-querymodules.1 +0 -106
@@ -1,7 +1,7 @@
|
|
1
1
|
/*
|
2
2
|
********************************************************************
|
3
3
|
* COPYRIGHT:
|
4
|
-
* Copyright (c) 1996-
|
4
|
+
* Copyright (c) 1996-2015, International Business Machines Corporation and
|
5
5
|
* others. All Rights Reserved.
|
6
6
|
********************************************************************
|
7
7
|
*/
|
@@ -26,14 +26,16 @@
|
|
26
26
|
|
27
27
|
U_NAMESPACE_BEGIN
|
28
28
|
/**
|
29
|
-
*
|
30
|
-
* <a href="http://www.unicode.org/unicode/reports/tr15/" target="unicode">
|
31
|
-
* Unicode Standard Annex #15: Unicode Normalization Forms</a>.
|
29
|
+
* Old Unicode normalization API.
|
32
30
|
*
|
33
|
-
*
|
31
|
+
* This API has been replaced by the Normalizer2 class and is only available
|
34
32
|
* for backward compatibility. This class simply delegates to the Normalizer2 class.
|
35
33
|
* There is one exception: The new API does not provide a replacement for Normalizer::compare().
|
36
34
|
*
|
35
|
+
* The Normalizer class supports the standard normalization forms described in
|
36
|
+
* <a href="http://www.unicode.org/unicode/reports/tr15/" target="unicode">
|
37
|
+
* Unicode Standard Annex #15: Unicode Normalization Forms</a>.
|
38
|
+
*
|
37
39
|
* The Normalizer class consists of two parts:
|
38
40
|
* - static functions that normalize strings or test if strings are normalized
|
39
41
|
* - a Normalizer object is an iterator that takes any kind of text and
|
@@ -129,10 +131,11 @@ U_NAMESPACE_BEGIN
|
|
129
131
|
*/
|
130
132
|
class U_COMMON_API Normalizer : public UObject {
|
131
133
|
public:
|
134
|
+
#ifndef U_HIDE_DEPRECATED_API
|
132
135
|
/**
|
133
136
|
* If DONE is returned from an iteration function that returns a code point,
|
134
137
|
* then there are no more normalization results available.
|
135
|
-
* @
|
138
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
136
139
|
*/
|
137
140
|
enum {
|
138
141
|
DONE=0xffff
|
@@ -148,7 +151,7 @@ public:
|
|
148
151
|
* will start at the beginning of the string.
|
149
152
|
*
|
150
153
|
* @param mode The normalization mode.
|
151
|
-
* @
|
154
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
152
155
|
*/
|
153
156
|
Normalizer(const UnicodeString& str, UNormalizationMode mode);
|
154
157
|
|
@@ -161,7 +164,7 @@ public:
|
|
161
164
|
*
|
162
165
|
* @param length Length of the string, or -1 if NUL-terminated.
|
163
166
|
* @param mode The normalization mode.
|
164
|
-
* @
|
167
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
165
168
|
*/
|
166
169
|
Normalizer(const UChar* str, int32_t length, UNormalizationMode mode);
|
167
170
|
|
@@ -173,20 +176,21 @@ public:
|
|
173
176
|
* will start at the beginning of the string.
|
174
177
|
*
|
175
178
|
* @param mode The normalization mode.
|
176
|
-
* @
|
179
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
177
180
|
*/
|
178
181
|
Normalizer(const CharacterIterator& iter, UNormalizationMode mode);
|
179
182
|
|
180
183
|
/**
|
181
184
|
* Copy constructor.
|
182
185
|
* @param copy The object to be copied.
|
183
|
-
* @
|
186
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
184
187
|
*/
|
185
188
|
Normalizer(const Normalizer& copy);
|
189
|
+
#endif /* U_HIDE_DEPRECATED_API */
|
186
190
|
|
187
191
|
/**
|
188
192
|
* Destructor
|
189
|
-
* @
|
193
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
190
194
|
*/
|
191
195
|
virtual ~Normalizer();
|
192
196
|
|
@@ -195,6 +199,7 @@ public:
|
|
195
199
|
// Static utility methods
|
196
200
|
//-------------------------------------------------------------------------
|
197
201
|
|
202
|
+
#ifndef U_HIDE_DEPRECATED_API
|
198
203
|
/**
|
199
204
|
* Normalizes a <code>UnicodeString</code> according to the specified normalization mode.
|
200
205
|
* This is a wrapper for unorm_normalize(), using UnicodeString's.
|
@@ -207,7 +212,7 @@ public:
|
|
207
212
|
* @param options the optional features to be enabled (0 for no options)
|
208
213
|
* @param result The normalized string (on output).
|
209
214
|
* @param status The error code.
|
210
|
-
* @
|
215
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
211
216
|
*/
|
212
217
|
static void U_EXPORT2 normalize(const UnicodeString& source,
|
213
218
|
UNormalizationMode mode, int32_t options,
|
@@ -229,7 +234,7 @@ public:
|
|
229
234
|
* @param options the optional features to be enabled (0 for no options)
|
230
235
|
* @param result The composed string (on output).
|
231
236
|
* @param status The error code.
|
232
|
-
* @
|
237
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
233
238
|
*/
|
234
239
|
static void U_EXPORT2 compose(const UnicodeString& source,
|
235
240
|
UBool compat, int32_t options,
|
@@ -251,7 +256,7 @@ public:
|
|
251
256
|
* @param options the optional features to be enabled (0 for no options)
|
252
257
|
* @param result The decomposed string (on output).
|
253
258
|
* @param status The error code.
|
254
|
-
* @
|
259
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
255
260
|
*/
|
256
261
|
static void U_EXPORT2 decompose(const UnicodeString& source,
|
257
262
|
UBool compat, int32_t options,
|
@@ -276,7 +281,7 @@ public:
|
|
276
281
|
* @return UNORM_YES, UNORM_NO or UNORM_MAYBE
|
277
282
|
*
|
278
283
|
* @see isNormalized
|
279
|
-
* @
|
284
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
280
285
|
*/
|
281
286
|
static inline UNormalizationCheckResult
|
282
287
|
quickCheck(const UnicodeString &source, UNormalizationMode mode, UErrorCode &status);
|
@@ -292,7 +297,7 @@ public:
|
|
292
297
|
* @return UNORM_YES, UNORM_NO or UNORM_MAYBE
|
293
298
|
*
|
294
299
|
* @see isNormalized
|
295
|
-
* @
|
300
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
296
301
|
*/
|
297
302
|
static UNormalizationCheckResult
|
298
303
|
quickCheck(const UnicodeString &source, UNormalizationMode mode, int32_t options, UErrorCode &status);
|
@@ -315,7 +320,7 @@ public:
|
|
315
320
|
* "mode" normalization form.
|
316
321
|
*
|
317
322
|
* @see quickCheck
|
318
|
-
* @
|
323
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
319
324
|
*/
|
320
325
|
static inline UBool
|
321
326
|
isNormalized(const UnicodeString &src, UNormalizationMode mode, UErrorCode &errorCode);
|
@@ -333,7 +338,7 @@ public:
|
|
333
338
|
* "mode" normalization form.
|
334
339
|
*
|
335
340
|
* @see quickCheck
|
336
|
-
* @
|
341
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
337
342
|
*/
|
338
343
|
static UBool
|
339
344
|
isNormalized(const UnicodeString &src, UNormalizationMode mode, int32_t options, UErrorCode &errorCode);
|
@@ -365,13 +370,14 @@ public:
|
|
365
370
|
* @see unorm_next
|
366
371
|
* @see unorm_previous
|
367
372
|
*
|
368
|
-
* @
|
373
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
369
374
|
*/
|
370
375
|
static UnicodeString &
|
371
376
|
U_EXPORT2 concatenate(const UnicodeString &left, const UnicodeString &right,
|
372
377
|
UnicodeString &result,
|
373
378
|
UNormalizationMode mode, int32_t options,
|
374
379
|
UErrorCode &errorCode);
|
380
|
+
#endif /* U_HIDE_DEPRECATED_API */
|
375
381
|
|
376
382
|
/**
|
377
383
|
* Compare two strings for canonical equivalence.
|
@@ -442,6 +448,7 @@ public:
|
|
442
448
|
uint32_t options,
|
443
449
|
UErrorCode &errorCode);
|
444
450
|
|
451
|
+
#ifndef U_HIDE_DEPRECATED_API
|
445
452
|
//-------------------------------------------------------------------------
|
446
453
|
// Iteration API
|
447
454
|
//-------------------------------------------------------------------------
|
@@ -452,7 +459,7 @@ public:
|
|
452
459
|
* The getIndex() is not changed.
|
453
460
|
*
|
454
461
|
* @return the current normalized code point
|
455
|
-
* @
|
462
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
456
463
|
*/
|
457
464
|
UChar32 current(void);
|
458
465
|
|
@@ -462,7 +469,7 @@ public:
|
|
462
469
|
* (Post-increment semantics.)
|
463
470
|
*
|
464
471
|
* @return the first normalized code point
|
465
|
-
* @
|
472
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
466
473
|
*/
|
467
474
|
UChar32 first(void);
|
468
475
|
|
@@ -472,7 +479,7 @@ public:
|
|
472
479
|
* (Pre-decrement semantics.)
|
473
480
|
*
|
474
481
|
* @return the last normalized code point
|
475
|
-
* @
|
482
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
476
483
|
*/
|
477
484
|
UChar32 last(void);
|
478
485
|
|
@@ -488,7 +495,7 @@ public:
|
|
488
495
|
* The C API unorm_next() is more efficient and does not have this ambiguity.
|
489
496
|
*
|
490
497
|
* @return the next normalized code point
|
491
|
-
* @
|
498
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
492
499
|
*/
|
493
500
|
UChar32 next(void);
|
494
501
|
|
@@ -504,7 +511,7 @@ public:
|
|
504
511
|
* The C API unorm_previous() is more efficient and does not have this ambiguity.
|
505
512
|
*
|
506
513
|
* @return the previous normalized code point
|
507
|
-
* @
|
514
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
508
515
|
*/
|
509
516
|
UChar32 previous(void);
|
510
517
|
|
@@ -515,14 +522,14 @@ public:
|
|
515
522
|
* specified here.
|
516
523
|
*
|
517
524
|
* @param index the desired index in the input text.
|
518
|
-
* @
|
525
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
519
526
|
*/
|
520
527
|
void setIndexOnly(int32_t index);
|
521
528
|
|
522
529
|
/**
|
523
530
|
* Reset the index to the beginning of the text.
|
524
531
|
* This is equivalent to setIndexOnly(startIndex)).
|
525
|
-
* @
|
532
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
526
533
|
*/
|
527
534
|
void reset(void);
|
528
535
|
|
@@ -538,7 +545,7 @@ public:
|
|
538
545
|
* was returned from with previous().
|
539
546
|
*
|
540
547
|
* @return the current index in the input text
|
541
|
-
* @
|
548
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
542
549
|
*/
|
543
550
|
int32_t getIndex(void) const;
|
544
551
|
|
@@ -548,7 +555,7 @@ public:
|
|
548
555
|
* over which this <code>Normalizer</code> is iterating.
|
549
556
|
*
|
550
557
|
* @return the smallest index in the input text where the Normalizer operates
|
551
|
-
* @
|
558
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
552
559
|
*/
|
553
560
|
int32_t startIndex(void) const;
|
554
561
|
|
@@ -560,7 +567,7 @@ public:
|
|
560
567
|
* before this index.
|
561
568
|
*
|
562
569
|
* @return the first index in the input text where the Normalizer does not operate
|
563
|
-
* @
|
570
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
564
571
|
*/
|
565
572
|
int32_t endIndex(void) const;
|
566
573
|
|
@@ -570,7 +577,7 @@ public:
|
|
570
577
|
*
|
571
578
|
* @param that a Normalizer object to compare this one to
|
572
579
|
* @return comparison result
|
573
|
-
* @
|
580
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
574
581
|
*/
|
575
582
|
UBool operator==(const Normalizer& that) const;
|
576
583
|
|
@@ -580,7 +587,7 @@ public:
|
|
580
587
|
*
|
581
588
|
* @param that a Normalizer object to compare this one to
|
582
589
|
* @return comparison result
|
583
|
-
* @
|
590
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
584
591
|
*/
|
585
592
|
inline UBool operator!=(const Normalizer& that) const;
|
586
593
|
|
@@ -588,7 +595,7 @@ public:
|
|
588
595
|
* Returns a pointer to a new Normalizer that is a clone of this one.
|
589
596
|
* The caller is responsible for deleting the new clone.
|
590
597
|
* @return a pointer to a new Normalizer
|
591
|
-
* @
|
598
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
592
599
|
*/
|
593
600
|
Normalizer* clone(void) const;
|
594
601
|
|
@@ -596,7 +603,7 @@ public:
|
|
596
603
|
* Generates a hash code for this iterator.
|
597
604
|
*
|
598
605
|
* @return the hash code
|
599
|
-
* @
|
606
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
600
607
|
*/
|
601
608
|
int32_t hashCode(void) const;
|
602
609
|
|
@@ -617,7 +624,7 @@ public:
|
|
617
624
|
* <p>
|
618
625
|
* @param newMode the new mode for this <code>Normalizer</code>.
|
619
626
|
* @see #getUMode
|
620
|
-
* @
|
627
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
621
628
|
*/
|
622
629
|
void setMode(UNormalizationMode newMode);
|
623
630
|
|
@@ -629,7 +636,7 @@ public:
|
|
629
636
|
*
|
630
637
|
* @return the mode for this <code>Normalizer</code>
|
631
638
|
* @see #setMode
|
632
|
-
* @
|
639
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
633
640
|
*/
|
634
641
|
UNormalizationMode getUMode(void) const;
|
635
642
|
|
@@ -647,7 +654,7 @@ public:
|
|
647
654
|
* turn the option(s) on and <code>FALSE</code> to turn it/them off.
|
648
655
|
*
|
649
656
|
* @see #getOption
|
650
|
-
* @
|
657
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
651
658
|
*/
|
652
659
|
void setOption(int32_t option,
|
653
660
|
UBool value);
|
@@ -660,7 +667,7 @@ public:
|
|
660
667
|
* @param option the option(s) that are to be checked
|
661
668
|
* @return TRUE if any of the option(s) are set
|
662
669
|
* @see #setOption
|
663
|
-
* @
|
670
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
664
671
|
*/
|
665
672
|
UBool getOption(int32_t option) const;
|
666
673
|
|
@@ -670,7 +677,7 @@ public:
|
|
670
677
|
*
|
671
678
|
* @param newText a string that replaces the current input text
|
672
679
|
* @param status a UErrorCode
|
673
|
-
* @
|
680
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
674
681
|
*/
|
675
682
|
void setText(const UnicodeString& newText,
|
676
683
|
UErrorCode &status);
|
@@ -681,7 +688,7 @@ public:
|
|
681
688
|
*
|
682
689
|
* @param newText a CharacterIterator object that replaces the current input text
|
683
690
|
* @param status a UErrorCode
|
684
|
-
* @
|
691
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
685
692
|
*/
|
686
693
|
void setText(const CharacterIterator& newText,
|
687
694
|
UErrorCode &status);
|
@@ -693,7 +700,7 @@ public:
|
|
693
700
|
* @param newText a string that replaces the current input text
|
694
701
|
* @param length the length of the string, or -1 if NUL-terminated
|
695
702
|
* @param status a UErrorCode
|
696
|
-
* @
|
703
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
697
704
|
*/
|
698
705
|
void setText(const UChar* newText,
|
699
706
|
int32_t length,
|
@@ -702,21 +709,22 @@ public:
|
|
702
709
|
* Copies the input text into the UnicodeString argument.
|
703
710
|
*
|
704
711
|
* @param result Receives a copy of the text under iteration.
|
705
|
-
* @
|
712
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
706
713
|
*/
|
707
714
|
void getText(UnicodeString& result);
|
708
715
|
|
709
716
|
/**
|
710
717
|
* ICU "poor man's RTTI", returns a UClassID for this class.
|
711
718
|
* @returns a UClassID for this class.
|
712
|
-
* @
|
719
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
713
720
|
*/
|
714
721
|
static UClassID U_EXPORT2 getStaticClassID();
|
722
|
+
#endif /* U_HIDE_DEPRECATED_API */
|
715
723
|
|
716
724
|
/**
|
717
725
|
* ICU "poor man's RTTI", returns a UClassID for the actual class.
|
718
726
|
* @return a UClassID for the actual class.
|
719
|
-
* @
|
727
|
+
* @deprecated ICU 56 Use Normalizer2 instead.
|
720
728
|
*/
|
721
729
|
virtual UClassID getDynamicClassID() const;
|
722
730
|
|
@@ -742,7 +750,9 @@ private:
|
|
742
750
|
|
743
751
|
FilteredNormalizer2*fFilteredNorm2; // owned if not NULL
|
744
752
|
const Normalizer2 *fNorm2; // not owned; may be equal to fFilteredNorm2
|
753
|
+
#ifndef U_HIDE_DEPRECATED_API
|
745
754
|
UNormalizationMode fUMode;
|
755
|
+
#endif /* U_HIDE_DEPRECATED_API */
|
746
756
|
int32_t fOptions;
|
747
757
|
|
748
758
|
// The input text and our position in it
|
@@ -761,6 +771,7 @@ private:
|
|
761
771
|
// Inline implementations
|
762
772
|
//-------------------------------------------------------------------------
|
763
773
|
|
774
|
+
#ifndef U_HIDE_DEPRECATED_API
|
764
775
|
inline UBool
|
765
776
|
Normalizer::operator!= (const Normalizer& other) const
|
766
777
|
{ return ! operator==(other); }
|
@@ -778,6 +789,7 @@ Normalizer::isNormalized(const UnicodeString& source,
|
|
778
789
|
UErrorCode &status) {
|
779
790
|
return isNormalized(source, mode, 0, status);
|
780
791
|
}
|
792
|
+
#endif /* U_HIDE_DEPRECATED_API */
|
781
793
|
|
782
794
|
inline int32_t
|
783
795
|
Normalizer::compare(const UnicodeString &s1, const UnicodeString &s2,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*
|
2
2
|
********************************************************************************
|
3
|
-
* Copyright (C) 1997-
|
3
|
+
* Copyright (C) 1997-2016, International Business Machines Corporation and others.
|
4
4
|
* All Rights Reserved.
|
5
5
|
********************************************************************************
|
6
6
|
*
|
@@ -56,6 +56,7 @@ class StringEnumeration;
|
|
56
56
|
* formatting and parsing a number. Also provides methods for
|
57
57
|
* determining which locales have number formats, and what their names
|
58
58
|
* are.
|
59
|
+
* \headerfile unicode/numfmt.h "unicode/numfmt.h"
|
59
60
|
* <P>
|
60
61
|
* NumberFormat helps you to format and parse numbers for any locale.
|
61
62
|
* Your code can be completely independent of the locale conventions
|
@@ -64,16 +65,22 @@ class StringEnumeration;
|
|
64
65
|
* <P>
|
65
66
|
* To format a number for the current Locale, use one of the static
|
66
67
|
* factory methods:
|
67
|
-
* <pre>
|
68
68
|
* \code
|
69
|
-
*
|
70
|
-
*
|
71
|
-
*
|
72
|
-
*
|
73
|
-
*
|
74
|
-
*
|
69
|
+
* #include <iostream>
|
70
|
+
* #include "unicode/numfmt.h"
|
71
|
+
* #include "unicode/unistr.h"
|
72
|
+
* #include "unicode/ustream.h"
|
73
|
+
* using namespace std;
|
74
|
+
*
|
75
|
+
* int main() {
|
76
|
+
* double myNumber = 7.0;
|
77
|
+
* UnicodeString myString;
|
78
|
+
* UErrorCode success = U_ZERO_ERROR;
|
79
|
+
* NumberFormat* nf = NumberFormat::createInstance(success);
|
80
|
+
* nf->format(myNumber, myString);
|
81
|
+
* cout << " Example 1: " << myString << endl;
|
82
|
+
* }
|
75
83
|
* \endcode
|
76
|
-
* </pre>
|
77
84
|
* Note that there are additional factory methods within subclasses of
|
78
85
|
* NumberFormat.
|
79
86
|
* <P>
|
@@ -81,68 +88,56 @@ class StringEnumeration;
|
|
81
88
|
* the format and use it multiple times so that the system doesn't
|
82
89
|
* have to fetch the information about the local language and country
|
83
90
|
* conventions multiple times.
|
84
|
-
* <pre>
|
85
91
|
* \code
|
86
92
|
* UnicodeString myString;
|
87
93
|
* UErrorCode success = U_ZERO_ERROR;
|
88
|
-
* nf = NumberFormat::createInstance( success );
|
89
|
-
* int32_t
|
90
|
-
*
|
91
|
-
*
|
92
|
-
* for (int32_t i = 0; i < a_len; i++) {
|
93
|
-
* nf->format(a[i], myString);
|
94
|
-
* myString += " ; ";
|
94
|
+
* NumberFormat *nf = NumberFormat::createInstance( success );
|
95
|
+
* for (int32_t number: {123, 3333, -1234567}) {
|
96
|
+
* nf->format(number, myString);
|
97
|
+
* myString += "; ";
|
95
98
|
* }
|
96
99
|
* cout << " Example 2: " << myString << endl;
|
97
100
|
* \endcode
|
98
|
-
* </pre>
|
99
101
|
* To format a number for a different Locale, specify it in the
|
100
|
-
* call to createInstance().
|
101
|
-
* <pre>
|
102
|
+
* call to \c createInstance().
|
102
103
|
* \code
|
103
|
-
* nf = NumberFormat::createInstance(
|
104
|
+
* nf = NumberFormat::createInstance(Locale::getFrench(), success);
|
104
105
|
* \endcode
|
105
|
-
*
|
106
|
-
* You can use a NumberFormat to parse also.
|
107
|
-
* <pre>
|
106
|
+
* You can use a \c NumberFormat to parse also.
|
108
107
|
* \code
|
109
108
|
* UErrorCode success;
|
110
109
|
* Formattable result(-999); // initialized with error code
|
111
110
|
* nf->parse(myString, result, success);
|
112
111
|
* \endcode
|
113
|
-
*
|
114
|
-
*
|
115
|
-
*
|
116
|
-
* to get the currency number format for that country. Use getPercent
|
112
|
+
* Use \c createInstance() to get the normal number format for a \c Locale.
|
113
|
+
* There are other static factory methods available. Use \c createCurrencyInstance()
|
114
|
+
* to get the currency number format for that country. Use \c createPercentInstance()
|
117
115
|
* to get a format for displaying percentages. With this format, a
|
118
116
|
* fraction from 0.53 is displayed as 53%.
|
119
117
|
* <P>
|
120
|
-
*
|
121
|
-
*
|
122
|
-
*
|
123
|
-
*
|
124
|
-
* createInstance(
|
125
|
-
*
|
126
|
-
*
|
127
|
-
*
|
128
|
-
*
|
129
|
-
*
|
130
|
-
* createInstance(...kIsoCurrencyStyle...) to get the currency number format,
|
131
|
-
* in which the currency is represented by its ISO code, for example "USD3.00".
|
132
|
-
* createInstance(...kPluralCurrencyStyle...) to get the currency number format,
|
118
|
+
* The type of number formatting can be specified by passing a 'style' parameter to \c createInstance().
|
119
|
+
* For example, use\n
|
120
|
+
* \c createInstance(locale, UNUM_DECIMAL, errorCode) to get the normal number format,\n
|
121
|
+
* \c createInstance(locale, UNUM_PERCENT, errorCode) to get a format for displaying percentage,\n
|
122
|
+
* \c createInstance(locale, UNUM_SCIENTIFIC, errorCode) to get a format for displaying scientific number,\n
|
123
|
+
* \c createInstance(locale, UNUM_CURRENCY, errorCode) to get the currency number format,
|
124
|
+
* in which the currency is represented by its symbol, for example, "$3.00".\n
|
125
|
+
* \c createInstance(locale, UNUM_CURRENCY_ISO, errorCode) to get the currency number format,
|
126
|
+
* in which the currency is represented by its ISO code, for example "USD3.00".\n
|
127
|
+
* \c createInstance(locale, UNUM_CURRENCY_PLURAL, errorCode) to get the currency number format,
|
133
128
|
* in which the currency is represented by its full name in plural format,
|
134
129
|
* for example, "3.00 US dollars" or "1.00 US dollar".
|
135
130
|
* <P>
|
136
131
|
* You can also control the display of numbers with such methods as
|
137
|
-
* getMinimumFractionDigits. If you want even more control over the
|
132
|
+
* \c getMinimumFractionDigits(). If you want even more control over the
|
138
133
|
* format or parsing, or want to give your users more control, you can
|
139
|
-
* try
|
140
|
-
*
|
141
|
-
* countries; just remember to
|
134
|
+
* try dynamic_casting the \c NumberFormat you get from the factory methods to a
|
135
|
+
* \c DecimalFormat. This will work for the vast majority of
|
136
|
+
* countries; just remember to test for NULL in case you
|
142
137
|
* encounter an unusual one.
|
143
138
|
* <P>
|
144
139
|
* You can also use forms of the parse and format methods with
|
145
|
-
* ParsePosition and FieldPosition to allow you to:
|
140
|
+
* \c ParsePosition and \c FieldPosition to allow you to:
|
146
141
|
* <ul type=round>
|
147
142
|
* <li>(a) progressively parse through pieces of a string.
|
148
143
|
* <li>(b) align the decimal point and other areas.
|
@@ -150,8 +145,8 @@ class StringEnumeration;
|
|
150
145
|
* For example, you can align numbers in two ways.
|
151
146
|
* <P>
|
152
147
|
* If you are using a monospaced font with spacing for alignment, you
|
153
|
-
* can pass the FieldPosition in your format call, with field =
|
154
|
-
*
|
148
|
+
* can pass the \c FieldPosition in your format call, with field =
|
149
|
+
* \c UNUM_INTEGER_FIELD. On output, \c getEndIndex will be set to the offset
|
155
150
|
* between the last character of the integer and the decimal. Add
|
156
151
|
* (desiredSpaceCount - getEndIndex) spaces at the front of the
|
157
152
|
* string.
|
@@ -479,6 +474,7 @@ public:
|
|
479
474
|
* Result is appended to existing contents.
|
480
475
|
* @param pos On input: an alignment field, if desired.
|
481
476
|
* On output: the offsets of the alignment field.
|
477
|
+
* @param status Output param filled with success/failure status.
|
482
478
|
* @return Reference to 'appendTo' parameter.
|
483
479
|
* @internal
|
484
480
|
*/
|
@@ -527,7 +523,7 @@ public:
|
|
527
523
|
UErrorCode& status) const;
|
528
524
|
public:
|
529
525
|
/**
|
530
|
-
* Format a decimal number.
|
526
|
+
* Format a decimal number.
|
531
527
|
* The number is a DigitList wrapper onto a floating point decimal number.
|
532
528
|
* The default implementation in NumberFormat converts the decimal number
|
533
529
|
* to a double and formats that. Subclasses of NumberFormat that want
|
@@ -549,7 +545,7 @@ public:
|
|
549
545
|
UErrorCode& status) const;
|
550
546
|
|
551
547
|
/**
|
552
|
-
* Format a decimal number.
|
548
|
+
* Format a decimal number.
|
553
549
|
* The number is a DigitList wrapper onto a floating point decimal number.
|
554
550
|
* The default implementation in NumberFormat converts the decimal number
|
555
551
|
* to a double and formats that. Subclasses of NumberFormat that want
|
@@ -659,8 +655,8 @@ public:
|
|
659
655
|
/**
|
660
656
|
* Sets whether lenient parsing should be enabled (it is off by default).
|
661
657
|
*
|
662
|
-
* @param enable
|
663
|
-
*
|
658
|
+
* @param enable \c TRUE if lenient parsing should be used,
|
659
|
+
* \c FALSE otherwise.
|
664
660
|
* @stable ICU 4.8
|
665
661
|
*/
|
666
662
|
virtual void setLenient(UBool enable);
|
@@ -668,28 +664,23 @@ public:
|
|
668
664
|
/**
|
669
665
|
* Returns whether lenient parsing is enabled (it is off by default).
|
670
666
|
*
|
671
|
-
* @return
|
672
|
-
*
|
667
|
+
* @return \c TRUE if lenient parsing is enabled,
|
668
|
+
* \c FALSE otherwise.
|
673
669
|
* @see #setLenient
|
674
670
|
* @stable ICU 4.8
|
675
671
|
*/
|
676
672
|
virtual UBool isLenient(void) const;
|
677
673
|
|
678
674
|
/**
|
679
|
-
*
|
680
|
-
*
|
681
|
-
* the other factory methods: getNumberInstance,
|
682
|
-
* getCurrencyInstance or getPercentInstance. Exactly which one
|
683
|
-
* is locale dependant.
|
675
|
+
* Create a default style NumberFormat for the current default locale.
|
676
|
+
* The default formatting style is locale dependent.
|
684
677
|
* @stable ICU 2.0
|
685
678
|
*/
|
686
679
|
static NumberFormat* U_EXPORT2 createInstance(UErrorCode&);
|
687
680
|
|
688
681
|
/**
|
689
|
-
*
|
690
|
-
* The default
|
691
|
-
* factory methods: getNumberInstance, getCurrencyInstance or
|
692
|
-
* getPercentInstance. Exactly which one is locale dependant.
|
682
|
+
* Create a default style NumberFormat for the specified locale.
|
683
|
+
* The default formatting style is locale dependent.
|
693
684
|
* @param inLocale the given locale.
|
694
685
|
* @stable ICU 2.0
|
695
686
|
*/
|
@@ -697,7 +688,7 @@ public:
|
|
697
688
|
UErrorCode&);
|
698
689
|
|
699
690
|
/**
|
700
|
-
*
|
691
|
+
* Create a specific style NumberFormat for the specified locale.
|
701
692
|
* @param desiredLocale the given locale.
|
702
693
|
* @param style the given style.
|
703
694
|
* @param errorCode Output param filled with success/failure status.
|
@@ -955,7 +946,7 @@ public:
|
|
955
946
|
* @param value The UDisplayContext value to set.
|
956
947
|
* @param status Input/output status. If at entry this indicates a failure
|
957
948
|
* status, the function will do nothing; otherwise this will be
|
958
|
-
* updated with any new status from the function.
|
949
|
+
* updated with any new status from the function.
|
959
950
|
* @stable ICU 53
|
960
951
|
*/
|
961
952
|
virtual void setContext(UDisplayContext value, UErrorCode& status);
|
@@ -966,7 +957,7 @@ public:
|
|
966
957
|
* @param type The UDisplayContextType whose value to return
|
967
958
|
* @param status Input/output status. If at entry this indicates a failure
|
968
959
|
* status, the function will do nothing; otherwise this will be
|
969
|
-
* updated with any new status from the function.
|
960
|
+
* updated with any new status from the function.
|
970
961
|
* @return The UDisplayContextValue for the specified type.
|
971
962
|
* @stable ICU 53
|
972
963
|
*/
|
@@ -1062,9 +1053,11 @@ private:
|
|
1062
1053
|
int32_t fMinFractionDigits;
|
1063
1054
|
|
1064
1055
|
protected:
|
1056
|
+
/** \internal */
|
1065
1057
|
static const int32_t gDefaultMaxIntegerDigits;
|
1058
|
+
/** \internal */
|
1066
1059
|
static const int32_t gDefaultMinIntegerDigits;
|
1067
|
-
|
1060
|
+
|
1068
1061
|
private:
|
1069
1062
|
UBool fParseIntegerOnly;
|
1070
1063
|
UBool fLenient; // TRUE => lenient parse is enabled
|