Commit Graph

4751 Commits

Author SHA1 Message Date
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
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
Yoshito Umaoka
42040b3e4a ICU-11389 Fixed a problem in Win32DateFormat assignment operator which triggered intltest.exe crash in u_cleanup with the recent DateFormat caching change.
X-SVN-Rev: 36756
2014-11-20 00:08:49 +00:00
Travis Keep
89e667b0ea ICU-10952 Attempt to fix broken build.
X-SVN-Rev: 36747
2014-11-18 16:48:37 +00:00
Travis Keep
6a15548b08 ICU-10952 Introduce ScientificNumberFormatter.
X-SVN-Rev: 36746
2014-11-18 00:55:15 +00:00
Travis Keep
4860c7e5b7 ICU-11139 Add JAVA DateFormat factory methods to C++
X-SVN-Rev: 36745
2014-11-18 00:43:49 +00:00
Andy Heninger
f5d14979c6 ICU-11369 Regex, fix incorrect optimization of patterns with a zero length quantifier {0}
X-SVN-Rev: 36727
2014-11-12 23:42:14 +00:00
Andy Heninger
9db433b745 ICU-11370 Regex, add missing range check of length of a look-behind expression.
X-SVN-Rev: 36724
2014-11-12 23:10:21 +00:00
Yoshito Umaoka
ff4fd29a21 ICU-11302 Proper error handling with utext_clone in regular expression implementation.
X-SVN-Rev: 36673
2014-10-13 17:46:34 +00:00
Steven R. Loomis
547757ebe9 ICU-11325 fix operator==. Also, re-enable French.
X-SVN-Rev: 36672
2014-10-11 00:22:06 +00:00
Michael Ow
b2d2691724 ICU-11313 Update version number to 55.0.1
X-SVN-Rev: 36648
2014-10-07 17:02:19 +00:00
Yoshito Umaoka
f4c185b9e7 ICU-11307 A minor document fix in Calendar's class doc.
X-SVN-Rev: 36618
2014-10-01 18:50:49 +00:00
Peter Edberg
6115fe24bb ICU-11055 Minor rewording that hopefully clarifies the usage of ucol_getFunctionalEquivalent
X-SVN-Rev: 36572
2014-09-23 22:11:37 +00:00
Peter Edberg
b26892cfe8 ICU-10817 For UNUM_SPELLOUT/ORDINAL, document that unum_setTextAttribute with UNUM_DEFAULT_RULESET can specify ruleset
X-SVN-Rev: 36571
2014-09-23 21:58:49 +00:00
Peter Edberg
61d8a038ad ICU-10814 Delete duplicated headerdoc comments in usearch.h
X-SVN-Rev: 36568
2014-09-23 21:33:53 +00:00
Peter Edberg
8713061249 ICU-10809 Fix typo
X-SVN-Rev: 36567
2014-09-23 21:29:31 +00:00
Peter Edberg
14cd5cb107 ICU-10809 Update SimpleDateFormat class doc examples for Sept and Tues, other table updates and note (C)
X-SVN-Rev: 36565
2014-09-23 21:26:25 +00:00
Andy Heninger
afe9d5350e ICU-11262 Spoof check data refresh.
X-SVN-Rev: 36553
2014-09-17 23:27:40 +00:00
Peter Edberg
2beaf3dacf ICU-10992 BRS line 20, Check/fix non-stable API macros (U_HIDE_DRAFT_API and others)
X-SVN-Rev: 36520
2014-09-16 08:09:06 +00:00
Markus Scherer
908eb3d8d4 ICU-10999 mark formatMeasuresPer() as Technology preview
X-SVN-Rev: 36518
2014-09-16 06:11:35 +00:00
Steven R. Loomis
58f8e44c7d ICU-10981 round of uconfig.h fixes
X-SVN-Rev: 36491
2014-09-13 00:53:06 +00:00
Markus Scherer
a3df75f151 ICU-11258 adjust dependencies, pull charstr & unistr_core into the platform group, fix some code
X-SVN-Rev: 36485
2014-09-12 00:11:47 +00:00
Steven R. Loomis
11462b188e ICU-11131 revert to r36481
X-SVN-Rev: 36484
2014-09-11 22:55:13 +00:00
Steven R. Loomis
482e90080c ICU-11131 re-checking in due to conflicts with r36481..
X-SVN-Rev: 36483
2014-09-11 22:47:47 +00:00
Yoshito Umaoka
f7ee04ba38 ICU-11131 Updates based on review feedback.
X-SVN-Rev: 36481
2014-09-11 22:36:46 +00:00
Markus Scherer
30780ccadc ICU-11032 call udata_getMemory() rather than reading internal structures
X-SVN-Rev: 36473
2014-09-11 19:52:26 +00:00
Travis Keep
0951252dad ICU-11250 Add tests for QuantityFormatter add test for SimplePatternFormatter::getPatternWithNoPlaceholders.
X-SVN-Rev: 36468
2014-09-11 19:09:54 +00:00
Markus Scherer
420125c1cc ICU-11238 simpler fix
X-SVN-Rev: 36467
2014-09-11 18:42:18 +00:00
Andy Heninger
84d1d936ab ICU-11032 Incorporate review comments, use isAcceptable call-back with udata_open
X-SVN-Rev: 36466
2014-09-11 18:28:05 +00:00
John Emmons
4d47dd3226 ICU-11092 Split out units data into a separate tree
X-SVN-Rev: 36458
2014-09-11 10:16:22 +00:00
Yoshito Umaoka
02939804a5 ICU-11240 ICU4C 54 API status promotion.
X-SVN-Rev: 36454
2014-09-11 06:16:13 +00:00
Steven R. Loomis
f71e7b22bd ICU-11238 GCC 3.3.6 fixes
X-SVN-Rev: 36451
2014-09-11 05:57:38 +00:00
Steven R. Loomis
4345b76644 ICU-10881 merge from branch - conservative fixes to some warnings
X-SVN-Rev: 36449
2014-09-11 05:25:13 +00:00
Andy Heninger
b00b0d552e ICU-11249 class NFDIterator change base from UMemory to UObject. For ICU 54 BRS Verify Malloc Functions task.
X-SVN-Rev: 36442
2014-09-10 20:16:12 +00:00
Travis Keep
c794caf7d4 ICU-10999 Add per unit measure formatting.
X-SVN-Rev: 36441
2014-09-10 20:06:52 +00:00
Steven R. Loomis
9e20f6ebb2 ICU-11131 on low memory situations, return U_MEMORY_ALLOCATION_ERROR instead of crash
X-SVN-Rev: 36430
2014-09-10 15:39:02 +00:00
Andy Heninger
a7eb42956a ICU-11249 BRS 54: Verify malloc functions fix to class NFDIterator.
X-SVN-Rev: 36421
2014-09-10 00:54:15 +00:00
Markus Scherer
8c4f2b0036 ICU-7118 document that compare() is often more efficient than getSortKey()
X-SVN-Rev: 36414
2014-09-09 22:05:13 +00:00
Yoshito Umaoka
6b334674c9 ICU-11029 Added some note about methods not yet implemented. Also updated these method to do nothing but returns DONE.
X-SVN-Rev: 36410
2014-09-09 21:39:33 +00:00
Peter Edberg
834e67c893 ICU-10695 (C) Update/expand UMALQURA_MONTHLENGTH, handleComputeMonthStart fix for tbla and month not in 0..11
X-SVN-Rev: 36405
2014-09-09 10:27:39 +00:00
Peter Edberg
897df260ce ICU-11221 Remove "#ifndef U_HIDE_DRAFT_API" from measunit.cpp (it is only for measunit.h)
X-SVN-Rev: 36400
2014-09-09 00:56:00 +00:00
Peter Edberg
e46b2b3c83 ICU-9385 DateFormatSymbols/udat getters/setters for yearNames, zodiacNames (C)
X-SVN-Rev: 36386
2014-09-08 04:52:23 +00:00
Markus Scherer
0f78abc7ee ICU-9644 re-hardcode some normalization data: nfc.nrm
X-SVN-Rev: 36384
2014-09-08 03:05:56 +00:00
Peter Edberg
300e531736 ICU-10995 Delete old fNegPrefixPattern before creating new one by prepending minus to fPosPrefixPattern
X-SVN-Rev: 36382
2014-09-07 20:01:55 +00:00
Peter Edberg
8c07d13306 ICU-10968 More efficient implementation for scriptDisplayName(UScriptCode, ...) (C)
X-SVN-Rev: 36379
2014-09-07 06:58:20 +00:00
Peter Edberg
92a7528223 ICU-11173 CLDR tags/release-26-d03 into ICU4C trunk, remove logKnownIssue 11219, fix test for cldrbug:7868
X-SVN-Rev: 36377
2014-09-06 06:15:08 +00:00
Andy Heninger
821a0b00d7 ICU-11032 Spoof check, add validation of data header.
X-SVN-Rev: 36372
2014-09-06 00:19:58 +00:00
Steven R. Loomis
51d9432671 ICU-11073 Fix the earlier fix for global new[].
Had to move "new UnicodeString[]" into a function ala ICU-2974 to prevent global new[] from being called.
Also, some general cleanup.

