pango 2.2.5-x64-mingw32 → 3.0.0-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (232) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +19 -3
  3. data/ext/pango/depend +0 -1
  4. data/ext/pango/extconf.rb +0 -2
  5. data/ext/pango/rbpango.c +44 -6
  6. data/ext/pango/rbpango.h +0 -1
  7. data/ext/pango/rbpangoattribute.c +2 -2
  8. data/ext/pango/rbpangocairo.c +4 -4
  9. data/ext/pango/rbpangocontext.c +2 -2
  10. data/ext/pango/rbpangofontdescription.c +2 -2
  11. data/ext/pango/rbpangogravity.c +2 -2
  12. data/ext/pango/rbpangolanguage.c +8 -0
  13. data/ext/pango/rbpangolayout.c +15 -4
  14. data/ext/pango/rbpangomatrix.c +2 -2
  15. data/ext/pango/rbpangoscript.c +3 -3
  16. data/lib/2.0/pango.so +0 -0
  17. data/lib/2.1/pango.so +0 -0
  18. data/lib/2.2/pango.so +0 -0
  19. data/test/test-language.rb +5 -0
  20. data/test/test-layout.rb +7 -1
  21. data/vendor/local/bin/derb.exe +0 -0
  22. data/vendor/local/bin/genbrk.exe +0 -0
  23. data/vendor/local/bin/genccode.exe +0 -0
  24. data/vendor/local/bin/gencfu.exe +0 -0
  25. data/vendor/local/bin/gencmn.exe +0 -0
  26. data/vendor/local/bin/gencnval.exe +0 -0
  27. data/vendor/local/bin/gendict.exe +0 -0
  28. data/vendor/local/bin/gennorm2.exe +0 -0
  29. data/vendor/local/bin/genrb.exe +0 -0
  30. data/vendor/local/bin/gensprep.exe +0 -0
  31. data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
  32. data/vendor/local/bin/hb-shape.exe +0 -0
  33. data/vendor/local/bin/hb-view.exe +0 -0
  34. data/vendor/local/bin/icu-config +6 -6
  35. data/vendor/local/bin/icuinfo.exe +0 -0
  36. data/vendor/local/bin/icupkg.exe +0 -0
  37. data/vendor/local/bin/libharfbuzz-0.dll +0 -0
  38. data/vendor/local/bin/libpango-1.0-0.dll +0 -0
  39. data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
  40. data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
  41. data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
  42. data/vendor/local/bin/makeconv.exe +0 -0
  43. data/vendor/local/bin/pango-querymodules.exe +0 -0
  44. data/vendor/local/bin/pango-view.exe +0 -0
  45. data/vendor/local/bin/pkgdata.exe +0 -0
  46. data/vendor/local/bin/uconv.exe +0 -0
  47. data/vendor/local/etc/pango/pango.modules +1 -1
  48. data/vendor/local/include/harfbuzz/hb-buffer.h +26 -1
  49. data/vendor/local/include/harfbuzz/hb-common.h +7 -0
  50. data/vendor/local/include/harfbuzz/hb-font.h +7 -6
  51. data/vendor/local/include/harfbuzz/hb-ft.h +58 -1
  52. data/vendor/local/include/harfbuzz/hb-glib.h +3 -0
  53. data/vendor/local/include/harfbuzz/hb-ot-font.h +4 -0
  54. data/vendor/local/include/harfbuzz/hb-shape.h +0 -3
  55. data/vendor/local/include/harfbuzz/hb-unicode.h +28 -3
  56. data/vendor/local/include/harfbuzz/hb-version.h +4 -4
  57. data/vendor/local/include/layout/LEFontInstance.h +2 -28
  58. data/vendor/local/include/layout/LETableReference.h +7 -2
  59. data/vendor/local/include/unicode/calendar.h +32 -2
  60. data/vendor/local/include/unicode/coll.h +9 -7
  61. data/vendor/local/include/unicode/datefmt.h +102 -13
  62. data/vendor/local/include/unicode/dcfmtsym.h +4 -2
  63. data/vendor/local/include/unicode/decimfmt.h +4 -5
  64. data/vendor/local/include/unicode/dtfmtsym.h +60 -1
  65. data/vendor/local/include/unicode/dtptngen.h +21 -7
  66. data/vendor/local/include/unicode/localpointer.h +49 -1
  67. data/vendor/local/include/unicode/locid.h +2 -3
  68. data/vendor/local/include/unicode/measfmt.h +30 -37
  69. data/vendor/local/include/unicode/measunit.h +65 -152
  70. data/vendor/local/include/unicode/measure.h +3 -3
  71. data/vendor/local/include/unicode/numfmt.h +3 -5
  72. data/vendor/local/include/unicode/platform.h +12 -2
  73. data/vendor/local/include/unicode/plurrule.h +18 -14
  74. data/vendor/local/include/unicode/rbnf.h +3 -4
  75. data/vendor/local/include/unicode/regex.h +42 -26
  76. data/vendor/local/include/unicode/region.h +9 -9
  77. data/vendor/local/include/unicode/reldatefmt.h +50 -45
  78. data/vendor/local/include/unicode/scientificnumberformatter.h +222 -0
  79. data/vendor/local/include/unicode/smpdtfmt.h +30 -24
  80. data/vendor/local/include/unicode/tblcoll.h +5 -4
  81. data/vendor/local/include/unicode/timezone.h +18 -1
  82. data/vendor/local/include/unicode/ucal.h +2 -2
  83. data/vendor/local/include/unicode/ucol.h +22 -18
  84. data/vendor/local/include/unicode/uconfig.h +17 -2
  85. data/vendor/local/include/unicode/udat.h +164 -56
  86. data/vendor/local/include/unicode/udatpg.h +9 -7
  87. data/vendor/local/include/unicode/ufieldpositer.h +121 -0
  88. data/vendor/local/include/unicode/uidna.h +21 -13
  89. data/vendor/local/include/unicode/ulistformatter.h +130 -0
  90. data/vendor/local/include/unicode/ulocdata.h +4 -3
  91. data/vendor/local/include/unicode/unistr.h +101 -53
  92. data/vendor/local/include/unicode/unum.h +7 -10
  93. data/vendor/local/include/unicode/uregex.h +52 -29
  94. data/vendor/local/include/unicode/urename.h +14 -3
  95. data/vendor/local/include/unicode/uscript.h +30 -16
  96. data/vendor/local/include/unicode/uspoof.h +13 -9
  97. data/vendor/local/include/unicode/utrans.h +5 -7
  98. data/vendor/local/include/unicode/utypes.h +9 -3
  99. data/vendor/local/include/unicode/uvernum.h +8 -8
  100. data/vendor/local/lib/icu/{54.1 → 55.1}/Makefile.inc +5 -5
  101. data/vendor/local/lib/icu/{54.1 → 55.1}/pkgdata.inc +1 -1
  102. data/vendor/local/lib/icu/Makefile.inc +5 -5
  103. data/vendor/local/lib/icu/pkgdata.inc +1 -1
  104. data/vendor/local/lib/icudt.dll +0 -0
  105. data/vendor/local/lib/{icudt54.dll → icudt55.dll} +0 -0
  106. data/vendor/local/lib/icuin.dll +0 -0
  107. data/vendor/local/lib/icuin55.dll +0 -0
  108. data/vendor/local/lib/icuio.dll +0 -0
  109. data/vendor/local/lib/icuio55.dll +0 -0
  110. data/vendor/local/lib/icule.dll +0 -0
  111. data/vendor/local/lib/icule55.dll +0 -0
  112. data/vendor/local/lib/iculx.dll +0 -0
  113. data/vendor/local/lib/iculx55.dll +0 -0
  114. data/vendor/local/lib/icutest.dll +0 -0
  115. data/vendor/local/lib/icutest55.dll +0 -0
  116. data/vendor/local/lib/icutu.dll +0 -0
  117. data/vendor/local/lib/icutu55.dll +0 -0
  118. data/vendor/local/lib/icuuc.dll +0 -0
  119. data/vendor/local/lib/icuuc55.dll +0 -0
  120. data/vendor/local/lib/libharfbuzz-icu.a +0 -0
  121. data/vendor/local/lib/libharfbuzz-icu.la +7 -7
  122. data/vendor/local/lib/libharfbuzz.dll.a +0 -0
  123. data/vendor/local/lib/libharfbuzz.la +7 -7
  124. data/vendor/local/lib/libicudt.dll.a +0 -0
  125. data/vendor/local/lib/libicuin.dll.a +0 -0
  126. data/vendor/local/lib/libicuio.dll.a +0 -0
  127. data/vendor/local/lib/libicule.dll.a +0 -0
  128. data/vendor/local/lib/libiculx.dll.a +0 -0
  129. data/vendor/local/lib/libicutest.dll.a +0 -0
  130. data/vendor/local/lib/libicutu.dll.a +0 -0
  131. data/vendor/local/lib/libicuuc.dll.a +0 -0
  132. data/vendor/local/lib/libpango-1.0.dll.a +0 -0
  133. data/vendor/local/lib/libpango-1.0.la +2 -2
  134. data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
  135. data/vendor/local/lib/libpangocairo-1.0.la +1 -1
  136. data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
  137. data/vendor/local/lib/libpangoft2-1.0.la +2 -2
  138. data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
  139. data/vendor/local/lib/libpangowin32-1.0.la +2 -2
  140. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
  141. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
  142. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.la +2 -2
  143. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll +0 -0
  144. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll.a +0 -0
  145. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.la +2 -2
  146. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
  147. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
  148. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.la +2 -2
  149. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
  150. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
  151. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.la +2 -2
  152. data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +1 -1
  153. data/vendor/local/lib/pkgconfig/harfbuzz.pc +3 -1
  154. data/vendor/local/lib/pkgconfig/icu-i18n.pc +5 -5
  155. data/vendor/local/lib/pkgconfig/icu-io.pc +5 -5
  156. data/vendor/local/lib/pkgconfig/icu-le.pc +5 -5
  157. data/vendor/local/lib/pkgconfig/icu-lx.pc +5 -5
  158. data/vendor/local/lib/pkgconfig/icu-uc.pc +5 -5
  159. data/vendor/local/share/gtk-doc/html/harfbuzz/adding-text-to-the-buffer.html +35 -0
  160. data/vendor/local/share/gtk-doc/html/harfbuzz/annotation-glossary.html +30 -35
  161. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +158 -27
  162. data/vendor/local/share/gtk-doc/html/harfbuzz/buffers-language-script-and-direction.html +87 -0
  163. data/vendor/local/share/gtk-doc/html/harfbuzz/{ch01.html → ch06.html} +12 -13
  164. data/vendor/local/share/gtk-doc/html/harfbuzz/customizing-unicode-functions.html +31 -0
  165. data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +7 -8
  166. data/vendor/local/share/gtk-doc/html/harfbuzz/fonts-and-faces.html +40 -0
  167. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Shaping.html +352 -0
  168. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +88 -47
  169. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-buffer.html +128 -204
  170. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +290 -304
  171. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +14 -23
  172. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +14 -17
  173. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +40 -51
  174. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +126 -190
  175. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +19 -24
  176. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +14 -29
  177. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +438 -11
  178. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +14 -25
  179. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +14 -29
  180. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +19 -160
  181. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +21 -36
  182. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +14 -11
  183. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +70 -81
  184. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +33 -44
  185. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +290 -323
  186. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +14 -23
  187. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +59 -27
  188. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +16 -13
  189. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +415 -104
  190. data/vendor/local/share/gtk-doc/html/harfbuzz/hello-harfbuzz.html +181 -0
  191. data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +43 -12
  192. data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +11 -13
  193. data/vendor/local/share/gtk-doc/html/harfbuzz/plans-and-caching.html +31 -0
  194. data/vendor/local/share/gtk-doc/html/harfbuzz/pt01.html +70 -0
  195. data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +107 -0
  196. data/vendor/local/share/gtk-doc/html/harfbuzz/setting-buffer-properties.html +31 -0
  197. data/vendor/local/share/gtk-doc/html/harfbuzz/shaping-and-shape-plans.html +39 -0
  198. data/vendor/local/share/gtk-doc/html/harfbuzz/style.css +9 -6
  199. data/vendor/local/share/gtk-doc/html/harfbuzz/using-harfbuzzs-native-opentype-implementation.html +31 -0
  200. data/vendor/local/share/gtk-doc/html/harfbuzz/using-your-own-font-functions.html +31 -0
  201. data/vendor/local/share/gtk-doc/html/harfbuzz/what-about-the-other-scripts.html +31 -0
  202. data/vendor/local/share/gtk-doc/html/harfbuzz/what-is-harfbuzz.html +124 -0
  203. data/vendor/local/share/gtk-doc/html/harfbuzz/why-is-it-called-harfbuzz.html +38 -0
  204. data/vendor/local/share/icu/{54.1 → 55.1}/config/mh-mingw64 +0 -0
  205. data/vendor/local/share/icu/{54.1 → 55.1}/install-sh +0 -0
  206. data/vendor/local/share/icu/{54.1 → 55.1}/license.html +3 -4
  207. data/vendor/local/share/icu/{54.1 → 55.1}/mkinstalldirs +0 -0
  208. data/vendor/local/share/man/man1/derb.1 +2 -2
  209. data/vendor/local/share/man/man1/genbrk.1 +2 -2
  210. data/vendor/local/share/man/man1/gencfu.1 +1 -1
  211. data/vendor/local/share/man/man1/gencnval.1 +3 -3
  212. data/vendor/local/share/man/man1/gendict.1 +2 -2
  213. data/vendor/local/share/man/man1/genrb.1 +3 -3
  214. data/vendor/local/share/man/man1/icu-config.1 +2 -2
  215. data/vendor/local/share/man/man1/makeconv.1 +3 -3
  216. data/vendor/local/share/man/man1/pkgdata.1 +2 -2
  217. data/vendor/local/share/man/man1/uconv.1 +2 -2
  218. data/vendor/local/share/man/man8/genccode.8 +2 -2
  219. data/vendor/local/share/man/man8/gencmn.8 +3 -3
  220. data/vendor/local/share/man/man8/gensprep.8 +3 -3
  221. data/vendor/local/share/man/man8/icupkg.8 +1 -1
  222. metadata +38 -22
  223. data/vendor/local/include/unicode/scientificformathelper.h +0 -139
  224. data/vendor/local/lib/icuin54.dll +0 -0
  225. data/vendor/local/lib/icuio54.dll +0 -0
  226. data/vendor/local/lib/icule54.dll +0 -0
  227. data/vendor/local/lib/iculx54.dll +0 -0
  228. data/vendor/local/lib/icutest54.dll +0 -0
  229. data/vendor/local/lib/icutu54.dll +0 -0
  230. data/vendor/local/lib/icuuc54.dll +0 -0
  231. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape.html +0 -286
  232. data/vendor/local/share/gtk-doc/html/harfbuzz/index.sgml +0 -496
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  *******************************************************************************
3
- * Copyright (C) 1997-2014, International Business Machines Corporation and others.
3
+ * Copyright (C) 1997-2015, International Business Machines Corporation and others.
4
4
  * All Rights Reserved.
