Commit Graph

215 Commits

Author SHA1 Message Date
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