Markus Scherer
a9c247a3cb
ICU-12166 annotate intended switch case fallthroughs
...
X-SVN-Rev: 38447
2016-03-01 07:44:57 +00:00
Markus Scherer
0f0c7656d3
ICU-11832 some better error checking based on static code analysis
...
X-SVN-Rev: 37930
2015-09-10 01:42:34 +00:00
Steven R. Loomis
7594250cc5
ICU-7653 changed uprv_lengthof to UPRV_LENGTHOF, also added apidoc
...
X-SVN-Rev: 36275
2014-08-28 22:13:45 +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
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
1beb0f1e4f
ICU-8680 require C++ namespace, replace most U_NAMESPACE_QUALIFIER with icu::, remove still-draft U_STD_NS, U_STD_NSQ, and U_STD_NS_USE
...
X-SVN-Rev: 30281
2011-07-06 04:03:35 +00:00
Michael Ow
9a44c7e691
ICU-8430 Resolve namespace issue in HPUX
...
X-SVN-Rev: 29707
2011-03-29 21:21:25 +00:00
Andy Heninger
74e297291f
ICU-7780 fix various compiler warnings
...
X-SVN-Rev: 28301
2010-07-12 18:03:29 +00:00
Michael Ow
2297d39ef2
ICU-6911 Ensure that memory is freed before setting to NULL.
...
X-SVN-Rev: 27835
2010-03-12 20:08:20 +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
Andy Heninger
c89045b0d6
ICU-6799 swat compiler warnings
...
X-SVN-Rev: 25661
2009-03-27 00:37:55 +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
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