Commit Graph

68 Commits

Author SHA1 Message Date
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
Andy Heninger
702663805e ICU-2787 Locale setDefault(), fix failing test - name too long.
X-SVN-Rev: 11875
2003-05-09 22:15:25 +00:00
Andy Heninger
0f04c4bf54 ICU-2787 Locale init thread safety. Not done yet, but not as broken as it was.
Also, add recursive mutex check & assertion failure on Windows

X-SVN-Rev: 11872
2003-05-09 21:25:07 +00:00
Andy Heninger
9322d12255 ICU-2787 Locale init thread safety
X-SVN-Rev: 11855
2003-05-08 23:56:37 +00:00
George Rhoten
029c9eae2f ICU-2729 Fix a memory allocation problem with the default locale.
X-SVN-Rev: 11667
2003-04-24 16:24:20 +00:00
George Rhoten
cfbdea0e8a ICU-2710 Remove obsolete code
X-SVN-Rev: 11040
2003-02-14 01:33:13 +00:00
George Rhoten
d7e0797b2c ICU-2085 #ifdef out deprecated code
X-SVN-Rev: 9756
2002-08-21 19:12:24 +00:00
Markus Scherer
156e2f983f ICU-1962 call UObject constructor at least in derived-class copy constructor to avoid compiler warnings
X-SVN-Rev: 9019
2002-07-02 23:58:34 +00:00
Markus Scherer
11948b52df ICU-1962 change UObject: RTTI pure virtual, remove other boilerplate for now
X-SVN-Rev: 8977
2002-06-29 00:04:16 +00:00
George Rhoten
7f87b5724e ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 8539
2002-04-30 17:22:11 +00:00
George Rhoten
f5f1fca9aa ICU-1811 Increase the code coverage of Locale:get methods (Found some typos)
X-SVN-Rev: 8254
2002-03-26 23:10:19 +00:00
Vladimir Weinstein
4596590d0c ICU-1735 changed setBogus to setToBogus, added an enum for getLocale argument
X-SVN-Rev: 7971
2002-03-13 05:14:56 +00:00
Vladimir Weinstein
0b2420adf3 ICU-1735 copy bogus property with assignment operator
X-SVN-Rev: 7811
2002-02-28 21:49:58 +00:00
Vladimir Weinstein
b57a64b909 ICU-1735 added setBogus and isBogus APIs
X-SVN-Rev: 7810
2002-02-28 21:32:28 +00:00
George Rhoten
41ffc2ef36 ICU-1733 Integrate some of the easier (and non-redundent) changes from Lotus.
X-SVN-Rev: 7802
2002-02-28 01:42:40 +00:00
George Rhoten
dab8330821 ICU-1264 Fix for AIX Visual Age C++
X-SVN-Rev: 6457
2001-10-26 18:41:52 +00:00
Alan Liu
8a98ee7a0e ICU-1023 change UHashKey to UHashTok and use for values as well
X-SVN-Rev: 6264
2001-10-16 18:31:13 +00:00
George Rhoten
c8712487d3 ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 6135
2001-10-09 21:58:57 +00:00
Helena Chapman
d816eefc57 ICU-1264 added namspace support where possible.
X-SVN-Rev: 6124
2001-10-08 23:26:58 +00:00
Markus Scherer
761c91b967 ICU-1256 make US::getCapacity() public and use it
X-SVN-Rev: 6089
2001-10-05 20:44:56 +00:00
George Rhoten
1f52ea04e5 ICU-1109 Fix for the case when the default locale is bad.
X-SVN-Rev: 6059
2001-10-04 22:35:49 +00:00
Markus Scherer
69ef11a7f5 ICU-1109 bug/memory fixes
X-SVN-Rev: 6018
2001-10-03 21:20:28 +00:00
Markus Scherer
f0e1b4d397 ICU-1109 bug/memory fixes
X-SVN-Rev: 6017
2001-10-03 21:14:36 +00:00
Markus Scherer
9e00e4eeb5 ICU-1109 partial rewrite for new NUL-termination; more error checking, better efficiency, less code duplication
X-SVN-Rev: 5999
2001-10-02 23:50:53 +00:00
George Rhoten
597b1d7ffd ICU-770 Better fix for Solaris
X-SVN-Rev: 5714
2001-09-07 17:28:45 +00:00
George Rhoten
b0aaeacced ICU-770 Fix for Solaris
X-SVN-Rev: 5713
2001-09-07 03:34:02 +00:00
George Rhoten
d41489ae47 ICU-770 Memory cleanup on potential memory leaks
X-SVN-Rev: 5709
2001-09-06 23:07:26 +00:00
George Rhoten
420c9b317c ICU-770 More data cleanup
X-SVN-Rev: 5678
2001-09-01 01:55:48 +00:00
George Rhoten
6669fa1672 ICU-1087 Add static keyword to the local variables
X-SVN-Rev: 5672
2001-08-31 23:08:48 +00:00
George Rhoten
0fa6d5c031 ICU-1087 HP/UX fix
X-SVN-Rev: 5554
2001-08-22 16:55:25 +00:00
George Rhoten
6316d0eded ICU-1087 AIX can't use reinterpret_cast<>
X-SVN-Rev: 5551
2001-08-21 00:00:31 +00:00
George Rhoten
06cec7cca5 ICU-1091 createFromName(NULL) should return the default Locale.
X-SVN-Rev: 5535
2001-08-18 00:07:08 +00:00
George Rhoten
14523214ee ICU-1087 Add LocaleProxy for source code compatibility and add new functions to access commonly used locales.
X-SVN-Rev: 5458
2001-08-10 22:36:26 +00:00
George Rhoten
a22ea7d8af ICU-919 Made some functions inline.
X-SVN-Rev: 5154
2001-07-02 20:26:33 +00:00
George Rhoten
bc0f2f0615 ICU-66 #if'd out leaky protected function that never really worked in the first place.
X-SVN-Rev: 4698
2001-05-17 15:30:07 +00:00
George Rhoten
65a1183e21 ICU-882 Forgot to remove the static fields for deprecation
and change sep -> #define SEP_UCHAR
and change sepchar -> #define SEP_CHAR

