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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (351) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +6 -6
  3. data/ext/pango/extconf.rb +1 -0
  4. data/lib/2.2/pango.so +0 -0
  5. data/lib/2.3/pango.so +0 -0
  6. data/lib/pango.rb +2 -10
  7. data/vendor/local/bin/derb.exe +0 -0
  8. data/vendor/local/bin/genbrk.exe +0 -0
  9. data/vendor/local/bin/genccode.exe +0 -0
  10. data/vendor/local/bin/gencfu.exe +0 -0
  11. data/vendor/local/bin/gencmn.exe +0 -0
  12. data/vendor/local/bin/gencnval.exe +0 -0
  13. data/vendor/local/bin/gendict.exe +0 -0
  14. data/vendor/local/bin/gennorm2.exe +0 -0
  15. data/vendor/local/bin/genrb.exe +0 -0
  16. data/vendor/local/bin/gensprep.exe +0 -0
  17. data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
  18. data/vendor/local/bin/hb-shape.exe +0 -0
  19. data/vendor/local/bin/hb-view.exe +0 -0
  20. data/vendor/local/bin/icu-config +6 -7
  21. data/vendor/local/bin/icuinfo.exe +0 -0
  22. data/vendor/local/bin/icupkg.exe +0 -0
  23. data/vendor/local/bin/libharfbuzz-0.dll +0 -0
  24. data/vendor/local/bin/libpango-1.0-0.dll +0 -0
  25. data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
  26. data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
  27. data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
  28. data/vendor/local/bin/makeconv.exe +0 -0
  29. data/vendor/local/bin/pango-view.exe +0 -0
  30. data/vendor/local/bin/pkgdata.exe +0 -0
  31. data/vendor/local/bin/uconv.exe +0 -0
  32. data/vendor/local/include/harfbuzz/hb-blob.h +12 -12
  33. data/vendor/local/include/harfbuzz/hb-buffer.h +181 -78
  34. data/vendor/local/include/harfbuzz/hb-common.h +23 -17
  35. data/vendor/local/include/harfbuzz/hb-deprecated.h +10 -0
  36. data/vendor/local/include/harfbuzz/hb-face.h +17 -17
  37. data/vendor/local/include/harfbuzz/hb-font.h +180 -79
  38. data/vendor/local/include/harfbuzz/hb-ft.h +16 -9
  39. data/vendor/local/include/harfbuzz/hb-glib.h +4 -4
  40. data/vendor/local/include/harfbuzz/hb-icu.h +3 -3
  41. data/vendor/local/include/harfbuzz/hb-ot-font.h +1 -1
  42. data/vendor/local/include/harfbuzz/hb-ot-layout.h +28 -28
  43. data/vendor/local/include/harfbuzz/hb-ot-shape.h +2 -2
  44. data/vendor/local/include/harfbuzz/hb-ot-tag.h +4 -4
  45. data/vendor/local/include/harfbuzz/hb-set.h +29 -26
  46. data/vendor/local/include/harfbuzz/hb-shape-plan.h +9 -9
  47. data/vendor/local/include/harfbuzz/hb-shape.h +5 -5
  48. data/vendor/local/include/harfbuzz/hb-unicode.h +47 -31
  49. data/vendor/local/include/harfbuzz/hb-version.h +6 -6
  50. data/vendor/local/include/harfbuzz/hb.h +4 -0
  51. data/vendor/local/include/layout/LELanguages.h +2 -5
  52. data/vendor/local/include/layout/LEScripts.h +3 -62
  53. data/vendor/local/include/layout/LETableReference.h +15 -3
  54. data/vendor/local/include/pango-1.0/pango/pango-attributes.h +27 -1
  55. data/vendor/local/include/pango-1.0/pango/pango-engine.h +50 -31
  56. data/vendor/local/include/pango-1.0/pango/pango-features.h +3 -3
  57. data/vendor/local/include/pango-1.0/pango/pango-font.h +1 -0
  58. data/vendor/local/include/pango-1.0/pango/pango-glyph-item.h +2 -0
  59. data/vendor/local/include/pango-1.0/pango/pango-glyph.h +5 -0
  60. data/vendor/local/include/pango-1.0/pango/pango-item.h +4 -0
  61. data/vendor/local/include/pango-1.0/pango/pango-layout.h +3 -0
  62. data/vendor/local/include/pango-1.0/pango/pango-matrix.h +2 -0
  63. data/vendor/local/include/pango-1.0/pango/pango-modules.h +6 -0
  64. data/vendor/local/include/pango-1.0/pango/pango-ot.h +8 -5
  65. data/vendor/local/include/pango-1.0/pango/pango-renderer.h +9 -2
  66. data/vendor/local/include/pango-1.0/pango/pango-script.h +63 -1
  67. data/vendor/local/include/pango-1.0/pango/pango-utils.h +12 -0
  68. data/vendor/local/include/pango-1.0/pango/pangofc-font.h +7 -10
  69. data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +25 -16
  70. data/vendor/local/include/unicode/brkiter.h +6 -3
  71. data/vendor/local/include/unicode/bytestriebuilder.h +3 -1
  72. data/vendor/local/include/unicode/coll.h +21 -18
  73. data/vendor/local/include/unicode/compactdecimalformat.h +87 -3
  74. data/vendor/local/include/unicode/currpinf.h +2 -1
  75. data/vendor/local/include/unicode/datefmt.h +19 -41
  76. data/vendor/local/include/unicode/dcfmtsym.h +28 -9
  77. data/vendor/local/include/unicode/decimfmt.h +126 -304
  78. data/vendor/local/include/unicode/dtfmtsym.h +50 -19
  79. data/vendor/local/include/unicode/dtitvfmt.h +89 -30
  80. data/vendor/local/include/unicode/dtitvinf.h +63 -60
  81. data/vendor/local/include/unicode/dtptngen.h +81 -30
  82. data/vendor/local/include/unicode/filteredbrk.h +14 -24
  83. data/vendor/local/include/unicode/icuplug.h +9 -2
  84. data/vendor/local/include/unicode/listformatter.h +2 -2
  85. data/vendor/local/include/unicode/localpointer.h +231 -13
  86. data/vendor/local/include/unicode/locdspnm.h +2 -2
  87. data/vendor/local/include/unicode/locid.h +1 -3
  88. data/vendor/local/include/unicode/measfmt.h +14 -14
  89. data/vendor/local/include/unicode/measunit.h +213 -225
  90. data/vendor/local/include/unicode/normlzr.h +55 -43
  91. data/vendor/local/include/unicode/numfmt.h +60 -67
  92. data/vendor/local/include/unicode/platform.h +96 -3
  93. data/vendor/local/include/unicode/plurrule.h +5 -0
  94. data/vendor/local/include/unicode/rbnf.h +43 -4
  95. data/vendor/local/include/unicode/regex.h +14 -4
  96. data/vendor/local/include/unicode/region.h +5 -11
  97. data/vendor/local/include/unicode/reldatefmt.h +53 -43
  98. data/vendor/local/include/unicode/scientificnumberformatter.h +9 -11
  99. data/vendor/local/include/unicode/simpleformatter.h +295 -0
  100. data/vendor/local/include/unicode/smpdtfmt.h +36 -22
  101. data/vendor/local/include/unicode/tblcoll.h +32 -31
  102. data/vendor/local/include/unicode/timezone.h +4 -6
  103. data/vendor/local/include/unicode/tmunit.h +13 -13
  104. data/vendor/local/include/unicode/tzfmt.h +3 -6
  105. data/vendor/local/include/unicode/tznames.h +2 -4
  106. data/vendor/local/include/unicode/ubrk.h +14 -2
  107. data/vendor/local/include/unicode/uchar.h +61 -8
  108. data/vendor/local/include/unicode/ucharstriebuilder.h +1 -1
  109. data/vendor/local/include/unicode/ucol.h +2 -0
  110. data/vendor/local/include/unicode/uconfig.h +11 -6
  111. data/vendor/local/include/unicode/ucurr.h +24 -32
  112. data/vendor/local/include/unicode/udat.h +103 -87
  113. data/vendor/local/include/unicode/udateintervalformat.h +4 -1
  114. data/vendor/local/include/unicode/udatpg.h +6 -4
  115. data/vendor/local/include/unicode/udisplaycontext.h +6 -12
  116. data/vendor/local/include/unicode/ufieldpositer.h +10 -12
  117. data/vendor/local/include/unicode/uldnames.h +2 -2
  118. data/vendor/local/include/unicode/ulistformatter.h +9 -11
  119. data/vendor/local/include/unicode/uloc.h +13 -16
  120. data/vendor/local/include/unicode/umachine.h +2 -2
  121. data/vendor/local/include/unicode/uniset.h +25 -3
  122. data/vendor/local/include/unicode/unistr.h +168 -27
  123. data/vendor/local/include/unicode/unorm.h +40 -133
  124. data/vendor/local/include/unicode/unorm2.h +97 -1
  125. data/vendor/local/include/unicode/unum.h +61 -24
  126. data/vendor/local/include/unicode/uregex.h +7 -9
  127. data/vendor/local/include/unicode/ureldatefmt.h +365 -0
  128. data/vendor/local/include/unicode/urename.h +12 -1
  129. data/vendor/local/include/unicode/ures.h +157 -142
  130. data/vendor/local/include/unicode/uscript.h +1 -1
  131. data/vendor/local/include/unicode/ustdio.h +3 -5
  132. data/vendor/local/include/unicode/utf8.h +2 -2
  133. data/vendor/local/include/unicode/utypes.h +4 -6
  134. data/vendor/local/include/unicode/uvernum.h +7 -7
  135. data/vendor/local/lib/girepository-1.0/Pango-1.0.typelib +0 -0
  136. data/vendor/local/lib/girepository-1.0/PangoCairo-1.0.typelib +0 -0
  137. data/vendor/local/lib/girepository-1.0/PangoFT2-1.0.typelib +0 -0
  138. data/vendor/local/lib/icu/{55.1 → 57.1}/Makefile.inc +6 -6
  139. data/vendor/local/lib/icu/{55.1 → 57.1}/pkgdata.inc +1 -1
  140. data/vendor/local/lib/icu/Makefile.inc +6 -6
  141. data/vendor/local/lib/icu/pkgdata.inc +1 -1
  142. data/vendor/local/lib/icudt.dll +0 -0
  143. data/vendor/local/lib/{icudt55.dll → icudt57.dll} +0 -0
  144. data/vendor/local/lib/icuin.dll +0 -0
  145. data/vendor/local/lib/icuin57.dll +0 -0
  146. data/vendor/local/lib/icuio.dll +0 -0
  147. data/vendor/local/lib/icuio57.dll +0 -0
  148. data/vendor/local/lib/icule.dll +0 -0
  149. data/vendor/local/lib/icule57.dll +0 -0
  150. data/vendor/local/lib/iculx.dll +0 -0
  151. data/vendor/local/lib/iculx57.dll +0 -0
  152. data/vendor/local/lib/icutest.dll +0 -0
  153. data/vendor/local/lib/icutest57.dll +0 -0
  154. data/vendor/local/lib/icutu.dll +0 -0
  155. data/vendor/local/lib/icutu57.dll +0 -0
  156. data/vendor/local/lib/icuuc.dll +0 -0
  157. data/vendor/local/lib/icuuc57.dll +0 -0
  158. data/vendor/local/lib/libharfbuzz-icu.a +0 -0
  159. data/vendor/local/lib/libharfbuzz-icu.la +4 -4
  160. data/vendor/local/lib/libharfbuzz.dll.a +0 -0
  161. data/vendor/local/lib/libharfbuzz.la +4 -4
  162. data/vendor/local/lib/libicudt.dll.a +0 -0
  163. data/vendor/local/lib/libicuin.dll.a +0 -0
  164. data/vendor/local/lib/libicuio.dll.a +0 -0
  165. data/vendor/local/lib/libicule.dll.a +0 -0
  166. data/vendor/local/lib/libiculx.dll.a +0 -0
  167. data/vendor/local/lib/libicutest.dll.a +0 -0
  168. data/vendor/local/lib/libicutu.dll.a +0 -0
  169. data/vendor/local/lib/libicuuc.dll.a +0 -0
  170. data/vendor/local/lib/libpango-1.0.dll.a +0 -0
  171. data/vendor/local/lib/libpango-1.0.la +6 -6
  172. data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
  173. data/vendor/local/lib/libpangocairo-1.0.la +6 -6
  174. data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
  175. data/vendor/local/lib/libpangoft2-1.0.la +6 -6
  176. data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
  177. data/vendor/local/lib/libpangowin32-1.0.la +6 -6
  178. data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +1 -1
  179. data/vendor/local/lib/pkgconfig/harfbuzz.pc +2 -2
  180. data/vendor/local/lib/pkgconfig/icu-i18n.pc +6 -6
  181. data/vendor/local/lib/pkgconfig/icu-io.pc +6 -6
  182. data/vendor/local/lib/pkgconfig/icu-le.pc +6 -6
  183. data/vendor/local/lib/pkgconfig/icu-lx.pc +6 -6
  184. data/vendor/local/lib/pkgconfig/icu-uc.pc +6 -6
  185. data/vendor/local/lib/pkgconfig/pango.pc +3 -5
  186. data/vendor/local/lib/pkgconfig/pangocairo.pc +3 -2
  187. data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
  188. data/vendor/local/lib/pkgconfig/pangowin32.pc +3 -2
  189. data/vendor/local/share/gir-1.0/Pango-1.0.gir +891 -307
  190. data/vendor/local/share/gir-1.0/PangoCairo-1.0.gir +45 -27
  191. data/vendor/local/share/gir-1.0/PangoFT2-1.0.gir +12 -5
  192. data/vendor/local/share/gtk-doc/html/harfbuzz/HarfBuzz.png +0 -0
  193. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-10.html +41 -0
  194. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-11.html +34 -0
  195. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-2.html +722 -0
  196. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-20.html +38 -0
  197. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-22.html +34 -0
  198. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-28.html +34 -0
  199. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-30.html +41 -0
  200. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-31.html +46 -0
  201. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-38.html +45 -0
  202. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-39.html +34 -0
  203. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-41.html +34 -0
  204. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-42.html +38 -0
  205. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-5.html +56 -0
  206. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-7.html +191 -0
  207. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-8.html +34 -0
  208. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-0-5.html +42 -0
  209. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-1-2.html +38 -0
  210. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-1-3.html +49 -0
  211. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +226 -58
  212. data/vendor/local/share/gtk-doc/html/harfbuzz/building.html +80 -0
  213. data/vendor/local/share/gtk-doc/html/harfbuzz/{ch06.html → ch07.html} +8 -2
  214. data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +13 -2
  215. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Buffers.html +2738 -0
  216. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Shaping.html +20 -22
  217. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +38 -38
  218. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +287 -189
  219. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +2 -2
  220. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +2 -2
  221. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +38 -38
  222. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +403 -126
  223. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +85 -10
  224. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +17 -2
  225. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +172 -2
  226. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +2 -2
  227. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +2 -2
  228. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-font.html +76 -0
  229. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +43 -3
  230. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-shape.html +80 -0
  231. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +6 -6
  232. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +2 -2
  233. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +39 -39
  234. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +21 -21
  235. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +51 -46
  236. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +2 -2
  237. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +11 -11
  238. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +4 -4
  239. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +262 -190
  240. data/vendor/local/share/gtk-doc/html/harfbuzz/hello-harfbuzz.html +2 -2
  241. data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +61 -7
  242. data/vendor/local/share/gtk-doc/html/harfbuzz/install-harfbuzz.html +59 -0
  243. data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +9 -8
  244. data/vendor/local/share/gtk-doc/html/harfbuzz/pt01.html +5 -0
  245. data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +37 -6
  246. data/vendor/local/share/gtk-doc/html/harfbuzz/why-is-it-called-harfbuzz.html +2 -2
  247. data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +22 -19
  248. data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +15 -12
  249. data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +9 -12
  250. data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +29 -35
  251. data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +206 -97
  252. data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +33 -8
  253. data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +150 -57
  254. data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +12 -4
  255. data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +3 -4
  256. data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +3 -4
  257. data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +3 -4
  258. data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +3 -4
  259. data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +3 -4
  260. data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +3 -4
  261. data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +3 -4
  262. data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +3 -4
  263. data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +3 -4
  264. data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +3 -4
  265. data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +4 -5
  266. data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +4 -5
  267. data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +5 -6
  268. data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +5 -6
  269. data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +7 -7
  270. data/vendor/local/share/gtk-doc/html/pango/api-index-1-38.html +79 -0
  271. data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +3 -4
  272. data/vendor/local/share/gtk-doc/html/pango/{tools.html → api-index-1-40.html} +9 -13
  273. data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +3 -4
  274. data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +3 -4
  275. data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +161 -4
  276. data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +51 -8
  277. data/vendor/local/share/gtk-doc/html/pango/index.html +8 -11
  278. data/vendor/local/share/gtk-doc/html/pango/index.sgml +251 -4
  279. data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +3 -4
  280. data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +18 -23
  281. data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +121 -123
  282. data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +5 -7
  283. data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +10 -14
  284. data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +28 -37
  285. data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +170 -224
  286. data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +35 -38
  287. data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +257 -170
  288. data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +186 -214
  289. data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +117 -132
  290. data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +26 -41
  291. data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +140 -153
  292. data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +270 -75
  293. data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +28 -34
  294. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +361 -203
  295. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +194 -161
  296. data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +16 -19
  297. data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +21 -28
  298. data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +34 -48
  299. data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +52 -57
  300. data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +10 -11
  301. data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +285 -39
  302. data/vendor/local/share/gtk-doc/html/pango/pango.html +3 -4
  303. data/vendor/local/share/gtk-doc/html/pango/rendering.html +3 -4
  304. data/vendor/local/share/gtk-doc/html/pango/style.css +9 -6
  305. data/vendor/local/share/icu/57.1/LICENSE +393 -0
  306. data/vendor/local/share/icu/{55.1 → 57.1}/config/mh-mingw +0 -0
  307. data/vendor/local/share/icu/{55.1 → 57.1}/install-sh +0 -0
  308. data/vendor/local/share/icu/{55.1 → 57.1}/mkinstalldirs +0 -0
  309. data/vendor/local/share/man/man1/derb.1 +2 -2
  310. data/vendor/local/share/man/man1/genbrk.1 +2 -2
  311. data/vendor/local/share/man/man1/gencfu.1 +1 -1
  312. data/vendor/local/share/man/man1/gencnval.1 +3 -3
  313. data/vendor/local/share/man/man1/gendict.1 +2 -2
  314. data/vendor/local/share/man/man1/genrb.1 +3 -3
  315. data/vendor/local/share/man/man1/icu-config.1 +2 -2
  316. data/vendor/local/share/man/man1/makeconv.1 +3 -3
  317. data/vendor/local/share/man/man1/pango-view.1 +113 -1
  318. data/vendor/local/share/man/man1/pkgdata.1 +2 -2
  319. data/vendor/local/share/man/man1/uconv.1 +2 -2
  320. data/vendor/local/share/man/man8/genccode.8 +2 -2
  321. data/vendor/local/share/man/man8/gencmn.8 +3 -3
  322. data/vendor/local/share/man/man8/gensprep.8 +3 -3
  323. data/vendor/local/share/man/man8/icupkg.8 +1 -1
  324. metadata +49 -40
  325. data/lib/2.0/pango.so +0 -0
  326. data/lib/2.1/pango.so +0 -0
  327. data/vendor/local/bin/pango-querymodules.exe +0 -0
  328. data/vendor/local/etc/pango/pango.modules +0 -19
  329. data/vendor/local/lib/icuin55.dll +0 -0
  330. data/vendor/local/lib/icuio55.dll +0 -0
  331. data/vendor/local/lib/icule55.dll +0 -0
  332. data/vendor/local/lib/iculx55.dll +0 -0
  333. data/vendor/local/lib/icutest55.dll +0 -0
  334. data/vendor/local/lib/icutu55.dll +0 -0
  335. data/vendor/local/lib/icuuc55.dll +0 -0
  336. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
  337. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
  338. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.la +0 -41
  339. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll +0 -0
  340. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll.a +0 -0
  341. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.la +0 -41
  342. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
  343. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
  344. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.la +0 -41
  345. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
  346. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
  347. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.la +0 -41
  348. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-buffer.html +0 -1704
  349. data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +0 -131
  350. data/vendor/local/share/icu/55.1/license.html +0 -384
  351. data/vendor/local/share/man/man1/pango-querymodules.1 +0 -106
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  ******************************************************************************
3
3
  *
