Commit Graph

181 Commits

Author SHA1 Message Date
George Rhoten
b015ef5d41 ICU-4288 Fix some compiler warnings.
X-SVN-Rev: 18159
2005-07-07 17:50:37 +00:00
Ram Viswanadha
91927ed23f ICU-4450 fix problem with aliases
X-SVN-Rev: 17756
2005-06-01 01:23:19 +00:00
Vladimir Weinstein
7f54382521 ICU-4516 don't use C++ comments in C files
X-SVN-Rev: 17604
2005-05-17 06:07:40 +00:00
Vladimir Weinstein
3c7069d108 ICU-4516 enable CLDR style aliases
X-SVN-Rev: 17597
2005-05-17 00:09:28 +00:00
Vladimir Weinstein
ac51e19921 ICU-4122 change xpath convention from '//' to '/LOCALE/' and make it actually follow fallback
X-SVN-Rev: 17447
2005-04-01 07:57:40 +00:00
George Rhoten
8903eae414 ICU-4425 Fix a variable name typo
X-SVN-Rev: 17397
2005-03-25 19:38:41 +00:00
George Rhoten
d860f22457 ICU-4425 Remove the uninitialized memory copy Purify warning, and speed up resource bundle traversal to offset any performance hits.
X-SVN-Rev: 17336
2005-03-15 00:03:58 +00:00
Vladimir Weinstein
6fb21fed8a ICU-4122 xpath support in resource bundles
X-SVN-Rev: 17301
2005-03-09 00:00:34 +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
65e90ef307 ICU-4102 Improve multi-level aliasing with fallbacks.
We only need to know that the length of the string is >0.

