pango 3.1.0-x86-mingw32 → 3.1.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (293) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +9 -4
  3. data/ext/pango/rbpangolayoutline.c +6 -2
  4. data/lib/2.2/pango.so +0 -0
  5. data/lib/2.3/pango.so +0 -0
  6. data/lib/2.4/pango.so +0 -0
  7. data/sample/layout.rb +1 -1
  8. data/vendor/local/bin/derb.exe +0 -0
  9. data/vendor/local/bin/genbrk.exe +0 -0
  10. data/vendor/local/bin/genccode.exe +0 -0
  11. data/vendor/local/bin/gencfu.exe +0 -0
  12. data/vendor/local/bin/gencmn.exe +0 -0
  13. data/vendor/local/bin/gencnval.exe +0 -0
  14. data/vendor/local/bin/gendict.exe +0 -0
  15. data/vendor/local/bin/gennorm2.exe +0 -0
  16. data/vendor/local/bin/genrb.exe +0 -0
  17. data/vendor/local/bin/gensprep.exe +0 -0
  18. data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
  19. data/vendor/local/bin/hb-shape.exe +0 -0
  20. data/vendor/local/bin/hb-view.exe +0 -0
  21. data/vendor/local/bin/icu-config +18 -13
  22. data/vendor/local/bin/icuinfo.exe +0 -0
  23. data/vendor/local/bin/icupkg.exe +0 -0
  24. data/vendor/local/bin/libharfbuzz-0.dll +0 -0
  25. data/vendor/local/bin/libpango-1.0-0.dll +0 -0
  26. data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
  27. data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
  28. data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
  29. data/vendor/local/bin/makeconv.exe +0 -0
  30. data/vendor/local/bin/pango-view.exe +0 -0
  31. data/vendor/local/bin/pkgdata.exe +0 -0
  32. data/vendor/local/bin/uconv.exe +0 -0
  33. data/vendor/local/include/harfbuzz/hb-font.h +5 -0
  34. data/vendor/local/include/harfbuzz/hb-glib.h +2 -1
  35. data/vendor/local/include/harfbuzz/hb-ot-layout.h +19 -0
  36. data/vendor/local/include/harfbuzz/hb-shape-plan.h +19 -0
  37. data/vendor/local/include/harfbuzz/hb-version.h +3 -3
  38. data/vendor/local/include/unicode/alphaindex.h +2 -0
  39. data/vendor/local/include/unicode/appendable.h +2 -0
  40. data/vendor/local/include/unicode/basictz.h +2 -0
  41. data/vendor/local/include/unicode/brkiter.h +7 -0
  42. data/vendor/local/include/unicode/bytestream.h +2 -0
  43. data/vendor/local/include/unicode/bytestrie.h +3 -2
  44. data/vendor/local/include/unicode/bytestriebuilder.h +4 -4
  45. data/vendor/local/include/unicode/calendar.h +2 -0
  46. data/vendor/local/include/unicode/caniter.h +2 -0
  47. data/vendor/local/include/unicode/chariter.h +2 -0
  48. data/vendor/local/include/unicode/choicfmt.h +2 -0
  49. data/vendor/local/include/unicode/coleitr.h +2 -0
  50. data/vendor/local/include/unicode/coll.h +2 -0
  51. data/vendor/local/include/unicode/compactdecimalformat.h +4 -3
  52. data/vendor/local/include/unicode/curramt.h +2 -0
  53. data/vendor/local/include/unicode/currpinf.h +2 -0
  54. data/vendor/local/include/unicode/currunit.h +2 -0
  55. data/vendor/local/include/unicode/datefmt.h +2 -0
  56. data/vendor/local/include/unicode/dbbi.h +2 -0
  57. data/vendor/local/include/unicode/dcfmtsym.h +2 -0
  58. data/vendor/local/include/unicode/decimfmt.h +9 -5
  59. data/vendor/local/include/unicode/docmain.h +3 -1
  60. data/vendor/local/include/unicode/dtfmtsym.h +26 -14
  61. data/vendor/local/include/unicode/dtintrv.h +2 -0
  62. data/vendor/local/include/unicode/dtitvfmt.h +2 -0
  63. data/vendor/local/include/unicode/dtitvinf.h +8 -3
  64. data/vendor/local/include/unicode/dtptngen.h +13 -9
  65. data/vendor/local/include/unicode/dtrule.h +2 -0
  66. data/vendor/local/include/unicode/enumset.h +2 -0
  67. data/vendor/local/include/unicode/errorcode.h +2 -0
  68. data/vendor/local/include/unicode/fieldpos.h +5 -2
  69. data/vendor/local/include/unicode/filteredbrk.h +10 -12
  70. data/vendor/local/include/unicode/fmtable.h +4 -2
  71. data/vendor/local/include/unicode/format.h +2 -0
  72. data/vendor/local/include/unicode/fpositer.h +2 -0
  73. data/vendor/local/include/unicode/gender.h +2 -0
  74. data/vendor/local/include/unicode/gregocal.h +2 -0
  75. data/vendor/local/include/unicode/icudataver.h +2 -0
  76. data/vendor/local/include/unicode/icuplug.h +12 -2
  77. data/vendor/local/include/unicode/idna.h +6 -4
  78. data/vendor/local/include/unicode/listformatter.h +2 -0
  79. data/vendor/local/include/unicode/localpointer.h +19 -28
  80. data/vendor/local/include/unicode/locdspnm.h +2 -0
  81. data/vendor/local/include/unicode/locid.h +2 -0
  82. data/vendor/local/include/unicode/measfmt.h +21 -2
  83. data/vendor/local/include/unicode/measunit.h +50 -24
  84. data/vendor/local/include/unicode/measure.h +2 -0
  85. data/vendor/local/include/unicode/messagepattern.h +2 -0
  86. data/vendor/local/include/unicode/msgfmt.h +2 -0
  87. data/vendor/local/include/unicode/normalizer2.h +2 -0
  88. data/vendor/local/include/unicode/normlzr.h +4 -4
  89. data/vendor/local/include/unicode/numfmt.h +8 -6
  90. data/vendor/local/include/unicode/numsys.h +2 -0
  91. data/vendor/local/include/unicode/parseerr.h +2 -0
  92. data/vendor/local/include/unicode/parsepos.h +2 -0
  93. data/vendor/local/include/unicode/platform.h +8 -0
  94. data/vendor/local/include/unicode/plurfmt.h +2 -0
  95. data/vendor/local/include/unicode/plurrule.h +2 -0
  96. data/vendor/local/include/unicode/ptypes.h +2 -0
  97. data/vendor/local/include/unicode/putil.h +2 -0
  98. data/vendor/local/include/unicode/rbbi.h +18 -66
  99. data/vendor/local/include/unicode/rbnf.h +8 -0
  100. data/vendor/local/include/unicode/rbtz.h +2 -0
  101. data/vendor/local/include/unicode/regex.h +2 -0
  102. data/vendor/local/include/unicode/region.h +3 -1
  103. data/vendor/local/include/unicode/reldatefmt.h +19 -9
  104. data/vendor/local/include/unicode/rep.h +2 -0
  105. data/vendor/local/include/unicode/resbund.h +2 -0
  106. data/vendor/local/include/unicode/schriter.h +2 -0
  107. data/vendor/local/include/unicode/scientificnumberformatter.h +2 -0
  108. data/vendor/local/include/unicode/search.h +2 -0
  109. data/vendor/local/include/unicode/selfmt.h +2 -0
  110. data/vendor/local/include/unicode/simpleformatter.h +2 -0
  111. data/vendor/local/include/unicode/simpletz.h +2 -0
  112. data/vendor/local/include/unicode/smpdtfmt.h +9 -1
  113. data/vendor/local/include/unicode/sortkey.h +2 -0
  114. data/vendor/local/include/unicode/std_string.h +2 -0
  115. data/vendor/local/include/unicode/strenum.h +2 -0
  116. data/vendor/local/include/unicode/stringpiece.h +5 -3
  117. data/vendor/local/include/unicode/stringtriebuilder.h +13 -1
  118. data/vendor/local/include/unicode/stsearch.h +2 -0
  119. data/vendor/local/include/unicode/symtable.h +2 -0
  120. data/vendor/local/include/unicode/tblcoll.h +3 -1
  121. data/vendor/local/include/unicode/timezone.h +2 -0
  122. data/vendor/local/include/unicode/tmunit.h +8 -0
  123. data/vendor/local/include/unicode/tmutamt.h +2 -0
  124. data/vendor/local/include/unicode/tmutfmt.h +5 -0
  125. data/vendor/local/include/unicode/translit.h +2 -0
  126. data/vendor/local/include/unicode/tzfmt.h +2 -0
  127. data/vendor/local/include/unicode/tznames.h +16 -2
  128. data/vendor/local/include/unicode/tzrule.h +2 -0
  129. data/vendor/local/include/unicode/tztrans.h +2 -0
  130. data/vendor/local/include/unicode/ubidi.h +20 -8
  131. data/vendor/local/include/unicode/ubiditransform.h +321 -0
  132. data/vendor/local/include/unicode/ubrk.h +26 -7
  133. data/vendor/local/include/unicode/ucal.h +8 -4
  134. data/vendor/local/include/unicode/ucasemap.h +2 -0
  135. data/vendor/local/include/unicode/ucat.h +2 -0
  136. data/vendor/local/include/unicode/uchar.h +244 -17
  137. data/vendor/local/include/unicode/ucharstrie.h +2 -0
  138. data/vendor/local/include/unicode/ucharstriebuilder.h +2 -0
  139. data/vendor/local/include/unicode/uchriter.h +2 -0
  140. data/vendor/local/include/unicode/uclean.h +2 -0
  141. data/vendor/local/include/unicode/ucnv.h +8 -1
  142. data/vendor/local/include/unicode/ucnv_cb.h +2 -0
  143. data/vendor/local/include/unicode/ucnv_err.h +2 -0
  144. data/vendor/local/include/unicode/ucnvsel.h +2 -0
  145. data/vendor/local/include/unicode/ucol.h +28 -11
  146. data/vendor/local/include/unicode/ucoleitr.h +2 -0
  147. data/vendor/local/include/unicode/uconfig.h +2 -0
  148. data/vendor/local/include/unicode/ucsdet.h +2 -0
  149. data/vendor/local/include/unicode/ucurr.h +5 -1
  150. data/vendor/local/include/unicode/udat.h +13 -11
  151. data/vendor/local/include/unicode/udata.h +8 -1
  152. data/vendor/local/include/unicode/udateintervalformat.h +2 -0
  153. data/vendor/local/include/unicode/udatpg.h +15 -2
  154. data/vendor/local/include/unicode/udisplaycontext.h +34 -2
  155. data/vendor/local/include/unicode/uenum.h +2 -0
  156. data/vendor/local/include/unicode/ufieldpositer.h +4 -2
  157. data/vendor/local/include/unicode/uformattable.h +9 -1
  158. data/vendor/local/include/unicode/ugender.h +2 -0
  159. data/vendor/local/include/unicode/uidna.h +2 -0
  160. data/vendor/local/include/unicode/uiter.h +2 -0
  161. data/vendor/local/include/unicode/uldnames.h +2 -0
  162. data/vendor/local/include/unicode/ulistformatter.h +2 -0
  163. data/vendor/local/include/unicode/uloc.h +9 -3
  164. data/vendor/local/include/unicode/ulocdata.h +20 -2
  165. data/vendor/local/include/unicode/umachine.h +25 -0
  166. data/vendor/local/include/unicode/umisc.h +2 -0
  167. data/vendor/local/include/unicode/umsg.h +2 -0
  168. data/vendor/local/include/unicode/unifilt.h +2 -0
  169. data/vendor/local/include/unicode/unifunct.h +2 -0
  170. data/vendor/local/include/unicode/unimatch.h +2 -0
  171. data/vendor/local/include/unicode/unirepl.h +2 -0
  172. data/vendor/local/include/unicode/uniset.h +3 -1
  173. data/vendor/local/include/unicode/unistr.h +12 -14
  174. data/vendor/local/include/unicode/unorm.h +6 -2
  175. data/vendor/local/include/unicode/unorm2.h +2 -0
  176. data/vendor/local/include/unicode/unum.h +28 -10
  177. data/vendor/local/include/unicode/unumsys.h +2 -0
  178. data/vendor/local/include/unicode/uobject.h +2 -0
  179. data/vendor/local/include/unicode/upluralrules.h +6 -2
  180. data/vendor/local/include/unicode/uregex.h +2 -0
  181. data/vendor/local/include/unicode/uregion.h +6 -2
  182. data/vendor/local/include/unicode/ureldatefmt.h +13 -7
  183. data/vendor/local/include/unicode/urename.h +16 -4
  184. data/vendor/local/include/unicode/urep.h +2 -0
  185. data/vendor/local/include/unicode/ures.h +7 -1
  186. data/vendor/local/include/unicode/uscript.h +41 -29
  187. data/vendor/local/include/unicode/usearch.h +10 -4
  188. data/vendor/local/include/unicode/uset.h +5 -1
  189. data/vendor/local/include/unicode/usetiter.h +2 -0
  190. data/vendor/local/include/unicode/ushape.h +2 -0
  191. data/vendor/local/include/unicode/uspoof.h +876 -363
  192. data/vendor/local/include/unicode/usprep.h +2 -0
  193. data/vendor/local/include/unicode/ustdio.h +2 -0
  194. data/vendor/local/include/unicode/ustream.h +2 -0
  195. data/vendor/local/include/unicode/ustring.h +2 -0
  196. data/vendor/local/include/unicode/ustringtrie.h +2 -0
  197. data/vendor/local/include/unicode/utext.h +2 -0
  198. data/vendor/local/include/unicode/utf.h +2 -0
  199. data/vendor/local/include/unicode/utf16.h +2 -0
  200. data/vendor/local/include/unicode/utf32.h +2 -0
  201. data/vendor/local/include/unicode/utf8.h +2 -0
  202. data/vendor/local/include/unicode/utf_old.h +2 -0
  203. data/vendor/local/include/unicode/utmscale.h +2 -0
  204. data/vendor/local/include/unicode/utrace.h +20 -0
  205. data/vendor/local/include/unicode/utrans.h +2 -0
  206. data/vendor/local/include/unicode/utypes.h +71 -97
  207. data/vendor/local/include/unicode/uvernum.h +13 -12
  208. data/vendor/local/include/unicode/uversion.h +2 -0
  209. data/vendor/local/include/unicode/vtzone.h +2 -0
  210. data/vendor/local/lib/icu/{57.1 → 58.2}/Makefile.inc +8 -9
  211. data/vendor/local/lib/icu/{57.1 → 58.2}/pkgdata.inc +3 -3
  212. data/vendor/local/lib/icu/Makefile.inc +8 -9
  213. data/vendor/local/lib/icu/pkgdata.inc +3 -3
  214. data/vendor/local/lib/icudt.dll +0 -0
  215. data/vendor/local/lib/icudt58.dll +0 -0
  216. data/vendor/local/lib/icuin.dll +0 -0
  217. data/vendor/local/lib/icuin58.dll +0 -0
  218. data/vendor/local/lib/icuio.dll +0 -0
  219. data/vendor/local/lib/icuio58.dll +0 -0
  220. data/vendor/local/lib/icutest.dll +0 -0
  221. data/vendor/local/lib/{icutest57.dll → icutest58.dll} +0 -0
  222. data/vendor/local/lib/icutu.dll +0 -0
  223. data/vendor/local/lib/icutu58.dll +0 -0
  224. data/vendor/local/lib/icuuc.dll +0 -0
  225. data/vendor/local/lib/icuuc58.dll +0 -0
  226. data/vendor/local/lib/libharfbuzz-icu.a +0 -0
  227. data/vendor/local/lib/libharfbuzz-icu.la +4 -4
  228. data/vendor/local/lib/libharfbuzz.dll.a +0 -0
  229. data/vendor/local/lib/libharfbuzz.la +3 -3
  230. data/vendor/local/lib/libicudt.dll.a +0 -0
  231. data/vendor/local/lib/{icudt57.dll → libicudt58.dll} +0 -0
  232. data/vendor/local/lib/libicuin.dll.a +0 -0
  233. data/vendor/local/lib/libicuio.dll.a +0 -0
  234. data/vendor/local/lib/libicutest.dll.a +0 -0
  235. data/vendor/local/lib/libicutu.dll.a +0 -0
  236. data/vendor/local/lib/libicuuc.dll.a +0 -0
  237. data/vendor/local/lib/libpango-1.0.dll.a +0 -0
  238. data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
  239. data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
  240. data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
  241. data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +1 -1
  242. data/vendor/local/lib/pkgconfig/harfbuzz.pc +2 -2
  243. data/vendor/local/lib/pkgconfig/icu-i18n.pc +8 -6
  244. data/vendor/local/lib/pkgconfig/icu-io.pc +8 -6
  245. data/vendor/local/lib/pkgconfig/icu-uc.pc +8 -6
  246. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +3 -3
  247. data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +1 -1
  248. data/vendor/local/share/icu/{57.1 → 58.2}/LICENSE +52 -60
  249. data/vendor/local/share/icu/{57.1 → 58.2}/config/mh-mingw +4 -2
  250. data/vendor/local/share/icu/{57.1 → 58.2}/install-sh +0 -0
  251. data/vendor/local/share/icu/{57.1 → 58.2}/mkinstalldirs +2 -0
  252. data/vendor/local/share/man/man1/derb.1 +4 -2
  253. data/vendor/local/share/man/man1/genbrk.1 +4 -2
  254. data/vendor/local/share/man/man1/gencfu.1 +3 -1
  255. data/vendor/local/share/man/man1/gencnval.1 +5 -3
  256. data/vendor/local/share/man/man1/gendict.1 +4 -2
  257. data/vendor/local/share/man/man1/genrb.1 +5 -3
  258. data/vendor/local/share/man/man1/icu-config.1 +4 -5
  259. data/vendor/local/share/man/man1/makeconv.1 +5 -3
  260. data/vendor/local/share/man/man1/pkgdata.1 +4 -2
  261. data/vendor/local/share/man/man1/uconv.1 +4 -2
  262. data/vendor/local/share/man/man8/genccode.8 +4 -2
  263. data/vendor/local/share/man/man8/gencmn.8 +5 -3
  264. data/vendor/local/share/man/man8/gensprep.8 +5 -3
  265. data/vendor/local/share/man/man8/icupkg.8 +3 -1
  266. metadata +23 -40
  267. data/vendor/local/include/layout/LEFontInstance.h +0 -524
  268. data/vendor/local/include/layout/LEGlyphFilter.h +0 -45
  269. data/vendor/local/include/layout/LEGlyphStorage.h +0 -546
  270. data/vendor/local/include/layout/LEInsertionList.h +0 -177
  271. data/vendor/local/include/layout/LELanguages.h +0 -109
  272. data/vendor/local/include/layout/LEScripts.h +0 -204
  273. data/vendor/local/include/layout/LESwaps.h +0 -100
  274. data/vendor/local/include/layout/LETableReference.h +0 -435
  275. data/vendor/local/include/layout/LETypes.h +0 -728
  276. data/vendor/local/include/layout/LayoutEngine.h +0 -518
  277. data/vendor/local/include/layout/ParagraphLayout.h +0 -747
  278. data/vendor/local/include/layout/RunArrays.h +0 -676
  279. data/vendor/local/include/layout/loengine.h +0 -225
  280. data/vendor/local/include/layout/playout.h +0 -466
  281. data/vendor/local/include/layout/plruns.h +0 -441
  282. data/vendor/local/lib/icuin57.dll +0 -0
  283. data/vendor/local/lib/icuio57.dll +0 -0
  284. data/vendor/local/lib/icule.dll +0 -0
  285. data/vendor/local/lib/icule57.dll +0 -0
  286. data/vendor/local/lib/iculx.dll +0 -0
  287. data/vendor/local/lib/iculx57.dll +0 -0
  288. data/vendor/local/lib/icutu57.dll +0 -0
  289. data/vendor/local/lib/icuuc57.dll +0 -0
  290. data/vendor/local/lib/libicule.dll.a +0 -0
  291. data/vendor/local/lib/libiculx.dll.a +0 -0
  292. data/vendor/local/lib/pkgconfig/icu-le.pc +0 -38
  293. data/vendor/local/lib/pkgconfig/icu-lx.pc +0 -38
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  ********************************************************************************
3
5
  * Copyright (C) 1997-2014, International Business Machines
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  *******************************************************************************
3
5
  * Copyright (C) 1996-2014, International Business Machines Corporation and
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  ********************************************************************
3
5
  *
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  ********************************************************************************
3
5
  * Copyright (C) 1997-2013, International Business Machines
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  ******************************************************************************
3
5
  * Copyright (C) 1997-2014, International Business Machines
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  ******************************************************************************
3
5
  * Copyright (C) 1996-2016, International Business Machines
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  ********************************************************************************
3
5
  * Copyright (C) 2012-2016, International Business Machines