5
5
  * Modification History:
6
6
  *
@@ -202,13 +202,13 @@ typedef enum UNumberFormatStyle {
202
202
  * @stable ICU 4.8
203
203
  */
204
204
  UNUM_CURRENCY_PLURAL=11,
205
- #ifndef U_HIDE_DRAFT_API
206
205
  /**
207
206
  * Currency format for accounting, e.g., "($3.00)" for
208
207
  * negative currency amount instead of "-$3.00" ({@link #UNUM_CURRENCY}).
209
- * @draft ICU 53
208
+ * @stable ICU 53
210
209
  */
211
210
  UNUM_CURRENCY_ACCOUNTING=12,
211
+ #ifndef U_HIDE_DRAFT_API
212
212
  /**
213
213
  * Currency format with a currency symbol given CASH usage, e.g.,
214
214
  * "NT$3" instead of "NT$3.23".
@@ -1297,16 +1297,15 @@ unum_getLocaleByType(const UNumberFormat *fmt,
1297
1297
  ULocDataLocaleType type,
1298
1298
  UErrorCode* status);
1299
1299
 
1300
- #ifndef U_HIDE_DRAFT_API
1301
1300
  /**
1302
1301
  * Set a particular UDisplayContext value in the formatter, such as
1303
1302
  * UDISPCTX_CAPITALIZATION_FOR_STANDALONE.
1304
1303
  * @param fmt The formatter for which to set a UDisplayContext value.
1305
1304
  * @param value The UDisplayContext value to set.
1306
1305
  * @param status A pointer to an UErrorCode to receive any errors
1307
- * @draft ICU 53
1306
+ * @stable ICU 53
1308
1307
  */
1309
- U_DRAFT void U_EXPORT2
1308
+ U_STABLE void U_EXPORT2
1310
1309
  unum_setContext(UNumberFormat* fmt, UDisplayContext value, UErrorCode* status);
1311
1310
 
1312
1311
  /**
@@ -1316,13 +1315,11 @@ unum_setContext(UNumberFormat* fmt, UDisplayContext value, UErrorCode* status);
1316
1315
  * @param type The UDisplayContextType whose value to return
1317
1316
  * @param status A pointer to an UErrorCode to receive any errors
1318
1317
  * @return The UDisplayContextValue for the specified type.
1319
- * @draft ICU 53
1318
+ * @stable ICU 53
1320
1319
  */
1321
- U_DRAFT UDisplayContext U_EXPORT2
1320
+ U_STABLE UDisplayContext U_EXPORT2
1322
1321
  unum_getContext(const UNumberFormat *fmt, UDisplayContextType type, UErrorCode* status);
1323
1322
 
1324
- #endif /* U_HIDE_DRAFT_API */
1325
-
1326
1323
  #endif /* #if !UCONFIG_NO_FORMATTING */
1327
1324
 
1328
1325
  #endif
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  **********************************************************************
3
- * Copyright (C) 2004-2013, International Business Machines
3
+ * Copyright (C) 2004-2015, International Business Machines
4
4
  * Corporation and others. All Rights Reserved.
5
5
  **********************************************************************
6
6
  * file name: uregex.h
@@ -607,6 +607,54 @@ U_STABLE int32_t U_EXPORT2
607
607
  uregex_groupCount(URegularExpression *regexp,
608
608
  UErrorCode *status);
609
609
 
610
+ #ifndef U_HIDE_DRAFT_API
611
+ /**
612
+ * Get the group number corresponding to a named capture group.
613
+ * The returned number can be used with any function that access
614
+ * capture groups by number.
615
+ *
616
+ * The function returns an error status if the specified name does not
617
+ * appear in the pattern.
618
+ *
619
+ * @param regexp The compiled regular expression.
620
+ * @param groupName The capture group name.
621
+ * @param nameLength The length of the name, or -1 if the name is a
622
+ * nul-terminated string.
623
+ * @param status A pointer to a UErrorCode to receive any errors.
624
+ *
625
+ * @draft ICU 55
626
+ */
627
+ U_DRAFT int32_t U_EXPORT2
628
+ uregex_groupNumberFromName(URegularExpression *regexp,
629
+ const UChar *groupName,
630
+ int32_t nameLength,
631
+ UErrorCode *status);
632
+
633
+
634
+ /**
635
+ * Get the group number corresponding to a named capture group.
636
+ * The returned number can be used with any function that access
637
+ * capture groups by number.
638
+ *
639
+ * The function returns an error status if the specified name does not
640
+ * appear in the pattern.
641
+ *
642
+ * @param regexp The compiled regular expression.
643
+ * @param groupName The capture group name,
644
+ * platform invariant characters only.
645
+ * @param nameLength The length of the name, or -1 if the name is
646
+ * nul-terminated.
647
+ * @param status A pointer to a UErrorCode to receive any errors.
648
+ *
649
+ * @draft ICU 55
650
+ */
651
+ U_DRAFT int32_t U_EXPORT2
652
+ uregex_groupNumberFromCName(URegularExpression *regexp,
653
+ const char *groupName,
654
+ int32_t nameLength,
655
+ UErrorCode *status);
656
+ #endif /* U_HIDE_DRAFT_API */
657
+
610
658
  /** Extract the string for the specified matching expression or subexpression.
611
659
  * Group #0 is the complete string of matched text.
612
660
  * Group #1 is the text matched by the first set of capturing parentheses.
@@ -630,8 +678,8 @@ uregex_group(URegularExpression *regexp,
630
678
  int32_t destCapacity,
631
679
  UErrorCode *status);
632
680
 
633
- /** Returns a shallow immutable clone of the entire input string. The returned UText current native index
634
- * is set to the beginning of the requested capture group. The capture group length is also
681
+ /** Returns a shallow immutable clone of the entire input string with the current index set
682
+ * to the beginning of the requested capture group. The capture group length is also
635
683
  * returned via groupLength.
636
684
  * Group #0 is the complete string of matched text.
637
685
  * Group #1 is the text matched by the first set of capturing parentheses.
@@ -644,7 +692,7 @@ uregex_group(URegularExpression *regexp,
644
692
  * @param dest A mutable UText in which to store the current input.
645
693
  * If NULL, a new UText will be created as an immutable shallow clone
646
694
  * of the entire input string.
647
- * @param groupLength The group length of the desired capture group.
695
+ * @param groupLength The group length of the desired capture group. Output parameter.
648
696
  * @param status A reference to a UErrorCode to receive any errors.
649
697
  * @return The subject text currently associated with this regular expression.
650
698
  * If a pre-allocated UText was provided, it will always be used and returned.
@@ -659,31 +707,6 @@ uregex_groupUText(URegularExpression *regexp,
659
707
  int64_t *groupLength,
660
708
  UErrorCode *status);
661
709
 
662
- #ifndef U_HIDE_INTERNAL_API
663
- /** Extract the string for the specified matching expression or subexpression.
664
- * Group #0 is the complete string of matched text.
665
- * Group #1 is the text matched by the first set of capturing parentheses.
666
- *
667
- * @param regexp The compiled regular expression.
668
- * @param groupNum The capture group to extract. Group 0 is the complete
669
- * match. The value of this parameter must be
670
- * less than or equal to the number of capture groups in
671
- * the pattern.
672
- * @param dest Mutable UText to receive the matching string data.
673
- * If NULL, a new UText will be created (which may not be mutable).
674
- * @param status A reference to a UErrorCode to receive any errors.
675
- * @return The matching string data. If a pre-allocated UText was provided,
676
- * it will always be used and returned.
677
- *
678
- * @internal ICU 4.4 technology preview
679
- */
680
- U_INTERNAL UText * U_EXPORT2
681
- uregex_groupUTextDeep(URegularExpression *regexp,
682
- int32_t groupNum,
683
- UText *dest,
684
- UErrorCode *status);
685
- #endif /* U_HIDE_INTERNAL_API */
686
-
687
710
  /**
688
711
  * Returns the index in the input string of the start of the text matched by the
689
712
  * specified capture group during the previous match operation. Return -1 if
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  *******************************************************************************
3
- * Copyright (C) 2002-2014, International Business Machines
3
+ * Copyright (C) 2002-2015, International Business Machines
4
4
  * Corporation and others. All Rights Reserved.
5
5
  *******************************************************************************
6
6
  *
@@ -104,7 +104,6 @@
104
104
  #define _UTF7Data U_ICU_ENTRY_POINT_RENAME(_UTF7Data)
105
105
  #define _UTF8Data U_ICU_ENTRY_POINT_RENAME(_UTF8Data)
106
106
  #define cmemory_cleanup U_ICU_ENTRY_POINT_RENAME(cmemory_cleanup)
107
- #define cmemory_inUse U_ICU_ENTRY_POINT_RENAME(cmemory_inUse)
108
107
  #define gTimeZoneFilesInitOnce U_ICU_ENTRY_POINT_RENAME(gTimeZoneFilesInitOnce)
109
108
  #define izrule_clone U_ICU_ENTRY_POINT_RENAME(izrule_clone)
110
109
  #define izrule_close U_ICU_ENTRY_POINT_RENAME(izrule_close)
@@ -204,6 +203,7 @@
204
203
  #define u_UCharsToChars U_ICU_ENTRY_POINT_RENAME(u_UCharsToChars)
205
204
  #define u_austrcpy U_ICU_ENTRY_POINT_RENAME(u_austrcpy)
206
205
  #define u_austrncpy U_ICU_ENTRY_POINT_RENAME(u_austrncpy)
206
+ #define u_caseInsensitivePrefixMatch U_ICU_ENTRY_POINT_RENAME(u_caseInsensitivePrefixMatch)
207
207
  #define u_catclose U_ICU_ENTRY_POINT_RENAME(u_catclose)
208
208
  #define u_catgets U_ICU_ENTRY_POINT_RENAME(u_catgets)
209
209
  #define u_catopen U_ICU_ENTRY_POINT_RENAME(u_catopen)
@@ -801,6 +801,9 @@
801
801
  #define udat_countAvailable U_ICU_ENTRY_POINT_RENAME(udat_countAvailable)
802
802
  #define udat_countSymbols U_ICU_ENTRY_POINT_RENAME(udat_countSymbols)
803
803
  #define udat_format U_ICU_ENTRY_POINT_RENAME(udat_format)
804
+ #define udat_formatCalendar U_ICU_ENTRY_POINT_RENAME(udat_formatCalendar)
805
+ #define udat_formatCalendarForFields U_ICU_ENTRY_POINT_RENAME(udat_formatCalendarForFields)
806
+ #define udat_formatForFields U_ICU_ENTRY_POINT_RENAME(udat_formatForFields)
804
807
  #define udat_get2DigitYearStart U_ICU_ENTRY_POINT_RENAME(udat_get2DigitYearStart)
805
808
  #define udat_getAvailable U_ICU_ENTRY_POINT_RENAME(udat_getAvailable)
806
809
  #define udat_getBooleanAttribute U_ICU_ENTRY_POINT_RENAME(udat_getBooleanAttribute)
@@ -884,6 +887,9 @@
884
887
  #define uenum_reset U_ICU_ENTRY_POINT_RENAME(uenum_reset)
885
888
  #define uenum_unext U_ICU_ENTRY_POINT_RENAME(uenum_unext)
886
889
  #define uenum_unextDefault U_ICU_ENTRY_POINT_RENAME(uenum_unextDefault)
890
+ #define ufieldpositer_close U_ICU_ENTRY_POINT_RENAME(ufieldpositer_close)
891
+ #define ufieldpositer_next U_ICU_ENTRY_POINT_RENAME(ufieldpositer_next)
892
+ #define ufieldpositer_open U_ICU_ENTRY_POINT_RENAME(ufieldpositer_open)
887
893
  #define ufile_close_translit U_ICU_ENTRY_POINT_RENAME(ufile_close_translit)
888
894
  #define ufile_fill_uchar_buffer U_ICU_ENTRY_POINT_RENAME(ufile_fill_uchar_buffer)
889
895
  #define ufile_flush_io U_ICU_ENTRY_POINT_RENAME(ufile_flush_io)
@@ -1009,6 +1015,9 @@
1009
1015
  #define ulist_next_keyword_value U_ICU_ENTRY_POINT_RENAME(ulist_next_keyword_value)
1010
1016
  #define ulist_resetList U_ICU_ENTRY_POINT_RENAME(ulist_resetList)
1011
1017
  #define ulist_reset_keyword_values_iterator U_ICU_ENTRY_POINT_RENAME(ulist_reset_keyword_values_iterator)
1018
+ #define ulistfmt_close U_ICU_ENTRY_POINT_RENAME(ulistfmt_close)
1019
+ #define ulistfmt_format U_ICU_ENTRY_POINT_RENAME(ulistfmt_format)
1020
+ #define ulistfmt_open U_ICU_ENTRY_POINT_RENAME(ulistfmt_open)
1012
1021
  #define uloc_acceptLanguage U_ICU_ENTRY_POINT_RENAME(uloc_acceptLanguage)
1013
1022
  #define uloc_acceptLanguageFromHTTP U_ICU_ENTRY_POINT_RENAME(uloc_acceptLanguageFromHTTP)
1014
1023
  #define uloc_addLikelySubtags U_ICU_ENTRY_POINT_RENAME(uloc_addLikelySubtags)
@@ -1379,8 +1388,9 @@
1379
1388
  #define uregex_getUText U_ICU_ENTRY_POINT_RENAME(uregex_getUText)
1380
1389
  #define uregex_group U_ICU_ENTRY_POINT_RENAME(uregex_group)
1381
1390
  #define uregex_groupCount U_ICU_ENTRY_POINT_RENAME(uregex_groupCount)
1391
+ #define uregex_groupNumberFromCName U_ICU_ENTRY_POINT_RENAME(uregex_groupNumberFromCName)
1392
+ #define uregex_groupNumberFromName U_ICU_ENTRY_POINT_RENAME(uregex_groupNumberFromName)
1382
1393
  #define uregex_groupUText U_ICU_ENTRY_POINT_RENAME(uregex_groupUText)
1383
- #define uregex_groupUTextDeep U_ICU_ENTRY_POINT_RENAME(uregex_groupUTextDeep)
1384
1394
  #define uregex_hasAnchoringBounds U_ICU_ENTRY_POINT_RENAME(uregex_hasAnchoringBounds)
1385
1395
  #define uregex_hasTransparentBounds U_ICU_ENTRY_POINT_RENAME(uregex_hasTransparentBounds)
1386
1396
  #define uregex_hitEnd U_ICU_ENTRY_POINT_RENAME(uregex_hitEnd)
@@ -1475,6 +1485,7 @@
1475
1485
  #define ures_openAvailableLocales U_ICU_ENTRY_POINT_RENAME(ures_openAvailableLocales)
1476
1486
  #define ures_openDirect U_ICU_ENTRY_POINT_RENAME(ures_openDirect)
1477
1487
  #define ures_openFillIn U_ICU_ENTRY_POINT_RENAME(ures_openFillIn)
1488
+ #define ures_openNoDefault U_ICU_ENTRY_POINT_RENAME(ures_openNoDefault)
1478
1489
  #define ures_openU U_ICU_ENTRY_POINT_RENAME(ures_openU)
1479
1490
  #define ures_resetIterator U_ICU_ENTRY_POINT_RENAME(ures_resetIterator)
1480
1491
  #define ures_swap U_ICU_ENTRY_POINT_RENAME(ures_swap)
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  **********************************************************************
3
- * Copyright (C) 1997-2014, International Business Machines
3
+ * Copyright (C) 1997-2015, International Business Machines
4
4
  * Corporation and others. All Rights Reserved.
5
5
  **********************************************************************
6
6
  *
@@ -21,25 +21,31 @@
21
21
  * \file
22
22
  * \brief C API: Unicode Script Information
23
23
  */
24
-
24
+
25
25
  /**
26
26
  * Constants for ISO 15924 script codes.
27
27
  *
28
- * Many of these script codes - those from Unicode's ScriptNames.txt -
29
- * are character property values for Unicode's Script property.
30
- * See UAX #24 Script Names (http://www.unicode.org/reports/tr24/).
28
+ * The current set of script code constants supports at least all scripts
29
+ * that are encoded in the version of Unicode which ICU currently supports.
30
+ * The names of the constants are usually derived from the
31
+ * Unicode script property value aliases.
32
+ * See UAX #24 Unicode Script Property (http://www.unicode.org/reports/tr24/)
33
+ * and http://www.unicode.org/Public/UCD/latest/ucd/PropertyValueAliases.txt .
31
34
  *
32
35
  * Starting with ICU 3.6, constants for most ISO 15924 script codes
33
- * are included (currently excluding private-use codes Qaaa..Qabx).
34
- * For scripts for which there are codes in ISO 15924 but which are not
35
- * used in the Unicode Character Database (UCD), there are no Unicode characters
36
- * associated with those scripts.
36
+ * are included, for use with language tags, CLDR data, and similar.
37
+ * Some of those codes are not used in the Unicode Character Database (UCD).
38
+ * For example, there are no characters that have a UCD script property value of
39
+ * Hans or Hant. All Han ideographs have the Hani script property value in Unicode.
37
40
  *
38
- * For example, there are no characters that have a UCD script code of
39
- * Hans or Hant. All Han ideographs have the Hani script code.
40
- * The Hans and Hant script codes are used with CLDR data.
41
+ * Private-use codes Qaaa..Qabx are not included.
41
42
  *
42
- * ISO 15924 script codes are included for use with CLDR and similar.
43
+ * Starting with ICU 55, script codes are only added when their scripts
44
+ * have been or will certainly be encoded in Unicode,
45
+ * and have been assigned Unicode script property value aliases,
46
+ * to ensure that their script names are stable and match the names of the constants.
47
+ * Script codes like Latf and Aran that are not subject to separate encoding
48
+ * may be added at any time.
43
49
  *
44
50
  * @stable ICU 2.2
45
51
  */
@@ -418,9 +424,17 @@ typedef enum UScriptCode {
418
424
  /** @stable ICU 54 */
419
425
  USCRIPT_SIDDHAM = 166,/* Sidd */
420
426
 
421
- /* Private use codes from Qaaa - Qabx are not supported */
422
-
423
- /** @stable ICU 2.2 */
427
+ /**
428
+ * One higher than the last script code constant.
429
+ * This value increases as constants for script codes are added.
430
+ *
431
+ * There are constants for Unicode 7 script property values.
432
+ * There are constants for ISO 15924 script codes assigned on or before 2013-10-12.
433
+ * There are no constants for private use codes from Qaaa - Qabx
434
+ * except as used in the UCD.
435
+ *
436
+ * @stable ICU 2.2
437
+ */
424
438
  USCRIPT_CODE_LIMIT = 167
425
439
  } UScriptCode;
426
440
 
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  ***************************************************************************
3
- * Copyright (C) 2008-2014, International Business Machines Corporation
3
+ * Copyright (C) 2008-2015, International Business Machines Corporation
4
4
  * and others. All Rights Reserved.
5
5
  ***************************************************************************
6
6
  * file name: uspoof.h
@@ -139,6 +139,14 @@
139
139
  * identifying new pairs or sequences of characters that are visually
140
140
  * confusable, and thus must be mapped to the same skeleton character(s).
141
141
  *
142
+ * Skeletons are computed using the algorithm and data describe in Unicode UAX 39.
143
+ * The latest proposed update, UAX 39 Version 8 draft 1, says "the tables SL, SA, and ML
144
+ * were still problematic, and discouraged from use in [Uniocde] 7.0.
145
+ * They were thus removed from version 8.0"
146
+ *
147
+ * In light of this, the default mapping data included with ICU 55 uses the
148
+ * Unicode 7 MA (Multi script Any case) table data for the other type options
149
+ * (Single Script, Any Case), (Single Script, Lower Case) and (Multi Script, Lower Case).
142
150
  */
143
151
 
144
152
  struct USpoofChecker;
@@ -270,14 +278,12 @@ typedef enum USpoofChecks {
270
278
  * @stable ICU 51
271
279
  */
272
280
  USPOOF_ASCII = 0x10000000,
273
- #ifndef U_HIDE_DRAFT_API
274
281
  /**
275
282
  * All characters in each identifier must be from a single script.
276
283
  *
277
- * @draft ICU 53
284
+ * @stable ICU 53
278
285
  */
279
286
  USPOOF_SINGLE_SCRIPT_RESTRICTIVE = 0x20000000,
280
- #endif /* U_HIDE_DRAFT_API */
281
287
  /**
282
288
  * All characters in each identifier must be from a single script, or from the combinations: Latin + Han +
283
289
  * Hiragana + Katakana; Latin + Han + Bopomofo; or Latin + Han + Hangul. Note that this level will satisfy the
@@ -304,14 +310,12 @@ typedef enum USpoofChecks {
304
310
  * @stable ICU 51
305
311
  */
306
312
  USPOOF_UNRESTRICTIVE = 0x60000000,
307
- #ifndef U_HIDE_DRAFT_API
308
313
  /**
309
314
  * Mask for selecting the Restriction Level bits from the return value of uspoof_check().
310
315
  *
311
- * @draft ICU 53
316
+ * @stable ICU 53
312
317
  */
313
318
  USPOOF_RESTRICTION_LEVEL_MASK = 0x7F000000
314
- #endif /* U_HIDE_DRAFT_API */
315
319
  } URestrictionLevel;
316
320
 
317
321
  /**
@@ -872,7 +876,7 @@ uspoof_areConfusableUnicodeString(const USpoofChecker *sc,
872
876
  * of the Unicode confusable data tables to use.
873
877
  * The default is Mixed-Script, Lowercase.
874
878
  * Allowed options are USPOOF_SINGLE_SCRIPT_CONFUSABLE and
875
- * USPOOF_ANY_CASE_CONFUSABLE. The two flags may be ORed.
879
+ * USPOOF_ANY_CASE. The two flags may be ORed.
876
880
  * @param id The input identifier whose skeleton will be computed.
877
881
  * @param length The length of the input identifier, expressed in 16 bit
878
882
  * UTF-16 code units, or -1 if the string is zero terminated.
@@ -954,7 +958,7 @@ uspoof_getSkeletonUTF8(const USpoofChecker *sc,
954
958
  * of the Unicode confusable data tables to use.
955
959
  * The default is Mixed-Script, Lowercase.
956
960
  * Allowed options are USPOOF_SINGLE_SCRIPT_CONFUSABLE and
957
- * USPOOF_ANY_CASE_CONFUSABLE. The two flags may be ORed.
961
+ * USPOOF_ANY_CASE. The two flags may be ORed.
958
962
  * @param id The input identifier whose skeleton will be computed.
959
963
  * @param dest The output identifier, to receive the skeleton string.
960
964
  * @param status The error code, set if an error occurred while attempting to
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  *******************************************************************************
3
- * Copyright (C) 1997-2011,2014 International Business Machines
3
+ * Copyright (C) 1997-2011,2014-2015 International Business Machines
4
4
  * Corporation and others. All Rights Reserved.
5
5
  *******************************************************************************
6
6
  * Date Name Description
@@ -509,7 +509,6 @@ utrans_transIncrementalUChars(const UTransliterator* trans,
509
509
  UTransPosition* pos,
510
510
  UErrorCode* status);
511
511
 
512
- #ifndef U_HIDE_DRAFT_API
513
512
  /**
514
513
  * Create a rule string that can be passed to utrans_openU to recreate this
515
514
  * transliterator.
@@ -525,9 +524,9 @@ utrans_transIncrementalUChars(const UTransliterator* trans,
525
524
  * contents of result are undefined.
526
525
  * @return int32_t The length of the rule string (may be greater than resultLength,
527
526
  * in which case an error is returned).
528
- * @draft ICU 53
527
+ * @stable ICU 53
529
528
  */
530
- U_DRAFT int32_t U_EXPORT2
529
+ U_STABLE int32_t U_EXPORT2
531
530
  utrans_toRules( const UTransliterator* trans,
532
531
  UBool escapeUnprintable,
533
532
  UChar* result, int32_t resultLength,
@@ -550,14 +549,13 @@ utrans_toRules( const UTransliterator* trans,
550
549
  * @return USet* Either fillIn, or if fillIn is NULL, a pointer to a
551
550
  * newly-allocated USet that the user must close. In case of
552
551
  * error, NULL is returned.
553
- * @draft ICU 53
552
+ * @stable ICU 53
554
553
  */
555
- U_DRAFT USet* U_EXPORT2
554
+ U_STABLE USet* U_EXPORT2
556
555
  utrans_getSourceSet(const UTransliterator* trans,
557
556
  UBool ignoreFilter,
558
557
  USet* fillIn,
559
558
  UErrorCode* status);
560
- #endif /* U_HIDE_DRAFT_API */
561
559
 
562
560
  /* deprecated API ----------------------------------------------------------- */
563
561
 
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  **********************************************************************
3
- * Copyright (C) 1996-2014, International Business Machines
3
+ * Copyright (C) 1996-2015, International Business Machines
4
4
  * Corporation and others. All Rights Reserved.
5
5
  **********************************************************************
6
6
  *
@@ -641,13 +641,19 @@ typedef enum UErrorCode {
641
641
  U_REGEX_INVALID_FLAG, /**< Invalid value for match mode flags. */
642
642
  U_REGEX_LOOK_BEHIND_LIMIT, /**< Look-Behind pattern matches must have a bounded maximum length. */
643
643
  U_REGEX_SET_CONTAINS_STRING, /**< Regexps cannot have UnicodeSets containing strings.*/
644
+ #ifndef U_HIDE_DEPRECATED_API
644
645
  U_REGEX_OCTAL_TOO_BIG, /**< Octal character constants must be <= 0377. @deprecated ICU 54. This error cannot occur. */
645
- U_REGEX_MISSING_CLOSE_BRACKET, /**< Missing closing bracket on a bracket expression. */
646
+ #endif /* U_HIDE_DEPRECATED_API */
647
+ U_REGEX_MISSING_CLOSE_BRACKET=U_REGEX_SET_CONTAINS_STRING+2, /**< Missing closing bracket on a bracket expression. */
646
648
  U_REGEX_INVALID_RANGE, /**< In a character range [x-y], x is greater than y. */
647
649
  U_REGEX_STACK_OVERFLOW, /**< Regular expression backtrack stack overflow. */
648
650
  U_REGEX_TIME_OUT, /**< Maximum allowed match time exceeded */
649
651
  U_REGEX_STOPPED_BY_CALLER, /**< Matching operation aborted by user callback fn. */
650
- U_REGEX_ERROR_LIMIT, /**< This must always be the last value to indicate the limit for regexp errors */
652
+ #ifndef U_HIDE_DRAFT_API
653
+ U_REGEX_PATTERN_TOO_BIG, /**< Pattern exceeds limits on size or complexity. @draft ICU 55 */
654
+ U_REGEX_INVALID_CAPTURE_GROUP_NAME, /**< Invalid capture group name. @draft ICU 55 */
655
+ #endif /* U_HIDE_DRAFT_API */
656
+ U_REGEX_ERROR_LIMIT=U_REGEX_STOPPED_BY_CALLER+3, /**< This must always be the last value to indicate the limit for regexp errors */
651
657
 
652
658
  /*
653
659
  * The error code in the range 0x10400-0x104ff are reserved for IDNA related error codes