Commit Graph

762 Commits

Author SHA1 Message Date
Andy Heninger
51854ca791 ICU-880 Added tests for incremental normalization
X-SVN-Rev: 4706
2001-05-17 23:09:35 +00:00
George Rhoten
d34c838277 ICU-958 Undoing the $(SHELL) changes.
It worked on the Solaris 2.7 machine,
but it does not work on other platforms because install-sh is not used on them.

X-SVN-Rev: 4705
2001-05-17 22:51:25 +00:00
Syn Wee Quek
705737026e ICU-861
Comments added describing possibility of CE buffer overflow during backwards iteration.

X-SVN-Rev: 4702
2001-05-17 21:34:44 +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
George Rhoten
33c862da3b ICU-958 add $(SHELL) for install-sh
X-SVN-Rev: 4694
2001-05-16 22:09:22 +00:00
George Rhoten
aa893ea4e3 ICU-953 Don't create a UnicodeString for as much data as possible.
X-SVN-Rev: 4693
2001-05-16 21:12:49 +00:00
George Rhoten
5b510e5471 ICU-953 Don't create a UnicodeString for as much data as possible.
X-SVN-Rev: 4692
2001-05-16 20:47:21 +00:00
Vladimir Weinstein
731131f9d7 ICU-96 fixed implicit generation for surrogates
X-SVN-Rev: 4689
2001-05-16 18:23:26 +00:00
Vladimir Weinstein
df9eda16d5 ICU-96 fixed compile error
X-SVN-Rev: 4688
2001-05-16 18:22:58 +00:00
Vladimir Weinstein
4ca0061c2d ICU-96 removed backward contractions
X-SVN-Rev: 4687
2001-05-16 18:11:32 +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
George Rhoten
a801f30f2a ICU-661 Don't use MFC headers
X-SVN-Rev: 4683
2001-05-16 16:19:43 +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
Jim Snyder Grant
f850e45188 ICU-923 restore 'null' as OK value to ubrk_close()
X-SVN-Rev: 4674
2001-05-15 21:02:59 +00:00
Vladimir Weinstein
c2e0cc05a7 ICU-96 new canonical closure is in place now, using the same code path as the regular collator operation
X-SVN-Rev: 4672
2001-05-15 17:39:41 +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
Vladimir Weinstein
baa59a99de ICU-96 proper handling of the terminating \u0000 in rules string
X-SVN-Rev: 4670
2001-05-15 17:36:39 +00:00
Syn Wee Quek
cede7f2aa4 ICU-861
Modified dicontiguos contraction handling

X-SVN-Rev: 4662
2001-05-14 18:57:54 +00:00
Vladimir Weinstein
f3c45c02f3 ICU-96 code for cloning of the temporary collation table (will be used for alternative canonical closure)
X-SVN-Rev: 4660
2001-05-14 06:12:28 +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
becfd9f889 ICU-597 It's hard to convert a large double to an int32_t on as/400
X-SVN-Rev: 4658
2001-05-11 23:45:33 +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
George Rhoten
6db6b757bd ICU-661 Make the version information more accurate
X-SVN-Rev: 4652
2001-05-10 23:26:58 +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
Andy Heninger
5ba0464f62 ICU-893 FIx copyright notice in version resource
X-SVN-Rev: 4638
2001-05-10 18:22:05 +00:00
Syn Wee Quek
aa6c989442 ICU-861
Added discontiguos contraction implementations

X-SVN-Rev: 4636
2001-05-10 17:49:24 +00:00
George Rhoten
56a40c23aa ICU-661 Refix the resource information building.
Well the resources build fine on my machine.

X-SVN-Rev: 4635
2001-05-10 17:43:01 +00:00
George Rhoten
bab001e8f6 ICU-661 Remove debug information in release mode
and include the proper include directory for building resources in release mode.

