Commit Graph

151 Commits

Author SHA1 Message Date
Doug Felt
399b051326 ICU-2755 add ucol_open_internal
X-SVN-Rev: 11846
2003-05-08 22:21:05 +00:00
Doug Felt
fdc637b53d ICU-2755 ucol_open should fetch registered collators, still need to add test
X-SVN-Rev: 11838
2003-05-08 17:31:45 +00:00
Vladimir Weinstein
b47f2755b8 ICU-2364 Build from rules if builder version is different. Also, additional control over image freeing - freeImageOnClose instead of relying on hasRealData
X-SVN-Rev: 11810
2003-05-06 07:28:34 +00:00
Vladimir Weinstein
6569f131ac ICU-2851 initial implementation of ucol_equals (not yet complete, need to analyze rules)
X-SVN-Rev: 11746
2003-05-01 00:57:27 +00:00
Vladimir Weinstein
b137857632 ICU-2364 update to versioning control for collation
X-SVN-Rev: 11737
2003-04-30 00:49:01 +00:00
Doug Felt
09bd2b2b11 ICU-2755 service registration for collation
X-SVN-Rev: 11722
2003-04-28 21:13:14 +00:00
Vladimir Weinstein
9727d42786 ICU-2364 collation versioning review
X-SVN-Rev: 11661
2003-04-24 07:00:27 +00:00
Vladimir Weinstein
a4a223f056 ICU-2412 thread safety stuff - added const to ucol_nextSortKeyPart, removed errorCode from UCollator structure - never worked but dangerous for thread safety.
X-SVN-Rev: 11410
2003-03-27 20:09:38 +00:00
Vladimir Weinstein
dada4309fd ICU-2412 getNextSortKeyPart implementation plus various fixes to iterative collation
X-SVN-Rev: 10984
2003-02-06 23:29:56 +00:00
Vladimir Weinstein
bfe52dc06c ICU-2412 more work on ucol_strcollIter. Also added ucol_nextSortKeyPart. Code is still in flux and not for the faint of heart.
X-SVN-Rev: 10898
2003-01-23 01:52:34 +00:00
Vladimir Weinstein
001af0ad79 ICU-2412 ucol_strcollIter - strcoll that takes UCharIterator *
X-SVN-Rev: 10870
2003-01-20 07:42:28 +00:00
Markus Scherer
5e90151e49 ICU-2248 modularize ICU - make data generator tools write dummy data files, satisfying makefile dependencies
X-SVN-Rev: 9936
2002-10-01 17:44:04 +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
Vladimir Weinstein
a298df56b3 ICU-2305 UColOptionSet uses int32_t instead of UColAttributeValue + added some reserved space
X-SVN-Rev: 9865
2002-09-17 04:53:35 +00:00
Vladimir Weinstein
7f9ecabbfd ICU-1854 special strcoll version for latin-1 locales
X-SVN-Rev: 9836
2002-09-04 06:02:13 +00:00
George Rhoten
f2278079f3 ICU-1913 Make the structure smaller by moving the pointers first, which must be aligned on 4, 8 or 16 byte boundaries.
X-SVN-Rev: 9586
2002-08-06 00:55:25 +00:00
Vladimir Weinstein
d9d42c5a9d ICU-1865 fixed shifted functioning when having small stack buffers
X-SVN-Rev: 9460
2002-07-31 17:13:01 +00:00
Steven R. Loomis
aa10fcc6e5 ICU-1992 .dat -> .icu
X-SVN-Rev: 9234
2002-07-17 19:26:07 +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
5fbd03c7e8 ICU-1891 Update z/OS name
X-SVN-Rev: 9095
2002-07-11 17:06:51 +00:00
Vladimir Weinstein
3e72d5fee5 ICU-1930 new UCA + skipping ignorables in contraction and prefixes
X-SVN-Rev: 9004
2002-07-02 22:32:14 +00:00
Vladimir Weinstein
503c4b104d ICU-1930 updated constants for indirect positioning (most of them will go away, once everything is in the UCA)
X-SVN-Rev: 8880
2002-06-13 18:33:19 +00:00
Vladimir Weinstein
6aef8ca18a ICU-1769 bumped up collation version (commited it with j1770 in error, added comment to recommit)
X-SVN-Rev: 8247
2002-03-26 16:50:11 +00:00
Vladimir Weinstein
98cdff5012 ICU-1770 more support for indirects & some more tests
X-SVN-Rev: 8245
2002-03-26 16:46:17 +00:00
Vladimir Weinstein
292c9cef94 ICU-1770 implementation of support for indirect positioning of CEs
X-SVN-Rev: 8061
2002-03-15 23:41:56 +00:00
Vladimir Weinstein
376e2e3d13 ICU-898 implementation of getLocale function and method. User can now select the type of locale to get back (requested, valid, actual)
X-SVN-Rev: 7973
2002-03-13 05:48:25 +00:00
Vladimir Weinstein
8be8e7e5c4 ICU-1602 runtime support for three byte primaries
X-SVN-Rev: 7401
2002-01-08 00:11:54 +00:00
Vladimir Weinstein
99976f36e8 ICU-1594 remove supplemental latin1 mapping from the data file, as there is one already included in the utrie
X-SVN-Rev: 7376
2001-12-28 20:55:24 +00:00
Vladimir Weinstein
b310fd38da ICU-1594 collation now uses generalized utrie data structure
X-SVN-Rev: 7352
2001-12-19 07:00:45 +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
Vladimir Weinstein
daa82510f5 ICU-1000 changes according to the bug review by Syn Wee
X-SVN-Rev: 6900
2001-11-14 21:55:21 +00:00
Vladimir Weinstein
9023620088 ICU-1005 increase code coverage
X-SVN-Rev: 6849
2001-11-13 22:55:05 +00:00
George Rhoten
058fc6ceca ICU-900 Fixed some compiler warnings
X-SVN-Rev: 6532
2001-10-31 21:54:44 +00:00
George Rhoten
f038c38152 ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 6486
2001-10-30 01:43:05 +00:00
George Rhoten
068f60d1a0 ICU-1028 Fix for os/390
X-SVN-Rev: 6442
2001-10-25 21:55:45 +00:00
Vladimir Weinstein
ef1a552319 ICU-1294 collation data version number bumped up, udata structures moved to ucol_imp.h, isAcceptable functions now use data in these structs to validate the data
X-SVN-Rev: 6401
2001-10-23 21:48:14 +00:00
Vladimir Weinstein
d81ea96439 ICU-1211 correcting what gets exported where
X-SVN-Rev: 6361
2001-10-20 01:09:31 +00:00
George Rhoten
6e5be46321 ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 6132
2001-10-09 20:23:39 +00:00
Vladimir Weinstein
772a65420f ICU-1245 Hiragana detection flags for CE getters
X-SVN-Rev: 6065
2001-10-05 02:05:35 +00:00
Vladimir Weinstein
af539d41bb ICU-1245 argument support for Hiragana quaternary + always generate quaternary if quaternary is on, regardless of shifted state.
X-SVN-Rev: 5993
2001-10-02 16:49:57 +00:00
Vladimir Weinstein
8bc42e5418 ICU-1245 preliminary support for Japanese prefix analysis. Needs to be tested
X-SVN-Rev: 5948
2001-09-27 23:18:14 +00:00
Markus Scherer
1305c4495f ICU-1007 call more efficient normalization, especially FCD instead of NFD when possible, also use growBuffer in some places
X-SVN-Rev: 5937
2001-09-27 01:01:30 +00:00
Vladimir Weinstein
e186f84db0 ICU-998 More efficient secondary and tertiary compressing
X-SVN-Rev: 5877
2001-09-21 21:22:44 +00:00
Vladimir Weinstein
3727deb9c6 ICU-1083 Special implicit CEs in UCA for improved performance
X-SVN-Rev: 5838
2001-09-20 20:16:39 +00:00
Vladimir Weinstein
e9a7e8907d ICU-1083 More surrogate support. Unsafe and contraction end tables now handle surrogates correctly.
X-SVN-Rev: 5783
2001-09-18 18:37:57 +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
Vladimir Weinstein
20053b3398 ICU-1083 Optimization of surrogate operations
X-SVN-Rev: 5452
2001-08-10 20:30:44 +00:00
Andy Heninger
a62ee61efb ICU-1030 move ucol_unsafeCP into ucol_imp.h so it can be shared with string search impl.
X-SVN-Rev: 5444
2001-08-06 22:28:20 +00:00
Vladimir Weinstein
c8c203b10e ICU-392 get/set state implementation for current version (no compatibility yet)
X-SVN-Rev: 5207
2001-07-09 22:24:23 +00:00
Vladimir Weinstein
ac95eb8654 ICU-392 added API declarations and dummy implementations for state handling functions. Carved data structures some more.
X-SVN-Rev: 5195
2001-07-06 04:57:28 +00:00
Vladimir Weinstein
2c32faf09b ICU-392 state structure...
X-SVN-Rev: 5169
2001-07-03 22:21:53 +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
Vladimir Weinstein
e021c45787 ICU-1002 implemented getter and setter functions for variable top in C and C++
X-SVN-Rev: 5099
2001-06-26 22:24:10 +00:00
Vladimir Weinstein
d0ccdee1b0 ICU-1010 consolidating version data
X-SVN-Rev: 5053
2001-06-21 22:51:27 +00:00
Vladimir Weinstein
a7268db185 ICU-1003 removing incremental compare API
X-SVN-Rev: 5021
2001-06-19 21:18:41 +00:00
Vladimir Weinstein
7f73c4c704 ICU-96 bumped version numbers and edited readme.html
X-SVN-Rev: 4989
2001-06-13 16:13:33 +00:00
Syn Wee Quek
8a05771cee ICU-878 Updated special Jamo getMaxExpansion size.
X-SVN-Rev: 4967
2001-06-12 17:37:36 +00:00
Syn Wee Quek
3be9999802 ICU-878 Updated implicit getMaxExpansion size.
X-SVN-Rev: 4956
2001-06-12 00:00:14 +00:00
Vladimir Weinstein
27d7ed1627 ICU-96 some fixes - need to be finished (hi got broken)
X-SVN-Rev: 4887
2001-06-05 22:52:56 +00:00
Vladimir Weinstein
cd8a95d0cf ICU-96 [CODE REVIEW] Commented code removal from ucol_strcoll, changing literals with #define constants, removed unneeded and harmful masking
X-SVN-Rev: 4733
2001-05-21 22:30:49 +00:00
Vladimir Weinstein
00a32c9550 ICU-96 modified BOCSU for identical level and moved it into a separate module
X-SVN-Rev: 4714
2001-05-18 19:49:04 +00:00
Vladimir Weinstein
9727f6aa75 ICU-96 New Fractional UCA with good offset for Han + updated offsets in implicit CE generation. Collation framework now passes UCA conformance test!
X-SVN-Rev: 4713
2001-05-18 18:09:53 +00:00
Vladimir Weinstein
bb14b94230 ICU-96 Case compression range fix + implicit generation fix
X-SVN-Rev: 4708
2001-05-17 23:14:44 +00:00
Syn Wee Quek
2ee49e592a ICU-861
Added end of contraction checks to the backwards iteration.
Temporary increased size of CEBuffer.

