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
Fredrik Roubert
4bd1ee008c
ICU-20445 Pass ByteSink to ulocimp_addLikelySubtags().
2019-04-23 19:45:28 +02: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
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
Peter Edberg
0b5b91a70b
ICU-13366 Changes per Shane codereview comments
...
X-SVN-Rev: 40572
2017-10-05 20:36:07 +00:00
Peter Edberg
9ccab14af1
ICU-13366 part 1, fix TextTrieMap::search supplemental handling; make tz displayName buffer size bigger & logKnownIssue tests more specific
...
X-SVN-Rev: 40522
2017-10-02 03:42:54 +00:00
William Zhao
d847a21238
ICU-13275 Merge warning cleanup fixes into trunk
...
X-SVN-Rev: 40283
2017-07-22 01:11:59 +00:00
Markus Scherer
4c2fad3e36
ICU-12410 class Edits, class CaseMap with new low-level functions that work with Edits, simpler case properties code, some cleanup
...
X-SVN-Rev: 39684
2017-02-17 21:03:35 +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
Markus Scherer
3b23b78b95
ICU-12410 include what you use
...
X-SVN-Rev: 39553
2017-01-12 18:35:18 +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
Markus Scherer
bb5f37a069
ICU-7457 replace MessageFormat with SimpleFormatter where easy; remove obsolete ChoiceFormat handling of currency names; move LocaleDisplayNames & ucurr from i18n to common
...
X-SVN-Rev: 38200
2016-01-26 22:56:59 +00:00
Yoshito Umaoka
ebe09a9e69
ICU-11294 Changed SimpleDateFormat and other implementation to reduce malloc calls for common date formatting/parsing operations.
...
X-SVN-Rev: 37064
2015-02-25 03:24:19 +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
Andy Heninger
978f71fe78
ICU-10051 Mutexes: introduce UInitOnce; remove UMTX_CHECK; replace all uses of UMTX_CHECK.
...
X-SVN-Rev: 33787
2013-05-31 23:50:15 +00:00
Yoshito Umaoka
a73a199d84
ICU-10106 Removed the reference to fallbackRegionFormat that is no longer used.
...
X-SVN-Rev: 33529
2013-04-15 19:41:05 +00:00
Yoshito Umaoka
531924c9b4
ICU-9733 Use primary zone data (formerly singleCountries) for generic location names in ICU4C. This includes metaZones.txt generated from cldrbug:5439 changes (CLDR svn revision 8008).
...
X-SVN-Rev: 33012
2013-01-04 22:26:42 +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
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
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
Andy Heninger
5b3a708915
ICU-8992 Compiler Warning cleanup for gcc 4.6.1
...
X-SVN-Rev: 31329
2012-02-06 19:57:08 +00:00
Yoshito Umaoka
e9503bdade
ICU-8909 Fixed various warnings reported by a source code analysis tool.
...
X-SVN-Rev: 30958
2011-11-14 19:32:51 +00:00
Yoshito Umaoka
93cb17f386
ICU-8811 Removed the logic for supporting short commonly used time zone names.
...
X-SVN-Rev: 30668
2011-09-15 20:38:26 +00:00
Markus Scherer
2201fb816c
ICU-7877 optionally explicit UnicodeString constructors, and make them explicit inside ICU
...
X-SVN-Rev: 30293
2011-07-07 18:46:19 +00:00
Yoshito Umaoka
aaca2b7e95
ICU-8675 Fixed a time zone parse regression problem. The condition used for checking perfect match was wrong.
...
X-SVN-Rev: 30266
2011-07-01 21:07:32 +00:00
Markus Scherer
9f7d74001c
ICU-8605 document & test ICU4C dependencies, remove cycles, reduce some deps; merged from branches/markus/depstest -r 30155:30193
...
X-SVN-Rev: 30194
2011-06-03 05:23:57 +00:00
Yoshito Umaoka
3e6d2f0e18
ICU-8589 Corrected the condition for using country display name in a time zone partial name. Also updated the test case to parse the test date properly.
...
X-SVN-Rev: 30149
2011-05-26 20:56:15 +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