Peter Edberg
e25796f6e5
ICU-20801 integrate CLDR release-36-alpha2, update MeasureUnits ( #809 )
2019-09-06 14:07:36 -07:00
Fredrik Roubert
5d6d29b76a
ICU-20601 Remove superfluous semicolons (-Wextra-semi-stmt).
...
These are the same changes for the C++ code as was done for the C code
by commit 17606e0345
.
2019-08-15 12:30:21 +02:00
Andy Heninger
afa9b9b48e
ICU-20588 UMutex, add cleanup of underlying mutexes, and simplify usage model
2019-05-24 13:24:59 -07:00
Andy Heninger
b772241b52
ICU-20520 UMutex refactoring.
...
- Use STATIC_NEW for mutex creation, to avoid order-of-destruction problems
by avoiding destruction altogether, while avoiding memory leak reports.
- Remove UConditionVar, replace with direct use of std::condition_variable
2019-05-07 13:50:49 -07:00
Andy Heninger
bc4bb89af2
ICU-20488 mutex static constructor fixes.
...
Remove the dependencies from the ICU library code on static constructors
that were introduced by using std::mutex and condition variables. The
mutexes are lazily initialized by embedding them as local static variables
in getter functions, and relying on the C++ compiler/runtime to do thread
safe initialization of them.
2019-03-12 09:52:16 -07:00
Markus Scherer
0f7c4c8ed9
ICU-13081 remove C++ moveFrom() functions: still draft, but obsolete since we require C++11 which has std::move()
2019-02-06 13:36:53 -08:00
Fredrik Roubert
440d8b3be8
ICU-20202 Replace UVector with MemoryPool in CalendarDataSink.
...
CalendarDataSink doesn't use any of the additional functionality
provided by UVector, it just needs a simple way to keep track of
allocated objects to delete them after it's done using them.
2018-10-30 17:01:10 +01:00
Daniel Ju
b13c951348
ICU-20043 ICU-13214 ICU-13764 MSVC W3 and W4 warning cleanup ( #53 )
...
Cleaned up all of the MSVC W3 warnings and most of the W4 warnings in the common and i18n projects.
2018-09-27 14:27:38 -07:00
Felipe Balbontín
45eaf65700
ICU-13380 Fix memory leak in DateFormatSymbols when loading AmPmMarkers and AmPmMarkersAbbr from the resource bundle.
...
X-SVN-Rev: 40525
2017-10-03 01:25:20 +00:00
Markus Scherer
5a13a8ca58
ICU-12992 return raw pointers not pointer wrappers
...
X-SVN-Rev: 39729
2017-03-03 22:42:52 +00:00
Markus Scherer
031be51911
ICU-12992 move Char16Ptr to new char16ptr.h; change non-UnicodeString C++ functions from raw pointers to Char16Ptr where possible
...
X-SVN-Rev: 39716
2017-03-01 05:52:24 +00:00
Andy Heninger
242e02c388
ICU-12764 icu4c utf-8 source files, update Copyright notices.
...
X-SVN-Rev: 39583
2017-01-20 00:20:31 +00:00
Steven R. Loomis
6825277072
ICU-12752 commit some IBM z fixes. Library code building
...
X-SVN-Rev: 39368
2016-09-27 23:39:01 +00:00
Shane Carr
d88a4109a5
ICU-11912 Adding more efficient implementation of getDisplayNames(), which was already present in Java
...
X-SVN-Rev: 39041
2016-08-11 23:29:51 +00:00
Felipe Balbontín
ef59675c47
ICU-12614 DateFormatSymbols resource bundle data loading update. Remove unused variables.
...
X-SVN-Rev: 39019
2016-07-25 22:53:35 +00:00
Felipe Balbontín
7708a760c0
ICU-12614 DateFormatSymbols resource bundle data loading update. Fix memory leak in MessageFormat.
...
X-SVN-Rev: 38973
2016-07-15 23:17:01 +00:00
Felipe Balbontín
578ec591e0
ICU-12614 DateFormatSymbols resource bundle data loading update. Fix memory leak.
...
X-SVN-Rev: 38971
2016-07-14 21:21:01 +00:00
Felipe Balbontín
959d1ed1e0
ICU-12614 DateFormatSymbols resource bundle data loading updated to use the ResourceSink.
...
X-SVN-Rev: 38967
2016-07-13 18:38:15 +00:00
Felipe Balbontín
bfe100bab8
ICU-12614 Rollback of: DateFormatSymbols resource bundle data loading updated to use the ResourceSink.
...
X-SVN-Rev: 38963
2016-07-08 23:31:15 +00:00
Felipe Balbontín
f6b7511c46
ICU-12614 DateFormatSymbols resource bundle data loading updated to use the ResourceSink: fixed broken build.
...
X-SVN-Rev: 38962
2016-07-08 22:19:26 +00:00
Felipe Balbontín
3928bf64d7
ICU-12614 DateFormatSymbols resource bundle data loading updated to use the ResourceSink.
...
X-SVN-Rev: 38961
2016-07-08 21:17:15 +00:00
Shane Carr
ad409a250e
ICU-11912 TimeZoneNames data sink implementation in C++.
...
X-SVN-Rev: 38960
2016-07-08 18:16:21 +00:00
Michael Ow
61607c2773
ICU-12564 Update copyright notice in trunk
...
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Yoshito Umaoka
00ca13e126
ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
...
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f
ICU-12564 Update copyright notice in ICU4C
...
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
kazède king
f713c0687c
ICU-11872 new time formatting pattern chars b/B
...
Merging from the branch.
X-SVN-Rev: 38370
2016-02-25 19:51:53 +00:00
Jungshik Shin
f7de66ef4e
ICU-12129 fix C4138 warning from MSVC
...
X-SVN-Rev: 38362
2016-02-25 01:49:48 +00:00
Fredrik Roubert
7f4b8d106b
ICU-12012 Replace all sizeof p / sizeof *p with UPRV_LENGTHOF().
...
R=markus.icu@gmail.com
Review URL: https://codereview.appspot.com/285520043 .
X-SVN-Rev: 38337
2016-02-23 10:40:09 +00:00
Peter Edberg
49d4ab5ee6
ICU-11773 Withdraw COLON as pattern char, leave support for UDAT_TIME_SEPARATOR_FIELD (C)
...
X-SVN-Rev: 37898
2015-09-07 22:39:49 +00:00
Peter Edberg
3076cb2149
ICU-11510 C: Support narrow AM/PM "aaaaa" for date format and parse
...
X-SVN-Rev: 37124
2015-03-04 05:43:28 +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
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
Travis Keep
4860c7e5b7
ICU-11139 Add JAVA DateFormat factory methods to C++
...
X-SVN-Rev: 36745
2014-11-18 00:43:49 +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
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
dbcf79f57b
ICU-10799 ICU initialization code, review & cleanup.
...
X-SVN-Rev: 35649
2014-04-23 23:22:13 +00:00
Peter Edberg
30e8bc452d
ICU-10637 Format/parse using 'r' related gregorian year, C changes part 1 (still need correct num fmt & tests)
...
X-SVN-Rev: 35341
2014-03-05 11:51:05 +00:00
Yoshito Umaoka
87158d4fba
ICU-9867 New time zone pattern letters/types support for CLDR 23/ICU 51.
...
X-SVN-Rev: 33159
2013-02-11 00:23:55 +00:00
Peter Edberg
54098be451
ICU-9497 Add support for short weekday names: format, parse, get/set symbols (C)
...
X-SVN-Rev: 33047
2013-01-14 04:48:51 +00:00
Markus Scherer
af439c67de
ICU-9789 lenient date/time parsing: accept missing or added trailing dot after non-numeric fields; refactor isNumeric() logic
...
X-SVN-Rev: 32962
2012-12-14 06:35:11 +00:00
Andy Heninger
803ac8f33c
ICU-9461 Mutex Implementation Rework, merge from devel branch.
...
X-SVN-Rev: 32530
2012-10-05 21:22:02 +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
Yoshito Umaoka
1641940f00
ICU-8513 Merging TimeZoneNames/TimeZoneFormat APIs (as 49 technology preview) into trunk.
...
X-SVN-Rev: 31469
2012-02-21 11:06:50 +00:00
Peter Edberg
60152763f3
ICU-9110 Add date format functions to set/get context, use when formatting
...
X-SVN-Rev: 31458
2012-02-21 01:29:50 +00:00
Peter Edberg
0ab713c4fb
ICU-8959 Add UDAT_YEAR_NAME_FIELD for pattern char 'U', implement format/parse for it (C)
...
X-SVN-Rev: 31215
2012-01-17 08:06:29 +00:00
Peter Edberg
122a779de8
ICU-8958 Review fixes - better handling of error conditions
...
X-SVN-Rev: 31099
2011-12-12 20:03:05 +00:00
Michael Ow
9cc995e9cd
ICU-8718 Fix missing fLeapMonthPatterns when using copy constructor
...
X-SVN-Rev: 31098
2011-12-12 19:29:27 +00:00
Michael Ow
579059e902
ICU-8718 Fix memory leak caused by not deleting fLeapMonthPatterns
...
X-SVN-Rev: 31096
2011-12-12 17:18:19 +00:00
Peter Edberg
6dbcc24060
ICU-8958 integrate changes from cldrbug 4130:; add monthPatterns support to
...
DateFormatSymbols, use it to format leap months; ignore pattern char 'l'; add tests.
X-SVN-Rev: 31039
2011-12-06 08:00:44 +00:00
Yoshito Umaoka
4d7569c743
ICU-8342 Refactoring ZoneStringFormat into TimeZoneNames and TimeZoneFormat (all internal APIs for now). Also supporting localized GMT zero format and fallback region format for generic names.
...
X-SVN-Rev: 29984
2011-05-03 14:59:01 +00:00