Commit Graph

4160 Commits

Author SHA1 Message Date
Steven R. Loomis
9077d5dc25 ICU-9449 Merge in decimal format performance improvements from branch.
Improvements to 'howExpensiveIs' benchmark test.
Use internal digitlist in Formattable (save mallocs).
Enable fastpath by default.
Enable internal API "parse all input", returning an error if all input was not consumed.

X-SVN-Rev: 32397
2012-09-17 19:03:01 +00:00
Steven R. Loomis
1dff0b56ee ICU-9501 doxygen cleanup.
X-SVN-Rev: 32372
2012-09-11 20:51:51 +00:00
Yoshito Umaoka
f6b1112128 ICU-9381 Shorten time zone generic location name per cldrbug:4897. Imported the CLDR trunk data including fixes necessary for this.
X-SVN-Rev: 32368
2012-09-11 15:28:29 +00:00
Steven R. Loomis
79a59bfdef ICU-9525 fix casts as per http://www.stroustrup.com/bs_faq2.html#static-cast and also fix string quoting gcc47
X-SVN-Rev: 32307
2012-08-31 19:12:19 +00:00
George Rhoten
89c00402a8 ICU-9474 Undo the changeset to reduce the exported C++ static variables.
X-SVN-Rev: 32299
2012-08-30 03:19:37 +00:00
Peter Edberg
8db60a2d2b ICU-9399 return correct parse index when an era is expected but something else is found
X-SVN-Rev: 32262
2012-08-28 03:40:07 +00:00
Markus Scherer
ce6b202757 ICU-8920 clarify Collator::getRules() docs
X-SVN-Rev: 32259
2012-08-28 00:06:05 +00:00
Peter Edberg
d7a3235efb ICU-9392 japanese calendar minimum era should be 0
X-SVN-Rev: 32253
2012-08-27 23:21:33 +00:00
Markus Scherer
944ff6eeaf ICU-9141 add U_GCC_MAJOR_MINOR macro
X-SVN-Rev: 32252
2012-08-27 23:15:08 +00:00
Peter Edberg
00b9ba863a ICU-9256 For he@calendar=hebrew, offset the years within the current millenium down to 1-999
X-SVN-Rev: 32236
2012-08-27 05:58:17 +00:00
George Rhoten
e1b9092426 ICU-9469 Improve support for C++11
X-SVN-Rev: 32179
2012-08-15 17:46:17 +00:00
George Rhoten
ce96470daf ICU-9474 Reduce the exported C++ static variables too.
X-SVN-Rev: 32159
2012-08-12 00:33:34 +00:00
George Rhoten
0ae3d3a7d4 ICU-9474 Reduce unrename.h namespace pollution
X-SVN-Rev: 32157
2012-08-11 04:57:13 +00:00
George Rhoten
2ad0aad18c ICU-9456 Reduce writable/relocatable data.
X-SVN-Rev: 32150
2012-08-10 17:53:54 +00:00
George Rhoten
1384c72211 ICU-9456 Reduce writable/relocatable data.
X-SVN-Rev: 32149
2012-08-10 16:41:38 +00:00
Yoshito Umaoka
bc8ee5cca6 ICU-9452 Fixed calendar add issue with the Samoa Dec 2011 24 hour transition.
X-SVN-Rev: 32141
2012-08-09 21:29:53 +00:00
Markus Scherer
ca65e1c41e ICU-9460 deprecate Collator::safeClone() and default-implement it in the base class
X-SVN-Rev: 32127
2012-08-08 21:03:52 +00:00
Markus Scherer
2f6df5d520 ICU-9434 use static_cast<pointer type>(void *) not reinterpret_cast
X-SVN-Rev: 32119
2012-08-08 00:50:16 +00:00
Markus Scherer
520264ec8c ICU-9406 deprecate UCOL_HIRAGANA_QUATERNARY_MODE, disable setter
X-SVN-Rev: 32108
2012-08-04 17:24:45 +00:00
Markus Scherer
77b4e42b8d ICU-9346 remove U_EXPORT2 from .cpp where they are gone from .h, should fix Windows build
X-SVN-Rev: 32106
2012-08-03 23:12:28 +00:00
Markus Scherer
da6c36d287 ICU-9346 C++ Collator API cleanup, fix safeClone() bug (setRuleStringFromCollator() on the result), fix polymorphic operator==(), move some method implementations into the base class
X-SVN-Rev: 32100
2012-08-03 21:49:28 +00:00
George Rhoten
2f3551a74d ICU-9457 Fix some compiler warnings.
X-SVN-Rev: 32099
2012-08-03 21:16:37 +00:00
George Rhoten
dc75668c05 ICU-9457 Fix some compiler warnings
X-SVN-Rev: 32095
2012-08-03 19:09:42 +00:00
Steven R. Loomis
b15c2bbf3b ICU-9416 fix number formatting for max int digits in fastpath
X-SVN-Rev: 32026
2012-07-06 22:47:27 +00:00
Jungshik Shin
4934b397a8 ICU-8343 fix build errors in Visual Studio when exception is disabled
X-SVN-Rev: 32010
2012-06-28 23:28:00 +00:00
Michael Ow
6f32f4f5a4 ICU-9232 Use forward declaration for non-public class
X-SVN-Rev: 31986
2012-06-25 16:34:19 +00:00
Andy Heninger
d13e3710e1 ICU-6954 remove unused CharsetRecognizer field from CharsetMatch
X-SVN-Rev: 31978
2012-06-21 21:02:19 +00:00
Yoshito Umaoka
ecec4bfab4 ICU-8810 Changed @param zoneToAdopt to @param zone to match the method signature.
X-SVN-Rev: 31970
2012-06-19 15:28:23 +00:00
Peter Edberg
43d3e4e099 ICU-9226 Better documentation for add and roll functions/methods
X-SVN-Rev: 31967
2012-06-19 07:09:54 +00:00
Peter Edberg
c63be1f302 ICU-9226 Calendar add +year should always move forward in time; roll year should wrap for eras with real bounds, pin otherwise
X-SVN-Rev: 31966
2012-06-19 05:42:52 +00:00
Yoshito Umaoka
2b19607bfa ICU-8918 Documentation update explaining ambiguous wall time resolution in the class doc.
X-SVN-Rev: 31963
2012-06-18 19:19:31 +00:00
Yoshito Umaoka
fefba73e1d ICU-9258 Updated format/DecimalFormatTest/DataDrivenTests to format StringPiece in addition to DigitList. Fixed an error status problem (not returning U_FORMAT_INEXACT_ERROR) found by the StringPiece test.
X-SVN-Rev: 31961
2012-06-18 14:14:22 +00:00
Andy Heninger
c1dc277c46 ICU-9042 Memory leak in Time Unit Format.
X-SVN-Rev: 31943
2012-06-12 18:23:49 +00:00
Xiaomei Ji
a9ea9b2a82 ICU-9042 in time unit format, ignore those plural counts that are not defined in the locale's plural rules
X-SVN-Rev: 31924
2012-06-08 19:02:03 +00:00
Yoshito Umaoka
91a3c1e322 ICU-9352 Fixed a bug in useDaylightTime(). The test case reproducing the problem will be enabled with #9349 soon.
X-SVN-Rev: 31908
2012-06-05 20:38:37 +00:00
Markus Scherer
a4861cdd06 ICU-8298 avoid ambiguous method matching for MaybeStackArray[index]
X-SVN-Rev: 31903
2012-06-04 23:51:39 +00:00
Andy Heninger
0855f7a2b2 ICU-6954 Fix charset detection bug resulting from having state in shared recognizer objects.
X-SVN-Rev: 31900
2012-06-01 20:40:48 +00:00
Michael Ow
10f13e92ae ICU-9258 Remove extra comma in enum
X-SVN-Rev: 31895
2012-06-01 14:43:02 +00:00
Steven R. Loomis
dc44c2bdd9 ICU-9258 fix int64 format of U_INT64_MIN; // -9223372036854775808L
X-SVN-Rev: 31888
2012-05-30 18:21:49 +00:00
Steven R. Loomis
3c05a6b5d3 ICU-9258 fix typo in comment
X-SVN-Rev: 31882
2012-05-30 00:50:22 +00:00
Steven R. Loomis
43b918a0c8 ICU-9258 merge from branches, performance improvements
X-SVN-Rev: 31881
2012-05-30 00:41:57 +00:00
Andy Heninger
f7c10f5686 ICU-9344 fix rare memory leak in ucol.cpp
X-SVN-Rev: 31858
2012-05-25 18:25:38 +00:00
Michael Ow
671a7be44b ICU-9322 Fix some memory check errors in ICU tools
X-SVN-Rev: 31829
2012-05-17 19:58:22 +00:00
Michael Ow
22dda18669 ICU-9242 Fix format parsing in ICU4C calendar code
X-SVN-Rev: 31805
2012-05-09 21:00:40 +00:00
Michael Ow
0ca13b73b0 ICU-9292 Merge BEAM warning fixes from branch into trunk
X-SVN-Rev: 31792
2012-05-03 05:50:26 +00:00
Andy Heninger
1e26b4760c ICU-8810 Fix bad description of time zones in Calendar::createInstance()
X-SVN-Rev: 31783
2012-04-27 22:34:34 +00:00
Andy Heninger
b916fcb50b ICU-9283 fix for look-behind assertions w/ case insensitive matching.
X-SVN-Rev: 31782
2012-04-27 21:29:34 +00:00
Markus Scherer
1d98ac0736 ICU-9249 deprecate PluralFormat::setLocale(locale)
X-SVN-Rev: 31742
2012-04-18 23:58:47 +00:00
Michael Ow
bbad39b77a ICU-9232 Update version in ICU4C to 50.0.1 and update time bombs
X-SVN-Rev: 31725
2012-04-18 17:03:06 +00:00
Markus Scherer
adcdc1c20e ICU-9132 finalize new MessageFormat pattern argument type to selectordinal
X-SVN-Rev: 31702
2012-04-13 17:37:12 +00:00