Fredrik Roubert
c78d9fa137
ICU-20601 Add missing semicolons.
...
These are the same changes for the C++ code as was done for the C code
by commit aa60d4292e
.
2019-08-15 12:30:21 +02:00
Jeff Genovy
e72290c45e
ICU-13764 Add separate CI build that treats warnings as errors with clang.
...
This adds a separate CI build that enables -Werror for clang.
This also fixes all of the -Wall -Wextra warnings in the tests, and all the
-Wextra-semi warnings as well.
2019-07-30 22:10:02 -07: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
Andy Heninger
a03a52782e
ICU-20197 ICU4C Multithreaded tests cleanup
2019-02-20 15:30:23 -08:00
gnrunge
2b6b8c73c4
ICU-20119 urename.h update, header test fixes for icu 63 ( #165 )
...
* ICU-20119 Update and fixes for the following BRS tasks:
- Update urename.h
- Test uconfig.h variations
* ICU-20119 Updates copyright scanner script exclusions: don't scan ./git/*.
* ICU-20119 Changes in reply to comments for pull requst #165 .
2018-09-27 14:27:41 -07:00
Peter Edberg
f5defe757b
ICU-20119 63rc BRS, merge current unicode-icu master into cldr34a-integration branch
2018-09-27 14:27:41 -07:00
Peter Edberg
b6074fe044
ICU-20119 63rc BRS, integrate cldr 34-alpha2, part 1 icu4c
2018-09-27 14:27:41 -07:00
Andy Heninger
f90676c2bc
ICU-20104 Fix lazy init in Indian Calendar. Now matches other calendars. ( #108 )
...
* ICU-20104 Fix lazy init in Indian Calendar. Now matches other calendars.
* ICU-20104 export class IndianCalendar for testing.
* ICU-20104 shot-in-the-dark Windows build experiment.
* ICU-20104 fix memory leak in added test.
2018-09-27 14:27:40 -07:00
Norbert Runge
51688fda25
ICU-13667 Fixes compilation errors related to UCONFIG_NO_XXX flag variations.
...
X-SVN-Rev: 41494
2018-05-31 21:53:43 +00:00
Andy Heninger
dc3a13b459
ICU-13660 add atomic_inc & dec tests.
...
X-SVN-Rev: 41148
2018-03-23 22:51:39 +00:00
Andy Heninger
887071e232
ICU-13399 Fix thread race in the Unified Cache.
...
X-SVN-Rev: 40994
2018-02-27 19:27:42 +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
Peter Edberg
f82d62a85c
ICU-12729 CLDR release-30-d02 integration, merge icu4c branch into trunk
...
X-SVN-Rev: 39273
2016-09-19 05:09:40 +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
John Emmons
01e0c332a5
ICU-11846 CLDR 28 data integration
...
X-SVN-Rev: 37836
2015-08-27 20:23:27 +00:00
Travis Keep
0a10ba1d7e
ICU-11767 Fix brokenbuild.
...
X-SVN-Rev: 37730
2015-08-07 13:39:05 +00:00
Travis Keep
abb16f16c5
ICU-11767 Try to fix failing test.
...
X-SVN-Rev: 37728
2015-08-06 20:19:23 +00:00
Travis Keep
8b18741503
ICU-11767 Bound the ICU UnifiedCache.
...
X-SVN-Rev: 37723
2015-08-05 20:21:14 +00:00
Michael Ow
73e9defb72
ICU-11628 Fix some no data test failures
...
X-SVN-Rev: 37633
2015-06-30 23:45:58 +00:00
Michael Ow
58fd505a84
ICU-11628 Fix uconfig test failures
...
X-SVN-Rev: 37631
2015-06-30 17:20:55 +00:00
Andy Heninger
4651204fb5
ICU-11643 Several threading test cleanups.
...
X-SVN-Rev: 37395
2015-04-23 23:59:24 +00:00
Andy Heninger
67535f4a55
ICU-11603 Transliterator thread safety fixes.
...
X-SVN-Rev: 37342
2015-04-15 22:43:15 +00:00
Andy Heninger
dacaa0d337
ICU-11390 Remove static objects from intltest ThreadSafeFormat.
...
X-SVN-Rev: 36829
2014-12-09 01:27:53 +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
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
Travis Keep
d9af7aa3db
ICU-10802 Attempt to fix broken build.
...
X-SVN-Rev: 36215
2014-08-20 23:19:14 +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
Andy Heninger
96835f80a5
ICU-10948 Condition Variables, merged from development branch.
...
X-SVN-Rev: 36101
2014-07-29 23:18:47 +00:00
Michael Ow
c70512bdfe
ICU-10786 Ensure ICU 53 passes without data
...
X-SVN-Rev: 35462
2014-03-13 21:28:24 +00:00
Andy Heninger
d6cca740f2
ICU-10673 AnyTransliterator thread safety test, fix build failure on AIX.
...
X-SVN-Rev: 35255
2014-02-27 20:57:51 +00:00
Andy Heninger
52b3ba1caa
ICU-10673 AnyTransliterator thread safety fix.
...
X-SVN-Rev: 35248
2014-02-27 18:45:32 +00:00
Andy Heninger
cabbcecf5c
ICU-10624 Swat clang compile warnings.
...
X-SVN-Rev: 34861
2014-01-10 19:20:16 +00:00
Michael Ow
4835d5705a
ICU-10398 Ensure cintltst and intltest passes without data
...
X-SVN-Rev: 34398
2013-09-19 02:32:57 +00:00
Steven R. Loomis
358e1ddcd2
ICU-10376 fixup clang warnings
...
X-SVN-Rev: 34385
2013-09-18 20:08:25 +00:00
Michael Ow
90fd46df00
ICU-10345 Call adoptInstead instead of orphan to avoid memory leak
...
X-SVN-Rev: 34264
2013-09-11 00:03:06 +00:00
Steven R. Loomis
e5fac0714c
ICU-10345 make formatting of a Formattable currency thread safe.. by cloning. makes unum_formatDoubleCurrency also slow.
...
X-SVN-Rev: 34200
2013-09-05 05:32:56 +00:00
Andy Heninger
ae4350661b
ICU-10048 Fix some compiler warnings in ICU4C.
...
X-SVN-Rev: 33444
2013-03-21 01:42:01 +00:00
Markus Scherer
9f22b7cb11
ICU-9679 fix Clang 3.1 compiler warnings, all in test code, mostly adding integers to string literals
...
X-SVN-Rev: 32778
2012-11-09 00:09:28 +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
Dina Sayed
7dfc9d289a
ICU-9473 unit test for Arabic shaping is not thread safe
...
X-SVN-Rev: 32461
2012-09-28 16:43:12 +00:00
Markus Scherer
5f781dc97e
ICU-9437 switch MultithreadTest/TestCollators to C++ Collator as well, in sync with UCAConformanceTest
...
X-SVN-Rev: 32289
2012-08-29 16:26:42 +00:00
Markus Scherer
6876123c0e
ICU-9437 update to Unicode 6.2; merge in branches/markus/uni62 r32274
...
X-SVN-Rev: 32282
2012-08-28 23:37:10 +00:00
Markus Scherer
00dc45723c
ICU-9010 remove --disable-threads, move ICU_USE_THREADS out of uconfig.h into test code
...
X-SVN-Rev: 31911
2012-06-06 04:13:28 +00:00
Michael Ow
6be4ed022f
ICU-8452 Fix some more Cygwin MVSC and Cygwin GCC build issues
...
X-SVN-Rev: 30541
2011-08-18 18:47:16 +00:00
Markus Scherer
3bf88cd711
ICU-8452 consolidate definition of _XOPEN_SOURCE for access to POSIX functions; do not use __STDC_VERSION__ in C++ code where it is not defined
...
X-SVN-Rev: 30418
2011-07-25 21:02:32 +00:00