Commit Graph

1964 Commits

Author SHA1 Message Date
Markus Scherer
0a70506190 ICU-1923 upgrade case folding to Unicode 3.2
X-SVN-Rev: 8769
2002-06-03 03:33:44 +00:00
George Rhoten
0078f2f53e ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 8766
2002-06-01 06:36:02 +00:00
Markus Scherer
869dfa4583 ICU-1923 upgrade to Unicode 3.2: add new scripts; fix script name comparisons to perform loose matches according to Property[Value]Aliases.txt (use uprv_comparePropertyNames); make hardcoded arrays more maintainable
X-SVN-Rev: 8765
2002-06-01 00:43:07 +00:00
Markus Scherer
067b86e8a3 ICU-1923 upgrade to Unicode 3.2
X-SVN-Rev: 8764
2002-06-01 00:34:36 +00:00
Markus Scherer
185ac97303 ICU-1923 add uprv_comparePropertyNames() to compare Unicode property [value] names loosely
X-SVN-Rev: 8763
2002-06-01 00:33:55 +00:00
Markus Scherer
db9640733b ICU-1438 fix 'unitialized' warnings - cp1/cp2 init looked like real bugs
X-SVN-Rev: 8761
2002-05-31 22:19:59 +00:00
George Rhoten
39af6eacb8 ICU-1891 Fix for z/OS (os/390)
X-SVN-Rev: 8757
2002-05-31 18:00:10 +00:00
Markus Scherer
ce883f6d81 ICU-1923 upgrade to Unicode 3.2: modified formulae for derived properties, and fixes for defective computations
X-SVN-Rev: 8753
2002-05-31 01:26:10 +00:00
Markus Scherer
3e69f6d737 ICU-1923 upgrade to Unicode 3.2: new U_UNICODE_VERSION, new block codes, modified formulae for derived properties
X-SVN-Rev: 8752
2002-05-31 01:25:20 +00:00
Steven R. Loomis
8ad5c8c479 ICU-1915 popen(), detect in autoconf
X-SVN-Rev: 8725
2002-05-29 22:06:30 +00:00
Alan Liu
237c0e67c3 ICU-1115 move UnicodeSet from i18n to common; also move affiliated classes; update USet to wrap UnicodeSet
X-SVN-Rev: 8721
2002-05-29 18:36:09 +00:00
George Rhoten
bdf50940f9 ICU-1913 os/400 fixes
X-SVN-Rev: 8712
2002-05-29 00:13:51 +00:00
Markus Scherer
c76aaff480 ICU-1864 ucnv_reset() did not reset enough UConverter fields; BOCU-1 signature changed
X-SVN-Rev: 8708
2002-05-25 00:32:25 +00:00
Markus Scherer
171d3a3ec7 ICU-1438 fix bugs in unorm_compare - temp buffer handling, missing decomposition of Hangul
X-SVN-Rev: 8701
2002-05-24 22:24:12 +00:00
Markus Scherer
778d535abe ICU-1728 duplicate U_COMPARE_CODE_POINT_ORDER in multiple header files to avoid forcing users to include ustring.h just for this (may not be optimal solution)
X-SVN-Rev: 8700
2002-05-24 22:22:16 +00:00
Markus Scherer
730faa0879 ICU-1438 add Normalizer::compare
X-SVN-Rev: 8699
2002-05-24 22:20:19 +00:00
Markus Scherer
c44455d477 ICU-1728 add u_strCompare and u_strCaseCompare taking separate lengths and optional code point order
X-SVN-Rev: 8695
2002-05-24 17:05:31 +00:00
George Rhoten
cf59e971fb ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 8691
2002-05-24 00:50:41 +00:00
George Rhoten
525588c474 ICU-1913 You shouldn't be able to do a sizeof(UBreakIterator) normally because it's not really a void *
X-SVN-Rev: 8675
2002-05-23 00:08:38 +00:00
George Rhoten
f6a1518f3f ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 8673
2002-05-22 22:56:27 +00:00
Markus Scherer
0e4d7bb60a ICU-1438 filter out unrelated new options bits when case-folding a code point
X-SVN-Rev: 8663
2002-05-22 00:38:11 +00:00
Markus Scherer
08e8447729 ICU-1438 use unorm_cmpEquivFold to implement case-insensitive string comparison - more efficient than earlier implementation
X-SVN-Rev: 8662
2002-05-22 00:35:01 +00:00
Markus Scherer
2711de91cf ICU-1728 change u_strCompareCodePointOrder to u_strCompare taking UBool codePointOrder to make it easier to compare strings with various options
X-SVN-Rev: 8661
2002-05-22 00:32:42 +00:00
Markus Scherer
f241f29d0a ICU-1438 add unorm_cmpEquivFold and unorm_compare
X-SVN-Rev: 8660
2002-05-22 00:29:58 +00:00
Markus Scherer
1404e3c9df ICU-1438 add unorm_cmpEquivFold implementation function for unorm_compare
X-SVN-Rev: 8659
2002-05-22 00:26:30 +00:00
Markus Scherer
24c5b88bc2 ICU-1438 add unorm_compare
X-SVN-Rev: 8658
2002-05-22 00:24:53 +00:00
George Rhoten
4b1124162c ICU-1906 Update TP/TMP -> TL/TLS for East Timor
X-SVN-Rev: 8651
2002-05-21 21:06:07 +00:00
Eric Mader
cb2212c25f ICU-1289 uscript_openRun: free UScriptRun if uscript_setRunText returns an error.
X-SVN-Rev: 8639
2002-05-16 19:23:02 +00:00
George Rhoten
f369f93ec4 ICU-1289 Don't use // in a C file, and make the data const.
X-SVN-Rev: 8616
2002-05-14 17:01:39 +00:00
Markus Scherer
fa460c1481 ICU-1728 fix CodePointOrder fix-up to remove harmless but confusing ++s1 side effect
X-SVN-Rev: 8614
2002-05-14 00:45:47 +00:00
George Rhoten
1a09ea5eda ICU-1868 Properly use CPPFLAGS and other flags
X-SVN-Rev: 8613
2002-05-13 23:51:50 +00:00
Markus Scherer
65eb5971c0 ICU-1728 re-implement CodePointOrder compare functions to make them work with surrogate code points
X-SVN-Rev: 8612
2002-05-13 23:03:09 +00:00
Markus Scherer
63f6acf6d7 ICU-1728 internal function for CodePointOrder comparisons, works with surrogate code points
X-SVN-Rev: 8611
2002-05-13 23:01:38 +00:00
Eric Mader
a9ba9cedec ICU-1289 Add UScriptRun to uscripts.h
X-SVN-Rev: 8607
2002-05-13 21:50:59 +00:00
George Rhoten
ea1dbdf021 ICU-1896 Create the list of available converters at run-time.
X-SVN-Rev: 8606
2002-05-13 21:21:19 +00:00
George Rhoten
e2508f1293 ICU-1896 Add dynamic locale list creation.
X-SVN-Rev: 8602
2002-05-13 20:29:31 +00:00
George Rhoten
9d8d0d3940 ICU-1868 Make DEFS be used for macros and includes only for compile
time, not for link time, and other various fixes.

