Commit Graph

172 Commits

Author SHA1 Message Date
Alan Liu
584503b5fc ICU-1532 initial implementation
X-SVN-Rev: 8815
2002-06-07 20:24:40 +00:00
George Rhoten
bc64b17bee ICU-1199 Stop using the deprecated Unicode C++ class
X-SVN-Rev: 8105
2002-03-19 03:01:28 +00:00
George Rhoten
dfe29d99fd ICU-900 Fix for some compiler warnings. Now the build system won't complain about UParseError
X-SVN-Rev: 7841
2002-03-01 21:56:40 +00:00
Alan Liu
627e6e6575 ICU-1234 cleanup
X-SVN-Rev: 7712
2002-02-20 00:01:31 +00:00
Alan Liu
47c47a5cd9 ICU-1234 make output side of RBTs object-oriented; rewrite ID parsers and modularize them; implement &Any-Lower() support
X-SVN-Rev: 7582
2002-02-07 01:07:55 +00:00
George Rhoten
24fb5c7668 ICU-1629 Simplify UnicodeString creation
X-SVN-Rev: 7471
2002-01-22 00:27:49 +00:00
Alan Liu
3eccfcc26d ICU-1575 fixed normalizing transliterator to get closer to the end in incremental mode; latin-katakana & fullwidth/halfwidth now pass incremental tests. UnicodeSet has some package-private utilities added -- they should be made public next release.
X-SVN-Rev: 7280
2001-12-03 20:50:50 +00:00
Andy Heninger
3ddc3827c9 ICU-1576 Rename class Utility to ICU_Utility, to avoid possible conflicts with application classes.
Used by transliteration; may be used by other modules in the future.

