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
  *******************************************************************************
@@ -425,8 +425,8 @@ enum UCalendarDateFields {
425
425
  */
426
426
  UCAL_IS_LEAP_MONTH,
427
427
 
428
- // Do not conditionalize with #ifndef U_HIDE_DEPRECATED_API,
429
- // it is needed for layout of Calendar, DateFormat, and other objects
428
+ /* Do not conditionalize the following with #ifndef U_HIDE_DEPRECATED_API,
429
+ * it is needed for layout of Calendar, DateFormat, and other objects */
430
430
  /**
431
431
  * One more than the highest normal UCalendarDateFields value.
432
432
  * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
@@ -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: ucasemap.h
11
- * encoding: US-ASCII
11
+ * encoding: UTF-8
12
12
  * tab size: 8 (not used)
13
13
  * indentation:4
14
14
  *
@@ -22,8 +22,9 @@
22
22
  #define __UCASEMAP_H__
23
23
 
24
24
  #include "unicode/utypes.h"
25
- #include "unicode/ustring.h"
26
25
  #include "unicode/localpointer.h"
26
+ #include "unicode/stringoptions.h"
27
+ #include "unicode/ustring.h"
27
28
 
28
29
  /**
29
30
  * \file
@@ -144,47 +145,6 @@ ucasemap_setLocale(UCaseMap *csm, const char *locale, UErrorCode *pErrorCode);
144
145
  U_STABLE void U_EXPORT2
145
146
  ucasemap_setOptions(UCaseMap *csm, uint32_t options, UErrorCode *pErrorCode);
146
147
 
147
- /**
148
- * Do not lowercase non-initial parts of words when titlecasing.
149
- * Option bit for titlecasing APIs that take an options bit set.
150
- *
151
- * By default, titlecasing will titlecase the first cased character
152
- * of a word and lowercase all other characters.
153
- * With this option, the other characters will not be modified.
154
- *
155
- * @see ucasemap_setOptions
156
- * @see ucasemap_toTitle
157
- * @see ucasemap_utf8ToTitle
158
- * @see UnicodeString::toTitle
159
- * @stable ICU 3.8
160
- */
161
- #define U_TITLECASE_NO_LOWERCASE 0x100
162
-
163
- /**
164
- * Do not adjust the titlecasing indexes from BreakIterator::next() indexes;
165
- * titlecase exactly the characters at breaks from the iterator.
166
- * Option bit for titlecasing APIs that take an options bit set.
167
- *
168
- * By default, titlecasing will take each break iterator index,
169
- * adjust it by looking for the next cased character, and titlecase that one.
170
- * Other characters are lowercased.
171
- *
172
- * This follows Unicode 4 & 5 section 3.13 Default Case Operations:
173
- *
174
- * R3 toTitlecase(X): Find the word boundaries based on Unicode Standard Annex
175
- * #29, "Text Boundaries." Between each pair of word boundaries, find the first
176
- * cased character F. If F exists, map F to default_title(F); then map each
177
- * subsequent character C to default_lower(C).
178
- *
179
- * @see ucasemap_setOptions
180
- * @see ucasemap_toTitle
181
- * @see ucasemap_utf8ToTitle
182
- * @see UnicodeString::toTitle
183
- * @see U_TITLECASE_NO_LOWERCASE
184
- * @stable ICU 3.8
185
- */
186
- #define U_TITLECASE_NO_BREAK_ADJUSTMENT 0x200
187
-
188
148
  #if !UCONFIG_NO_BREAK_ITERATION
189
149
 
190
150
  /**
@@ -242,7 +202,7 @@ ucasemap_setBreakIterator(UCaseMap *csm, UBreakIterator *iterToAdopt, UErrorCode
242
202
  * The standard titlecase iterator for the root locale implements the
243
203
  * algorithm of Unicode TR 21.
244
204
  *
245
- * This function uses only the setUText(), first(), next() and close() methods of the
205
+ * This function uses only the setText(), first() and next() methods of the
246
206
  * provided break iterator.
247
207
  *
248
208
  * The result may be longer or shorter than the original.
@@ -253,7 +213,7 @@ ucasemap_setBreakIterator(UCaseMap *csm, UBreakIterator *iterToAdopt, UErrorCode
253
213
  * @param dest A buffer for the result string. The result will be NUL-terminated if
254
214
  * the buffer is large enough.
255
215
  * The contents is undefined in case of failure.
256
- * @param destCapacity The size of the buffer (number of bytes). If it is 0, then
216
+ * @param destCapacity The size of the buffer (number of UChars). If it is 0, then
257
217
  * dest may be NULL and the function will only return the length of the result
258
218
  * without writing any of the result string.
259
219
  * @param src The original string.
@@ -272,7 +232,7 @@ ucasemap_toTitle(UCaseMap *csm,
272
232
  const UChar *src, int32_t srcLength,
273
233
  UErrorCode *pErrorCode);
274
234
 
275
- #endif
235
+ #endif // UCONFIG_NO_BREAK_ITERATION
276
236
 
277
237
  /**
278
238
  * Lowercase the characters in a UTF-8 string.
@@ -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
  **********************************************************************
@@ -26,6 +26,7 @@
26
26
  #define UCHAR_H
27
27
 
28
28
  #include "unicode/utypes.h"
29
+ #include "unicode/stringoptions.h"
29
30
 
30
31
  U_CDECL_BEGIN
31
32
 
@@ -41,7 +42,7 @@ U_CDECL_BEGIN
41
42
  * @see u_getUnicodeVersion
42
43
  * @stable ICU 2.0
43
44
  */
44
- #define U_UNICODE_VERSION "9.0"
45
+ #define U_UNICODE_VERSION "10.0"
45
46
 
46
47
  /**
47
48
  * \file
@@ -111,11 +112,11 @@ U_CDECL_BEGIN
111
112
  * Comparison:
112
113
  * - u_isUWhiteSpace=UCHAR_WHITE_SPACE: Unicode White_Space property;
113
114
  * most of general categories "Z" (separators) + most whitespace ISO controls
114
- * (including no-break spaces, but excluding IS1..IS4 and ZWSP)
115
+ * (including no-break spaces, but excluding IS1..IS4)
115
116
  * - u_isWhitespace: Java isWhitespace; Z + whitespace ISO controls but excluding no-break spaces
116
117
  * - u_isJavaSpaceChar: Java isSpaceChar; just Z (including no-break spaces)
117
118
  * - u_isspace: Z + whitespace ISO controls (including no-break spaces)
118
- * - u_isblank: "horizontal spaces" = TAB + Zs - ZWSP
119
+ * - u_isblank: "horizontal spaces" = TAB + Zs
119
120
  */
120
121
 
121
122
  /**
@@ -148,8 +149,9 @@ U_CDECL_BEGIN
148
149
  *
149
150
  * The properties APIs are intended to reflect Unicode properties as defined
150
151
  * in the Unicode Character Database (UCD) and Unicode Technical Reports (UTR).
151
- * For details about the properties see http://www.unicode.org/ucd/ .
152
- * For names of Unicode properties see the UCD file PropertyAliases.txt.
152
+ *
153
+ * For details about the properties see
154
+ * UAX #44: Unicode Character Database (http://www.unicode.org/reports/tr44/).
153
155
  *
154
156
  * Important: If ICU is built with UCD files from Unicode versions below, e.g., 3.2,
155
157
  * then properties marked with "new in Unicode 3.2" are not or not fully available.
@@ -399,42 +401,57 @@ typedef enum UProperty {
399
401
  UCHAR_CHANGES_WHEN_CASEMAPPED=55,
400
402
  /** Binary property Changes_When_NFKC_Casefolded. @stable ICU 4.4 */
401
403
  UCHAR_CHANGES_WHEN_NFKC_CASEFOLDED=56,
402
- #ifndef U_HIDE_DRAFT_API
403
404
  /**
404
405
  * Binary property Emoji.
405
406
  * See http://www.unicode.org/reports/tr51/#Emoji_Properties
406
407
  *
407
- * @draft ICU 57
408
+ * @stable ICU 57
408
409
  */
409
410
  UCHAR_EMOJI=57,
410
411
  /**
411
412
  * Binary property Emoji_Presentation.
412
413
  * See http://www.unicode.org/reports/tr51/#Emoji_Properties
413
414
  *
414
- * @draft ICU 57
415
+ * @stable ICU 57
415
416
  */
416
417
  UCHAR_EMOJI_PRESENTATION=58,
417
418
  /**
418
419
  * Binary property Emoji_Modifier.
419
420
  * See http://www.unicode.org/reports/tr51/#Emoji_Properties
420
421
  *
421
- * @draft ICU 57
422
+ * @stable ICU 57
422
423
  */
423
424
  UCHAR_EMOJI_MODIFIER=59,
424
425
  /**
425
426
  * Binary property Emoji_Modifier_Base.
426
427
  * See http://www.unicode.org/reports/tr51/#Emoji_Properties
427
428
  *
428
- * @draft ICU 57
429
+ * @stable ICU 57
429
430
  */
430
431
  UCHAR_EMOJI_MODIFIER_BASE=60,
431
- #endif /* U_HIDE_DRAFT_API */
432
+ /**
433
+ * Binary property Emoji_Component.
434
+ * See http://www.unicode.org/reports/tr51/#Emoji_Properties
435
+ *
436
+ * @stable ICU 60
437
+ */
438
+ UCHAR_EMOJI_COMPONENT=61,
439
+ /**
440
+ * Binary property Regional_Indicator.
441
+ * @stable ICU 60
442
+ */
443
+ UCHAR_REGIONAL_INDICATOR=62,
444
+ /**
445
+ * Binary property Prepended_Concatenation_Mark.
446
+ * @stable ICU 60
447
+ */
448
+ UCHAR_PREPENDED_CONCATENATION_MARK=63,
432
449
  #ifndef U_HIDE_DEPRECATED_API
433
450
  /**
434
451
  * One more than the last constant for binary Unicode properties.
435
452
  * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
436
453
  */
437
- UCHAR_BINARY_LIMIT=61,
454
+ UCHAR_BINARY_LIMIT,
438
455
  #endif // U_HIDE_DEPRECATED_API
439
456
 
440
457
  /** Enumerated property Bidi_Class.
@@ -1649,6 +1666,23 @@ enum UBlockCode {
1649
1666
  /** @stable ICU 58 */
1650
1667
  UBLOCK_TANGUT_COMPONENTS = 273, /*[18800]*/
1651
1668
 
1669
+ // New blocks in Unicode 10.0
1670
+
1671
+ /** @stable ICU 60 */
1672
+ UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_F = 274, /*[2CEB0]*/
1673
+ /** @stable ICU 60 */
1674
+ UBLOCK_KANA_EXTENDED_A = 275, /*[1B100]*/
1675
+ /** @stable ICU 60 */
1676
+ UBLOCK_MASARAM_GONDI = 276, /*[11D00]*/
1677
+ /** @stable ICU 60 */
1678
+ UBLOCK_NUSHU = 277, /*[1B170]*/
1679
+ /** @stable ICU 60 */
1680
+ UBLOCK_SOYOMBO = 278, /*[11A50]*/
1681
+ /** @stable ICU 60 */
1682
+ UBLOCK_SYRIAC_SUPPLEMENT = 279, /*[0860]*/
1683
+ /** @stable ICU 60 */
1684
+ UBLOCK_ZANABAZAR_SQUARE = 280, /*[11A00]*/
1685
+
1652
1686
  #ifndef U_HIDE_DEPRECATED_API
1653
1687
  /**
1654
1688
  * One more than the highest normal UBlockCode value.
@@ -1656,7 +1690,7 @@ enum UBlockCode {
1656
1690
  *
1657
1691
  * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
1658
1692
  */
1659
- UBLOCK_COUNT = 274,
1693
+ UBLOCK_COUNT = 281,
1660
1694
  #endif // U_HIDE_DEPRECATED_API
1661
1695
 
1662
1696
  /** @stable ICU 2.0 */
@@ -1932,6 +1966,19 @@ typedef enum UJoiningGroup {
1932
1966
  U_JG_AFRICAN_FEH, /**< @stable ICU 58 */
1933
1967
  U_JG_AFRICAN_NOON, /**< @stable ICU 58 */
1934
1968
  U_JG_AFRICAN_QAF, /**< @stable ICU 58 */
1969
+
1970
+ U_JG_MALAYALAM_BHA, /**< @stable ICU 60 */
1971
+ U_JG_MALAYALAM_JA, /**< @stable ICU 60 */
1972
+ U_JG_MALAYALAM_LLA, /**< @stable ICU 60 */
1973
+ U_JG_MALAYALAM_LLLA, /**< @stable ICU 60 */
1974
+ U_JG_MALAYALAM_NGA, /**< @stable ICU 60 */
1975
+ U_JG_MALAYALAM_NNA, /**< @stable ICU 60 */
1976
+ U_JG_MALAYALAM_NNNA, /**< @stable ICU 60 */
1977
+ U_JG_MALAYALAM_NYA, /**< @stable ICU 60 */
1978
+ U_JG_MALAYALAM_RA, /**< @stable ICU 60 */
1979
+ U_JG_MALAYALAM_SSA, /**< @stable ICU 60 */
1980
+ U_JG_MALAYALAM_TTA, /**< @stable ICU 60 */
1981
+
1935
1982
  #ifndef U_HIDE_DEPRECATED_API
1936
1983
  /**
1937
1984
  * One more than the highest normal UJoiningGroup value.
@@ -2655,8 +2702,7 @@ u_isgraph(UChar32 c);
2655
2702
  *
2656
2703
  * same as
2657
2704
  *
2658
- * TRUE for U+0009 (TAB) and characters with general category "Zs" (space separators)
2659
- * except Zero Width Space (ZWSP, U+200B).
2705
+ * TRUE for U+0009 (TAB) and characters with general category "Zs" (space separators).
2660
2706
  *
2661
2707
  * Note: There are several ICU whitespace functions; please see the uchar.h
2662
2708
  * file documentation for a detailed comparison.
@@ -3523,27 +3569,6 @@ u_toupper(UChar32 c);
3523
3569
  U_STABLE UChar32 U_EXPORT2
3524
3570
  u_totitle(UChar32 c);
3525
3571
 
3526
- /** Option value for case folding: use default mappings defined in CaseFolding.txt. @stable ICU 2.0 */
3527
- #define U_FOLD_CASE_DEFAULT 0
3528
-
3529
- /**
3530
- * Option value for case folding:
3531
- *
3532
- * Use the modified set of mappings provided in CaseFolding.txt to handle dotted I
3533
- * and dotless i appropriately for Turkic languages (tr, az).
3534
- *
3535
- * Before Unicode 3.2, CaseFolding.txt contains mappings marked with 'I' that
3536
- * are to be included for default mappings and
3537
- * excluded for the Turkic-specific mappings.
3538
- *
3539
- * Unicode 3.2 CaseFolding.txt instead contains mappings marked with 'T' that
3540
- * are to be excluded for default mappings and
3541
- * included for the Turkic-specific mappings.
3542
- *
3543
- * @stable ICU 2.0
3544
- */
3545
- #define U_FOLD_CASE_EXCLUDE_SPECIAL_I 1
3546
-
3547
3572
  /**
3548
3573
  * The given character is mapped to its case folding equivalent according to
3549
3574
  * UnicodeData.txt and CaseFolding.txt;
@@ -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
  *******************************************************************************
@@ -6,7 +6,7 @@
6
6
  * Corporation and others. All Rights Reserved.
7
7
  *******************************************************************************
8
8
  * file name: ucharstrie.h
9
- * encoding: US-ASCII
9
+ * encoding: UTF-8
10
10
  * tab size: 8 (not used)
11
11
  * indentation:4
12
12
  *
@@ -36,7 +36,7 @@ class UVector32;
36
36
 
37
37
  /**
38
38
  * Light-weight, non-const reader class for a UCharsTrie.
39
- * Traverses a UChar-serialized data structure with minimal state,
39
+ * Traverses a char16_t-serialized data structure with minimal state,
40
40
  * for mapping strings (16-bit-unit sequences) to non-negative integer values.
41
41
  *
42
42
  * This class owns the serialized trie data only if it was constructed by
@@ -52,18 +52,18 @@ public:
52
52
  /**
53
53
  * Constructs a UCharsTrie reader instance.
54
54
  *
55
- * The trieUChars must contain a copy of a UChar sequence from the UCharsTrieBuilder,
56
- * starting with the first UChar of that sequence.
57
- * The UCharsTrie object will not read more UChars than
55
+ * The trieUChars must contain a copy of a char16_t sequence from the UCharsTrieBuilder,
56
+ * starting with the first char16_t of that sequence.
57
+ * The UCharsTrie object will not read more char16_ts than
58
58
  * the UCharsTrieBuilder generated in the corresponding build() call.
59
59
  *
60
60
  * The array is not copied/cloned and must not be modified while
61
61
  * the UCharsTrie object is in use.
62
62
  *
63
- * @param trieUChars The UChar array that contains the serialized trie.
63
+ * @param trieUChars The char16_t array that contains the serialized trie.
64
64
  * @stable ICU 4.8
65
65
  */
66
- UCharsTrie(const UChar *trieUChars)
66
+ UCharsTrie(ConstChar16Ptr trieUChars)
67
67
  : ownedArray_(NULL), uchars_(trieUChars),
68
68
  pos_(uchars_), remainingMatchLength_(-1) {}
69
69
 
@@ -75,7 +75,7 @@ public:
75
75
 
76
76
  /**
77
77
  * Copy constructor, copies the other trie reader object and its state,
78
- * but not the UChar array which will be shared. (Shallow copy.)
78
+ * but not the char16_t array which will be shared. (Shallow copy.)
79
79
  * @param other Another UCharsTrie object.
80
80
  * @stable ICU 4.8
81
81
  */
@@ -109,8 +109,8 @@ public:
109
109
  private:
110
110
  friend class UCharsTrie;
111
111
 
112
- const UChar *uchars;
113
- const UChar *pos;
112
+ const char16_t *uchars;
113
+ const char16_t *pos;
114
114
  int32_t remainingMatchLength;
115
115
  };
116
116
 
@@ -148,14 +148,14 @@ public:
148
148
 
149
149
  /**
150
150
  * Determines whether the string so far matches, whether it has a value,
151
- * and whether another input UChar can continue a matching string.
151
+ * and whether another input char16_t can continue a matching string.
152
152
  * @return The match/value Result.
153
153
  * @stable ICU 4.8
154
154
  */
155
155
  UStringTrieResult current() const;
156
156
 
157
157
  /**
158
- * Traverses the trie from the initial state for this input UChar.
158
+ * Traverses the trie from the initial state for this input char16_t.
159
159
  * Equivalent to reset().next(uchar).
160
160
  * @param uchar Input char value. Values below 0 and above 0xffff will never match.
161
161
  * @return The match/value Result.
@@ -177,7 +177,7 @@ public:
177
177
  UStringTrieResult firstForCodePoint(UChar32 cp);
178
178
 
179
179
  /**
180
- * Traverses the trie from the current state for this input UChar.
180
+ * Traverses the trie from the current state for this input char16_t.
181
181
  * @param uchar Input char value. Values below 0 and above 0xffff will never match.
182
182
  * @return The match/value Result.
183
183
  * @stable ICU 4.8
@@ -208,7 +208,7 @@ public:
208
208
  * @return The match/value Result.
209
209
  * @stable ICU 4.8
210
210
  */
211
- UStringTrieResult next(const UChar *s, int32_t length);
211
+ UStringTrieResult next(ConstChar16Ptr s, int32_t length);
212
212
 
213
213
  /**
214
214
  * Returns a matching string's value if called immediately after
@@ -220,7 +220,7 @@ public:
220
220
  * @stable ICU 4.8
221
221
  */
222
222
  inline int32_t getValue() const {
223
- const UChar *pos=pos_;
223
+ const char16_t *pos=pos_;
224
224
  int32_t leadUnit=*pos++;
225
225
  // U_ASSERT(leadUnit>=kMinValueLead);
226
226
  return leadUnit&kValueIsFinal ?
@@ -237,16 +237,16 @@ public:
237
237
  * @stable ICU 4.8
238
238
  */
239
239
  inline UBool hasUniqueValue(int32_t &uniqueValue) const {
240
- const UChar *pos=pos_;
240
+ const char16_t *pos=pos_;
241
241
  // Skip the rest of a pending linear-match node.
242
242
  return pos!=NULL && findUniqueValue(pos+remainingMatchLength_+1, FALSE, uniqueValue);
243
243
  }
244
244
 
245
245
  /**
246
- * Finds each UChar which continues the string from the current state.
247
- * That is, each UChar c for which it would be next(c)!=USTRINGTRIE_NO_MATCH now.
248
- * @param out Each next UChar is appended to this object.
249
- * @return the number of UChars which continue the string from here
246
+ * Finds each char16_t which continues the string from the current state.
247
+ * That is, each char16_t c for which it would be next(c)!=USTRINGTRIE_NO_MATCH now.
248
+ * @param out Each next char16_t is appended to this object.
249
+ * @return the number of char16_ts which continue the string from here
250
250
  * @stable ICU 4.8
251
251
  */
252
252
  int32_t getNextUChars(Appendable &out) const;
@@ -258,8 +258,8 @@ public:
258
258
  class U_COMMON_API Iterator : public UMemory {
259
259
  public:
260
260
  /**
261
- * Iterates from the root of a UChar-serialized UCharsTrie.
262
- * @param trieUChars The trie UChars.
261
+ * Iterates from the root of a char16_t-serialized UCharsTrie.
262
+ * @param trieUChars The trie char16_ts.
263
263
  * @param maxStringLength If 0, the iterator returns full strings.
264
264
  * Otherwise, the iterator returns strings with this maximum length.
265
265
  * @param errorCode Standard ICU error code. Its input value must
@@ -268,7 +268,7 @@ public:
268
268
  * function chaining. (See User Guide for details.)
269
269
  * @stable ICU 4.8
270
270
  */
271
- Iterator(const UChar *trieUChars, int32_t maxStringLength, UErrorCode &errorCode);
271
+ Iterator(ConstChar16Ptr trieUChars, int32_t maxStringLength, UErrorCode &errorCode);
272
272
 
273
273
  /**
274
274
  * Iterates from the current state of the specified UCharsTrie.
@@ -336,11 +336,11 @@ public:
336
336
  return TRUE;
337
337
  }
338
338
 
339
- const UChar *branchNext(const UChar *pos, int32_t length, UErrorCode &errorCode);
339
+ const char16_t *branchNext(const char16_t *pos, int32_t length, UErrorCode &errorCode);
340
340
 
341
- const UChar *uchars_;
342
- const UChar *pos_;
343
- const UChar *initialPos_;
341
+ const char16_t *uchars_;
342
+ const char16_t *pos_;
343
+ const char16_t *initialPos_;
344
344
  int32_t remainingMatchLength_;
345
345
  int32_t initialRemainingMatchLength_;
346
346
  UBool skipValue_; // Skip intermediate value which was already delivered.
@@ -368,7 +368,7 @@ private:
368
368
  * this constructor adopts the builder's array.
369
369
  * This constructor is only called by the builder.
370
370
  */
371
- UCharsTrie(UChar *adoptUChars, const UChar *trieUChars)
371
+ UCharsTrie(char16_t *adoptUChars, const char16_t *trieUChars)
372
372
  : ownedArray_(adoptUChars), uchars_(trieUChars),
373
373
  pos_(uchars_), remainingMatchLength_(-1) {}
374
374
 
@@ -381,7 +381,7 @@ private:
381
381
 
382
382
  // Reads a compact 32-bit integer.
383
383
  // pos is already after the leadUnit, and the lead unit has bit 15 reset.
384
- static inline int32_t readValue(const UChar *pos, int32_t leadUnit) {
384
+ static inline int32_t readValue(const char16_t *pos, int32_t leadUnit) {
385
385
  int32_t value;
386
386
  if(leadUnit<kMinTwoUnitValueLead) {
387
387
  value=leadUnit;
@@ -392,7 +392,7 @@ private:
392
392
  }
393
393
  return value;
394
394
  }
395
- static inline const UChar *skipValue(const UChar *pos, int32_t leadUnit) {
395
+ static inline const char16_t *skipValue(const char16_t *pos, int32_t leadUnit) {
396
396
  if(leadUnit>=kMinTwoUnitValueLead) {
397
397
  if(leadUnit<kThreeUnitValueLead) {
398
398
  ++pos;
@@ -402,12 +402,12 @@ private:
402
402
  }
403
403
  return pos;
404
404
  }
405
- static inline const UChar *skipValue(const UChar *pos) {
405
+ static inline const char16_t *skipValue(const char16_t *pos) {
406
406
  int32_t leadUnit=*pos++;
407
407
  return skipValue(pos, leadUnit&0x7fff);
408
408
  }
409
409
 
410
- static inline int32_t readNodeValue(const UChar *pos, int32_t leadUnit) {
410
+ static inline int32_t readNodeValue(const char16_t *pos, int32_t leadUnit) {
411
411
  // U_ASSERT(kMinValueLead<=leadUnit && leadUnit<kValueIsFinal);
412
412
  int32_t value;
413
413
  if(leadUnit<kMinTwoUnitNodeValueLead) {
@@ -419,7 +419,7 @@ private:
419
419
  }
420
420
  return value;
421
421
  }
422
- static inline const UChar *skipNodeValue(const UChar *pos, int32_t leadUnit) {
422
+ static inline const char16_t *skipNodeValue(const char16_t *pos, int32_t leadUnit) {
423
423
  // U_ASSERT(kMinValueLead<=leadUnit && leadUnit<kValueIsFinal);
424
424
  if(leadUnit>=kMinTwoUnitNodeValueLead) {
425
425
  if(leadUnit<kThreeUnitNodeValueLead) {
@@ -431,7 +431,7 @@ private:
431
431
  return pos;
432
432
  }
433
433
 
434
- static inline const UChar *jumpByDelta(const UChar *pos) {
434
+ static inline const char16_t *jumpByDelta(const char16_t *pos) {
435
435
  int32_t delta=*pos++;
436
436
  if(delta>=kMinTwoUnitDeltaLead) {
437
437
  if(delta==kThreeUnitDeltaLead) {
@@ -444,7 +444,7 @@ private:
444
444
  return pos+delta;
445
445
  }
446
446
 
447
- static const UChar *skipDelta(const UChar *pos) {
447
+ static const char16_t *skipDelta(const char16_t *pos) {
448
448
  int32_t delta=*pos++;
449
449
  if(delta>=kMinTwoUnitDeltaLead) {
450
450
  if(delta==kThreeUnitDeltaLead) {
@@ -461,28 +461,28 @@ private:
461
461
  }
462
462
 
463
463
  // Handles a branch node for both next(uchar) and next(string).
464
- UStringTrieResult branchNext(const UChar *pos, int32_t length, int32_t uchar);
464
+ UStringTrieResult branchNext(const char16_t *pos, int32_t length, int32_t uchar);
465
465
 
466
466
  // Requires remainingLength_<0.
467
- UStringTrieResult nextImpl(const UChar *pos, int32_t uchar);
467
+ UStringTrieResult nextImpl(const char16_t *pos, int32_t uchar);
468
468
 
469
469
  // Helper functions for hasUniqueValue().
470
470
  // Recursively finds a unique value (or whether there is not a unique one)
471
471
  // from a branch.
472
- static const UChar *findUniqueValueFromBranch(const UChar *pos, int32_t length,
472
+ static const char16_t *findUniqueValueFromBranch(const char16_t *pos, int32_t length,
473
473
  UBool haveUniqueValue, int32_t &uniqueValue);
474
474
  // Recursively finds a unique value (or whether there is not a unique one)
475
475
  // starting from a position on a node lead unit.
476
- static UBool findUniqueValue(const UChar *pos, UBool haveUniqueValue, int32_t &uniqueValue);
476
+ static UBool findUniqueValue(const char16_t *pos, UBool haveUniqueValue, int32_t &uniqueValue);
477
477
 
478
478
  // Helper functions for getNextUChars().
479
479
  // getNextUChars() when pos is on a branch node.
480
- static void getNextBranchUChars(const UChar *pos, int32_t length, Appendable &out);
480
+ static void getNextBranchUChars(const char16_t *pos, int32_t length, Appendable &out);
481
481
 
482
482
  // UCharsTrie data structure
483
483
  //
484
- // The trie consists of a series of UChar-serialized nodes for incremental
485
- // Unicode string/UChar sequence matching. (UChar=16-bit unsigned integer)
484
+ // The trie consists of a series of char16_t-serialized nodes for incremental
485
+ // Unicode string/char16_t sequence matching. (char16_t=16-bit unsigned integer)
486
486
  // The root node is at the beginning of the trie data.
487
487
  //
488
488
  // Types of nodes are distinguished by their node lead unit ranges.
@@ -491,9 +491,9 @@ private:
491
491
  //
492
492
  // Node types:
493
493
  // - Final-value node: Stores a 32-bit integer in a compact, variable-length format.
494
- // The value is for the string/UChar sequence so far.
494
+ // The value is for the string/char16_t sequence so far.
495
495
  // - Match node, optionally with an intermediate value in a different compact format.
496
- // The value, if present, is for the string/UChar sequence so far.
496
+ // The value, if present, is for the string/char16_t sequence so far.
497
497
  //
498
498
  // Aside from the value, which uses the node lead unit's high bits:
499
499
  //
@@ -560,15 +560,15 @@ private:
560
560
 
561
561
  static const int32_t kMaxTwoUnitDelta=((kThreeUnitDeltaLead-kMinTwoUnitDeltaLead)<<16)-1; // 0x03feffff
562
562
 
563
- UChar *ownedArray_;
563
+ char16_t *ownedArray_;
564
564
 
565
565
  // Fixed value referencing the UCharsTrie words.
566
- const UChar *uchars_;
566
+ const char16_t *uchars_;
567
567
 
568
568
  // Iterator variables.
569
569
 
570
570
  // Pointer to next trie unit to read. NULL if no more matches.
571
- const UChar *pos_;
571
+ const char16_t *pos_;
572
572
  // Remaining length of a linear-match node, minus 1. Negative if not in such a node.
573
573
  int32_t remainingMatchLength_;
574
574
  };