Commit Graph

148 Commits

Author SHA1 Message Date
Alan Liu
e69f0eaec3 ICU-3748 refactor more
X-SVN-Rev: 15305
2004-05-14 02:55:30 +00:00
Alan Liu
a07ec0bc42 ICU-3748 refactor
X-SVN-Rev: 15295
2004-05-13 21:10:45 +00:00
Alan Liu
c59e708381 ICU-3549 handle resultLength==0
X-SVN-Rev: 15078
2004-04-28 05:29:40 +00:00
Steven R. Loomis
90f70b1cee ICU-2487 more warning cleanup, move a function out of public headers
X-SVN-Rev: 14999
2004-04-16 20:29:09 +00:00
Steven R. Loomis
4e04fc6c2b ICU-2487 add internal function for creating enumerator based on keyword list
X-SVN-Rev: 14950
2004-04-13 17:26:33 +00:00
Vladimir Weinstein
e6a12abf1e ICU-2438 fix EBCDIC keyword detection bug
X-SVN-Rev: 14314
2004-01-14 16:31:52 +00:00
George Rhoten
fb11ca2159 ICU-3222 Fix some compiler warnings.
X-SVN-Rev: 14309
2004-01-13 00:12:10 +00:00
George Rhoten
b9072652ab ICU-3222 Fix some compiler warnings.
X-SVN-Rev: 14308
2004-01-13 00:09:55 +00:00
George Rhoten
032af66f13 ICU-2942 Increase code coverage and fix some errors
X-SVN-Rev: 14261
2004-01-08 21:14:31 +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
99666f944d ICU-3360 iso-639 sync
X-SVN-Rev: 14075
2003-12-10 18:27:59 +00:00
George Rhoten
a1578a9fa1 ICU-3360 iso-639 sync is mostly done. Commit what I have right now.
X-SVN-Rev: 14072
2003-12-10 03:04:56 +00:00
Ram Viswanadha
c8a8895bcb ICU-2938 fix compiler warning
X-SVN-Rev: 13875
2003-11-25 04:11:15 +00:00
George Rhoten
cae8fd3dd3 ICU-2438 Don't use // in C files.
X-SVN-Rev: 13872
2003-11-25 00:48:27 +00:00
Vladimir Weinstein
3e3d7224cb ICU-2438 keyword support for uloc_getDisplayName
X-SVN-Rev: 13866
2003-11-25 00:04:37 +00:00
George Rhoten
fa247de652 ICU-3259 Fix a memory leak, and reformat the code to use 4 space indentation according to the ICU coding guidelines.
X-SVN-Rev: 13755
2003-11-19 01:22:24 +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
George Rhoten
50c5a51ab2 ICU-2942 Make some changes based on the code review
X-SVN-Rev: 13700
2003-11-12 23:42:12 +00:00
Vladimir Weinstein
897b88f618 ICU-2438 keyword API change, test update and a bugfix in uresbund.c
X-SVN-Rev: 13677
2003-11-12 06:10:59 +00:00
Vladimir Weinstein
0068eaf3b2 ICU-2438 better checking on keyword retrieval
X-SVN-Rev: 13666
2003-11-11 21:36:48 +00:00
Ram Viswanadha
c93625a460 ICU-2938 add uloc_getDisplayKeywords, uloc_getDisplayKeywordValue, uset_applyPattern
X-SVN-Rev: 13615
2003-11-07 02:38:19 +00:00
George Rhoten
09105d9c9a ICU-2942 Create uloc_canonicalize
X-SVN-Rev: 13528
2003-10-29 22:29:19 +00:00
Vladimir Weinstein
3d2215268d ICU-2438 uloc_getLocaleNoKeywords (for resource bundles), support for canonizing ICU variants to keywords (disabled).
X-SVN-Rev: 13473
2003-10-22 18:53:54 +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
Vladimir Weinstein
55af1fed15 ICU-2438 uloc_getKeywordValue implementation - trim trailing spaces
X-SVN-Rev: 13416
2003-10-14 21:22:42 +00:00
Vladimir Weinstein
ab1391190b ICU-2438 uloc_getKeywords, uloc_getKeywordValue implementation
X-SVN-Rev: 13405
2003-10-14 06:08:15 +00:00
George Rhoten
9969e5abe2 ICU-2942 Test getDisplayName
X-SVN-Rev: 13345
2003-10-07 19:51:31 +00:00
George Rhoten
c2fbe47c86 ICU-2942 Don't go off the end of the string.
X-SVN-Rev: 13325
2003-10-06 21:13:54 +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
Ram Viswanadha
05ee82acf2 ICU-2947 make root locale language neutral
X-SVN-Rev: 13226
2003-09-27 01:09:40 +00:00
George Rhoten
2fb801f008 ICU-2801 Fix a compiler warning
X-SVN-Rev: 12548
2003-06-23 22:09:43 +00:00
George Rhoten
7cd8fbc13f ICU-2801 Use locmap.c on all platforms instead of locale data for LCID mappings.
X-SVN-Rev: 12537
2003-06-22 12:16:01 +00:00
George Rhoten
7d08eb719d ICU-2699 Fix some compiler warnings
X-SVN-Rev: 12175
2003-05-29 21:51:14 +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
Andy Heninger
bdd7442d57 ICU-2787 Locale thread safety.
X-SVN-Rev: 11804
2003-05-05 23:21:48 +00:00
Markus Scherer
bbf546a40e ICU-2439 fix display name lookups to not fallback through the default locale
X-SVN-Rev: 11712
2003-04-25 22:56:51 +00:00
George Rhoten
6bb4571495 ICU-2138 Various locale updates
X-SVN-Rev: 11404
2003-03-27 06:34:58 +00:00
George Rhoten
5ae9046b7b ICU-2704 Fix a compiler warning
X-SVN-Rev: 11233
2003-03-04 19:03:17 +00:00
George Rhoten
f8341c0598 ICU-2704 Fix a warning
X-SVN-Rev: 11187
2003-02-28 17:06:10 +00:00
George Rhoten
2a1a26d193 ICU-2120 Improve the performance of some functions.
X-SVN-Rev: 11184
2003-02-28 05:59:24 +00:00
George Rhoten
67725ff09d ICU-2704 Use a smaller and faster way to get the list of available locales.
X-SVN-Rev: 11147
2003-02-25 01:49:34 +00:00
GCL Shanghai
2fab4a8cb7 ICU-1953 backout buffer overflow changes
X-SVN-Rev: 9070
2002-07-09 12:47:45 +00:00
GCL Shanghai
6348e12895 ICU-1953 test for buffer overflows
X-SVN-Rev: 9044
2002-07-06 10:58:51 +00:00
George Rhoten
4b1124162c ICU-1906 Update TP/TMP -> TL/TLS for East Timor
X-SVN-Rev: 8651
2002-05-21 21:06:07 +00:00
George Rhoten
e2508f1293 ICU-1896 Add dynamic locale list creation.
X-SVN-Rev: 8602
2002-05-13 20:29:31 +00:00
George Rhoten
7f87b5724e ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 8539
2002-04-30 17:22:11 +00:00
Vladimir Weinstein
c96dbd3c94 ICU-1492 fixed reference counting for resource bundles
X-SVN-Rev: 8484
2002-04-17 21:19:38 +00:00
George Rhoten
036879caf2 ICU-1731 Update ROM -> ROU
X-SVN-Rev: 7793
2002-02-26 23:53:26 +00:00
George Rhoten
0c41e609dc ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 7711
2002-02-19 23:50:19 +00:00
George Rhoten
e33da55324 ICU-1499 Change LocaleID from string -> int.
X-SVN-Rev: 7599
2002-02-08 01:08:50 +00:00
Vladimir Weinstein
1b0596cd30 ICU-1541 consistently added U_CAPI & U_EXPORT2 to all the declarations and definitions
X-SVN-Rev: 7038
2001-11-21 01:02:11 +00:00
George Rhoten
f0a6e2a682 ICU-900 Fixed some compiler warnings
X-SVN-Rev: 7002
2001-11-20 00:30:00 +00:00
Markus Scherer
481627e65c ICU-1276 untabify, fix indentation, have combined copy&count helper function
X-SVN-Rev: 6907
2001-11-15 01:13:10 +00:00
George Rhoten
2a43cb638e ICU-900 Fixed some lint warnings.
X-SVN-Rev: 6573
2001-11-02 02:43:22 +00:00
George Rhoten
fc1afdb78c ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 6237
2001-10-15 17:28:01 +00:00
Steven R. Loomis
6222b1e2ba ICU-1276 updated ISO codes, 3->2 mapping, obsolete codes
X-SVN-Rev: 6234
2001-10-14 00:24:34 +00:00
Markus Scherer
74cfc16466 ICU-1268 use ures_openDirect() for non-locale resource bundles
X-SVN-Rev: 6177
2001-10-11 00:50:26 +00:00
George Rhoten
c8712487d3 ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 6135
2001-10-09 21:58:57 +00:00
Markus Scherer
166f9208c8 ICU-1109 rewrite for new NUL-termination; more error checking, better efficiency, less code duplication
X-SVN-Rev: 5998
2001-10-02 23:50:23 +00:00
George Rhoten
33a356678a ICU-770 More memory cleanup (removing memory warnings)
X-SVN-Rev: 5941
2001-09-27 20:39:07 +00:00
George Rhoten
e0858844f3 ICU-770 More memory cleanup (removing memory warnings)
X-SVN-Rev: 5923
2001-09-25 23:12:28 +00:00
George Rhoten
05d9fa9e57 ICU-1099 Make some data a bit more const
X-SVN-Rev: 5711
2001-09-07 00:54: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
bfdd40abc8 ICU-770 Allocate less memory.
X-SVN-Rev: 5668
2001-08-31 21:58:05 +00:00
George Rhoten
8f2c4bfb65 ICU-770 More data cleanup
X-SVN-Rev: 5651
2001-08-31 02:14:47 +00:00
George Rhoten
38360539d4 ICU-770 Internal cleanup API naming scheme changed.
X-SVN-Rev: 5584
2001-08-25 01:09:11 +00:00
George Rhoten
4bc449ea45 ICU-1099 Change a pointer to const data array to a const array
X-SVN-Rev: 5578
2001-08-24 16:43:12 +00:00
George Rhoten
b08b152396 ICU-1099 Undo const to some static data
X-SVN-Rev: 5574
2001-08-24 01:38:04 +00:00
George Rhoten
66288afa66 ICU-1099 Add const to some static data
X-SVN-Rev: 5571
2001-08-24 00:22:07 +00:00
George Rhoten
f850ad2c5e ICU-770 Change code for u_cleanup() API.
X-SVN-Rev: 5462
2001-08-11 00:29:58 +00:00
George Rhoten
5ff95ae4c6 ICU-900 Removed unused functions
X-SVN-Rev: 5113
2001-06-27 22:32:49 +00:00
George Rhoten
018d8c2622 ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 4371
2001-03-28 01:23:41 +00:00
George Rhoten
8743b43294 ICU-610 Don't use deprecated APIs
X-SVN-Rev: 4247
2001-03-21 23:48:41 +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
5659f01e6f ICU-535 Fixed some compiler warnings
X-SVN-Rev: 3715
2001-02-21 23:50:16 +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
da118a5ad2 ICU-66 Fixed an initialization problem
X-SVN-Rev: 3646
2001-02-16 21:44:30 +00:00
George Rhoten
a2a281a5fb ICU-535 Fixed some compiler warnings
X-SVN-Rev: 3448
2001-01-23 01:42:13 +00:00
George Rhoten
ccdc82a514 ICU-564 Updated some comments and fixed a static memory leak.
X-SVN-Rev: 2460
2000-09-20 18:09:07 +00:00
George Rhoten
c094c8a0eb ICU-535 fixed some compiler warnings
X-SVN-Rev: 2181
2000-08-11 01:27:17 +00:00
George Rhoten
a34fe9a10a ICU-535 fixed some compiler warnings
X-SVN-Rev: 2164
2000-08-10 01:59:18 +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
Yves Arrouye
bff1b2e05c ICU-353 use better names to replace index, depending on what the func/
method actually does with it (for example: n to get the nth element, offset
within a buffer, etc.).

