Commit Graph

1714 Commits

Author SHA1 Message Date
Syn Wee Quek
68cef8fd8f ICU-809
replaced UnicodeString.farray by UnicodeString.getBuffer()

X-SVN-Rev: 7969
2002-03-13 04:46:42 +00:00
Syn Wee Quek
ba68284b32 ICU-809
replaced UnicodeString.farray by UnicodeString.getBuffer()

X-SVN-Rev: 7968
2002-03-13 03:18:11 +00:00
Andy Heninger
08b4fb16d0 ICU-1730 String Thread test class renamed to avoid conflicts with other stringtest
X-SVN-Rev: 7963
2002-03-12 23:15:41 +00:00
Markus Scherer
a66e125f97 ICU-845 implement Normalizer::concatenate
X-SVN-Rev: 7960
2002-03-12 23:00:16 +00:00
Markus Scherer
e7b91a2472 ICU-845 fix bug in unorm_concatenate (reversed src/dest in memcpy)
X-SVN-Rev: 7959
2002-03-12 22:59:37 +00:00
Markus Scherer
5ff144bcb1 ICU-845 fix const-ness bugs
X-SVN-Rev: 7958
2002-03-12 22:59:04 +00:00
Andy Heninger
68f38c3807 ICU-1762 converter cache thread safety fixes
X-SVN-Rev: 7954
2002-03-12 21:54:23 +00:00
Markus Scherer
4593d2eb03 ICU-1721 fix spelling of UCHAR_IDS_TRINARY_OPERATOR, export properties functions
X-SVN-Rev: 7948
2002-03-12 19:09:08 +00:00
George Rhoten
1bc8c66e1f ICU-1036 Fix an HP/UX optimization bug with internal casing functions.
X-SVN-Rev: 7944
2002-03-12 16:57:57 +00:00
Markus Scherer
8c78422db2 ICU-1561 replace all UTextOffset with int32_t
X-SVN-Rev: 7942
2002-03-12 01:32:42 +00:00
Vladimir Weinstein
b600896b2d ICU-1754 fixed bugs in support for canonical closure
X-SVN-Rev: 7941
2002-03-12 00:49:48 +00:00
Andy Heninger
600998cd7f ICU-1730 String Thread test debugged and strengthened
X-SVN-Rev: 7939
2002-03-11 23:53:20 +00:00
Steven R. Loomis
1c6e1c40fb ICU-1730 C comments fixed
X-SVN-Rev: 7937
2002-03-11 23:39:43 +00:00
Markus Scherer
dee8abeeec ICU-1754 add internal APIs for canonical equivalence
X-SVN-Rev: 7931
2002-03-11 17:43:52 +00:00
Markus Scherer
fae8399d33 ICU-1754 add some const where necessary
X-SVN-Rev: 7930
2002-03-11 17:35:11 +00:00
Markus Scherer
dad663425c ICU-1754 store data for canonical closure
X-SVN-Rev: 7927
2002-03-09 06:00:42 +00:00
Markus Scherer
74d240ec1e ICU-1754 USet - poor man's UnicodeSet, very simple, all C, efficient serialization & functions working directly on serialized form
X-SVN-Rev: 7926
2002-03-09 05:57:39 +00:00
Andy Heninger
4408855d3f ICU-1730 UnicodeString thread safety changes
X-SVN-Rev: 7923
2002-03-09 00:36:54 +00:00
Andy Heninger
9981b416f2 ICU-1760 add ubrk_isBoundary(), which was some how missing.
X-SVN-Rev: 7919
2002-03-08 18:58:46 +00:00
George Rhoten
5c0436d02d ICU-1707 Fix an uninitialized variable.
X-SVN-Rev: 7916
2002-03-08 17:09:13 +00:00
Markus Scherer
bc4cb64d37 ICU-1721 implement Full_Composition_Exclusion
X-SVN-Rev: 7907
2002-03-07 19:57:23 +00:00
Markus Scherer
efe9c23d9f ICU-1754 parse/store in unorm.dat Full_Composition_Exclusion and FC_NFKC_Closure
X-SVN-Rev: 7905
2002-03-07 19:56:30 +00:00
Markus Scherer
56cc2f13b4 ICU-1721 implement all binary properties except Full_Composition_Exclusion
X-SVN-Rev: 7897
2002-03-06 23:31:11 +00:00
Markus Scherer
d49669597e ICU-1721 re-remove Other_Case_Ignorable property, deemed too uncertain right now if it will become an official UCD file property
X-SVN-Rev: 7886
2002-03-05 02:03:10 +00:00
Andy Heninger
d13e42d4e3 ICU-1737 thread safety problem with initialization lazy initialization of mutexs on first Lock.
X-SVN-Rev: 7885
2002-03-04 22:57:50 +00:00
Markus Scherer
b3d7cb3271 ICU-1721 move constants from genprops and uchar.c to uprops.h, store East Asian Width
X-SVN-Rev: 7882
2002-03-04 01:33:29 +00:00
Markus Scherer
ac8bf70a35 ICU-1721 remove u_internalGetCombiningClass(), was same as u_getCombiningClass()
X-SVN-Rev: 7879
2002-03-04 01:26:48 +00:00
Markus Scherer
e6879f720a ICU-1721 move u_getCombiningClass() from uchar.c to unorm.cpp, move constants to uprops.h
X-SVN-Rev: 7878
2002-03-04 01:25:51 +00:00
Markus Scherer
e833400d37 ICU-1721 move u_getCombiningClass() from uchar.c to unorm.cpp
X-SVN-Rev: 7877
2002-03-04 01:24:54 +00:00
Markus Scherer
ef2283d2ec ICU-1721 make u_charAge() public
X-SVN-Rev: 7876
2002-03-04 01:22:45 +00:00
Markus Scherer
d3111606dd ICU-1586 fix compaction bug
X-SVN-Rev: 7874
2002-03-04 01:17:45 +00:00
Yves Arrouye
9a350f505a ICU-1707 make u_enumCharNames() work with extended names, which
involves finding the holes between groups and algorithmic names and
filling them with extended names as needed. Also, enumGroupNames() now
also will generate extended names as needed for the gap in a
group, and expandName() will do the right thing for a name when
U_EXTENDED_CHAR_NAME is being passed. As a result, u_charFromName()
is faster sinc it only does one call to enumNames().