X-SVN-Rev: 4633
2001-05-10 16:48:25 +00:00
Andy Heninger
f89197ab0c ICU-893 Add Version Resources for Windows DLLs (except for data dll)
X-SVN-Rev: 4631
2001-05-09 22:41:59 +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
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
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
06563ce87a ICU-96 wrong option size was making some options unusable
X-SVN-Rev: 4559
2001-04-25 22:28:30 +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
Vladimir Weinstein
c46917cfb0 ICU-96 Vladimir cannot change literal to a named constant without messing things up!
X-SVN-Rev: 4539
2001-04-24 05:13:25 +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
Vladimir Weinstein
eb356d1e2b ICU-96 using named constants instead of magic numbers
X-SVN-Rev: 4535
2001-04-23 23:39:14 +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
Vladimir Weinstein
dd34a3a9e2 ICU-96 moved UCOL_TOK_RESET const to ucol_imp.h
X-SVN-Rev: 4533
2001-04-23 23:32:40 +00:00
Vladimir Weinstein
6c99d6ba9e ICU-96 adapted to new UCA distribution. Using named constants
X-SVN-Rev: 4532
2001-04-23 23:29:03 +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
Vladimir Weinstein
46676a4560 ICU-96 update to builder - more robust, better handling tailoring to implicits
X-SVN-Rev: 4526
2001-04-23 01:52:45 +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
Vladimir Weinstein
1e7b7abc7a ICU-96 deprecated ucol_strcollinc
X-SVN-Rev: 4509
2001-04-19 17:05:56 +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
George Rhoten
53f50a5718 ICU-936 U_COL_SAFECLONE_BUFFERSIZE is too small for as/400
X-SVN-Rev: 4500
2001-04-18 18:13:31 +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
Vladimir Weinstein
dc13b76767 ICU-96 make ucol_tok a .cpp file in order to be able to use inline functions
X-SVN-Rev: 4491
2001-04-17 21:47:10 +00:00
Vladimir Weinstein
6c5a4a0907 ICU-96 changed underlying infrastructure for canonical closure bug. Now it closely resembles flat file access mechanism.
X-SVN-Rev: 4490
2001-04-17 20:34:06 +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
Vladimir Weinstein
a93aa82995 ICU-96 quick fix for canonical closure bug. Needs more discussion but it works correctly as is.
X-SVN-Rev: 4477
2001-04-16 21:25:45 +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
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
a07669d83d ICU-916 contractions now include closed form
X-SVN-Rev: 4458
2001-04-06 22:53:06 +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
Vladimir Weinstein
df95857790 ICU-96 fix for variable top in tailorings
X-SVN-Rev: 4451
2001-04-05 21:27:44 +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
Alan Liu
8dbd284136 ICU-924 add "Remove" transliterator
X-SVN-Rev: 4440
2001-04-04 06:46:17 +00:00
Vladimir Weinstein
87706f0fd8 ICU-96 fix linux compile problem
X-SVN-Rev: 4438
2001-04-04 06:26:14 +00:00
Alan Liu
085701f0f4 ICU-918 fix handling of inverses
X-SVN-Rev: 4431
2001-04-03 18:06:31 +00:00
Vladimir Weinstein
d7d38866da ICU-96 fixed a bug with expansions in tailorings
X-SVN-Rev: 4427
2001-04-02 23:12:19 +00:00
Vladimir Weinstein
46bfae2dec ICU-96 fixed a builder problem related to option struct
X-SVN-Rev: 4424
2001-04-02 18:49:30 +00:00
Alan Liu
53b061edb0 ICU-918 Transliterator needs access to applyPattern(ParsePosition)
X-SVN-Rev: 4422
2001-03-31 01:22:58 +00:00
Alan Liu
bd0490db28 ICU-918 extend createInstance() syntax to recognize inline filter patterns
X-SVN-Rev: 4421
2001-03-31 01:21:38 +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
George Rhoten
f2497166dd ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 4387
2001-03-28 23:23:23 +00:00
George Rhoten
bfc878df03 ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 4386
2001-03-28 23:10:52 +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
Alan Liu
1fa0f95e73 ICU-914 fix IDs of UTRANS_REVERSE CompoundTransliterators
X-SVN-Rev: 4372
2001-03-28 01:39:30 +00:00
George Rhoten
09c96ba805 ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 4369
2001-03-28 01:00:20 +00:00
George Rhoten
b2de19f61c ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 4366
2001-03-28 00:15:46 +00:00
George Rhoten
45542b2e91 ICU-913 Use the scope operator and not the dot operator
X-SVN-Rev: 4354
2001-03-27 20:24:38 +00:00
Alan Liu
5610b913ac ICU-913 inverse of Null should be Null
X-SVN-Rev: 4352
2001-03-27 19:35:33 +00:00
Alan Liu
d9869ca69c ICU-912 fix ID of objs returned by createInstance("Foo-Bar", UTRANS_REVERSE) where "Foo-Bar" is an alias
X-SVN-Rev: 4348
2001-03-27 18:39:10 +00:00