X-SVN-Rev: 1131
2000-04-14 05:22:29 +00:00
Yves Arrouye
c69c164be8 ICU-353 basic warnings cleanup (not touching object's memory layout). A
basic build now compiles w/o a single warning on Linux. One with --enable-strict
is a different matter...

X-SVN-Rev: 1124
2000-04-13 23:00:43 +00:00
Markus Scherer
eb3ba827c6 ICU-312 jitterbug 136: new UnicodeString memory allocation/aliasing implementation
X-SVN-Rev: 1012
2000-03-29 01:13:49 +00:00
Markus Scherer
6074e7bad6 ICU-338 minor 'glitches' found in OS/2 port
X-SVN-Rev: 987
2000-03-24 17:45:45 +00:00
Vladimir Weinstein
7f73adbf34 ICU-12 corrected errors due to merging
X-SVN-Rev: 474
1999-12-29 00:18:52 +00:00
Vladimir Weinstein
8e21f86812 ICU-12 all public include files are now in unicode dir, all private icu_ functions renamed to uprv_
X-SVN-Rev: 472
1999-12-28 23:39:02 +00:00
Helena Chapman
c8da701063 ICU-142 In getLanguage(), instead of hardcode the results for
"he" locale to "iw", just let it pass through.

X-SVN-Rev: 464
1999-12-28 20:26:07 +00:00
Markus Scherer
4694b93a81 ICU-146 deprecate uloc_get/setDataDirectory()
X-SVN-Rev: 409
1999-12-14 19:14:27 +00:00
Steven R. Loomis
363ee387f6 ICU-161 (c)opyright notices
X-SVN-Rev: 362
1999-12-09 23:27:55 +00:00
Vladimir Weinstein
695dce92f3 ICU-157 making tools independent form icudata.dll
X-SVN-Rev: 282
1999-12-02 23:26:44 +00:00
Markus Scherer
9e4c1ad754 ICU-87 rename icu_getDefaultDataDirectory() to u_[get|set]DataDirectory()
X-SVN-Rev: 184
1999-11-18 22:50:13 +00:00
Markus Scherer
07a2bc0937 ICU-6 more renaming of constant names
FAILURE -> U_FAILURE etc.

X-SVN-Rev: 76
1999-10-18 22:48:32 +00:00
Markus Scherer
b942cae860 ICU-6 change enum constants that do not conform to our naming conventions
X-SVN-Rev: 18
1999-10-07 00:07:53 +00:00
Unknown User
aa0b0a88e8 Initial revision
X-SVN-Rev: 2
1999-08-16 21:50:52 +00:00