Commit Graph

434 Commits

Author SHA1 Message Date
Andy Heninger
e873651a72 ICU-2403 Misc tracing tweaks. Add cleanup func.
X-SVN-Rev: 13207
2003-09-25 17:58:08 +00:00
Andy Heninger
e6cb032d93 ICU-2403 Tracing, more cleanup.
X-SVN-Rev: 13183
2003-09-24 00:58:35 +00:00
Vladimir Weinstein
ac34860b7c ICU-3278 remove usage of static UCA and invUCA
X-SVN-Rev: 13180
2003-09-24 00:17:15 +00:00
Andy Heninger
2781c969ac ICU-2403 Tracing, partial checkin only.
X-SVN-Rev: 13149
2003-09-20 01:21:23 +00:00
Markus Scherer
2b352413b0 ICU-2235 fix generation of options-only collation tailoring binaries
X-SVN-Rev: 13144
2003-09-18 23:18:23 +00:00
Vladimir Weinstein
913c08f225 ICU-1851 even number of zeroes CODAN fix
X-SVN-Rev: 13120
2003-09-17 03:36:38 +00:00
Andy Heninger
9fd23d2638 ICU-2403 Tracing, partial checkin only.
X-SVN-Rev: 13086
2003-09-13 00:07:12 +00:00
Vladimir Weinstein
e7f61a00df ICU-3109 another Thai fix
X-SVN-Rev: 13082
2003-09-12 23:03:09 +00:00
Vladimir Weinstein
a3133d986b ICU-2458 fix bug in Latin-1 generation uncovered by the new UCA
X-SVN-Rev: 12918
2003-08-23 01:39:46 +00:00
Andy Heninger
0628ea950a ICU-3014 Revised ICU initialization code
X-SVN-Rev: 12915
2003-08-22 23:26:53 +00:00
Syn Wee Quek
f540615c13 ICU-1851 backwards iterator prefix zeros fix
X-SVN-Rev: 12913
2003-08-22 22:49:35 +00:00
Vladimir Weinstein
e94bdc1dcf ICU-3109 memcpy sneaked back in while fixing Thai. Should be uprv_memcpy.
X-SVN-Rev: 12745
2003-08-01 22:46:59 +00:00
Vladimir Weinstein
8a67936256 ICU-1851 CODAN implementation oops - lower case 'true' is not to be used
X-SVN-Rev: 12738
2003-08-01 16:55:03 +00:00
Vladimir Weinstein
ea7c24a2c2 ICU-3109 Another Thai fix
X-SVN-Rev: 12697
2003-07-26 00:25:28 +00:00
Vladimir Weinstein
f4de4308f2 ICU-1851 CODAN implementation - option for numeric collation should be properly initialized
X-SVN-Rev: 12695
2003-07-25 23:57:51 +00:00
Vladimir Weinstein
061269fb5d ICU-1851 CODAN implementation oops - lower case 'false' is not to be used
X-SVN-Rev: 12693
2003-07-25 23:08:44 +00:00
Vladimir Weinstein
49dcdabc99 ICU-3109 Something is wrong in Thai - revert to slower but working thing
X-SVN-Rev: 12687
2003-07-25 07:06:40 +00:00
Vladimir Weinstein
29de7f8abe ICU-1851 CODAN implementation, take 1
X-SVN-Rev: 12686
2003-07-25 05:31:54 +00:00
Vladimir Weinstein
2a53fc8a87 ICU-3109 more Thai fixes
X-SVN-Rev: 12663
2003-07-23 22:49:25 +00:00
Vladimir Weinstein
f51587ccf7 ICU-3109 more Thai fixes
X-SVN-Rev: 12655
2003-07-22 17:26:51 +00:00
Vladimir Weinstein
39933c8c0d ICU-3109 fix Thai reordering bugs
X-SVN-Rev: 12637
2003-07-16 22:47:34 +00:00
Vladimir Weinstein
bd90032804 ICU-2974 use uprv_memcpy instead of memcpy
X-SVN-Rev: 12432
2003-06-10 23:05:58 +00:00
Vladimir Weinstein
45d6db672b ICU-2364 update according to the code review
X-SVN-Rev: 12146
2003-05-28 23:04:30 +00:00
George Rhoten
ad541fd41e ICU-2659 Update urename.h, and hide functions that don't need to be
exported.

