pango 3.0.7-x86-mingw32 → 3.0.8-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
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,6 +1,6 @@
1
1
  /*
2
2
  *******************************************************************************
3
- * Copyright (c) 1996-2010, International Business Machines Corporation
3
+ * Copyright (c) 1996-2016, International Business Machines Corporation
4
4
  * and others. All Rights Reserved.
5
5
  *******************************************************************************
6
6
  * File unorm.h
@@ -22,16 +22,19 @@
22
22
  #include "unicode/uiter.h"
23
23
  #include "unicode/unorm2.h"
24
24
 
25
+ #ifndef U_HIDE_DEPRECATED_API
26
+
25
27
  /**
26
28
  * \file
27
- * \brief C API: Unicode Normalization
29
+ * \brief C API: Unicode Normalization
28
30
  *
29
- * <h2>Unicode normalization API</h2>
31
+ * Old Unicode normalization API.
30
32
  *
31
- * Note: This API has been replaced by the unorm2.h API and is only available
33
+ * This API has been replaced by the unorm2.h API and is only available
32
34
  * for backward compatibility. The functions here simply delegate to the
33
35
  * unorm2.h functions, for example unorm2_getInstance() and unorm2_normalize().
34
36
  * There is one exception: The new API does not provide a replacement for unorm_compare().
37
+ * Its declaration has been moved to unorm2.h.
35
38
  *
36
39
  * <code>unorm_normalize</code> transforms Unicode text into an equivalent composed or
37
40
  * decomposed form, allowing for easier sorting and searching of text.
@@ -57,7 +60,7 @@
57
60
  *
58
61
  * To a user of your program, however, both of these sequences should be
59
62
  * treated as the same "user-level" character "A with acute accent". When you are searching or
60
- * comparing text, you must ensure that these two sequences are treated
63
+ * comparing text, you must ensure that these two sequences are treated
61
64
  * equivalently. In addition, you must handle characters with more than one
62
65
  * accent. Sometimes the order of a character's combining accents is
63
66
  * significant, while in other cases accent sequences in different orders are
@@ -85,8 +88,8 @@
85
88
  * will often want to use these mappings.
86
89
  *
87
90
  * <code>unorm_normalize</code> helps solve these problems by transforming text into the
88
- * canonical composed and decomposed forms as shown in the first example above.
89
- * In addition, you can have it perform compatibility decompositions so that
91
+ * canonical composed and decomposed forms as shown in the first example above.
92
+ * In addition, you can have it perform compatibility decompositions so that
90
93
  * you can treat compatibility characters the same as their equivalents.
91
94
  * Finally, <code>unorm_normalize</code> rearranges accents into the proper canonical
92
95
  * order, so that you do not have to worry about accent rearrangement on your
@@ -128,25 +131,25 @@
128
131
 
129
132
  /**
130
133
  * Constants for normalization modes.
131
- * @stable ICU 2.0
134
+ * @deprecated ICU 56 Use unorm2.h instead.
132
135
  */
133
136
  typedef enum {
134
- /** No decomposition/composition. @stable ICU 2.0 */
135
- UNORM_NONE = 1,
136
- /** Canonical decomposition. @stable ICU 2.0 */
137
+ /** No decomposition/composition. @deprecated ICU 56 Use unorm2.h instead. */
138
+ UNORM_NONE = 1,
139
+ /** Canonical decomposition. @deprecated ICU 56 Use unorm2.h instead. */
137
140
  UNORM_NFD = 2,
138
- /** Compatibility decomposition. @stable ICU 2.0 */
141
+ /** Compatibility decomposition. @deprecated ICU 56 Use unorm2.h instead. */
139
142
  UNORM_NFKD = 3,
140
- /** Canonical decomposition followed by canonical composition. @stable ICU 2.0 */
143
+ /** Canonical decomposition followed by canonical composition. @deprecated ICU 56 Use unorm2.h instead. */
141
144
  UNORM_NFC = 4,
142
- /** Default normalization. @stable ICU 2.0 */
143
- UNORM_DEFAULT = UNORM_NFC,
144
- /** Compatibility decomposition followed by canonical composition. @stable ICU 2.0 */
145
+ /** Default normalization. @deprecated ICU 56 Use unorm2.h instead. */
146
+ UNORM_DEFAULT = UNORM_NFC,
147
+ /** Compatibility decomposition followed by canonical composition. @deprecated ICU 56 Use unorm2.h instead. */
145
148
  UNORM_NFKC =5,
146
- /** "Fast C or D" form. @stable ICU 2.0 */
149
+ /** "Fast C or D" form. @deprecated ICU 56 Use unorm2.h instead. */
147
150
  UNORM_FCD = 6,
148
151
 
149
- /** One more than the highest normalization mode constant. @stable ICU 2.0 */
152
+ /** One more than the highest normalization mode constant. @deprecated ICU 56 Use unorm2.h instead. */
150
153
  UNORM_MODE_COUNT
151
154
  } UNormalizationMode;
