Commit Graph

19563 Commits

Author SHA1 Message Date
Andy Heninger
d96fea9eb6 ICU-11123 promote RegexMatcher::find(UErrorCode &) to public API
X-SVN-Rev: 37073
2015-02-26 02:34:20 +00:00
Andy Heninger
74157ec338 ICU-11446 Spoof Checker data update: use MA table only.
X-SVN-Rev: 37071
2015-02-26 01:38:14 +00:00
Yoshito Umaoka
72a0e9b14f ICU-11294 Fixed a compiler warning, and a typo in the previous commit.
X-SVN-Rev: 37068
2015-02-26 00:08:39 +00:00
Yoshito Umaoka
5d5a1c8b24 ICU-11399 Fixed a typo in filterRFC3454.pl and updated the string prep data for rfc3920 XMPP node.
X-SVN-Rev: 37066
2015-02-25 08:59:44 +00:00
Yoshito Umaoka
ebe09a9e69 ICU-11294 Changed SimpleDateFormat and other implementation to reduce malloc calls for common date formatting/parsing operations.
X-SVN-Rev: 37064
2015-02-25 03:24:19 +00:00
Peter Edberg
43f62124cd ICU-9379 C: Update BreakIterator createInstance to handle linebreak variant files; update tests
X-SVN-Rev: 37059
2015-02-24 22:37:10 +00:00
Andy Heninger
ce09d8a4bc ICU-11393 Regex, add pattern chars R v and h
X-SVN-Rev: 37057
2015-02-24 00:24:59 +00:00
Peter Edberg
77775f1b2d ICU-10761 C: pre-integrate changes per cldrbug 8048: to use 'r' in chinese calendar formats
X-SVN-Rev: 37054
2015-02-23 16:47:52 +00:00
Markus Scherer
8e6898ae3d ICU-11296 based on patch from Jungshik, approved option name UCONFIG_ONLY_HTML_CONVERSION, turn off UTF-32, simplify changes, fix warnings
X-SVN-Rev: 37045
2015-02-20 19:31:33 +00:00
Fredrik Roubert
71035aa827 ICU-11467 Promote time separator interfaces to public API.
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/189460043

