Commit Graph

519 Commits

Author SHA1 Message Date
Vladimir Weinstein
3cc78b4cc3 ICU-1043 Yet another supplementary handling fix
X-SVN-Rev: 6744
2001-11-10 06:53:03 +00:00
Vladimir Weinstein
fc86a8d033 ICU-1043 surrogate support bug fix
X-SVN-Rev: 6734
2001-11-10 05:08:51 +00:00
Vladimir Weinstein
e35e9388b0 ICU-1043 Better handling of supplementary codepoints in getSpecialCE
X-SVN-Rev: 6694
2001-11-08 21:16:38 +00:00
Vladimir Weinstein
48b6e3ca60 ICU-770 fixed a leak in getSortKey...
X-SVN-Rev: 6650
2001-11-07 00:01:29 +00:00
Vladimir Weinstein
12c74a4400 ICU-1043 Fractional UCA now canonicaly closes suplementary codepoints. Builder checks canonical closure for suplementary ranges. Element lookup in UCA needs to distinguish between implict suplementary codepoint and codepoint redefined in the UCA.
X-SVN-Rev: 6642
2001-11-06 22:55:29 +00:00
Vladimir Weinstein
a2f2081004 ICU-1245 fixed several Japanese bugs
X-SVN-Rev: 6537
2001-11-01 00:00:15 +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
9e829506c4 ICU-392 cleaned code for urename.h generation & proper exports
X-SVN-Rev: 6369
2001-10-22 05:30:22 +00:00
Vladimir Weinstein
d81ea96439 ICU-1211 correcting what gets exported where
X-SVN-Rev: 6361
2001-10-20 01:09:31 +00:00
Markus Scherer
237bf8e91e ICU-1007 simplify internal normalization api (no growBuffers, c UCharIterator)
X-SVN-Rev: 6339
2001-10-19 17:36:02 +00:00
Vladimir Weinstein
b722667385 ICU-1245 not using normalizer for searching prefixes
X-SVN-Rev: 6235
2001-10-15 00:09:23 +00:00
Vladimir Weinstein
b644c471ab ICU-1245 more work on prefixes + bail out for strcoll if shifted AND hiragana quaternary
X-SVN-Rev: 6232
2001-10-13 16:20:01 +00:00
Vladimir Weinstein
e0be0db178 ICU-1245 use NFC instead of NFKC for prefix processing
X-SVN-Rev: 6217
2001-10-12 19:44:40 +00:00
Vladimir Weinstein
99e87d5bdb ICU-1245 correct initing and querying of UCollator.hiraganaQ
X-SVN-Rev: 6145
2001-10-10 01:48:36 +00:00
Helena Chapman
d816eefc57 ICU-1264 added namspace support where possible.
X-SVN-Rev: 6124
2001-10-08 23:26:58 +00:00
Vladimir Weinstein
d8de311a42 ICU-1083 was forgetting to backup when trail surrogate is not in the table
X-SVN-Rev: 6122
2001-10-08 19:29:12 +00:00
Vladimir Weinstein
1dc54880df ICU-1245 proper surrogate handling. Cleaned some unused variable warnings.
X-SVN-Rev: 6116
2001-10-08 02:31:50 +00:00
Vladimir Weinstein
effdbdaaac ICU-1245 Do Hiragana processing (still limping for shifted strcoll)
X-SVN-Rev: 6067
2001-10-05 02:07:51 +00:00
Markus Scherer
59e0ecc836 ICU-1109 change NUL-termination semantics
X-SVN-Rev: 6031
2001-10-04 00:14:12 +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
58a9839764 ICU-1245 handler for special processing for iterating backwards
X-SVN-Rev: 5986
2001-10-02 01:25:25 +00:00
Vladimir Weinstein
0180438c87 ICU-1245 use NFKC for prefix analysis in Japanese
X-SVN-Rev: 5982
2001-10-01 02:58:26 +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
Vladimir Weinstein
2610b4f7ae ICU-1000 according to Markus, we will never encounter Hanguls in the side buffer
X-SVN-Rev: 5940
2001-09-27 18:36:18 +00:00
Vladimir Weinstein
ede2afe7ad ICU-1000 another try at Jamo specials. Think I got them right now. Still needs another iteration for the situation when we are already in the normalization buffer
X-SVN-Rev: 5938
2001-09-27 17:17:54 +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
George Rhoten
ce583739d8 ICU-1244 xxx_safeClone functions need to align the memory buffer on
64-bit computers.

