Commit Graph

116 Commits

Author SHA1 Message Date
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
Markus Scherer
cc21ef7ba4 ICU-699 add StringEnumeration default implementations
X-SVN-Rev: 13612
2003-11-06 23:25:00 +00:00
Markus Scherer
e7251a2b04 ICU-699 add StringEnumeration default implementations
X-SVN-Rev: 13595
2003-11-05 22:00:21 +00:00
Markus Scherer
4b39629c43 ICU-699 add missing clone() functions
X-SVN-Rev: 13582
2003-11-05 02:26:49 +00:00
Vladimir Weinstein
f6a15b10ba ICU-2438 C++ implementation for getKeywords and getKeywordValue
X-SVN-Rev: 13423
2003-10-15 05:30:32 +00:00
George Rhoten
fd7d8e1dc5 ICU-2942 Partial implementation of locale script API. More testing to be done later.
X-SVN-Rev: 13315
2003-10-03 23:57:04 +00:00
George Rhoten
4d18bb2b4f ICU-3221 Fix the AIX linker warning about multiple definitions of virtual functions.
X-SVN-Rev: 12958
2003-08-27 01:01:42 +00:00
Andy Heninger
c78d5ede6d ICU-2871 Default Locale thread safety enhancements. Add cache of defaults that have been set.
X-SVN-Rev: 12669
2003-07-24 01:15:10 +00:00
Vladimir Weinstein
d5ffba4bb3 ICU-2974 a better way to disallow new X[0] in getAvailableLocales
X-SVN-Rev: 12345
2003-06-06 05:18:50 +00:00
Vladimir Weinstein
6e059f1475 ICU-2974 disallow new X[0]
X-SVN-Rev: 12343
2003-06-06 05:05:37 +00:00
Vladimir Weinstein
c9475e02ae ICU-2959 Updated copyright notices
X-SVN-Rev: 12246
2003-06-03 06:44:40 +00:00
George Rhoten
5161f4c5bd ICU-2787 Use uprv_getDefaultLocaleID in a thread safe manner
X-SVN-Rev: 12144
2003-05-28 22:41:01 +00:00
Markus Scherer
ab37e7a4c3 ICU-2864 if Locale construction fails, set the Locale object to bogus instead of attempting to set the default locale ID or "en" or similar
X-SVN-Rev: 11917
2003-05-14 00:30:50 +00:00
Andy Heninger
bf7b289aa0 ICU-2787 Locales, add checks for memory alloction failures.
X-SVN-Rev: 11900
2003-05-12 23:00:01 +00:00
George Rhoten
7ace7f019a ICU-2787 We must allow u_cleanup to be called twice, and to allow the library to be reinitialized.
X-SVN-Rev: 11877
2003-05-09 23:20:55 +00:00