X-SVN-Rev: 37043
2015-02-19 12:02:43 +00:00
Andy Heninger
ec3f77f878 ICU-5312 Regular Expressions Named Capture.
X-SVN-Rev: 37040
2015-02-18 23:56:19 +00:00
Michael Ow
da811f1dfe ICU-11433 Fix memory leak in numberformat test
X-SVN-Rev: 37038
2015-02-18 18:29:04 +00:00
Peter Edberg
3565561b05 ICU-9379 Draft new linebreak files & related generated data per cldrbug 4931
X-SVN-Rev: 37037
2015-02-18 08:37:16 +00:00
Peter Edberg
399bdb4de2 ICU-11442 C: ... and don't update anything else besides territoryInfo
X-SVN-Rev: 37030
2015-02-13 06:02:38 +00:00
Peter Edberg
8fc9e221ef ICU-11442 C: Restore the complete converted territoryInfo
X-SVN-Rev: 37029
2015-02-13 05:47:29 +00:00
Travis Keep
06223fc789 ICU-11524 Fix inconsistency between fastpath and slowpath for when maxIntDigit = 0.
X-SVN-Rev: 37026
2015-02-12 21:45:27 +00:00
Michael Ow
2755dcda5e ICU-11523 Fix invalid input check in udat_parseCalendar
X-SVN-Rev: 37023
2015-02-11 22:23:13 +00:00
Yoshito Umaoka
9828703fe3 ICU-11315 tzdata2015a updates in ICU4C.
X-SVN-Rev: 37006
2015-02-03 23:55:39 +00:00
Andy Heninger
03fd84ff03 ICU-11104 MSVC compiler warnings, apply patch from Chromium.
X-SVN-Rev: 36995
2015-01-30 02:18:02 +00:00
Michael Ow
7dff411df7 ICU-11452 Improve null check
X-SVN-Rev: 36981
2015-01-22 19:26:09 +00:00
Andy Heninger
22c8c94d14 ICU-11469 Regular Expressions, remove old tech preview functions.
X-SVN-Rev: 36953
2015-01-14 00:03:29 +00:00
Michael Ow
c7cd5c468b ICU-11452 Change reference to pointer to avoid null reference problems in SimpleDateFormat
X-SVN-Rev: 36942
2015-01-12 19:02:31 +00:00
Yoshito Umaoka
7d77ae9c9b ICU-11427 Forcing GMT to be used in TestOverrideNumberFormat to make environment test work without test failures.
X-SVN-Rev: 36941
2015-01-12 16:34:01 +00:00
Yoshito Umaoka
6e3b21d3c5 ICU-11454 Made TestOverrideNumberFormat run properly.
X-SVN-Rev: 36940
2015-01-12 15:51:02 +00:00
Michael Ow
d8cba8ab2d ICU-11391 Fix data build on windows
X-SVN-Rev: 36934
2015-01-09 06:45:59 +00:00
Michael Ow
2ab0292209 ICU-11391 Add arch detection code in pkgdata tool
X-SVN-Rev: 36932
2015-01-08 20:13:48 +00:00
Yoshito Umaoka
bc68cc5b15 ICU-11177 Fixed a potential memory leak in setParaRunsOnly() in ubidi.c
X-SVN-Rev: 36929
2015-01-07 21:32:52 +00:00
Yoshito Umaoka
a31ce73748 ICU-11449 Fixed a build problem on Windows/VC.
X-SVN-Rev: 36928
2015-01-07 20:55:04 +00:00
Markus Scherer
a9d7c3e4bd ICU-11449 reorder single scripts not groups, scripts/groups can start on top-16-bit boundaries, data formatVersion 5 for new scripts data and optional reorderRanges appended to reorderCodes
X-SVN-Rev: 36924
2015-01-07 03:37:11 +00:00
Michael Ow
bcdcc4dc67 ICU-10731 Fix import library name when building data on mingw
X-SVN-Rev: 36922
2015-01-06 23:08:18 +00:00
Yoshito Umaoka
cbe7c4983b ICU-11466 Added a word break test case for Hangul, starting with Latin text. Such case did not work well with ICU4J 52, but works fine with other ICU versions.
X-SVN-Rev: 36915
2015-01-06 18:57:38 +00:00
Markus Scherer
b2c4740141 ICU-11448 try to fix a build error on some platforms
X-SVN-Rev: 36912
2014-12-27 01:29:46 +00:00
Markus Scherer
7fdf06a388 ICU-11448 move collationbasedatabuilder.cpp to tools/genuca
X-SVN-Rev: 36910
2014-12-27 01:04:54 +00:00
Markus Scherer
6494d69057 ICU-11448 move collationbasedatabuilder.h to tools/genuca
X-SVN-Rev: 36909
2014-12-27 01:03:54 +00:00
Markus Scherer
166f80aacd ICU-11448 move CollationBaseDataBuilder out of the runtime library: only used from genuca
X-SVN-Rev: 36908
2014-12-27 01:00:36 +00:00
Markus Scherer
590a85cbf1 ICU-11448 collation common tertiary weights for normal Hiragana, change builder to cope with below-common tertiary weights
X-SVN-Rev: 36906
2014-12-27 00:38:34 +00:00
Andy Heninger
b3c29ef95e ICU-11428 Various compiler warning fixes.
X-SVN-Rev: 36903
2014-12-19 23:41:18 +00:00
Andy Heninger
67f2494005 ICU-11454 cdattst/TestOverrideNumberFormat, fix Windows build failure w previouos change.
X-SVN-Rev: 36902
2014-12-19 22:10:05 +00:00
Andy Heninger
5805449990 ICU-11454 cdattst/TestOverrideNumberFormat, re-enable accidentaly skipped tests, set known issue for resulting problem.
X-SVN-Rev: 36901
2014-12-19 21:03:23 +00:00
Fredrik Roubert
60087d06a1 ICU-11018 Refactor date format string mapping code (ICU4C)
To make this code more maintainable: Make mapping tables zero based, add
a table to tell if a character can be used to define a field in a format
string (instead of now rather long-winded character range expressions)
and make all lookup tables accessed through helper functions.