X-SVN-Rev: 5934
2001-09-26 21:09:18 +00:00
Vladimir Weinstein
301464ad59 ICU-1000 stuffing special Jamos in the side buffer instead of handling them separately - need to review it with Andy
X-SVN-Rev: 5903
2001-09-24 02:24:09 +00:00
Vladimir Weinstein
bd22c72a38 ICU-998 More efficient secondary and tertiary compressing - fixed intltest
X-SVN-Rev: 5902
2001-09-24 00:20:59 +00:00
Markus Scherer
bac39b28c6 ICU-1229 in ucol_openRules: use UColAttributeValue instead of UNormalizationMode
X-SVN-Rev: 5895
2001-09-22 01:24:15 +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
George Rhoten
aa4ecc4643 ICU-740 Don't include unneeded header files.
X-SVN-Rev: 5808
2001-09-19 01:15:41 +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
Vladimir Weinstein
91c3b146eb ICU-392 remove collator State APIs
X-SVN-Rev: 5760
2001-09-17 22:55:04 +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
Markus Scherer
0844431640 ICU-1109 implement new NUL-termination semantics
X-SVN-Rev: 5696
2001-09-05 23:39:38 +00:00
George Rhoten
493c52bce6 ICU-770 Internal API name change
X-SVN-Rev: 5649
2001-08-31 02:13:00 +00:00
George Rhoten
e3be3468c0 ICU-770 More data cleanup
X-SVN-Rev: 5619
2001-08-30 02:59:19 +00:00
George Rhoten
6a7682e8a0 ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 5599
2001-08-28 18:53:23 +00:00
George Rhoten
a84135e73e ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 5521
2001-08-17 21:05:56 +00:00
Markus Scherer
6eb5998fc1 ICU-1007 replace old normalization implementation by new one, use unorm_quickCheck(UNORM_FCD) instead of the temporary checkFCD()
X-SVN-Rev: 5489
2001-08-17 00:21:18 +00:00
Ram Viswanadha
d7d6c296e2 ICU-329 First take on add better error reporting with UParseError struct.
X-SVN-Rev: 5472
2001-08-16 00:55:16 +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
George Rhoten
0ca315bb4e ICU-900 Fixed some compiler warnings
X-SVN-Rev: 5160
2001-07-02 22:56:52 +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
Markus Scherer
4bd57921ca ICU-973 use the new u_memcmpCodePointOrder()
X-SVN-Rev: 5079
2001-06-25 23:45:33 +00:00
Vladimir Weinstein
f8af8ef211 ICU-1002 changed semantics of variable top, fixed fractional UCA, added placeholder for setter API, added error codes
X-SVN-Rev: 5069
2001-06-25 04:01:49 +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
Vladimir Weinstein
a7268db185 ICU-1003 removing incremental compare API
X-SVN-Rev: 5021
2001-06-19 21:18:41 +00:00
Vladimir Weinstein
5e30c2c882 ICU-96 BRAINDEAD CVS allowed new revision not to contain changes from the previous revision. Changes remerged now.
X-SVN-Rev: 4911
2001-06-07 21:28:56 +00:00
Andy Heninger
da3db6fbc5 ICU-880 GetSpecialCE Contraction code: add comments restructure w more use of inline funcs
X-SVN-Rev: 4905
2001-06-06 23:26:50 +00:00
Vladimir Weinstein
ef075eb26d ICU-96 fixed a memory leak
X-SVN-Rev: 4904
2001-06-06 22:13:37 +00:00
Vladimir Weinstein
3ff593d857 ICU-96 Initing of TokenParser structure moved to parser (cleanup)
X-SVN-Rev: 4894
2001-06-06 20:18:38 +00:00
Vladimir Weinstein
ec1bf1b9fc ICU-96 changed int usage to int32_t, removed dependency on limits.h and stdio.h
X-SVN-Rev: 4880
2001-06-03 23:40:41 +00:00
Vladimir Weinstein
dffcc4b530 ICU-96 ucol.cpp always needs limits.h
X-SVN-Rev: 4879
2001-06-02 23:51:42 +00:00
Vladimir Weinstein
a567c6fb3e ICU-96 fixed bug in treating continuations in ucol_strcoll/shifted/quad level.
X-SVN-Rev: 4875
2001-06-02 01:01:18 +00:00
George Rhoten
a869e621bb ICU-900 Fixed some compiler warnings
X-SVN-Rev: 4873
2001-06-01 22:08:06 +00:00
Vladimir Weinstein
bedc1b349b ICU-96 fixed a typo
X-SVN-Rev: 4841
2001-05-31 15:48:16 +00:00
Vladimir Weinstein
f5e2df945a ICU-96 Better handling of extreme normalization sizes. Fixed getRulesEx so that they don't choke on \u0000
X-SVN-Rev: 4839
2001-05-31 06:06:30 +00:00
Vladimir Weinstein
c7a2bac580 ICU-96 changed sortkey implementation as per code review
X-SVN-Rev: 4824
2001-05-29 04:59:29 +00:00
Vladimir Weinstein
9ac95a85a7 ICU-96 fixed LINUX compiler warnings
X-SVN-Rev: 4823
2001-05-28 20:57:59 +00:00
Andy Heninger
d056250053 ICU-880 Normalization fixes for strings containing null chars.
X-SVN-Rev: 4804
2001-05-25 19:30:01 +00:00
Syn Wee Quek
204e674db5 ICU-861
Cleaned up backwards iterator.

X-SVN-Rev: 4796
2001-05-25 16:54:06 +00:00
Andy Heninger
14ffa22646 ICU-880 Incremental Normalize bug fix: error if a non-normal sequence of
combining characters is terminated by surrogate pair.

