Commit Graph

51 Commits

Author SHA1 Message Date
Fredrik Roubert
7f4b8d106b ICU-12012 Replace all sizeof p / sizeof *p with UPRV_LENGTHOF().
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/285520043 .

X-SVN-Rev: 38337
2016-02-23 10:40:09 +00:00
Steven R. Loomis
7e6c572256 ICU-10774 fix a knownissue: Collator::getAvailableLocales calculation.
Also, replace uhash_nextElement's parameter "-1" with UHASH_FIRST for clarity.
Also, improve service registration debugging code

X-SVN-Rev: 36836
2014-12-09 23:54:56 +00:00
Markus Scherer
9f7d74001c ICU-8605 document & test ICU4C dependencies, remove cycles, reduce some deps; merged from branches/markus/depstest -r 30155:30193
X-SVN-Rev: 30194
2011-06-03 05:23:57 +00:00
Markus Scherer
c04082d93c ICU-8105 hardcode Unicode property names data (formatVersion 2); includes new dictionary-type tries (ByteTrie & UCharTrie see ticket #8167); merge branches/markus/tries -r 29040:29249
X-SVN-Rev: 29252
2010-12-31 18:21:36 +00:00
Andy Heninger
20e7751c2c ICU-6998 swat a bunch of compiler warnings.
X-SVN-Rev: 26288
2009-07-10 18:58:35 +00:00
Andy Heninger
9715eae02c ICU-4790 spoof impl merged to trunk.
X-SVN-Rev: 25534
2009-03-09 23:40:15 +00:00
George Rhoten
ffcb7ce01a ICU-6132 Recover from various hash table allocation errors.
X-SVN-Rev: 23394
2008-02-08 03:42:40 +00:00
George Rhoten
e5fc505f2e ICU-5511 Prevent uhash_equals from crashing by default
X-SVN-Rev: 20657
2006-11-15 00:13:51 +00:00
George Rhoten
290c62fdcd ICU-5208 Make it easier for dumb compilers to optimize the hashtable.
X-SVN-Rev: 19704
2006-06-11 22:13:56 +00:00
George Rhoten
a2f8361eb3 ICU-5208 Optimize C++ Hashtable allocation.
X-SVN-Rev: 19673
2006-05-27 07:33:10 +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
George Rhoten
f8ecf23b3b ICU-4092 Remove dead code.
X-SVN-Rev: 16980
2004-12-21 07:29:23 +00:00
George Rhoten
fd0d950183 ICU-4156 Test and fix getAvailableLocales for service registration.
X-SVN-Rev: 16622
2004-10-25 23:38:08 +00:00
Alan Liu
f30027fcca ICU-3664 replace unsafe casts to void* and int32_t with correct API calls
X-SVN-Rev: 15573
2004-05-27 02:11:08 +00:00
Eric Mader
a7def2c37f ICU-3473 Update copyright notices for ICU 2.8.
X-SVN-Rev: 14193
2003-12-19 21:29:27 +00:00
Steven R. Loomis
34b2b19a76 ICU-2424 added iputi and igeti for (int32,int32) hashtables
X-SVN-Rev: 14186
2003-12-19 02:17:39 +00:00
Andy Heninger
b82ae85b5e ICU-2011 U_ASSERT, fix incorrect assertion in uhash
X-SVN-Rev: 9288
2002-07-23 00:59:23 +00:00
Andy Heninger
0e23352a30 ICU-2011 U_ASSERT macro added
X-SVN-Rev: 9285
2002-07-22 23:24:55 +00:00
George Rhoten
f414b9c5d2 ICU-1891 Update for z/OS regarding U_CALLCONV.
All C callbacks should all be defined the same way.

X-SVN-Rev: 9107
2002-07-12 00:23:52 +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
a78f77abb4 ICU-1739 BoundsChecker is brain dead when dealing with unions sometimes.
X-SVN-Rev: 8179
2002-03-21 19:12:11 +00:00
George Rhoten
11f74ee29b ICU-597 This should be the right fix this time.
X-SVN-Rev: 7823
2002-03-01 01:30:35 +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
4d2ae0ff58 ICU-597 Hopefully this change will still work
X-SVN-Rev: 7701
2002-02-19 01:13:38 +00:00
George Rhoten
7e0d0afda8 ICU-597 The last as/400 fix conflicts with some other platforms.
X-SVN-Rev: 7430
2002-01-11 20:31:59 +00:00
George Rhoten
3e8367d659 ICU-597 Changes to make ICU work on as/400 (iSeries)
X-SVN-Rev: 7429
2002-01-11 17:33:52 +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
Alan Liu
0a952ec5c2 ICU-1023 add pointer hinting to help BoundsChecker understand what's happening
X-SVN-Rev: 6443
2001-10-25 22:13:45 +00:00
Alan Liu
4bdda5fd78 ICU-1023 token convenience functions
X-SVN-Rev: 6286
2001-10-17 20:52:56 +00:00
Alan Liu
a9fc30c720 ICU-1023 add uhash_xxxi and Hashtable::xxxi functions for integer values
X-SVN-Rev: 6265
2001-10-16 20:53:13 +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
e1749f434d ICU-1099 Add const to some static data
X-SVN-Rev: 5632
2001-08-30 18:25:42 +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
George Rhoten
c4997713ef ICU-903 Updated the copyright notice
X-SVN-Rev: 4238
2001-03-21 20:44:20 +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
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
Alan Liu
34b14575f4 ICU-149 make UnicodeString delegate hashcode computation to uhash
X-SVN-Rev: 1048
2000-03-31 23:50:49 +00:00
Alan Liu
53cfa64999 ICU-149 amend comments
X-SVN-Rev: 1034
2000-03-30 04:29:31 +00:00
Alan Liu
327165d913 ICU-149 cleanup uhash/hash
X-SVN-Rev: 1033
2000-03-30 04:17:27 +00:00
Alan Liu
2ddc4768a3 ICU-149 rewrite UHashtable
X-SVN-Rev: 1001
2000-03-28 22:04:39 +00:00
Markus Scherer
139685dd3f ICU-266 improve hashXXString() performance, add hashIString()
X-SVN-Rev: 731
2000-02-08 23:35:19 +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
Steven R. Loomis
363ee387f6 ICU-161 (c)opyright notices
X-SVN-Rev: 362
1999-12-09 23:27:55 +00:00
Markus Scherer
5927a9f1e8 ICU-174 make code more robust
X-SVN-Rev: 337
1999-12-08 00:15:46 +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
Markus Scherer
80a098923f ICU-5 need to use icu_malloc() etc.
replace stdlib function calls by icu_...

X-SVN-Rev: 17
1999-10-06 00:05:42 +00:00
Helena Chapman
1ccc7d153f ICU version 1.3 merge from CMVS.
X-SVN-Rev: 9
1999-09-30 23:47:52 +00:00