X-SVN-Rev: 8562
2002-05-01 23:48:15 +00:00
George Rhoten
faec7727ae ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 8545
2002-04-30 21:03:00 +00:00
George Rhoten
7f87b5724e ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 8539
2002-04-30 17:22:11 +00:00
George Rhoten
ac061302c1 ICU-1877 pwin64.h doesn't exist. Use pwin32.h
X-SVN-Rev: 8537
2002-04-30 00:48:04 +00:00
George Rhoten
df30dfbd29 ICU-1877 Add Win64 support.
X-SVN-Rev: 8531
2002-04-26 23:04:32 +00:00
Doug Felt
77b6719b9b ICU-970 add substring constructors and setTo overload to UnicodeString
X-SVN-Rev: 8527
2002-04-26 18:02:49 +00:00
Alan Liu
37b4739783 ICU-1749 API additions to support UnicodeSet
X-SVN-Rev: 8526
2002-04-26 06:30:37 +00:00
George Rhoten
53b969bd26 ICU-1872 Test for mutex initialization
X-SVN-Rev: 8505
2002-04-24 16:10:33 +00:00
George Rhoten
8cd90d7b88 ICU-1872 Test for mutex initialization
X-SVN-Rev: 8503
2002-04-23 23:24:25 +00:00
George Rhoten
78b2d83a32 ICU-1868 Consolodate most definitions into icudefs.mk.in
X-SVN-Rev: 8494
2002-04-19 02:19:24 +00:00
Vladimir Weinstein
c96dbd3c94 ICU-1492 fixed reference counting for resource bundles
X-SVN-Rev: 8484
2002-04-17 21:19:38 +00:00
Markus Scherer
59347d8bde ICU-1867 improve SCSU performance with non-offset-handling function versions
X-SVN-Rev: 8483
2002-04-17 20:46:27 +00:00
Markus Scherer
995a589267 ICU-1864 add BOCU-1
X-SVN-Rev: 8481
2002-04-17 20:36:53 +00:00
Markus Scherer
1d04179415 ICU-900 initialize destLength
X-SVN-Rev: 8461
2002-04-15 17:45:07 +00:00
Ram Viswanadha
161100569d ICU-1721 error checking
X-SVN-Rev: 8398
2002-04-05 02:49:56 +00:00
George Rhoten
8e5258614f ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 8386
2002-04-05 00:03:32 +00:00
Ram Viswanadha
8fa4e9107b ICU-1835 Add mappings for codepoints
X-SVN-Rev: 8372
2002-04-04 03:07:42 +00:00
George Rhoten
ccd0b6cde6 ICU-1831 Don't use // in C files.
X-SVN-Rev: 8363
2002-04-03 19:52:08 +00:00
Ram Viswanadha
bb3a922488 ICU-1564 Fix memory overshoot bug
X-SVN-Rev: 8353
2002-04-03 00:59:05 +00:00
Andy Heninger
e6dfdcbccf ICU-1831 fix TOC pointer alignment problems in ICU data
name lookup code  on AS/400