X-SVN-Rev: 7871
2002-03-03 05:37:31 +00:00
Yves Arrouye
d6404f30aa ICU-1707 make u_enumCharNames() work with extended names, which
involves finding the holes between groups and algorithmic names and
filling them with extended names as needed. Also, enumGroupNames() now
also will generate extended names as needed for the gap in a
group, and expandName() will do the right thing for a name when
U_EXTENDED_CHAR_NAME is being passed. As a result, u_charFromName()
is faster sinc it only does one call to enumNames().

X-SVN-Rev: 7870
2002-03-03 05:33:54 +00:00
Markus Scherer
9e59336c14 ICU-1721 add Other_Case_Ignorable from Unicode TR 21
X-SVN-Rev: 7869
2002-03-03 04:45:26 +00:00
Markus Scherer
fa1e80beb8 ICU-1738 remove Unicode default properties for ASCII code points (0..9f)
X-SVN-Rev: 7868
2002-03-03 04:39:22 +00:00
Markus Scherer
e5ee7b822b ICU-1721 bug fix - remove duplicate constant for 'Private Use' block name
X-SVN-Rev: 7864
2002-03-02 02:30:03 +00:00
Markus Scherer
071d83c3cc ICU-1721 Blocks.txt and PropList.txt -> uprops.dat
X-SVN-Rev: 7862
2002-03-02 02:26:19 +00:00
George Rhoten
ff18de7c2a ICU-1733 Forgot a change from Lotus.
X-SVN-Rev: 7853
2002-03-01 23:26:35 +00:00
George Rhoten
b42973bf54 ICU-1739 Clean up u_errorName implementation so that it can't go beyond the ends of the arrays
X-SVN-Rev: 7852
2002-03-01 23:25:44 +00:00
George Rhoten
8d8f73c98f ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 7832
2002-03-01 02:42:06 +00:00
Markus Scherer
2a992add12 ICU-1721 get UScriptCode from uprops.dat
X-SVN-Rev: 7827
2002-03-01 01:59:59 +00:00
George Rhoten
11f74ee29b ICU-597 This should be the right fix this time.
X-SVN-Rev: 7823
2002-03-01 01:30:35 +00:00
Vladimir Weinstein
0b2420adf3 ICU-1735 copy bogus property with assignment operator
X-SVN-Rev: 7811
2002-02-28 21:49:58 +00:00
Vladimir Weinstein
b57a64b909 ICU-1735 added setBogus and isBogus APIs
X-SVN-Rev: 7810
2002-02-28 21:32:28 +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
Andy Heninger
13e01fb91d ICU-1126 Add title break iterator
X-SVN-Rev: 7801
2002-02-28 01:28:04 +00:00
George Rhoten
475e05801c ICU-1732 Add int64_t and uint64_t
X-SVN-Rev: 7796
2002-02-27 21:52:11 +00:00
George Rhoten
ec6ac87681 ICU-1707 Make charCatNames const in the library.
X-SVN-Rev: 7794
2002-02-27 01:00:45 +00:00
George Rhoten
036879caf2 ICU-1731 Update ROM -> ROU
X-SVN-Rev: 7793
2002-02-26 23:53:26 +00:00
George Rhoten
a41ce06f7f ICU-882 Remove unused code.
X-SVN-Rev: 7792
2002-02-26 23:36:49 +00:00
Alan Liu
e5a8f1678a ICU-1544 add virtual extractBetween() to Replaceable and new UReplaceableCallback member 'extract'
X-SVN-Rev: 7788
2002-02-26 17:50:59 +00:00
Markus Scherer
21bbcb0e19 ICU-1586 better compaction, find all identical blocks like ucmpX_compact()
X-SVN-Rev: 7787
2002-02-26 02:06:12 +00:00
George Rhoten
bb6a024c9a ICU-900 Better fix for compiler warnings.
X-SVN-Rev: 7786
2002-02-25 23:10:10 +00:00
Markus Scherer
b0d25f3bce ICU-1721 add uprops.c implementing APIs for additional UCD properties
X-SVN-Rev: 7781
2002-02-25 22:43:04 +00:00
Markus Scherer
c3cb396f2f ICU-1721 need column count in uprops.dat
X-SVN-Rev: 7780
2002-02-25 22:41:40 +00:00
Markus Scherer
3e48299654 ICU-1721 access to additional UCD properties
X-SVN-Rev: 7779
2002-02-25 22:40:32 +00:00
Markus Scherer
1af6af7871 ICU-1721 constants for mostly additional Unicode properties
X-SVN-Rev: 7772
2002-02-25 18:43:20 +00:00
Yves Arrouye
d8bc4d73fc ICU-1709 use UTF_IS_UNICODE_NONCHAR()
X-SVN-Rev: 7758
2002-02-25 00:46:09 +00:00
Yves Arrouye
d7ed7fb293 ICU-1688 That was a long one to debug. :-( The first group, 0000..0019
was always skipped by accident, so there was no way that u_charFromName()
could map back the Unicode 1.0 names for the control characters.

X-SVN-Rev: 7756
2002-02-25 00:26:29 +00:00
Yves Arrouye
fceb8fc8ab ICU-1707 fix u_enumCharNames() to accept U_EXTENDED_CHAR_NAME
X-SVN-Rev: 7751
2002-02-24 22:35:46 +00:00
Yves Arrouye
504a75e931 ICU-1709 do not tweak the UCD data to mark some control characters
as spacing ones.

X-SVN-Rev: 7749
2002-02-24 21:00:19 +00:00
Markus Scherer
b24a8e910f ICU-1542 fix indexOf(UChar32 surrogate), lastIndexOf(UChar32 surrogate), u_strchr32(surrogate) to match char32At()/UTF_GET_CHAR()
X-SVN-Rev: 7744
2002-02-22 02:00:42 +00:00
Markus Scherer
69839e5594 ICU-1126 document which BreakIterator methods are used by toTitle()
X-SVN-Rev: 7740
2002-02-22 00:14:54 +00:00
Markus Scherer
2bf44dac5b ICU-1126 use #ifndef-#define around multiple definitions of UBreakIterator
X-SVN-Rev: 7739
2002-02-22 00:14:13 +00:00
Markus Scherer
0e69af1c9e ICU-1126 add UniStr::toTitle() functions
X-SVN-Rev: 7734
2002-02-21 18:42:52 +00:00
Markus Scherer
ac808ef260 ICU-1126 complete implementation of u_strToTitle()
X-SVN-Rev: 7732
2002-02-21 17:58:51 +00:00
Markus Scherer
c3d1945687 ICU-1126 move string casing functions to ustrcase.c
X-SVN-Rev: 7731
2002-02-21 04:48:21 +00:00
Markus Scherer
6c74828b24 ICU-1126 move string casing functions from ustring.c, add string titlecasing function - initial code
X-SVN-Rev: 7730
2002-02-21 04:47:54 +00:00
Markus Scherer
b831c22b0b ICU-1126 add string titlecasing function
X-SVN-Rev: 7729
2002-02-21 04:46:49 +00:00
Markus Scherer
aae7ac8a66 ICU-1126 move break iterator code to common library so that titlecasing can use it
X-SVN-Rev: 7728
2002-02-21 04:42:32 +00:00
George Rhoten
28778dc33f ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 7726
2002-02-20 22:28:44 +00:00
Markus Scherer
c2a7393ab9 ICU-1586 describe unorm.dat version 2.0 file format
X-SVN-Rev: 7725
2002-02-20 22:24:17 +00:00
Markus Scherer
9a16c24239 ICU-1036 fix u_internalToLower
X-SVN-Rev: 7723
2002-02-20 21:35:54 +00:00
Markus Scherer
1ef813cb29 ICU-1036 simplify internal string case mapping functions for more common code - remove growBuffer
X-SVN-Rev: 7717
2002-02-20 02:09:42 +00:00
Markus Scherer
4da9ea84da ICU-1036 redo internal per-code point case mapping functions to support transliterators, more common code
X-SVN-Rev: 7716
2002-02-20 02:07:29 +00:00
Markus Scherer
6bdadbb707 ICU-1686 some UCharIterator improvements - more consistent constant names, uiter_next32() etc.
X-SVN-Rev: 7715
2002-02-20 02:04:23 +00:00
George Rhoten
0c41e609dc ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 7711
2002-02-19 23:50:19 +00:00
George Rhoten
4d2ae0ff58 ICU-597 Hopefully this change will still work
X-SVN-Rev: 7701
2002-02-19 01:13:38 +00:00
Yves Arrouye
82f8f74b97 ICU-1713 add transliteror error names.
X-SVN-Rev: 7692
2002-02-16 09:05:36 +00:00
Markus Scherer
b004960d4a ICU-1686 change UCharIterator: add getIndex(); return int32_t instead of UChar, -1 instead of ffff if iteration bounds reached
X-SVN-Rev: 7686
2002-02-16 01:21:15 +00:00
George Rhoten
46d30d17d1 ICU-900 Fix some compiler warnings.
X-SVN-Rev: 7685
2002-02-16 00:51:35 +00:00
George Rhoten
956a5aed45 ICU-1227 Make the library suffix change work on Windows without warnings.
X-SVN-Rev: 7683
2002-02-16 00:43:44 +00:00
Yves Arrouye
abd5f16593 ICU-1709 UTF_IS_UNICODE_NONCHAR()
X-SVN-Rev: 7680
2002-02-15 21:08:29 +00:00
Yves Arrouye
d25815e643 ICU-1707 better documentation for u_charFromName() and for the use of
U_INVALID_CHAR_FOUND.

X-SVN-Rev: 7679
2002-02-15 19:10:38 +00:00
Yves Arrouye
6fdea6ffb4 ICU-1707 use more appropriate error code.
X-SVN-Rev: 7676
2002-02-15 01:46:41 +00:00
Steven R. Loomis
542533b9ea ICU-1704 move ULOC_ constants into uloc.h
X-SVN-Rev: 7673
2002-02-14 22:28:05 +00:00
Yves Arrouye
f285bbeccc ICU-1227 define an empty suffix by default.
X-SVN-Rev: 7667
2002-02-14 19:32:39 +00:00
Yves Arrouye
a7f3ebaa68 ICU-1703 avoid /* in comment.
X-SVN-Rev: 7666
2002-02-14 19:26:44 +00:00
Yves Arrouye
131e5d45fe ICU-1227 include the library suffix in the entry point name.
X-SVN-Rev: 7665
2002-02-14 19:19:17 +00:00
Yves Arrouye
24679d28bf ICU-1707 add FDD0..FDEF to the noncharacters
X-SVN-Rev: 7662
2002-02-14 17:48:15 +00:00
Yves Arrouye
2e05f13093 ICU-1548 use 0, not NULL :-)
X-SVN-Rev: 7660
2002-02-14 05:53:56 +00:00
Yves Arrouye
ec4ef02a32 ICU-1707 add U_EXTENDED_CHAR_NAME for u_charName() and its reciprocal
function, u_charFromName()

X-SVN-Rev: 7655
2002-02-14 05:36:48 +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
Yves Arrouye
7bf67ba7fc ICU-1703 new urename.h with the U_DISABLE_RENAMING test.
X-SVN-Rev: 7651
2002-02-13 20:30:20 +00:00
Yves Arrouye
18328265ec ICU-1703 define U_DISABLE_RENAMING, substituted by configure from
@U_DISABLE_RENAMING@ which is itself set by --enable-renaming.

X-SVN-Rev: 7650
2002-02-13 20:29:56 +00:00
Steven R. Loomis
ece2261373 ICU-1632 Update to tzname for MacOSX/Darwin
X-SVN-Rev: 7641
2002-02-13 01:58:42 +00:00
Yves Arrouye
2c569d4473 ICU-1596 undo accidental commit.
X-SVN-Rev: 7634
2002-02-12 20:13:19 +00:00
Yves Arrouye
c53d0e6dc1 ICU-1596 oops, reverting accidental commit.
X-SVN-Rev: 7633
2002-02-12 20:07:19 +00:00
Yves Arrouye
d395929eff ICU-1596 use the library suffix for the ICU data library too.
X-SVN-Rev: 7632
2002-02-12 20:04:52 +00:00
Markus Scherer
870550d939 ICU-845 add unorm_concatenate()
X-SVN-Rev: 7623
2002-02-10 01:35:54 +00:00