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
  *******************************************************************************
@@ -210,7 +210,7 @@ enum {
210
210
  * the output was truncated, and the error code is set to U_BUFFER_OVERFLOW_ERROR.
211
211
  * @deprecated ICU 56 Use unorm2.h instead.
212
212
  */
213
- U_STABLE int32_t U_EXPORT2
213
+ U_DEPRECATED int32_t U_EXPORT2
214
214
  unorm_normalize(const UChar *source, int32_t sourceLength,
215
215
  UNormalizationMode mode, int32_t options,
216
216
  UChar *result, int32_t resultLength,
@@ -236,7 +236,7 @@ unorm_normalize(const UChar *source, int32_t sourceLength,
236
236
  * @see unorm_isNormalized
237
237
  * @deprecated ICU 56 Use unorm2.h instead.
238
238
  */
239
- U_STABLE UNormalizationCheckResult U_EXPORT2
239
+ U_DEPRECATED UNormalizationCheckResult U_EXPORT2
240
240
  unorm_quickCheck(const UChar *source, int32_t sourcelength,
241
241
  UNormalizationMode mode,
242
242
  UErrorCode *status);
@@ -257,7 +257,7 @@ unorm_quickCheck(const UChar *source, int32_t sourcelength,
257
257
  * @see unorm_isNormalized
258
258
  * @deprecated ICU 56 Use unorm2.h instead.
259
259
  */
260
- U_STABLE UNormalizationCheckResult U_EXPORT2
260
+ U_DEPRECATED UNormalizationCheckResult U_EXPORT2
261
261
  unorm_quickCheckWithOptions(const UChar *src, int32_t srcLength,
262
262
  UNormalizationMode mode, int32_t options,
263
263
  UErrorCode *pErrorCode);
@@ -283,7 +283,7 @@ unorm_quickCheckWithOptions(const UChar *src, int32_t srcLength,
283
283
  * @see unorm_quickCheck
284
284
  * @deprecated ICU 56 Use unorm2.h instead.
285
285
  */
286
- U_STABLE UBool U_EXPORT2
286
+ U_DEPRECATED UBool U_EXPORT2
287
287
  unorm_isNormalized(const UChar *src, int32_t srcLength,
288
288
  UNormalizationMode mode,
289
289
  UErrorCode *pErrorCode);
@@ -305,7 +305,7 @@ unorm_isNormalized(const UChar *src, int32_t srcLength,
305
305
  * @see unorm_isNormalized
306
306
  * @deprecated ICU 56 Use unorm2.h instead.
307
307
  */
308
- U_STABLE UBool U_EXPORT2
308
+ U_DEPRECATED UBool U_EXPORT2
309
309
  unorm_isNormalizedWithOptions(const UChar *src, int32_t srcLength,
310
310
  UNormalizationMode mode, int32_t options,
311
311
  UErrorCode *pErrorCode);
@@ -383,7 +383,7 @@ unorm_isNormalizedWithOptions(const UChar *src, int32_t srcLength,
383
383
  *
384
384
  * @deprecated ICU 56 Use unorm2.h instead.
385
385
  */
386
- U_STABLE int32_t U_EXPORT2
386
+ U_DEPRECATED int32_t U_EXPORT2
387
387
  unorm_next(UCharIterator *src,
388
388
  UChar *dest, int32_t destCapacity,
389
389
  UNormalizationMode mode, int32_t options,
@@ -416,7 +416,7 @@ unorm_next(UCharIterator *src,
416
416
  *
417
417
  * @deprecated ICU 56 Use unorm2.h instead.
418
418
  */
419
- U_STABLE int32_t U_EXPORT2
419
+ U_DEPRECATED int32_t U_EXPORT2
420
420
  unorm_previous(UCharIterator *src,
421
421
  UChar *dest, int32_t destCapacity,
422
422
  UNormalizationMode mode, int32_t options,
@@ -460,7 +460,7 @@ unorm_previous(UCharIterator *src,
460
460
  *
461
461
  * @deprecated ICU 56 Use unorm2.h instead.
462
462
  */
463
- U_STABLE int32_t U_EXPORT2
463
+ U_DEPRECATED int32_t U_EXPORT2
464
464
  unorm_concatenate(const UChar *left, int32_t leftLength,
465
465
  const UChar *right, int32_t rightLength,
466
466
  UChar *dest, int32_t destCapacity,
@@ -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: unorm2.h
11
- * encoding: US-ASCII
11
+ * encoding: UTF-8
12
12
  * tab size: 8 (not used)
13
13
  * indentation:4
14
14
  *
@@ -32,6 +32,7 @@
32
32
 
33
33
  #include "unicode/utypes.h"
34
34
  #include "unicode/localpointer.h"
35
+ #include "unicode/stringoptions.h"
35
36
  #include "unicode/uset.h"
36
37
 
37
38
  /**
@@ -526,30 +527,6 @@ unorm2_hasBoundaryAfter(const UNormalizer2 *norm2, UChar32 c);
526
527
  U_STABLE UBool U_EXPORT2
527
528
  unorm2_isInert(const UNormalizer2 *norm2, UChar32 c);
528
529
 
529
- /**
530
- * Option bit for unorm_compare:
531
- * Both input strings are assumed to fulfill FCD conditions.
532
- * @stable ICU 2.2
533
- */
534
- #define UNORM_INPUT_IS_FCD 0x20000
535
-
536
- /**
537
- * Option bit for unorm_compare:
538
- * Perform case-insensitive comparison.
539
- * @stable ICU 2.2
540
- */
541
- #define U_COMPARE_IGNORE_CASE 0x10000
542
-
543
- #ifndef U_COMPARE_CODE_POINT_ORDER
544
- /* see also unistr.h and ustring.h */
545
- /**
546
- * Option bit for u_strCaseCompare, u_strcasecmp, unorm_compare, etc:
547
- * Compare strings in code point order instead of code unit order.
548
- * @stable ICU 2.2
549
- */
550
- #define U_COMPARE_CODE_POINT_ORDER 0x8000
551
- #endif
552
-
553
530
  /**
554
531
  * Compares two strings for canonical equivalence.
555
532
  * Further options include case-insensitive comparison and
@@ -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,12 +25,16 @@
25
25
  #include "unicode/parseerr.h"
26
26
  #include "unicode/uformattable.h"
27
27
  #include "unicode/udisplaycontext.h"
28
+ #include "unicode/ufieldpositer.h"
28
29
 
29
30
  /**
30
31
  * \file
31
32
  * \brief C API: NumberFormat
32
33
  *
33
34
  * <h2> Number Format C API </h2>
35
+ *
36
+ * <p><strong>IMPORTANT:</strong> New users with C++ capabilities are
37
+ * strongly encouraged to see if numberformatter.h fits their use case.
34
38
  *
35
39
  * Number Format C API Provides functions for
36
40
  * formatting and parsing a number. Also provides methods for
@@ -114,7 +118,7 @@
114
118
  * <P>
115
119
  * You can also control the display of numbers with such function as
116
120
  * unum_getAttributes() and unum_setAttributes(), which let you set the
117
- * miminum fraction digits, grouping, etc.
121
+ * minimum fraction digits, grouping, etc.
118
122
  * @see UNumberFormatAttributes for more details
119
123
  * <P>
120
124
  * You can also use forms of the parse and format methods with
@@ -125,7 +129,7 @@
125
129
  * </ul>
126
130
  * <p>
127
131
  * It is also possible to change or set the symbols used for a particular
128
- * locale like the currency symbol, the grouping seperator , monetary seperator
132
+ * locale like the currency symbol, the grouping separator , monetary separator
129
133
  * etc by making use of functions unum_setSymbols() and unum_getSymbols().
130
134
  */
131
135
 
@@ -249,7 +253,7 @@ typedef enum UNumberFormatStyle {
249
253
  * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
250
254
  */
251
255
  UNUM_FORMAT_STYLE_COUNT=17,
252
- #endif // U_HIDE_DEPRECATED_API
256
+ #endif /* U_HIDE_DEPRECATED_API */
253
257
 
254
258
  /**
255
259
  * Default format
@@ -263,8 +267,13 @@ typedef enum UNumberFormatStyle {
263
267
  UNUM_IGNORE = UNUM_PATTERN_DECIMAL
264
268
  } UNumberFormatStyle;
265
269
 
266
- /** The possible number format rounding modes.
267
- * @stable ICU 2.0
270
+ /** The possible number format rounding modes.
271
+ *
272
+ * <p>
273
+ * For more detail on rounding modes, see:
274
+ * http://userguide.icu-project.org/formatparse/numbers/rounding-modes
275
+ *
276
+ * @stable ICU 2.0
268
277
  */
269
278
  typedef enum UNumberFormatRoundingMode {
270
279
  UNUM_ROUND_CEILING,
@@ -326,8 +335,8 @@ enum UCurrencySpacing {
326
335
  /** @stable ICU 4.8 */
327
336
  UNUM_CURRENCY_INSERT,
328
337
 
329
- // Do not conditionalize the following with #ifndef U_HIDE_DEPRECATED_API,
330
- // it is needed for layout of DecimalFormatSymbols object.
338
+ /* Do not conditionalize the following with #ifndef U_HIDE_DEPRECATED_API,
339
+ * it is needed for layout of DecimalFormatSymbols object. */
331
340
  /**
332
341
  * One more than the highest normal UCurrencySpacing value.
333
342
  * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
@@ -371,7 +380,7 @@ typedef enum UNumberFormatFields {
371
380
  * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
372
381
  */
373
382
  UNUM_FIELD_COUNT
374
- #endif // U_HIDE_DEPRECATED_API
383
+ #endif /* U_HIDE_DEPRECATED_API */
375
384
  } UNumberFormatFields;
376
385
 
377
386
 
@@ -553,6 +562,57 @@ unum_formatDouble( const UNumberFormat* fmt,
553
562
  UFieldPosition *pos, /* 0 if ignore */
554
563
  UErrorCode* status);
555
564
 
565
+ /**
566
+ * Format a double using a UNumberFormat according to the UNumberFormat's locale,
567
+ * and initialize a UFieldPositionIterator that enumerates the subcomponents of
568
+ * the resulting string.
569
+ *
570
+ * @param format
571
+ * The formatter to use.
572
+ * @param number
573
+ * The number to format.
574
+ * @param result
575
+ * A pointer to a buffer to receive the NULL-terminated formatted
576
+ * number. If the formatted number fits into dest but cannot be
577
+ * NULL-terminated (length == resultLength) then the error code is set
578
+ * to U_STRING_NOT_TERMINATED_WARNING. If the formatted number doesn't
579
+ * fit into result then the error code is set to
580
+ * U_BUFFER_OVERFLOW_ERROR.
581
+ * @param resultLength
582
+ * The maximum size of result.
583
+ * @param fpositer
584
+ * A pointer to a UFieldPositionIterator created by {@link #ufieldpositer_open}
585
+ * (may be NULL if field position information is not needed, but in this
586
+ * case it's preferable to use {@link #unum_formatDouble}). Iteration
587
+ * information already present in the UFieldPositionIterator is deleted,
588
+ * and the iterator is reset to apply to the fields in the formatted
589
+ * string created by this function call. The field values and indexes
590
+ * returned by {@link #ufieldpositer_next} represent fields denoted by
591
+ * the UNumberFormatFields enum. Fields are not returned in a guaranteed
592
+ * order. Fields cannot overlap, but they may nest. For example, 1234
593
+ * could format as "1,234" which might consist of a grouping separator
594
+ * field for ',' and an integer field encompassing the entire string.
595
+ * @param status
596
+ * A pointer to an UErrorCode to receive any errors
597
+ * @return
598
+ * The total buffer size needed; if greater than resultLength, the
599
+ * output was truncated.
600
+ * @see unum_formatDouble
601
+ * @see unum_parse
602
+ * @see unum_parseDouble
603
+ * @see UFieldPositionIterator
604
+ * @see UNumberFormatFields
605
+ * @stable ICU 59
606
+ */
607
+ U_STABLE int32_t U_EXPORT2
608
+ unum_formatDoubleForFields(const UNumberFormat* format,
609
+ double number,
610
+ UChar* result,
611
+ int32_t resultLength,
612
+ UFieldPositionIterator* fpositer,
613
+ UErrorCode* status);
614
+
615
+
556
616
  /**
557
617
  * Format a decimal number using a UNumberFormat.
558
618
  * The number will be formatted according to the UNumberFormat's locale.
@@ -829,7 +889,7 @@ unum_parseToUFormattable(const UNumberFormat* fmt,
829
889
  * @param localized TRUE if the pattern is localized, FALSE otherwise.
830
890
  * @param pattern The new pattern
831
891
  * @param patternLength The length of pattern, or -1 if null-terminated.
832
- * @param parseError A pointer to UParseError to recieve information
892
+ * @param parseError A pointer to UParseError to receive information
833
893
  * about errors occurred during parsing, or NULL if no parse error
834
894
  * information is desired.
835
895
  * @param status A pointer to an input-output UErrorCode.
@@ -1291,7 +1351,7 @@ typedef enum UNumberFormatSymbol {
1291
1351
  * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
1292
1352
  */
1293
1353
  UNUM_FORMAT_SYMBOL_COUNT = 28
1294
- #endif // U_HIDE_DEPRECATED_API
1354
+ #endif /* U_HIDE_DEPRECATED_API */
1295
1355
  } UNumberFormatSymbol;
1296
1356
 
1297
1357
  /**
@@ -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: uobject.h
11
- * encoding: US-ASCII
11
+ * encoding: UTF-8
12
12
  * tab size: 8 (not used)
13
13
  * indentation:4
14
14
  *
@@ -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
  *****************************************************************************************
@@ -15,6 +15,10 @@
15
15
  #if !UCONFIG_NO_FORMATTING
16
16
 
17
17
  #include "unicode/localpointer.h"
18
+ #include "unicode/uenum.h"
19
+ #ifndef U_HIDE_INTERNAL_API
20
+ #include "unicode/unum.h"
21
+ #endif /* U_HIDE_INTERNAL_API */
18
22
 
19
23
  /**
20
24
  * \file
@@ -60,7 +64,7 @@ enum UPluralType {
60
64
  * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
61
65
  */
62
66
  UPLURAL_TYPE_COUNT
63
- #endif // U_HIDE_DEPRECATED_API
67
+ #endif /* U_HIDE_DEPRECATED_API */
64
68
  };
65
69
  /**
66
70
  * @stable ICU 50
@@ -83,7 +87,7 @@ typedef struct UPluralRules UPluralRules; /**< C typedef for struct UPluralRule
83
87
  * @return A UPluralRules for the specified locale, or NULL if an error occurred.
84
88
  * @stable ICU 4.8
85
89
  */
86
- U_STABLE UPluralRules* U_EXPORT2
90
+ U_CAPI UPluralRules* U_EXPORT2
87
91
  uplrules_open(const char *locale, UErrorCode *status);
88
92
 
89
93
  /**
@@ -95,7 +99,7 @@ uplrules_open(const char *locale, UErrorCode *status);
95
99
  * @return A UPluralRules for the specified locale, or NULL if an error occurred.
96
100
  * @stable ICU 50
97
101
  */
98
- U_DRAFT UPluralRules* U_EXPORT2
102
+ U_CAPI UPluralRules* U_EXPORT2
99
103
  uplrules_openForType(const char *locale, UPluralType type, UErrorCode *status);
100
104
 
101
105
  /**
@@ -103,7 +107,7 @@ uplrules_openForType(const char *locale, UPluralType type, UErrorCode *status);
103
107
  * @param uplrules The UPluralRules object to close.
104
108
  * @stable ICU 4.8
105
109
  */
106
- U_STABLE void U_EXPORT2
110
+ U_CAPI void U_EXPORT2
107
111
  uplrules_close(UPluralRules *uplrules);
108
112
 
109
113
 
@@ -138,12 +142,53 @@ U_NAMESPACE_END
138
142
  * @return The length of keyword.
139
143
  * @stable ICU 4.8
140
144
  */
141
- U_STABLE int32_t U_EXPORT2
145
+ U_CAPI int32_t U_EXPORT2
142
146
  uplrules_select(const UPluralRules *uplrules,
143
147
  double number,
144
148
  UChar *keyword, int32_t capacity,
145
149
  UErrorCode *status);
146
150
 
151
+ #ifndef U_HIDE_INTERNAL_API
152
+ /**
153
+ * Given a number, returns the keyword of the first rule that applies to the
154
+ * number, according to the UPluralRules object and given the number format
155
+ * specified by the UNumberFormat object.
156
+ * Note: This internal preview interface may be removed in the future if
157
+ * an architecturally cleaner solution reaches stable status.
158
+ * @param uplrules The UPluralRules object specifying the rules.
159
+ * @param number The number for which the rule has to be determined.
160
+ * @param fmt The UNumberFormat specifying how the number will be formatted
161
+ * (this can affect the plural form, e.g. "1 dollar" vs "1.0 dollars").
162
+ * If this is NULL, the function behaves like uplrules_select.
163
+ * @param keyword The keyword of the rule that applies to number.
164
+ * @param capacity The capacity of the keyword buffer.
165
+ * @param status A pointer to a UErrorCode to receive any errors.
166
+ * @return The length of keyword.
167
+ * @internal ICU 59 technology preview, may be removed in the future
168
+ */
169
+ U_INTERNAL int32_t U_EXPORT2
170
+ uplrules_selectWithFormat(const UPluralRules *uplrules,
171
+ double number,
172
+ const UNumberFormat *fmt,
173
+ UChar *keyword, int32_t capacity,
174
+ UErrorCode *status);
175
+
176
+ #endif /* U_HIDE_INTERNAL_API */
177
+
178
+ /**
179
+ * Creates a string enumeration of all plural rule keywords used in this
180
+ * UPluralRules object. The rule "other" is always present by default.
181
+ * @param uplrules The UPluralRules object specifying the rules for
182
+ * a given locale.
183
+ * @param status A pointer to a UErrorCode to receive any errors.
184
+ * @return a string enumeration over plural rule keywords, or NULL
185
+ * upon error. The caller is responsible for closing the result.
186
+ * @stable ICU 59
187
+ */
188
+ U_STABLE UEnumeration* U_EXPORT2
189
+ uplrules_getKeywords(const UPluralRules *uplrules,
190
+ UErrorCode *status);
191
+
147
192
  #endif /* #if !UCONFIG_NO_FORMATTING */
148
193
 
149
194
  #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
  **********************************************************************
@@ -6,7 +6,7 @@
6
6
  * Corporation and others. All Rights Reserved.
7
7
  **********************************************************************
8
8
  * file name: uregex.h
9
- * encoding: US-ASCII
9
+ * encoding: UTF-8
10
10
  * indentation:4
11
11
  *
12
12
  * created on: 2004mar09
@@ -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
  *****************************************************************************************
@@ -113,7 +113,7 @@ typedef enum URegionType {
113
113
  * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
114
114
  */
115
115
  URGN_LIMIT
116
- #endif // U_HIDE_DEPRECATED_API
116
+ #endif /* U_HIDE_DEPRECATED_API */
117
117
  } URegionType;
118
118
 
119
119
  #if !UCONFIG_NO_FORMATTING
@@ -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
  *****************************************************************************************
@@ -34,7 +34,7 @@
34
34
  * for determining which unit to use, such as deciding between "in 7 days"
35
35
  * and "in 1 week".
36
36
  *
37
- * @draft ICU 57
37
+ * @stable ICU 57
38
38
  */
39
39
 
40
40
  /**
@@ -66,104 +66,103 @@ typedef enum UDateRelativeDateTimeFormatterStyle {
66
66
  * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
67
67
  */
68
68
  UDAT_STYLE_COUNT
69
- #endif // U_HIDE_DEPRECATED_API
69
+ #endif /* U_HIDE_DEPRECATED_API */
70
70
  } UDateRelativeDateTimeFormatterStyle;
71
71
 
72
- #ifndef U_HIDE_DRAFT_API
73
72
  /**
74
73
  * Represents the unit for formatting a relative date. e.g "in 5 days"
75
74
  * or "next year"
76
- * @draft ICU 57
75
+ * @stable ICU 57
77
76
  */
78
77
  typedef enum URelativeDateTimeUnit {
79
78
  /**
80
79
  * Specifies that relative unit is year, e.g. "last year",
81
80
  * "in 5 years".
82
- * @draft ICU 57
81
+ * @stable ICU 57
83
82
  */
84
83
  UDAT_REL_UNIT_YEAR,
85
84
  /**
86
85
  * Specifies that relative unit is quarter, e.g. "last quarter",
87
86
  * "in 5 quarters".
88
- * @draft ICU 57
87
+ * @stable ICU 57
89
88
  */
90
89
  UDAT_REL_UNIT_QUARTER,
91
90
  /**
92
91
  * Specifies that relative unit is month, e.g. "last month",
93
92
  * "in 5 months".
94
- * @draft ICU 57
93
+ * @stable ICU 57
95
94
  */
96
95
  UDAT_REL_UNIT_MONTH,
97
96
  /**
98
97
  * Specifies that relative unit is week, e.g. "last week",
99
98
  * "in 5 weeks".
100
- * @draft ICU 57
99
+ * @stable ICU 57
101
100
  */
102
101
  UDAT_REL_UNIT_WEEK,
103
102
  /**
104
103
  * Specifies that relative unit is day, e.g. "yesterday",
105
104
  * "in 5 days".
106
- * @draft ICU 57
105
+ * @stable ICU 57
107
106
  */
108
107
  UDAT_REL_UNIT_DAY,
109
108
  /**
110
109
  * Specifies that relative unit is hour, e.g. "1 hour ago",
111
110
  * "in 5 hours".
112
- * @draft ICU 57
111
+ * @stable ICU 57
113
112
  */
114
113
  UDAT_REL_UNIT_HOUR,
115
114
  /**
116
115
  * Specifies that relative unit is minute, e.g. "1 minute ago",
117
116
  * "in 5 minutes".
118
- * @draft ICU 57
117
+ * @stable ICU 57
119
118
  */
120
119
  UDAT_REL_UNIT_MINUTE,
121
120
  /**
122
121
  * Specifies that relative unit is second, e.g. "1 second ago",
123
122
  * "in 5 seconds".
124
- * @draft ICU 57
123
+ * @stable ICU 57
125
124
  */
126
125
  UDAT_REL_UNIT_SECOND,
127
126
  /**
128
127
  * Specifies that relative unit is Sunday, e.g. "last Sunday",
129
128
  * "this Sunday", "next Sunday", "in 5 Sundays".
130
- * @draft ICU 57
129
+ * @stable ICU 57
131
130
  */
132
131
  UDAT_REL_UNIT_SUNDAY,
133
132
  /**
134
133
  * Specifies that relative unit is Monday, e.g. "last Monday",
135
134
  * "this Monday", "next Monday", "in 5 Mondays".
136
- * @draft ICU 57
135
+ * @stable ICU 57
137
136
  */
138
137
  UDAT_REL_UNIT_MONDAY,
139
138
  /**
140
139
  * Specifies that relative unit is Tuesday, e.g. "last Tuesday",
141
140
  * "this Tuesday", "next Tuesday", "in 5 Tuesdays".
142
- * @draft ICU 57
141
+ * @stable ICU 57
143
142
  */
144
143
  UDAT_REL_UNIT_TUESDAY,
145
144
  /**
146
145
  * Specifies that relative unit is Wednesday, e.g. "last Wednesday",
147
146
  * "this Wednesday", "next Wednesday", "in 5 Wednesdays".
148
- * @draft ICU 57
147
+ * @stable ICU 57
149
148
  */
150
149
  UDAT_REL_UNIT_WEDNESDAY,
151
150
  /**
152
151
  * Specifies that relative unit is Thursday, e.g. "last Thursday",
153
152
  * "this Thursday", "next Thursday", "in 5 Thursdays".
154
- * @draft ICU 57
153
+ * @stable ICU 57
155
154
  */
156
155
  UDAT_REL_UNIT_THURSDAY,
157
156
  /**
158
157
  * Specifies that relative unit is Friday, e.g. "last Friday",
159
158
  * "this Friday", "next Friday", "in 5 Fridays".
160
- * @draft ICU 57
159
+ * @stable ICU 57
161
160
  */
162
161
  UDAT_REL_UNIT_FRIDAY,
163
162
  /**
164
163
  * Specifies that relative unit is Saturday, e.g. "last Saturday",
165
164
  * "this Saturday", "next Saturday", "in 5 Saturdays".
166
- * @draft ICU 57
165
+ * @stable ICU 57
167
166
  */
168
167
  UDAT_REL_UNIT_SATURDAY,
169
168
  #ifndef U_HIDE_DEPRECATED_API
@@ -172,18 +171,15 @@ typedef enum URelativeDateTimeUnit {
172
171
  * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
173
172
  */
174
173
  UDAT_REL_UNIT_COUNT
175
- #endif // U_HIDE_DEPRECATED_API
174
+ #endif /* U_HIDE_DEPRECATED_API */
176
175
  } URelativeDateTimeUnit;
177
- #endif /* U_HIDE_DRAFT_API */
178
-
179
- #ifndef U_HIDE_DRAFT_API
180
176
 
181
177
  /**
182
178
  * Opaque URelativeDateTimeFormatter object for use in C programs.
183
- * @draft ICU 57
179
+ * @stable ICU 57
184
180
  */
185
181
  struct URelativeDateTimeFormatter;
186
- typedef struct URelativeDateTimeFormatter URelativeDateTimeFormatter; /**< C typedef for struct URelativeDateTimeFormatter. @draft ICU 57 */
182
+ typedef struct URelativeDateTimeFormatter URelativeDateTimeFormatter; /**< C typedef for struct URelativeDateTimeFormatter. @stable ICU 57 */
187
183
 
188
184
 
189
185
  /**
@@ -216,9 +212,9 @@ typedef struct URelativeDateTimeFormatter URelativeDateTimeFormatter; /**< C ty
216
212
  * @return
217
213
  * A pointer to a URelativeDateTimeFormatter object for the specified locale,
218
214
  * or NULL if an error occurred.
219
- * @draft ICU 57
215
+ * @stable ICU 57
220
216
  */
221
- U_DRAFT URelativeDateTimeFormatter* U_EXPORT2
217
+ U_STABLE URelativeDateTimeFormatter* U_EXPORT2
222
218
  ureldatefmt_open( const char* locale,
223
219
  UNumberFormat* nfToAdopt,
224
220
  UDateRelativeDateTimeFormatterStyle width,
@@ -229,9 +225,9 @@ ureldatefmt_open( const char* locale,
229
225
  * Close a URelativeDateTimeFormatter object. Once closed it may no longer be used.
230
226
  * @param reldatefmt
231
227
  * The URelativeDateTimeFormatter object to close.
232
- * @draft ICU 57
228
+ * @stable ICU 57
233
229
  */
234
- U_DRAFT void U_EXPORT2
230
+ U_STABLE void U_EXPORT2
235
231
  ureldatefmt_close(URelativeDateTimeFormatter *reldatefmt);
236
232
 
237
233
  #if U_SHOW_CPLUSPLUS_API
@@ -245,7 +241,7 @@ U_NAMESPACE_BEGIN
245
241
  *
246
242
  * @see LocalPointerBase
247
243
  * @see LocalPointer
248
- * @draft ICU 57
244
+ * @stable ICU 57
249
245
  */
250
246
  U_DEFINE_LOCAL_OPEN_POINTER(LocalURelativeDateTimeFormatterPointer, URelativeDateTimeFormatter, ureldatefmt_close);
251
247
 
@@ -279,9 +275,9 @@ U_NAMESPACE_END
279
275
  * @return
280
276
  * The length of the formatted result; may be greater
281
277
  * than resultCapacity, in which case an error is returned.
282
- * @draft ICU 57
278
+ * @stable ICU 57
283
279
  */
284
- U_DRAFT int32_t U_EXPORT2
280
+ U_STABLE int32_t U_EXPORT2
285
281
  ureldatefmt_formatNumeric( const URelativeDateTimeFormatter* reldatefmt,
286
282
  double offset,
287
283
  URelativeDateTimeUnit unit,
@@ -315,9 +311,9 @@ ureldatefmt_formatNumeric( const URelativeDateTimeFormatter* reldatefmt,
315
311
  * @return
316
312
  * The length of the formatted result; may be greater
317
313
  * than resultCapacity, in which case an error is returned.
318
- * @draft ICU 57
314
+ * @stable ICU 57
319
315
  */
320
- U_DRAFT int32_t U_EXPORT2
316
+ U_STABLE int32_t U_EXPORT2
321
317
  ureldatefmt_format( const URelativeDateTimeFormatter* reldatefmt,
322
318
  double offset,
323
319
  URelativeDateTimeUnit unit,
@@ -352,9 +348,9 @@ ureldatefmt_format( const URelativeDateTimeFormatter* reldatefmt,
352
348
  * @return
353
349
  * The length of the formatted result; may be greater than resultCapacity,
354
350
  * in which case an error is returned.
355
- * @draft ICU 57
351
+ * @stable ICU 57
356
352
  */
357
- U_DRAFT int32_t U_EXPORT2
353
+ U_STABLE int32_t U_EXPORT2
358
354
  ureldatefmt_combineDateAndTime( const URelativeDateTimeFormatter* reldatefmt,
359
355
  const UChar * relativeDateString,
360
356
  int32_t relativeDateStringLen,
@@ -364,8 +360,6 @@ ureldatefmt_combineDateAndTime( const URelativeDateTimeFormatter* reldatefmt,
364
360
  int32_t resultCapacity,
365
361
  UErrorCode* status );
366
362
 
367
- #endif /* U_HIDE_DRAFT_API */
368
-
369
363
  #endif /* !UCONFIG_NO_FORMATTING && !UCONFIG_NO_BREAK_ITERATION */
370
364
 
371
365
  #endif