X-SVN-Rev: 7276
2001-12-03 20:19:08 +00:00
George Rhoten
78a66d2c3b ICU-1566 Use TRUE instead of true
X-SVN-Rev: 7200
2001-11-30 01:26:49 +00:00
Alan Liu
54d8e90e03 ICU-1560 sync with Java
X-SVN-Rev: 7199
2001-11-30 01:24:25 +00:00
Alan Liu
2db72dd89a ICU-1566 make getDisplayName() grok variants
X-SVN-Rev: 7186
2001-11-29 23:49:44 +00:00
Alan Liu
129fb5c916 ICU-1514 map Remove' => Null
X-SVN-Rev: 7169
2001-11-29 18:03:51 +00:00
Alan Liu
adeb7ac274 ICU-1560 implement smart rollback
X-SVN-Rev: 7155
2001-11-29 01:01:31 +00:00
Alan Liu
2280780824 ICU-1533 incorporate Mark's review comments; move escape handling methods to Utility
X-SVN-Rev: 7067
2001-11-21 22:43:21 +00:00
Alan Liu
2b109067ec ICU-1533 disable rollback code
X-SVN-Rev: 7055
2001-11-21 19:55:39 +00:00
Alan Liu
76b369219e ICU-1225 add new Escape and Unescape transliterators to replace UnicodeToHex and HexToUnicode; register several Any-Hex and Hex-Any variants
X-SVN-Rev: 7049
2001-11-21 07:02:15 +00:00
Alan Liu
4f8c05c3af ICU-1533 incorporate Mark's comments
X-SVN-Rev: 6992
2001-11-19 20:53:06 +00:00
Alan Liu
06c701ce89 ICU-1533 catch bounds violations
X-SVN-Rev: 6988
2001-11-19 19:27:51 +00:00
Alan Liu
4b60b07421 ICU-1491 add inverse mappings Lower <=> Upper, Title => Lower
X-SVN-Rev: 6977
2001-11-17 21:04:27 +00:00
Alan Liu
e572ebdae1 ICU-1389 fix comments
X-SVN-Rev: 6970
2001-11-17 05:25:38 +00:00
Helena Chapman
915a88d738 ICU-1533 Moved new Transliterator subclasses here to make them private.
X-SVN-Rev: 6964
2001-11-16 23:51:15 +00:00
Alan Liu
f6bba775e7 ICU-1533 make Transliterator.toRules do escaping
X-SVN-Rev: 6954
2001-11-16 21:49:10 +00:00
George Rhoten
2edff32a92 ICU-770 Memory cleanup
X-SVN-Rev: 6940
2001-11-16 03:57:48 +00:00
Alan Liu
9c8e90f072 ICU-1491 handle -T -T/V /V-T forms; require target
X-SVN-Rev: 6937
2001-11-16 00:58:32 +00:00
Alan Liu
59fa6939a1 ICU-1491 rewrite parseID to handle all ID form variants; move Mark's code into parseID; enable special inverses (NFC/NFC, etc.)
X-SVN-Rev: 6935
2001-11-15 23:40:02 +00:00
Ram Viswanadha
189e70e306 ICU-329 Clear the parseErr struct consistently by setting the offsets and line with -1
X-SVN-Rev: 6922
2001-11-15 21:13:37 +00:00
Alan Liu
0d924e09c2 ICU-770 fix memory leaks
X-SVN-Rev: 6855
2001-11-13 23:47:11 +00:00
Alan Liu
47e3ca5552 ICU-1046 implement rollback for filtered incremental transliteration
X-SVN-Rev: 6420
2001-10-25 00:03:50 +00:00
Alan Liu
5400659a50 ICU-1048 repair ::ID block code in reverse direction
X-SVN-Rev: 6413
2001-10-24 13:34:11 +00:00
Alan Liu
85276d3bcc ICU-1079 add ID and context param to factory
X-SVN-Rev: 6276
2001-10-17 17:29:34 +00:00
George Rhoten
ab79b802d1 ICU-1264 Fix for HP/UX aCC namespace support
X-SVN-Rev: 6206
2001-10-12 05:57:04 +00:00
George Rhoten
65cedb37df ICU-1264 Fix for HP/UX aCC namespace support
X-SVN-Rev: 6205
2001-10-12 05:54:15 +00:00
George Rhoten
efdb5a1f89 ICU-1099 Make some data a bit more const
X-SVN-Rev: 6203
2001-10-11 23:54:55 +00:00
Markus Scherer
74cfc16466 ICU-1268 use ures_openDirect() for non-locale resource bundles
X-SVN-Rev: 6177
2001-10-11 00:50:26 +00:00
Alan Liu
267a914bc3 ICU-1261 initial implementation of compound filters in IDs and ::ID blocks
X-SVN-Rev: 6154
2001-10-10 19:29:45 +00:00
Helena Chapman
d816eefc57 ICU-1264 added namspace support where possible.
X-SVN-Rev: 6124
2001-10-08 23:26:58 +00:00
Alan Liu
46a469e744 ICU-1079 fix deadlock problems with TransliteratorAlias class
X-SVN-Rev: 6054
2001-10-04 21:22:17 +00:00
Alan Liu
2c1b306ea4 ICU-1250 backport bug fixes from icu4j re: dangling lead surrogates and cursorpos matching
X-SVN-Rev: 6012
2001-10-03 16:34:53 +00:00
Markus Scherer
d1c97e25ee ICU-1109 rewrite resource bundle access to transliterators to use the c api because the Locale c++ class now canonicalizes locale IDs and thus mangles things with dash and underscore - see TODOs
X-SVN-Rev: 6001
2001-10-02 23:53:04 +00:00
Alan Liu
831554e000 ICU-1248 remove Hangul-Jamo and Jamo-Hangul; use NFD and NFC instead
X-SVN-Rev: 5969
2001-09-28 20:56:10 +00:00
Alan Liu
5d8012a121 ICU-1243 sync parsers in icu4j, icu4c, esp. segment code
X-SVN-Rev: 5930
2001-09-26 18:04:13 +00:00
George Rhoten
8fab2dfd20 ICU-770 More memory cleanup
X-SVN-Rev: 5858
2001-09-21 00:19:53 +00:00
Alan Liu
e74e4950ed ICU-770 add transliterator cleanup support
X-SVN-Rev: 5820
2001-09-19 16:50:06 +00:00
Markus Scherer
9fac14aa96 ICU-1200 no need any more to explicitly NUL-terminate after US::extract() to codepage
X-SVN-Rev: 5802
2001-09-18 23:53:27 +00:00
Ram Viswanadha
e7042af1b8 ICU-329 Add parseError and UErrorCode to all public API's to make them consitent with ICU's design. Fix implementation to bubble the error code.
X-SVN-Rev: 5653
2001-08-31 03:23:39 +00:00
George Rhoten
f9081a2e8e ICU-1096 Make UVector and UStack use UErrorCode for U_MEMORY_ALLOCATION_ERROR
X-SVN-Rev: 5565
2001-08-23 01:06:08 +00:00
Alan Liu
d126a41693 ICU-1048 fix compound inverses with parenthesized atoms
X-SVN-Rev: 5510
2001-08-17 17:22:26 +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
Alan Liu
d046d1a2a5 ICU-1079 first working version of Source-Target/Variant registry
X-SVN-Rev: 5465
2001-08-15 19:06:40 +00:00
Alan Liu
caa1bdd17e ICU-1079 initial implementation of Source-Target/Variant; no RB lookup yet
X-SVN-Rev: 5412
2001-08-01 17:37:08 +00:00
Alan Liu
c224531e81 ICU-1053 deprecate filteredCharAt
X-SVN-Rev: 5406
2001-07-31 22:43:47 +00:00
Alan Liu
84e53c8ac8 ICU-1052 more UChar32 fixes; also move some statics to file scope
X-SVN-Rev: 5405
2001-07-31 22:38:52 +00:00
Alan Liu
772c6a5bd5 ICU-1023 fix UVector to support int32_t elements properly
X-SVN-Rev: 5398
2001-07-31 18:10:53 +00:00
Alan Liu
ef8c73fc7c ICU-1076 initial limited support for Kleene star and plus operators
X-SVN-Rev: 5359
2001-07-27 00:18:53 +00:00
Alan Liu
7edf9d3e80 ICU-1052 redesign of engine to support supplemental characters
X-SVN-Rev: 5341
2001-07-25 19:11:02 +00:00
Alan Liu
b2d51635d3 ICU-1053 RBT no longer needs to pass a filter down the chain
X-SVN-Rev: 5261
2001-07-17 23:55:42 +00:00
Alan Liu
2e0818a9fc ICU-1053 move filter logic into Transliterator.filteredTransliterate
X-SVN-Rev: 5258
2001-07-17 23:36:41 +00:00
Alan Liu
fef3717e16 ICU-990 fix roundtrip problems with toRules()
X-SVN-Rev: 5249
2001-07-17 18:13:51 +00:00
Alan Liu
7ad9f84ffe ICU-1048 implement Foo(Bar) ID parsing
X-SVN-Rev: 5243
2001-07-16 20:48:46 +00:00
Alan Liu
9805ae16d9 ICU-1048 allow ::ID blocks in rules
X-SVN-Rev: 5233
2001-07-13 21:09:41 +00:00
George Rhoten
d9a95b30fc ICU-1028 More fixes for s/390
X-SVN-Rev: 5221
2001-07-11 00:24:58 +00:00
Alan Liu
0f4896e90b ICU-1029 rename Transliterator::TransliteratorFactory to Transliterator::Factory
X-SVN-Rev: 5203
2001-07-09 16:45:09 +00:00
Alan Liu
1c40f7aebd ICU-1023 upgrade uhash to support int32_t keys on platforms with sizeof(void*) < 32
X-SVN-Rev: 5196
2001-07-06 19:53:12 +00:00
Alan Liu
7771255c76 ICU-1006 fix non-inverse IDs with no separator and filter
X-SVN-Rev: 5188
2001-07-05 23:34:49 +00:00
Alan Liu
ed41780be7 ICU-1006 repair ID handling re filters and inverses
X-SVN-Rev: 5183
2001-07-05 22:54:10 +00:00
Alan Liu
81db4fe6e5 ICU-1029 fix deadlock in factory reg code
X-SVN-Rev: 5178
2001-07-05 16:45:38 +00:00
Alan Liu
7d06ccf4f3 ICU-1029 add NormalizationTransliterator; fix factory registration code
X-SVN-Rev: 5172
2001-07-03 23:44:37 +00:00
Alan Liu
ac454c01db ICU-1029 add factory registration to support NormalizationTransliterator; make cacheIDs own its own copies of ID UnicodeStrings
X-SVN-Rev: 5167
2001-07-03 20:01:56 +00:00
Alan Liu
355858163a ICU-1006 make the ID hash use case insensitive keys
X-SVN-Rev: 5037
2001-06-20 22:30:52 +00:00
Alan Liu
f8e110f587 ICU-990 add class ID meta info methods to Transliterator
X-SVN-Rev: 4962
2001-06-12 17:10:10 +00:00
Alan Liu
2b40cbd993 ICU-989 register Any-Name, Name-Any
X-SVN-Rev: 4953
2001-06-11 23:45:22 +00:00
Alan Liu
e8a68346ba ICU-965 register Any-Lower, Any-Upper, and Any-Title transliterators
X-SVN-Rev: 4942
2001-06-11 19:55:54 +00:00
Alan Liu
085701f0f4 ICU-918 fix handling of inverses
X-SVN-Rev: 4431
2001-04-03 18:06:31 +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
George Rhoten
f2497166dd ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 4387
2001-03-28 23:23:23 +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
Alan Liu
0378c92ba4 ICU-483 make internal IDs internal
X-SVN-Rev: 4290
2001-03-22 23:25:26 +00:00
Vladimir Weinstein
8e6698de87 ICU-903 updated copyright notices
X-SVN-Rev: 4237
2001-03-21 20:31:13 +00:00
George Rhoten
de8965f853 ICU-882 Don't use the deprecated API.
X-SVN-Rev: 3931
2001-03-07 01:16:17 +00:00
Alan Liu
e0e823eafd ICU-483 avoid deadlock!
X-SVN-Rev: 3924
2001-03-06 20:39:31 +00:00
George Rhoten
9d65e715fd ICU-882 Don't use the deprecated API.
X-SVN-Rev: 3905
2001-03-05 22:36:29 +00:00
Alan Liu
83377886c0 ICU-483 add inter-Indic transliterators
X-SVN-Rev: 3886
2001-03-03 00:49:45 +00:00
George Rhoten
5f8abf8e96 ICU-865 Use FALSE instead of false
X-SVN-Rev: 3843
2001-02-28 22:05:16 +00:00
Alan Liu
98d3f8dd29 ICU-872 Fix bug in finishTransliteration() turned up by JamoTest
X-SVN-Rev: 3827
2001-02-28 19:50:21 +00:00
George Rhoten
76dc0104b5 ICU-432 Removed a very small leak in the translator. There is still a lot of leaks in transliteration
X-SVN-Rev: 3260
2000-12-18 22:13:29 +00:00
George Rhoten
0ade06ab2b ICU-535 Fixed some compiler warnings.
X-SVN-Rev: 3037
2000-11-29 00:21:38 +00:00
Alan Liu
d5f34b6006 ICU-486 Implement anchors.
X-SVN-Rev: 2409
2000-08-31 17:12:45 +00:00
Helena Chapman
8f012e9004 ICU-474 make it to compile on HPUX 10.
X-SVN-Rev: 2213
2000-08-11 22:54:31 +00:00
George Rhoten
5a1369d8bc ICU-535 Removed a compiler warning
X-SVN-Rev: 2139
2000-08-08 23:26:10 +00:00
Alan Liu
b04ef38000 ICU-436 remove unused code
X-SVN-Rev: 2015
2000-07-21 22:24:35 +00:00
Alan Liu
795af33f57 ICU-474 fix UTransPosition handling
X-SVN-Rev: 1728
2000-07-01 00:13:42 +00:00
Alan Liu
418ac3b758 ICU-476 fix RBT et al copy constructor
X-SVN-Rev: 1727
2000-06-30 23:26:07 +00:00
Vladimir Weinstein
c31e17a71e ICU-436 additional constructors and _open functions for resource bundle
X-SVN-Rev: 1724
2000-06-30 20:31:39 +00:00
Alan Liu
4b93945b1a ICU-450 fix obviously erroneous usage of UTransPosition fields
X-SVN-Rev: 1659
2000-06-27 20:06:52 +00:00
Alan Liu
76de7c04e3 ICU-450 change ParseError, Transliterator::Direction, Transliterator::Position to C structs
X-SVN-Rev: 1655
2000-06-27 19:00:38 +00:00
Alan Liu
6a59bb39c8 ICU-345 fixed constructor to properly handle invalid IDs
X-SVN-Rev: 1421
2000-05-20 04:35:31 +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
c786b21d52 ICU-184 resource data files in memory mapped format (initial revision)
X-SVN-Rev: 1365
2000-05-15 18:39:17 +00:00