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.
- checksums.yaml +4 -4
- data/Rakefile +19 -3
- data/ext/pango/depend +0 -1
- data/ext/pango/extconf.rb +0 -2
- data/ext/pango/rbpango.c +44 -6
- data/ext/pango/rbpango.h +0 -1
- data/ext/pango/rbpangoattribute.c +2 -2
- data/ext/pango/rbpangocairo.c +4 -4
- data/ext/pango/rbpangocontext.c +2 -2
- data/ext/pango/rbpangofontdescription.c +2 -2
- data/ext/pango/rbpangogravity.c +2 -2
- data/ext/pango/rbpangolanguage.c +8 -0
- data/ext/pango/rbpangolayout.c +15 -4
- data/ext/pango/rbpangomatrix.c +2 -2
- data/ext/pango/rbpangoscript.c +3 -3
- data/lib/2.0/pango.so +0 -0
- data/lib/2.1/pango.so +0 -0
- data/lib/2.2/pango.so +0 -0
- data/test/test-language.rb +5 -0
- data/test/test-layout.rb +7 -1
- data/vendor/local/bin/derb.exe +0 -0
- data/vendor/local/bin/genbrk.exe +0 -0
- data/vendor/local/bin/genccode.exe +0 -0
- data/vendor/local/bin/gencfu.exe +0 -0
- data/vendor/local/bin/gencmn.exe +0 -0
- data/vendor/local/bin/gencnval.exe +0 -0
- data/vendor/local/bin/gendict.exe +0 -0
- data/vendor/local/bin/gennorm2.exe +0 -0
- data/vendor/local/bin/genrb.exe +0 -0
- data/vendor/local/bin/gensprep.exe +0 -0
- data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
- data/vendor/local/bin/hb-shape.exe +0 -0
- data/vendor/local/bin/hb-view.exe +0 -0
- data/vendor/local/bin/icu-config +6 -6
- data/vendor/local/bin/icuinfo.exe +0 -0
- data/vendor/local/bin/icupkg.exe +0 -0
- data/vendor/local/bin/libharfbuzz-0.dll +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/makeconv.exe +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/bin/pkgdata.exe +0 -0
- data/vendor/local/bin/uconv.exe +0 -0
- data/vendor/local/etc/pango/pango.modules +1 -1
- data/vendor/local/include/harfbuzz/hb-buffer.h +26 -1
- data/vendor/local/include/harfbuzz/hb-common.h +7 -0
- data/vendor/local/include/harfbuzz/hb-font.h +7 -6
- data/vendor/local/include/harfbuzz/hb-ft.h +58 -1
- data/vendor/local/include/harfbuzz/hb-glib.h +3 -0
- data/vendor/local/include/harfbuzz/hb-ot-font.h +4 -0
- data/vendor/local/include/harfbuzz/hb-shape.h +0 -3
- data/vendor/local/include/harfbuzz/hb-unicode.h +28 -3
- data/vendor/local/include/harfbuzz/hb-version.h +4 -4
- data/vendor/local/include/layout/LEFontInstance.h +2 -28
- data/vendor/local/include/layout/LETableReference.h +7 -2
- data/vendor/local/include/unicode/calendar.h +32 -2
- data/vendor/local/include/unicode/coll.h +9 -7
- data/vendor/local/include/unicode/datefmt.h +102 -13
- data/vendor/local/include/unicode/dcfmtsym.h +4 -2
- data/vendor/local/include/unicode/decimfmt.h +4 -5
- data/vendor/local/include/unicode/dtfmtsym.h +60 -1
- data/vendor/local/include/unicode/dtptngen.h +21 -7
- data/vendor/local/include/unicode/localpointer.h +49 -1
- data/vendor/local/include/unicode/locid.h +2 -3
- data/vendor/local/include/unicode/measfmt.h +30 -37
- data/vendor/local/include/unicode/measunit.h +65 -152
- data/vendor/local/include/unicode/measure.h +3 -3
- data/vendor/local/include/unicode/numfmt.h +3 -5
- data/vendor/local/include/unicode/platform.h +12 -2
- data/vendor/local/include/unicode/plurrule.h +18 -14
- data/vendor/local/include/unicode/rbnf.h +3 -4
- data/vendor/local/include/unicode/regex.h +42 -26
- data/vendor/local/include/unicode/region.h +9 -9
- data/vendor/local/include/unicode/reldatefmt.h +50 -45
- data/vendor/local/include/unicode/scientificnumberformatter.h +222 -0
- data/vendor/local/include/unicode/smpdtfmt.h +30 -24
- data/vendor/local/include/unicode/tblcoll.h +5 -4
- data/vendor/local/include/unicode/timezone.h +18 -1
- data/vendor/local/include/unicode/ucal.h +2 -2
- data/vendor/local/include/unicode/ucol.h +22 -18
- data/vendor/local/include/unicode/uconfig.h +17 -2
- data/vendor/local/include/unicode/udat.h +164 -56
- data/vendor/local/include/unicode/udatpg.h +9 -7
- data/vendor/local/include/unicode/ufieldpositer.h +121 -0
- data/vendor/local/include/unicode/uidna.h +21 -13
- data/vendor/local/include/unicode/ulistformatter.h +130 -0
- data/vendor/local/include/unicode/ulocdata.h +4 -3
- data/vendor/local/include/unicode/unistr.h +101 -53
- data/vendor/local/include/unicode/unum.h +7 -10
- data/vendor/local/include/unicode/uregex.h +52 -29
- data/vendor/local/include/unicode/urename.h +14 -3
- data/vendor/local/include/unicode/uscript.h +30 -16
- data/vendor/local/include/unicode/uspoof.h +13 -9
- data/vendor/local/include/unicode/utrans.h +5 -7
- data/vendor/local/include/unicode/utypes.h +9 -3
- data/vendor/local/include/unicode/uvernum.h +8 -8
- data/vendor/local/lib/icu/{54.1 → 55.1}/Makefile.inc +5 -5
- data/vendor/local/lib/icu/{54.1 → 55.1}/pkgdata.inc +1 -1
- data/vendor/local/lib/icu/Makefile.inc +5 -5
- data/vendor/local/lib/icu/pkgdata.inc +1 -1
- data/vendor/local/lib/icudt.dll +0 -0
- data/vendor/local/lib/{icudt54.dll → icudt55.dll} +0 -0
- data/vendor/local/lib/icuin.dll +0 -0
- data/vendor/local/lib/icuin55.dll +0 -0
- data/vendor/local/lib/icuio.dll +0 -0
- data/vendor/local/lib/icuio55.dll +0 -0
- data/vendor/local/lib/icule.dll +0 -0
- data/vendor/local/lib/icule55.dll +0 -0
- data/vendor/local/lib/iculx.dll +0 -0
- data/vendor/local/lib/iculx55.dll +0 -0
- data/vendor/local/lib/icutest.dll +0 -0
- data/vendor/local/lib/icutest55.dll +0 -0
- data/vendor/local/lib/icutu.dll +0 -0
- data/vendor/local/lib/icutu55.dll +0 -0
- data/vendor/local/lib/icuuc.dll +0 -0
- data/vendor/local/lib/icuuc55.dll +0 -0
- data/vendor/local/lib/libharfbuzz-icu.a +0 -0
- data/vendor/local/lib/libharfbuzz-icu.la +7 -7
- data/vendor/local/lib/libharfbuzz.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz.la +7 -7
- data/vendor/local/lib/libicudt.dll.a +0 -0
- data/vendor/local/lib/libicuin.dll.a +0 -0
- data/vendor/local/lib/libicuio.dll.a +0 -0
- data/vendor/local/lib/libicule.dll.a +0 -0
- data/vendor/local/lib/libiculx.dll.a +0 -0
- data/vendor/local/lib/libicutest.dll.a +0 -0
- data/vendor/local/lib/libicutu.dll.a +0 -0
- data/vendor/local/lib/libicuuc.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +2 -2
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +1 -1
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +2 -2
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +2 -2
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.la +2 -2
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.la +2 -2
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.la +2 -2
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.la +2 -2
- data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +1 -1
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +3 -1
- data/vendor/local/lib/pkgconfig/icu-i18n.pc +5 -5
- data/vendor/local/lib/pkgconfig/icu-io.pc +5 -5
- data/vendor/local/lib/pkgconfig/icu-le.pc +5 -5
- data/vendor/local/lib/pkgconfig/icu-lx.pc +5 -5
- data/vendor/local/lib/pkgconfig/icu-uc.pc +5 -5
- data/vendor/local/share/gtk-doc/html/harfbuzz/adding-text-to-the-buffer.html +35 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/annotation-glossary.html +30 -35
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +158 -27
- data/vendor/local/share/gtk-doc/html/harfbuzz/buffers-language-script-and-direction.html +87 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/{ch01.html → ch06.html} +12 -13
- data/vendor/local/share/gtk-doc/html/harfbuzz/customizing-unicode-functions.html +31 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +7 -8
- data/vendor/local/share/gtk-doc/html/harfbuzz/fonts-and-faces.html +40 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Shaping.html +352 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +88 -47
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-buffer.html +128 -204
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +290 -304
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +14 -23
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +14 -17
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +40 -51
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +126 -190
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +19 -24
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +14 -29
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +438 -11
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +14 -25
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +14 -29
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +19 -160
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +21 -36
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +14 -11
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +70 -81
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +33 -44
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +290 -323
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +14 -23
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +59 -27
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +16 -13
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +415 -104
- data/vendor/local/share/gtk-doc/html/harfbuzz/hello-harfbuzz.html +181 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +43 -12
- data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +11 -13
- data/vendor/local/share/gtk-doc/html/harfbuzz/plans-and-caching.html +31 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/pt01.html +70 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +107 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/setting-buffer-properties.html +31 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/shaping-and-shape-plans.html +39 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/style.css +9 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/using-harfbuzzs-native-opentype-implementation.html +31 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/using-your-own-font-functions.html +31 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/what-about-the-other-scripts.html +31 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/what-is-harfbuzz.html +124 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/why-is-it-called-harfbuzz.html +38 -0
- data/vendor/local/share/icu/{54.1 → 55.1}/config/mh-mingw64 +0 -0
- data/vendor/local/share/icu/{54.1 → 55.1}/install-sh +0 -0
- data/vendor/local/share/icu/{54.1 → 55.1}/license.html +3 -4
- data/vendor/local/share/icu/{54.1 → 55.1}/mkinstalldirs +0 -0
- data/vendor/local/share/man/man1/derb.1 +2 -2
- data/vendor/local/share/man/man1/genbrk.1 +2 -2
- data/vendor/local/share/man/man1/gencfu.1 +1 -1
- data/vendor/local/share/man/man1/gencnval.1 +3 -3
- data/vendor/local/share/man/man1/gendict.1 +2 -2
- data/vendor/local/share/man/man1/genrb.1 +3 -3
- data/vendor/local/share/man/man1/icu-config.1 +2 -2
- data/vendor/local/share/man/man1/makeconv.1 +3 -3
- data/vendor/local/share/man/man1/pkgdata.1 +2 -2
- data/vendor/local/share/man/man1/uconv.1 +2 -2
- data/vendor/local/share/man/man8/genccode.8 +2 -2
- data/vendor/local/share/man/man8/gencmn.8 +3 -3
- data/vendor/local/share/man/man8/gensprep.8 +3 -3
- data/vendor/local/share/man/man8/icupkg.8 +1 -1
- metadata +38 -22
- data/vendor/local/include/unicode/scientificformathelper.h +0 -139
- data/vendor/local/lib/icuin54.dll +0 -0
- data/vendor/local/lib/icuio54.dll +0 -0
- data/vendor/local/lib/icule54.dll +0 -0
- data/vendor/local/lib/iculx54.dll +0 -0
- data/vendor/local/lib/icutest54.dll +0 -0
- data/vendor/local/lib/icutu54.dll +0 -0
- data/vendor/local/lib/icuuc54.dll +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape.html +0 -286
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.sgml +0 -496
@@ -1,6 +1,6 @@
|
|
1
1
|
/*
|
2
2
|
*******************************************************************************
|
3
|
-
* Copyright (C) 1997-
|
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
|
-
* @
|
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
|
-
* @
|
1306
|
+
* @stable ICU 53
|
1308
1307
|
*/
|
1309
|
-
|
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
|
-
* @
|
1318
|
+
* @stable ICU 53
|
1320
1319
|
*/
|
1321
|
-
|
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-
|
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
|
634
|
-
*
|
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-
|
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-
|
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
|
-
*
|
29
|
-
* are
|
30
|
-
*
|
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
|
34
|
-
*
|
35
|
-
*
|
36
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
|
422
|
-
|
423
|
-
|
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-
|
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
|
-
* @
|
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
|
-
* @
|
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
|
-
*
|
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
|
-
*
|
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
|
-
* @
|
527
|
+
* @stable ICU 53
|
529
528
|
*/
|
530
|
-
|
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
|
-
* @
|
552
|
+
* @stable ICU 53
|
554
553
|
*/
|
555
|
-
|
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-
|
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
|
-
|
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
|
-
|
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
|