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
  ********************************************************************************
@@ -30,7 +30,7 @@
30
30
  #include "unicode/utypes.h"
31
31
  /**
32
32
  * \file
33
- * \brief C++ API: Formats decimal numbers.
33
+ * \brief C++ API: Compatibility APIs for decimal formatting.
34
34
  */
35
35
 
36
36
  #if !UCONFIG_NO_FORMATTING
@@ -67,13 +67,19 @@ class PluralRules;
67
67
  class VisibleDigitsWithExponent;
68
68
 
69
69
  // explicit template instantiation. see digitlst.h
70
- #if defined (_MSC_VER)
70
+ // (When building DLLs for Windows this is required.)
71
+ #if U_PF_WINDOWS <= U_PLATFORM && U_PLATFORM <= U_PF_CYGWIN
71
72
  template class U_I18N_API EnumSet<UNumberFormatAttribute,
72
73
  UNUM_MAX_NONBOOLEAN_ATTRIBUTE+1,
73
74
  UNUM_LIMIT_BOOLEAN_ATTRIBUTE>;
74
75
  #endif
75
76
 
76
77
  /**
78
+ * <p><strong>IMPORTANT:</strong> New users are strongly encouraged to see if
79
+ * numberformatter.h fits their use case. Although not deprecated, this header
80
+ * is provided for backwards compatibility only.
81
+ * <hr/>
82
+ *
77
83
  * DecimalFormat is a concrete subclass of NumberFormat that formats decimal
78
84
  * numbers. It has a variety of features designed to make it possible to parse
79
85
  * and format numbers in any locale, including support for Western, Arabic, or
@@ -604,7 +610,7 @@ template class U_I18N_API EnumSet<UNumberFormatAttribute,
604
610
  * including prefix and suffix, determines the format width. For example, in
605
611
  * the pattern <code>"* #0 o''clock"</code>, the format width is 10.
606
612
  *
607
- * <li>The width is counted in 16-bit code units (UChars).
613
+ * <li>The width is counted in 16-bit code units (char16_ts).
608
614
  *
609
615
  * <li>Some parameters which usually do not matter have meaning when padding is
610
616
  * used, because the pattern width is significant with padding. In the pattern
@@ -668,28 +674,6 @@ template class U_I18N_API EnumSet<UNumberFormatAttribute,
668
674
  */