X-SVN-Rev: 4795
2001-05-25 16:41:59 +00:00
Vladimir Weinstein
9c54cb62b4 ICU-96 code cleanup as per code review
X-SVN-Rev: 4786
2001-05-24 22:37:03 +00:00
Vladimir Weinstein
152b11f484 ICU-96 Hangul tailoring fix, different case bit function, added comments to strcoll
X-SVN-Rev: 4761
2001-05-22 22:26:58 +00:00
Vladimir Weinstein
eb53dfe572 ICU-96 [CODE REVIEW] /* THIS WOULD BE AN API CHANGE - WE HAD TO REMOVE IT FROM COMMON AND PUT IN UCOL.CPP */ We needed u_strncmpCodePointOrder for identical comparison
X-SVN-Rev: 4735
2001-05-21 22:54:51 +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
Andy Heninger
51854ca791 ICU-880 Added tests for incremental normalization
X-SVN-Rev: 4706
2001-05-17 23:09:35 +00:00
Syn Wee Quek
ebb67d12c9 ICU-861
Bail out when CE buffer is exhausted in the backwards iteration.

X-SVN-Rev: 4701
2001-05-17 21:34:04 +00:00
Yves Arrouye
2b53e9a143 ICU-832 keep including stdio.h because of the sprintf calls, and add
one conditional around a standalone fprintf.

X-SVN-Rev: 4700
2001-05-17 18:19:42 +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
731131f9d7 ICU-96 fixed implicit generation for surrogates
X-SVN-Rev: 4689
2001-05-16 18:23:26 +00:00
George Rhoten
28d425786f ICU-832 Don't call fprint when not debugging collation. It takes up space in the DLL.
X-SVN-Rev: 4686
2001-05-16 17:09:31 +00:00
Vladimir Weinstein
495000031a ICU-96 optimization for discontiguos contractions - needs some cleanup, but functional
X-SVN-Rev: 4678
2001-05-15 23:00:04 +00:00
Vladimir Weinstein
ca9ea470bb ICU-96 fixed some initalization issues, a bug in shifted strcoll and implicit CEs secondaries and tertiaries
X-SVN-Rev: 4671
2001-05-15 17:38:18 +00:00
Syn Wee Quek
cede7f2aa4 ICU-861
Modified dicontiguos contraction handling

X-SVN-Rev: 4662
2001-05-14 18:57:54 +00:00
Syn Wee Quek
71e1a159a2 ICU-861
Modified dicontiguos contraction handling for end of string.

X-SVN-Rev: 4659
2001-05-12 00:12:55 +00:00
George Rhoten
fedfbd0a04 ICU-865 HP/UX CC can't handle an array within a switch statement.
X-SVN-Rev: 4656
2001-05-11 16:23:29 +00:00
Andy Heninger
22be543774 ICU-880 UnsafeCP and Contraction End hash tables, merge UCA data into all of them.
X-SVN-Rev: 4653
2001-05-11 01:13:08 +00:00
Syn Wee Quek
e84355aaf7 ICU-861
Modified contraction handling for end of string in backwards iteration.

X-SVN-Rev: 4649
2001-05-10 23:05:23 +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
Syn Wee Quek
aa6c989442 ICU-861
Added discontiguos contraction implementations

X-SVN-Rev: 4636
2001-05-10 17:49:24 +00:00
Andy Heninger
9718f0991a ICU-900 Undid a couple of the previous compiler warning fixes that broke
sort key compression, and made key compression be built by default.

X-SVN-Rev: 4599
2001-05-03 23:33:29 +00:00
George Rhoten
4390ce50c4 ICU-900 Fixed some compiler warnings
X-SVN-Rev: 4584
2001-05-02 23:36:22 +00:00
Vladimir Weinstein
4746d0b3de ICU-96 constants alignment
X-SVN-Rev: 4582
2001-05-02 05:09:40 +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
Syn Wee Quek
cfe6ff00f7 ICU-861
Minor optimization and clean up

X-SVN-Rev: 4572
2001-04-28 01:22:25 +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
794fea28f5 ICU-861
Added normalization to contraction for forwards and backwards iteration

X-SVN-Rev: 4564
2001-04-25 23:28:55 +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
f7d61bafc9 ICU-96 primary compression under #ifdef UCOL_PRIM_COMPRESSION not finished, do not use
X-SVN-Rev: 4548
2001-04-24 23:32:40 +00:00
Syn Wee Quek
662d4ab558 ICU-861
Added normalization to contraction.
Note this is not totally working yet.

