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,6 +1,6 @@
1
1
  /*
2
2
  **********************************************************************
3
- * Copyright (C) 1997-2012,2014, International Business Machines
3
+ * Copyright (C) 1997-2016, International Business Machines
4
4
  * Corporation and others. All Rights Reserved.
5
5
  **********************************************************************
6
6
  *
@@ -12,7 +12,7 @@
12
12
  * 04/01/97 aliu Creation.
13
13
  * 02/22/99 damiba overhaul.
14
14
  * 04/04/99 helena Fixed internal header inclusion.
15
- * 04/15/99 Madhu Updated Javadoc
15
+ * 04/15/99 Madhu Updated Javadoc
16
16
  * 06/14/99 stephen Removed functions taking a filename suffix.
17
17
  * 07/20/99 stephen Language-independent ypedef to void*
18
18
  * 11/09/99 weiv Added ures_getLocale()
@@ -29,7 +29,7 @@
29
29
 
30
30
  /**
31
31
  * \file
32
- * \brief C API: Resource Bundle
32
+ * \brief C API: Resource Bundle
33
33
  *
34
34
  * <h2>C API: Resource Bundle</h2>
35
35
  *
@@ -40,7 +40,7 @@
40
40
  * <P>
41
41
  * Resource bundles in ICU4C are currently defined using text files which conform to the following
42
42
  * <a href="http://source.icu-project.org/repos/icu/icuhtml/trunk/design/bnf_rb.txt">BNF definition</a>.
43
- * More on resource bundle concepts and syntax can be found in the
43
+ * More on resource bundle concepts and syntax can be found in the
44
44
  * <a href="http://icu-project.org/userguide/ResourceManagement.html">Users Guide</a>.
45
45
  * <P>
46
46
  */