669
675
  class U_I18N_API DecimalFormat: public NumberFormat {
670
676
  public:
671
- /**
672
- * Rounding mode.
673
- * @stable ICU 2.4
674
- */
675
- enum ERoundingMode {
676
- kRoundCeiling, /**< Round towards positive infinity */
677
- kRoundFloor, /**< Round towards negative infinity */
678
- kRoundDown, /**< Round towards zero */
679
- kRoundUp, /**< Round away from zero */
680
- kRoundHalfEven, /**< Round towards the nearest integer, or
681
- towards the nearest even integer if equidistant */
682
- kRoundHalfDown, /**< Round towards the nearest integer, or
683
- towards zero if equidistant */
684
- kRoundHalfUp, /**< Round towards the nearest integer, or
685
- away from zero if equidistant */
686
- /**
687
- * Return U_FORMAT_INEXACT_ERROR if number does not format exactly.
688
- * @stable ICU 4.8
689
- */
690
- kRoundUnnecessary
691
- };
692
-
693
677
  /**
694
678
  * Pad position.
695
679
  * @stable ICU 2.4
@@ -710,6 +694,9 @@ public:
710
694
  * on NumberFormat such as createInstance. These factories will
711
695
  * return the most appropriate sub-class of NumberFormat for a given
712
696
  * locale.
697
+ * <p>
698
+ * <strong>NOTE:</strong> New users are strongly encouraged to use
699
+ * {@link NumberFormatter} instead of DecimalFormat.
713
700
  * @param status Output param set to success/failure code. If the
714
701
  * pattern is invalid this will be set to a failure code.
715
702
  * @stable ICU 2.0
@@ -725,6 +712,9 @@ public:
725
712
  * on NumberFormat such as createInstance. These factories will
726
713
  * return the most appropriate sub-class of NumberFormat for a given
727
714
  * locale.
715
+ * <p>
716
+ * <strong>NOTE:</strong> New users are strongly encouraged to use
717
+ * {@link NumberFormatter} instead of DecimalFormat.
728
718
  * @param pattern A non-localized pattern string.
729
719
  * @param status Output param set to success/failure code. If the
730
720
  * pattern is invalid this will be set to a failure code.
@@ -743,6 +733,9 @@ public:
743
733
  * createInstance or createCurrencyInstance. If you need only minor adjustments
744
734
  * to a standard format, you can modify the format returned by
745
735
  * a NumberFormat factory method.
736
+ * <p>
737
+ * <strong>NOTE:</strong> New users are strongly encouraged to use
738
+ * {@link NumberFormatter} instead of DecimalFormat.
746
739
  *
747
740
  * @param pattern a non-localized pattern string
748
741
  * @param symbolsToAdopt the set of symbols to be used. The caller should not
@@ -848,6 +841,9 @@ public:
848
841
  * createInstance or createCurrencyInstance. If you need only minor adjustments
849
842
  * to a standard format, you can modify the format returned by
850
843
  * a NumberFormat factory method.
844
+ * <p>
845
+ * <strong>NOTE:</strong> New users are strongly encouraged to use
846
+ * {@link NumberFormatter} instead of DecimalFormat.
851
847
  *
852
848
  * @param pattern a non-localized pattern string
853
849
  * @param symbolsToAdopt the set of symbols to be used. The caller should not
@@ -871,6 +867,9 @@ public:
871
867
  * createInstance or createCurrencyInstance. If you need only minor adjustments
872
868
  * to a standard format, you can modify the format returned by
873
869
  * a NumberFormat factory method.
870
+ * <p>
871
+ * <strong>NOTE:</strong> New users are strongly encouraged to use
872
+ * {@link NumberFormatter} instead of DecimalFormat.
874
873
  *
875
874
  * @param pattern a non-localized pattern string
876
875
  * @param symbols the set of symbols to be used
@@ -1961,14 +1960,14 @@ public:
1961
1960
  * @param ec input-output error code
1962
1961
  * @stable ICU 3.0
1963
1962
  */
1964
- virtual void setCurrency(const UChar* theCurrency, UErrorCode& ec);
1963
+ virtual void setCurrency(const char16_t* theCurrency, UErrorCode& ec);
1965
1964
 
1966
1965
  /**
1967
1966
  * Sets the currency used to display currency amounts. See
1968
- * setCurrency(const UChar*, UErrorCode&).
1969
- * @deprecated ICU 3.0. Use setCurrency(const UChar*, UErrorCode&).
1967
+ * setCurrency(const char16_t*, UErrorCode&).
1968
+ * @deprecated ICU 3.0. Use setCurrency(const char16_t*, UErrorCode&).
1970
1969
  */
1971
- virtual void setCurrency(const UChar* theCurrency);
1970
+ virtual void setCurrency(const char16_t* theCurrency);
1972
1971
 
1973
1972
  /**
1974
1973
  * Sets the <tt>Currency Context</tt> object used to display currency.
@@ -1993,7 +1992,7 @@ public:
1993
1992
  * @deprecated ICU 3.4. This string has no public purpose. Please don't use it.
1994
1993
  */
1995
1994
  static const char fgNumberPatterns[];
1996
- #endif /* U_HIDE_DEPRECATED_API */
1995
+ #endif // U_HIDE_DEPRECATED_API
1997
1996
 
1998
1997
  #ifndef U_HIDE_INTERNAL_API
1999
1998
  /**
@@ -2108,7 +2107,7 @@ private:
2108
2107
  void parse(const UnicodeString& text,
2109
2108
  Formattable& result,
2110
2109
  ParsePosition& pos,
2111
- UChar* currency) const;
2110
+ char16_t* currency) const;
2112
2111
 
2113
2112
  enum {
2114
2113
  fgStatusInfinite,
@@ -2124,7 +2123,7 @@ private:
2124
2123
  int8_t type,
2125
2124
  ParsePosition& parsePosition,
2126
2125
  DigitList& digits, UBool* status,
2127
- UChar* currency) const;
2126
+ char16_t* currency) const;
2128
2127
 
2129
2128
  // Mixed style parsing for currency.
2130
2129
  // It parses against the current currency pattern
@@ -2135,7 +2134,7 @@ private:
2135
2134
  ParsePosition& parsePosition,
2136
2135
  DigitList& digits,
2137
2136
  UBool* status,
2138
- UChar* currency) const;
2137
+ char16_t* currency) const;
2139
2138
 
2140
2139
  int32_t skipPadding(const UnicodeString& text, int32_t position) const;
2141
2140
 
@@ -2146,7 +2145,7 @@ private:
2146
2145
  const UnicodeString* affixPat,
2147
2146
  UBool complexCurrencyParsing,
2148
2147
  int8_t type,
2149
- UChar* currency) const;
2148
+ char16_t* currency) const;
2150
2149
 
2151
2150
  static UnicodeString& trimMarksFromAffix(const UnicodeString& affix, UnicodeString& trimmedAffix);
2152
2151
 
@@ -2169,7 +2168,7 @@ private:
2169
2168
  const UnicodeString& input,
2170
2169
  int32_t pos,
2171
2170
  int8_t type,
2172
- UChar* currency) const;
2171
+ char16_t* currency) const;
2173
2172
 
2174
2173
  static int32_t match(const UnicodeString& text, int32_t pos, UChar32 ch);
2175
2174
 
@@ -2195,11 +2194,11 @@ private:
2195
2194
  void setupCurrencyAffixPatterns(UErrorCode& status);
2196
2195
 
2197
2196
  // get the currency rounding with respect to currency usage
2198
- double getCurrencyRounding(const UChar* currency,
2197
+ double getCurrencyRounding(const char16_t* currency,
2199
2198
  UErrorCode* ec) const;
2200
2199
 
2201
2200
  // get the currency fraction with respect to currency usage
2202
- int getCurrencyFractionDigits(const UChar* currency,
2201
+ int getCurrencyFractionDigits(const char16_t* currency,
2203
2202
  UErrorCode* ec) const;
2204
2203
 
2205
2204
  // hashtable operations
@@ -2271,7 +2270,7 @@ protected:
2271
2270
  * have a capacity of at least 4
2272
2271
  * @internal
2273
2272
  */
2274
- virtual void getEffectiveCurrency(UChar* result, UErrorCode& ec) const;
2273
+ virtual void getEffectiveCurrency(char16_t* result, UErrorCode& ec) const;
2275
2274
 
2276
2275
  /** number of integer digits
2277
2276
  * @stable ICU 2.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
  * COPYRIGHT:
@@ -98,6 +98,11 @@
98
98
  * <td>C API</td>
99
99
  * </tr>
100
100
  * <tr>
101
+ * <td>Codepage Detection</td>
102
+ * <td>ucsdet.h</td>
103
+ * <td>C API</td>
104
+ * </tr>
105
+ * <tr>
101
106
  * <td>Unicode Text Compression</td>
102
107
  * <td>ucnv.h<br/>(encoding name "SCSU" or "BOCU-1")</td>
103
108
  * <td>C API</td>
@@ -135,7 +140,7 @@
135
140
  * <tr>
136
141
  * <td>Number Formatting</td>
137
142
  * <td>unum.h</td>
138
- * <td>icu::NumberFormat</td>
143
+ * <td>icu::number::NumberFormatter (ICU 60+) or icu::NumberFormat (older versions)</td>
139
144
  * </tr>
140
145
  * <tr>
141
146
  * <td>Number Spellout<br/>(Rule Based Number Formatting)</td>
@@ -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
  ********************************************************************************
@@ -25,6 +25,7 @@
25
25
  #if !UCONFIG_NO_FORMATTING
26
26
 
27
27
  #include "unicode/calendar.h"
28
+ #include "unicode/strenum.h"
28
29
  #include "unicode/uobject.h"
29
30
  #include "unicode/locid.h"
30
31
  #include "unicode/udat.h"
@@ -426,13 +427,13 @@ public:
426
427
  * doesn't specify any time separator, and always recognized when parsing.
427
428
  * @internal
428
429
  */
429
- static const UChar DEFAULT_TIME_SEPARATOR = 0x003a; // ':'
430
+ static const char16_t DEFAULT_TIME_SEPARATOR = 0x003a; // ':'
430
431
 
431
432
  /**
432
433
  * This alternate time separator is always recognized when parsing.
433
434
  * @internal
434
435
  */
435
- static const UChar ALTERNATE_TIME_SEPARATOR = 0x002e; // '.'
436
+ static const char16_t ALTERNATE_TIME_SEPARATOR = 0x002e; // '.'
436
437
 
437
438
  /**
438
439
  * Gets the time separator string. For example: ":".
@@ -566,7 +567,7 @@ public:
566
567
  * @return the non-localized date-time pattern characters
567
568
  * @stable ICU 2.0
568
569
  */
569
- static const UChar * U_EXPORT2 getPatternUChars(void);
570
+ static const char16_t * U_EXPORT2 getPatternUChars(void);
570
571
 
571
572
  /**
572
573
  * Gets localized date-time pattern characters. For example: 'u', 't', etc.
@@ -977,7 +978,7 @@ private:
977
978
  * Returns the date format field index of the pattern character c,
978
979
  * or UDAT_FIELD_COUNT if c is not a pattern character.
979
980
  */
980
- static UDateFormatField U_EXPORT2 getPatternCharIndex(UChar c);
981
+ static UDateFormatField U_EXPORT2 getPatternCharIndex(char16_t c);
981
982
 
982
983
  /**
983
984
  * Returns TRUE if f (with its pattern character repeated count times) is a numeric field.
@@ -987,7 +988,7 @@ private:
987
988
  /**
988
989
  * Returns TRUE if c (repeated count times) is the pattern character for a numeric field.
989
990
  */
990
- static UBool U_EXPORT2 isNumericPatternChar(UChar c, int32_t count);
991
+ static UBool U_EXPORT2 isNumericPatternChar(char16_t c, int32_t count);
991
992
  public:
992
993
  #ifndef U_HIDE_INTERNAL_API
993
994
  /**
@@ -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
  *******************************************************************************
@@ -69,7 +69,7 @@ public:
69
69
  * <pre>
70
70
  * . Base* polymorphic_pointer = createPolymorphicObject();
71
71
  * . if (polymorphic_pointer->getDynamicClassID() ==
72
- * . erived::getStaticClassID()) ...
72
+ * . derived::getStaticClassID()) ...
73
73
  * </pre>
74
74
  * @return The class ID for all objects of this class.
75
75
  * @stable ICU 4.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
  * Copyright (C) 2008-2016, International Business Machines Corporation and
@@ -996,7 +996,7 @@ private:
996
996
 
997
997
 
998
998
  // from calendar field to pattern letter
999
- static const UChar fgCalendarFieldToPatternLetter[];
999
+ static const char16_t fgCalendarFieldToPatternLetter[];
1000
1000
 
1001
1001
 
1002
1002
  /**
@@ -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
  *******************************************************************************
@@ -152,8 +152,6 @@ U_NAMESPACE_BEGIN
152
152
 
153
153
  class U_I18N_API DateIntervalInfo U_FINAL : public UObject {
154
154
  public:
155
- // Do not enclose the protected default constructor with #ifndef U_HIDE_INTERNAL_API
156
- // or else the compiler will create a public default constructor.
157
155
  /**
158
156
  * Default constructor.
159
157
  * It does not initialize any interval patterns except
@@ -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
  *******************************************************************************
@@ -18,6 +18,7 @@
18
18
  #include "unicode/locid.h"
19
19
  #include "unicode/udat.h"
20
20
  #include "unicode/udatpg.h"
21
+ #include "unicode/unistr.h"
21
22
 
22
23
  U_NAMESPACE_BEGIN
23
24
 
@@ -27,6 +28,7 @@ U_NAMESPACE_BEGIN
27
28
  */
28
29
 
29
30
 
31
+ class CharString;
30
32
  class Hashtable;
31
33
  class FormatParser;
32
34
  class DateTimeMatcher;
@@ -205,11 +207,11 @@ public:
205
207
  * @return conflicting status. The value could be UDATPG_NO_CONFLICT,
206
208
  * UDATPG_BASE_CONFLICT or UDATPG_CONFLICT.
207
209
  * @stable ICU 3.8
208
- * <p>
209
- * <h4>Sample code</h4>
210
- * \snippet samples/dtptngsample/dtptngsample.cpp getBestPatternExample1
211
- * \snippet samples/dtptngsample/dtptngsample.cpp addPatternExample
212
- * <p>
210
+ * <p>
211
+ * <h4>Sample code</h4>
212
+ * \snippet samples/dtptngsample/dtptngsample.cpp getBestPatternExample1
213
+ * \snippet samples/dtptngsample/dtptngsample.cpp addPatternExample
214
+ * <p>
213
215
  */
214
216
  UDateTimePatternConflict addPattern(const UnicodeString& pattern,
215
217
  UBool override,
@@ -261,14 +263,29 @@ public:
261
263
 
262
264
  /**
263
265
  * Getter corresponding to setAppendItemNames. Values below 0 or at or above
264
- * UDATPG_FIELD_COUNT are illegal arguments.
266
+ * UDATPG_FIELD_COUNT are illegal arguments. Note: The more general method
267
+ * for getting date/time field display names is getFieldDisplayName.
265
268
  *
266
269
  * @param field such as UDATPG_ERA_FIELD.
267
270
  * @return name for field
271
+ * @see getFieldDisplayName
268
272
  * @stable ICU 3.8
269
273
  */
270
274
  const UnicodeString& getAppendItemName(UDateTimePatternField field) const;
271
275
 
276
+ #ifndef U_HIDE_DRAFT_API
277
+ /**
278
+ * The general interface to get a display name for a particular date/time field,
279
+ * in one of several possible display widths.
280
+ *
281
+ * @param field The desired UDateTimePatternField, such as UDATPG_ERA_FIELD.
282
+ * @param width The desired UDateTimePGDisplayWidth, such as UDATPG_ABBREVIATED.
283
+ * @return. The display name for field
284
+ * @draft ICU 61
285
+ */
286
+ UnicodeString getFieldDisplayName(UDateTimePatternField field, UDateTimePGDisplayWidth width) const;
287
+ #endif // U_HIDE_DRAFT_API
288
+
272
289
  /**
273
290
  * The DateTimeFormat is a message format pattern used to compose date and
274
291
  * time patterns. The default pattern in the root locale is "{1} {0}", where
@@ -311,11 +328,11 @@ public:
311
328
  * @return bestPattern
312
329
  * The best pattern found from the given skeleton.
313
330
  * @stable ICU 3.8
314
- * <p>
315
- * <h4>Sample code</h4>
316
- * \snippet samples/dtptngsample/dtptngsample.cpp getBestPatternExample1
317
- * \snippet samples/dtptngsample/dtptngsample.cpp getBestPatternExample
318
- * <p>
331
+ * <p>
332
+ * <h4>Sample code</h4>
333
+ * \snippet samples/dtptngsample/dtptngsample.cpp getBestPatternExample1
334
+ * \snippet samples/dtptngsample/dtptngsample.cpp getBestPatternExample
335
+ * <p>
319
336
  */
320
337
  UnicodeString getBestPattern(const UnicodeString& skeleton, UErrorCode& status);
321
338
 
@@ -359,11 +376,11 @@ public:
359
376
  * which must not indicate a failure before the function call.
360
377
  * @return pattern adjusted to match the skeleton fields widths and subtypes.
361
378
  * @stable ICU 3.8
362
- * <p>
363
- * <h4>Sample code</h4>
364
- * \snippet samples/dtptngsample/dtptngsample.cpp getBestPatternExample1
365
- * \snippet samples/dtptngsample/dtptngsample.cpp replaceFieldTypesExample
366
- * <p>
379
+ * <p>
380
+ * <h4>Sample code</h4>
381
+ * \snippet samples/dtptngsample/dtptngsample.cpp getBestPatternExample1
382
+ * \snippet samples/dtptngsample/dtptngsample.cpp replaceFieldTypesExample
383
+ * <p>
367
384
  */
368
385
  UnicodeString replaceFieldTypes(const UnicodeString& pattern,
369
386
  const UnicodeString& skeleton,
@@ -505,19 +522,23 @@ private:
505
522
  */
506
523
  DateTimePatternGenerator& operator=(const DateTimePatternGenerator& other);
507
524
 
525
+ // TODO(ticket:13619): re-enable when UDATPG_NARROW no longer in draft mode.
526
+ // static const int32_t UDATPG_WIDTH_COUNT = UDATPG_NARROW + 1;
527
+
508
528
  Locale pLocale; // pattern locale
509
529
  FormatParser *fp;
510
530
  DateTimeMatcher* dtMatcher;
511
531
  DistanceInfo *distanceInfo;
512
532
  PatternMap *patternMap;
513
533
  UnicodeString appendItemFormats[UDATPG_FIELD_COUNT];
514
- UnicodeString appendItemNames[UDATPG_FIELD_COUNT];
534
+ // TODO(ticket:13619): [3] -> UDATPG_WIDTH_COUNT
535
+ UnicodeString fieldDisplayNames[UDATPG_FIELD_COUNT][3];
515
536
  UnicodeString dateTimeFormat;
516
537
  UnicodeString decimal;
517
538
  DateTimeMatcher *skipMatcher;
518
539
  Hashtable *fAvailableFormatKeyHash;
519
540
  UnicodeString emptyString;
520
- UChar fDefaultHourFormatChar;
541
+ char16_t fDefaultHourFormatChar;
521
542
 
522
543
  int32_t fAllowedHourFormats[7]; // Actually an array of AllowedHourFormat enum type, ending with UNKNOWN.
523
544
 
@@ -525,9 +546,8 @@ private:
525
546
  enum {
526
547
  kDTPGNoFlags = 0,
527
548
  kDTPGFixFractionalSeconds = 1,
528
- kDTPGSkeletonUsesCapJ = 2,
529
- kDTPGSkeletonUsesLowB = 3,
530
- kDTPGSkeletonUsesCapB = 4
549
+ kDTPGSkeletonUsesCapJ = 2
550
+ // with #13183, no longer need flags for b, B
531
551
  };
532
552
 
533
553
  void initData(const Locale &locale, UErrorCode &status);
@@ -542,9 +562,13 @@ private:
542
562
  void setDateTimeFromCalendar(const Locale& locale, UErrorCode& status);
543
563
  void setDecimalSymbols(const Locale& locale, UErrorCode& status);
544
564
  UDateTimePatternField getAppendFormatNumber(const char* field) const;
545
- UDateTimePatternField getAppendNameNumber(const char* field) const;
546
- UnicodeString& getMutableAppendItemName(UDateTimePatternField field);
565
+ #ifndef U_HIDE_DRAFT_API
566
+ UDateTimePatternField getFieldAndWidthIndices(const char* key, UDateTimePGDisplayWidth* widthP) const;
567
+ void setFieldDisplayName(UDateTimePatternField field, UDateTimePGDisplayWidth width, const UnicodeString& value);
568
+ UnicodeString& getMutableFieldDisplayName(UDateTimePatternField field, UDateTimePGDisplayWidth width);
569
+ #endif // U_HIDE_DRAFT_API
547
570
  void getAppendName(UDateTimePatternField field, UnicodeString& value);
571
+ UnicodeString mapSkeletonMetacharacters(const UnicodeString& patternForm, int32_t* flags, UErrorCode& status);
548
572
  int32_t getCanonicalIndex(const UnicodeString& field);
549
573
  const UnicodeString* getBestRaw(DateTimeMatcher& source, int32_t includeMask, DistanceInfo* missingFields, const PtnSkeleton** specifiedSkeletonPtr = 0);
550
574
  UnicodeString adjustFieldTypes(const UnicodeString& pattern, const PtnSkeleton* specifiedSkeleton, int32_t flags, UDateTimePatternMatchOptions options = UDATPG_MATCH_NO_OPTIONS);