X-SVN-Rev: 11982
2003-05-16 22:53:54 +00:00
Vladimir Weinstein
7ec7853f1e ICU-2699 more gcc warnings fixes
X-SVN-Rev: 11958
2003-05-15 23:20:11 +00:00
Vladimir Weinstein
385ad3802c ICU-2412 check input arguments
X-SVN-Rev: 11867
2003-05-09 20:10:01 +00:00
Doug Felt
399b051326 ICU-2755 add ucol_open_internal
X-SVN-Rev: 11846
2003-05-08 22:21:05 +00:00
Vladimir Weinstein
351f2820c4 ICU-2851 fix a memory leak
X-SVN-Rev: 11839
2003-05-08 18:06: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
80d02c2ca3 ICU-2412 changes according to the public code review
X-SVN-Rev: 11829
2003-05-07 05:33:50 +00:00
Markus Scherer
3df0b027d6 ICU-2397 add comment that not all of UNORM_ITER_SIZE is needed, division truncation is ok
X-SVN-Rev: 11815
2003-05-06 18:53:42 +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
cf4bdce3b5 ICU-2787 thread safety update to UCA and inv UCA loading
X-SVN-Rev: 11800
2003-05-05 21:23:11 +00:00
Doug Felt
556c72cc54 ICU-2755 fixed RuleBasedCollator clone/cc operations to handle aliasing cases,
added additional tests for getLocale of registered collators, misc fixes to ICUService,
StringSearch, ucollator to support changes.

