Michael Ow
326689f2cb
ICU-6101 Fix Lenient UTF8 issue and add test for new supplemental character checking code.
...
X-SVN-Rev: 23122
2007-12-21 00:08:12 +00:00
Michael Ow
f2a8d7dd61
ICU-6101 Move the setting of variable from inside a macro call to outside.
...
X-SVN-Rev: 23116
2007-12-20 19:22:58 +00:00
Michael Ow
20a3dfbb35
ICU-6101 Remove redundant character iterator position test.
...
X-SVN-Rev: 23115
2007-12-20 17:35:04 +00:00
Michael Ow
50269e4bb7
ICU-6101 Add check for surrogate pair during test for discontiguous contraction.
...
X-SVN-Rev: 23114
2007-12-19 23:37:23 +00:00
George Rhoten
344e2283d7
ICU-6076 Prevent a double mutex lock when the following happens.
...
ucol_open -> u_cleanup -> ures_open same locale.
Notice that the collator leaked, which contained open resource bundles. The resource bundle API didn't recover very well from this experience, and a double mutex lock happens, which is hard to debug in the test framework.
This change will make it easier to test the -m option, reduce open resources while a collator is running and make it easier to segment the collator for static libraries.
X-SVN-Rev: 23104
2007-12-18 01:19:16 +00:00
Michael Ow
d9958662e3
ICU-6024 Add dynamic buffer to collIterate to extend the size of CEs if needed to limit buffer overflow errors. CE buffer overflow cintltst test is changed to reflect this change.
...
X-SVN-Rev: 23089
2007-12-15 00:30:35 +00:00
George Rhoten
6112b5685d
ICU-6076 Fix some realloc issues.
...
X-SVN-Rev: 23086
2007-12-14 09:23:07 +00:00
Andrew J Macheret
f23e13afaf
ICU-6004 Added a line so that the code that generates a partial key will ignore ignorables, just like the full key generator does
...
X-SVN-Rev: 22909
2007-11-09 20:32:16 +00:00
George Rhoten
a21a0d8f00
ICU-5955 Prevent a highly unlikely memory leak.
...
X-SVN-Rev: 22712
2007-09-24 16:05:53 +00:00
George Rhoten
967b65a458
ICU-5889 Fix some logic errors uncovered by BEAM.
...
X-SVN-Rev: 22558
2007-08-29 02:57:42 +00:00
George Rhoten
b5e9f17cdd
ICU-5445 Fix some compiler warnings.
...
X-SVN-Rev: 22120
2007-07-24 08:30:41 +00:00
George Rhoten
fc532c8ac1
ICU-5743 Stop crashing when the default collator keyword is unsupported. Also add some other code coverage tests.
...
X-SVN-Rev: 21728
2007-06-13 22:53:28 +00:00
George Rhoten
8991008eb9
ICU-5410 Improve code coverage.
...
X-SVN-Rev: 21721
2007-06-13 19:03:09 +00:00
George Rhoten
fad658d66d
ICU-5279 Reduce the set of exported functions.
...
X-SVN-Rev: 21621
2007-06-03 06:08:46 +00:00
George Rhoten
a558657ad5
ICU-5602 Fix a compiler warning from last change.
...
X-SVN-Rev: 21135
2007-02-27 08:55:40 +00:00
George Rhoten
b847cd9089
ICU-5602 Test and fix French secondary buffer reallocation crash.
...
X-SVN-Rev: 21041
2007-02-16 19:06:24 +00:00
George Rhoten
202e0f66a7
ICU-5445 Fix some compiler warnings
...
X-SVN-Rev: 20809
2006-12-19 06:06:30 +00:00
George Rhoten
760e4c2a65
ICU-5445 Fix some compiler warnings.
...
X-SVN-Rev: 20504
2006-10-06 18:08:06 +00:00
George Rhoten
dbc0d1d9ee
ICU-5349 Use UMTX_CHECK for double check locking.
...
X-SVN-Rev: 20176
2006-08-29 04:57:05 +00:00
George Rhoten
914eadd2dd
ICU-4707 Fix some compiler warnings.
...
X-SVN-Rev: 19918
2006-07-28 21:47:47 +00:00
Vladimir Weinstein
5d24ef7fdd
ICU-5223 fix primary strength sortkey termination bug
...
X-SVN-Rev: 19794
2006-07-06 06:30:06 +00:00
Vladimir Weinstein
48633f914b
ICU-5232 fix for nextSortKeyPart bug that was uncovered in
...
collate/CollationThaiTest/TestDictionary. The function was made simpler
and actually correct. Rejoice and consider backporting to 3.2.
X-SVN-Rev: 19734
2006-06-16 06:00:13 +00:00
George Rhoten
291f674b54
ICU-5190 Fix collation cloning.
...
X-SVN-Rev: 19687
2006-06-06 06:42:34 +00:00
George Rhoten
f4b0ed0368
ICU-5190 Fix a bug where the cloned collator uses UCA instead of customized rules.
...
X-SVN-Rev: 19682
2006-06-05 21:56:14 +00:00
George Rhoten
020abe6693
ICU-5190 Fix some offset allocation issues for unaligned buffers.
...
X-SVN-Rev: 19659
2006-05-26 04:00:52 +00:00
George Rhoten
7b15f0e402
ICU-5190 Test and fix some allocation issues from ucol_safeClone
...
X-SVN-Rev: 19634
2006-05-21 22:44:14 +00:00
George Rhoten
3ec1127306
ICU-5190 Test and fix some allocation issues from ucol_safeClone
...
X-SVN-Rev: 19633
2006-05-21 22:22:24 +00:00
George Rhoten
319d2629b3
ICU-5190 Test and fix some allocation issues from ucol_safeClone
...
X-SVN-Rev: 19632
2006-05-21 21:09:01 +00:00
George Rhoten
a4663ad545
ICU-5190 Fix ucol_safeClone to properly clone a collator.
...
X-SVN-Rev: 19629
2006-05-21 17:52:09 +00:00
George Rhoten
361f663295
ICU-5190 Perform fewer mallocs and frees for easier safe cloning.
...
X-SVN-Rev: 19627
2006-05-21 01:27:15 +00:00
George Rhoten
3893bd1ab2
ICU-5190 Decrease size of collator. Performance isn't addressed, but it helps to reduce what to look at for cloning.
...
X-SVN-Rev: 19625
2006-05-15 05:08:49 +00:00
Deborah Goldsmith
d6d4d2f647
ICU-5192 Code review cleanup
...
X-SVN-Rev: 19606
2006-05-03 21:09:00 +00:00
George Rhoten
e4b3bbc599
ICU-4707 Fix some compiler warnings.
...
X-SVN-Rev: 19533
2006-04-12 23:36:56 +00:00
George Rhoten
6d5916a2ce
ICU-4703 Improve the error checking.
...
X-SVN-Rev: 19517
2006-04-04 20:15:46 +00:00
George Rhoten
c4a7db9fa0
ICU-4703 Don't deference NULL when a mallloc fails, and report when the memory failure happens.
...
X-SVN-Rev: 19486
2006-03-30 16:54:13 +00:00
George Rhoten
b20499f06b
ICU-4703 Fix memory leak on function failure
...
X-SVN-Rev: 19477
2006-03-30 05:29:25 +00:00
George Rhoten
5dee33ea3e
ICU-4707 Fix some compiler warnings about unused variables.
...
X-SVN-Rev: 19118
2006-02-09 08:59:20 +00:00
Vladimir Weinstein
d50159c572
ICU-4960 fixed ignorables in case level with primary strength (compare and sortkey)
...
X-SVN-Rev: 19040
2006-01-28 08:26:55 +00:00
Vladimir Weinstein
53e8bd5ed2
ICU-4821 fix upper first behavior for normal sort key generation
...
X-SVN-Rev: 18541
2005-09-17 06:25:22 +00:00
Vladimir Weinstein
262a7354a9
ICU-4355 fix a bug in contraction handling
...
X-SVN-Rev: 18332
2005-07-22 21:19:34 +00:00
Vladimir Weinstein
5839d96cdc
ICU-4288 fix compiler warnings
...
X-SVN-Rev: 18263
2005-07-15 22:11:40 +00:00
Vladimir Weinstein
7610b35047
ICU-4355 code revieiw changes
...
X-SVN-Rev: 18170
2005-07-07 22:48:45 +00:00
Vladimir Weinstein
ad53822131
ICU-4355 remove dependency of ucol.cpp on ures
...
X-SVN-Rev: 18167
2005-07-07 22:12:43 +00:00
Vladimir Weinstein
4c163f6aa3
ICU-4355 Allow for collation binary images to work without UCA
...
X-SVN-Rev: 18149
2005-07-06 21:27:21 +00:00
Vladimir Weinstein
ac9da526ce
ICU-4588 forgetUCA function
...
X-SVN-Rev: 17961
2005-06-21 20:14:35 +00:00
Eric Mader
5dc3d7c9d4
ICU-4561 Update copyright notices for ICU 3.4
...
X-SVN-Rev: 17822
2005-06-07 23:38:09 +00:00
Vladimir Weinstein
32354b1c86
ICU-4350 Upgrade ICU4C to UCA 4.1
...
X-SVN-Rev: 17622
2005-05-19 06:43:35 +00:00
George Rhoten
4b8ef3e6e6
ICU-4288 Mostly fixes for --enable-strict for gcc 3.4 (Fedora Core 3)
...
X-SVN-Rev: 17040
2004-12-30 07:25:51 +00:00
George Rhoten
a91af43a2d
ICU-4281 Mostly split collation so that the runtime doesn't depend on service
...
registration, resource bundles, collation building/loading and collation meta information.
ucol_close still depends on ures_close, but it's better than before.
X-SVN-Rev: 16933
2004-12-09 04:23:42 +00:00
Andy Heninger
665e553354
ICU-4161 remove tabs from source code
...
X-SVN-Rev: 16829
2004-11-11 23:34:58 +00:00