pango 3.2.5-x64-mingw32 → 3.2.6-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (368) hide show
  1. checksums.yaml +4 -4
  2. data/COPYING.LIB +502 -0
  3. data/README.md +25 -0
  4. data/Rakefile +8 -8
  5. data/ext/pango/extconf.rb +4 -1
  6. data/ext/pango/pango.def +1 -0
  7. data/ext/pango/rb-pango-attr-list.c +3 -3
  8. data/ext/pango/rb-pango-attribute.c +67 -57
  9. data/ext/pango/rb-pango-conversions.h +3 -3
  10. data/ext/pango/rb-pango-private.h +0 -1
  11. data/ext/pango/rb-pango.c +0 -1
  12. data/ext/pango/rb-pango.h +2 -1
  13. data/lib/2.2/pango.so +0 -0
  14. data/lib/2.3/pango.so +0 -0
  15. data/lib/2.4/pango.so +0 -0
  16. data/lib/2.5/pango.so +0 -0
  17. data/lib/pango/loader.rb +13 -1
  18. data/lib/pango/rectangle.rb +7 -1
  19. data/pango.gemspec +43 -0
  20. data/vendor/local/bin/derb.exe +0 -0
  21. data/vendor/local/bin/escapesrc.exe +0 -0
  22. data/vendor/local/bin/fribidi.exe +0 -0
  23. data/vendor/local/bin/genbrk.exe +0 -0
  24. data/vendor/local/bin/genccode.exe +0 -0
  25. data/vendor/local/bin/gencfu.exe +0 -0
  26. data/vendor/local/bin/gencmn.exe +0 -0
  27. data/vendor/local/bin/gencnval.exe +0 -0
  28. data/vendor/local/bin/gendict.exe +0 -0
  29. data/vendor/local/bin/gennorm2.exe +0 -0
  30. data/vendor/local/bin/genrb.exe +0 -0
  31. data/vendor/local/bin/gensprep.exe +0 -0
  32. data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
  33. data/vendor/local/bin/hb-shape.exe +0 -0
  34. data/vendor/local/bin/hb-subset.exe +0 -0
  35. data/vendor/local/bin/hb-view.exe +0 -0
  36. data/vendor/local/bin/icu-config +13 -8
  37. data/vendor/local/bin/icuinfo.exe +0 -0
  38. data/vendor/local/bin/icupkg.exe +0 -0
  39. data/vendor/local/bin/libfribidi-0.dll +0 -0
  40. data/vendor/local/bin/libgraphene-1.0-0.dll +0 -0
  41. data/vendor/local/bin/libharfbuzz-0.dll +0 -0
  42. data/vendor/local/bin/libharfbuzz-subset-0.dll +0 -0
  43. data/vendor/local/bin/libpango-1.0-0.dll +0 -0
  44. data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
  45. data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
  46. data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
  47. data/vendor/local/bin/makeconv.exe +0 -0
  48. data/vendor/local/bin/pango-view.exe +0 -0
  49. data/vendor/local/bin/pkgdata.exe +0 -0
  50. data/vendor/local/bin/uconv.exe +0 -0
  51. data/vendor/local/include/fribidi/fribidi-config.h +2 -2
  52. data/vendor/local/include/harfbuzz/hb-blob.h +2 -0
  53. data/vendor/local/include/harfbuzz/hb-common.h +24 -3
  54. data/vendor/local/include/harfbuzz/hb-face.h +4 -0
  55. data/vendor/local/include/harfbuzz/hb-map.h +104 -0
  56. data/vendor/local/include/harfbuzz/hb-ot-layout.h +1 -1
  57. data/vendor/local/include/harfbuzz/hb-set.h +0 -2
  58. data/vendor/local/include/harfbuzz/hb-subset-plan.hh +46 -25
  59. data/vendor/local/include/harfbuzz/hb-subset.h +4 -1
  60. data/vendor/local/include/harfbuzz/hb-version.h +3 -3
  61. data/vendor/local/include/harfbuzz/hb.h +1 -0
  62. data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
  63. data/vendor/local/include/unicode/alphaindex.h +2 -1
  64. data/vendor/local/include/unicode/appendable.h +25 -25
  65. data/vendor/local/include/unicode/basictz.h +1 -1
  66. data/vendor/local/include/unicode/brkiter.h +19 -24
  67. data/vendor/local/include/unicode/bytestream.h +26 -13
  68. data/vendor/local/include/unicode/bytestrie.h +2 -2
  69. data/vendor/local/include/unicode/bytestriebuilder.h +4 -5
  70. data/vendor/local/include/unicode/calendar.h +11 -11
  71. data/vendor/local/include/unicode/caniter.h +3 -3
  72. data/vendor/local/include/unicode/casemap.h +494 -0
  73. data/vendor/local/include/unicode/char16ptr.h +302 -0
  74. data/vendor/local/include/unicode/chariter.h +22 -18
  75. data/vendor/local/include/unicode/choicfmt.h +1 -1
  76. data/vendor/local/include/unicode/coleitr.h +2 -1
  77. data/vendor/local/include/unicode/coll.h +17 -17
  78. data/vendor/local/include/unicode/compactdecimalformat.h +10 -2
  79. data/vendor/local/include/unicode/curramt.h +5 -5
  80. data/vendor/local/include/unicode/currpinf.h +1 -1
  81. data/vendor/local/include/unicode/currunit.h +24 -6
  82. data/vendor/local/include/unicode/datefmt.h +3 -2
  83. data/vendor/local/include/unicode/dbbi.h +1 -1
  84. data/vendor/local/include/unicode/dcfmtsym.h +89 -13
  85. data/vendor/local/include/unicode/decimfmt.h +38 -39
  86. data/vendor/local/include/unicode/docmain.h +7 -2
  87. data/vendor/local/include/unicode/dtfmtsym.h +7 -6
  88. data/vendor/local/include/unicode/dtintrv.h +2 -2
  89. data/vendor/local/include/unicode/dtitvfmt.h +2 -2
  90. data/vendor/local/include/unicode/dtitvinf.h +1 -3
  91. data/vendor/local/include/unicode/dtptngen.h +48 -24
  92. data/vendor/local/include/unicode/dtrule.h +1 -1
  93. data/vendor/local/include/unicode/edits.h +424 -0
  94. data/vendor/local/include/unicode/enumset.h +1 -1
  95. data/vendor/local/include/unicode/errorcode.h +2 -2
  96. data/vendor/local/include/unicode/fieldpos.h +1 -1
  97. data/vendor/local/include/unicode/filteredbrk.h +35 -5
  98. data/vendor/local/include/unicode/fmtable.h +1 -1
  99. data/vendor/local/include/unicode/format.h +1 -1
  100. data/vendor/local/include/unicode/fpositer.h +11 -3
  101. data/vendor/local/include/unicode/gender.h +1 -1
  102. data/vendor/local/include/unicode/gregocal.h +1 -1
  103. data/vendor/local/include/unicode/icudataver.h +1 -1
  104. data/vendor/local/include/unicode/icuplug.h +1 -1
  105. data/vendor/local/include/unicode/idna.h +2 -2
  106. data/vendor/local/include/unicode/listformatter.h +4 -2
  107. data/vendor/local/include/unicode/localpointer.h +6 -43
  108. data/vendor/local/include/unicode/locdspnm.h +2 -1
  109. data/vendor/local/include/unicode/locid.h +7 -6
  110. data/vendor/local/include/unicode/measfmt.h +18 -7
  111. data/vendor/local/include/unicode/measunit.h +31 -60
  112. data/vendor/local/include/unicode/measure.h +1 -1
  113. data/vendor/local/include/unicode/messagepattern.h +2 -2
  114. data/vendor/local/include/unicode/msgfmt.h +2 -2
  115. data/vendor/local/include/unicode/normalizer2.h +130 -16
  116. data/vendor/local/include/unicode/normlzr.h +5 -5
  117. data/vendor/local/include/unicode/nounit.h +111 -0
  118. data/vendor/local/include/unicode/numberformatter.h +2194 -0
  119. data/vendor/local/include/unicode/numfmt.h +81 -7
  120. data/vendor/local/include/unicode/numsys.h +2 -2
  121. data/vendor/local/include/unicode/parseerr.h +3 -3
  122. data/vendor/local/include/unicode/parsepos.h +1 -1
  123. data/vendor/local/include/unicode/platform.h +66 -63
  124. data/vendor/local/include/unicode/plurfmt.h +1 -1
  125. data/vendor/local/include/unicode/plurrule.h +23 -4
  126. data/vendor/local/include/unicode/ptypes.h +1 -1
  127. data/vendor/local/include/unicode/putil.h +4 -4
  128. data/vendor/local/include/unicode/rbbi.h +105 -134
  129. data/vendor/local/include/unicode/rbnf.h +65 -3
  130. data/vendor/local/include/unicode/rbtz.h +1 -1
  131. data/vendor/local/include/unicode/regex.h +17 -17
  132. data/vendor/local/include/unicode/region.h +1 -1
  133. data/vendor/local/include/unicode/reldatefmt.h +4 -5
  134. data/vendor/local/include/unicode/rep.h +4 -4
  135. data/vendor/local/include/unicode/resbund.h +3 -3
  136. data/vendor/local/include/unicode/schriter.h +3 -3
  137. data/vendor/local/include/unicode/scientificnumberformatter.h +1 -1
  138. data/vendor/local/include/unicode/search.h +1 -1
  139. data/vendor/local/include/unicode/selfmt.h +1 -1
  140. data/vendor/local/include/unicode/simpleformatter.h +31 -25
  141. data/vendor/local/include/unicode/simpletz.h +5 -3
  142. data/vendor/local/include/unicode/smpdtfmt.h +17 -7
  143. data/vendor/local/include/unicode/sortkey.h +1 -1
  144. data/vendor/local/include/unicode/std_string.h +6 -8
  145. data/vendor/local/include/unicode/strenum.h +5 -5
  146. data/vendor/local/include/unicode/stringoptions.h +198 -0
  147. data/vendor/local/include/unicode/stringpiece.h +1 -3
  148. data/vendor/local/include/unicode/stringtriebuilder.h +19 -19
  149. data/vendor/local/include/unicode/stsearch.h +1 -1
  150. data/vendor/local/include/unicode/symtable.h +1 -1
  151. data/vendor/local/include/unicode/tblcoll.h +13 -13
  152. data/vendor/local/include/unicode/timezone.h +5 -5
  153. data/vendor/local/include/unicode/tmunit.h +1 -1
  154. data/vendor/local/include/unicode/tmutamt.h +1 -1
  155. data/vendor/local/include/unicode/tmutfmt.h +1 -1
  156. data/vendor/local/include/unicode/translit.h +2 -2
  157. data/vendor/local/include/unicode/tzfmt.h +4 -4
  158. data/vendor/local/include/unicode/tznames.h +3 -5
  159. data/vendor/local/include/unicode/tzrule.h +1 -1
  160. data/vendor/local/include/unicode/tztrans.h +1 -1
  161. data/vendor/local/include/unicode/ubidi.h +11 -8
  162. data/vendor/local/include/unicode/ubiditransform.h +16 -19
  163. data/vendor/local/include/unicode/ubrk.h +61 -4
  164. data/vendor/local/include/unicode/ucal.h +3 -3
  165. data/vendor/local/include/unicode/ucasemap.h +7 -47
  166. data/vendor/local/include/unicode/ucat.h +1 -1
  167. data/vendor/local/include/unicode/uchar.h +62 -37
  168. data/vendor/local/include/unicode/ucharstrie.h +48 -48
  169. data/vendor/local/include/unicode/ucharstriebuilder.h +12 -12
  170. data/vendor/local/include/unicode/uchriter.h +33 -29
  171. data/vendor/local/include/unicode/uclean.h +15 -13
  172. data/vendor/local/include/unicode/ucnv.h +11 -11
  173. data/vendor/local/include/unicode/ucnv_cb.h +1 -1
  174. data/vendor/local/include/unicode/ucnv_err.h +7 -7
  175. data/vendor/local/include/unicode/ucnvsel.h +1 -1
  176. data/vendor/local/include/unicode/ucol.h +6 -6
  177. data/vendor/local/include/unicode/ucoleitr.h +3 -3
  178. data/vendor/local/include/unicode/uconfig.h +8 -5
  179. data/vendor/local/include/unicode/ucsdet.h +7 -3
  180. data/vendor/local/include/unicode/ucurr.h +14 -1
  181. data/vendor/local/include/unicode/udat.h +39 -41
  182. data/vendor/local/include/unicode/udata.h +2 -2
  183. data/vendor/local/include/unicode/udateintervalformat.h +1 -1
  184. data/vendor/local/include/unicode/udatpg.h +56 -5
  185. data/vendor/local/include/unicode/udisplaycontext.h +4 -8
  186. data/vendor/local/include/unicode/uenum.h +5 -3
  187. data/vendor/local/include/unicode/ufieldpositer.h +1 -1
  188. data/vendor/local/include/unicode/uformattable.h +2 -2
  189. data/vendor/local/include/unicode/ugender.h +1 -1
  190. data/vendor/local/include/unicode/uidna.h +2 -2
  191. data/vendor/local/include/unicode/uiter.h +2 -2
  192. data/vendor/local/include/unicode/uldnames.h +1 -1
  193. data/vendor/local/include/unicode/ulistformatter.h +4 -4
  194. data/vendor/local/include/unicode/uloc.h +29 -16
  195. data/vendor/local/include/unicode/ulocdata.h +5 -5
  196. data/vendor/local/include/unicode/umachine.h +81 -38
  197. data/vendor/local/include/unicode/umisc.h +2 -2
  198. data/vendor/local/include/unicode/umsg.h +2 -2
  199. data/vendor/local/include/unicode/unifilt.h +2 -2
  200. data/vendor/local/include/unicode/unifunct.h +1 -1
  201. data/vendor/local/include/unicode/unimatch.h +1 -1
  202. data/vendor/local/include/unicode/unirepl.h +1 -1
  203. data/vendor/local/include/unicode/uniset.h +5 -4
  204. data/vendor/local/include/unicode/unistr.h +322 -208
  205. data/vendor/local/include/unicode/unorm.h +9 -9
  206. data/vendor/local/include/unicode/unorm2.h +3 -26
  207. data/vendor/local/include/unicode/unum.h +71 -11
  208. data/vendor/local/include/unicode/unumsys.h +1 -1
  209. data/vendor/local/include/unicode/uobject.h +2 -2
  210. data/vendor/local/include/unicode/upluralrules.h +51 -6
  211. data/vendor/local/include/unicode/uregex.h +2 -2
  212. data/vendor/local/include/unicode/uregion.h +2 -2
  213. data/vendor/local/include/unicode/ureldatefmt.h +33 -39
  214. data/vendor/local/include/unicode/urename.h +18 -17
  215. data/vendor/local/include/unicode/urep.h +1 -1
  216. data/vendor/local/include/unicode/ures.h +9 -9
  217. data/vendor/local/include/unicode/uscript.h +10 -3
  218. data/vendor/local/include/unicode/usearch.h +3 -3
  219. data/vendor/local/include/unicode/uset.h +2 -2
  220. data/vendor/local/include/unicode/usetiter.h +1 -1
  221. data/vendor/local/include/unicode/ushape.h +3 -3
  222. data/vendor/local/include/unicode/uspoof.h +24 -29
  223. data/vendor/local/include/unicode/usprep.h +7 -7
  224. data/vendor/local/include/unicode/ustdio.h +1 -1
  225. data/vendor/local/include/unicode/ustream.h +2 -9
  226. data/vendor/local/include/unicode/ustring.h +3 -13
  227. data/vendor/local/include/unicode/ustringtrie.h +2 -2
  228. data/vendor/local/include/unicode/utext.h +16 -16
  229. data/vendor/local/include/unicode/utf.h +19 -19
  230. data/vendor/local/include/unicode/utf16.h +128 -8
  231. data/vendor/local/include/unicode/utf32.h +2 -2
  232. data/vendor/local/include/unicode/utf8.h +177 -121
  233. data/vendor/local/include/unicode/utf_old.h +40 -7
  234. data/vendor/local/include/unicode/utmscale.h +8 -1
  235. data/vendor/local/include/unicode/utrace.h +4 -4
  236. data/vendor/local/include/unicode/utrans.h +3 -3
  237. data/vendor/local/include/unicode/utypes.h +13 -10
  238. data/vendor/local/include/unicode/uvernum.h +18 -11
  239. data/vendor/local/include/unicode/uversion.h +10 -4
  240. data/vendor/local/include/unicode/vtzone.h +1 -1
  241. data/vendor/local/lib/cmake/harfbuzz/harfbuzz-config.cmake +1 -1
  242. data/vendor/local/lib/icu/{58.2 → 61.1}/Makefile.inc +7 -7
  243. data/vendor/local/lib/icu/{58.2 → 61.1}/pkgdata.inc +2 -2
  244. data/vendor/local/lib/icu/Makefile.inc +7 -7
  245. data/vendor/local/lib/icu/pkgdata.inc +2 -2
  246. data/vendor/local/lib/icudt.dll +0 -0
  247. data/vendor/local/lib/{icudt58.dll → icudt61.dll} +0 -0
  248. data/vendor/local/lib/icuin.dll +0 -0
  249. data/vendor/local/lib/icuin61.dll +0 -0
  250. data/vendor/local/lib/icuio.dll +0 -0
  251. data/vendor/local/lib/{icuio58.dll → icuio61.dll} +0 -0
  252. data/vendor/local/lib/icutest.dll +0 -0
  253. data/vendor/local/lib/{icutest58.dll → icutest61.dll} +0 -0
  254. data/vendor/local/lib/icutu.dll +0 -0
  255. data/vendor/local/lib/icutu61.dll +0 -0
  256. data/vendor/local/lib/icuuc.dll +0 -0
  257. data/vendor/local/lib/icuuc61.dll +0 -0
  258. data/vendor/local/lib/libfribidi.dll.a +0 -0
  259. data/vendor/local/lib/libgraphene-1.0.dll.a +0 -0
  260. data/vendor/local/lib/libharfbuzz-icu.a +0 -0
  261. data/vendor/local/lib/libharfbuzz-icu.la +3 -3
  262. data/vendor/local/lib/libharfbuzz-subset.dll.a +0 -0
  263. data/vendor/local/lib/libharfbuzz-subset.la +3 -3
  264. data/vendor/local/lib/libharfbuzz.dll.a +0 -0
  265. data/vendor/local/lib/libharfbuzz.la +3 -3
  266. data/vendor/local/lib/libicudt.dll.a +0 -0
  267. data/vendor/local/lib/libicuin.dll.a +0 -0
  268. data/vendor/local/lib/libicuio.dll.a +0 -0
  269. data/vendor/local/lib/libicutest.dll.a +0 -0
  270. data/vendor/local/lib/libicutu.dll.a +0 -0
  271. data/vendor/local/lib/libicuuc.dll.a +0 -0
  272. data/vendor/local/lib/libpango-1.0.dll.a +0 -0
  273. data/vendor/local/lib/libpango-1.0.la +2 -2
  274. data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
  275. data/vendor/local/lib/libpangocairo-1.0.la +2 -2
  276. data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
  277. data/vendor/local/lib/libpangoft2-1.0.la +2 -2
  278. data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
  279. data/vendor/local/lib/libpangowin32-1.0.la +2 -2
  280. data/vendor/local/lib/pkgconfig/fribidi.pc +1 -1
  281. data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +1 -1
  282. data/vendor/local/lib/pkgconfig/harfbuzz-subset.pc +1 -1
  283. data/vendor/local/lib/pkgconfig/harfbuzz.pc +1 -1
  284. data/vendor/local/lib/pkgconfig/icu-i18n.pc +7 -7
  285. data/vendor/local/lib/pkgconfig/icu-io.pc +7 -7
  286. data/vendor/local/lib/pkgconfig/icu-uc.pc +7 -7
  287. data/vendor/local/lib/pkgconfig/pango.pc +2 -2
  288. data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
  289. data/vendor/local/lib/pkgconfig/pangoft2.pc +2 -2
  290. data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
  291. data/vendor/local/libexec/installed-tests/graphene-1.0/box.exe +0 -0
  292. data/vendor/local/libexec/installed-tests/graphene-1.0/euler.exe +0 -0
  293. data/vendor/local/libexec/installed-tests/graphene-1.0/frustum.exe +0 -0
  294. data/vendor/local/libexec/installed-tests/graphene-1.0/matrix.exe +0 -0
  295. data/vendor/local/libexec/installed-tests/graphene-1.0/plane.exe +0 -0
  296. data/vendor/local/libexec/installed-tests/graphene-1.0/point.exe +0 -0
  297. data/vendor/local/libexec/installed-tests/graphene-1.0/point3d.exe +0 -0
  298. data/vendor/local/libexec/installed-tests/graphene-1.0/quad.exe +0 -0
  299. data/vendor/local/libexec/installed-tests/graphene-1.0/quaternion.exe +0 -0
  300. data/vendor/local/libexec/installed-tests/graphene-1.0/ray.exe +0 -0
  301. data/vendor/local/libexec/installed-tests/graphene-1.0/rect.exe +0 -0
  302. data/vendor/local/libexec/installed-tests/graphene-1.0/simd.exe +0 -0
  303. data/vendor/local/libexec/installed-tests/graphene-1.0/size.exe +0 -0
  304. data/vendor/local/libexec/installed-tests/graphene-1.0/sphere.exe +0 -0
  305. data/vendor/local/libexec/installed-tests/graphene-1.0/triangle.exe +0 -0
  306. data/vendor/local/libexec/installed-tests/graphene-1.0/vec2.exe +0 -0
  307. data/vendor/local/libexec/installed-tests/graphene-1.0/vec3.exe +0 -0
  308. data/vendor/local/libexec/installed-tests/graphene-1.0/vec4.exe +0 -0
  309. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Buffers.html +5 -3
  310. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +5 -0
  311. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +1 -0
  312. data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +1 -1
  313. data/vendor/local/share/gtk-doc/html/pango/index.html +1 -1
  314. data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +2 -2
  315. data/vendor/local/share/icu/{58.2 → 61.1}/LICENSE +32 -3
  316. data/vendor/local/share/icu/{58.2 → 61.1}/config/mh-mingw64 +4 -0
  317. data/vendor/local/share/icu/{58.2 → 61.1}/install-sh +0 -0
  318. data/vendor/local/share/icu/{58.2 → 61.1}/mkinstalldirs +0 -0
  319. data/vendor/local/share/man/man1/derb.1 +2 -2
  320. data/vendor/local/share/man/man1/genbrk.1 +2 -2
  321. data/vendor/local/share/man/man1/gencfu.1 +1 -1
  322. data/vendor/local/share/man/man1/gencnval.1 +3 -3
  323. data/vendor/local/share/man/man1/gendict.1 +2 -2
  324. data/vendor/local/share/man/man1/genrb.1 +3 -3
  325. data/vendor/local/share/man/man1/icu-config.1 +2 -2
  326. data/vendor/local/share/man/man1/makeconv.1 +5 -5
  327. data/vendor/local/share/man/man1/pkgdata.1 +2 -2
  328. data/vendor/local/share/man/man1/uconv.1 +9 -9
  329. data/vendor/local/share/man/man3/fribidi_charset_to_unicode.3 +98 -0
  330. data/vendor/local/share/man/man3/fribidi_debug_status.3 +44 -0
  331. data/vendor/local/share/man/man3/fribidi_get_bidi_type.3 +58 -0
  332. data/vendor/local/share/man/man3/fribidi_get_bidi_type_name.3 +56 -0
  333. data/vendor/local/share/man/man3/fribidi_get_bidi_types.3 +68 -0
  334. data/vendor/local/share/man/man3/fribidi_get_bracket.3 +59 -0
  335. data/vendor/local/share/man/man3/fribidi_get_bracket_types.3 +73 -0
  336. data/vendor/local/share/man/man3/fribidi_get_joining_type.3 +87 -0
  337. data/vendor/local/share/man/man3/fribidi_get_joining_type_name.3 +83 -0
  338. data/vendor/local/share/man/man3/fribidi_get_joining_types.3 +96 -0
  339. data/vendor/local/share/man/man3/fribidi_get_mirror_char.3 +68 -0
  340. data/vendor/local/share/man/man3/fribidi_get_par_direction.3 +100 -0
  341. data/vendor/local/share/man/man3/fribidi_get_par_embedding_levels.3 +98 -0
  342. data/vendor/local/share/man/man3/fribidi_get_par_embedding_levels_ex.3 +114 -0
  343. data/vendor/local/share/man/man3/fribidi_get_type.3 +50 -0
  344. data/vendor/local/share/man/man3/fribidi_get_type_internal.3 +50 -0
  345. data/vendor/local/share/man/man3/fribidi_join_arabic.3 +92 -0
  346. data/vendor/local/share/man/man3/fribidi_log2vis.3 +124 -0
  347. data/vendor/local/share/man/man3/fribidi_log2vis_get_embedding_levels.3 +97 -0
  348. data/vendor/local/share/man/man3/fribidi_mirroring_status.3 +44 -0
  349. data/vendor/local/share/man/man3/fribidi_parse_charset.3 +78 -0
  350. data/vendor/local/share/man/man3/fribidi_remove_bidi_marks.3 +96 -0
  351. data/vendor/local/share/man/man3/fribidi_reorder_line.3 +146 -0
  352. data/vendor/local/share/man/man3/fribidi_reorder_nsm_status.3 +44 -0
  353. data/vendor/local/share/man/man3/fribidi_set_debug.3 +48 -0
  354. data/vendor/local/share/man/man3/fribidi_set_mirroring.3 +58 -0
  355. data/vendor/local/share/man/man3/fribidi_set_reorder_nsm.3 +60 -0
  356. data/vendor/local/share/man/man3/fribidi_shape.3 +89 -0
  357. data/vendor/local/share/man/man3/fribidi_shape_arabic.3 +95 -0
  358. data/vendor/local/share/man/man3/fribidi_shape_mirroring.3 +71 -0
  359. data/vendor/local/share/man/man3/fribidi_unicode_to_charset.3 +99 -0
  360. data/vendor/local/share/man/man8/genccode.8 +2 -2
  361. data/vendor/local/share/man/man8/gencmn.8 +3 -3
  362. data/vendor/local/share/man/man8/gensprep.8 +3 -3
  363. data/vendor/local/share/man/man8/icupkg.8 +1 -1
  364. metadata +58 -59
  365. data/ext/pango/rb-pango-context.c +0 -79
  366. data/vendor/local/lib/icuin58.dll +0 -0
  367. data/vendor/local/lib/icutu58.dll +0 -0
  368. data/vendor/local/lib/icuuc58.dll +0 -0