X-SVN-Rev: 11786
2003-05-02 22:17:14 +00:00
Vladimir Weinstein
cbfd841e2a ICU-2710 Undo change made in error
X-SVN-Rev: 11753
2003-05-01 16:02:29 +00:00
Vladimir Weinstein
c9deed82de ICU-2851 update to ucol_equals - now we analyze rules. Consider sorting reset anchors during tokenization.
X-SVN-Rev: 11750
2003-05-01 15:31:44 +00:00
Markus Scherer
8c1740d468 ICU-2710 remove @obsolete ICU 2.6 and earlier code
X-SVN-Rev: 11749
2003-05-01 01:51:51 +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
Vladimir Weinstein
7f79b235fc ICU-2339 construct collator from rules if you cannot find binary data
X-SVN-Rev: 11724
2003-04-29 00:12:41 +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
bb08191a89 ICU-2412 fixed sortkey part termination bug
X-SVN-Rev: 11399
2003-03-25 18:25:09 +00:00
Markus Scherer
10c3e3f0b2 ICU-2397 allow to stack-allocate UNormIterator
X-SVN-Rev: 11339
2003-03-17 21:20:36 +00:00
Vladimir Weinstein
96fb0b59dc ICU-2412 added comment for getnextsortkeypart, simplified some code etc...
X-SVN-Rev: 11292
2003-03-13 17:15:53 +00:00
Vladimir Weinstein
8b24f520fc ICU-2412 some comments added
X-SVN-Rev: 11256
2003-03-07 07:00:53 +00:00
Steven R. Loomis
26c61ca37a ICU-2412 no trailing commas in list/enum initializer
X-SVN-Rev: 11247
2003-03-05 01:02:31 +00:00
Vladimir Weinstein
4659ebb3c1 ICU-2412 state bits distribution reorg + handling state overflow
X-SVN-Rev: 11229
2003-03-04 06:31:20 +00:00
Vladimir Weinstein
a1ca6bef0b ICU-2412 Fixed a leak in ucol_strcollIter
X-SVN-Rev: 11156
2003-02-25 21:32:33 +00:00
Syn Wee Quek
64c96bdef0 ICU-2720 thai backwards iteration fix, keep base consonants as unsafe code
X-SVN-Rev: 11142
2003-02-22 01:26:28 +00:00
Vladimir Weinstein
44096afc59 ICU-2412 Fix for shifted in partial sort key generation & fix for a crash in double discontiguos Tibetan contraction
X-SVN-Rev: 11122
2003-02-20 08:18:37 +00:00
Vladimir Weinstein
72c8bbe382 ICU-2412 check for identical prefixes at the start of ucol_strcollIter, better handling of Thai.
X-SVN-Rev: 11112
2003-02-20 01:06:06 +00:00
Markus Scherer
4585019fa8 ICU-2412 internal normalization functions replace UBool ignoreHangul with int32_t options
X-SVN-Rev: 11067
2003-02-15 02:02:13 +00:00
Vladimir Weinstein
d89d403025 ICU-2412 another take of iterative collation and partial sort key generation
X-SVN-Rev: 11043
2003-02-14 07:46:20 +00:00
Syn Wee Quek
b11567abc8 ICU-2204 array bounds checking error fix
X-SVN-Rev: 11037
2003-02-13 23:34:01 +00:00
Vladimir Weinstein
a9a3d50b4a ICU-2412 getPreviousCE handling bug fix.
X-SVN-Rev: 10996
2003-02-08 02:16:54 +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
2522e399e1 ICU-2412 ucol_strcollIter - strcoll that takes UCharIterator * - implementation + a bug fix in sortkey length calculation
X-SVN-Rev: 10872
2003-01-20 07:43:32 +00:00
George Rhoten
60c74730d7 ICU-2085 #ifdef out deprecated code. The header was already #ifdef out.
X-SVN-Rev: 10700
2002-12-17 22:44:46 +00:00
George Rhoten
8b5d063db9 ICU-2000 Fixed some compiler warnings.
X-SVN-Rev: 10553
2002-12-06 23:53:00 +00:00
George Rhoten
6b0a7a05e8 ICU-2000 Fix some compiler warnings (fix by Vladimir)
X-SVN-Rev: 10538
2002-12-06 20:05:09 +00:00
Vladimir Weinstein
2f79227b38 ICU-2135 more memory fixes
X-SVN-Rev: 10467
2002-12-04 00:28:06 +00:00
Vladimir Weinstein
0740e8b325 ICU-1854 changes according to code review
X-SVN-Rev: 10320
2002-11-21 21:05:14 +00:00
Markus Scherer
f8a169d29a ICU-2351 make behavior of bogus strings consistent with NULL: only assignment revives a bogus string - special code for output string wrappers for pure preflighting
X-SVN-Rev: 10282
2002-11-16 01:14:40 +00:00
Vladimir Weinstein
ad1e900682 ICU-2079 relax data checking for UCA version
X-SVN-Rev: 10263
2002-11-14 21:00:19 +00:00
Vladimir Weinstein
d756219b70 ICU-1855 Introducing [copy ] and [suppressContractions ] arguments (also covers j2288 and parts of j1856)
X-SVN-Rev: 10036
2002-10-16 22:34:16 +00:00
Vladimir Weinstein
3dcfc893c6 ICU-2305 Vladimir was too eager changing stuff: variable top was a int32_t and should stay that way
X-SVN-Rev: 9987
2002-10-08 16:10:49 +00:00
Vladimir Weinstein
67eefcaadc ICU-2313 init and dispose of UCA as a regular collator
X-SVN-Rev: 9908
2002-09-20 21:57:37 +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
150ad44972 ICU-1433 getTailoredSet C/C++ return all the canonically equivalent sequences. Also added tests
X-SVN-Rev: 9867
2002-09-17 06:27:51 +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
8f14f1acab ICU-1433 Added a missing line at the end of file
X-SVN-Rev: 9838
2002-09-04 15:15:15 +00:00
Vladimir Weinstein
8238930139 ICU-1433 getTailoredSet C/C++ take 1
X-SVN-Rev: 9837
2002-09-04 06:08:04 +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
d7e0797b2c ICU-2085 #ifdef out deprecated code
X-SVN-Rev: 9756
2002-08-21 19:12:24 +00:00
George Rhoten
39fbd05424 ICU-1739 fixed a memory access error (BoundsChecker bogus warning)
X-SVN-Rev: 9603
2002-08-07 18:26:18 +00:00
Vladimir Weinstein
49153360c8 ICU-1865 Added tests for buffer overflow fix and size calculation when the input buffer is too small. Fixed calculating the sortkey size when we have to exit in the middle of calculation
X-SVN-Rev: 9538
2002-08-02 06:55:51 +00:00
Vladimir Weinstein
01c2e3412c ICU-1930 Changes according to the review comments
X-SVN-Rev: 9528
2002-08-01 23:09:41 +00:00
Vladimir Weinstein
291ee90b86 ICU-1865 Fix buffer overrun problems in calcSortKey* functions. Made counting the sortkey size better. No changes to the end results. Also tested with minimal buffer size (4) and fixed some problems.
X-SVN-Rev: 9389
2002-07-27 05:16:44 +00:00
Vladimir Weinstein
c42b31a645 ICU-1930 removed UCOL_ON_WITHOUT_HANGUL normalization option. It wasn't used while functioning and it's not used in normalization any more. The only reference was in the attribute setter.
X-SVN-Rev: 9370
2002-07-26 18:14:11 +00:00
Vladimir Weinstein
b348c3ffac ICU-1930 Use UChar32 instead of uint32_t for implicit generation boundaries
X-SVN-Rev: 9336
2002-07-25 17:38:34 +00:00
Vladimir Weinstein
b803725a1d ICU-1953 Collation code review
X-SVN-Rev: 9272
2002-07-20 06:00:04 +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
George Rhoten
5fbd03c7e8 ICU-1891 Update z/OS name
X-SVN-Rev: 9095
2002-07-11 17:06:51 +00:00
Vladimir Weinstein
dcfe706cfb ICU-1930 we now unconditionally reorder Thai/Lao prevowels
X-SVN-Rev: 9075
2002-07-09 23:57:45 +00:00
GCL Shanghai
2fab4a8cb7 ICU-1953 backout buffer overflow changes
X-SVN-Rev: 9070
2002-07-09 12:47:45 +00:00
George Rhoten
b1cee921f7 ICU-1891 Fixes for the z/OS 1.3 compiler?
X-SVN-Rev: 9052
2002-07-08 20:25:33 +00:00
GCL Shanghai
6348e12895 ICU-1953 test for buffer overflows
X-SVN-Rev: 9044
2002-07-06 10:58: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
GCL Shanghai
b89c229c6e ICU-1953 change comments style and check 0/NULL
X-SVN-Rev: 8993
2002-07-02 15:10:30 +00:00
George Rhoten
8c4f6e452c ICU-1953 Don't return NULL when it's suppose to return UCOL_NO_MORE_CES
X-SVN-Rev: 8991
2002-07-02 01:28:49 +00:00
GCL Shanghai
2144eab40a ICU-1953 Public C API have U_CAPI return-type U_EXPORT2 / Test for NULL after each uprv_malloc() or new
X-SVN-Rev: 8981
2002-06-29 09:32:36 +00:00
Vladimir Weinstein
9e2dca1c4e ICU-1948 move %%CollationBin under CollationElements table
X-SVN-Rev: 8890
2002-06-14 05:59:49 +00:00
Vladimir Weinstein
6221f1bfc1 ICU-1930 new implicit CE generation code. Also allowed setting of immplicit variables from outside, for bootstrap mode (genUCA)
X-SVN-Rev: 8881
2002-06-13 18:34:41 +00:00
Vladimir Weinstein
9f544687fe ICU-1930 Updated shifted processing (ignorables after variables should be completely ignored) per UCA amendments
X-SVN-Rev: 8796
2002-06-05 21:14:41 +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
George Rhoten
7324e9b518 ICU-898 Fix for Linux
X-SVN-Rev: 7815
2002-02-28 22:22:04 +00:00