X-SVN-Rev: 8351
2002-04-03 00:45:35 +00:00
Steven R. Loomis
e39e749523 ICU-1769 removing some unneeded renamings
X-SVN-Rev: 8349
2002-04-03 00:01:21 +00:00
Steven R. Loomis
59572346bd ICU-1686 UCharIterator adding error codes
X-SVN-Rev: 8347
2002-04-02 23:54:41 +00:00
Steven R. Loomis
8185a8ce05 ICU-1686 UCharIterator: use -1 for error code
X-SVN-Rev: 8346
2002-04-02 23:35:24 +00:00
George Rhoten
e8cf181469 ICU-1828 Remove tabs
X-SVN-Rev: 8328
2002-04-02 01:17:28 +00:00
George Rhoten
033575b131 ICU-214 Fix for Win64. Use x86 assembly for aligning code for x86 machines.
X-SVN-Rev: 8297
2002-03-29 19:03:59 +00:00
George Rhoten
2ab3c9cd3b ICU-214 Fix for Win64. Don't freely convert between (void *) and int32_t.
Use the int32_t functions when you are only using integers.
Also arrays of scalars need to be allocated with malloc (Needed by Lotus j1733).

X-SVN-Rev: 8289
2002-03-29 01:56:09 +00:00
George Rhoten
153b72da68 ICU-214 Fix for Win64. Do the math in size_t when part of the expression is in size_t and the other side is (void *)
X-SVN-Rev: 8288
2002-03-29 01:51:09 +00:00
Steven R. Loomis
96aebaa79a ICU-1730 #elif -> #else
X-SVN-Rev: 8280
2002-03-28 17:37:54 +00:00
George Rhoten
b9fcc4a086 ICU-1619 UTF-32LE is a little endian encoding, not a big endian encoding.
X-SVN-Rev: 8272
2002-03-27 23:24:15 +00:00
Andy Heninger
353e4c6ce7 ICU-1762 SRL code review comment - make init of cnvCacheMutex=NULL explicit
X-SVN-Rev: 8259
2002-03-27 17:36:15 +00:00
George Rhoten
f5f1fca9aa ICU-1811 Increase the code coverage of Locale:get methods (Found some typos)
X-SVN-Rev: 8254
2002-03-26 23:10:19 +00:00
George Rhoten
103f843333 ICU-1811 Remove unused code.
X-SVN-Rev: 8253
2002-03-26 23:09:05 +00:00
Vladimir Weinstein
955e42c4e3 ICU-1769 bumped up collation version (please rebuild UCA & bundles)
X-SVN-Rev: 8246
2002-03-26 16:47:39 +00:00
Ram Viswanadha
1b9d145260 ICU-1808 Fix SCSU's handling of some non-BMP codepoints
X-SVN-Rev: 8226
2002-03-25 22:41:07 +00:00
George Rhoten
0b12bb4953 ICU-1556 Fix AIX 5.1 with Visual Age 5.0 in 32-bit mode with -O2
optmization. (The bug is really that specific)