@@ -1,4 +1,4 @@
1
- // Copyright (C) 2016 and later: Unicode, Inc. and others.
1
+ // © 2016 and later: Unicode, Inc. and others.
2
2
  // License & terms of use: http://www.unicode.org/copyright.html
3
3
  /*
4
4
  **********************************************************************
@@ -1,4 +1,4 @@
1
- // Copyright (C) 2016 and later: Unicode, Inc. and others.
1
+ // © 2016 and later: Unicode, Inc. and others.
2
2
  // License & terms of use: http://www.unicode.org/copyright.html
3
3
  /*
4
4
  **********************************************************************
@@ -1,4 +1,4 @@
1
- // Copyright (C) 2016 and later: Unicode, Inc. and others.
1
+ // © 2016 and later: Unicode, Inc. and others.
2
2
  // License & terms of use: http://www.unicode.org/copyright.html
3
3
  /*
4
4
  ******************************************************************************
@@ -308,8 +308,8 @@ public:
308
308
  * than target
309
309
  * @stable ICU 2.6
310
310
  */
311
- virtual UCollationResult compare(const UChar* source, int32_t sourceLength,
312
- const UChar* target, int32_t targetLength,
311
+ virtual UCollationResult compare(const char16_t* source, int32_t sourceLength,
312
+ const char16_t* target, int32_t targetLength,
313
313
  UErrorCode &status) const;
314
314
 
315
315
  /**
@@ -377,7 +377,7 @@ public:
377
377
  * @see CollationKey
378
378
  * @stable ICU 2.0
379
379
  */
380
- virtual CollationKey& getCollationKey(const UChar *source,
380
+ virtual CollationKey& getCollationKey(const char16_t *source,
381
381
  int32_t sourceLength,
382
382
  CollationKey& key,
383
383
  UErrorCode& status) const;
@@ -552,7 +552,7 @@ public:
552
552
  * the top of one of the supported reordering groups,
553
553
  * and it must not be beyond the last of those groups.
554
554
  * See setMaxVariable().
555
- * @param varTop one or more (if contraction) UChars to which the variable top should be set
555
+ * @param varTop one or more (if contraction) char16_ts to which the variable top should be set
556
556
  * @param len length of variable top string. If -1 it is considered to be zero terminated.
557
557
  * @param status error code. If error code is set, the return value is undefined. Errors set by this function are: <br>
558
558
  * U_CE_NOT_FOUND_ERROR if more than one character was passed and there is no such contraction<br>
@@ -561,7 +561,7 @@ public:
561
561
  * @return variable top primary weight
562
562
  * @deprecated ICU 53 Call setMaxVariable() instead.
563
563
  */
564
- virtual uint32_t setVariableTop(const UChar *varTop, int32_t len, UErrorCode &status);
564
+ virtual uint32_t setVariableTop(const char16_t *varTop, int32_t len, UErrorCode &status);
565
565
 
566
566
  /**
567
567
  * Sets the variable top to the primary weight of the specified string.
@@ -570,7 +570,7 @@ public:
570
570
  * the top of one of the supported reordering groups,
571
571
  * and it must not be beyond the last of those groups.
572
572
  * See setMaxVariable().
573
- * @param varTop a UnicodeString size 1 or more (if contraction) of UChars to which the variable top should be set
573
+ * @param varTop a UnicodeString size 1 or more (if contraction) of char16_ts to which the variable top should be set
574
574
  * @param status error code. If error code is set, the return value is undefined. Errors set by this function are: <br>
575
575
  * U_CE_NOT_FOUND_ERROR if more than one character was passed and there is no such contraction<br>
576
576
  * U_ILLEGAL_ARGUMENT_ERROR if the variable top is beyond
@@ -631,7 +631,7 @@ public:
631
631
  int32_t resultLength) const;
632
632
 
633
633
  /**
634
- * Get the sort key as an array of bytes from a UChar buffer.
634
+ * Get the sort key as an array of bytes from a char16_t buffer.
635
635
  *
636
636
  * Note that sort keys are often less efficient than simply doing comparison.
637
637
  * For more details, see the ICU User Guide.
@@ -646,7 +646,7 @@ public:
646
646
  * @return Number of bytes needed for storing the sort key
647
647
  * @stable ICU 2.2
648
648
  */
649
- virtual int32_t getSortKey(const UChar *source, int32_t sourceLength,
649
+ virtual int32_t getSortKey(const char16_t *source, int32_t sourceLength,
650
650
  uint8_t *result, int32_t resultLength) const;
651
651
 
652
652
  /**
@@ -821,17 +821,17 @@ private:
821
821
  void adoptTailoring(CollationTailoring *t, UErrorCode &errorCode);
822
822
 
823
823
  // Both lengths must be <0 or else both must be >=0.
824
- UCollationResult doCompare(const UChar *left, int32_t leftLength,
825
- const UChar *right, int32_t rightLength,
824
+ UCollationResult doCompare(const char16_t *left, int32_t leftLength,
825
+ const char16_t *right, int32_t rightLength,
826
826
  UErrorCode &errorCode) const;
827
827
  UCollationResult doCompare(const uint8_t *left, int32_t leftLength,
828
828
  const uint8_t *right, int32_t rightLength,
829
829
  UErrorCode &errorCode) const;
830
830
 
831
- void writeSortKey(const UChar *s, int32_t length,
831
+ void writeSortKey(const char16_t *s, int32_t length,
832
832
  SortKeyByteSink &sink, UErrorCode &errorCode) const;
833
833
 
834
- void writeIdenticalLevel(const UChar *s, const UChar *limit,
834
+ void writeIdenticalLevel(const char16_t *s, const char16_t *limit,
835
835
  SortKeyByteSink &sink, UErrorCode &errorCode) const;
836
836
 
837
837
  const CollationSettings &getDefaultSettings() const;
@@ -1,4 +1,4 @@
1
- // Copyright (C) 2016 and later: Unicode, Inc. and others.
1
+ // © 2016 and later: Unicode, Inc. and others.
2
2
  // License & terms of use: http://www.unicode.org/copyright.html
3
3
  /*************************************************************************
4
4
  * Copyright (c) 1997-2016, International Business Machines Corporation
@@ -863,7 +863,7 @@ private:
863
863
  * @param id zone id string
864
864
  * @return the pointer of the ID resource, or NULL.
865
865
  */
866
- static const UChar* findID(const UnicodeString& id);
866
+ static const char16_t* findID(const UnicodeString& id);
867
867
 
868
868
  /**
869
869
  * Resolve a link in Olson tzdata. When the given id is known and it's not a link,
@@ -873,7 +873,7 @@ private:
873
873
  * @param id zone id string
874
874
  * @return the dereferenced zone or NULL
875
875
  */
876
- static const UChar* dereferOlsonLink(const UnicodeString& id);
876
+ static const char16_t* dereferOlsonLink(const UnicodeString& id);
877
877
 
878
878
  /**
879
879
  * Returns the region code associated with the given zone,
@@ -881,7 +881,7 @@ private:
881
881
  * @param id zone id string
882
882
  * @return the region associated with the given zone
883
883
  */
884
- static const UChar* getRegion(const UnicodeString& id);
884
+ static const char16_t* getRegion(const UnicodeString& id);
885
885
 
886
886
  public:
887
887
  #ifndef U_HIDE_INTERNAL_API
@@ -893,7 +893,7 @@ private:
893
893
  * @return the region associated with the given zone
894
894
  * @internal
895
895
  */
896
- static const UChar* getRegion(const UnicodeString& id, UErrorCode& status);
896
+ static const char16_t* getRegion(const UnicodeString& id, UErrorCode& status);
897
897
  #endif /* U_HIDE_INTERNAL_API */
898
898
 
899
899
  private:
@@ -1,4 +1,4 @@
1
- // Copyright (C) 2016 and later: Unicode, Inc. and others.
1
+ // © 2016 and later: Unicode, Inc. and others.
2
2
  // License & terms of use: http://www.unicode.org/copyright.html
3
3
  /*
4
4
  *******************************************************************************
@@ -1,4 +1,4 @@
1
- // Copyright (C) 2016 and later: Unicode, Inc. and others.
1
+ // © 2016 and later: Unicode, Inc. and others.
2
2
  // License & terms of use: http://www.unicode.org/copyright.html
3
3
  /*
4
4
  *******************************************************************************
@@ -1,4 +1,4 @@
1
- // Copyright (C) 2016 and later: Unicode, Inc. and others.
1
+ // © 2016 and later: Unicode, Inc. and others.
2
2
  // License & terms of use: http://www.unicode.org/copyright.html
3
3
  /*
4
4
  *******************************************************************************
@@ -1,4 +1,4 @@
1
- // Copyright (C) 2016 and later: Unicode, Inc. and others.
1
+ // © 2016 and later: Unicode, Inc. and others.
2
2
  // License & terms of use: http://www.unicode.org/copyright.html
3
3
  /*
4
4
  **********************************************************************
@@ -1319,7 +1319,7 @@ inline int32_t Transliterator::getMaximumContextLength(void) const {
1319
1319
  inline void Transliterator::setID(const UnicodeString& id) {
1320
1320
  ID = id;
1321
1321
  // NUL-terminate the ID string, which is a non-aliased copy.
1322
- ID.append((UChar)0);
1322
+ ID.append((char16_t)0);
1323
1323
  ID.truncate(ID.length()-1);
1324
1324
  }
1325
1325
 
@@ -1,4 +1,4 @@
1
- // Copyright (C) 2016 and later: Unicode, Inc. and others.
1
+ // © 2016 and later: Unicode, Inc. and others.
2
2
  // License & terms of use: http://www.unicode.org/copyright.html
3
3
  /*
4
4
  *******************************************************************************
@@ -942,7 +942,7 @@ private:
942
942
  * @param parsedLen the parsed length, or 0 on failure.
943
943
  * @return the parsed offset in milliseconds.
944
944
  */
945
- int32_t parseDefaultOffsetFields(const UnicodeString& text, int32_t start, UChar separator,
945
+ int32_t parseDefaultOffsetFields(const UnicodeString& text, int32_t start, char16_t separator,
946
946
  int32_t& parsedLen) const;
947
947
 
948
948
  /**
@@ -982,7 +982,7 @@ private:
982
982
  * @param maxFields The maximum fields
983
983
  * @return The offset string
984
984
  */
985
- static UnicodeString& formatOffsetWithAsciiDigits(int32_t offset, UChar sep,
985
+ static UnicodeString& formatOffsetWithAsciiDigits(int32_t offset, char16_t sep,
986
986
  OffsetFields minFields, OffsetFields maxFields, UnicodeString& result);
987
987
 
988
988
  /**
@@ -1012,7 +1012,7 @@ private:
1012
1012
  * @param maxFields The maximum Fields to be parsed
1013
1013
  * @return Parsed offset, 0 or positive number.
1014
1014
  */
1015
- static int32_t parseAsciiOffsetFields(const UnicodeString& text, ParsePosition& pos, UChar sep,
1015
+ static int32_t parseAsciiOffsetFields(const UnicodeString& text, ParsePosition& pos, char16_t sep,
1016
1016
  OffsetFields minFields, OffsetFields maxFields);
1017
1017
 
1018
1018
  /**
@@ -1,4 +1,4 @@
1
- // Copyright (C) 2016 and later: Unicode, Inc. and others.
1
+ // © 2016 and later: Unicode, Inc. and others.
2
2
  // License & terms of use: http://www.unicode.org/copyright.html
3
3
  /*
4
4
  *******************************************************************************
@@ -291,14 +291,12 @@ public:
291
291
  virtual UnicodeString& getDisplayName(const UnicodeString& tzID, UTimeZoneNameType type, UDate date, UnicodeString& name) const;
292
292
 
293
293
  /**
294
- * @internal For specific users only until proposed publicly.
295
- * @deprecated This API is ICU internal only.
294
+ * @internal ICU internal only, for specific users only until proposed publicly.
296
295
  */
297
296
  virtual void loadAllDisplayNames(UErrorCode& status);
298
297
 
299
298
  /**
300
- * @internal For specific users only until proposed publicly.
301
- * @deprecated This API is ICU internal only.
299
+ * @internal ICU internal only, for specific users only until proposed publicly.
302
300
  */
303
301
  virtual void getDisplayNames(const UnicodeString& tzID, const UTimeZoneNameType types[], int32_t numTypes, UDate date, UnicodeString dest[], UErrorCode& status) const;
304
302
 
@@ -1,4 +1,4 @@
1
- // Copyright (C) 2016 and later: Unicode, Inc. and others.
1
+ // © 2016 and later: Unicode, Inc. and others.
2
2
  // License & terms of use: http://www.unicode.org/copyright.html
3
3
  /*
4
4
  *******************************************************************************
@@ -1,4 +1,4 @@
1
- // Copyright (C) 2016 and later: Unicode, Inc. and others.
1
+ // © 2016 and later: Unicode, Inc. and others.
2
2
  // License & terms of use: http://www.unicode.org/copyright.html
3
3
  /*
4
4
  *******************************************************************************
@@ -1,4 +1,4 @@
1
- // Copyright (C) 2016 and later: Unicode, Inc. and others.
1
+ // © 2016 and later: Unicode, Inc. and others.
2
2
  // License & terms of use: http://www.unicode.org/copyright.html
3
3
  /*
4
4
  ******************************************************************************
@@ -8,7 +8,7 @@
8
8
  *
9
9
  ******************************************************************************
10
10
  * file name: ubidi.h
11
- * encoding: US-ASCII
11
+ * encoding: UTF-8
12
12
  * tab size: 8 (not used)
13
13
  * indentation:4
14
14
  *
@@ -692,7 +692,7 @@ typedef enum UBiDiReorderingMode {
692
692
  * @stable ICU 3.6 */
693
693
  UBIDI_REORDER_DEFAULT = 0,
694
694
  /** Logical to Visual algorithm which handles numbers in a way which
695
- * mimicks the behavior of Windows XP.
695
+ * mimics the behavior of Windows XP.
696
696
  * @stable ICU 3.6 */
697
697
  UBIDI_REORDER_NUMBERS_SPECIAL,
698
698
  /** Logical to Visual algorithm grouping numbers with adjacent R characters
@@ -1142,7 +1142,7 @@ ubidi_setContext(UBiDi *pBiDi,
1142
1142
 
1143
1143
  /**
1144
1144
  * Perform the Unicode Bidi algorithm. It is defined in the
1145
- * <a href="http://www.unicode.org/unicode/reports/tr9/">Unicode Standard Anned #9</a>,
1145
+ * <a href="http://www.unicode.org/unicode/reports/tr9/">Unicode Standard Annex #9</a>,
1146
1146
  * version 13,
1147
1147
  * also described in The Unicode Standard, Version 4.0 .<p>
1148
1148
  *
@@ -1196,11 +1196,14 @@ ubidi_setContext(UBiDi *pBiDi,
1196
1196
  * A level overrides the directional property of its corresponding
1197
1197
  * (same index) character if the level has the
1198
1198
  * <code>#UBIDI_LEVEL_OVERRIDE</code> bit set.<br><br>
1199
- * Except for that bit, it must be
1199
+ * Aside from that bit, it must be
1200
1200
  * <code>paraLevel<=embeddingLevels[]<=UBIDI_MAX_EXPLICIT_LEVEL</code>,
1201
- * with one exception: a level of zero may be specified for a paragraph
1202
- * separator even if <code>paraLevel>0</code> when multiple paragraphs
1203
- * are submitted in the same call to <code>ubidi_setPara()</code>.<br><br>
1201
+ * except that level 0 is always allowed.
1202
+ * Level 0 for a paragraph separator prevents reordering of paragraphs;
1203
+ * this only works reliably if <code>#UBIDI_LEVEL_OVERRIDE</code>
1204
+ * is also set for paragraph separators.
1205
+ * Level 0 for other characters is treated as a wildcard
1206
+ * and is lifted up to the resolved level of the surrounding paragraph.<br><br>
1204
1207
  * <strong>Caution: </strong>A copy of this pointer, not of the levels,
1205
1208
  * will be stored in the <code>UBiDi</code> object;
1206
1209
  * the <code>embeddingLevels</code> array must not be
@@ -1,12 +1,12 @@
1
1
  /*
2
2
  ******************************************************************************
3
3
  *
4
- * Copyright (C) 2016 and later: Unicode, Inc. and others.
4
+ * © 2016 and later: Unicode, Inc. and others.
5
5
  * License & terms of use: http://www.unicode.org/copyright.html
6
6
  *
7
7
  ******************************************************************************
8
8
  * file name: ubiditransform.h
9
- * encoding: US-ASCII
9
+ * encoding: UTF-8
10
10
  * tab size: 8 (not used)
11
11
  * indentation:4
12
12
  *
@@ -23,8 +23,6 @@
23
23
  #include "unicode/uchar.h"
24
24
  #include "unicode/localpointer.h"
25
25
 
26
- #ifndef U_HIDE_DRAFT_API
27
-
28
26
  /**
29
27
  * \file
30
28
  * \brief Bidi Transformations
@@ -60,17 +58,17 @@
60
58
  * @see UBIDI_REORDER_DEFAULT
61
59
  * @see UBIDI_REORDER_INVERSE_LIKE_DIRECT
62
60
  * @see UBIDI_REORDER_RUNS_ONLY
63
- * @draft ICU 58
61
+ * @stable ICU 58
64
62
  */
65
63
  typedef enum {
66
64
  /** 0: Constant indicating a logical order.
67
65
  * This is the default for input text.
68
- * @draft ICU 58
66
+ * @stable ICU 58
69
67
  */
70
68
  UBIDI_LOGICAL = 0,
71
69
  /** 1: Constant indicating a visual order.
72
70
  * This is a default for output text.
73
- * @draft ICU 58
71
+ * @stable ICU 58
74
72
  */
75
73
  UBIDI_VISUAL
76
74
  } UBiDiOrder;
@@ -83,20 +81,20 @@ typedef enum {
83
81
  * @see ubidi_setReorderingOptions
84
82
  * @see ubidi_writeReordered
85
83
  * @see ubidi_writeReverse
86
- * @draft ICU 58
84
+ * @stable ICU 58
87
85
  */
88
86
  typedef enum {
89
87
  /** 0: Constant indicating that character mirroring should not be
90
88
  * performed.
91
89
  * This is the default.
92
- * @draft ICU 58
90
+ * @stable ICU 58
93
91
  */
94
92
  UBIDI_MIRRORING_OFF = 0,
95
93
  /** 1: Constant indicating that character mirroring should be performed.
96
94
  * This corresponds to calling <code>ubidi_writeReordered</code> or
97
95
  * <code>ubidi_writeReverse</code> with the
98
96
  * <code>UBIDI_DO_MIRRORING</code> option bit set.
99
- * @draft ICU 58
97
+ * @stable ICU 58
100
98
  */
101
99
  UBIDI_MIRRORING_ON
102
100
  } UBiDiMirroring;
@@ -104,7 +102,7 @@ typedef enum {
104
102
  /**
105
103
  * Forward declaration of the <code>UBiDiTransform</code> structure that stores
106
104
  * information used by the layout transformation engine.
107
- * @draft ICU 58
105
+ * @stable ICU 58
108
106
  */
109
107
  typedef struct UBiDiTransform UBiDiTransform;
110
108
 
@@ -240,9 +238,9 @@ typedef struct UBiDiTransform UBiDiTransform;
240
238
  * @see UBiDiMirroring
241
239
  * @see ubidi_setPara
242
240
  * @see u_shapeArabic
243
- * @draft ICU 58
241
+ * @stable ICU 58
244
242
  */
245
- U_DRAFT uint32_t U_EXPORT2
243
+ U_STABLE uint32_t U_EXPORT2
246
244
  ubiditransform_transform(UBiDiTransform *pBiDiTransform,
247
245
  const UChar *src, int32_t srcLength,
248
246
  UChar *dest, int32_t destSize,
@@ -286,16 +284,16 @@ ubiditransform_transform(UBiDiTransform *pBiDiTransform,
286
284
  * <code>ubiditransform_close()</code>.
287
285
  *
288
286
  * @return An empty <code>UBiDiTransform</code> object.
289
- * @draft ICU 58
287
+ * @stable ICU 58
290
288
  */
291
- U_DRAFT UBiDiTransform* U_EXPORT2
289
+ U_STABLE UBiDiTransform* U_EXPORT2
292
290
  ubiditransform_open(UErrorCode *pErrorCode);
293
291
 
294
292
  /**
295
293
  * Deallocates the given <code>UBiDiTransform</code> object.
296
- * @draft ICU 58
294
+ * @stable ICU 58
297
295
  */
298
- U_DRAFT void U_EXPORT2
296
+ U_STABLE void U_EXPORT2
299
297
  ubiditransform_close(UBiDiTransform *pBidiTransform);
300
298
 
301
299
  #if U_SHOW_CPLUSPLUS_API
@@ -309,7 +307,7 @@ U_NAMESPACE_BEGIN
309
307
  *
310
308
  * @see LocalPointerBase
311
309
  * @see LocalPointer
312
- * @draft ICU 58
310
+ * @stable ICU 58
313
311
  */
314
312
  U_DEFINE_LOCAL_OPEN_POINTER(LocalUBiDiTransformPointer, UBiDiTransform, ubiditransform_close);
315
313
 
@@ -317,5 +315,4 @@ U_NAMESPACE_END
317
315
 
318
316
  #endif
319
317
 
320
- #endif /* U_HIDE_DRAFT_API */
321
318
  #endif
@@ -1,4 +1,4 @@
1
- // Copyright (C) 2016 and later: Unicode, Inc. and others.
1
+ // © 2016 and later: Unicode, Inc. and others.
2
2
  // License & terms of use: http://www.unicode.org/copyright.html
3
3
  /*
4
4
  ******************************************************************************
@@ -230,7 +230,8 @@ typedef enum USentenceBreakTag {
230
230
  * @param locale The locale specifying the text-breaking conventions. Note that
231
231
  * locale keys such as "lb" and "ss" may be used to modify text break behavior,
232
232
  * see general discussion of BreakIterator C API.
233
- * @param text The text to be iterated over.
233
+ * @param text The text to be iterated over. May be null, in which case ubrk_setText() is
234
+ * used to specify the text to be iterated.
234
235
  * @param textLength The number of characters in text, or -1 if null-terminated.
235
236
  * @param status A UErrorCode to receive any errors.
236
237
  * @return A UBreakIterator for the specified locale.
@@ -267,6 +268,31 @@ ubrk_openRules(const UChar *rules,
267
268
  UParseError *parseErr,
268
269
  UErrorCode *status);
269
270
 
271
+ /**
272
+ * Open a new UBreakIterator for locating text boundaries using precompiled binary rules.
273
+ * Opening a UBreakIterator this way is substantially faster than using ubrk_openRules.
274
+ * Binary rules may be obtained using ubrk_getBinaryRules. The compiled rules are not
275
+ * compatible across different major versions of ICU, nor across platforms of different
276
+ * endianness or different base character set family (ASCII vs EBCDIC).
277
+ * @param binaryRules A set of compiled binary rules specifying the text breaking
278
+ * conventions. Ownership of the storage containing the compiled
279
+ * rules remains with the caller of this function. The compiled
280
+ * rules must not be modified or deleted during the life of the
281
+ * break iterator.
282
+ * @param rulesLength The length of binaryRules in bytes; must be >= 0.
283
+ * @param text The text to be iterated over. May be null, in which case
284
+ * ubrk_setText() is used to specify the text to be iterated.
285
+ * @param textLength The number of characters in text, or -1 if null-terminated.
286
+ * @param status Pointer to UErrorCode to receive any errors.
287
+ * @return UBreakIterator for the specified rules.
288
+ * @see ubrk_getBinaryRules
289
+ * @stable ICU 59
290
+ */
291
+ U_STABLE UBreakIterator* U_EXPORT2
292
+ ubrk_openBinaryRules(const uint8_t *binaryRules, int32_t rulesLength,
293
+ const UChar * text, int32_t textLength,
294
+ UErrorCode * status);
295
+
270
296
  /**
271
297
  * Thread safe cloning operation
272
298
  * @param bi iterator to be cloned
@@ -481,7 +507,7 @@ ubrk_countAvailable(void);
481
507
 
482
508
 
483
509
  /**
484
- * Returns true if the specfied position is a boundary position. As a side
510
+ * Returns true if the specified position is a boundary position. As a side
485
511
  * effect, leaves the iterator pointing to the first boundary position at
486
512
  * or after "offset".
487
513
  * @param bi The break iterator to use.
@@ -515,7 +541,7 @@ ubrk_getRuleStatus(UBreakIterator *bi);
515
541
  * @param fillInVec an array to be filled in with the status values.
516
542
  * @param capacity the length of the supplied vector. A length of zero causes
517
543
  * the function to return the number of status values, in the
518
- * normal way, without attemtping to store any values.
544
+ * normal way, without attempting to store any values.
519
545
  * @param status receives error codes.
520
546
  * @return The number of rule status values from rules that determined
521
547
  * the most recent boundary returned by the break iterator.
@@ -566,6 +592,37 @@ ubrk_refreshUText(UBreakIterator *bi,
566
592
  UText *text,
567
593
  UErrorCode *status);
568
594
 
595
+
596
+ /**
597
+ * Get a compiled binary version of the rules specifying the behavior of a UBreakIterator.
598
+ * The binary rules may be used with ubrk_openBinaryRules to open a new UBreakIterator
599
+ * more quickly than using ubrk_openRules. The compiled rules are not compatible across
600
+ * different major versions of ICU, nor across platforms of different endianness or
601
+ * different base character set family (ASCII vs EBCDIC). Supports preflighting (with
602
+ * binaryRules=NULL and rulesCapacity=0) to get the rules length without copying them to
603
+ * the binaryRules buffer. However, whether preflighting or not, if the actual length
604
+ * is greater than INT32_MAX, then the function returns 0 and sets *status to
605
+ * U_INDEX_OUTOFBOUNDS_ERROR.
606
+
607
+ * @param bi The break iterator to use.
608
+ * @param binaryRules Buffer to receive the compiled binary rules; set to NULL for
609
+ * preflighting.
610
+ * @param rulesCapacity Capacity (in bytes) of the binaryRules buffer; set to 0 for
611
+ * preflighting. Must be >= 0.
612
+ * @param status Pointer to UErrorCode to receive any errors, such as
613
+ * U_BUFFER_OVERFLOW_ERROR, U_INDEX_OUTOFBOUNDS_ERROR, or
614
+ * U_ILLEGAL_ARGUMENT_ERROR.
615
+ * @return The actual byte length of the binary rules, if <= INT32_MAX;
616
+ * otherwise 0. If not preflighting and this is larger than
617
+ * rulesCapacity, *status will be set to an error.
618
+ * @see ubrk_openBinaryRules
619
+ * @stable ICU 59
620
+ */
621
+ U_STABLE int32_t U_EXPORT2
622
+ ubrk_getBinaryRules(UBreakIterator *bi,
623
+ uint8_t * binaryRules, int32_t rulesCapacity,
624
+ UErrorCode * status);
625
+
569
626
  #endif /* #if !UCONFIG_NO_BREAK_ITERATION */
570
627
 
571
628
  #endif