4
- * Copyright (C) 1997-2015, International Business Machines
4
+ * Copyright (C) 1997-2016, International Business Machines
5
5
  * Corporation and others. All Rights Reserved.
6
6
  *
7
7
  ******************************************************************************
@@ -160,6 +160,9 @@
160
160
  # define U_PLATFORM U_PF_DARWIN
161
161
  # endif
162
162
  #elif defined(BSD) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__MirBSD__)
163
+ # if defined(__FreeBSD__)
164
+ # include <sys/endian.h>
165
+ # endif
163
166
  # define U_PLATFORM U_PF_BSD
164
167
  #elif defined(sun) || defined(__sun)
165
168
  /* Check defined(__SVR4) || defined(__svr4__) to distinguish Solaris from SunOS? */
@@ -425,10 +428,25 @@
425
428
  # define U_HAVE_DEBUG_LOCATION_NEW 0
426
429
  #endif
427
430
 
428
- /* Compatibility with non clang compilers */
431
+ /* Compatibility with non clang compilers: http://clang.llvm.org/docs/LanguageExtensions.html */
429
432
  #ifndef __has_attribute
430
433
  # define __has_attribute(x) 0
431
434
  #endif
435
+ #ifndef __has_cpp_attribute
436
+ # define __has_cpp_attribute(x) 0
437
+ #endif
438
+ #ifndef __has_builtin
439
+ # define __has_builtin(x) 0
440
+ #endif
441
+ #ifndef __has_feature
442
+ # define __has_feature(x) 0
443
+ #endif
444
+ #ifndef __has_extension
445
+ # define __has_extension(x) 0
446
+ #endif
447
+ #ifndef __has_warning
448
+ # define __has_warning(x) 0
449
+ #endif
432
450
 
