Commit Graph

362 Commits

Author SHA1 Message Date
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
Vladimir Weinstein
8c93002e60 ICU-898 getLocale method for UCollator and RuleBasedCollator
X-SVN-Rev: 7803
2002-02-28 07:20:52 +00:00
George Rhoten
41ffc2ef36 ICU-1733 Integrate some of the easier (and non-redundent) changes from Lotus.
X-SVN-Rev: 7802
2002-02-28 01:42:40 +00:00
George Rhoten
4a092351fa ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 7721
2002-02-20 18:13:29 +00:00
George Rhoten
eba490c4ec ICU-1616 Fix some more of the Locale data
X-SVN-Rev: 7654
2002-02-14 02:27:03 +00:00
Vladimir Weinstein
1e4be9dcb9 ICU-847 Work with set sortkey length also
X-SVN-Rev: 7531
2002-01-30 06:16:58 +00:00
Vladimir Weinstein
c85bfd56c3 ICU-847 revised API and logic for bound generator. Needs more tests and examples
X-SVN-Rev: 7501
2002-01-24 23:02:02 +00:00
Vladimir Weinstein
429d200e9d ICU-847 upper and lower bound APIs - working version, not fully complete
X-SVN-Rev: 7469
2002-01-21 23:54:34 +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
George Rhoten
859edb1416 ICU-1567 This should fix some of the AIX 4.3/Visual Age 5 preprocessor problems
X-SVN-Rev: 7187
2001-11-30 00:06:13 +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
Syn Wee Quek
61990f99b2 ICU-1000
Memory leak during buffer overflow fixed

X-SVN-Rev: 6901
2001-11-14 22:22:50 +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
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