152
155
 
@@ -155,14 +158,14 @@ typedef enum {
155
158
  * Use 0 for default options,
156
159
  * including normalization according to the Unicode version
157
160
  * that is currently supported by ICU (see u_getUnicodeVersion).
158
- * @stable ICU 2.6
161
+ * @deprecated ICU 56 Use unorm2.h instead.
159
162
  */
160
163
  enum {
161
164
  /**
162
165
  * Options bit set value to select Unicode 3.2 normalization
163
166
  * (except NormalizationCorrections).
164
167
  * At most one Unicode version can be selected at a time.
165
- * @stable ICU 2.6
168
+ * @deprecated ICU 56 Use unorm2.h instead.
166
169
  */
167
170
  UNORM_UNICODE_3_2=0x20
168
171
  };
@@ -180,7 +183,7 @@ enum {
180
183
  * internal normalization functions.)
181
184
  *
182
185
  * @see unorm_compare
183
- * @stable ICU 2.6
186
+ * @deprecated ICU 56 Use unorm2.h instead.
184
187
  */
185
188
  #define UNORM_COMPARE_NORM_OPTIONS_SHIFT 20
186
189
 
@@ -192,7 +195,7 @@ enum {
192
195
  *
193
196
  * @param source The string to normalize.
194
197
  * @param sourceLength The length of source, or -1 if NUL-terminated.
195
- * @param mode The normalization mode; one of UNORM_NONE,
198
+ * @param mode The normalization mode; one of UNORM_NONE,
196
199
  * UNORM_NFD, UNORM_NFC, UNORM_NFKC, UNORM_NFKD, UNORM_DEFAULT.
197
200
  * @param options The normalization options, ORed together (0 for no options).
198
201
  * @param result A pointer to a buffer to receive the result string.
@@ -201,23 +204,23 @@ enum {
201
204
  * @param status A pointer to a UErrorCode to receive any errors.
202
205
  * @return The total buffer size needed; if greater than resultLength,
203
206
  * the output was truncated, and the error code is set to U_BUFFER_OVERFLOW_ERROR.
204
- * @stable ICU 2.0
207
+ * @deprecated ICU 56 Use unorm2.h instead.
205
208
  */
206
- U_STABLE int32_t U_EXPORT2
209
+ U_STABLE int32_t U_EXPORT2
207
210
  unorm_normalize(const UChar *source, int32_t sourceLength,
208
211
  UNormalizationMode mode, int32_t options,
209
212
  UChar *result, int32_t resultLength,
210
213
  UErrorCode *status);
211
214
 
212
215
  /**
213
- * Performing quick check on a string, to quickly determine if the string is
216
+ * Performing quick check on a string, to quickly determine if the string is
214
217
  * in a particular normalization format.
215
218
  * Three types of result can be returned UNORM_YES, UNORM_NO or
216
219
  * UNORM_MAYBE. Result UNORM_YES indicates that the argument
217
220
  * string is in the desired normalized format, UNORM_NO determines that
218
- * argument string is not in the desired normalized format. A
219
- * UNORM_MAYBE result indicates that a more thorough check is required,
220
- * the user may have to put the string in its normalized form and compare the
221
+ * argument string is not in the desired normalized format. A
222
+ * UNORM_MAYBE result indicates that a more thorough check is required,
223
+ * the user may have to put the string in its normalized form and compare the
221
224
  * results.
222
225
  *
223
226
  * @param source string for determining if it is in a normalized format
@@ -227,7 +230,7 @@ unorm_normalize(const UChar *source, int32_t sourceLength,
227
230
  * @return UNORM_YES, UNORM_NO or UNORM_MAYBE
228
231
  *
229
232
  * @see unorm_isNormalized
230
- * @stable ICU 2.0
233
+ * @deprecated ICU 56 Use unorm2.h instead.
231
234
  */
232
235
  U_STABLE UNormalizationCheckResult U_EXPORT2
233
236
  unorm_quickCheck(const UChar *source, int32_t sourcelength,
@@ -248,10 +251,10 @@ unorm_quickCheck(const UChar *source, int32_t sourcelength,
248
251
  *
249
252
  * @see unorm_quickCheck
250
253
  * @see unorm_isNormalized
251
- * @stable ICU 2.6
254
+ * @deprecated ICU 56 Use unorm2.h instead.
252
255
  */
253
256
  U_STABLE UNormalizationCheckResult U_EXPORT2
254
- unorm_quickCheckWithOptions(const UChar *src, int32_t srcLength,
257
+ unorm_quickCheckWithOptions(const UChar *src, int32_t srcLength,
255
258
  UNormalizationMode mode, int32_t options,
256
259
  UErrorCode *pErrorCode);
257
260
 
@@ -274,7 +277,7 @@ unorm_quickCheckWithOptions(const UChar *src, int32_t srcLength,
274
277
  * "mode" normalization form.
275
278
  *
276
279
  * @see unorm_quickCheck
277
- * @stable ICU 2.2
280
+ * @deprecated ICU 56 Use unorm2.h instead.
278
281
  */
279
282
  U_STABLE UBool U_EXPORT2
280
283
  unorm_isNormalized(const UChar *src, int32_t srcLength,
@@ -296,7 +299,7 @@ unorm_isNormalized(const UChar *src, int32_t srcLength,
296
299
  *
297
300
  * @see unorm_quickCheck
298
301
  * @see unorm_isNormalized
299
- * @stable ICU 2.6
302
+ * @deprecated ICU 56 Use unorm2.h instead.
300
303
  */
301
304
  U_STABLE UBool U_EXPORT2
302
305
  unorm_isNormalizedWithOptions(const UChar *src, int32_t srcLength,
@@ -374,7 +377,7 @@ unorm_isNormalizedWithOptions(const UChar *src, int32_t srcLength,
374
377
  * @see unorm_previous
375
378
  * @see unorm_normalize
376
379
  *
377
- * @stable ICU 2.1
380
+ * @deprecated ICU 56 Use unorm2.h instead.
378
381
  */
379
382
  U_STABLE int32_t U_EXPORT2
380
383
  unorm_next(UCharIterator *src,
@@ -407,7 +410,7 @@ unorm_next(UCharIterator *src,
407
410
  * @see unorm_next
408
411
  * @see unorm_normalize
409
412
  *
410
- * @stable ICU 2.1
413
+ * @deprecated ICU 56 Use unorm2.h instead.
411
414
  */
412
415
  U_STABLE int32_t U_EXPORT2
413
416
  unorm_previous(UCharIterator *src,
@@ -451,7 +454,7 @@ unorm_previous(UCharIterator *src,
451
454
  * @see unorm_next
452
455
  * @see unorm_previous
453
456
  *
454
- * @stable ICU 2.1
457
+ * @deprecated ICU 56 Use unorm2.h instead.
455
458
  */
456
459
  U_STABLE int32_t U_EXPORT2
457
460
  unorm_concatenate(const UChar *left, int32_t leftLength,
@@ -460,102 +463,6 @@ unorm_concatenate(const UChar *left, int32_t leftLength,
460
463
  UNormalizationMode mode, int32_t options,
461
464
  UErrorCode *pErrorCode);
462
465
 
463
- /**
464
- * Option bit for unorm_compare:
465
- * Both input strings are assumed to fulfill FCD conditions.
466
- * @stable ICU 2.2
467
- */
468
- #define UNORM_INPUT_IS_FCD 0x20000
469
-
470
- /**
471
- * Option bit for unorm_compare:
472
- * Perform case-insensitive comparison.
473
- * @stable ICU 2.2
474
- */
475
- #define U_COMPARE_IGNORE_CASE 0x10000
476
-
477
- #ifndef U_COMPARE_CODE_POINT_ORDER
478
- /* see also unistr.h and ustring.h */
479
- /**
480
- * Option bit for u_strCaseCompare, u_strcasecmp, unorm_compare, etc:
481
- * Compare strings in code point order instead of code unit order.
482
- * @stable ICU 2.2
483
- */
484
- #define U_COMPARE_CODE_POINT_ORDER 0x8000
485
- #endif
486
-
487
- /**
488
- * Compare two strings for canonical equivalence.
489
- * Further options include case-insensitive comparison and
490
- * code point order (as opposed to code unit order).
491
- *
492
- * Canonical equivalence between two strings is defined as their normalized
493
- * forms (NFD or NFC) being identical.
494
- * This function compares strings incrementally instead of normalizing
495
- * (and optionally case-folding) both strings entirely,
496
- * improving performance significantly.
497
- *
498
- * Bulk normalization is only necessary if the strings do not fulfill the FCD
499
- * conditions. Only in this case, and only if the strings are relatively long,
500
- * is memory allocated temporarily.
501
- * For FCD strings and short non-FCD strings there is no memory allocation.
502
- *
503
- * Semantically, this is equivalent to
504
- * strcmp[CodePointOrder](NFD(foldCase(NFD(s1))), NFD(foldCase(NFD(s2))))
505
- * where code point order and foldCase are all optional.
506
- *
507
- * UAX 21 2.5 Caseless Matching specifies that for a canonical caseless match
508
- * the case folding must be performed first, then the normalization.
509
- *
510
- * @param s1 First source string.
511
- * @param length1 Length of first source string, or -1 if NUL-terminated.
512
- *
513
- * @param s2 Second source string.
514
- * @param length2 Length of second source string, or -1 if NUL-terminated.
515
- *
516
- * @param options A bit set of options:
517
- * - U_FOLD_CASE_DEFAULT or 0 is used for default options:
518
- * Case-sensitive comparison in code unit order, and the input strings
519
- * are quick-checked for FCD.
520
- *
521
- * - UNORM_INPUT_IS_FCD
522
- * Set if the caller knows that both s1 and s2 fulfill the FCD conditions.
523
- * If not set, the function will quickCheck for FCD
524
- * and normalize if necessary.
525
- *
526
- * - U_COMPARE_CODE_POINT_ORDER
527
- * Set to choose code point order instead of code unit order
528
- * (see u_strCompare for details).
529
- *
530
- * - U_COMPARE_IGNORE_CASE
531
- * Set to compare strings case-insensitively using case folding,
532
- * instead of case-sensitively.
533
- * If set, then the following case folding options are used.
534
- *
535
- * - Options as used with case-insensitive comparisons, currently:
536
- *
537
- * - U_FOLD_CASE_EXCLUDE_SPECIAL_I
538
- * (see u_strCaseCompare for details)
539
- *
540
- * - regular normalization options shifted left by UNORM_COMPARE_NORM_OPTIONS_SHIFT
541
- *
542
- * @param pErrorCode ICU error code in/out parameter.
543
- * Must fulfill U_SUCCESS before the function call.
544
- * @return <0 or 0 or >0 as usual for string comparisons
545
- *
546
- * @see unorm_normalize
547
- * @see UNORM_FCD
548
- * @see u_strCompare
549
- * @see u_strCaseCompare
550
- *
551
- * @stable ICU 2.2
552
- */
553
- U_STABLE int32_t U_EXPORT2
554
- unorm_compare(const UChar *s1, int32_t length1,
555
- const UChar *s2, int32_t length2,
556
- uint32_t options,
557
- UErrorCode *pErrorCode);
558
-
466
+ #endif /* U_HIDE_DEPRECATED_API */
559
467
  #endif /* #if !UCONFIG_NO_NORMALIZATION */
560
-
561
468
  #endif
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *******************************************************************************
3
3
  *
4
- * Copyright (C) 2009-2013, International Business Machines
4
+ * Copyright (C) 2009-2015, International Business Machines
5
5
  * Corporation and others. All Rights Reserved.
6
6
  *
7
7
  *******************************************************************************
@@ -524,5 +524,101 @@ unorm2_hasBoundaryAfter(const UNormalizer2 *norm2, UChar32 c);
524
524
  U_STABLE UBool U_EXPORT2
525
525
  unorm2_isInert(const UNormalizer2 *norm2, UChar32 c);
526
526
 
527
+ /**
528
+ * Option bit for unorm_compare:
529
+ * Both input strings are assumed to fulfill FCD conditions.
530
+ * @stable ICU 2.2
531
+ */
532
+ #define UNORM_INPUT_IS_FCD 0x20000
533
+
534
+ /**
535
+ * Option bit for unorm_compare:
536
+ * Perform case-insensitive comparison.
537
+ * @stable ICU 2.2
538
+ */
539
+ #define U_COMPARE_IGNORE_CASE 0x10000
540
+
541
+ #ifndef U_COMPARE_CODE_POINT_ORDER
542
+ /* see also unistr.h and ustring.h */
543
+ /**
544
+ * Option bit for u_strCaseCompare, u_strcasecmp, unorm_compare, etc:
545
+ * Compare strings in code point order instead of code unit order.
546
+ * @stable ICU 2.2
547
+ */
548
+ #define U_COMPARE_CODE_POINT_ORDER 0x8000
549
+ #endif
550
+
551
+ /**
552
+ * Compares two strings for canonical equivalence.
553
+ * Further options include case-insensitive comparison and
554
+ * code point order (as opposed to code unit order).
555
+ *
556
+ * Canonical equivalence between two strings is defined as their normalized
557
+ * forms (NFD or NFC) being identical.
558
+ * This function compares strings incrementally instead of normalizing
559
+ * (and optionally case-folding) both strings entirely,
560
+ * improving performance significantly.
561
+ *
562
+ * Bulk normalization is only necessary if the strings do not fulfill the FCD
563
+ * conditions. Only in this case, and only if the strings are relatively long,
564
+ * is memory allocated temporarily.
565
+ * For FCD strings and short non-FCD strings there is no memory allocation.
566
+ *
567
+ * Semantically, this is equivalent to
568
+ * strcmp[CodePointOrder](NFD(foldCase(NFD(s1))), NFD(foldCase(NFD(s2))))
569
+ * where code point order and foldCase are all optional.
570
+ *
571
+ * UAX 21 2.5 Caseless Matching specifies that for a canonical caseless match
572
+ * the case folding must be performed first, then the normalization.
573
+ *
574
+ * @param s1 First source string.
575
+ * @param length1 Length of first source string, or -1 if NUL-terminated.
576
+ *
577
+ * @param s2 Second source string.
578
+ * @param length2 Length of second source string, or -1 if NUL-terminated.
579
+ *
580
+ * @param options A bit set of options:
581
+ * - U_FOLD_CASE_DEFAULT or 0 is used for default options:
582
+ * Case-sensitive comparison in code unit order, and the input strings
583
+ * are quick-checked for FCD.
584
+ *
585
+ * - UNORM_INPUT_IS_FCD
586
+ * Set if the caller knows that both s1 and s2 fulfill the FCD conditions.
587
+ * If not set, the function will quickCheck for FCD
588
+ * and normalize if necessary.
589
+ *
590
+ * - U_COMPARE_CODE_POINT_ORDER
591
+ * Set to choose code point order instead of code unit order
592
+ * (see u_strCompare for details).
593
+ *
594
+ * - U_COMPARE_IGNORE_CASE
595
+ * Set to compare strings case-insensitively using case folding,
596
+ * instead of case-sensitively.
597
+ * If set, then the following case folding options are used.
598
+ *
599
+ * - Options as used with case-insensitive comparisons, currently:
600
+ *
601
+ * - U_FOLD_CASE_EXCLUDE_SPECIAL_I
602
+ * (see u_strCaseCompare for details)
603
+ *
604
+ * - regular normalization options shifted left by UNORM_COMPARE_NORM_OPTIONS_SHIFT
605
+ *
606
+ * @param pErrorCode ICU error code in/out parameter.
607
+ * Must fulfill U_SUCCESS before the function call.
608
+ * @return <0 or 0 or >0 as usual for string comparisons
609
+ *
610
+ * @see unorm_normalize
611
+ * @see UNORM_FCD
612
+ * @see u_strCompare
613
+ * @see u_strCaseCompare
614
+ *
615
+ * @stable ICU 2.2
616
+ */
617
+ U_STABLE int32_t U_EXPORT2
618
+ unorm_compare(const UChar *s1, int32_t length1,
619
+ const UChar *s2, int32_t length2,
620
+ uint32_t options,
621
+ UErrorCode *pErrorCode);
622
+
527
623
  #endif /* !UCONFIG_NO_NORMALIZATION */
528
624
  #endif /* __UNORM2_H__ */
@@ -148,7 +148,11 @@ typedef enum UNumberFormatStyle {
148
148
  */
149
149
  UNUM_DECIMAL=1,
150
150
  /**
151
- * Currency format with a currency symbol, e.g., "$1.00".
151
+ * Currency format (generic).
152
+ * Defaults to UNUM_CURRENCY_STANDARD style
153
+ * (using currency symbol, e.g., "$1.00", with non-accounting
154
+ * style for negative values e.g. using minus sign).
155
+ * The specific style may be specified using the -cf- locale key.
152
156
  * @stable ICU 2.0
153
157
  */
154
158
  UNUM_CURRENCY=2,
@@ -205,23 +209,45 @@ typedef enum UNumberFormatStyle {
205
209
  /**
206
210
  * Currency format for accounting, e.g., "($3.00)" for
207
211
  * negative currency amount instead of "-$3.00" ({@link #UNUM_CURRENCY}).
212
+ * Overrides any style specified using -cf- key in locale.
208
213
  * @stable ICU 53
209
214
  */
210
215
  UNUM_CURRENCY_ACCOUNTING=12,
211
- #ifndef U_HIDE_DRAFT_API
212
216
  /**
213
217
  * Currency format with a currency symbol given CASH usage, e.g.,
214
218
  * "NT$3" instead of "NT$3.23".
215
- * @draft ICU 54
219
+ * @stable ICU 54
216
220
  */
217
221
  UNUM_CASH_CURRENCY=13,
222
+ #ifndef U_HIDE_DRAFT_API
223
+ /**
224
+ * Decimal format expressed using compact notation
225
+ * (short form, corresponds to UNumberCompactStyle=UNUM_SHORT)
226
+ * e.g. "23K", "45B"
227
+ * @draft ICU 56
228
+ */
229
+ UNUM_DECIMAL_COMPACT_SHORT=14,
230
+ /**
231
+ * Decimal format expressed using compact notation
232
+ * (long form, corresponds to UNumberCompactStyle=UNUM_LONG)
233
+ * e.g. "23 thousand", "45 billion"
234
+ * @draft ICU 56
235
+ */
236
+ UNUM_DECIMAL_COMPACT_LONG=15,
237
+ /**
238
+ * Currency format with a currency symbol, e.g., "$1.00",
239
+ * using non-accounting style for negative values (e.g. minus sign).
240
+ * Overrides any style specified using -cf- key in locale.
241
+ * @draft ICU 56
242
+ */
243
+ UNUM_CURRENCY_STANDARD=16,
218
244
  #endif /* U_HIDE_DRAFT_API */
219
245
 
220
246
  /**
221
247
  * One more than the highest number format style constant.
222
248
  * @stable ICU 4.8
223
249
  */
224
- UNUM_FORMAT_STYLE_COUNT=14,
250
+ UNUM_FORMAT_STYLE_COUNT=17,
225
251
 
226
252
  /**
227
253
  * Default format
@@ -615,6 +641,8 @@ unum_formatUFormattable(const UNumberFormat* fmt,
615
641
  /**
616
642
  * Parse a string into an integer using a UNumberFormat.
617
643
  * The string will be parsed according to the UNumberFormat's locale.
644
+ * Note: parsing is not supported for styles UNUM_DECIMAL_COMPACT_SHORT
645
+ * and UNUM_DECIMAL_COMPACT_LONG.
618
646
  * @param fmt The formatter to use.
619
647
  * @param text The text to parse.
620
648
  * @param textLength The length of text, or -1 if null-terminated.
@@ -639,6 +667,8 @@ unum_parse( const UNumberFormat* fmt,
639
667
  /**
640
668
  * Parse a string into an int64 using a UNumberFormat.
641
669
  * The string will be parsed according to the UNumberFormat's locale.
670
+ * Note: parsing is not supported for styles UNUM_DECIMAL_COMPACT_SHORT
671
+ * and UNUM_DECIMAL_COMPACT_LONG.
642
672
  * @param fmt The formatter to use.
643
673
  * @param text The text to parse.
644
674
  * @param textLength The length of text, or -1 if null-terminated.
@@ -663,6 +693,8 @@ unum_parseInt64(const UNumberFormat* fmt,
663
693
  /**
664
694
  * Parse a string into a double using a UNumberFormat.
665
695
  * The string will be parsed according to the UNumberFormat's locale.
696
+ * Note: parsing is not supported for styles UNUM_DECIMAL_COMPACT_SHORT
697
+ * and UNUM_DECIMAL_COMPACT_LONG.
666
698
  * @param fmt The formatter to use.
667
699
  * @param text The text to parse.
668
700
  * @param textLength The length of text, or -1 if null-terminated.
@@ -691,6 +723,8 @@ unum_parseDouble( const UNumberFormat* fmt,
691
723
  * The syntax of the output is a "numeric string"
692
724
  * as defined in the Decimal Arithmetic Specification, available at
693
725
  * http://speleotrove.com/decimal
726
+ * Note: parsing is not supported for styles UNUM_DECIMAL_COMPACT_SHORT
727
+ * and UNUM_DECIMAL_COMPACT_LONG.
694
728
  * @param fmt The formatter to use.
695
729
  * @param text The text to parse.
696
730
  * @param textLength The length of text, or -1 if null-terminated.
@@ -750,6 +784,8 @@ unum_parseDoubleCurrency(const UNumberFormat* fmt,
750
784
  * Parse a UChar string into a UFormattable.
751
785
  * Example code:
752
786
  * \snippet test/cintltst/cnumtst.c unum_parseToUFormattable
787
+ * Note: parsing is not supported for styles UNUM_DECIMAL_COMPACT_SHORT
788
+ * and UNUM_DECIMAL_COMPACT_LONG.
753
789
  * @param fmt the formatter to use
754
790
  * @param result the UFormattable to hold the result. If NULL, a new UFormattable will be allocated (which the caller must close with ufmt_close).
755
791
  * @param text the text to parse
@@ -835,6 +871,9 @@ typedef enum UNumberFormatAttributeValue {
835
871
  UNUM_YES = 1,
836
872
  /** @internal */
837
873
  UNUM_MAYBE = 2
874
+ #else
875
+ /** @internal */
876
+ UNUM_FORMAT_ATTRIBUTE_VALUE_HIDDEN
838
877
  #endif /* U_HIDE_INTERNAL_API */
839
878
  } UNumberFormatAttributeValue;
840
879
  #endif
@@ -891,7 +930,7 @@ typedef enum UNumberFormatAttribute {
891
930
  * This is an internal ICU API. Do not use.
892
931
  * @internal
893
932
  */
894
- UNUM_PARSE_ALL_INPUT = UNUM_LENIENT_PARSE + 1,
933
+ UNUM_PARSE_ALL_INPUT = 20,
895
934
  #endif
896
935
  /**
897
936
  * Scale, which adjusts the position of the
@@ -902,23 +941,25 @@ typedef enum UNumberFormatAttribute {
902
941
  * <p>Example: setting the scale to -4, 123 formats as "0.0123"
903
942
  *
904
943
  * @stable ICU 51 */
905
- UNUM_SCALE = UNUM_LENIENT_PARSE + 2,
906
-
944
+ UNUM_SCALE = 21,
907
945
  #ifndef U_HIDE_INTERNAL_API
908
- /** Count of "regular" numeric attributes.
909
- * @internal */
910
- UNUM_NUMERIC_ATTRIBUTE_COUNT = UNUM_LENIENT_PARSE + 3,
946
+ /**
947
+ * Minimum grouping digits, technology preview.
948
+ * See DecimalFormat::getMinimumGroupingDigits().
949
+ *
950
+ * @internal technology preview
951
+ */
952
+ UNUM_MINIMUM_GROUPING_DIGITS = 22,
953
+ /* TODO: test C API when it becomes @draft */
911
954
  #endif /* U_HIDE_INTERNAL_API */
912
955
 
913
- #ifndef U_HIDE_DRAFT_API
914
956
  /**
915
957
  * if this attribute is set to 0, it is set to UNUM_CURRENCY_STANDARD purpose,
916
958
  * otherwise it is UNUM_CURRENCY_CASH purpose
917
959
  * Default: 0 (UNUM_CURRENCY_STANDARD purpose)
918
- * @draft ICU 54
960
+ * @stable ICU 54
919
961
  */
920
- UNUM_CURRENCY_USAGE = UNUM_LENIENT_PARSE + 4,
921
- #endif /* U_HIDE_DRAFT_API */
962
+ UNUM_CURRENCY_USAGE = 23,
922
963
 
923
964
  /* The following cannot be #ifndef U_HIDE_INTERNAL_API, needed in .h file variable declararions */
924
965
  /** One below the first bitfield-boolean item.
@@ -940,22 +981,20 @@ typedef enum UNumberFormatAttribute {
940
981
  */
941
982
  UNUM_PARSE_NO_EXPONENT,
942
983
 
943
- #ifndef U_HIDE_DRAFT_API
944
984
  /**
945
985
  * if this attribute is set to 1, specifies that, if the pattern contains a
946
986
  * decimal mark the input is required to have one. If this attribute is set to 0,
947
987
  * specifies that input does not have to contain a decimal mark.
948
988
  * Has no effect on formatting.
949
989
  * Default: 0 (unset)
950
- * @draft ICU 54
990
+ * @stable ICU 54
951
991
  */
952
- UNUM_PARSE_DECIMAL_MARK_REQUIRED = UNUM_PARSE_NO_EXPONENT+1,
953
- #endif /* U_HIDE_DRAFT_API */
992
+ UNUM_PARSE_DECIMAL_MARK_REQUIRED = 0x1002,
954
993
 
955
994
  /* The following cannot be #ifndef U_HIDE_INTERNAL_API, needed in .h file variable declararions */
956
995
  /** Limit of boolean attributes.
957
996
  * @internal */
958
- UNUM_LIMIT_BOOLEAN_ATTRIBUTE = UNUM_PARSE_NO_EXPONENT+2
997
+ UNUM_LIMIT_BOOLEAN_ATTRIBUTE = 0x1003
959
998
  } UNumberFormatAttribute;
960
999
 
961
1000
  /**
@@ -966,7 +1005,7 @@ typedef enum UNumberFormatAttribute {
966
1005
  * UNUM_DECIMAL_ALWAYS_SHOWN, UNUM_MAX_INTEGER_DIGITS, UNUM_MIN_INTEGER_DIGITS, UNUM_INTEGER_DIGITS,
967
1006
  * UNUM_MAX_FRACTION_DIGITS, UNUM_MIN_FRACTION_DIGITS, UNUM_FRACTION_DIGITS, UNUM_MULTIPLIER,
968
1007
  * UNUM_GROUPING_SIZE, UNUM_ROUNDING_MODE, UNUM_FORMAT_WIDTH, UNUM_PADDING_POSITION, UNUM_SECONDARY_GROUPING_SIZE,
969
- * UNUM_SCALE.
1008
+ * UNUM_SCALE, UNUM_MINIMUM_GROUPING_DIGITS.
970
1009
  * @return The value of attr.
971
1010
  * @see unum_setAttribute
972
1011
  * @see unum_getDoubleAttribute
@@ -989,7 +1028,7 @@ unum_getAttribute(const UNumberFormat* fmt,
989
1028
  * UNUM_DECIMAL_ALWAYS_SHOWN, UNUM_MAX_INTEGER_DIGITS, UNUM_MIN_INTEGER_DIGITS, UNUM_INTEGER_DIGITS,
990
1029
  * UNUM_MAX_FRACTION_DIGITS, UNUM_MIN_FRACTION_DIGITS, UNUM_FRACTION_DIGITS, UNUM_MULTIPLIER,
991
1030
  * UNUM_GROUPING_SIZE, UNUM_ROUNDING_MODE, UNUM_FORMAT_WIDTH, UNUM_PADDING_POSITION, UNUM_SECONDARY_GROUPING_SIZE,
992
- * UNUM_LENIENT_PARSE, or UNUM_SCALE.
1031
+ * UNUM_LENIENT_PARSE, UNUM_SCALE, UNUM_MINIMUM_GROUPING_DIGITS.
993
1032
  * @param newValue The new value of attr.
994
1033
  * @see unum_getAttribute
995
1034
  * @see unum_getDoubleAttribute
@@ -1228,12 +1267,10 @@ typedef enum UNumberFormatSymbol {
1228
1267
  */
1229
1268
  UNUM_NINE_DIGIT_SYMBOL = 26,
1230
1269
 
1231
- #ifndef U_HIDE_DRAFT_API
1232
1270
  /** Multiplication sign
1233
- * @draft ICU 54
1271
+ * @stable ICU 54
1234
1272
  */
1235
1273
  UNUM_EXPONENT_MULTIPLICATION_SYMBOL = 27,
1236
- #endif /* U_HIDE_DRAFT_API */
1237
1274
 
1238
1275
  /** count symbol constants */
1239
1276
  UNUM_FORMAT_SYMBOL_COUNT = 28