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.
Files changed (351) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +6 -6
  3. data/ext/pango/extconf.rb +1 -0
  4. data/lib/2.2/pango.so +0 -0
  5. data/lib/2.3/pango.so +0 -0
  6. data/lib/pango.rb +2 -10
  7. data/vendor/local/bin/derb.exe +0 -0
  8. data/vendor/local/bin/genbrk.exe +0 -0
  9. data/vendor/local/bin/genccode.exe +0 -0
  10. data/vendor/local/bin/gencfu.exe +0 -0
  11. data/vendor/local/bin/gencmn.exe +0 -0
  12. data/vendor/local/bin/gencnval.exe +0 -0
  13. data/vendor/local/bin/gendict.exe +0 -0
  14. data/vendor/local/bin/gennorm2.exe +0 -0
  15. data/vendor/local/bin/genrb.exe +0 -0
  16. data/vendor/local/bin/gensprep.exe +0 -0
  17. data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
  18. data/vendor/local/bin/hb-shape.exe +0 -0
  19. data/vendor/local/bin/hb-view.exe +0 -0
  20. data/vendor/local/bin/icu-config +6 -7
  21. data/vendor/local/bin/icuinfo.exe +0 -0
  22. data/vendor/local/bin/icupkg.exe +0 -0
  23. data/vendor/local/bin/libharfbuzz-0.dll +0 -0
  24. data/vendor/local/bin/libpango-1.0-0.dll +0 -0
  25. data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
  26. data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
  27. data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
  28. data/vendor/local/bin/makeconv.exe +0 -0
  29. data/vendor/local/bin/pango-view.exe +0 -0
  30. data/vendor/local/bin/pkgdata.exe +0 -0
  31. data/vendor/local/bin/uconv.exe +0 -0
  32. data/vendor/local/include/harfbuzz/hb-blob.h +12 -12
  33. data/vendor/local/include/harfbuzz/hb-buffer.h +181 -78
  34. data/vendor/local/include/harfbuzz/hb-common.h +23 -17
  35. data/vendor/local/include/harfbuzz/hb-deprecated.h +10 -0
  36. data/vendor/local/include/harfbuzz/hb-face.h +17 -17
  37. data/vendor/local/include/harfbuzz/hb-font.h +180 -79
  38. data/vendor/local/include/harfbuzz/hb-ft.h +16 -9
  39. data/vendor/local/include/harfbuzz/hb-glib.h +4 -4
  40. data/vendor/local/include/harfbuzz/hb-icu.h +3 -3
  41. data/vendor/local/include/harfbuzz/hb-ot-font.h +1 -1
  42. data/vendor/local/include/harfbuzz/hb-ot-layout.h +28 -28
  43. data/vendor/local/include/harfbuzz/hb-ot-shape.h +2 -2
  44. data/vendor/local/include/harfbuzz/hb-ot-tag.h +4 -4
  45. data/vendor/local/include/harfbuzz/hb-set.h +29 -26
  46. data/vendor/local/include/harfbuzz/hb-shape-plan.h +9 -9
  47. data/vendor/local/include/harfbuzz/hb-shape.h +5 -5
  48. data/vendor/local/include/harfbuzz/hb-unicode.h +47 -31
  49. data/vendor/local/include/harfbuzz/hb-version.h +6 -6
  50. data/vendor/local/include/harfbuzz/hb.h +4 -0
  51. data/vendor/local/include/layout/LELanguages.h +2 -5
  52. data/vendor/local/include/layout/LEScripts.h +3 -62
  53. data/vendor/local/include/layout/LETableReference.h +15 -3
  54. data/vendor/local/include/pango-1.0/pango/pango-attributes.h +27 -1
  55. data/vendor/local/include/pango-1.0/pango/pango-engine.h +50 -31
  56. data/vendor/local/include/pango-1.0/pango/pango-features.h +3 -3
  57. data/vendor/local/include/pango-1.0/pango/pango-font.h +1 -0
  58. data/vendor/local/include/pango-1.0/pango/pango-glyph-item.h +2 -0
  59. data/vendor/local/include/pango-1.0/pango/pango-glyph.h +5 -0
  60. data/vendor/local/include/pango-1.0/pango/pango-item.h +4 -0
  61. data/vendor/local/include/pango-1.0/pango/pango-layout.h +3 -0
  62. data/vendor/local/include/pango-1.0/pango/pango-matrix.h +2 -0
  63. data/vendor/local/include/pango-1.0/pango/pango-modules.h +6 -0
  64. data/vendor/local/include/pango-1.0/pango/pango-ot.h +8 -5
  65. data/vendor/local/include/pango-1.0/pango/pango-renderer.h +9 -2
  66. data/vendor/local/include/pango-1.0/pango/pango-script.h +63 -1
  67. data/vendor/local/include/pango-1.0/pango/pango-utils.h +12 -0
  68. data/vendor/local/include/pango-1.0/pango/pangofc-font.h +7 -10
  69. data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +25 -16
  70. data/vendor/local/include/unicode/brkiter.h +6 -3
  71. data/vendor/local/include/unicode/bytestriebuilder.h +3 -1
  72. data/vendor/local/include/unicode/coll.h +21 -18
  73. data/vendor/local/include/unicode/compactdecimalformat.h +87 -3
  74. data/vendor/local/include/unicode/currpinf.h +2 -1
  75. data/vendor/local/include/unicode/datefmt.h +19 -41
  76. data/vendor/local/include/unicode/dcfmtsym.h +28 -9
  77. data/vendor/local/include/unicode/decimfmt.h +126 -304
  78. data/vendor/local/include/unicode/dtfmtsym.h +50 -19
  79. data/vendor/local/include/unicode/dtitvfmt.h +89 -30
  80. data/vendor/local/include/unicode/dtitvinf.h +63 -60
  81. data/vendor/local/include/unicode/dtptngen.h +81 -30
  82. data/vendor/local/include/unicode/filteredbrk.h +14 -24
  83. data/vendor/local/include/unicode/icuplug.h +9 -2
  84. data/vendor/local/include/unicode/listformatter.h +2 -2
  85. data/vendor/local/include/unicode/localpointer.h +231 -13
  86. data/vendor/local/include/unicode/locdspnm.h +2 -2
  87. data/vendor/local/include/unicode/locid.h +1 -3
  88. data/vendor/local/include/unicode/measfmt.h +14 -14
  89. data/vendor/local/include/unicode/measunit.h +213 -225
  90. data/vendor/local/include/unicode/normlzr.h +55 -43
  91. data/vendor/local/include/unicode/numfmt.h +60 -67
  92. data/vendor/local/include/unicode/platform.h +96 -3
  93. data/vendor/local/include/unicode/plurrule.h +5 -0
  94. data/vendor/local/include/unicode/rbnf.h +43 -4
  95. data/vendor/local/include/unicode/regex.h +14 -4
  96. data/vendor/local/include/unicode/region.h +5 -11
  97. data/vendor/local/include/unicode/reldatefmt.h +53 -43
  98. data/vendor/local/include/unicode/scientificnumberformatter.h +9 -11
  99. data/vendor/local/include/unicode/simpleformatter.h +295 -0
  100. data/vendor/local/include/unicode/smpdtfmt.h +36 -22
  101. data/vendor/local/include/unicode/tblcoll.h +32 -31
  102. data/vendor/local/include/unicode/timezone.h +4 -6
  103. data/vendor/local/include/unicode/tmunit.h +13 -13
  104. data/vendor/local/include/unicode/tzfmt.h +3 -6
  105. data/vendor/local/include/unicode/tznames.h +2 -4
  106. data/vendor/local/include/unicode/ubrk.h +14 -2
  107. data/vendor/local/include/unicode/uchar.h +61 -8
  108. data/vendor/local/include/unicode/ucharstriebuilder.h +1 -1
  109. data/vendor/local/include/unicode/ucol.h +2 -0
  110. data/vendor/local/include/unicode/uconfig.h +11 -6
  111. data/vendor/local/include/unicode/ucurr.h +24 -32
  112. data/vendor/local/include/unicode/udat.h +103 -87
  113. data/vendor/local/include/unicode/udateintervalformat.h +4 -1
  114. data/vendor/local/include/unicode/udatpg.h +6 -4
  115. data/vendor/local/include/unicode/udisplaycontext.h +6 -12
  116. data/vendor/local/include/unicode/ufieldpositer.h +10 -12
  117. data/vendor/local/include/unicode/uldnames.h +2 -2
  118. data/vendor/local/include/unicode/ulistformatter.h +9 -11
  119. data/vendor/local/include/unicode/uloc.h +13 -16
  120. data/vendor/local/include/unicode/umachine.h +2 -2
  121. data/vendor/local/include/unicode/uniset.h +25 -3
  122. data/vendor/local/include/unicode/unistr.h +168 -27
  123. data/vendor/local/include/unicode/unorm.h +40 -133
  124. data/vendor/local/include/unicode/unorm2.h +97 -1
  125. data/vendor/local/include/unicode/unum.h +61 -24
  126. data/vendor/local/include/unicode/uregex.h +7 -9
  127. data/vendor/local/include/unicode/ureldatefmt.h +365 -0
  128. data/vendor/local/include/unicode/urename.h +12 -1
  129. data/vendor/local/include/unicode/ures.h +157 -142
  130. data/vendor/local/include/unicode/uscript.h +1 -1
  131. data/vendor/local/include/unicode/ustdio.h +3 -5
  132. data/vendor/local/include/unicode/utf8.h +2 -2
  133. data/vendor/local/include/unicode/utypes.h +4 -6
  134. data/vendor/local/include/unicode/uvernum.h +7 -7
  135. data/vendor/local/lib/girepository-1.0/Pango-1.0.typelib +0 -0
  136. data/vendor/local/lib/girepository-1.0/PangoCairo-1.0.typelib +0 -0
  137. data/vendor/local/lib/girepository-1.0/PangoFT2-1.0.typelib +0 -0
  138. data/vendor/local/lib/icu/{55.1 → 57.1}/Makefile.inc +6 -6
  139. data/vendor/local/lib/icu/{55.1 → 57.1}/pkgdata.inc +1 -1
  140. data/vendor/local/lib/icu/Makefile.inc +6 -6
  141. data/vendor/local/lib/icu/pkgdata.inc +1 -1
  142. data/vendor/local/lib/icudt.dll +0 -0
  143. data/vendor/local/lib/{icudt55.dll → icudt57.dll} +0 -0
  144. data/vendor/local/lib/icuin.dll +0 -0
  145. data/vendor/local/lib/icuin57.dll +0 -0
  146. data/vendor/local/lib/icuio.dll +0 -0
  147. data/vendor/local/lib/icuio57.dll +0 -0
  148. data/vendor/local/lib/icule.dll +0 -0
  149. data/vendor/local/lib/icule57.dll +0 -0
  150. data/vendor/local/lib/iculx.dll +0 -0
  151. data/vendor/local/lib/iculx57.dll +0 -0
  152. data/vendor/local/lib/icutest.dll +0 -0
  153. data/vendor/local/lib/icutest57.dll +0 -0
  154. data/vendor/local/lib/icutu.dll +0 -0
  155. data/vendor/local/lib/icutu57.dll +0 -0
  156. data/vendor/local/lib/icuuc.dll +0 -0
  157. data/vendor/local/lib/icuuc57.dll +0 -0
  158. data/vendor/local/lib/libharfbuzz-icu.a +0 -0
  159. data/vendor/local/lib/libharfbuzz-icu.la +4 -4
  160. data/vendor/local/lib/libharfbuzz.dll.a +0 -0
  161. data/vendor/local/lib/libharfbuzz.la +4 -4
  162. data/vendor/local/lib/libicudt.dll.a +0 -0
  163. data/vendor/local/lib/libicuin.dll.a +0 -0
  164. data/vendor/local/lib/libicuio.dll.a +0 -0
  165. data/vendor/local/lib/libicule.dll.a +0 -0
  166. data/vendor/local/lib/libiculx.dll.a +0 -0
  167. data/vendor/local/lib/libicutest.dll.a +0 -0
  168. data/vendor/local/lib/libicutu.dll.a +0 -0
  169. data/vendor/local/lib/libicuuc.dll.a +0 -0
  170. data/vendor/local/lib/libpango-1.0.dll.a +0 -0
  171. data/vendor/local/lib/libpango-1.0.la +6 -6
  172. data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
  173. data/vendor/local/lib/libpangocairo-1.0.la +6 -6
  174. data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
  175. data/vendor/local/lib/libpangoft2-1.0.la +6 -6
  176. data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
  177. data/vendor/local/lib/libpangowin32-1.0.la +6 -6
  178. data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +1 -1
  179. data/vendor/local/lib/pkgconfig/harfbuzz.pc +2 -2
  180. data/vendor/local/lib/pkgconfig/icu-i18n.pc +6 -6
  181. data/vendor/local/lib/pkgconfig/icu-io.pc +6 -6
  182. data/vendor/local/lib/pkgconfig/icu-le.pc +6 -6
  183. data/vendor/local/lib/pkgconfig/icu-lx.pc +6 -6
  184. data/vendor/local/lib/pkgconfig/icu-uc.pc +6 -6
  185. data/vendor/local/lib/pkgconfig/pango.pc +3 -5
  186. data/vendor/local/lib/pkgconfig/pangocairo.pc +3 -2
  187. data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
  188. data/vendor/local/lib/pkgconfig/pangowin32.pc +3 -2
  189. data/vendor/local/share/gir-1.0/Pango-1.0.gir +891 -307
  190. data/vendor/local/share/gir-1.0/PangoCairo-1.0.gir +45 -27
  191. data/vendor/local/share/gir-1.0/PangoFT2-1.0.gir +12 -5
  192. data/vendor/local/share/gtk-doc/html/harfbuzz/HarfBuzz.png +0 -0
  193. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-10.html +41 -0
  194. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-11.html +34 -0
  195. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-2.html +722 -0
  196. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-20.html +38 -0
  197. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-22.html +34 -0
  198. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-28.html +34 -0
  199. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-30.html +41 -0
  200. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-31.html +46 -0
  201. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-38.html +45 -0
  202. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-39.html +34 -0
  203. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-41.html +34 -0
  204. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-42.html +38 -0
  205. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-5.html +56 -0
  206. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-7.html +191 -0
  207. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-8.html +34 -0
  208. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-0-5.html +42 -0
  209. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-1-2.html +38 -0
  210. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-1-3.html +49 -0
  211. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +226 -58
  212. data/vendor/local/share/gtk-doc/html/harfbuzz/building.html +80 -0
  213. data/vendor/local/share/gtk-doc/html/harfbuzz/{ch06.html → ch07.html} +8 -2
  214. data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +13 -2
  215. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Buffers.html +2738 -0
  216. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Shaping.html +20 -22
  217. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +38 -38
  218. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +287 -189
  219. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +2 -2
  220. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +2 -2
  221. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +38 -38
  222. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +403 -126
  223. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +85 -10
  224. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +17 -2
  225. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +172 -2
  226. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +2 -2
  227. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +2 -2
  228. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-font.html +76 -0
  229. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +43 -3
  230. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-shape.html +80 -0
  231. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +6 -6
  232. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +2 -2
  233. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +39 -39
  234. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +21 -21
  235. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +51 -46
  236. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +2 -2
  237. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +11 -11
  238. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +4 -4
  239. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +262 -190
  240. data/vendor/local/share/gtk-doc/html/harfbuzz/hello-harfbuzz.html +2 -2
  241. data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +61 -7
  242. data/vendor/local/share/gtk-doc/html/harfbuzz/install-harfbuzz.html +59 -0
  243. data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +9 -8
  244. data/vendor/local/share/gtk-doc/html/harfbuzz/pt01.html +5 -0
  245. data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +37 -6
  246. data/vendor/local/share/gtk-doc/html/harfbuzz/why-is-it-called-harfbuzz.html +2 -2
  247. data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +22 -19
  248. data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +15 -12
  249. data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +9 -12
  250. data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +29 -35
  251. data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +206 -97
  252. data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +33 -8
  253. data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +150 -57
  254. data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +12 -4
  255. data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +3 -4
  256. data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +3 -4
  257. data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +3 -4
  258. data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +3 -4
  259. data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +3 -4
  260. data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +3 -4
  261. data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +3 -4
  262. data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +3 -4
  263. data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +3 -4
  264. data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +3 -4
  265. data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +4 -5
  266. data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +4 -5
  267. data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +5 -6
  268. data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +5 -6
  269. data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +7 -7
  270. data/vendor/local/share/gtk-doc/html/pango/api-index-1-38.html +79 -0
  271. data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +3 -4
  272. data/vendor/local/share/gtk-doc/html/pango/{tools.html → api-index-1-40.html} +9 -13
  273. data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +3 -4
  274. data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +3 -4
  275. data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +161 -4
  276. data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +51 -8
  277. data/vendor/local/share/gtk-doc/html/pango/index.html +8 -11
  278. data/vendor/local/share/gtk-doc/html/pango/index.sgml +251 -4
  279. data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +3 -4
  280. data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +18 -23
  281. data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +121 -123
  282. data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +5 -7
  283. data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +10 -14
  284. data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +28 -37
  285. data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +170 -224
  286. data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +35 -38
  287. data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +257 -170
  288. data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +186 -214
  289. data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +117 -132
  290. data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +26 -41
  291. data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +140 -153
  292. data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +270 -75
  293. data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +28 -34
  294. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +361 -203
  295. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +194 -161
  296. data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +16 -19
  297. data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +21 -28
  298. data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +34 -48
  299. data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +52 -57
  300. data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +10 -11
  301. data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +285 -39
  302. data/vendor/local/share/gtk-doc/html/pango/pango.html +3 -4
  303. data/vendor/local/share/gtk-doc/html/pango/rendering.html +3 -4
  304. data/vendor/local/share/gtk-doc/html/pango/style.css +9 -6
  305. data/vendor/local/share/icu/57.1/LICENSE +393 -0
  306. data/vendor/local/share/icu/{55.1 → 57.1}/config/mh-mingw +0 -0
  307. data/vendor/local/share/icu/{55.1 → 57.1}/install-sh +0 -0
  308. data/vendor/local/share/icu/{55.1 → 57.1}/mkinstalldirs +0 -0
  309. data/vendor/local/share/man/man1/derb.1 +2 -2
  310. data/vendor/local/share/man/man1/genbrk.1 +2 -2
  311. data/vendor/local/share/man/man1/gencfu.1 +1 -1
  312. data/vendor/local/share/man/man1/gencnval.1 +3 -3
  313. data/vendor/local/share/man/man1/gendict.1 +2 -2
  314. data/vendor/local/share/man/man1/genrb.1 +3 -3
  315. data/vendor/local/share/man/man1/icu-config.1 +2 -2
  316. data/vendor/local/share/man/man1/makeconv.1 +3 -3
  317. data/vendor/local/share/man/man1/pango-view.1 +113 -1
  318. data/vendor/local/share/man/man1/pkgdata.1 +2 -2
  319. data/vendor/local/share/man/man1/uconv.1 +2 -2
  320. data/vendor/local/share/man/man8/genccode.8 +2 -2
  321. data/vendor/local/share/man/man8/gencmn.8 +3 -3
  322. data/vendor/local/share/man/man8/gensprep.8 +3 -3
  323. data/vendor/local/share/man/man8/icupkg.8 +1 -1
  324. metadata +49 -40
  325. data/lib/2.0/pango.so +0 -0
  326. data/lib/2.1/pango.so +0 -0
  327. data/vendor/local/bin/pango-querymodules.exe +0 -0
  328. data/vendor/local/etc/pango/pango.modules +0 -19
  329. data/vendor/local/lib/icuin55.dll +0 -0
  330. data/vendor/local/lib/icuio55.dll +0 -0
  331. data/vendor/local/lib/icule55.dll +0 -0
  332. data/vendor/local/lib/iculx55.dll +0 -0
  333. data/vendor/local/lib/icutest55.dll +0 -0
  334. data/vendor/local/lib/icutu55.dll +0 -0
  335. data/vendor/local/lib/icuuc55.dll +0 -0
  336. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
  337. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
  338. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.la +0 -41
  339. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll +0 -0
  340. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll.a +0 -0
  341. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.la +0 -41
  342. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
  343. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
  344. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.la +0 -41
  345. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
  346. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
  347. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.la +0 -41
  348. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-buffer.html +0 -1704
  349. data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +0 -131
  350. data/vendor/local/share/icu/55.1/license.html +0 -384
  351. 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-2011, International Business Machines Corporation and
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
- * The Normalizer class supports the standard normalization forms described in
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
- * Note: This API has been replaced by the Normalizer2 class and is only available
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.6
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
- * @stable ICU 2.2
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
- * @stable ICU 2.6
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
- * @stable ICU 2.1
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.0
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
- * @stable ICU 2.2
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
- * @stable ICU 2.2
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-2015, International Business Machines Corporation and others.
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
- * double myNumber = 7.0;
70
- * UnicodeString myString;
71
- * UErrorCode success = U_ZERO_ERROR;
72
- * NumberFormat* nf = NumberFormat::createInstance(success)
73
- * nf->format(myNumber, myString);
74
- * cout << " Example 1: " << myString << endl;
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 a[] = { 123, 3333, -1234567 };
90
- * const int32_t a_len = sizeof(a) / sizeof(a[0]);
91
- * myString.remove();
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( Locale::FRENCH, success );
104
+ * nf = NumberFormat::createInstance(Locale::getFrench(), success);
104
105
  * \endcode