X-SVN-Rev: 4538
2001-04-24 03:18:54 +00:00
Vladimir Weinstein
4c635dfeca ICU-96 primary compression under #ifdef UCOL_PRIM_COMPRESSION not finished, do not use
X-SVN-Rev: 4537
2001-04-23 23:41:46 +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
5a1d249986 ICU-96 changed Fractional UCA - implicit generation
X-SVN-Rev: 4518
2001-04-19 23:49:03 +00:00
Vladimir Weinstein
ca370278a7 ICU-96 changed Fractional UCA - gap widened
X-SVN-Rev: 4515
2001-04-19 20:29:34 +00:00
Vladimir Weinstein
deed931e7a ICU-96 Added Markuses identical level generator
X-SVN-Rev: 4513
2001-04-19 19:02:01 +00:00
Vladimir Weinstein
8d3eb3b356 ICU-96 fixed variable top
X-SVN-Rev: 4510
2001-04-19 17:08:07 +00:00
George Rhoten
a1f7af0dd9 ICU-865 Don't use lowercase false and use the return type of strcmp() properly
X-SVN-Rev: 4507
2001-04-19 00:52:55 +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
Yves Arrouye
f3f0c1c985 ICU-821 support setting debug/optimization flags.
X-SVN-Rev: 4497
2001-04-18 03:06:43 +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
8ef71be0d9 ICU-861
Removed a redundant assignment.

X-SVN-Rev: 4486
2001-04-17 17:27:01 +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
Andy Heninger
c68d3dc63f ICU-880 strcoll: coding guideline changes. No logical change.
X-SVN-Rev: 4474
2001-04-12 19:59:28 +00:00
Syn Wee Quek
7d534e0d11 ICU-861
Modified fcdPosition in getSpecialPrevCE for thai.

X-SVN-Rev: 4473
2001-04-12 18:25:07 +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
ee79f999e8 ICU-880 strcoll: incremental FCD check and no precalc of length
of null terminated strings

X-SVN-Rev: 4466
2001-04-10 22:06:25 +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
db7dacac2a ICU-96 simplified debugging
X-SVN-Rev: 4457
2001-04-06 22:51:41 +00:00
Vladimir Weinstein
c10181baeb ICU-96 fix for variable top in tailorings + more tests
X-SVN-Rev: 4453
2001-04-05 22:48:23 +00:00
Ram Viswanadha
9b3d7e9c96 ICU-96 Fix initUCA, open & openRules methods to check status and clean up after themselves
X-SVN-Rev: 4449
2001-04-05 01:40:36 +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
ca2498db25 ICU-96 update to attribute getter
X-SVN-Rev: 4321
2001-03-23 23:48:26 +00:00
Vladimir Weinstein
f182a3214f ICU-96 fix for crash on AS400 due to negative pointer value
X-SVN-Rev: 4307
2001-03-23 07:48:40 +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
c50adff03c ICU-96 fixed japanese contraction handling
X-SVN-Rev: 4210
2001-03-21 00:22:54 +00:00
Andy Heninger
26d19f7d22 ICU-880 faster loop for strcoll leading chars == comparison.
X-SVN-Rev: 4191
2001-03-20 02:26:23 +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
Markus Scherer
499a3e2ac3 ICU-890 use improved fillOuput function from cpputils
X-SVN-Rev: 4173
2001-03-17 23:36:26 +00:00
Vladimir Weinstein
75510f6028 ICU-96 updated copyright notices. made strcollinc smarter
X-SVN-Rev: 4155
2001-03-17 00:46:46 +00:00
Vladimir Weinstein
16d322783f ICU-96 fixed case bit in continuations handling
X-SVN-Rev: 4144
2001-03-16 19:06:07 +00:00
Syn Wee Quek
b9f70c4da3 ICU-807
Stricter boundary checks.

X-SVN-Rev: 4141
2001-03-16 18:58:41 +00:00
Syn Wee Quek
c647c6b37a ICU-861
Minor clean up, removed irrelevant comment.

X-SVN-Rev: 4138
2001-03-16 18:41:28 +00:00
Syn Wee Quek
57da770f26 ICU-807
Fix boundary error.

X-SVN-Rev: 4128
2001-03-16 02:35:31 +00:00
Vladimir Weinstein
a2be4b4d8b ICU-96 fixes for japanese
X-SVN-Rev: 4125
2001-03-16 02:14:37 +00:00
Syn Wee Quek
1267d9ecbd ICU-807
Modified variable namings.

X-SVN-Rev: 4111
2001-03-15 22:29:10 +00:00
Vladimir Weinstein
88849b7bdc ICU-96 more fixes to incomplete contractions
X-SVN-Rev: 4107
2001-03-15 21:35:50 +00:00
Andy Heninger
f70e9651cc ICU-880 Remove dead code for runtime construction of unsafe contraction char table.
X-SVN-Rev: 4096
2001-03-15 18:02:48 +00:00
Vladimir Weinstein
f08be564a6 ICU-96 support for shifted for strengths less than quad
X-SVN-Rev: 4090
2001-03-15 02:49:35 +00:00
Steven R. Loomis
8084058105 ICU-861 remove nested comments'
X-SVN-Rev: 4086
2001-03-15 02:16:02 +00:00
Syn Wee Quek
18d2aadfba ICU-861
Get contraction previous CE update.

X-SVN-Rev: 4074
2001-03-14 19:32:15 +00:00
Vladimir Weinstein
65452e93fa ICU-96 fix for incomplete contraction problem
X-SVN-Rev: 4071
2001-03-14 18:55:38 +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
Syn Wee Quek
6796b55802 ICU-96
Terminated memory access error in strcoll and incstrcoll when check for UCOL_IDENTICAL