X-SVN-Rev: 36371
2014-09-06 00:16:54 +00:00
Peter Edberg
7732bb2599 ICU-10968 Handle fussy comma-at-end-of-enum-list restrictions in some compilers
X-SVN-Rev: 36354
2014-09-05 06:17:40 +00:00
Peter Edberg
46ad07cddf ICU-10968 Add #ifndef U_HIDE_DRAFT_API for the new enum values
X-SVN-Rev: 36353
2014-09-05 05:26:55 +00:00
Peter Edberg
153bf506f0 ICU-10968 Add UDISPCTX_TYPE_DISPLAY_LENGTH and values for it, implement support (C)
X-SVN-Rev: 36352
2014-09-05 04:54:53 +00:00
Andy Heninger
75c1bacdf1 ICU-11102 Win32NumberFormat::format(), make fmt param const.
X-SVN-Rev: 36347
2014-09-04 21:00:58 +00:00
Andy Heninger
f626431e29 ICU-11233 Remove U_FINAL for classes we subclass. Produces bad code.
X-SVN-Rev: 36346
2014-09-04 18:58:17 +00:00
Travis Keep
18c1134a6d ICU-11221 Add comments to MeasureUnit generated code pointing to documentation on how to update.
X-SVN-Rev: 36344
2014-09-04 17:42:00 +00:00
Steven R. Loomis
8830b79326 ICU-11073 change to use LocalMemory instead of LocalArray
X-SVN-Rev: 36340
2014-09-03 23:18:34 +00:00
Travis Keep
ff421e317a ICU-11237 Fixed memory leak.
X-SVN-Rev: 36339
2014-09-03 22:41:51 +00:00
Travis Keep
f8598fb484 ICU-11223 Make code in relative date format that falls back to short form more readable.
X-SVN-Rev: 36338
2014-09-03 22:01:03 +00:00
Travis Keep
48ba0efa1e ICU-11221 Add new MeasureUnits to ICU.
X-SVN-Rev: 36335
2014-09-03 21:08:45 +00:00
Peter Edberg
1b8eb15e1a ICU-11173 CLDR tags/release-26-d01 into ICU4C trunk with related test & lib code updates
X-SVN-Rev: 36313
2014-09-02 23:18:20 +00:00
Andy Heninger
3dd19f8a5b ICU-10815 Regex error handling, minor cleanups.
X-SVN-Rev: 36306
2014-09-02 21:39:18 +00:00
Scott Russell
867e55f0cb ICU-10970 Support required decimal point
X-SVN-Rev: 36300
2014-08-30 21:53:10 +00:00
Steven R. Loomis
7594250cc5 ICU-7653 changed uprv_lengthof to UPRV_LENGTHOF, also added apidoc
X-SVN-Rev: 36275
2014-08-28 22:13:45 +00:00
Tom Zhang
ee1f29b584 ICU-7653 move LENGTHOF(array) to common, internal header
X-SVN-Rev: 36265
2014-08-28 14:55:34 +00:00
Andy Heninger
f2dfa7422e ICU-10815 Fix for uregex_findNext() not setting U_REGEX_STOPPED_BY_CALLER
X-SVN-Rev: 36260
2014-08-28 01:19:29 +00:00
Markus Scherer
725657cd3d ICU-10477 drop already-marginal support for ULOC_REQUESTED_LOCALE
X-SVN-Rev: 36252
2014-08-27 21:27:37 +00:00
Scott Russell
ecd2a3a355 ICU-10962 Conflicting descriptions of 'S' in calendar patterns
X-SVN-Rev: 36235
2014-08-26 03:57:45 +00:00
Markus Scherer
3fbc4c7966 ICU-11047 disambiguate various CEBuffer-s
X-SVN-Rev: 36217
2014-08-20 23:55:04 +00:00
Travis Keep
f335b55bdf ICU-10802 Merge branch tkeep/10802andy into trunk.
X-SVN-Rev: 36214
2014-08-20 21:46:02 +00:00