X-SVN-Rev: 4696
2001-05-17 01:06:25 +00:00
Vladimir Weinstein
e474271f63 ICU-96 tiny constant fixes
X-SVN-Rev: 4695
2001-05-16 22:47:27 +00:00
Vladimir Weinstein
2941639b1d ICU-96 Two case bits implementation
X-SVN-Rev: 4646
2001-05-10 22:33:50 +00:00
Andy Heninger
ccb47e551d ICU-861 Added last-char-in-contraction hash table
X-SVN-Rev: 4642
2001-05-10 22:12:53 +00:00
Vladimir Weinstein
947b617e64 ICU-96 [before [1|2|3]] option implemented
X-SVN-Rev: 4581
2001-05-02 05:05:06 +00:00
Syn Wee Quek
c434168ade ICU-861
Modified collIterateState->bufferaddress to pointer.

X-SVN-Rev: 4580
2001-05-02 01:36:29 +00:00
Vladimir Weinstein
6ca6bab953 ICU-96 primary compression in, needs to be turned on with UCOL_PRIM_COMPRESSION
X-SVN-Rev: 4555
2001-04-25 18:00:41 +00:00
Vladimir Weinstein
d22ee37e1c ICU-96 moved UCOL_TOK_RESET const to ucol_imp.h, added magic number constants
X-SVN-Rev: 4534
2001-04-23 23:35:59 +00:00
Andy Heninger
d33a9fe478 ICU-880 strcoll: Bug fix in getNextCE, caused failure in citertst/TestBug672
when normaliztion was enabled.

