Commit Graph

130 Commits

Author SHA1 Message Date
Andy Heninger
517fd227cb ICU-9737 Remove singleton class, otherwise keep logic the same for thread safety fix.
X-SVN-Rev: 32908
2012-11-29 23:05:31 +00:00
Travis Keep
135c7adbdb ICU-9737 Fix Locale::getDefault() and Locale::setDefault() so that the reference that getDefault() returns doesn't get freed unexpectedly due to race conditions.
X-SVN-Rev: 32865
2012-11-19 17:02:46 +00:00
Markus Scherer
68aa38ad35 ICU-8668 add more parentheses, avoid warnings
X-SVN-Rev: 31105
2011-12-13 00:34:52 +00:00
Steven R. Loomis
2a751ff4e3 ICU-8668 add parenthesis
X-SVN-Rev: 31103
2011-12-12 23:35:07 +00:00
Abhinav Gupta
336ce31084 ICU-8668 Remove isalpha dependency
X-SVN-Rev: 31095
2011-12-12 16:16:15 +00:00
Abhinav Gupta
5373f49d27 ICU-8668 C, C++, restrict script to alphabetic in locale name.
X-SVN-Rev: 31031
2011-12-05 20:15:15 +00:00
John Emmons
42bbabf646 ICU-7605 Change locale ID canonicalization to not use double-underscore IDs
X-SVN-Rev: 30954
2011-11-11 20:29:33 +00:00
Markus Scherer
07035f8756 ICU-8731 move some @internal definitions to putilimp.h
X-SVN-Rev: 30433
2011-07-27 21:26:00 +00:00
Markus Scherer
2862296471 ICU-8454 virtual destructors should be explicit, and defined in a .cpp file, so that they can serve as key functions
X-SVN-Rev: 30423
2011-07-26 05:32:25 +00:00
Markus Scherer
1beb0f1e4f ICU-8680 require C++ namespace, replace most U_NAMESPACE_QUALIFIER with icu::, remove still-draft U_STD_NS, U_STD_NSQ, and U_STD_NS_USE
X-SVN-Rev: 30281
2011-07-06 04:03:35 +00:00
Markus Scherer
744d1f3a19 ICU-8617 move UHashTok into lower-level uelement.h (new) and rename to UElement to share with UVector
X-SVN-Rev: 30272
2011-07-04 23:51:56 +00:00
Markus Scherer
41c8654d92 ICU-8601 replace C U_INLINE hack with C++ inline, and also rename a few other .c files to .cpp for future UMTX_CHECK replacement
X-SVN-Rev: 30148
2011-05-26 20:05:39 +00:00
Steven R. Loomis
a1ea70071b ICU-7708 compiler warnings for 4.5.1 (batch 1)
X-SVN-Rev: 28103
2010-05-25 22:17:12 +00:00
Markus Scherer
ea551a1d7f ICU-7164 split locale API implementation into multiple files so that core locale ID .c/.cpp files (hopefully) do not depend on resource bundle code or data any more
X-SVN-Rev: 27685
2010-02-25 22:32:39 +00:00
Doug Felt
55d897493b ICU-7361 fix locid getVariant, fix display name translations for root
X-SVN-Rev: 27355
2010-01-21 02:45:53 +00:00
Doug Felt
18b87b0965 ICU-7342 add LocaleDisplayNames and rudimentary test. Fix Locale.getVariant problem and add test.
X-SVN-Rev: 27258
2010-01-14 02:23:46 +00:00
Fredrik Roubert
410a369ccc ICU-7252 add Locale::setKeywordValue() method and test case
X-SVN-Rev: 27143
2010-01-06 15:49:10 +00:00
Markus Scherer
d73228968d ICU-7247 use LocalMemory & MaybeStackArray in some places
X-SVN-Rev: 26964
2009-11-21 22:04:55 +00:00
George Rhoten
de6512a9c1 ICU-6132 Undo some unneccessary changes. Remove some tabs. Make sure that the UErrorCode is propagated when possible. When a UErrorCode is available, don't check for a NULL return value.
X-SVN-Rev: 23479
2008-02-23 19:15:18 +00:00
Michael Ow
3edc99506c ICU-6132 Check for memory allocation failures.
X-SVN-Rev: 23209
2008-01-11 20:56:55 +00:00
Eric Mader
bb4a371fdb ICU-5805 Update copyright notices for ICU 3.8
X-SVN-Rev: 22167
2007-07-27 03:12:12 +00:00
George Rhoten
d0084a7436 ICU-5427 Fix some Purify errors
X-SVN-Rev: 21273
2007-03-16 17:06:15 +00:00
George Rhoten
668854033c ICU-5349 Use UMTX_CHECK
X-SVN-Rev: 20690
2006-11-28 07:16:51 +00:00
George Rhoten
a7a3fe85db ICU-5349 Use UMTX_CHECK, and don't create the cache when it's not needed.
X-SVN-Rev: 20463
2006-09-30 17:52:33 +00:00
George Rhoten
b27729b208 ICU-5304 Allow source code to work again without using U_NAMESPACE_USE
X-SVN-Rev: 20240
2006-09-03 17:08:23 +00:00
Steven R. Loomis
4fe05cc273 ICU-5270 don't leave count uninitialized if null is returned
X-SVN-Rev: 19874
2006-07-21 21:58:09 +00:00
Eric Mader
a992570c40 ICU-4152 Initial check in of Windows formatting code!
X-SVN-Rev: 18963
2006-01-12 19:53:58 +00:00
Ram Viswanadha
b70227e2c7 ICU-4741 make compare functions for Hashtable and StringEnumeration general
X-SVN-Rev: 18788
2005-11-11 19:23:09 +00:00
Steven R. Loomis
5bd9b6f420 ICU-4703 BEAM fixes
X-SVN-Rev: 18435
2005-08-15 21:50:56 +00:00
Markus Scherer
0a0926e58f ICU-4514 pass 0 length to UnicodeString::releaseBuffer() when the buffer contents is undefined due to a U_FAILURE condition
X-SVN-Rev: 17972
2005-06-22 02:40:25 +00:00
George Rhoten
70b126c727 ICU-4288 Fix some compiler warnings.
X-SVN-Rev: 16927
2004-12-08 01:05:40 +00:00
George Rhoten
e2188e6775 ICU-4078 Decouple the cleanup functions from u_init and u_cleanup.
X-SVN-Rev: 16403
2004-10-06 23:10:53 +00:00
George Rhoten
896c3fb9e8 ICU-3905 Fix some compiler warnings.
X-SVN-Rev: 16341
2004-09-17 07:46:37 +00:00
George Rhoten
038f43c843 ICU-3905 Fix some compiler warnings.
X-SVN-Rev: 16196
2004-08-27 16:45:16 +00:00
George Rhoten
254eea3c6e ICU-4072 Explicitly use U_EXPORT2 to specify calling convention of static C++ code.
X-SVN-Rev: 16182
2004-08-24 17:21:14 +00:00
George Rhoten
8fe130dfa7 ICU-3500 Fix some compiler warnings
X-SVN-Rev: 15886
2004-06-15 22:59:27 +00:00
Steven R. Loomis
c4f2106a37 ICU-3748 fix for pointer math
X-SVN-Rev: 15379
2004-05-18 21:22:57 +00:00
Alan Liu
cc9a806769 ICU-3748 '=' must follow '@'
X-SVN-Rev: 15376
2004-05-18 20:07:05 +00:00
Alan Liu
a4627026a0 ICU-2487 avoid malloc in operator=
X-SVN-Rev: 15372
2004-05-18 16:51:01 +00:00
Steven R. Loomis
9e3f692944 ICU-2487 fix for crash in Locale
X-SVN-Rev: 15360
2004-05-18 02:03:19 +00:00
Alan Liu
d888ad57cf ICU-3748 add createCanonical
X-SVN-Rev: 15328
2004-05-15 05:10:07 +00:00
Alan Liu
eb4237ec2d ICU-3748 getName doesn't strip POSIX charset anymore, so handle it here
X-SVN-Rev: 15319
2004-05-14 22:44:55 +00:00
George Rhoten
ef91ad8baf ICU-3636 Fix parsing of variant and keyword values as the third and fourth parameter when no country is present.
X-SVN-Rev: 14645
2004-03-07 07:13:42 +00:00
Andy Heninger
cdbbd81e4a ICU-3039 assorted threading changes and cleanups, in search of the elusive
threading failure.

X-SVN-Rev: 14564
2004-02-23 04:36:02 +00:00
George Rhoten
a0e0dc5627 ICU-2942 Increase code coverage and fix some errors
X-SVN-Rev: 14256
2004-01-08 00:56:21 +00:00
Vladimir Weinstein
22f5dbb453 ICU-2438 missing implementation added, some warnings hopefully fixed
X-SVN-Rev: 14253
2004-01-07 08:23:39 +00:00
George Rhoten
560eb13f18 ICU-3222 Fix some compiler warnings
X-SVN-Rev: 13931
2003-12-02 01:57:20 +00:00
George Rhoten
11fbd6233b ICU-3222 Fix some compiler warnings.
X-SVN-Rev: 13929
2003-12-02 01:54:48 +00:00
Vladimir Weinstein
3e87dc487c ICU-3185 added uprv_ to some function calls
X-SVN-Rev: 13733
2003-11-14 23:01:06 +00:00
Vladimir Weinstein
3a49ed86f9 ICU-2438 getKeywords ->createKeywords, added Locale::getBaseName
X-SVN-Rev: 13702
2003-11-12 23:50:21 +00:00