X-SVN-Rev: 4060
2001-03-14 01:14:34 +00:00
Markus Scherer
cdf846abbe ICU-96 implement ucol_openVersion()
X-SVN-Rev: 4056
2001-03-14 00:22:56 +00:00
Vladimir Weinstein
2d87db9275 ICU-96 parsing update: use implicit &[top] if there is no reset and parsing quoted strings
X-SVN-Rev: 4054
2001-03-14 00:12:46 +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
Ram Viswanadha
7efbd52371 ICU-96 Fixed access violation bug in ucol_getRulesEx
X-SVN-Rev: 4018
2001-03-10 03:03:45 +00:00
Syn Wee Quek
adfe56611e ICU-861
Updated getSpecialPrevCE to include management for broken multiple contractions.

X-SVN-Rev: 4003
2001-03-09 23:09:21 +00:00
Syn Wee Quek
f1f8d7ec66 ICU-861
Updated getSpecialCE.

X-SVN-Rev: 4001
2001-03-09 21:35:31 +00:00
Vladimir Weinstein
cc0d1a23ba ICU-96 fix for the multiple level contraction bug noted by Syn Wee. Other CE getting procedures that deal with contractions should be also checked
X-SVN-Rev: 3994
2001-03-09 07:18:33 +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
Vladimir Weinstein
a421457a49 ICU-96 starting JamoSpecial stuff...
X-SVN-Rev: 3957
2001-03-08 00:58:36 +00:00
Vladimir Weinstein
2ffeeafa59 ICU-96 more CE generation stuff, incremental compare, fixed currency test
X-SVN-Rev: 3953
2001-03-07 23:56:26 +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
bcb3f971f7 ICU-878
Merged tailoring maxexpansion with UCA.
One access check instead of the previous 2 checks in tailoring then UCA.
Less painful this way.