X-SVN-Rev: 8221
2002-03-25 17:43:35 +00:00
George Rhoten
0136f68900 ICU-1593 Clarify how saveState is used.
X-SVN-Rev: 8217
2002-03-23 00:29:03 +00:00
Andy Heninger
3d4d1c39ed ICU-1265 change RBBI_IGNORE to UBRK_IGNORE
X-SVN-Rev: 8211
2002-03-22 23:01:41 +00:00
George Rhoten
cf93f6857f ICU-1803 Fix some documentation. Some definitions only exist in the Unicode class.
X-SVN-Rev: 8206
2002-03-22 17:35:20 +00:00
George Rhoten
ae0fe2df18 ICU-1541 Add a comment about the EXPORT2 changes
X-SVN-Rev: 8183
2002-03-21 19:57:37 +00:00
George Rhoten
441d7129ba ICU-1541 Undo some of the EXPORT2 changes
X-SVN-Rev: 8180
2002-03-21 19:31:32 +00:00
George Rhoten
a78f77abb4 ICU-1739 BoundsChecker is brain dead when dealing with unions sometimes.
X-SVN-Rev: 8179
2002-03-21 19:12:11 +00:00
Yves Arrouye
b594e7b5cd ICU-900 warnings
X-SVN-Rev: 8172
2002-03-21 16:46:29 +00:00
Yves Arrouye
fdf8138640 ICU-900 fixed the same compiler warnings George fixed and I broke
X-SVN-Rev: 8163
2002-03-20 22:38:19 +00:00
Markus Scherer
b7682efdab ICU-1682 provide direct access to decomposition of a code point - unorm_getDecomposition
X-SVN-Rev: 8154
2002-03-20 18:24:02 +00:00
Markus Scherer
230b44ed74 ICU-1686 fix use of UCharIterator.move, especially with UITER_START->UITER_ZERO
X-SVN-Rev: 8150
2002-03-20 17:04:56 +00:00
Markus Scherer
3c82d919fd ICU-1686 add UITER_ZERO, UITER_LENGTH - UCharIterator was missing an equivalent to CharacterIterator::setIndex
X-SVN-Rev: 8149
2002-03-20 17:03:39 +00:00
Vladimir Weinstein
c8186aa4d3 ICU-1682 added removeAll method
X-SVN-Rev: 8108
2002-03-19 07:16:19 +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
Steven R. Loomis
2beec0d7ab ICU-1769 update to 2.1 version
X-SVN-Rev: 8103
2002-03-19 01:43:19 +00:00
Markus Scherer
d20923859f ICU-1542 use common code for finding surrogate code points
X-SVN-Rev: 8096
2002-03-18 23:25:30 +00:00
Markus Scherer
acbaac776e ICU-1542 fix u_memchr32; common code for finding surrogate code points
X-SVN-Rev: 8095
2002-03-18 23:19:41 +00:00
George Rhoten
f2aadf39e9 ICU-1779 Better fix for malloc(0)
X-SVN-Rev: 8093
2002-03-18 21:53:11 +00:00
Alan Liu
cd9a595ff6 ICU-1779 avoid malloc(0)
X-SVN-Rev: 8091
2002-03-18 21:25:01 +00:00
Yves Arrouye
02a9522caa ICU-900 fix warnings.
X-SVN-Rev: 8085
2002-03-16 22:03:24 +00:00
Yves Arrouye
b0b0e50094 ICU-1227 use a shorter suffix preprocessor name to stop Windows from
complaining.
Add a define for the C name as string so it works for USS too even with
compiler not able to handle stringification properly.