105
- * </pre>
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
- * </pre>
114
- * Use createInstance to get the normal number format for that country.
115
- * There are other static factory methods available. Use getCurrency
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
- * Starting from ICU 4.2, you can use createInstance() by passing in a 'style'
121
- * as parameter to get the correct instance.
122
- * For example,
123
- * use createInstance(...kNumberStyle...) to get the normal number format,
124
- * createInstance(...kPercentStyle...) to get a format for displaying
125
- * percentage,
126
- * createInstance(...kScientificStyle...) to get a format for displaying
127
- * scientific number,
128
- * createInstance(...kCurrencyStyle...) to get the currency number format,
129
- * in which the currency is represented by its symbol, for example, "$3.00".
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 casting the NumberFormat you get from the factory methods to a
140
- * DecimalNumberFormat. This will work for the vast majority of
141
- * countries; just remember to put it in a try block in case you
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
- * INTEGER_FIELD. On output, getEndIndex will be set to the offset
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 <code>TRUE</code> if lenient parsing should be used,
663
- * <code>FALSE</code> otherwise.
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 <code>TRUE</code> if lenient parsing is enabled,
672
- * <code>FALSE</code> otherwise.
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
- * Returns the default number format for the current default
680
- * locale. The default format is one of the styles provided by
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
- * Returns the default number format for the specified locale.
690
- * The default format is one of the styles provided by the other
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
- * Creates the specified decimal format style of the desired locale.
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