X-SVN-Rev: 16904
2004-12-02 07:27:34 +00:00
Vladimir Weinstein
5544bc1710 ICU-3763 fix path stomping when parent == fill-in
X-SVN-Rev: 16606
2004-10-23 00:19:39 +00:00
Vladimir Weinstein
09f8ca5624 ICU-4102 fix ures_getByKeyWithFallback for aliased resources
X-SVN-Rev: 16603
2004-10-22 23:13:12 +00:00
Steven R. Loomis
21c45aad7e ICU-4144 make getFunctionalEquivalent return the minimal locale
X-SVN-Rev: 16567
2004-10-19 22:53:58 +00:00
George Rhoten
9fe39e1c8c ICU-3805 Break putil.h/utypes.h header file dependancy loop
X-SVN-Rev: 16529
2004-10-18 02:43:33 +00:00
George Rhoten
07b125019f ICU-4102 Improve multi-level aliasing with fallbacks.
X-SVN-Rev: 16525
2004-10-17 16:58:33 +00:00
George Rhoten
8318ed5467 ICU-4102 Improve multi-level aliasing with fallbacks.
X-SVN-Rev: 16524
2004-10-17 05:16:23 +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
18ffb7c81f ICU-3963 Make sure that better symbol names are exported for urename.h
X-SVN-Rev: 16333
2004-09-16 04:00:12 +00:00
Vladimir Weinstein
0314c356b1 ICU-4102 Fix direct access handling of aliases
X-SVN-Rev: 16326
2004-09-14 23:35:32 +00:00
Steven R. Loomis
2dc9cb9c98 ICU-3841 change in ures_open behavior & client fix
X-SVN-Rev: 16238
2004-09-01 01:17:47 +00:00
Markus Scherer
53e086dc9a ICU-4078 disentangle conversion and properties code some from other parts of the common library
X-SVN-Rev: 16193
2004-08-26 22:51:40 +00:00
Ram Viswanadha
cbe2b49624 ICU-3925 fix access violation
X-SVN-Rev: 16158
2004-08-13 20:32:07 +00:00
Ram Viswanadha
d95bb2171f ICU-3635 handle _PREEURO correctly
X-SVN-Rev: 15680
2004-06-03 17:44:02 +00:00
Steven R. Loomis
a92b8bdb8c ICU-2487 use a sub-status in ures_openDirect so an incoming warning doesn't turn into an error.
X-SVN-Rev: 15525
2004-05-25 05:41:20 +00:00
Eric Mader
14fbb48bf9 ICU-3770 Updated copyright notices for ICU 3.0
X-SVN-Rev: 15385
2004-05-18 22:01:41 +00:00
Steven R. Loomis
68d8397b89 ICU-2487 getfunctionalequivalent fixes
X-SVN-Rev: 15358
2004-05-18 02:01:17 +00:00
Steven R. Loomis
3791575065 ICU-2487 fix resource bundle/mem leaks. Add error status.
X-SVN-Rev: 15253
2004-05-11 20:23:16 +00:00
Alan Liu
ae02d24abd ICU-3549 fix crash
X-SVN-Rev: 15050
2004-04-26 19:13:07 +00:00
Alan Liu
6beb8139f8 ICU-3549 typo
X-SVN-Rev: 15045
2004-04-24 03:45:25 +00:00
Alan Liu
fa27757571 ICU-3549 handle resultLength ptr == NULL
X-SVN-Rev: 15038
2004-04-24 02:53:25 +00:00
George Rhoten
4514814ae6 ICU-3718 Fix some memory leaks
X-SVN-Rev: 15028
2004-04-23 18:02:55 +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
2435461145 ICU-2487 fix warnings, clean up long lines
X-SVN-Rev: 14956
2004-04-14 17:59:00 +00:00
Steven R. Loomis
fd1bb652d3 ICU-2487 initial checkin of tree-manipulation utilities for service use. Note that this code has not yet been optimized.
X-SVN-Rev: 14951
2004-04-13 17:39:55 +00:00
Alan Liu
2e12dd0fa5 ICU-3668 make getters const
X-SVN-Rev: 14806
2004-03-30 23:17:44 +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
96377ea243 ICU-3222 Fix some compiler warnings.
X-SVN-Rev: 13901
2003-11-27 01:14:37 +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
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
a5cb6af9dd ICU-2080 ditched requested locale for resource bundles + a bug fix in fallback keyword (j 2438)
X-SVN-Rev: 13665
2003-11-11 21:36:24 +00:00
Vladimir Weinstein
d0370e2786 ICU-2438 support for resource based fallback lookup (internal API). Also some changes to ures_getLocaleByType (to be finished)
X-SVN-Rev: 13647
2003-11-08 08:30:31 +00:00
Vladimir Weinstein
3508ca8ec6 ICU-2080 bugfixes, ures_getLocaleByType implementation
X-SVN-Rev: 13633
2003-11-07 09:00:24 +00:00
George Rhoten
7dccac013f ICU-3115 Fix a compiler warning caused by last modification
X-SVN-Rev: 13487
2003-10-24 18:50:05 +00:00
Markus Scherer
ed80d8854b ICU-3115 allow res_findResource() to modify the path contents
X-SVN-Rev: 13463
2003-10-17 23:58:52 +00:00
Markus Scherer
79d9c79992 ICU-3115 support table32 resources for >64k key chars and >64k table items
X-SVN-Rev: 13184
2003-09-24 17:44:43 +00:00
George Rhoten
16c3f934e8 ICU-3111 Fix a memory leak when u_init is called, but the ures_* API isn't used.
X-SVN-Rev: 12650
2003-07-22 15:07:18 +00:00
Markus Scherer
b1d2d830bd ICU-2329 use the default converter for file paths, not invariant-character conversion, because paths contain variant characters like backslashes
X-SVN-Rev: 12584
2003-07-02 17:24:45 +00:00
George Rhoten
abeaf6c3fc ICU-2970 Initialize the mutexes in a safer way.
X-SVN-Rev: 12364
2003-06-06 22:50:26 +00:00
Andy Heninger
fef3374285 ICU-2970 ures_flushCache(), oops, lost { } on previous change.
X-SVN-Rev: 12323
2003-06-05 20:30:55 +00:00
Andy Heninger
02244350ed ICU-2970 threading failure. Tweak mutexing in uresbud. Improve thread error checking in tmsthred.
Switch windows thread creation to c library funcs.  Address (but not eliminate) resource memory leak.