X-SVN-Rev: 8079
2002-03-16 19:56:03 +00:00
George Rhoten
9f3b0c5276 ICU-1733 Integrate some of Lotus' changes on mainframes.
X-SVN-Rev: 8060
2002-03-15 23:41:40 +00:00
Markus Scherer
facb0c82f7 ICU-1754 store data for canonical equivalence more compactly
X-SVN-Rev: 8034
2002-03-14 23:54:09 +00:00
Markus Scherer
27f15727d9 ICU-1754 add functions to handle single-code point sets more efficiently
X-SVN-Rev: 8027
2002-03-14 23:06:23 +00:00
Andy Heninger
66bee38a79 ICU-1265 rename RulesBasedBreakIterator::IGNORE to avoid conflict with winbase.h
X-SVN-Rev: 8007
2002-03-13 23:52:24 +00:00
Markus Scherer
d46d1b3fc4 ICU-1464 add convenience macros for bit sets for general categories
X-SVN-Rev: 8006
2002-03-13 23:31:12 +00:00
Markus Scherer
6929fb9988 ICU-1126 use the real titlecase break iterator for titlecasing
X-SVN-Rev: 7996
2002-03-13 19:19:42 +00:00
Markus Scherer
e1d354ffa9 ICU-1721 fix indexes[] use from uprops.dat
X-SVN-Rev: 7995
2002-03-13 19:18:36 +00:00
Andy Heninger
c695aa74b5 ICU-1762 converter thread safety: export converter cleanup funtion for use by test.
X-SVN-Rev: 7993
2002-03-13 18:34:45 +00:00
Vladimir Weinstein
4596590d0c ICU-1735 changed setBogus to setToBogus, added an enum for getLocale argument
X-SVN-Rev: 7971
2002-03-13 05:14:56 +00:00
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
Markus Scherer
45ecba1dc5 ICU-1700 public C API for iterative normalization
X-SVN-Rev: 7622
2002-02-10 00:11:16 +00:00
Markus Scherer
66da760bc5 ICU-1686 use public instead of private C API for character iteration
X-SVN-Rev: 7621
2002-02-09 21:59:27 +00:00
Markus Scherer
87fcec65cf ICU-1686 remove private C API for character iteration, see uiter.h
X-SVN-Rev: 7620
2002-02-09 21:57:45 +00:00
Markus Scherer
82cec1d0c1 ICU-1686 add uiter.* - public C API for character iteration
X-SVN-Rev: 7619
2002-02-09 21:56:46 +00:00
Markus Scherer
45b5e2a95e ICU-1686 public C API for character iteration
X-SVN-Rev: 7618
2002-02-09 21:55:36 +00:00
George Rhoten
e33da55324 ICU-1499 Change LocaleID from string -> int.
X-SVN-Rev: 7599
2002-02-08 01:08:50 +00:00
George Rhoten
b5ff7eab60 ICU-1499 If I try to get a string on an int resource, return an error.
X-SVN-Rev: 7598
2002-02-08 00:52:08 +00:00
George Rhoten
ade841729e ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 7589
2002-02-07 04:22:32 +00:00
George Rhoten
dd02577f55 ICU-620 Clean platform.h for a distclean, not clean.
X-SVN-Rev: 7586
2002-02-07 02:10:22 +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
9a6815e9d7 ICU-1687 Change the converter name for the variant of euc-jp
X-SVN-Rev: 7564
2002-02-05 17:43:28 +00:00
George Rhoten
2fcb772016 ICU-1632 Better fix for tzname. Windows complains about the original declaration.
X-SVN-Rev: 7560
2002-02-05 02:52:42 +00:00
Yves Arrouye
a42dd565b8 ICU-1632 temporary fix for tzname.
X-SVN-Rev: 7544
2002-01-31 06:44:59 +00:00
George Rhoten
eab9274e43 ICU-1616 Allow for a NULL length argument
X-SVN-Rev: 7534
2002-01-30 06:19:28 +00:00
Yves Arrouye
59c59d6b47 ICU-620 recreate unicode/platform.h after make clean.
X-SVN-Rev: 7526
2002-01-30 00:01:54 +00:00
Yves Arrouye
3855e85428 ICU-1605 for UCNV_ESCAPE_UNICODE, print the codepoint, not the pair of
code units. Also, delimit the U+XXXX with curly braces for now.