@@ -119,7 +119,7 @@ typedef enum {
119
119
  /** @deprecated ICU 2.6 Use the URES_ constant instead. */
120
120
  RES_INT_VECTOR=URES_INT_VECTOR,
121
121
  /** @deprecated ICU 2.6 Not used. */
122
- RES_RESERVED=15,
122
+ RES_RESERVED=15,
123
123
  #endif /* U_HIDE_DEPRECATED_API */
124
124
 
125
125
  URES_LIMIT = 16
@@ -134,15 +134,15 @@ typedef enum {
134
134
  * their corresponding keys.
135
135
  * Note that the caller is responsible of calling <TT>ures_close</TT> on each succesfully
136
136
  * opened resource bundle.
137
- * @param packageName The packageName and locale together point to an ICU udata object,
138
- * as defined by <code> udata_open( packageName, "res", locale, err) </code>
137
+ * @param packageName The packageName and locale together point to an ICU udata object,
138
+ * as defined by <code> udata_open( packageName, "res", locale, err) </code>
139
139
  * or equivalent. Typically, packageName will refer to a (.dat) file, or to
140
140
  * a package registered with udata_setAppData(). Using a full file or directory
141
141
  * pathname for packageName is deprecated. If NULL, ICU data will be used.
142
142
  * @param locale specifies the locale for which we want to open the resource
143
143
  * if NULL, the default locale will be used. If strlen(locale) == 0
144
144
  * root locale will be used.
145
- *
145
+ *
146
146
  * @param status fills in the outgoing error code.
147
147
  * The UErrorCode err parameter is used to return status information to the user. To
148
148
  * check whether the construction succeeded or not, you should check the value of
@@ -150,39 +150,39 @@ typedef enum {
150
150
  * informational status results which still indicate success. U_USING_FALLBACK_WARNING
151
151
  * indicates that a fall back locale was used. For example, 'de_CH' was requested,
152
152
  * but nothing was found there, so 'de' was used. U_USING_DEFAULT_WARNING indicates that
153
- * the default locale data or root locale data was used; neither the requested locale
154
- * nor any of its fall back locales could be found. Please see the users guide for more
153
+ * the default locale data or root locale data was used; neither the requested locale
154
+ * nor any of its fall back locales could be found. Please see the users guide for more
155
155
  * information on this topic.
156
156
  * @return a newly allocated resource bundle.
157
157
  * @see ures_close
158
158
  * @stable ICU 2.0
159
159
  */
160
- U_STABLE UResourceBundle* U_EXPORT2
160
+ U_STABLE UResourceBundle* U_EXPORT2
161
161
  ures_open(const char* packageName,
162
- const char* locale,
162
+ const char* locale,
163
163
  UErrorCode* status);
164
164
 
165
165
 
166
- /** This function does not care what kind of localeID is passed in. It simply opens a bundle with
166
+ /** This function does not care what kind of localeID is passed in. It simply opens a bundle with
167
167
  * that name. Fallback mechanism is disabled for the new bundle. If the requested bundle contains
168
168
  * an %%ALIAS directive, the results are undefined.
169
- * @param packageName The packageName and locale together point to an ICU udata object,
170
- * as defined by <code> udata_open( packageName, "res", locale, err) </code>
169
+ * @param packageName The packageName and locale together point to an ICU udata object,
170
+ * as defined by <code> udata_open( packageName, "res", locale, err) </code>
171
171
  * or equivalent. Typically, packageName will refer to a (.dat) file, or to
172
172
  * a package registered with udata_setAppData(). Using a full file or directory
173
173
  * pathname for packageName is deprecated. If NULL, ICU data will be used.
174
174
  * @param locale specifies the locale for which we want to open the resource
175
175
  * if NULL, the default locale will be used. If strlen(locale) == 0
176
176
  * root locale will be used.
177
- *
177
+ *
178
178
  * @param status fills in the outgoing error code. Either U_ZERO_ERROR or U_MISSING_RESOURCE_ERROR
179
179
  * @return a newly allocated resource bundle or NULL if it doesn't exist.
180
180
  * @see ures_close
181
181
  * @stable ICU 2.0
182
182
  */
183
- U_STABLE UResourceBundle* U_EXPORT2
184
- ures_openDirect(const char* packageName,
185
- const char* locale,
183
+ U_STABLE UResourceBundle* U_EXPORT2
184
+ ures_openDirect(const char* packageName,
185
+ const char* locale,
186
186
  UErrorCode* status);
187
187
 
188
188
  /**
@@ -190,8 +190,8 @@ ures_openDirect(const char* packageName,
190
190
  * This path will be converted to char * using the default converter,
191
191
  * then ures_open() is called.
192
192
  *
193
- * @param packageName The packageName and locale together point to an ICU udata object,
194
- * as defined by <code> udata_open( packageName, "res", locale, err) </code>
193
+ * @param packageName The packageName and locale together point to an ICU udata object,
194
+ * as defined by <code> udata_open( packageName, "res", locale, err) </code>
195
195
  * or equivalent. Typically, packageName will refer to a (.dat) file, or to
196
196
  * a package registered with udata_setAppData(). Using a full file or directory
197
197
  * pathname for packageName is deprecated. If NULL, ICU data will be used.
@@ -203,21 +203,21 @@ ures_openDirect(const char* packageName,
203
203
  * @see ures_open
204
204
  * @stable ICU 2.0
205
205
  */
206
- U_STABLE UResourceBundle* U_EXPORT2
207
- ures_openU(const UChar* packageName,
208
- const char* locale,
206
+ U_STABLE UResourceBundle* U_EXPORT2
207
+ ures_openU(const UChar* packageName,
208
+ const char* locale,
209
209
  UErrorCode* status);
210
210
 
211
211
  #ifndef U_HIDE_DEPRECATED_API
212
212
  /**
213
213
  * Returns the number of strings/arrays in resource bundles.
214
- * Better to use ures_getSize, as this function will be deprecated.
214
+ * Better to use ures_getSize, as this function will be deprecated.
215
215
  *
216
216
  *@param resourceBundle resource bundle containing the desired strings
217
217
  *@param resourceKey key tagging the resource
218
218
  *@param err fills in the outgoing error code
219
219
  * could be <TT>U_MISSING_RESOURCE_ERROR</TT> if the key is not found
220
- * could be a non-failing error
220
+ * could be a non-failing error
221
221
  * e.g.: <TT>U_USING_FALLBACK_WARNING</TT>,<TT>U_USING_FALLBACK_WARNING </TT>
222
222
  *@return: for <STRONG>Arrays</STRONG>: returns the number of resources in the array
223
223
  * <STRONG>Tables</STRONG>: returns the number of resources in the table
@@ -225,7 +225,7 @@ ures_openU(const UChar* packageName,
225
225
  *@see ures_getSize
226
226
  * @deprecated ICU 2.8 User ures_getSize instead
227
227
  */
228
- U_DEPRECATED int32_t U_EXPORT2
228
+ U_DEPRECATED int32_t U_EXPORT2
229
229
  ures_countArrayItems(const UResourceBundle* resourceBundle,
230
230
  const char* resourceKey,
231
231
  UErrorCode* err);
@@ -239,7 +239,7 @@ ures_countArrayItems(const UResourceBundle* resourceBundle,
239
239
  * @see ures_open
240
240
  * @stable ICU 2.0
241
241
  */
242
- U_STABLE void U_EXPORT2
242
+ U_STABLE void U_EXPORT2
243
243
  ures_close(UResourceBundle* resourceBundle);
244
244
 
245
245
  #if U_SHOW_CPLUSPLUS_API
@@ -272,12 +272,12 @@ U_NAMESPACE_END
272
272
  * @see ures_getVersion
273
273
  * @deprecated ICU 2.8 Use ures_getVersion instead.
274
274
  */
275
- U_DEPRECATED const char* U_EXPORT2
275
+ U_DEPRECATED const char* U_EXPORT2
276
276
  ures_getVersionNumber(const UResourceBundle* resourceBundle);
277
277
  #endif /* U_HIDE_DEPRECATED_API */
278
278
 
279
279
  /**
280
- * Return the version number associated with this ResourceBundle as an
280
+ * Return the version number associated with this ResourceBundle as an
281
281
  * UVersionInfo array.
282
282
  *
283
283
  * @param resB The resource bundle for which the version is checked.
@@ -285,15 +285,15 @@ ures_getVersionNumber(const UResourceBundle* resourceBundle);
285
285
  * as specified in the resource bundle or its parent.
286
286
  * @stable ICU 2.0
287
287
  */
288
- U_STABLE void U_EXPORT2
289
- ures_getVersion(const UResourceBundle* resB,
288
+ U_STABLE void U_EXPORT2
289
+ ures_getVersion(const UResourceBundle* resB,
290
290
  UVersionInfo versionInfo);
291
291
 
292
292
  #ifndef U_HIDE_DEPRECATED_API
293
293
  /**
294
294
  * Return the name of the Locale associated with this ResourceBundle. This API allows
295
- * you to query for the real locale of the resource. For example, if you requested
296
- * "en_US_CALIFORNIA" and only "en_US" bundle exists, "en_US" will be returned.
295
+ * you to query for the real locale of the resource. For example, if you requested
296
+ * "en_US_CALIFORNIA" and only "en_US" bundle exists, "en_US" will be returned.
297
297
  * For subresources, the locale where this resource comes from will be returned.
298
298
  * If fallback has occured, getLocale will reflect this.
299
299
  *
@@ -302,13 +302,13 @@ ures_getVersion(const UResourceBundle* resB,
302
302
  * @return A Locale name
303
303
  * @deprecated ICU 2.8 Use ures_getLocaleByType instead.
304
304
  */
305
- U_DEPRECATED const char* U_EXPORT2
306
- ures_getLocale(const UResourceBundle* resourceBundle,
305
+ U_DEPRECATED const char* U_EXPORT2
306
+ ures_getLocale(const UResourceBundle* resourceBundle,
307
307
  UErrorCode* status);
308
308
  #endif /* U_HIDE_DEPRECATED_API */
309
309
 
310
310
  /**
311
- * Return the name of the Locale associated with this ResourceBundle.
311
+ * Return the name of the Locale associated with this ResourceBundle.
312
312
  * You can choose between requested, valid and real locale.
313
313
  *
314
314
  * @param resourceBundle resource bundle in question
@@ -319,9 +319,9 @@ ures_getLocale(const UResourceBundle* resourceBundle,
319
319
  * @return A Locale name
320
320
  * @stable ICU 2.8
321
321
  */
322
- U_STABLE const char* U_EXPORT2
323
- ures_getLocaleByType(const UResourceBundle* resourceBundle,
324
- ULocDataLocaleType type,
322
+ U_STABLE const char* U_EXPORT2
323
+ ures_getLocaleByType(const UResourceBundle* resourceBundle,
324
+ ULocDataLocaleType type,
325
325
  UErrorCode* status);
326
326
 
327
327
 
@@ -332,8 +332,8 @@ ures_getLocaleByType(const UResourceBundle* resourceBundle,
332
332
  * TODO need to revisit usefulness of this function
333
333
  * and usage model for fillIn parameters without knowing sizeof(UResourceBundle)
334
334
  * @param r The resourcebundle to open
335
- * @param packageName The packageName and locale together point to an ICU udata object,
336
- * as defined by <code> udata_open( packageName, "res", locale, err) </code>
335
+ * @param packageName The packageName and locale together point to an ICU udata object,
336
+ * as defined by <code> udata_open( packageName, "res", locale, err) </code>
337
337
  * or equivalent. Typically, packageName will refer to a (.dat) file, or to
338
338
  * a package registered with udata_setAppData(). Using a full file or directory
339
339
  * pathname for packageName is deprecated. If NULL, ICU data will be used.
@@ -342,10 +342,10 @@ ures_getLocaleByType(const UResourceBundle* resourceBundle,
342
342
  * @return a newly allocated resource bundle or NULL if it doesn't exist.
343
343
  * @internal
344
344
  */
345
- U_INTERNAL void U_EXPORT2
346
- ures_openFillIn(UResourceBundle *r,
345
+ U_INTERNAL void U_EXPORT2
346
+ ures_openFillIn(UResourceBundle *r,
347
347
  const char* packageName,
348
- const char* localeID,
348
+ const char* localeID,
349
349
  UErrorCode* status);
350
350
  #endif /* U_HIDE_INTERNAL_API */
351
351
 
@@ -357,7 +357,7 @@ ures_openFillIn(UResourceBundle *r,
357
357
  * @param status fills in the outgoing error code
358
358
  * could be <TT>U_MISSING_RESOURCE_ERROR</TT> if the key is not found
359
359
  * Always check the value of status. Don't count on returning NULL.
360
- * could be a non-failing error
360
+ * could be a non-failing error
361
361
  * e.g.: <TT>U_USING_FALLBACK_WARNING</TT>,<TT>U_USING_DEFAULT_WARNING </TT>
362
362
  * @return a pointer to a zero-terminated UChar array which lives in a memory mapped/DLL file.
363
363
  * @see ures_getBinary
@@ -366,9 +366,9 @@ ures_openFillIn(UResourceBundle *r,
366
366
  * @see ures_getUInt
367
367
  * @stable ICU 2.0
368
368
  */
369
- U_STABLE const UChar* U_EXPORT2
370
- ures_getString(const UResourceBundle* resourceBundle,
371
- int32_t* len,
369
+ U_STABLE const UChar* U_EXPORT2
370
+ ures_getString(const UResourceBundle* resourceBundle,
371
+ int32_t* len,
372
372
  UErrorCode* status);
373
373
 
374
374
  /**
@@ -425,14 +425,14 @@ ures_getUTF8String(const UResourceBundle *resB,
425
425
  UErrorCode *status);
426
426
 
427
427
  /**
428
- * Returns a binary data from a binary resource.
428
+ * Returns a binary data from a binary resource.
429
429
  *
430
430
  * @param resourceBundle a string resource
431
431
  * @param len fills in the length of resulting byte chunk
432
432
  * @param status fills in the outgoing error code
433
433
  * could be <TT>U_MISSING_RESOURCE_ERROR</TT> if the key is not found
434
434
  * Always check the value of status. Don't count on returning NULL.
435
- * could be a non-failing error
435
+ * could be a non-failing error
436
436
  * e.g.: <TT>U_USING_FALLBACK_WARNING</TT>,<TT>U_USING_DEFAULT_WARNING </TT>
437
437
  * @return a pointer to a chunk of unsigned bytes which live in a memory mapped/DLL file.
438
438
  * @see ures_getString
@@ -441,20 +441,20 @@ ures_getUTF8String(const UResourceBundle *resB,
441
441
  * @see ures_getUInt
442
442
  * @stable ICU 2.0
443
443
  */
444
- U_STABLE const uint8_t* U_EXPORT2
445
- ures_getBinary(const UResourceBundle* resourceBundle,
446
- int32_t* len,
444
+ U_STABLE const uint8_t* U_EXPORT2
445
+ ures_getBinary(const UResourceBundle* resourceBundle,
446
+ int32_t* len,
447
447
  UErrorCode* status);
448
448
 
449
449
  /**
450
- * Returns a 32 bit integer array from a resource.
450
+ * Returns a 32 bit integer array from a resource.
451
451
  *
452
452
  * @param resourceBundle an int vector resource
453
453
  * @param len fills in the length of resulting byte chunk
454
454
  * @param status fills in the outgoing error code
455
455
  * could be <TT>U_MISSING_RESOURCE_ERROR</TT> if the key is not found
456
456
  * Always check the value of status. Don't count on returning NULL.
457
- * could be a non-failing error
457
+ * could be a non-failing error
458
458
  * e.g.: <TT>U_USING_FALLBACK_WARNING</TT>,<TT>U_USING_DEFAULT_WARNING </TT>
459
459
  * @return a pointer to a chunk of integers which live in a memory mapped/DLL file.
460
460
  * @see ures_getBinary
@@ -463,19 +463,19 @@ ures_getBinary(const UResourceBundle* resourceBundle,
463
463
  * @see ures_getUInt
464
464
  * @stable ICU 2.0
465
465
  */
466
- U_STABLE const int32_t* U_EXPORT2
467
- ures_getIntVector(const UResourceBundle* resourceBundle,
468
- int32_t* len,
466
+ U_STABLE const int32_t* U_EXPORT2
467
+ ures_getIntVector(const UResourceBundle* resourceBundle,
468
+ int32_t* len,
469
469
  UErrorCode* status);
470
470
 
471
471
  /**
472
- * Returns an unsigned integer from a resource.
472
+ * Returns an unsigned integer from a resource.
473
473
  * This integer is originally 28 bits.
474
474
  *
475
475
  * @param resourceBundle a string resource
476
476
  * @param status fills in the outgoing error code
477
477
  * could be <TT>U_MISSING_RESOURCE_ERROR</TT> if the key is not found
478
- * could be a non-failing error
478
+ * could be a non-failing error
479
479
  * e.g.: <TT>U_USING_FALLBACK_WARNING</TT>,<TT>U_USING_DEFAULT_WARNING </TT>
480
480
  * @return an integer value
481
481
  * @see ures_getInt
@@ -484,18 +484,18 @@ ures_getIntVector(const UResourceBundle* resourceBundle,
484
484
  * @see ures_getString
485
485
  * @stable ICU 2.0
486
486
  */
487
- U_STABLE uint32_t U_EXPORT2
488
- ures_getUInt(const UResourceBundle* resourceBundle,
487
+ U_STABLE uint32_t U_EXPORT2
488
+ ures_getUInt(const UResourceBundle* resourceBundle,
489
489
  UErrorCode *status);
490
490
 
491
491
  /**
492
- * Returns a signed integer from a resource.
492
+ * Returns a signed integer from a resource.
493
493
  * This integer is originally 28 bit and the sign gets propagated.
494
494
  *
495
495
  * @param resourceBundle a string resource
496
496
  * @param status fills in the outgoing error code
497
497
  * could be <TT>U_MISSING_RESOURCE_ERROR</TT> if the key is not found
498
- * could be a non-failing error
498
+ * could be a non-failing error
499
499
  * e.g.: <TT>U_USING_FALLBACK_WARNING</TT>,<TT>U_USING_DEFAULT_WARNING </TT>
500
500
  * @return an integer value
501
501
  * @see ures_getUInt
@@ -504,21 +504,21 @@ ures_getUInt(const UResourceBundle* resourceBundle,
504
504
  * @see ures_getString
505
505
  * @stable ICU 2.0
506
506
  */
507
- U_STABLE int32_t U_EXPORT2
508
- ures_getInt(const UResourceBundle* resourceBundle,
507
+ U_STABLE int32_t U_EXPORT2
508
+ ures_getInt(const UResourceBundle* resourceBundle,
509
509
  UErrorCode *status);
510
510
 
511
511
  /**
512
- * Returns the size of a resource. Size for scalar types is always 1,
512
+ * Returns the size of a resource. Size for scalar types is always 1,
513
513
  * and for vector/table types is the number of child resources.
514
- * @warning Integer array is treated as a scalar type. There are no
514
+ * @warning Integer array is treated as a scalar type. There are no
515
515
  * APIs to access individual members of an integer array. It
516
516
  * is always returned as a whole.
517
517
  * @param resourceBundle a resource
518
518
  * @return number of resources in a given resource.
519
519
  * @stable ICU 2.0
520
520
  */
521
- U_STABLE int32_t U_EXPORT2
521
+ U_STABLE int32_t U_EXPORT2
522
522
  ures_getSize(const UResourceBundle *resourceBundle);
523
523
 
524
524
  /**
@@ -529,21 +529,21 @@ ures_getSize(const UResourceBundle *resourceBundle);
529
529
  * @see UResType
530
530
  * @stable ICU 2.0
531
531
  */
532
- U_STABLE UResType U_EXPORT2
532
+ U_STABLE UResType U_EXPORT2
533
533
  ures_getType(const UResourceBundle *resourceBundle);
534
534
 
535
535
  /**
536
- * Returns the key associated with a given resource. Not all the resources have a key - only
536
+ * Returns the key associated with a given resource. Not all the resources have a key - only
537
537
  * those that are members of a table.
538
538
  *
539
539
  * @param resourceBundle a resource
540
540
  * @return a key associated to this resource, or NULL if it doesn't have a key
541
541
  * @stable ICU 2.0
542
542
  */
543
- U_STABLE const char * U_EXPORT2
543
+ U_STABLE const char * U_EXPORT2
544
544
  ures_getKey(const UResourceBundle *resourceBundle);
545
545
 
546
- /* ITERATION API
546
+ /* ITERATION API
547
547
  This API provides means for iterating through a resource
548
548
  */
549
549
 
@@ -553,7 +553,7 @@ ures_getKey(const UResourceBundle *resourceBundle);
553
553
  * @param resourceBundle a resource
554
554
  * @stable ICU 2.0
555
555
  */
556
- U_STABLE void U_EXPORT2
556
+ U_STABLE void U_EXPORT2
557
557
  ures_resetIterator(UResourceBundle *resourceBundle);
558
558
 
559
559
  /**
@@ -563,12 +563,12 @@ ures_resetIterator(UResourceBundle *resourceBundle);
563
563
  * @return TRUE if there are more elements, FALSE if there is no more elements
564
564
  * @stable ICU 2.0
565
565
  */
566
- U_STABLE UBool U_EXPORT2
566
+ U_STABLE UBool U_EXPORT2
567
567
  ures_hasNext(const UResourceBundle *resourceBundle);
568
568
 
569
569
  /**
570
- * Returns the next resource in a given resource or NULL if there are no more resources
571
- * to iterate over. Features a fill-in parameter.
570
+ * Returns the next resource in a given resource or NULL if there are no more resources
571
+ * to iterate over. Features a fill-in parameter.
572
572
  *
573
573
  * @param resourceBundle a resource
574
574
  * @param fillIn if NULL a new UResourceBundle struct is allocated and must be closed by the caller.
@@ -578,14 +578,14 @@ ures_hasNext(const UResourceBundle *resourceBundle);
578
578
  * @return a pointer to a UResourceBundle struct. If fill in param was NULL, caller must close it
579
579
  * @stable ICU 2.0
580
580
  */
581
- U_STABLE UResourceBundle* U_EXPORT2
582
- ures_getNextResource(UResourceBundle *resourceBundle,
583
- UResourceBundle *fillIn,
581
+ U_STABLE UResourceBundle* U_EXPORT2
582
+ ures_getNextResource(UResourceBundle *resourceBundle,
583
+ UResourceBundle *fillIn,
584
584
  UErrorCode *status);
585
585
 
586
586
  /**
587
- * Returns the next string in a given resource or NULL if there are no more resources
588
- * to iterate over.
587
+ * Returns the next string in a given resource or NULL if there are no more resources
588
+ * to iterate over.
589
589
  *
590
590
  * @param resourceBundle a resource
591
591
  * @param len fill in length of the string
@@ -595,14 +595,14 @@ ures_getNextResource(UResourceBundle *resourceBundle,
595
595
  * @return a pointer to a zero-terminated UChar array which lives in a memory mapped/DLL file.
596
596
  * @stable ICU 2.0
597
597
  */
598
- U_STABLE const UChar* U_EXPORT2
599
- ures_getNextString(UResourceBundle *resourceBundle,
600
- int32_t* len,
601
- const char ** key,
598
+ U_STABLE const UChar* U_EXPORT2
599
+ ures_getNextString(UResourceBundle *resourceBundle,
600
+ int32_t* len,
601
+ const char ** key,
602
602
  UErrorCode *status);
603
603
 
604
604
  /**
605
- * Returns the resource in a given resource at the specified index. Features a fill-in parameter.
605
+ * Returns the resource in a given resource at the specified index. Features a fill-in parameter.
606
606
  *
607
607
  * @param resourceBundle the resource bundle from which to get a sub-resource
608
608
  * @param indexR an index to the wanted resource.
@@ -613,10 +613,10 @@ ures_getNextString(UResourceBundle *resourceBundle,
613
613
  * @return a pointer to a UResourceBundle struct. If fill in param was NULL, caller must close it
614
614
  * @stable ICU 2.0
615
615
  */
616
- U_STABLE UResourceBundle* U_EXPORT2
617
- ures_getByIndex(const UResourceBundle *resourceBundle,
618
- int32_t indexR,
619
- UResourceBundle *fillIn,
616
+ U_STABLE UResourceBundle* U_EXPORT2
617
+ ures_getByIndex(const UResourceBundle *resourceBundle,
618
+ int32_t indexR,
619
+ UResourceBundle *fillIn,
620
620
  UErrorCode *status);
621
621
 
622
622
  /**
@@ -630,10 +630,10 @@ ures_getByIndex(const UResourceBundle *resourceBundle,
630
630
  * @return a pointer to a zero-terminated UChar array which lives in a memory mapped/DLL file.
631
631
  * @stable ICU 2.0
632
632
  */
633
- U_STABLE const UChar* U_EXPORT2
634
- ures_getStringByIndex(const UResourceBundle *resourceBundle,
635
- int32_t indexS,
636
- int32_t* len,
633
+ U_STABLE const UChar* U_EXPORT2
634
+ ures_getStringByIndex(const UResourceBundle *resourceBundle,
635
+ int32_t indexS,
636
+ int32_t* len,
637
637
  UErrorCode *status);
638
638
 
639
639
  /**
@@ -693,7 +693,7 @@ ures_getUTF8StringByIndex(const UResourceBundle *resB,
693
693
 
694
694
  /**
695
695
  * Returns a resource in a given resource that has a given key. This procedure works only with table
696
- * resources. Features a fill-in parameter.
696
+ * resources. Features a fill-in parameter.
697
697
  *
698
698
  * @param resourceBundle a resource
699
699
  * @param key a key associated with the wanted resource
@@ -703,15 +703,15 @@ ures_getUTF8StringByIndex(const UResourceBundle *resB,
703
703
  * @return a pointer to a UResourceBundle struct. If fill in param was NULL, caller must close it
704
704
  * @stable ICU 2.0
705
705
  */
706
- U_STABLE UResourceBundle* U_EXPORT2
707
- ures_getByKey(const UResourceBundle *resourceBundle,
708
- const char* key,
709
- UResourceBundle *fillIn,
706
+ U_STABLE UResourceBundle* U_EXPORT2
707
+ ures_getByKey(const UResourceBundle *resourceBundle,
708
+ const char* key,
709
+ UResourceBundle *fillIn,
710
710
  UErrorCode *status);
711
711
 
712
712
  /**
713
713
  * Returns a string in a given resource that has a given key. This procedure works only with table
714
- * resources.
714
+ * resources.
715
715
  *
716
716
  * @param resB a resource
717
717
  * @param key a key associated with the wanted string
@@ -721,10 +721,10 @@ ures_getByKey(const UResourceBundle *resourceBundle,
721
721
  * @return a pointer to a zero-terminated UChar array which lives in a memory mapped/DLL file.
722
722
  * @stable ICU 2.0
723
723
  */
724
- U_STABLE const UChar* U_EXPORT2
725
- ures_getStringByKey(const UResourceBundle *resB,
726
- const char* key,
727
- int32_t* len,
724
+ U_STABLE const UChar* U_EXPORT2
725
+ ures_getStringByKey(const UResourceBundle *resB,
726
+ const char* key,
727
+ int32_t* len,
728
728
  UErrorCode *status);
729
729
 
730
730
  /**
@@ -789,82 +789,97 @@ ures_getUTF8StringByKey(const UResourceBundle *resB,
789
789
 
790
790
  U_NAMESPACE_BEGIN
791
791
  /**
792
- * returns a string from a string resource type
792
+ * Returns the string value from a string resource bundle.
793
793
  *
794
- * @param resB a resource
794
+ * @param resB a resource, should have type URES_STRING
795
795
  * @param status: fills in the outgoing error code
796
796
  * could be <TT>U_MISSING_RESOURCE_ERROR</TT> if the key is not found
797
- * could be a non-failing error
797
+ * could be a non-failing error
798
798
  * e.g.: <TT>U_USING_FALLBACK_WARNING</TT>,<TT>U_USING_DEFAULT_WARNING </TT>
799
- * @return a UnicodeString object. If there is an error, string is bogus
799
+ * @return The string value, or a bogus string if there is a failure UErrorCode.
800
800
  * @stable ICU 2.0
801
801
  */
802
- inline UnicodeString
803
- ures_getUnicodeString(const UResourceBundle *resB,
804
- UErrorCode* status)
805
- {
802
+ inline UnicodeString
803
+ ures_getUnicodeString(const UResourceBundle *resB, UErrorCode* status) {
804
+ UnicodeString result;
806
805
  int32_t len = 0;
807
806
  const UChar *r = ures_getString(resB, &len, status);
808
- return UnicodeString(TRUE, r, len);
807
+ if(U_SUCCESS(*status)) {
808
+ result.setTo(TRUE, r, len);
809
+ } else {
810
+ result.setToBogus();
811
+ }
812
+ return result;
809
813
  }
810
814
 
811
815
  /**
812
- * Returns the next string in a resource or NULL if there are no more resources
813
- * to iterate over.
816
+ * Returns the next string in a resource, or an empty string if there are no more resources
817
+ * to iterate over.
818
+ * Use ures_getNextString() instead to distinguish between
819
+ * the end of the iteration and a real empty string value.
814
820
  *
815
821
  * @param resB a resource
816
822
  * @param key fill in for key associated with this string
817
823
  * @param status fills in the outgoing error code
818
- * @return an UnicodeString object.
824
+ * @return The string value, or a bogus string if there is a failure UErrorCode.
819
825
  * @stable ICU 2.0
820
826
  */
821
- inline UnicodeString
822
- ures_getNextUnicodeString(UResourceBundle *resB,
823
- const char ** key,
824
- UErrorCode* status)
825
- {
827
+ inline UnicodeString
828
+ ures_getNextUnicodeString(UResourceBundle *resB, const char ** key, UErrorCode* status) {
829
+ UnicodeString result;
826
830
  int32_t len = 0;
827
831
  const UChar* r = ures_getNextString(resB, &len, key, status);
828
- return UnicodeString(TRUE, r, len);
832
+ if(U_SUCCESS(*status)) {
833
+ result.setTo(TRUE, r, len);
834
+ } else {
835
+ result.setToBogus();
836
+ }
837
+ return result;
829
838
  }
830
839
 
831
840
  /**
832
- * Returns the string in a given resource at the specified index.
841
+ * Returns the string in a given resource array or table at the specified index.
833
842
  *
834
843
  * @param resB a resource
835
844
  * @param indexS an index to the wanted string.
836
845
  * @param status fills in the outgoing error code
837
- * @return an UnicodeString object. If there is an error, string is bogus
846
+ * @return The string value, or a bogus string if there is a failure UErrorCode.
838
847
  * @stable ICU 2.0
839
848
  */
840
- inline UnicodeString
841
- ures_getUnicodeStringByIndex(const UResourceBundle *resB,
842
- int32_t indexS,
843
- UErrorCode* status)
844
- {
849
+ inline UnicodeString
850
+ ures_getUnicodeStringByIndex(const UResourceBundle *resB, int32_t indexS, UErrorCode* status) {
851
+ UnicodeString result;
845
852
  int32_t len = 0;
846
853
  const UChar* r = ures_getStringByIndex(resB, indexS, &len, status);
847
- return UnicodeString(TRUE, r, len);
854
+ if(U_SUCCESS(*status)) {
855
+ result.setTo(TRUE, r, len);
856
+ } else {
857
+ result.setToBogus();
858
+ }
859
+ return result;
848
860
  }
849
861
 
850
862
  /**
851
- * Returns a string in a resource that has a given key. This procedure works only with table
852
- * resources.
863
+ * Returns a string in a resource that has a given key.
864
+ * This procedure works only with table resources.
853
865
  *
854
866
  * @param resB a resource
855
867
  * @param key a key associated with the wanted string
856
868
  * @param status fills in the outgoing error code
857
- * @return an UnicodeString object. If there is an error, string is bogus
869
+ * @return The string value, or a bogus string if there is a failure UErrorCode.
858
870
  * @stable ICU 2.0
859
871
  */
860
- inline UnicodeString
861
- ures_getUnicodeStringByKey(const UResourceBundle *resB,
862
- const char* key,
863
- UErrorCode* status)
864
- {
872
+ inline UnicodeString
873
+ ures_getUnicodeStringByKey(const UResourceBundle *resB, const char* key, UErrorCode* status) {
874
+ UnicodeString result;
865
875
  int32_t len = 0;
866
876
  const UChar* r = ures_getStringByKey(resB, key, &len, status);
867
- return UnicodeString(TRUE, r, len);
877
+ if(U_SUCCESS(*status)) {
878
+ result.setTo(TRUE, r, len);
879
+ } else {
880
+ result.setToBogus();
881
+ }
882
+ return result;
868
883
  }
869
884
 
870
885
  U_NAMESPACE_END
@@ -872,7 +887,7 @@ U_NAMESPACE_END
872
887
  #endif
873
888
 
874
889
  /**
875
- * Create a string enumerator, owned by the caller, of all locales located within
890
+ * Create a string enumerator, owned by the caller, of all locales located within
876
891
  * the specified resource tree.
877
892
  * @param packageName name of the tree, such as (NULL) or U_ICUDATA_ALIAS or or "ICUDATA-coll"
878
893
  * This call is similar to uloc_getAvailable().