Commit Graph

87 Commits

Author SHA1 Message Date
Markus Scherer
0f78abc7ee ICU-9644 re-hardcode some normalization data: nfc.nrm
X-SVN-Rev: 36384
2014-09-08 03:05:56 +00:00
Tom Zhang
ee1f29b584 ICU-7653 move LENGTHOF(array) to common, internal header
X-SVN-Rev: 36265
2014-08-28 14:55:34 +00:00
Markus Scherer
3fbc4c7966 ICU-11047 disambiguate various CEBuffer-s
X-SVN-Rev: 36217
2014-08-20 23:55:04 +00:00
Markus Scherer
e977c057a9 ICU-9101 merge branches/markus/collv2@35225 into the trunk
X-SVN-Rev: 35227
2014-02-25 21:21:49 +00:00
Markus Scherer
524fd241c5 ICU-8942 use smaller/simpler FCD data rather than building an FCD trie
X-SVN-Rev: 30985
2011-11-28 22:59:49 +00:00
Markus Scherer
e31ce99b84 ICU-8575 option for not including utf headers by default; replace uses of deprecated utf_old.h macros
X-SVN-Rev: 30430
2011-07-27 05:53:56 +00:00
Peter Edberg
e59f0040ee ICU-8681 For asymmetric search, increase CE ring buffer size based on pattern characters.
X-SVN-Rev: 30307
2011-07-09 14:57:34 +00:00
Yoshito Umaoka
39f9a8686f ICU-8482 Changed the behavior of already broken match boundary condition - not to expand the result match length when 1) the end of CE match is a part of expansion 2) the limit of the CE match is already on a break boundary. Also flipped the behavior of isBreakBoundary, which was actually is*Not*BreakBoundary before.
X-SVN-Rev: 29848
2011-04-22 05:37:46 +00:00
Yoshito Umaoka
74e7b59d02 ICU-8415 Fixes for usearch_preceding and usearch_last regression bugs. The search test framework to cover usearch_following and usearch_preceding. Corrected and improved the API documentation for usearch_following/usearch_preceding. Merging these updates tested in my work branch to trunk.
X-SVN-Rev: 29681
2011-03-22 03:50:26 +00:00
Steven R. Loomis
6d2d792372 ICU-8363 use PCELength for buffer size
X-SVN-Rev: 29567
2011-03-08 03:04:44 +00:00
Peter Edberg
3ded6f3da5 ICU-7093 kill some warnings
X-SVN-Rev: 27722
2010-02-27 07:43:41 +00:00
Peter Edberg
ad87082ae1 ICU-7093 (merge from branch) Implement asymmetric search, add tests, kill some other warnings
X-SVN-Rev: 27714
2010-02-27 01:01:45 +00:00
Markus Scherer
5cb38459a6 ICU-7273 remove #include unormimp.h where not used any more
X-SVN-Rev: 27667
2010-02-25 00:21:02 +00:00
Peter Edberg
bcde64993d ICU-7093 Add USearchAttribute USEARCH_ELEMENT_COMPARISON and values
X-SVN-Rev: 27264
2010-01-15 00:55:58 +00:00
Markus Scherer
8ddbd1394c ICU-7273 merge in Normalizer2 API & code, and ICU-5785 UnicodeSet::span(UnicodeString) and ICU-7296 tempSubString()/retainBetween(); merge -r 26971:27150 branches/markus/norm2
X-SVN-Rev: 27155
2010-01-06 23:50:03 +00:00
Claire Ho
9efbecd983 ICU-6799 Fixed warnings for collation.
X-SVN-Rev: 25871
2009-04-22 23:10:07 +00:00
Andy Heninger
c89045b0d6 ICU-6799 swat compiler warnings
X-SVN-Rev: 25661
2009-03-27 00:37:55 +00:00
Eric Mader
13a9d2c3ec ICU-6717 return quaternary value as CE for strengths QUATERNARY, IDENTICAL. Re-enable TestSearchForNull.
X-SVN-Rev: 25368
2009-02-03 19:50:39 +00:00
Eric Mader
5f73103b5a ICU-6659 Merge changes from branches/eric/boyer-moore
X-SVN-Rev: 25282
2009-01-22 00:24:48 +00:00
Markus Scherer
9be9a82b08 ICU-6530 add UTrie2 and improve upvec_ via svn merge -r 24551:24849 icu/branches/markus/utf8
X-SVN-Rev: 24862
2008-10-22 19:50:07 +00:00
Eric Mader
57e86d3127 ICU-6576 Check code points for UCOL_IDENTICAL. Recompute processed pattern CEs if strength changes from < quaternary to >= quaternary or visa versa.
X-SVN-Rev: 24749
2008-10-07 23:37:42 +00:00
Steven R. Loomis
1a359a2fe6 ICU-6344 disable search if break iteration is on
X-SVN-Rev: 24260
2008-06-20 22:53:25 +00:00
Steven R. Loomis
d59b5c5e4c ICU-6344 uconfigtest / hdrtest fixes
X-SVN-Rev: 24157
2008-06-11 21:52:29 +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
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
a209799b48 ICU-6132 Add various memory allocation error checks to uprntf_p.c, uresbund.c, ustdio.c, and usearch.cpp.
X-SVN-Rev: 23254
2008-01-16 23:16:41 +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
Steven R. Loomis
37a5cf7d49 ICU-6063 Really fix memory leak.
X-SVN-Rev: 23028
2007-12-05 23:57:11 +00:00
Steven R. Loomis
c6184cf96d ICU-6063 fix memory leak. Also, rename a variable for clarity
X-SVN-Rev: 23025
2007-12-05 21:13:44 +00:00
George Rhoten
0dda41de85 ICU-5966 Fix some compiler warnings.
X-SVN-Rev: 23017
2007-12-05 05:37:54 +00:00
Michael Ow
823b13cee5 ICU-5993 Eliminate infinite loop when search pattern is single combining diactrical.
X-SVN-Rev: 22891
2007-11-06 20:00:35 +00:00
Michael Ow
3b76a8e2fb ICU-5950 Added test case and added internal breakiterator to hold the character breakiterator.
X-SVN-Rev: 22854
2007-10-25 22:02:54 +00:00
Michael Ow
3f617517e7 ICU-5024 Check for cases where getCE() should be used in hasAccentAfterMatch.
X-SVN-Rev: 22840
2007-10-23 19:13:33 +00:00
Michael Ow
db658067b7 ICU-5024 Remove getCE call on the last collation element check in the function hasAccentsAfterMatch.
X-SVN-Rev: 22827
2007-10-19 22:14:46 +00:00
Michael Ow
90b5316a76 ICU-4038 Added the fix on ICU4C to ICU4J StringSearch.
X-SVN-Rev: 22826
2007-10-19 21:16:09 +00:00
Michael Ow
9831a64be7 ICU-4038 Restore the last found ce so that shifting forward or backward is done properly with the correct ce.
X-SVN-Rev: 22821
2007-10-19 19:04:25 +00:00
Michael Ow
7c1d2e0b40 ICU-5950 Implement breakiterator to check for accents after character match when using primary strength searches. Also, accents in the pattern are ignored when using primary strength searches. TestIgnorable test cases has been altered to test for accent after character matches.
X-SVN-Rev: 22817
2007-10-18 22:29:39 +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
8a895cadee ICU-4703 usearch_openFromCollator should return when detecting bad arguments.
X-SVN-Rev: 19482
2006-03-30 09:26:24 +00:00
Markus Scherer
d382badd94 ICU-4497 fix checkIdentical(): bug (bad UErrorCode handling) and performance (preflight with non-zero initial buffer, allocate only one block)
X-SVN-Rev: 17545
2005-05-03 23:17:03 +00:00
Eric Mader
41ca4f63ee ICU-4428 update copyright notices for ICU 3.3.
X-SVN-Rev: 17296
2005-03-08 22:49:59 +00:00
George Rhoten
2b95351e1d ICU-4288 Fix some compiler warnings.
X-SVN-Rev: 17080
2005-01-02 23:57:36 +00:00
George Rhoten
7dd960a8b4 ICU-4078 Loosely couple the cleanup functions.
X-SVN-Rev: 16307
2004-09-12 23:07:29 +00:00
George Rhoten
77d1b40a06 ICU-4077 usearch needs to reset its FCD pointer when u_cleanup is called.
X-SVN-Rev: 16186
2004-08-26 14:15:30 +00:00
Eric Mader
abefef5844 ICU-3770 Updated copyright notices for ICU 3.0
X-SVN-Rev: 15411
2004-05-19 20:42:44 +00:00
George Rhoten
7c64f98b9b ICU-3500 Fix some compiler warnings
X-SVN-Rev: 14835
2004-04-01 22:04:52 +00:00
Vladimir Weinstein
88f247fcf7 ICU-3593 Disable instantiantion of string search when CODAN for collator is on
X-SVN-Rev: 14526
2004-02-16 19:08:50 +00:00
George Rhoten
492d57ac79 ICU-3221 Fix AIX linker warnings
X-SVN-Rev: 12997
2003-08-31 20:53:46 +00:00