X-SVN-Rev: 7513
2002-01-28 18:38:16 +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
George Rhoten
0836738cc1 ICU-1630 Move UMTX from utypes.h to umutex.h,
and remove unneeded references to mutex.h (so we can find multithreading issues more easily)

X-SVN-Rev: 7478
2002-01-23 17:17:06 +00:00
George Rhoten
24fb5c7668 ICU-1629 Simplify UnicodeString creation
X-SVN-Rev: 7471
2002-01-22 00:27:49 +00:00
George Rhoten
644f35d609 ICU-1099 Make all string data const
X-SVN-Rev: 7468
2002-01-21 21:48:25 +00:00
George Rhoten
c6f5b3eedc ICU-1099 Make all string data const
X-SVN-Rev: 7467
2002-01-21 21:40:41 +00:00
Markus Scherer
f4190c00c7 ICU-1611 add and test u_enumCharTypes
X-SVN-Rev: 7434
2002-01-12 00:11:09 +00:00
Markus Scherer
75882c9836 ICU-1586 allow UTrieEnumRange to stop the enumeration
X-SVN-Rev: 7433
2002-01-12 00:10:01 +00:00
George Rhoten
9f4578b1cf ICU-882 Remove SCSU
X-SVN-Rev: 7431
2002-01-11 23:34:13 +00:00
George Rhoten
7e0d0afda8 ICU-597 The last as/400 fix conflicts with some other platforms.
X-SVN-Rev: 7430
2002-01-11 20:31:59 +00:00
George Rhoten
3e8367d659 ICU-597 Changes to make ICU work on as/400 (iSeries)
X-SVN-Rev: 7429
2002-01-11 17:33:52 +00:00
Yves Arrouye
da1e186728 ICU-1606 allow null arguments.
X-SVN-Rev: 7420
2002-01-09 20:39:35 +00:00
Yves Arrouye
c41188b178 ICU-1605 renamed to UCNV_ESCAPE_UNICODE. *** EXPERIMENTAL *** commited
a bit too soon, may be uncommited soon.