R=rocketman@google.com

Review URL: https://codereview.appspot.com/190080043

X-SVN-Rev: 36899
2014-12-19 07:27:58 +00:00
Fredrik Roubert
17b8600e8e ICU-11018 Support CLDR time separator (ICU4C)
This change will treat the ':' character in patterns as a symbol
(instead of as a literal) and if the Locale defines timeSeparator then
use that character instead when formatting and accept both when parsing.

It will also define the '.' as an alternate time separator, that will be
accepted when parsing in lenient mode.

This is one character more strict than before, when in lenient mode also
the '-' was accepted as time separator instead of ':'.

R=rocketman@google.com

Review URL: https://codereview.appspot.com/180610043

X-SVN-Rev: 36897
2014-12-19 07:19:41 +00:00
Andy Heninger
ea29e154b5 ICU-11452 Remove NULL check causing a compile warning. An alternate check is still needed.
X-SVN-Rev: 36896
2014-12-19 02:34:24 +00:00
Andy Heninger
c356adbd4e ICU-11439 Another stab at portability in NumberFormatTest::TestDoubleLimit11439().
X-SVN-Rev: 36895
2014-12-19 01:11:01 +00:00
Andy Heninger
a1d3e7d662 ICU-11439 Improve portability of DecimalFormat::getFixedDecimal().
X-SVN-Rev: 36894
2014-12-19 00:22:05 +00:00
Andy Heninger
ff85125d2f ICU-11439 Improve portability of DecimalFormat::getFixedDecimal().
X-SVN-Rev: 36893
2014-12-18 22:46:45 +00:00
John Emmons
0d0a369333 ICU-11060 Fix naming convention for @alt values from CLDR
X-SVN-Rev: 36886
2014-12-17 23:25:39 +00:00
Markus Scherer
b3897ebba9 ICU-11444 UMeasurementSystem UMS_UK born stable ICU 55
X-SVN-Rev: 36883
2014-12-17 21:51:53 +00:00
Markus Scherer
3a08f3d29c ICU-11313 scientificformathelper -> scientificnumberformatter
X-SVN-Rev: 36871
2014-12-15 23:14:27 +00:00
Peter Edberg
5239b60d43 ICU-11313 Update U_HIDE_ macros (and U_DEPRECATED tags) for 55.0.1 (m1)
X-SVN-Rev: 36868
2014-12-15 00:42:34 +00:00
Peter Edberg
9855e4ef5f ICU-11313 Update urename.h for 55.0.1 (m1)
X-SVN-Rev: 36867
2014-12-14 22:33:46 +00:00
Michael Ow
f61f05e5f5 ICU-11313 Fix some no data test failures
X-SVN-Rev: 36865
2014-12-12 04:34:51 +00:00
Steven R. Loomis
2480631b1c ICU-10774 (review) add documentation of what a test is doing
X-SVN-Rev: 36864
2014-12-11 23:15:57 +00:00
Steven R. Loomis
28c0981d76 ICU-11389 (respond to review comments) fix low memory crasher in Region.
Also add LocalUHashtablePointer.