X-SVN-Rev: 3941
2001-03-07 20:45:08 +00:00
Vladimir Weinstein
494265722c ICU-96 some CE generation stuff + passing UCA around for Syn Wee
X-SVN-Rev: 3940
2001-03-07 19:43:06 +00:00
George Rhoten
4a1fd4d968 ICU-865 ANSI C++ forbids declaration `ucol_getFirstCE' with no type
X-SVN-Rev: 3932
2001-03-07 01:22:42 +00:00
Vladimir Weinstein
9b3f79c05f ICU-96 option parsing in rules. More info on errors in rules
X-SVN-Rev: 3916
2001-03-06 07:44:37 +00:00
Vladimir Weinstein
2b117c5c1a ICU-96 ground for parsing options + some tests
X-SVN-Rev: 3906
2001-03-06 00:57:48 +00:00
Vladimir Weinstein
1b31da3609 ICU-96 more on canonical closure plus some cleanup
X-SVN-Rev: 3903
2001-03-05 20:08:31 +00:00
Vladimir Weinstein
454ade03e9 ICU-96 tailoring cleanup, general collation cleanup
X-SVN-Rev: 3896
2001-03-03 09:27:42 +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
Andy Heninger
a6d0a55a72 ICU-880 Optimize strcoll for strings with leading common part. Add hashtable of "unsafe" chars to support impl of this.
X-SVN-Rev: 3890
2001-03-03 03:35:17 +00:00
Vladimir Weinstein
c0d2a98407 ICU-96 better canonical closure + more tailoring tune ups
X-SVN-Rev: 3876
2001-03-02 09:24:30 +00:00
Syn Wee Quek
50ff5456e4 ICU-878
Added getMaxExpansion to collator

X-SVN-Rev: 3871
2001-03-02 01:14:03 +00:00
Vladimir Weinstein
4a5135b5a1 ICU-96 correct case for generated CEs
X-SVN-Rev: 3870
2001-03-02 00:43:14 +00:00
Vladimir Weinstein
69553ae0cb ICU-96 case switching
X-SVN-Rev: 3868
2001-03-02 00:19:43 +00:00
Ram Viswanadha
844af96513 ICU-96 uca_getRulesEx version 1
X-SVN-Rev: 3856
2001-03-01 20:12:12 +00:00
Vladimir Weinstein
04774b4970 ICU-96 case bit in tailorings
X-SVN-Rev: 3850
2001-03-01 00:14:29 +00:00
Vladimir Weinstein
dca618e168 ICU-96 more fixes to tailoring
X-SVN-Rev: 3842
2001-02-28 21:50:23 +00:00
Vladimir Weinstein
bfb058042b ICU-96 compiler warnings fixes + a nice dead loop fix :)
X-SVN-Rev: 3824
2001-02-28 19:30:41 +00:00
Vladimir Weinstein
ff9286393c ICU-96 removed most of pedantic compiler warnings
X-SVN-Rev: 3823
2001-02-28 19:01:23 +00:00
Ram Viswanadha
e28ccb917b ICU-841 Updated with changes discussed in design review
X-SVN-Rev: 3817
2001-02-28 02:50:48 +00:00
Steven R. Loomis
86878195b1 ICU-96 uint16_t != UChar
X-SVN-Rev: 3813
2001-02-28 00:24:15 +00:00
Vladimir Weinstein
5c43f59fbf ICU-96 stable tailoring generation, leak fixes
X-SVN-Rev: 3805
2001-02-27 21:01:11 +00:00
Vladimir Weinstein
2c24ff13a5 ICU-96 more collation
X-SVN-Rev: 3801
2001-02-27 07:48:00 +00:00
Ram Viswanadha
5682d6d452 ICU-841 Restored UCollator struct by deleted trVersion
X-SVN-Rev: 3799
2001-02-27 01:35:59 +00:00
Ram Viswanadha
2c6f953fb5 ICU-841 Fixed minor compiler warnings
X-SVN-Rev: 3798
2001-02-27 01:08:32 +00:00
Ram Viswanadha
7f0d1775f7 ICU-841 ucol_getVersion implementation version 2
X-SVN-Rev: 3794
2001-02-26 23:52:44 +00:00
Vladimir Weinstein
1c52bd1c5c ICU-96 tailoring implementation take 1
X-SVN-Rev: 3772
2001-02-26 10:28:56 +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
Jim Snyder Grant
9b07d23c28 ICU-853 Fixed code for ucol_safeClone (checked in under the wrong jitterbug before)
X-SVN-Rev: 3752
2001-02-23 18:24:05 +00:00
Jim Snyder Grant
8da891a5c1 ICU-535 fixed HP/UX and AIX problems.
X-SVN-Rev: 3724
2001-02-22 16:32:40 +00:00
Ram Viswanadha
549e5f528c ICU-841 fixed memory leak in ucol_open()
X-SVN-Rev: 3708
2001-02-21 21:43:17 +00:00
Vladimir Weinstein
4accd4cd4d ICU-96 more changes to collation
X-SVN-Rev: 3706
2001-02-21 17:45:06 +00:00
Syn Wee Quek
78a57a7680 ICU-861
Implemented backwards iterator for collation

X-SVN-Rev: 3679
2001-02-20 00:26:50 +00:00
Jim Snyder Grant
7d75aab3e8 ICU-853 (empty) Implementations for ucol_safeClone & ubrk_safeClone
X-SVN-Rev: 3661
2001-02-16 22:43:39 +00:00
Markus Scherer
2381075aa8 ICU-833 make normalizer function and enum names consistent with guidelines
X-SVN-Rev: 3634
2001-02-15 20:21:21 +00:00
Syn Wee Quek
15d97100f8 ICU-833
Replaced quickcheck with checkFCD

X-SVN-Rev: 3633
2001-02-15 19:30:25 +00:00
George Rhoten
16b8a6e0fb ICU-535 Fixed some compiler warnings
X-SVN-Rev: 3613
2001-02-12 20:44:05 +00:00
Vladimir Weinstein
dad66ae428 ICU-96 Removed some debug stuff
X-SVN-Rev: 3609
2001-02-12 09:25:30 +00:00
Vladimir Weinstein
52cb95bc60 ICU-96 Algorithmic Hangul decomposition
X-SVN-Rev: 3608
2001-02-12 08:37:21 +00:00
Ram Viswanadha
d7ad8dadb5 ICU-841 Priliminary implementation of ucol_getVersion function
X-SVN-Rev: 3603
2001-02-10 02:42:54 +00:00
Vladimir Weinstein
cbe4d4feb6 ICU-96 generating CEs from token list
X-SVN-Rev: 3599
2001-02-09 01:04:08 +00:00
Vladimir Weinstein
5745faf748 ICU-96 collation update
X-SVN-Rev: 3588
2001-02-08 01:04:43 +00:00
Vladimir Weinstein
bf9f0b3ef3 ICU-96 collation update
X-SVN-Rev: 3582
2001-02-07 00:57:39 +00:00
Vladimir Weinstein
1128550645 ICU-96 more collation stuff
X-SVN-Rev: 3569
2001-02-06 06:50:16 +00:00
Vladimir Weinstein
d0fb387de1 ICU-96 more performance improvements
X-SVN-Rev: 3566
2001-02-06 00:36:48 +00:00
Vladimir Weinstein
020916d4ab ICU-96 more collation
X-SVN-Rev: 3559
2001-02-05 05:36:12 +00:00
Vladimir Weinstein
8a1ed71eda ICU-96 token list generation should work now, moving to CE generation
X-SVN-Rev: 3514
2001-01-31 23:12:37 +00:00
Vladimir Weinstein
af18dd49bf ICU-96 intermediate commit for George to build
X-SVN-Rev: 3508
2001-01-31 20:21:25 +00:00
Vladimir Weinstein
865910d355 ICU-96 intermediate commit for George to build
X-SVN-Rev: 3507
2001-01-31 20:17:12 +00:00
Vladimir Weinstein
493243df0b ICU-96 token list, CE searching are in
X-SVN-Rev: 3498
2001-01-31 07:20:56 +00:00
Vladimir Weinstein
04b771927e ICU-96 making genrb a wee bit more robust...
X-SVN-Rev: 3488
2001-01-29 22:34:04 +00:00
Vladimir Weinstein
aac31e5566 ICU-96 more new files. Will try to do unix port now...
X-SVN-Rev: 3487
2001-01-29 22:09:24 +00:00
Vladimir Weinstein
fe29e55faa ICU-96 some of the cintltst tests are enabled. non-tailored locales should work more-less properly now.
X-SVN-Rev: 3482
2001-01-26 00:12:23 +00:00
Vladimir Weinstein
25d035bfb9 ICU-96 shifted conformance test OK, strcoll
X-SVN-Rev: 3478
2001-01-25 06:51:18 +00:00
Vladimir Weinstein
c47b7bb2bd ICU-96 more strcoll code including shifted
X-SVN-Rev: 3474
2001-01-24 16:18:48 +00:00
Vladimir Weinstein
43827ea5e2 ICU-96 strcoll redesigned
X-SVN-Rev: 3468
2001-01-24 00:35:19 +00:00
Vladimir Weinstein
c33e11db74 ICU-96 rewriting strcoll
X-SVN-Rev: 3453
2001-01-23 06:58:22 +00:00
Vladimir Weinstein
223bd778ba ICU-96 more collation stuff
X-SVN-Rev: 3444
2001-01-22 23:48:48 +00:00
Vladimir Weinstein
38f83c11dc ICU-96 compression cleaned up (mostly), case bit is removed from the tertiaries... down to 112 errors on conformance test
X-SVN-Rev: 3441
2001-01-22 06:55:58 +00:00
Vladimir Weinstein
3373366082 ICU-96 more work on compression, preparing for tailoring
X-SVN-Rev: 3437
2001-01-18 00:46:19 +00:00
Ram Viswanadha
803f867e32 ICU-807 Committed by Syn Wee.
Build error in openRules.
Offending part commented out by synwee.
To be updated later.

X-SVN-Rev: 3436
2001-01-18 00:28:20 +00:00
Vladimir Weinstein
c620ded993 ICU-96 strcoll is in and some more goodies - half of incremental ....
X-SVN-Rev: 3424
2001-01-16 00:28:40 +00:00
George Rhoten
86f5fe62ac ICU-681 Solaris does not like true or false, and Windows complains about while (true).
X-SVN-Rev: 3423
2001-01-15 23:18:06 +00:00
Vladimir Weinstein
362eecc2ca ICU-96 UCollationElements (C wrapper for CollationIterator) is moved to ucoleitr.[h|cpp]
X-SVN-Rev: 3422
2001-01-15 19:02:30 +00:00
Vladimir Weinstein
fe9596e031 ICU-96 old collation ripped our from the C framework, replaced by the new collation work in progress
X-SVN-Rev: 3421
2001-01-15 07:28:54 +00:00
Vladimir Weinstein
12951e335d ICU-96 more changes, reflecting the new design of long primaries and continuations
X-SVN-Rev: 3410
2001-01-12 08:18:12 +00:00
Vladimir Weinstein
626af9b611 ICU-96 added implicit surrogate CE support. New UCA table
X-SVN-Rev: 3407
2001-01-11 22:03:38 +00:00
Vladimir Weinstein
3eee3d6dcf ICU-96 more collation stuff
X-SVN-Rev: 3402
2001-01-10 00:52:06 +00:00
Vladimir Weinstein
d2ccd0caf7 ICU-96 more changes to sortkey generation and CE getting
X-SVN-Rev: 3389
2001-01-09 00:52:18 +00:00
Vladimir Weinstein
8eb80185f6 ICU-96 sortkey algorithm is now in... just compiles for now...
X-SVN-Rev: 3387
2001-01-08 06:51:18 +00:00
Vladimir Weinstein
f36d151c5f ICU-96 more collation stuff
X-SVN-Rev: 3385
2001-01-05 06:36:10 +00:00
Vladimir Weinstein
41c62dcb9f ICU-96 Implementing the new collation algorithm
X-SVN-Rev: 3379
2001-01-05 00:47:25 +00:00
Vladimir Weinstein
3aa279ce50 ICU-96 starting the 1.8 implementation
X-SVN-Rev: 3374
2001-01-04 00:45:41 +00:00
Vladimir Weinstein
8e06769a63 ICU-96 cleanup, comments, debugging
X-SVN-Rev: 3222
2000-12-14 01:11:11 +00:00
Vladimir Weinstein
07678fc629 ICU-96 added Normalize flag to collations that need normalization
X-SVN-Rev: 3208
2000-12-13 01:26:07 +00:00
Vladimir Weinstein
9ecaf4fcae ICU-96 collation key adopt, ucol_createSortKey, fix for collation key hash code, C++ incremental compare implementation
X-SVN-Rev: 3196
2000-12-12 01:15:30 +00:00
Vladimir Weinstein
7cdd2c8ecb ICU-96 collation data generated so that collation elements never have 00 or 01 bytes in them
X-SVN-Rev: 3179
2000-12-08 22:03:01 +00:00
Vladimir Weinstein
4a135b9af9 ICU-96 revamped ucol_getSortKey to be smarter
X-SVN-Rev: 3165
2000-12-08 00:52:46 +00:00
Vladimir Weinstein
e9151df7a2 ICU-96 Better memory management in sort key, safe clone implementation
X-SVN-Rev: 3162
2000-12-07 07:22:55 +00:00
Vladimir Weinstein
eb03d8dab2 ICU-96 more collation cleanup, plus moving normalization C API
X-SVN-Rev: 3146
2000-12-06 00:53:48 +00:00
Vladimir Weinstein
e2db5e18bc ICU-96 aligning old code with new ENUMs
X-SVN-Rev: 3125
2000-12-05 01:03:35 +00:00
Vladimir Weinstein
8b6369e759 ICU-96 incremental compare is now in
X-SVN-Rev: 3081
2000-11-30 23:20:14 +00:00
Steven R. Loomis
22abbe263f ICU-96 colperf
X-SVN-Rev: 3044
2000-11-29 04:48:39 +00:00
Vladimir Weinstein
20435f2b9c ICU-96 more collation implementation
X-SVN-Rev: 3036
2000-11-29 00:16:15 +00:00
Vladimir Weinstein
f705711c99 ICU-96 More algorithm cleanup - less errors...
X-SVN-Rev: 3005
2000-11-27 04:14:36 +00:00
Vladimir Weinstein
c54b00f284 ICU-96 reduced number of errors in tests
X-SVN-Rev: 3003
2000-11-22 23:52:43 +00:00
Vladimir Weinstein
1bc26a35f3 ICU-96 new implementation for sortkey generation and compare is active. Expect errors in tests
X-SVN-Rev: 2983
2000-11-22 00:04:03 +00:00
Vladimir Weinstein
0250f2def3 ICU-96 compiler warnings
X-SVN-Rev: 2959
2000-11-20 22:56:23 +00:00
Vladimir Weinstein
9b8718aada ICU-96 more collation
X-SVN-Rev: 2957
2000-11-20 19:17:17 +00:00
Vladimir Weinstein
1714bfe39f ICU-96 Not all things should always be const
X-SVN-Rev: 2949
2000-11-20 06:40:54 +00:00
Vladimir Weinstein
396af9063d ICU-96 1.7 API freeze commit
X-SVN-Rev: 2941
2000-11-17 23:32:32 +00:00
Vladimir Weinstein
f171b0a0a1 ICU-96 collation improvement - prototype support
X-SVN-Rev: 2876
2000-11-07 00:00:17 +00:00
Helena Chapman
db5ec3f28b ICU-581 Updated the ucol_strcoll() implementation to handle the string length correctly.
X-SVN-Rev: 2676
2000-10-13 20:14:51 +00:00
George Rhoten
6faae650dc ICU-535 fixed some compiler warnings
X-SVN-Rev: 2336
2000-08-23 16:46:39 +00:00
Helena Chapman
69ba12f77c ICU-351 Define UBool to be used in the APIs.
X-SVN-Rev: 1410
2000-05-18 22:08:39 +00:00
Vladimir Weinstein
881a9d1d31 ICU-184 support for storing binary collation data in resource bundles (initial revision)
X-SVN-Rev: 1408
2000-05-18 21:25:51 +00:00
Helena Chapman
c5a079fe2e ICU-110 Added ucol_getVersion() API for getting Collator version information.
X-SVN-Rev: 1375
2000-05-15 19:48:26 +00:00
Steven R. Loomis
e78d6db835 ICU-185 don't call Locale(UnicodeString..) deprecated apis
X-SVN-Rev: 1135
2000-04-15 21:23:28 +00:00
Vladimir Weinstein
8b20f17f49 ICU-12 all public include files are now in unicode dir, all private icu_ functions renamed to uprv_
X-SVN-Rev: 473
1999-12-28 23:57:50 +00:00
Markus Scherer
54ba2e3819 ICU-170 use UnicodeString::length() instead of the deprecated size()
X-SVN-Rev: 339
1999-12-08 02:11:04 +00:00
Steven R. Loomis
c07aed7913 ICU-96 performance improvements
X-SVN-Rev: 247
1999-11-23 22:49:29 +00:00
Alan Liu
aa63a0d413 ICU-161 Updated with the correct copyright notice from IP lawyer
X-SVN-Rev: 231
1999-11-23 01:30:04 +00:00
Markus Scherer
c67973faff ICU-7 help the OS/400 C++ compiler detect control path coverage in switch() {}
X-SVN-Rev: 100
1999-10-22 00:43:39 +00:00
Markus Scherer
07a2bc0937 ICU-6 more renaming of constant names
FAILURE -> U_FAILURE etc.

X-SVN-Rev: 76
1999-10-18 22:48:32 +00:00
Markus Scherer
b942cae860 ICU-6 change enum constants that do not conform to our naming conventions
X-SVN-Rev: 18
1999-10-07 00:07:53 +00:00
Unknown User
aa0b0a88e8 Initial revision
X-SVN-Rev: 2
1999-08-16 21:50:52 +00:00