@@ -157,7 +159,6 @@ public:
157
159
  FieldPositionIterator* posIter,
158
160
  UErrorCode& status) const;
159
161
 
160
- /* Cannot use #ifndef U_HIDE_DRAFT_API for the following draft method since it is virtual. */
161
162
  /**
162
163
  * Format a long number using base-10 representation.
163
164
  *
@@ -167,7 +168,7 @@ public:
167
168
  * @param pos On input: an alignment field, if desired.
168
169
  * On output: the offsets of the alignment field.
169
170
  * @return Reference to 'appendTo' parameter.
170
- * @draft ICU 56
171
+ * @stable ICU 56
171
172
  */
172
173
  virtual UnicodeString& format(int32_t number,
173
174
  UnicodeString& appendTo,
@@ -274,7 +275,7 @@ public:
274
275
  * @return Reference to 'appendTo' parameter.
275
276
  * @internal
276
277
  */
277
- virtual UnicodeString& format(const StringPiece &number,
278
+ virtual UnicodeString& format(StringPiece number,
278
279
  UnicodeString& appendTo,
279
280
  FieldPositionIterator* posIter,
280
281
  UErrorCode& status) const;
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  **********************************************************************
3
5
  * Copyright (c) 2004-2006, International Business Machines
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  *******************************************************************************
3
5
  * Copyright (C) 2009-2015, International Business Machines Corporation and *
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  **********************************************************************
3
5
  * Copyright (c) 2004-2014, International Business Machines
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  ********************************************************************************
3
5
  * Copyright (C) 1997-2016, International Business Machines
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  **********************************************************************
3
5
  * Copyright (C) 1999-2006,2013 IBM Corp. All rights reserved.
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  ********************************************************************************
3
5
  * Copyright (C) 1997-2016, International Business Machines
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  ********************************************************************************
3
5
  * Copyright (C) 1997-2016, International Business Machines
@@ -968,7 +970,7 @@ public:
968
970
  * Can be NULL.
969
971
  * @param status Output param filled with success/failure status.
970
972
  * @return Reference to 'appendTo' parameter.
971
- * @stable 4.4
973
+ * @stable ICU 4.4
972
974
  */
973
975
  virtual UnicodeString& format(double number,
974
976
  UnicodeString& appendTo,
@@ -1017,7 +1019,7 @@ public:
1017
1019
  * Can be NULL.
1018
1020
  * @param status Output param filled with success/failure status.
1019
1021
  * @return Reference to 'appendTo' parameter.
1020
- * @stable 4.4
1022
+ * @stable ICU 4.4
1021
1023
  */
1022
1024
  virtual UnicodeString& format(int32_t number,
1023
1025
  UnicodeString& appendTo,
@@ -1066,7 +1068,7 @@ public:
1066
1068
  * Can be NULL.
1067
1069
  * @param status Output param filled with success/failure status.
1068
1070
  * @return Reference to 'appendTo' parameter.
1069
- * @stable 4.4
1071
+ * @stable ICU 4.4
1070
1072
  */
1071
1073
  virtual UnicodeString& format(int64_t number,
1072
1074
  UnicodeString& appendTo,
@@ -1087,9 +1089,9 @@ public:
1087
1089
  * Can be NULL.
1088
1090
  * @param status Output param filled with success/failure status.
1089
1091
  * @return Reference to 'appendTo' parameter.
1090
- * @stable 4.4
1092
+ * @stable ICU 4.4
1091
1093
  */
1092
- virtual UnicodeString& format(const StringPiece &number,
1094
+ virtual UnicodeString& format(StringPiece number,
1093
1095
  UnicodeString& appendTo,
1094
1096
  FieldPositionIterator* posIter,
1095
1097
  UErrorCode& status) const;
@@ -2101,6 +2103,8 @@ private:
2101
2103
  DecimalFormatSymbols* symbolsToAdopt = 0
2102
2104
  );
2103
2105
 
2106
+ void handleCurrencySignInPattern(UErrorCode& status);
2107
+
2104
2108
  void parse(const UnicodeString& text,
2105
2109
  Formattable& result,
2106
2110
  ParsePosition& pos,
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /********************************************************************
2
4
  * COPYRIGHT:
3
5
  * Copyright (c) 1997-2012, International Business Machines Corporation and
@@ -147,7 +149,7 @@
147
149
  * </tr>
148
150
  * <tr>
149
151
  * <td>Bidirectional Algorithm</td>
150
- * <td>ubidi.h</td>
152
+ * <td>ubidi.h, ubiditransform.h</td>
151
153
  * <td>C API</td>
152
154
  * </tr>
153
155
  * <tr>
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  ********************************************************************************
3
5
  * Copyright (C) 1997-2016, International Business Machines
@@ -270,9 +272,15 @@ public:
270
272
  * @stable ICU 3.6
271
273
  */
272
274
  enum DtContextType {
273
- FORMAT,
274
- STANDALONE,
275
- DT_CONTEXT_COUNT
275
+ FORMAT,
276
+ STANDALONE,
277
+ #ifndef U_HIDE_DEPRECATED_API
278
+ /**
279
+ * One more than the highest normal DtContextType value.
280
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
281
+ */
282
+ DT_CONTEXT_COUNT
283
+ #endif // U_HIDE_DEPRECATED_API
276
284
  };
277
285
 
278
286
  /**
@@ -280,17 +288,21 @@ public:
280
288
  * @stable ICU 3.6
281
289
  */
282
290
  enum DtWidthType {
283
- ABBREVIATED,
284
- WIDE,
285
- NARROW,
286
- /**
287
- * Short width is currently only supported for weekday names.
288
- * @stable ICU 51
289
- */
290
- SHORT,
291
- /**
292
- */
293
- DT_WIDTH_COUNT = 4
291
+ ABBREVIATED,
292
+ WIDE,
293
+ NARROW,
294
+ /**
295
+ * Short width is currently only supported for weekday names.
296
+ * @stable ICU 51
297
+ */
298
+ SHORT,
299
+ #ifndef U_HIDE_DEPRECATED_API
300
+ /**
301
+ * One more than the highest normal DtWidthType value.
302
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
303
+ */
304
+ DT_WIDTH_COUNT = 4
305
+ #endif // U_HIDE_DEPRECATED_API
294
306
  };
295
307
 
296
308
  /**
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  *******************************************************************************
3
5
  * Copyright (C) 2008-2009, International Business Machines Corporation and
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /********************************************************************************
2
4
  * Copyright (C) 2008-2016, International Business Machines Corporation and
3
5
  * others. All Rights Reserved.
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  *******************************************************************************
3
5
  * Copyright (C) 2008-2016, International Business Machines Corporation and
@@ -150,7 +152,8 @@ U_NAMESPACE_BEGIN
150
152
 
151
153
  class U_I18N_API DateIntervalInfo U_FINAL : public UObject {
152
154
  public:
153
- #ifndef U_HIDE_INTERNAL_API
155
+ // Do not enclose the protected default constructor with #ifndef U_HIDE_INTERNAL_API
156
+ // or else the compiler will create a public default constructor.
154
157
  /**
155
158
  * Default constructor.
156
159
  * It does not initialize any interval patterns except
@@ -165,7 +168,6 @@ public:
165
168
  * @internal ICU 4.0
166
169
  */
167
170
  DateIntervalInfo(UErrorCode& status);
168
- #endif /* U_HIDE_INTERNAL_API */
169
171
 
170
172
 
171
173
  /**
@@ -339,7 +341,10 @@ private:
339
341
  */
340
342
  friend class DateIntervalFormat;
341
343
 
342
- friend struct DateIntervalSink;
344
+ /**
345
+ * Internal struct used to load resource bundle data.
346
+ */
347
+ struct DateIntervalSink;
343
348
 
344
349
  /**
345
350
  * Following is for saving the interval patterns.
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  *******************************************************************************
3
5
  * Copyright (C) 2007-2016, International Business Machines Corporation and
@@ -116,7 +118,6 @@ public:
116
118
  */
117
119
  UBool operator!=(const DateTimePatternGenerator& other) const;
118
120
 
119
- #ifndef U_HIDE_DRAFT_API
120
121
  /**
121
122
  * Utility to return a unique skeleton from a given pattern. For example,
122
123
  * both "MMM-dd" and "dd/MMM" produce the skeleton "MMMdd".
@@ -125,10 +126,9 @@ public:
125
126
  * @param status Output param set to success/failure code on exit,
126
127
  * which must not indicate a failure before the function call.
127
128
  * @return skeleton such as "MMMdd"
128
- * @draft ICU 56
129
+ * @stable ICU 56
129
130
  */
130
131
  static UnicodeString staticGetSkeleton(const UnicodeString& pattern, UErrorCode& status);
131
- #endif /* U_HIDE_DRAFT_API */
132
132
 
133
133
  /**
134
134
  * Utility to return a unique skeleton from a given pattern. For example,
@@ -149,7 +149,6 @@ public:
149
149
  return staticGetSkeleton(pattern, status);
150
150
  }*/
151
151
 
152
- #ifndef U_HIDE_DRAFT_API
153
152
  /**
154
153
  * Utility to return a unique base skeleton from a given pattern. This is
155
154
  * the same as the skeleton, except that differences in length are minimized
@@ -161,10 +160,9 @@ public:
161
160
  * @param status Output param set to success/failure code on exit,
162
161
  * which must not indicate a failure before the function call.
163
162
  * @return base skeleton, such as "MMMd"
164
- * @draft ICU 56
163
+ * @stable ICU 56
165
164
  */
166
165
  static UnicodeString staticGetBaseSkeleton(const UnicodeString& pattern, UErrorCode& status);
167
- #endif /* U_HIDE_DRAFT_API */
168
166
 
169
167
  /**
170
168
  * Utility to return a unique base skeleton from a given pattern. This is
@@ -518,7 +516,6 @@ private:
518
516
  UnicodeString decimal;
519
517
  DateTimeMatcher *skipMatcher;
520
518
  Hashtable *fAvailableFormatKeyHash;
521
- UnicodeString hackPattern;
522
519
  UnicodeString emptyString;
523
520
  UChar fDefaultHourFormatChar;
524
521
 
@@ -534,9 +531,11 @@ private:
534
531
  };
535
532
 
536
533
  void initData(const Locale &locale, UErrorCode &status);
537
- void addCanonicalItems();
534
+ void addCanonicalItems(UErrorCode &status);
538
535
  void addICUPatterns(const Locale& locale, UErrorCode& status);
539
536
  void hackTimes(const UnicodeString& hackPattern, UErrorCode& status);
537
+ void getCalendarTypeToUse(const Locale& locale, CharString& destination, UErrorCode& err);
538
+ void consumeShortTimePattern(const UnicodeString& shortTimePattern, UErrorCode& status);
540
539
  void addCLDRData(const Locale& locale, UErrorCode& status);
541
540
  UDateTimePatternConflict addPatternWithSkeleton(const UnicodeString& pattern, const UnicodeString * skeletonToUse, UBool override, UnicodeString& conflictingPattern, UErrorCode& status);
542
541
  void initHashtable(UErrorCode& status);
@@ -544,6 +543,7 @@ private:
544
543
  void setDecimalSymbols(const Locale& locale, UErrorCode& status);
545
544
  UDateTimePatternField getAppendFormatNumber(const char* field) const;
546
545
  UDateTimePatternField getAppendNameNumber(const char* field) const;
546
+ UnicodeString& getMutableAppendItemName(UDateTimePatternField field);
547
547
  void getAppendName(UDateTimePatternField field, UnicodeString& value);
548
548
  int32_t getCanonicalIndex(const UnicodeString& field);
549
549
  const UnicodeString* getBestRaw(DateTimeMatcher& source, int32_t includeMask, DistanceInfo* missingFields, const PtnSkeleton** specifiedSkeletonPtr = 0);
@@ -554,8 +554,12 @@ private:
554
554
  UBool isAvailableFormatSet(const UnicodeString &key) const;
555
555
  void copyHashtable(Hashtable *other, UErrorCode &status);
556
556
  UBool isCanonicalItem(const UnicodeString& item) const;
557
- static void loadAllowedHourFormatsData(UErrorCode &status);
557
+ static void U_CALLCONV loadAllowedHourFormatsData(UErrorCode &status);
558
558
  void getAllowedHourFormats(const Locale &locale, UErrorCode &status);
559
+
560
+ struct AppendItemFormatsSink;
561
+ struct AppendItemNamesSink;
562
+ struct AvailableFormatsSink;
559
563
  } ;// end class DateTimePatternGenerator
560
564
 
561
565
  U_NAMESPACE_END
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  *******************************************************************************
3
5
  * Copyright (C) 2007-2008, International Business Machines Corporation and *
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  ******************************************************************************
3
5
  *
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  *******************************************************************************
3
5
  *
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  ********************************************************************************
3
5
  * Copyright (C) 1997-2006, International Business Machines
@@ -56,7 +58,7 @@ U_NAMESPACE_BEGIN
56
58
  * to perform partial formatting or to get information about the
57
59
  * formatted output (such as the position of a field).
58
60
  *
59
- * The FieldPosition class is not suitable for subclassing.
61
+ * The FieldPosition class is not intended for public subclassing.
60
62
  *
61
63
  * <p>
62
64
  * Below is an example of using <code>FieldPosition</code> to aid
@@ -107,7 +109,8 @@ class U_I18N_API FieldPosition : public UObject {
107
109
  public:
108
110
  /**
109
111
  * DONT_CARE may be specified as the field to indicate that the
110
- * caller doesn't need to specify a field. Do not subclass.
112
+ * caller doesn't need to specify a field.
113
+ * @stable ICU 2.0
111
114
  */
112
115
  enum { DONT_CARE = -1 };
113
116
 
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  ********************************************************************************
3
5
  * Copyright (C) 1997-2015, International Business Machines
@@ -13,8 +15,6 @@
13
15
 
14
16
  #if !UCONFIG_NO_BREAK_ITERATION && !UCONFIG_NO_FILTERED_BREAK_ITERATION
15
17
 
16
- #ifndef U_HIDE_DRAFT_API
17
-
18
18
  U_NAMESPACE_BEGIN
19
19
 
20
20
  /**
@@ -31,13 +31,13 @@ U_NAMESPACE_BEGIN
31
31
  * but with "Mr." as an exception, a filtered break iterator
32
32
  * would consider the string "Mr. Smith" to be a single segment.
33
33
  *
34
- * @draft ICU 56
34
+ * @stable ICU 56
35
35
  */
36
36
  class U_COMMON_API FilteredBreakIteratorBuilder : public UObject {
37
37
  public:
38
38
  /**
39
39
  * destructor.
40
- * @draft ICU 56
40
+ * @stable ICU 56
41
41
  */
42
42
  virtual ~FilteredBreakIteratorBuilder();
43
43
 
@@ -51,7 +51,7 @@ class U_COMMON_API FilteredBreakIteratorBuilder : public UObject {
51
51
  * @param where the locale.
52
52
  * @param status The error code.
53
53
  * @return the new builder
54
- * @draft ICU 56
54
+ * @stable ICU 56
55
55
  */
56
56
  static FilteredBreakIteratorBuilder *createInstance(const Locale& where, UErrorCode& status);
57
57
 
@@ -60,7 +60,7 @@ class U_COMMON_API FilteredBreakIteratorBuilder : public UObject {
60
60
  * In this state, it will not suppress any segment boundaries.
61
61
  * @param status The error code.
62
62
  * @return the new builder
63
- * @draft ICU 56
63
+ * @stable ICU 56
64
64
  */
65
65
  static FilteredBreakIteratorBuilder *createInstance(UErrorCode &status);
66
66
 
@@ -72,7 +72,7 @@ class U_COMMON_API FilteredBreakIteratorBuilder : public UObject {
72
72
  * @param status error code
73
73
  * @return returns TRUE if the string was not present and now added,
74
74
  * FALSE if the call was a no-op because the string was already being suppressed.
75
- * @draft ICU 56
75
+ * @stable ICU 56
76
76
  */
77
77
  virtual UBool suppressBreakAfter(const UnicodeString& string, UErrorCode& status) = 0;
78
78
 
@@ -85,7 +85,7 @@ class U_COMMON_API FilteredBreakIteratorBuilder : public UObject {
85
85
  * @param status error code
86
86
  * @return returns TRUE if the string was present and now removed,
87
87
  * FALSE if the call was a no-op because the string was not being suppressed.
88
- * @draft ICU 56
88
+ * @stable ICU 56
89
89
  */
90
90
  virtual UBool unsuppressBreakAfter(const UnicodeString& string, UErrorCode& status) = 0;
91
91
 
@@ -99,14 +99,14 @@ class U_COMMON_API FilteredBreakIteratorBuilder : public UObject {
99
99
  * @param adoptBreakIterator the break iterator to adopt
100
100
  * @param status error code
101
101
  * @return the new BreakIterator, owned by the caller.
102
- * @draft ICU 56
102
+ * @stable ICU 56
103
103
  */
104
104
  virtual BreakIterator *build(BreakIterator* adoptBreakIterator, UErrorCode& status) = 0;
105
105
 
106
106
  protected:
107
107
  /**
108
108
  * For subclass use
109
- * @draft ICU 56
109
+ * @stable ICU 56
110
110
  */
111
111
  FilteredBreakIteratorBuilder();
112
112
  };
@@ -114,8 +114,6 @@ class U_COMMON_API FilteredBreakIteratorBuilder : public UObject {
114
114
 
115
115
  U_NAMESPACE_END
116
116
 
117
- #endif /* U_HIDE_DRAFT_API */
118
-
119
117
  #endif // #if !UCONFIG_NO_BREAK_ITERATION && !UCONFIG_NO_FILTERED_BREAK_ITERATION
120
118
 
121
119
  #endif // #ifndef FILTEREDBRK_H