X-SVN-Rev: 36860
2014-12-11 18:25:13 +00:00
Travis Keep
25e6c69308 ICU-11313 Remove compiler warnings from ICU C++ build.
X-SVN-Rev: 36859
2014-12-11 18:06:28 +00:00
Markus Scherer
f08f07dbbc ICU-10829 try to make some compilers happy
X-SVN-Rev: 36858
2014-12-11 18:00:10 +00:00
Markus Scherer
030eff56d3 ICU-10829 simplify U+FFFE collation: U+FFFE use common non-primary weights, adjust code for that, test order of U+FFFE equivalent to ucol_mergeSortkeys() but not necessarily same sort keys, omit case level if lowerFirst and only common weights
X-SVN-Rev: 36856
2014-12-11 17:04:32 +00:00
John Emmons
ad5308aa12 ICU-11417 CLDR 27 data integration for ICU55M1
X-SVN-Rev: 36850
2014-12-11 16:10:49 +00:00
Steven R. Loomis
d88d618181 ICU-10774 remove a stray logln
X-SVN-Rev: 36849
2014-12-10 23:20:41 +00:00
Michael Ow
2361aa8c1d ICU-11313 Fix for header test for 55m1
X-SVN-Rev: 36848
2014-12-10 22:21:21 +00:00
Michael Ow
990392306a ICU-11313 Fix bom in FractionalUCA file
X-SVN-Rev: 36847
2014-12-10 21:41:07 +00:00
Markus Scherer
68b3ed0c75 ICU-11357 add constant for UK measurement system
X-SVN-Rev: 36846
2014-12-10 21:32:48 +00:00
Michael Ow
9f70aa922d ICU-11313 Update configure script for 55m1
X-SVN-Rev: 36843
2014-12-10 21:05:34 +00:00
Peter Edberg
47a97c8453 ICU-11412 TimeZoneFormat copy constructor should initialize fTZDBTimeZoneNames to NULL
X-SVN-Rev: 36842
2014-12-10 20:19:42 +00:00
Travis Keep
8addf97f7d ICU-10638 Add factory method to create a UStringEnumeration from UEnumeration.
X-SVN-Rev: 36841
2014-12-10 17:02:02 +00:00
Yoshito Umaoka
b063be0077 ICU-11415 Fixed a locale display name issue with a currency keyword.
X-SVN-Rev: 36839
2014-12-10 09:00:53 +00:00
Steven R. Loomis
7e6c572256 ICU-10774 fix a knownissue: Collator::getAvailableLocales calculation.
Also, replace uhash_nextElement's parameter "-1" with UHASH_FIRST for clarity.
Also, improve service registration debugging code