X-SVN-Rev: 7415
2002-01-09 01:15:18 +00:00
Yves Arrouye
85a889c4c2 ICU-1605 added UCNV_ESCAPE_CODEPOINT to escape as U+XXXX.
X-SVN-Rev: 7413
2002-01-09 00:45:13 +00:00
Ram Viswanadha
17881f0a1a ICU-1603 API for Unicode signature detection
X-SVN-Rev: 7402
2002-01-08 01:05:57 +00:00
Yves Arrouye
c67fa73c5f ICU-620 another pass at having make clean do a better job.
X-SVN-Rev: 7388
2002-01-05 02:06:26 +00:00
George Rhoten
3afedc097f ICU-863 Change some documentation
X-SVN-Rev: 7374
2001-12-27 18:23:04 +00:00
George Rhoten
f4ad302b11 ICU-1593 Slightly better documentation on how to use u_strtok_r
X-SVN-Rev: 7373
2001-12-27 00:16:48 +00:00
George Rhoten
df7dbcfa82 ICU-1593 Fix for the case when there are no delimiters found.
X-SVN-Rev: 7372
2001-12-27 00:13:20 +00:00
Markus Scherer
14e0d7c46c ICU-1586 use new UTrie in normalization
X-SVN-Rev: 7354
2001-12-19 20:14:25 +00:00
Markus Scherer
e4b419efb7 ICU-1586 handle non-zero initial values
X-SVN-Rev: 7350
2001-12-16 21:15:09 +00:00
Markus Scherer
643c782a9d ICU-1586 fix utrie_clone() - set trie->dataLength=other->dataLength
X-SVN-Rev: 7345
2001-12-12 11:16:36 +00:00
Eric Mader
4c5c3ac292 ICU-1586 add utrie.o to list of objects
X-SVN-Rev: 7336
2001-12-07 22:13:49 +00:00
Markus Scherer
a92571a185 ICU-1590 fix detection of U_WCHAR_IS_UTF16/32
X-SVN-Rev: 7333
2001-12-07 17:09:41 +00:00
Markus Scherer
268abe3937 ICU-1586 add common trie implementation
X-SVN-Rev: 7327
2001-12-06 01:23:47 +00:00
George Rhoten
8c1e0bb26a ICU-1028 Fix for os/390 batch mode (PDS mode) library versioning.
X-SVN-Rev: 7321
2001-12-05 17:51:11 +00:00
George Rhoten
42f8814f79 ICU-1028 Fix for BATCH mode (PDS mode) library versioning.
X-SVN-Rev: 7320
2001-12-05 17:46:30 +00:00
Andy Heninger
316aa9b311 ICU-1576 updated urename.h file for 2.0 ICU release
X-SVN-Rev: 7292
2001-12-03 22:35:34 +00:00
Ram Viswanadha
006e4e3fb1 ICU-1038 Documentation fixes no code change
X-SVN-Rev: 7289
2001-12-03 21:58:00 +00:00
Ram Viswanadha
5ef961d839 ICU-960 Fix compiler warnings and crashing bug on Unixes
X-SVN-Rev: 7275
2001-12-03 19:55:31 +00:00
George Rhoten
d571c6188f ICU-1279 Change the LCID for sh and sr locales like the nn locale, which have more than one mapping.
X-SVN-Rev: 7255
2001-12-01 08:19:56 +00:00
George Rhoten
f55499cf92 ICU-900 Fixed some compiler warnings
X-SVN-Rev: 7240
2001-12-01 00:32:29 +00:00
Ram Viswanadha
8c16739f86 ICU-452 Update with comments from Markus
X-SVN-Rev: 7236
2001-11-30 23:59:23 +00:00
Helena Chapman
6f5df69456 ICU-1501 Updated Upper/Lower/TitlecaseTransliterator and checked in new casing tests for surrogates from Java.
X-SVN-Rev: 7235
2001-11-30 23:53:55 +00:00
Markus Scherer
bbb1ebd15e ICU-960 small fixes and optimizations
X-SVN-Rev: 7227
2001-11-30 22:15:36 +00:00