Commit Graph

4690 Commits

Author SHA1 Message Date
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
Steven R. Loomis
60eaaca7b8 ICU-10842 fix mistagged ICU54 API
X-SVN-Rev: 35974
2014-07-01 16:41:37 +00:00
Steven R. Loomis
fba912e1ec ICU-10842 update urename and fix an unrenamed class
X-SVN-Rev: 35973
2014-07-01 16:16:59 +00:00
Steven R. Loomis
a3433c4d45 ICU-10977 remove stray #if DEBUG from a few more files
X-SVN-Rev: 35948
2014-06-25 21:59:55 +00:00
Travis Keep
7bf9b7dce1 ICU-10884 Comments from roubert.
X-SVN-Rev: 35882
2014-06-17 16:34:46 +00:00
Travis Keep
49c0734f6a ICU-10046 More review comments from roubert.
X-SVN-Rev: 35881
2014-06-17 14:26:41 +00:00
Travis Keep
2b11611919 ICU-10046 Roubert's review comments.
X-SVN-Rev: 35880
2014-06-17 14:24:40 +00:00
Travis Keep
eca047192e ICU-10046 Fix comments.
X-SVN-Rev: 35877
2014-06-13 16:45:12 +00:00
Travis Keep
b323fa2b8f ICU-10046 Andy's review comments.
X-SVN-Rev: 35876
2014-06-13 16:40:17 +00:00
Scott Russell
0711da6b18 ICU-10906 prevent SimpleDateFormat from trying to parse when ParsePosition is less than 0
X-SVN-Rev: 35874
2014-06-13 14:36:05 +00:00
Tom Zhang
985f42b752 ICU-10344 add new field & factory method for currency CASH/STANDARD Usage
X-SVN-Rev: 35873
2014-06-12 21:40:34 +00:00
Travis Keep
b8fcbee810 ICU-10884 Fix compile warnings around not initializing base class in copy constructor for RelativeDateTimeFormatter and SharedObject.
X-SVN-Rev: 35871
2014-06-12 20:14:04 +00:00
Travis Keep
5ab2298adc ICU-10884 Attempt to fix broken build.
X-SVN-Rev: 35870
2014-06-12 19:55:36 +00:00
Travis Keep
b2e714c21a ICU-10884 Applied review comments from Andy Heninger.
X-SVN-Rev: 35862
2014-06-11 19:45:30 +00:00
Travis Keep
81e264fb42 ICU-10884 Apply API proposal from 11 Jun ICU meeting.
X-SVN-Rev: 35861
2014-06-11 18:31:47 +00:00
Markus Scherer
fad96371c9 ICU-10372 deprecate collation APIs for short definition strings
X-SVN-Rev: 35822
2014-06-06 22:48:14 +00:00
Travis Keep
9040a55e62 ICU-10778 Delimit Generated Code in MeasureUnit.
X-SVN-Rev: 35797
2014-06-02 22:47:11 +00:00
Markus Scherer
b3cb5dcc86 ICU-8260 bug fixes
X-SVN-Rev: 35766
2014-05-28 23:03:52 +00:00
Markus Scherer
da533923a2 ICU-8260 support all collation-related keywords in Collator::createInstance()
X-SVN-Rev: 35762
2014-05-27 18:50:10 +00:00
Travis Keep
df067d53b2 ICU-10914 Fix uses of createSharedInstance calls.
X-SVN-Rev: 35748
2014-05-22 23:48:56 +00:00
Travis Keep
4b0e17ff66 ICU-10913 Fix broken build.
X-SVN-Rev: 35747
2014-05-22 23:21:32 +00:00
Travis Keep
5778d967ee ICU-10913 Remove unused includes.
X-SVN-Rev: 35746
2014-05-22 23:14:10 +00:00
Travis Keep
3d1c1bb07a ICU-10884 Add abbreviated relative date format support.
X-SVN-Rev: 35744
2014-05-22 22:46:53 +00:00
Scott Russell
68c893b2f1 ICU-10855 fix handling of partial match leniency to not falsely pass literals that should fail
X-SVN-Rev: 35720
2014-05-16 17:38:08 +00:00
Travis Keep
b5b8492a6f ICU-10887 Fix documentation in MeasureFormat.
X-SVN-Rev: 35696
2014-05-08 22:46:37 +00:00
Andy Heninger
6f97fd0a2a ICU-10835 Fix build problems from r35683.
X-SVN-Rev: 35691
2014-05-04 20:43:48 +00:00
Andy Heninger
a45f7faf63 ICU-10835 Improve performance of case insensitive find operations.
X-SVN-Rev: 35683
2014-05-02 22:51:53 +00:00
Travis Keep
fd676bb762 ICU-10046 insetMarkup()->insertMarkup().
X-SVN-Rev: 35666
2014-04-30 20:15:10 +00:00
Andy Heninger
4587ade4b5 ICU-10295 Mutex ucln_registerCleanup to clear thread sanitizer errors.
X-SVN-Rev: 35655
2014-04-25 17:27:53 +00:00
Andy Heninger
9c8e20c008 ICU-10805 Use InitOnce in Region class. Fixes threading problem in initialization.
X-SVN-Rev: 35653
2014-04-24 22:31:56 +00:00
Andy Heninger
0a9c28990a ICU-10861 Fix several ICU4C compile warnings.
X-SVN-Rev: 35650
2014-04-24 00:33:39 +00:00
Andy Heninger
dbcf79f57b ICU-10799 ICU initialization code, review & cleanup.
X-SVN-Rev: 35649
2014-04-23 23:22:13 +00:00
Markus Scherer
567aebade1 ICU-10821 Unicode 7.0 in trunk, from branches/markus/uni70@35631
X-SVN-Rev: 35632
2014-04-14 22:30:09 +00:00
Yoshito Umaoka
b655078cda ICU-10842 Updated ICU4C version nubmers for 54M1.
X-SVN-Rev: 35630
2014-04-14 20:41:25 +00:00