433
451
  /**
434
452
  * \def U_MALLOC_ATTR
@@ -454,6 +472,81 @@
454
472
  # define U_ALLOC_SIZE_ATTR2(X,Y)
455
473
  #endif
456
474
 
475
+ /**
476
+ * \def U_CPLUSPLUS_VERSION
477
+ * 0 if no C++; 1, 11, 14, ... if C++.
478
+ * Support for specific features cannot always be determined by the C++ version alone.
479
+ * @internal
480
+ */
481
+ #ifdef U_CPLUSPLUS_VERSION
482
+ # if U_CPLUSPLUS_VERSION != 0 && !defined(__cplusplus)
483
+ # undef U_CPLUSPLUS_VERSION
484
+ # define U_CPLUSPLUS_VERSION 0
485
+ # endif
486
+ /* Otherwise use the predefined value. */
487
+ #elif !defined(__cplusplus)
488
+ # define U_CPLUSPLUS_VERSION 0
489
+ #elif __cplusplus >= 201402L
490
+ # define U_CPLUSPLUS_VERSION 14
491
+ #elif __cplusplus >= 201103L
492
+ # define U_CPLUSPLUS_VERSION 11
493
+ #else
494
+ // C++98 or C++03
495
+ # define U_CPLUSPLUS_VERSION 1
496
+ #endif
497
+
498
+ /**
499
+ * \def U_HAVE_RVALUE_REFERENCES
500
+ * Set to 1 if the compiler supports rvalue references.
501
+ * C++11 feature, necessary for move constructor & move assignment.
502
+ * @internal
503
+ */
504
+ #ifdef U_HAVE_RVALUE_REFERENCES
505
+ /* Use the predefined value. */
506
+ #elif U_CPLUSPLUS_VERSION >= 11 || __has_feature(cxx_rvalue_references) \
507
+ || defined(__GXX_EXPERIMENTAL_CXX0X__) \
508
+ || (defined(_MSC_VER) && _MSC_VER >= 1600) /* Visual Studio 2010 */
509
+ # define U_HAVE_RVALUE_REFERENCES 1
510
+ #else
511
+ # define U_HAVE_RVALUE_REFERENCES 0
512
+ #endif
513
+
514
+ /**
515
+ * \def U_NOEXCEPT
516
+ * "noexcept" if supported, otherwise empty.
517
+ * Some code, especially STL containers, uses move semantics of objects only
518
+ * if the move constructor and the move operator are declared as not throwing exceptions.
519
+ * @internal
520
+ */
521
+ #ifdef U_NOEXCEPT
522
+ /* Use the predefined value. */
523
+ #elif defined(_HAS_EXCEPTIONS) && !_HAS_EXCEPTIONS /* Visual Studio */
524
+ # define U_NOEXCEPT
525
+ #elif U_CPLUSPLUS_VERSION >= 11 || __has_feature(cxx_noexcept) || __has_extension(cxx_noexcept) \
526
+ || (defined(_MSC_VER) && _MSC_VER >= 1900) /* Visual Studio 2015 */
527
+ # define U_NOEXCEPT noexcept
528
+ #else
529
+ # define U_NOEXCEPT
530
+ #endif
531
+
532
+ /**
533
+ * \def U_FALLTHROUGH
534
+ * Annotate intentional fall-through between switch labels.
535
+ * http://clang.llvm.org/docs/AttributeReference.html#fallthrough-clang-fallthrough
536
+ * @internal
537
+ */
538
+ #ifdef __cplusplus
539
+ # if __has_cpp_attribute(clang::fallthrough) || \
540
+ (__has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough"))
541
+ # define U_FALLTHROUGH [[clang::fallthrough]]
542
+ # else
543
+ # define U_FALLTHROUGH
544
+ # endif
545
+ #else
546
+ # define U_FALLTHROUGH
547
+ #endif
548
+
549
+
457
550
  /** @} */
458
551
 
459
552
  /*===========================================================================*/
@@ -670,7 +763,7 @@
670
763
  * does not support u"abc" string literals.
671
764
  * C++11 and C11 require support for UTF-16 literals
672
765
  */
673
- # if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L)
766
+ # if U_CPLUSPLUS_VERSION >= 11 || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L)
674
767
  # define U_HAVE_CHAR16_T 1
675
768
  # else
676
769
  # define U_HAVE_CHAR16_T 0
@@ -39,6 +39,7 @@ U_NAMESPACE_BEGIN
39
39
 
40
40
  class Hashtable;
41
41
  class FixedDecimal;
42
+ class VisibleDigitsWithExponent;
42
43
  class RuleChain;
43
44
  class PluralRuleParser;
44
45
  class PluralKeywordEnumeration;
@@ -346,6 +347,10 @@ public:
346
347
  * @internal
347
348
  */
348
349
  UnicodeString select(const FixedDecimal &number) const;
350
+ /**
351
+ * @internal
352
+ */
353
+ UnicodeString select(const VisibleDigitsWithExponent &number) const;
349
354
  #endif /* U_HIDE_INTERNAL_API */
350
355
 
351
356
  /**
@@ -38,6 +38,7 @@
38
38
 
39
39
  U_NAMESPACE_BEGIN
40
40
 
41
+ class NFRule;
41
42
  class NFRuleSet;
42
43
  class LocalizationInfo;
43
44
  class PluralFormat;
@@ -264,17 +265,47 @@ enum URBNFRuleSetTag {
264
265
  * </tr>
265
266
  * <tr>
266
267
  * <td>x.x:</td>
267
- * <td>The rule is an <em>improper fraction rule.</em></td>
268
+ * <td>The rule is an <em>improper fraction rule</em>. If the full stop in
269
+ * the middle of the rule name is replaced with the decimal point
270
+ * that is used in the language or DecimalFormatSymbols, then that rule will
271
+ * have precedence when formatting and parsing this rule. For example, some
272
+ * languages use the comma, and can thus be written as x,x instead. For example,
273
+ * you can use "x.x: &lt;&lt; point &gt;&gt;;x,x: &lt;&lt; comma &gt;&gt;;" to
274
+ * handle the decimal point that matches the language's natural spelling of
275
+ * the punctuation of either the full stop or comma.</td>
268
276
  * </tr>
269
277
  * <tr>
270
278
  * <td>0.x:</td>
271
- * <td>The rule is a <em>proper fraction rule.</em></td>
279
+ * <td>The rule is a <em>proper fraction rule</em>. If the full stop in
280
+ * the middle of the rule name is replaced with the decimal point
281
+ * that is used in the language or DecimalFormatSymbols, then that rule will
282
+ * have precedence when formatting and parsing this rule. For example, some
283
+ * languages use the comma, and can thus be written as 0,x instead. For example,
284
+ * you can use "0.x: point &gt;&gt;;0,x: comma &gt;&gt;;" to
285
+ * handle the decimal point that matches the language's natural spelling of
286
+ * the punctuation of either the full stop or comma.</td>
272
287
  * </tr>
273
288
  * <tr>
274
289
  * <td>x.0:</td>
275
- * <td>The rule is a <em>master rule.</em></td>
290
+ * <td>The rule is a <em>master rule</em>. If the full stop in
291
+ * the middle of the rule name is replaced with the decimal point
292
+ * that is used in the language or DecimalFormatSymbols, then that rule will
293
+ * have precedence when formatting and parsing this rule. For example, some
294
+ * languages use the comma, and can thus be written as x,0 instead. For example,
295
+ * you can use "x.0: &lt;&lt; point;x,0: &lt;&lt; comma;" to
296
+ * handle the decimal point that matches the language's natural spelling of
297
+ * the punctuation of either the full stop or comma.</td>
276
298
  * </tr>
277
299
  * <tr>
300
+ * <td>Inf:</td>
301
+ * <td>The rule for infinity.</td>
302
+ * </tr>
303
+ * <tr>
304
+ * <td>NaN:</td>
305
+ * <td>The rule for an IEEE 754 NaN (not a number).</td>
306
+ * </tr>
307
+ * <tr>
308
+ * <tr>
278
309
  * <td><em>nothing</em></td>
279
310
  * <td>If the rule's rule descriptor is left out, the base value is one plus the
280
311
  * preceding rule's base value (or zero if this is the first rule in the list) in a normal
@@ -980,11 +1011,17 @@ private:
980
1011
  /* friend access */
981
1012
  friend class NFSubstitution;
982
1013
  friend class NFRule;
1014
+ friend class NFRuleSet;
983
1015
  friend class FractionalPartSubstitution;
984
1016
 
985
1017
  inline NFRuleSet * getDefaultRuleSet() const;
986
1018
  const RuleBasedCollator * getCollator() const;
987
- DecimalFormatSymbols * getDecimalFormatSymbols() const;
1019
+ DecimalFormatSymbols * initializeDecimalFormatSymbols(UErrorCode &status);
1020
+ const DecimalFormatSymbols * getDecimalFormatSymbols() const;
1021
+ NFRule * initializeDefaultInfinityRule(UErrorCode &status);
1022
+ const NFRule * getDefaultInfinityRule() const;
1023
+ NFRule * initializeDefaultNaNRule(UErrorCode &status);
1024
+ const NFRule * getDefaultNaNRule() const;
988
1025
  PluralFormat *createPluralFormat(UPluralType pluralType, const UnicodeString &pattern, UErrorCode& status) const;
989
1026
  UnicodeString& adjustForCapitalizationContext(int32_t startPos, UnicodeString& currentResult) const;
990
1027
 
@@ -996,6 +1033,8 @@ private:
996
1033
  Locale locale;
997
1034
  RuleBasedCollator* collator;
998
1035
  DecimalFormatSymbols* decimalFormatSymbols;
1036
+ NFRule *defaultInfinityRule;
1037
+ NFRule *defaultNaNRule;
999
1038
  UBool lenient;
1000
1039
  UnicodeString* lenientParseRules;
1001
1040
  LocalizationInfo* localizations;
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  **********************************************************************
3
- * Copyright (C) 2002-2015, International Business Machines
3
+ * Copyright (C) 2002-2016, International Business Machines
4
4
  * Corporation and others. All Rights Reserved.
5
5
  **********************************************************************
6
6
  * file name: regex.h
@@ -450,7 +450,7 @@ public:
450
450
  * @param groupName The capture group name.
451
451
  * @param status A UErrorCode to receive any errors.
452
452
  *
453
- * @draft ICU 55
453
+ * @stable ICU 55
454
454
  */
455
455
  virtual int32_t groupNumberFromName(const UnicodeString &groupName, UErrorCode &status) const;
456
456
 
@@ -469,7 +469,7 @@ public:
469
469
  * nul-terminated.
470
470
  * @param status A UErrorCode to receive any errors.
471
471
  *
472
- * @draft ICU 55
472
+ * @stable ICU 55
473
473
  */
474
474
  virtual int32_t groupNumberFromName(const char *groupName, int32_t nameLength, UErrorCode &status) const;
475
475
 
@@ -849,7 +849,7 @@ public:
849
849
  * position may not be valid with the altered input string.</p>
850
850
  * @param status A reference to a UErrorCode to receive any errors.
851
851
  * @return TRUE if a match is found.
852
- * @draft ICU 55
852
+ * @stable ICU 55
853
853
  */
854
854
  virtual UBool find(UErrorCode &status);
855
855
 
@@ -881,6 +881,11 @@ public:
881
881
  * Returns a string containing the text captured by the given group
882
882
  * during the previous match operation. Group(0) is the entire match.
883
883
  *
884
+ * A zero length string is returned both for capture groups that did not
885
+ * participate in the match and for actual zero length matches.
886
+ * To distinguish between these two cases use the function start(),
887
+ * which returns -1 for non-participating groups.
888
+ *
884
889
  * @param groupNum the capture group number
885
890
  * @param status A reference to a UErrorCode to receive any errors.
886
891
  * Possible errors are U_REGEX_INVALID_STATE if no match
@@ -919,6 +924,11 @@ public:
919
924
  * Returns a shallow clone of the entire live input string with the UText current native index
920
925
  * set to the beginning of the requested group.
921
926
  *
927
+ * A group length of zero is returned both for capture groups that did not
928
+ * participate in the match and for actual zero length matches.
929
+ * To distinguish between these two cases use the function start(),
930
+ * which returns -1 for non-participating groups.
931
+ *
922
932
  * @param groupNum The capture group number.
923
933
  * @param dest The UText into which the input should be cloned, or NULL to create a new UText.
924
934
  * @param group_len A reference to receive the length of the desired capture group
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  *******************************************************************************
3
- * Copyright (C) 2014-2015, International Business Machines Corporation and others.
3
+ * Copyright (C) 2014-2016, International Business Machines Corporation and others.
4
4
  * All Rights Reserved.
5
5
  *******************************************************************************
6
6
  */
@@ -101,13 +101,11 @@ public:
101
101
  */
102
102
  static const Region* U_EXPORT2 getInstance (int32_t code, UErrorCode &status);
103
103
 
104
- #ifndef U_HIDE_DRAFT_API
105
104
  /**
106
105
  * Returns an enumeration over the IDs of all known regions that match the given type.
107
- * @draft ICU 55
106
+ * @stable ICU 55
108
107
  */
109
108
  static StringEnumeration* U_EXPORT2 getAvailable(URegionType type, UErrorCode &status);
110
- #endif /* U_HIDE_DRAFT_API */
111
109
 
112
110
  /**
113
111
  * Returns a pointer to the region that contains this region. Returns NULL if this region is code "001" (World)
@@ -127,7 +125,6 @@ public:
127
125
  */
128
126
  const Region* getContainingRegion(URegionType type) const;
129
127
 
130
- #ifndef U_HIDE_DRAFT_API
131
128
  /**
132
129
  * Return an enumeration over the IDs of all the regions that are immediate children of this region in the
133
130
  * region hierarchy. These returned regions could be either macro regions, territories, or a mixture of the two,
@@ -135,7 +132,7 @@ public:
135
132
  * any sub-regions. For example, calling this method with region "150" (Europe) returns an enumeration containing
136
133
  * the various sub regions of Europe - "039" (Southern Europe) - "151" (Eastern Europe) - "154" (Northern Europe)
137
134
  * and "155" (Western Europe).
138
- * @draft ICU 55
135
+ * @stable ICU 55
139
136
  */
140
137
  StringEnumeration* getContainedRegions(UErrorCode &status) const;
141
138
 
@@ -144,10 +141,9 @@ public:
144
141
  * hierarchy and match the given type. This API may return an empty enumeration if this region doesn't have any
145
142
  * sub-regions that match the given type. For example, calling this method with region "150" (Europe) and type
146
143
  * "URGN_TERRITORY" returns a set containing all the territories in Europe ( "FR" (France) - "IT" (Italy) - "DE" (Germany) etc. )
147
- * @draft ICU 55
144
+ * @stable ICU 55
148
145
  */
149
146
  StringEnumeration* getContainedRegions( URegionType type, UErrorCode &status ) const;
150
- #endif /* U_HIDE_DRAFT_API */
151
147
 
152
148
  /**
153
149
  * Returns true if this region contains the supplied other region anywhere in the region hierarchy.
@@ -155,15 +151,13 @@ public:
155
151
  */
156
152
  UBool contains(const Region &other) const;
157
153
 
158
- #ifndef U_HIDE_DRAFT_API
159
154
  /**
160
155
  * For deprecated regions, return an enumeration over the IDs of the regions that are the preferred replacement
161
156
  * regions for this region. Returns null for a non-deprecated region. For example, calling this method with region
162
157
  * "SU" (Soviet Union) would return a list of the regions containing "RU" (Russia), "AM" (Armenia), "AZ" (Azerbaijan), etc...
163
- * @draft ICU 55
158
+ * @stable ICU 55
164
159
  */
165
160
  StringEnumeration* getPreferredValues(UErrorCode &status) const;
166
- #endif /* U_HIDE_DRAFT_API */
167
161
 
168
162
  /**
169
163
  * Return this region's canonical region code.
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  *****************************************************************************
3
- * Copyright (C) 2014-2015, International Business Machines Corporation and
3
+ * Copyright (C) 2014-2016, International Business Machines Corporation and
4
4
  * others.
5
5
  * All Rights Reserved.
6
6
  *****************************************************************************
@@ -15,6 +15,7 @@
15
15
  #include "unicode/utypes.h"
16
16
  #include "unicode/uobject.h"
17
17
  #include "unicode/udisplaycontext.h"
18
+ #include "unicode/ureldatefmt.h"
18
19
  #include "unicode/locid.h"
19
20
 
20
21
  /**
@@ -24,41 +25,6 @@
24
25
 
25
26
  #if !UCONFIG_NO_FORMATTING && !UCONFIG_NO_BREAK_ITERATION
26
27
 
27
- #ifndef U_HIDE_DRAFT_API
28
-
29
- /**
30
- * The formatting style
31
- * @draft ICU 54
32
- */
33
- typedef enum UDateRelativeDateTimeFormatterStyle {
34
-
35
- /**
36
- * Everything spelled out.
37
- * @draft ICU 54
38
- */
39
- UDAT_STYLE_LONG,
40
-
41
- /**
42
- * Abbreviations used when possible.
43
- * @draft ICU 54
44
- */
45
- UDAT_STYLE_SHORT,
46
-
47
- /**
48
- * Use the shortest possible form.
49
- * @draft ICU 54
50
- */
51
- UDAT_STYLE_NARROW,
52
-
53
- /**
54
- * The number of styles.
55
- * @draft ICU 54
56
- */
57
- UDAT_STYLE_COUNT
58
- } UDateRelativeDateTimeFormatterStyle;
59
-
60
- #endif /* U_HIDE_DRAFT_API */
61
-
62
28
  /**
63
29
  * Represents the unit for formatting a relative date. e.g "in 5 days"
64
30
  * or "in 3 months"
@@ -358,7 +324,6 @@ public:
358
324
  RelativeDateTimeFormatter(
359
325
  const Locale& locale, NumberFormat *nfToAdopt, UErrorCode& status);
360
326
 
361
- #ifndef U_HIDE_DRAFT_API
362
327
  /**
363
328
  * Create RelativeDateTimeFormatter with given locale, NumberFormat,
364
329
  * and capitalization context.
@@ -372,7 +337,7 @@ public:
372
337
  * @param capitalizationContext A value from UDisplayContext that pertains to
373
338
  * capitalization.
374
339
  * @status Any error is returned here.
375
- * @draft ICU 54
340
+ * @stable ICU 54
376
341
  */
377
342
  RelativeDateTimeFormatter(
378
343
  const Locale& locale,
@@ -380,7 +345,6 @@ public:
380
345
  UDateRelativeDateTimeFormatterStyle style,
381
346
  UDisplayContext capitalizationContext,
382
347
  UErrorCode& status);
383
- #endif /* U_HIDE_DRAFT_API */
384
348
 
385
349
  /**
386
350
  * Copy constructor.
@@ -441,6 +405,54 @@ public:
441
405
  UnicodeString& appendTo,
442
406
  UErrorCode& status) const;
443
407
 
408
+ #ifndef U_HIDE_DRAFT_API
409
+ /**
410
+ * Format a combination of URelativeDateTimeUnit and numeric offset
411
+ * using a numeric style, e.g. "1 week ago", "in 1 week",
412
+ * "5 weeks ago", "in 5 weeks".
413
+ *
414
+ * @param offset The signed offset for the specified unit. This
415
+ * will be formatted according to this object's
416
+ * NumberFormat object.
417
+ * @param unit The unit to use when formatting the relative
418
+ * date, e.g. UDAT_REL_UNIT_WEEK,
419
+ * UDAT_REL_UNIT_FRIDAY.
420
+ * @param appendTo The string to which the formatted result will be
421
+ * appended.
422
+ * @param status ICU error code returned here.
423
+ * @return appendTo
424
+ * @draft ICU 57
425
+ */
426
+ UnicodeString& formatNumeric(
427
+ double offset,
428
+ URelativeDateTimeUnit unit,
429
+ UnicodeString& appendTo,
430
+ UErrorCode& status) const;
431
+
432
+ /**
433
+ * Format a combination of URelativeDateTimeUnit and numeric offset
434
+ * using a text style if possible, e.g. "last week", "this week",
435
+ * "next week", "yesterday", "tomorrow". Falls back to numeric
436
+ * style if no appropriate text term is available for the specified
437
+ * offset in the object's locale.
438
+ *
439
+ * @param offset The signed offset for the specified unit.
440
+ * @param unit The unit to use when formatting the relative
441
+ * date, e.g. UDAT_REL_UNIT_WEEK,
442
+ * UDAT_REL_UNIT_FRIDAY.
443
+ * @param appendTo The string to which the formatted result will be
444
+ * appended.
445
+ * @param status ICU error code returned here.
446
+ * @return appendTo
447
+ * @draft ICU 57
448
+ */
449
+ UnicodeString& format(
450
+ double offset,
451
+ URelativeDateTimeUnit unit,
452
+ UnicodeString& appendTo,
453
+ UErrorCode& status) const;
454
+ #endif /* U_HIDE_DRAFT_API */
455
+
444
456
  /**
445
457
  * Combines a relative date string and a time string in this object's
446
458
  * locale. This is done with the same date-time separator used for the
@@ -466,21 +478,19 @@ public:
466
478
  */
467
479
  const NumberFormat& getNumberFormat() const;
468
480
 
469
- #ifndef U_HIDE_DRAFT_API
470
481
  /**
471
482
  * Returns the capitalization context.
472
483
  *
473
- * @draft ICU 54
484
+ * @stable ICU 54
474
485
  */
475
486
  UDisplayContext getCapitalizationContext() const;
476
487
 
477
488
  /**
478
489
  * Returns the format style.
479
490
  *
480
- * @draft ICU 54
491
+ * @stable ICU 54
481
492
  */
482
493
  UDateRelativeDateTimeFormatterStyle getFormatStyle() const;
483
- #endif /* U_HIDE_DRAFT_API */
484
494
 
485
495
  private:
486
496
  const RelativeDateTimeCacheData* fCache;