X-SVN-Rev: 12316
2003-06-05 18:15:20 +00:00
Vladimir Weinstein
1b873e70cc ICU-2787 thread safety update
X-SVN-Rev: 12005
2003-05-19 20:44:08 +00:00
Vladimir Weinstein
3097e6c31f ICU-2835 fix for getNextString and getStringByIndex handling of aliased data
X-SVN-Rev: 11894
2003-05-12 18:24:56 +00:00
Vladimir Weinstein
1b9191b521 ICU-2835 fix for convenience ures_ APIs not following aliases
X-SVN-Rev: 11633
2003-04-23 06:59:29 +00:00
Markus Scherer
912673a5e4 ICU-2580 replace RES_ UResType constant names with URES_ names
X-SVN-Rev: 11564
2003-04-16 23:52:32 +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
cfbdea0e8a ICU-2710 Remove obsolete code
X-SVN-Rev: 11040
2003-02-14 01:33:13 +00:00
Vladimir Weinstein
387f59a820 ICU-2558 more fixes to status handling
X-SVN-Rev: 10617
2002-12-11 22:35:01 +00:00
Vladimir Weinstein
42a9879b66 ICU-2558 fixed resb code overwriting warning statuses
X-SVN-Rev: 10599
2002-12-11 01:39:59 +00:00
Vladimir Weinstein
1acbac0711 ICU-1941 aliasing more robust when data is absent - found while testing lipo
X-SVN-Rev: 9884
2002-09-18 06:04:31 +00:00
George Rhoten
d7e0797b2c ICU-2085 #ifdef out deprecated code
X-SVN-Rev: 9756
2002-08-21 19:12:24 +00:00
George Rhoten
de2774bc3c ICU-1739 Don't need to free on NULL memory.
X-SVN-Rev: 9648
2002-08-09 18:29:37 +00:00
Vladimir Weinstein
484b577415 ICU-1948 Fixed incorrectly assigning keys to directly accessed resources
X-SVN-Rev: 9440
2002-07-30 20:49:30 +00:00
George Rhoten
68c0c52375 ICU-900 Fix some compiler warnings.
X-SVN-Rev: 9206
2002-07-16 18:22:36 +00:00
George Rhoten
689f0888bd ICU-900 Fix some compiler warnings.
X-SVN-Rev: 9091
2002-07-11 15:19:00 +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
GCL Shanghai
80dfca0dc5 ICU-1953 remove Tabs
X-SVN-Rev: 9023
2002-07-03 11:59:21 +00:00
GCL Shanghai
b89c229c6e ICU-1953 change comments style and check 0/NULL
X-SVN-Rev: 8993
2002-07-02 15:10:30 +00:00
Eric Mader
898fd409f9 ICU-1953 remove // comments from C code. Fix indentation, removed tabs.
X-SVN-Rev: 8984
2002-07-01 18:04:55 +00:00
GCL Shanghai
1e188eca35 ICU-1953 Test for NULL after each uprv_malloc() or new
X-SVN-Rev: 8980
2002-06-29 09:31:05 +00:00
Vladimir Weinstein
dce5b17a3a ICU-1948 Support for direct resource access and resource level sharing (aliases)
X-SVN-Rev: 8934
2002-06-24 20:58:17 +00:00
Vladimir Weinstein
daa0a7488d ICU-1948 More support for resource level aliases
X-SVN-Rev: 8894
2002-06-14 06:35:09 +00:00
Vladimir Weinstein
36387b18a7 ICU-1948 Support for resource level aliases
X-SVN-Rev: 8893
2002-06-14 06:03:08 +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
Andy Heninger
d13e42d4e3 ICU-1737 thread safety problem with initialization lazy initialization of mutexs on first Lock.
X-SVN-Rev: 7885
2002-03-04 22:57:50 +00:00
George Rhoten
b5ff7eab60 ICU-1499 If I try to get a string on an int resource, return an error.
X-SVN-Rev: 7598
2002-02-08 00:52:08 +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
14014361e1 ICU-770 Couldn't properly fix this memory leak. See j1492 for details.
X-SVN-Rev: 6845
2001-11-13 22:27:53 +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
Vladimir Weinstein
e179814c37 ICU-1209 whle constructing the fallback chain, leading bundles with no information are skipped, so the returning bundle uses first existing data. getLocale can just access that data for name.
X-SVN-Rev: 6193
2001-10-11 18:46:18 +00:00
Markus Scherer
766f7a9e4a ICU-1268 "canonicalize" locale IDs in ures_open()
X-SVN-Rev: 6178
2001-10-11 00:51:18 +00:00
George Rhoten
3534bb0041 ICU-770 Memory cleanup
X-SVN-Rev: 6147
2001-10-10 18:05:10 +00:00
Vladimir Weinstein
06535ec153 ICU-1268 placeholder for ures_openDirect()
X-SVN-Rev: 6141
2001-10-10 01:13:01 +00:00
George Rhoten
40fdad00df ICU-392 Don't export as many symbols with a commonly used name.
X-SVN-Rev: 6030
2001-10-04 00:12:19 +00:00
Markus Scherer
1ad7e7a434 ICU-1198 small fixes to ures_getInt() - check type and use RES_GET_INT()
X-SVN-Rev: 5857
2001-09-21 00:02:24 +00:00
Vladimir Weinstein
e9fe410e8d ICU-1198 added different functions for getting signed and unsigned integers. Test to follow
X-SVN-Rev: 5762
2001-09-17 23:05:08 +00:00
George Rhoten
589ceba976 ICU-1100 Don't fail on ures_getIntVector and ures_getBinary any more.
X-SVN-Rev: 5687
2001-09-05 18:44:27 +00:00
George Rhoten
d71d803d0c ICU-770 More data cleanup and remove the mutex usage from the cleanup functions
X-SVN-Rev: 5647
2001-08-31 02:10:39 +00:00
George Rhoten
0cfce8dc4b ICU-1100 Properly handle binary and int vectors of size zero.
X-SVN-Rev: 5590
2001-08-27 18:51:43 +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
7b11ef88e4 ICU-900 Fixed some compiler warnings
X-SVN-Rev: 5493
2001-08-17 00:44:38 +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
Vladimir Weinstein
749a62ae93 ICU-1078 support for IntVector type in resource bundles
X-SVN-Rev: 5410
2001-08-01 17:08:07 +00:00
Vladimir Weinstein
d6693e4b66 ICU-1005 more resource bundle cleanup and greater test coverage, fixed faulty test
X-SVN-Rev: 5362
2001-07-27 17:15:30 +00:00
Vladimir Weinstein
7a55cc00da ICU-1005 increased code coverage for resbund. Decoupled rb collator from resource bundle. removed unneeded internal functions and classes
X-SVN-Rev: 5348
2001-07-26 18:36:57 +00:00
George Rhoten
3b7fbcb29e ICU-882 Final removal of deprecated API
X-SVN-Rev: 5206
2001-07-09 21:08:25 +00:00
Alan Liu
1c40f7aebd ICU-1023 upgrade uhash to support int32_t keys on platforms with sizeof(void*) < 32
X-SVN-Rev: 5196
2001-07-06 19:53:12 +00:00
Vladimir Weinstein
f9d494b482 ICU-934 fixed renaming of aliased entry so that cache cleanup would work properly
X-SVN-Rev: 5193
2001-07-06 04:36:08 +00:00
Markus Scherer
673be52f5e ICU-972 separate cwchar.h/.c from cstring.h/.c
X-SVN-Rev: 4799
2001-05-25 17:57:14 +00:00
George Rhoten
446cf8c769 ICU-597 Use the right buffer size when converting the path name.
X-SVN-Rev: 4493
2001-04-18 00:26:56 +00:00