X-SVN-Rev: 4419
2001-03-31 00:49:03 +00:00
George Rhoten
27605f58d7 ICU-865 Removed what looks like debugging information
X-SVN-Rev: 4283
2001-03-22 20:13:23 +00:00
George Rhoten
41beb447d6 ICU-535 Fixed some compiler warnings.
X-SVN-Rev: 4255
2001-03-22 01:42:13 +00:00
George Rhoten
c4997713ef ICU-903 Updated the copyright notice
X-SVN-Rev: 4238
2001-03-21 20:44:20 +00:00
George Rhoten
b025489c99 ICU-865 conformance to the coding style guidlines
X-SVN-Rev: 4110
2001-03-15 22:12:51 +00:00
Steven R. Loomis
5f966a6171 ICU-860 3 char names, i-, x-
X-SVN-Rev: 4094
2001-03-15 07:09:09 +00:00
George Rhoten
e7361e31fb ICU-535 Fixed some compiler warnings
X-SVN-Rev: 3934
2001-03-07 02:43:22 +00:00
George Rhoten
a733836b79 ICU-882 #ifdef the deprecated API out.
X-SVN-Rev: 3907
2001-03-06 01:27:32 +00:00
Steven R. Loomis
480fc6e7fe ICU-860 cleaned up createFromName()
X-SVN-Rev: 3786
2001-02-26 20:06:52 +00:00
Steven R. Loomis
8e5d16290f ICU-860 support for i-,x-,@,. locales, Locale::createFromName(), fix bugs in uloc_getName
X-SVN-Rev: 3667
2001-02-17 13:33:57 +00:00
George Rhoten
b3e5c73338 ICU-535 Fixed some compiler warnings
X-SVN-Rev: 3545
2001-02-02 23:03:08 +00:00
Steven R. Loomis
9a254a047e ICU-508 fix Locale::TRADITIONAL_CHINESE constant
X-SVN-Rev: 1918
2000-07-17 23:33:38 +00:00
Helena Chapman
69ba12f77c ICU-351 Define UBool to be used in the APIs.
X-SVN-Rev: 1410
2000-05-18 22:08:39 +00:00
Vladimir Weinstein
c786b21d52 ICU-184 resource data files in memory mapped format (initial revision)
X-SVN-Rev: 1365
2000-05-15 18:39:17 +00:00