Eric Mader
5f73103b5a
ICU-6659 Merge changes from branches/eric/boyer-moore
...
X-SVN-Rev: 25282
2009-01-22 00:24:48 +00:00
Michael Ow
c504eafdc8
ICU-5955 Add freeOffsetBuffer function to make sure that previously allocated offsetBuffer is freed to avoid memory leaks. Add deleter method in ssearch.cpp to remove hashtable objects. Delete various objects in intltest after it is no longer needed.
...
X-SVN-Rev: 24129
2008-06-09 21:18:46 +00:00
Steven R. Loomis
5130b1e429
ICU-5420 fix some namespace/linkage issues
...
X-SVN-Rev: 24122
2008-06-06 21:51:25 +00:00
Eric Mader
ea4a1a7b48
ICU-5420 ucol_IGetPrevCE: always reset flags when finished w/ side buffer; fix a couple of signed/unsigned problems.
...
X-SVN-Rev: 23982
2008-05-26 19:18:33 +00:00
Eric Mader
9011fe483f
ICU-5420 merge changes from branches/eric/string-search r.23303 - r.23976
...
X-SVN-Rev: 23977
2008-05-23 04:22:28 +00:00
George Rhoten
2bc412e598
ICU-6076 Use window failure testing instead of max size testing. This allows you to skip some hash table failures. Hash tables grow by powers of 2.
...
X-SVN-Rev: 23409
2008-02-10 20:17:14 +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
20a74838a6
ICU-5138 Keep the two collation hash functions together.
...
X-SVN-Rev: 19507
2006-04-01 17:29:49 +00:00
George Rhoten
13eed03890
ICU-4707 Fix some compiler warnings
...
X-SVN-Rev: 19354
2006-03-16 07:36:52 +00:00
Syn Wee Quek
5dc7d189e3
ICU-3094 fixed setOffset(0) error
...
X-SVN-Rev: 12608
2003-07-09 23:16:04 +00:00
Alan Liu
de95737116
ICU-2959 update copyright dates to include 2003
...
X-SVN-Rev: 12253
2003-06-03 20:58:22 +00:00
Vladimir Weinstein
cd23b36a3b
ICU-2416 shifting should be done by the shift value, not mask value! Fixed a mental typo
...
X-SVN-Rev: 11751
2003-05-01 15:42:02 +00:00
Vladimir Weinstein
657945ed51
ICU-2416 ucol_primaryOrder, ucol_secondaryOrder, ucol_tertiaryOrder APIs for easier separation of API and internal tests.
...
X-SVN-Rev: 11626
2003-04-23 04:47:00 +00:00
Markus Scherer
3d38617bdc
ICU-2248 modularize icu, allow parts to not be built
...
X-SVN-Rev: 9900
2002-09-20 01:54:48 +00:00
George Rhoten
86b7c21c50
ICU-1988 Regenerate urename.h and hide/rename the non-API functions
...
X-SVN-Rev: 9193
2002-07-16 01:46:42 +00:00
George Rhoten
c85207afbd
ICU-1887 Try to fix the name mangling problems with the Intel compiler by including utypes.h before the system headers.
...
X-SVN-Rev: 9124
2002-07-12 21:42:24 +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
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
George Rhoten
faec7727ae
ICU-900 Fixed some compiler warnings.
...
X-SVN-Rev: 8545
2002-04-30 21:03:00 +00:00
Markus Scherer
8c78422db2
ICU-1561 replace all UTextOffset with int32_t
...
X-SVN-Rev: 7942
2002-03-12 01:32:42 +00:00
Vladimir Weinstein
6bc1ab66fe
ICU-1541 consistently added U_CAPI & U_EXPORT2 to all the declarations and definitions
...
X-SVN-Rev: 7039
2001-11-21 01:08:55 +00:00
Syn Wee Quek
3159af47d9
ICU-1472
...
Added @ documentation to the public API
X-SVN-Rev: 6902
2001-11-14 22:24:17 +00:00
Vladimir Weinstein
f07ba50f9d
ICU-1245 #ifdefed some debug stuff
...
X-SVN-Rev: 6268
2001-10-16 22:36:02 +00:00
Helena Chapman
d816eefc57
ICU-1264 added namspace support where possible.
...
X-SVN-Rev: 6124
2001-10-08 23:26:58 +00:00
Syn Wee Quek
2e6080b73e
ICU-1030
...
Code review and optimizations updates for String Search.
X-SVN-Rev: 5717
2001-09-07 21:56:18 +00:00
Syn Wee Quek
75adf07067
ICU-1030
...
New implementation for Unicode Boyer Moore string search.
X-SVN-Rev: 5587
2001-08-25 02:03:53 +00:00
Syn Wee Quek
4dac21d31a
ICU-861
...
initializing fcdpositon in reset()
X-SVN-Rev: 5429
2001-08-03 01:01:42 +00:00
Syn Wee Quek
6e6b55c887
ICU-861
...
initializing fcdpositon in setOffset()
X-SVN-Rev: 5424
2001-08-02 17:48:25 +00:00
Syn Wee Quek
d89bb9c5fc
ICU-861
...
Minor optimisation for the backwards iterator.
X-SVN-Rev: 5130
2001-06-28 20:42:56 +00:00
Syn Wee Quek
8fa2ab2060
ICU-807
...
Clean up:
removed old comments and
redundant private methods that isn't used anywhere.
X-SVN-Rev: 5083
2001-06-26 17:41:10 +00:00
Syn Wee Quek
8b2f397e72
ICU-861 Optimised the backwards iterator and extra boundary checks.
...
X-SVN-Rev: 5026
2001-06-20 18:14:51 +00:00
Syn Wee Quek
15b2232eca
ICU-861 Sets the string end pointer after reset.
...
X-SVN-Rev: 4917
2001-06-08 01:16:44 +00:00
Syn Wee Quek
1bfe6e02e2
ICU-861
...
Initialized collIterate->endp to be NULL when a null terminated string is used.
X-SVN-Rev: 4567
2001-04-26 01:15:34 +00:00
Syn Wee Quek
34372f991b
ICU-861
...
Implemented new incremental normalization in backwards iteration.
X-SVN-Rev: 4524
2001-04-20 22:29:53 +00:00
Syn Wee Quek
cc5eba47d0
ICU-861
...
Added an extra size in normalization buffer to contain null-termination.
Added comments in ucol_impl.h that buffer size has to be >= 3.
X-SVN-Rev: 4483
2001-04-17 02:43:35 +00:00
Syn Wee Quek
f25427cd24
ICU-861
...
Updated backwards iterator
1) to use incremental fcd check
2) swap thai characters pairs at a time instead of blocks of it.
X-SVN-Rev: 4470
2001-04-12 00:08:26 +00:00
Andy Heninger
bed84e98b8
ICU-880 strcoll: incremental FCD check and no precalc of length
...
of null terminated strings
X-SVN-Rev: 4460
2001-04-06 23:37:48 +00:00
Vladimir Weinstein
3fd8f3bf61
ICU-96 fixed compiler warnings
...
X-SVN-Rev: 4285
2001-03-22 21:16:20 +00:00
Syn Wee Quek
0099cc05a5
ICU-807
...
Modified to remove Linux compiler warnings.
X-SVN-Rev: 4100
2001-03-15 19:10:41 +00:00
Syn Wee Quek
180cdc753f
ICU-807
...
code clean up.
X-SVN-Rev: 4092
2001-03-15 02:54:01 +00:00
Syn Wee Quek
7ad7d69bb1
ICU-861
...
Sneaky memory bug termination part 2.
Added pointer to start of source string for memory tracking purposes.
X-SVN-Rev: 4024
2001-03-12 20:05:46 +00:00
Vladimir Weinstein
13ee1e9a8d
ICU-96 fix for a sneaky bug in collation iterator
...
X-SVN-Rev: 4022
2001-03-12 08:58:37 +00:00
Syn Wee Quek
d4ebc2590d
ICU-861
...
Updated previous iterator for Thai collation.
X-SVN-Rev: 3996
2001-03-09 18:25:30 +00:00
Vladimir Weinstein
1273540bbb
ICU-96 jamo special handling completed. Markuses weight function glued in
...
X-SVN-Rev: 3987
2001-03-09 00:50:37 +00:00
Vladimir Weinstein
2f32e7e853
ICU-96 collation filename reorganization
...
X-SVN-Rev: 3967
2001-03-08 17:40:42 +00:00
Syn Wee Quek
4196c80eee
ICU-861
...
Cleaning up collation element iterator codes.
X-SVN-Rev: 3946
2001-03-07 21:01:53 +00:00
Syn Wee Quek
24ff93d428
ICU-878
...
added functionality to retrieve getMaxExpansion for implicit collation elements
X-SVN-Rev: 3891
2001-03-03 04:06:43 +00:00
Syn Wee Quek
50ff5456e4
ICU-878
...
Added getMaxExpansion to collator
X-SVN-Rev: 3871
2001-03-02 01:14:03 +00:00
Syn Wee Quek
ec4c07eeb0
ICU-861
...
Updated backwards collation element iterator codes.
X-SVN-Rev: 3760
2001-02-23 23:36:42 +00:00
Syn Wee Quek
1966b36a04
ICU-861
...
Updated UCOL_GETPREVCE.
X-SVN-Rev: 3733
2001-02-22 23:16:06 +00:00