Commit Graph

4723 Commits

Author SHA1 Message Date
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
George Rhoten
e79ae82c7d ICU-11064 The approved ICU syntax has )$ being the end of the plural rule substitution.
X-SVN-Rev: 36208
2014-08-20 18:52:57 +00:00
George Rhoten
912521e5cf ICU-11064 Fix a roundtripping problem when the fractional part is non-zero.
X-SVN-Rev: 36203
2014-08-19 17:13:07 +00:00
George Rhoten
eda8266715 ICU-11064 Add syntax for PluralFormat in RBNF
X-SVN-Rev: 36197
2014-08-18 20:47:36 +00:00
Steven R. Loomis
e3dc3bc456 ICU-10347 add U_FINAL and U_OVERRIDE for C++11 "final" and "override".
Added them to several "not for subclassing" classes.
Some exceptions:
* Commented out U_FINAL where there's an internal override needed.
* For tests, added "#define U_FINAL" at the top to disable this.
#defined to null for Doxygen.

X-SVN-Rev: 36177
2014-08-16 01:30:43 +00:00
Markus Scherer
bfb928d8dd ICU-11010 improve ucol_mergeSortkeys() API doc
X-SVN-Rev: 36166
2014-08-14 20:35:54 +00:00
Markus Scherer
ec55298e96 ICU-11042 Han radical-stroke order data in the root collator instead of CJK tailorings, adjusted code & tests (merged from branches/markus/rootunihan)
X-SVN-Rev: 36162
2014-08-14 18:47:27 +00:00
Andy Heninger
1ba1ec3b83 ICU-11049 regular expressions, use same logic in UText and (UChar *) code paths when checking limit of potential match start positions.
X-SVN-Rev: 36161
2014-08-14 17:44:05 +00:00
Markus Scherer
435623bc05 ICU-11058 support nested collation rule imports; make the importer stateless
X-SVN-Rev: 36157
2014-08-13 22:58:14 +00:00
Andy Heninger
e03585d7cf ICU-11049 fix regex find() memory overrun.
X-SVN-Rev: 36124
2014-08-06 21:49:08 +00:00
Tom Zhang
2c1c85aee8 ICU-10320 fix compiler warning & solaris error
X-SVN-Rev: 36119
2014-08-01 21:33:16 +00:00
Tom Zhang
26063a3454 ICU-10320 API for getting/setting number format override in date formatting
X-SVN-Rev: 36097
2014-07-29 18:42:07 +00:00
Yoshito Umaoka
ae3f6f13a4 ICU-10934 The tz database abbreviation support in ICU4C
X-SVN-Rev: 36080
2014-07-23 21:51:09 +00:00
Andy Heninger
ec0b491358 ICU-11007 Calendar::fZone, add comment clarifying that it cannot be NULL.
X-SVN-Rev: 36048
2014-07-16 22:29:20 +00:00
Andy Heninger
ecf61700ad ICU-11006 Memory crash/corruption in for loop due to typo in the file (source/i18n/rbt_data.cpp)
X-SVN-Rev: 36047
2014-07-16 21:04:08 +00:00
Tom Zhang
8787394bd1 ICU-10979 add udat_adoptNumberFormat & update doc
X-SVN-Rev: 36035
2014-07-15 20:39:51 +00:00
Travis Keep
71d9e44e03 ICU-10864 DecimalFormat::getGroupingSize() to return 0 when grouping isn't being used.
X-SVN-Rev: 36027
2014-07-15 16:40:20 +00:00
Travis Keep
321f5c2c7b ICU-10966 Fix NumberFormat::createInstance to return U_MISSING_RESOURCE_ERROR when there is missing resource data.
X-SVN-Rev: 36026
2014-07-15 00:10:52 +00:00
Andy Heninger
76aaa9229f ICU-11007 Improved checking for NULL time zones in calendar code.
X-SVN-Rev: 36025
2014-07-14 23:39:06 +00:00
Markus Scherer
37c7676f5e ICU-10912 create Collator from binary: support length<0 again, and document that the base collator is required (see ticket #10517)
X-SVN-Rev: 36021
2014-07-10 22:17:20 +00:00
Markus Scherer
1379df9789 ICU-10998 test for only-none before comparing with the current list of reordering codes
X-SVN-Rev: 36018
2014-07-09 23:36:19 +00:00
Markus Scherer
9bc6f268fb ICU-10998 collation reorder others=Zzzz, recognize only others = reset
X-SVN-Rev: 36017
2014-07-09 22:53:09 +00:00
Markus Scherer
2e958e2bab ICU-8082 private collation type: do not build binary and do not list as an available keyword value
X-SVN-Rev: 36011
2014-07-08 17:44:53 +00:00
Markus Scherer
77b420f820 ICU-8962 test & fix collation import from same bundle & from und=root
X-SVN-Rev: 36009
2014-07-08 01:10:13 +00:00
Steven R. Loomis
68b3eed7cb ICU-10990 remove STL deps from FilteredBreakIterator implementation
X-SVN-Rev: 36008
2014-07-08 00:30:21 +00:00
Andy Heninger
0de5b4523f ICU-10908 LocaleDisplayNames thread safety fix.
X-SVN-Rev: 35989
2014-07-02 22:31:05 +00:00
Andy Heninger
4812b221aa ICU-10976 Remove C++ null reference checks; they're undefined behavior.
X-SVN-Rev: 35987
2014-07-02 20:57:26 +00:00
Michael Ow
b1de9c0f30 ICU-10842 Fix header test failures, fix no data test errors, and update file properties
X-SVN-Rev: 35982
2014-07-02 05:09:05 +00:00
Steven R. Loomis
82d331dd6b ICU-10842 fix to namespace usage
X-SVN-Rev: 35976
2014-07-01 16:51:31 +00:00