Commit Graph

4723 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
Markus Scherer
68b3ed0c75 ICU-11357 add constant for UK measurement system
X-SVN-Rev: 36846
2014-12-10 21:32:48 +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
Travis Keep
59a03bbc9b ICU-11383 Remove ScientificFormatHelper C++
X-SVN-Rev: 36826
2014-12-08 23:25:27 +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
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
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
2e6a8c568c ICU-11374 Regular Expression, improve checking of integer overflow.
X-SVN-Rev: 36792
2014-12-02 17:05:27 +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
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