X-SVN-Rev: 36836
2014-12-09 23:54:56 +00:00
Travis Keep
6371975e05 ICU-10438 Document that C++ Duration RuleBasedNumberFormat always rounds down.
X-SVN-Rev: 36835
2014-12-09 23:53:19 +00:00
Travis Keep
d0c5712ce4 ICU-10638 Fix collator:;getKeywordsXXX functions so that they never leak memory.
X-SVN-Rev: 36834
2014-12-09 23:08:31 +00:00
Michael Ow
bbcade5d41 ICU-11360 Remove statement to include platform config file in letest makefile
X-SVN-Rev: 36833
2014-12-09 22:10:45 +00:00
Michael Ow
22c2fcc8b2 ICU-11365 Fix INT32_MAX and INT32_MIN build error on HP-UX
X-SVN-Rev: 36831
2014-12-09 19:38:39 +00:00
Andy Heninger
dacaa0d337 ICU-11390 Remove static objects from intltest ThreadSafeFormat.
X-SVN-Rev: 36829
2014-12-09 01:27:53 +00:00
Travis Keep
e3ab387f40 ICU-11383 Attempt to fix broken build.
X-SVN-Rev: 36828
2014-12-09 00:48:08 +00:00
Travis Keep
59a03bbc9b ICU-11383 Remove ScientificFormatHelper C++
X-SVN-Rev: 36826
2014-12-08 23:25:27 +00:00
Andy Heninger
63771018b6 ICU-11414 uspoof, fix Visual Studio compile problems.
X-SVN-Rev: 36824
2014-12-08 22:40:31 +00:00
Andy Heninger
40271c5742 ICU-11414 uspoof, freeze the recommended and inclusion sets.
X-SVN-Rev: 36823
2014-12-08 19:56:43 +00:00
Travis Keep
00c6bb79bf ICU-11295 Fix getNumberFormatForField so that it returns either a valid pointer or NULL.
X-SVN-Rev: 36822
2014-12-08 19:35:38 +00:00
Travis Keep
79964e6bc7 ICU-11303 Bring MeasureFormat per unit formatting out of tech preview.
X-SVN-Rev: 36813
2014-12-05 20:52:28 +00:00
Travis Keep
3d248f9875 ICU-11401 Attempt to fix broken build.
X-SVN-Rev: 36812
2014-12-05 19:23:22 +00:00
Travis Keep
a6bc072149 ICU-11401 Reduce cache keyspace by caching only the components of DateFormat by locale rather than actual DateFormat objects.
X-SVN-Rev: 36811
2014-12-05 18:15:35 +00:00
Andy Heninger
9d54e5711e ICU-11406 RBBITest/TestUnicodeFiles, remove inadvertant C++11-ism
X-SVN-Rev: 36807
2014-12-04 21:46:01 +00:00
Markus Scherer
326e9592dc ICU-10823 add ures_openNoDefault() and use it from collation data loader and BreakIterator; refactor ures_openXyz() for code sharing
X-SVN-Rev: 36806
2014-12-04 21:11:26 +00:00
John Emmons
ae0b3bc646 ICU-11408 Fix to put durationUnits with the other units
X-SVN-Rev: 36805
2014-12-04 20:11:53 +00:00
Andy Heninger
8e27cbf59d ICU-11406 RBBITest/TestUnicodeFiles, improve known issue detection.
X-SVN-Rev: 36804
2014-12-03 23:43:47 +00:00
Andy Heninger
63758dca88 ICU-11371 Improved checking of regular expression pattern size limits.
X-SVN-Rev: 36801
2014-12-02 21:58:18 +00:00
Andy Heninger
b3bd196383 ICU-11373 Regex, check for integer overflow in maxMatchLength computation.
X-SVN-Rev: 36794
2014-12-02 19:24:31 +00:00
Andy Heninger
c9b7734a0e ICU-11373 disable prematurely checked in test case.
X-SVN-Rev: 36793
2014-12-02 17:10:04 +00:00
Andy Heninger
2e6a8c568c ICU-11374 Regular Expression, improve checking of integer overflow.
X-SVN-Rev: 36792
2014-12-02 17:05:27 +00:00
Andy Heninger
f9c67eb71e ICU-11374 Regular Expression, improve checking of integer overflow.
X-SVN-Rev: 36790
2014-12-02 01:32:49 +00:00
Markus Scherer
3cdd2bafe2 ICU-11388 regression test from Java
X-SVN-Rev: 36782
2014-11-30 19:56:32 +00:00
Yoshito Umaoka
da879e36c2 ICU-11315 Merging metazone mapping data fix for Russian zones from cldrbug:8041.
X-SVN-Rev: 36779
2014-11-25 21:26:38 +00:00
Yoshito Umaoka
281d4de237 ICU-11293 Added udat_formatCalendar allowing C API user to specify a calendar as a parameter.
X-SVN-Rev: 36777
2014-11-25 04:34:58 +00:00
Yoshito Umaoka
605d7dd578 ICU-11216 Removed language code 'wen' from the LCID mapping table. MS uses 'hsb' (and 'dsb') in the latest LCID reference document, but 'wen' is not used.
X-SVN-Rev: 36770
2014-11-21 23:53:20 +00:00
Steven R. Loomis
eb262cc17c ICU-11389 more reversion
X-SVN-Rev: 36766
2014-11-20 05:20:36 +00:00
Steven R. Loomis
0cb2ffd0bf ICU-11389 revert bad commit
X-SVN-Rev: 36763
2014-11-20 02:49:35 +00:00
Steven R. Loomis
094d12cdca ICU-11389 revert r36758 - re-checkin under r11139 once working?
X-SVN-Rev: 36762
2014-11-20 01:28:18 +00:00
Steven R. Loomis
9f5a68f08f ICU-11389 revert r36758 - re-checkin under r11139 once working?
X-SVN-Rev: 36761
2014-11-20 01:26:30 +00:00
Steven R. Loomis
08480c883b ICU-11389 improve error checking (fix)
X-SVN-Rev: 36760
2014-11-20 00:50:03 +00:00
Yoshito Umaoka
82bd8a35f4 ICU-11139 A quick fix in the new DateFormat factory logic to use the current default time zone in a new instance.
X-SVN-Rev: 36759
2014-11-20 00:41:24 +00:00
Steven R. Loomis
738cee69cc ICU-11389 improve error checking
X-SVN-Rev: 36758
2014-11-20 00:34:29 +00:00
Markus Scherer
9edbbecb24 ICU-11339 add & use LocalPointer(p, errorCode) and adoptInsteadAndCheckErrorCode(p, errorCode)
X-SVN-Rev: 36757
2014-11-20 00:27:17 +00:00