X-SVN-Rev: 4530
2001-04-23 21:29:14 +00:00
Vladimir Weinstein
f55aa515d1 ICU-96 reflected changes to the UCA table, new identical level sortkey generation
X-SVN-Rev: 4527
2001-04-23 01:53:49 +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
Vladimir Weinstein
ca370278a7 ICU-96 changed Fractional UCA - gap widened
X-SVN-Rev: 4515
2001-04-19 20:29:34 +00:00
Andy Heninger
fe8f7ca9cd ICU-880 strcoll: More performance tweaks, plus fix inlines for UNIX builds.
X-SVN-Rev: 4502
2001-04-18 19:31:05 +00:00
Syn Wee Quek
19dd532d6c ICU-861
Added methods to store and load the collIterate state.

X-SVN-Rev: 4495
2001-04-18 01:34:26 +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
Vladimir Weinstein
504dcd1b85 ICU-880 Headers included by .c files should not have C++ comments
X-SVN-Rev: 4476
2001-04-16 16:20:16 +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
170db96e5c ICU-96 separate option struct implemented - take 1
X-SVN-Rev: 4407
2001-03-30 00:23:46 +00:00
Vladimir Weinstein
af5f69b9aa ICU-96 fixed compiler warnings in hangul decomposition and variableTop type
X-SVN-Rev: 4385
2001-03-28 20:12:12 +00:00
Vladimir Weinstein
620ebb624a ICU-96 support for tailoring tests as requested by Mark Davis
X-SVN-Rev: 4292
2001-03-22 23:48:08 +00:00
Vladimir Weinstein
d8b88547bf ICU-96 support for tailoring tests as requested by Mark Davis
X-SVN-Rev: 4288
2001-03-22 23:11:22 +00:00
Vladimir Weinstein
3fd8f3bf61 ICU-96 fixed compiler warnings
X-SVN-Rev: 4285
2001-03-22 21:16:20 +00:00
Vladimir Weinstein
5bbb91861f ICU-96 fixed jamo special handling, made building more robust
X-SVN-Rev: 4274
2001-03-22 18:45:31 +00:00
Vladimir Weinstein
cda9dc782f ICU-96 correct handling of level separator for quad level, sortkeytostring private function, some tweaks for CE generation, rule parser factored out
X-SVN-Rev: 4189
2001-03-20 00:56:37 +00:00
Andy Heninger
10f5bd5f16 ICU-96 buffer size chaged per review
X-SVN-Rev: 4145
2001-03-16 20:01:24 +00:00
Syn Wee Quek
180cdc753f ICU-807
code clean up.

X-SVN-Rev: 4092
2001-03-15 02:54:01 +00:00
Vladimir Weinstein
3541c4cdd3 ICU-96 implementation complete for collation 1.8 commit (sortkey cleanup per design review)
X-SVN-Rev: 4068
2001-03-14 07:49:03 +00:00
Vladimir Weinstein
05640c9439 ICU-96 glue for simplesortkey generation, changed normalization stuff when UCOL_IDENTICAL
X-SVN-Rev: 4064
2001-03-14 02:45:39 +00:00
Vladimir Weinstein
74d6a0d6b6 ICU-96 clean up old cruft, remove references to UCollatorOld
X-SVN-Rev: 4049
2001-03-13 07:29:58 +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
George Rhoten
d6777e1cad ICU-96 When checking for TRUE in the macro don't use '='
X-SVN-Rev: 4023
2001-03-12 19:09:23 +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
Vladimir Weinstein
589b001acd ICU-96 header 4 byte safe + some fixes
X-SVN-Rev: 4000
2001-03-09 19:22:57 +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