Commit Graph

4820 Commits

Author SHA1 Message Date
Stuart Gill
b1a76e6a88 ICU-3984 updates based on code review and fix of memory leak during collation reordering rule parsing
X-SVN-Rev: 28999
2010-11-04 20:12:39 +00:00
Andy Heninger
a5bc9497c1 ICU-8122 Update urename.h for ICU 4.6
X-SVN-Rev: 28996
2010-11-04 00:37:10 +00:00
Peter Edberg
488256ca63 ICU-8121 Update udeprctd.h, udraft.h, uintrnal.h, usystem.h for ICU 4.6
X-SVN-Rev: 28994
2010-11-03 05:46:29 +00:00
Stuart Gill
94239208a0 ICU-3984 fix a bug in the resource loading of collation reordering and rename script reordering to reordering codes
X-SVN-Rev: 28993
2010-11-03 02:41:22 +00:00
Stuart Gill
dc0710545d ICU-3984 fix for ucadata.icu big endian issues
X-SVN-Rev: 28985
2010-11-02 18:59:06 +00:00
Markus Scherer
0acb435a84 ICU-7238 remove obsolete, now-unused upvec_compactToUTrieHandler()
X-SVN-Rev: 28984
2010-11-02 18:58:09 +00:00
Markus Scherer
b674f702e1 ICU-8091 guard against pinIndices() reducing length to 0 or 1
X-SVN-Rev: 28982
2010-11-02 18:19:05 +00:00
Stuart Gill
5dd9ea7768 ICU-3984 update the uca file version, add support for reading/writing reordering from/to resources, update FractionalUCA.txt to a format for the genuca tool
X-SVN-Rev: 28975
2010-11-02 02:21:57 +00:00
Stuart Gill
66efc93b9b ICU-3984 update UCOL_BUILDER_VERSION to version 8
X-SVN-Rev: 28965
2010-11-01 19:55:05 +00:00
Stuart Gill
0c21fdf068 ICU-3984 changes to the collation reordering - API works same as rules and enhanced testing
X-SVN-Rev: 28960
2010-10-30 00:42:12 +00:00
Markus Scherer
a880b11b88 ICU-7924 fix segfault in StringPiece::operator==(both empty)
X-SVN-Rev: 28954
2010-10-29 18:01:01 +00:00
John Emmons
ad865ff7e7 ICU-8097 Fix buffer overflow problems in uscript_getCode()
X-SVN-Rev: 28953
2010-10-29 15:41:56 +00:00
Markus Scherer
334ad85355 ICU-8091 fix UnicodeString::reverse() for when the only lead surrogate is in the middle of an odd-length string
X-SVN-Rev: 28952
2010-10-29 00:15:27 +00:00
Markus Scherer
8f93a3e07a ICU-7187 avoid comparison of (pointer+unsigned)>pointer which can be optimized away; not necessary anyway with use of U_MAX_PTR(pointer)
X-SVN-Rev: 28951
2010-10-28 23:32:22 +00:00
Stuart Gill
a79a8d4ad6 ICU-3984 remove debug print
X-SVN-Rev: 28931
2010-10-27 23:50:29 +00:00
Stuart Gill
110e2ceb05 ICU-3984 integrate collation reordering from branch - svn+ssh://source.icu-project.org/repos/icu/icu/branches/sgill/scriptreorder2 -r 28883:28924
X-SVN-Rev: 28926
2010-10-27 18:02:52 +00:00
Peter Edberg
48ebf95831 ICU-7864 Use ICU_DATA_DIR_PREFIX_ENV_VAR to get path prefix from environment
X-SVN-Rev: 28921
2010-10-26 22:02:14 +00:00
Andy Heninger
a77332d75c ICU-7561 fixes to uspoof API docs, to make them build.
X-SVN-Rev: 28885
2010-10-20 23:12:46 +00:00
Peter Edberg
71c083cdce ICU-8046 CLDR 1.9 integration pass 1, update U_ICU_DATA_VERSION
X-SVN-Rev: 28847
2010-10-18 05:41:17 +00:00
Steven R. Loomis
adb11cba8d ICU-8028 update version number to milestone:4.6, bump timebombs, etc
X-SVN-Rev: 28785
2010-10-09 01:23:28 +00:00
Jungshik Shin
4fb62e2878 ICU-8014 DST detection failure on Linux. Change the function name to skipZoneIDPrefix
X-SVN-Rev: 28784
2010-10-09 00:54:20 +00:00
Michael Ow
da1272de57 ICU-7447 Fix some GCC and VA compiler warnings.
X-SVN-Rev: 28778
2010-10-08 20:14:26 +00:00
Jungshik Shin
fa5efaaf9b ICU-8014 default timezone detection is not reliable when /usr/share/zoneinfo has posix/right subdirectories
X-SVN-Rev: 28771
2010-10-07 18:07:05 +00:00
Steven R. Loomis
c5e5a4c54e ICU-7979 don't print out error on dlopen fail (err is already recorded). Also, remove some tabs.
X-SVN-Rev: 28759
2010-10-04 23:20:15 +00:00
Stuart Gill
71a82b49f6 ICU-7792 Update urename.h for the 4.6M2 release
X-SVN-Rev: 28717
2010-09-28 22:30:57 +00:00
Markus Scherer
514b12fb14 ICU-7792 fix some UCONFIG_NO_XYZ bugs
X-SVN-Rev: 28716
2010-09-28 05:43:34 +00:00
Michael Ow
a67a5c9ddc ICU-7882 Update BCP47 tag check.
X-SVN-Rev: 28680
2010-09-22 05:47:08 +00:00
Michael Ow
a998c7cac4 ICU-7882 Add function to get shortest length subtag's size.
X-SVN-Rev: 28674
2010-09-21 23:50:37 +00:00
Michael Ow
740bef0bc8 ICU-7969 Update project files to ensure currpinf.h and icuplug.h are copied into the right place.
X-SVN-Rev: 28673
2010-09-21 23:32:18 +00:00
Jinglun Li
12de1d68b7 ICU-7772 Fast string direction detection
X-SVN-Rev: 28665
2010-09-21 07:12:28 +00:00
Markus Scherer
b5e1330176 ICU-7264 merge Unicode 6.0 into trunk from branches/markus/uni60 -r 28339:28657
X-SVN-Rev: 28661
2010-09-21 00:12:49 +00:00
Michael Ow
f3fca67f87 ICU-7839 Update ambiguous converter list.
X-SVN-Rev: 28642
2010-09-17 21:25:56 +00:00
Michael Grady
f92222ba98 ICU-7947 Relax 0-capacity test in previous checkin and fix compiler warnings
X-SVN-Rev: 28636
2010-09-17 01:53:01 +00:00
Michael Grady
a3a500f892 ICU-7947 Fix previous checkin, expandCapacity allows minimumCapacity=0
X-SVN-Rev: 28628
2010-09-16 02:05:19 +00:00
Michael Grady
467cf876fc ICU-7948 Fix leak in usprep_getProfile when 2 threads race to insert profile data into hash
X-SVN-Rev: 28627
2010-09-16 00:49:01 +00:00
Michael Grady
290cadf0b8 ICU-7947 UVector safety checks to avoid heap overflow due to integer overflow/signedness/truncation
X-SVN-Rev: 28626
2010-09-16 00:30:26 +00:00
Michael Ow
dda7ae77c6 ICU-7926 Add ISO-2022-CN-CNS to ICU4C.
X-SVN-Rev: 28587
2010-09-08 23:18:15 +00:00
Steven R. Loomis
a73ec17054 ICU-7382 [srl fixing crash] make sure localeName is initialized.
X-SVN-Rev: 28573
2010-09-04 01:01:45 +00:00
Jungshik Shin
9ef56a51ab ICU-7382 refer to LC_MESSAGE to determine the default locale
X-SVN-Rev: 28571
2010-09-03 21:44:58 +00:00
Jungshik Shin
0660dc6e6e ICU-7906 make VS 2008 happy about StringPiece::npos
X-SVN-Rev: 28521
2010-08-25 02:22:04 +00:00
Michael Ow
29fe431f2a ICU-7882 Fix pointer declaration error.
X-SVN-Rev: 28504
2010-08-20 21:18:08 +00:00
Michael Ow
24055f8585 ICU-7882 Enable BCP47 ids and update a few test cases in ICU4C.
X-SVN-Rev: 28503
2010-08-20 20:11:37 +00:00
Steven R. Loomis
4a996aa700 ICU-6616 improve faketime
X-SVN-Rev: 28482
2010-08-17 01:27:18 +00:00
Steven R. Loomis
dec09768b9 ICU-7870 Visual Studio 2010
X-SVN-Rev: 28442
2010-08-10 20:16:09 +00:00
Steven R. Loomis
cf7644feb3 ICU-7849 unicode versions of uloc.h constants
X-SVN-Rev: 28438
2010-08-10 01:11:03 +00:00
Steven R. Loomis
d9907892c8 ICU-7856 add unix build, 'xperf' target for generating XML perf data, cleanup some makefiles
X-SVN-Rev: 28418
2010-08-05 00:26:41 +00:00
Michael Ow
ce3a205cc9 ICU-6501 Set data path when building data in archive mode.
X-SVN-Rev: 28389
2010-07-29 23:37:19 +00:00
Steven R. Loomis
592b73e980 ICU-7502 fix ASCIIsms - merge from branch /branches/srl/ascii7502
X-SVN-Rev: 28382
2010-07-28 16:08:12 +00:00
Andy Heninger
a2605b9c83 ICU-5532 temp fix for crash in RBBI dictionary code with UTF-8 text
X-SVN-Rev: 28361
2010-07-23 00:15:37 +00:00
Markus Scherer
5df2f14dee ICU-7746 minor fixes, parallel to Java
X-SVN-Rev: 28312
2010-07-15 03:53:12 +00:00
Steven R. Loomis
a8575b74fa ICU-7829 reset the default converter if the default converter name changes
X-SVN-Rev: 28310
2010-07-14 23:01:37 +00:00
Andy Heninger
74e297291f ICU-7780 fix various compiler warnings
X-SVN-Rev: 28301
2010-07-12 18:03:29 +00:00
Andy Heninger
c4dc5051de ICU-7783 error checking in U16_GET()
X-SVN-Rev: 28300
2010-07-12 17:55:11 +00:00
Fredrik Roubert
7d5ca333f1 ICU-6838 add test cases and lowercase canonicalization table entry for "C"
X-SVN-Rev: 28284
2010-07-08 00:16:17 +00:00
Jungshik Shin
3cbe5e57c5 ICU-7794 createDefaultTimeZone doesn't honor DST on Ubuntu Linux. Skip 'localtime' and return as soon as the 1st match is found
X-SVN-Rev: 28272
2010-06-28 17:44:29 +00:00
Steven R. Loomis
cbd23cf258 ICU-7792 bump version# to milestone:4.5.2
X-SVN-Rev: 28270
2010-06-26 00:11:39 +00:00
Steven R. Loomis
ef22b3356a ICU-7586 update draft/deprecated. update header test.
X-SVN-Rev: 28260
2010-06-23 03:13:59 +00:00
Steven R. Loomis
6804c3f0d9 ICU-7586 urename update (had to move a class into the ICU namespace)
X-SVN-Rev: 28257
2010-06-23 00:38:51 +00:00
Markus Scherer
0f2d14ab3a ICU-7586 fix namespace bugs
X-SVN-Rev: 28202
2010-06-15 21:19:16 +00:00
Markus Scherer
3360fe4708 ICU-7144 merge UTS #46 (IDNA2008) C/C++ feature into trunk, merging in -r 27794:28172 icu/branches/markus/uts46
X-SVN-Rev: 28195
2010-06-15 15:54:53 +00:00
Markus Scherer
9cbd929fca ICU-7736 test and fix FilteredNormalizer2::getDecomposition()
X-SVN-Rev: 28163
2010-06-09 06:08:43 +00:00
Markus Scherer
82160e104c ICU-7736 add Normalizer2::getDecomposition(c)
X-SVN-Rev: 28161
2010-06-08 23:32:11 +00:00
Markus Scherer
bff71243ce ICU-7586 fix some initializer warnings
X-SVN-Rev: 28158
2010-06-08 21:45:43 +00:00
Markus Scherer
32b40e3ee2 ICU-7586 fix some initializer warnings
X-SVN-Rev: 28157
2010-06-08 21:13:54 +00:00
Markus Scherer
5230d5de1c ICU-7442 mark Normalizer2 as not intended for public subclassing
X-SVN-Rev: 28147
2010-06-05 00:06:10 +00:00
Michael Ow
d565b3b2f3 ICU-7581 Fix a few mingw build issues including symbolic links when building data and missing header file inclusion.
X-SVN-Rev: 28125
2010-06-03 15:51:19 +00:00
Markus Scherer
0acda636e4 ICU-7722 build canonical-iterator data from nfc.nrm (port Java code to C++)
X-SVN-Rev: 28117
2010-06-01 06:10:26 +00:00
Markus Scherer
77543b3e58 ICU-7703 fix unorm_normalize(src, length=-1) bug and allow src=NULL if length=0
X-SVN-Rev: 28115
2010-05-30 23:00:52 +00:00
Michael Ow
4984059276 ICU-7714 Set cached user data entry to be deleted instead of removing it right away if user data is not found.
X-SVN-Rev: 28109
2010-05-27 20:29:16 +00:00
Steven R. Loomis
a1ea70071b ICU-7708 compiler warnings for 4.5.1 (batch 1)
X-SVN-Rev: 28103
2010-05-25 22:17:12 +00:00
Steven R. Loomis
edcaca307a ICU-3030 show elapsed time in subtests. Add internal uprv_getRawUTCtime that doesn't go through faketime.
X-SVN-Rev: 28099
2010-05-25 19:55:05 +00:00
Markus Scherer
0ff592e9e9 ICU-7496 import unmangled data entry point name
X-SVN-Rev: 28090
2010-05-24 23:43:14 +00:00
Markus Scherer
5ab64ef670 ICU-7704 add converter compatible with Java UTF-16: always writes big-endian regardless of platform
X-SVN-Rev: 28089
2010-05-23 05:02:54 +00:00
Markus Scherer
2510483f25 ICU-7496 fix const problem
X-SVN-Rev: 28088
2010-05-21 22:45:05 +00:00
Markus Scherer
bdd8a3a473 ICU-7496 rename udata.c to udata.cpp and replace TinyString with CharString
X-SVN-Rev: 28084
2010-05-21 04:39:19 +00:00
Markus Scherer
465c4ab088 ICU-7496 CharString fix for Windows
X-SVN-Rev: 28083
2010-05-20 21:41:10 +00:00
Markus Scherer
fd376b34c0 ICU-7496 add internal char * string class for C++ implementation code
X-SVN-Rev: 28082
2010-05-20 21:16:44 +00:00
Markus Scherer
f6a04770ff ICU-7455 use compiler RTTI; stop adding poor mans RTTI to new class hierarchies
X-SVN-Rev: 28075
2010-05-19 17:29:33 +00:00
Markus Scherer
50d9837e92 ICU-7493 clean up MaybeStackArray (revert r27723) and add MaybeStackHeaderAndArray
X-SVN-Rev: 28073
2010-05-18 21:53:21 +00:00
Michael Ow
243d11d980 ICU-7636 Define _XOPEN_SOURCE_EXTENDED in putil.c when using VA compiler
X-SVN-Rev: 28070
2010-05-17 16:26:44 +00:00
Markus Scherer
94aab1c22b ICU-7684 add Reset() return *this
X-SVN-Rev: 28068
2010-05-15 23:25:17 +00:00
Markus Scherer
06c7d56b8e ICU-7684 add CheckedArrayByteSink::Reset()
X-SVN-Rev: 28067
2010-05-15 23:18:12 +00:00
Markus Scherer
0c2aec0b46 ICU-7683 add CheckedArrayByteSink::NumberOfBytesAppended()
X-SVN-Rev: 28066
2010-05-15 23:00:26 +00:00
Steven R. Loomis
d3172c2d68 ICU-7627 move dbgutil from ctestfw to toolutil ( merge from r28050 r28051 r28052 r28054 )
X-SVN-Rev: 28055
2010-05-12 17:56:02 +00:00
Peter Edberg
4405e8e99c ICU-7590 uloc_getVariant reports empty variant if there is no country
X-SVN-Rev: 28048
2010-05-11 07:31:35 +00:00
John Emmons
3f850eeea7 ICU-7438 Cleaned up the -u-va-posix handling code a bit
X-SVN-Rev: 28045
2010-05-10 21:29:35 +00:00
John Emmons
00f2329887 ICU-7438 Add -u-va-posix handling to uloc_fromLanguageTag() and uloc_toLanguageTag()
X-SVN-Rev: 28044
2010-05-10 21:24:02 +00:00
Michael Ow
67a1529fc9 ICU-7474 Update bidi code with MSVC compiler fix.
X-SVN-Rev: 28038
2010-05-07 22:05:57 +00:00
Peter Edberg
8dc0dfc1f3 ICU-7617 Fix includes: <sys/types.h> sets up BYTE_ORDER and BIG_ENDIAN, move before platform.h which uses them
X-SVN-Rev: 27946
2010-04-17 07:04:56 +00:00
Michael Ow
c1db9d5f37 ICU-7580 Remove compiler warning.
X-SVN-Rev: 27932
2010-04-15 15:27:28 +00:00
Steven R. Loomis
3c32f28189 ICU-7586 update version number for milestone:4.5.1
X-SVN-Rev: 27892
2010-04-02 00:12:54 +00:00
Michael Ow
90f75fcbf0 ICU-7543 Update LCID Posix mapping for zh.
X-SVN-Rev: 27877
2010-03-29 18:21:58 +00:00
Andy Heninger
68443106b1 ICU-7552 change bitwise -> logical ||, &&
X-SVN-Rev: 27861
2010-03-17 22:59:15 +00:00
Michael Ow
2100f22652 ICU-6911 Remove uneeded user override data from cache.
X-SVN-Rev: 27833
2010-03-12 08:06:33 +00:00
Steven R. Loomis
07ea404d7f ICU-3904 fix leaks. report leaks if all of ICU is compiled with URES_DEBUG
X-SVN-Rev: 27822
2010-03-11 20:05:42 +00:00
Michael Ow
2dd195a7db ICU-6911 Ensure fCountExisting is incremented correctly.
X-SVN-Rev: 27818
2010-03-11 18:38:24 +00:00
Steven R. Loomis
cbe3757600 ICU-7532 fix and update udraft.h etc headers
X-SVN-Rev: 27815
2010-03-11 02:25:58 +00:00
Steven R. Loomis
78f9faec0a ICU-7522 uconfigtest failures for 4.4
X-SVN-Rev: 27806
2010-03-09 23:11:48 +00:00
Doug Felt
809ac514dc ICU-7500 fix uloc_getDisplayName incorrect length
X-SVN-Rev: 27774
2010-03-04 02:34:15 +00:00
Michael Ow
d566c2f498 ICU-7138 Fix casting and update docs in ucmfiles.mk.
X-SVN-Rev: 27768
2010-03-03 18:09:22 +00:00