Commit Graph

4771 Commits

Author SHA1 Message Date
Markus Scherer
98fd35991b ICU-7247 use almost every one of the LocalXyzPointer classes at least once
X-SVN-Rev: 26955
2009-11-20 06:28:25 +00:00
Markus Scherer
6b848d4b3f ICU-7182 small simplification of _recompose()
X-SVN-Rev: 26953
2009-11-19 04:40:51 +00:00
Markus Scherer
9fca8644b5 ICU-7182 remove support for Unicode Normalization behavior before corrigendum 5 (PRI #29)
X-SVN-Rev: 26952
2009-11-19 00:46:36 +00:00
Markus Scherer
3b12074b40 ICU-7247 add internal LocalMemory and MaybeStackArray classes
X-SVN-Rev: 26951
2009-11-18 23:35:52 +00:00
Markus Scherer
2f8822e8b3 ICU-7260 remove bad lines from uintrnal.h to get hdrtst to pass
X-SVN-Rev: 26948
2009-11-18 22:20:08 +00:00
Andy Heninger
9516e2fed2 ICU-7193 Fix uninitialized UErrorCode
X-SVN-Rev: 26929
2009-11-17 19:17:06 +00:00
Andy Heninger
5f4c87e3b2 ICU-7193 Get rid of bogus gcc warnings
X-SVN-Rev: 26928
2009-11-17 18:41:35 +00:00
Michael Ow
f537b4fde7 ICU-7193 Update urename.h
X-SVN-Rev: 26927
2009-11-17 17:58:51 +00:00
Markus Scherer
81c4b3a886 ICU-7084 more C-friendly comments
X-SVN-Rev: 26906
2009-11-14 20:00:32 +00:00
Markus Scherer
57bc8aa035 ICU-7245 implement C++ public smart pointers; LocalPointer, LocalArray, LocalUConverterPointer etc. (localpointer.h)
X-SVN-Rev: 26905
2009-11-14 00:38:00 +00:00
Markus Scherer
1dbea6f001 ICU-7245 implement C++ public smart pointers; LocalPointer, LocalArray, LocalUConverterPointer etc.
X-SVN-Rev: 26904
2009-11-14 00:36:06 +00:00
Markus Scherer
66b63f9c48 ICU-7084 Unicode 5.2: merge -r 26464:26890 branches/markus/uni52 into trunk, and a little cleanup (C++)
X-SVN-Rev: 26898
2009-11-13 19:25:21 +00:00
Michael Ow
c1425595ec ICU-7232 Fix some Windows compilation errors.
X-SVN-Rev: 26893
2009-11-13 01:47:05 +00:00
Doug Felt
d62a45c0bc ICU-7232 merge branch/dougfelt/datasplit at revision 26862 into trunk
X-SVN-Rev: 26884
2009-11-12 21:53:42 +00:00
Michael Ow
a1900371b7 ICU-7226 Undo commit revision 24105 from ticket 6300.
X-SVN-Rev: 26871
2009-11-11 17:33:56 +00:00
Michael Ow
b4853d0331 ICU-7222 Remove Windows x64 warnings by casting explicitly.
X-SVN-Rev: 26870
2009-11-11 15:47:22 +00:00
Fredrik Roubert
4a6d872c21 ICU-7121 add ErrorCode::errorName() convenience method
X-SVN-Rev: 26856
2009-11-09 15:40:57 +00:00
Michael Ow
6ca187a0ca ICU-7200 Move definition of TZFILE_SKIP.
X-SVN-Rev: 26816
2009-10-28 21:10:31 +00:00
Michael Ow
213239011c ICU-7200 Skip certain tz file when searching for system time zone.
X-SVN-Rev: 26815
2009-10-28 19:59:29 +00:00
Michael Ow
fe62ee5a61 ICU-6204 Ensure valid country code in locale id is either size 2 or 3.
X-SVN-Rev: 26809
2009-10-26 19:34:32 +00:00
Michael Ow
29d8944fc5 ICU-7193 Update version number to 4.3.3
X-SVN-Rev: 26786
2009-10-14 20:13:03 +00:00
Andy Heninger
ee02257977 ICU-7179 Incorrect data type in race-handling code in udata_cacheDataItem
X-SVN-Rev: 26763
2009-10-07 22:06:24 +00:00
Michael Ow
475e26f1ae ICU-7074 Update urename.h for 4.3.2
X-SVN-Rev: 26760
2009-10-07 19:43:07 +00:00
Jungshik Shin
aad80d159f ICU-7135 On Windows, make uprv_tzname return a pointer to a location in the heap in both normal and fallback codepaths because it it is freed in timezone.cpp
X-SVN-Rev: 26746
2009-10-06 16:58:50 +00:00
Michael Ow
ecae93acea ICU-3319 Fix result check for uprv_memcmp and update namespace renaming
X-SVN-Rev: 26731
2009-10-02 19:21:27 +00:00
Michael Ow
5fd02e901c ICU-3319 Ensure uvernum.h is not included before platform.h
X-SVN-Rev: 26708
2009-09-30 22:26:10 +00:00
Claire Ho
78f5b61f0b ICU-7145 Prevent crash in searchForTZfile() of putil.c
X-SVN-Rev: 26706
2009-09-30 21:21:02 +00:00
Michael Ow
fea26556be ICU-3319 Update common project file.
X-SVN-Rev: 26705
2009-09-30 20:50:14 +00:00
Michael Ow
f49fb07bfe ICU-3319 Remove uneeded doxygen tag.
X-SVN-Rev: 26704
2009-09-30 20:31:51 +00:00
Michael Ow
0007ad3c36 ICU-3319 Use more generic name for rename macro. Move namespace definition back. Fix various rename issues.
X-SVN-Rev: 26703
2009-09-30 20:26:34 +00:00
Michael Ow
cf139249f7 ICU-5720 Remove uneeded u_version functions.
X-SVN-Rev: 26702
2009-09-30 20:16:24 +00:00
John Emmons
f5c53c0899 ICU-7136 Fix build error on Windows
X-SVN-Rev: 26670
2009-09-22 16:05:30 +00:00
John Emmons
9201d2a8a6 ICU-7136 Add logic to allow %%ParentIsRoot resource to disallow the parent in the inheritance chain
X-SVN-Rev: 26666
2009-09-21 22:51:00 +00:00
Andy Heninger
95505300c8 ICU-4016 mutexes: dump pool, revert to dynamic allocation, simplify some of the #ifdef tangle.
X-SVN-Rev: 26660
2009-09-21 04:21:41 +00:00
Michael Ow
d8e1bc4885 ICU-6911 Remove memory leak in icudataver and ssearch.
X-SVN-Rev: 26652
2009-09-18 21:52:02 +00:00
Michael Ow
3b1acfd610 ICU-6991 Add icudataver.c to windows project file.
X-SVN-Rev: 26649
2009-09-18 14:31:42 +00:00
Michael Ow
c8982d6ce6 ICU-7074 Update version number for namespace.
X-SVN-Rev: 26632
2009-09-15 17:50:27 +00:00
Michael Ow
a6305a2160 ICU-3319 Fix missing function declaration during merge.
X-SVN-Rev: 26631
2009-09-15 16:20:12 +00:00
Michael Ow
67e5dae0ae ICU-5720 Fix usage of UVersionInfo type.
X-SVN-Rev: 26629
2009-09-14 16:48:42 +00:00
Steven R. Loomis
d51a3d446c ICU-6989 merge of r26622, fix urename
X-SVN-Rev: 26623
2009-09-12 04:06:28 +00:00
Michael Ow
bec6614bdd ICU-6565 Make Linux and MacOX default codepage be UTF-8 for non C/POSIX locale.
X-SVN-Rev: 26620
2009-09-11 20:41:32 +00:00
Andy Heninger
4d90dc692d ICU-7130 infinite loop in dictionary break iterators
X-SVN-Rev: 26618
2009-09-10 23:17:38 +00:00
Michael Ow
aedb406d05 ICU-3319 Fix cygwin renaming issue.
X-SVN-Rev: 26614
2009-09-09 18:29:55 +00:00
Michael Ow
9e239fd9f0 ICU-3319 Merge changes in branch to trunk.
X-SVN-Rev: 26609
2009-09-08 05:31:42 +00:00
Michael Ow
f936b9b2f5 ICU-3126 Merge changes to trunk for auto cleanup of icu libraries.
X-SVN-Rev: 26596
2009-09-03 20:40:02 +00:00
Michael Ow
657fc234e0 ICU-4069 Remove C++ style comments and declarations.
X-SVN-Rev: 26555
2009-08-26 18:40:08 +00:00
John Emmons
54a0de3375 ICU-4069 Use localized locale display pattern in getDisplayLocale()
X-SVN-Rev: 26554
2009-08-26 17:28:25 +00:00
Michael Ow
da54f7cdee ICU-5720 Add data version API.
X-SVN-Rev: 26490
2009-08-13 17:21:33 +00:00
Michael Ow
48294075bd ICU-7060 Ignore some definitions when on Cygwin/MSVC.
X-SVN-Rev: 26487
2009-08-12 19:45:13 +00:00
Michael Ow
d7d2dfe48d ICU-7060 Include platform.h when building on Cygwin/MSVC.
X-SVN-Rev: 26484
2009-08-12 18:57:25 +00:00
Michael Ow
6c22ca75fe ICU-6998 Remove dllimport attribute when building on Cygwin GCC.
X-SVN-Rev: 26459
2009-07-30 18:36:51 +00:00
Michael Ow
4ca1eed83e ICU-7039 Fix pointer integer comparison.
X-SVN-Rev: 26458
2009-07-30 16:47:30 +00:00
Michael Ow
d8554576c2 ICU-7039 Enable optimization for C++ files using GCC.
X-SVN-Rev: 26455
2009-07-29 19:44:01 +00:00
Steven R. Loomis
018fea30d7 ICU-7074 bump version to milestone:4.3.2
X-SVN-Rev: 26433
2009-07-24 19:52:23 +00:00
John Vu
2372fb332c ICU-7025 Changed comment to say country codes are defined as ISO 3166 and not ISO 639.
X-SVN-Rev: 26431
2009-07-24 18:36:41 +00:00
Yoshito Umaoka
71cc388673 ICU-6916 Fixing compiler warnings on Linux/gcc.
X-SVN-Rev: 26427
2009-07-23 20:28:26 +00:00
Markus Scherer
ceff3fcad0 ICU-6945 reduce gcc 4.2 warnings
X-SVN-Rev: 26411
2009-07-22 05:15:28 +00:00
Michael Ow
7c977e5785 ICU-7004 Update urename.h
X-SVN-Rev: 26402
2009-07-21 03:02:49 +00:00
Steven R. Loomis
9f373b4b5a ICU-6902 merge of r26358 into trunk (z changes)
X-SVN-Rev: 26381
2009-07-18 02:35:27 +00:00
Markus Scherer
c9087beb0d ICU-6945 merge into trunk: changes for .res formatVersion 2 (#6945) and new ICU4J data .jar building from ICU4C (#7043), from -r 26329:26368 icu/branches/markus/smallres2
X-SVN-Rev: 26375
2009-07-17 22:57:26 +00:00
Michael Ow
0410071ff1 ICU-4069 Move declaration to top of function to avoid compilation errors on some platforms.
X-SVN-Rev: 26342
2009-07-15 17:32:01 +00:00
John Emmons
ff8cd2fb57 ICU-4069 Add support for locale separator
X-SVN-Rev: 26337
2009-07-14 22:45:44 +00:00
Michael Ow
4f6fd26142 ICU-6963 Make icu resolve symbols internally.
X-SVN-Rev: 26320
2009-07-14 16:50:23 +00:00
Michael Ow
6aec621e32 ICU-6487 Enable utf16 string literals on GCC >= 4.4 when strict is disabled.
X-SVN-Rev: 26309
2009-07-13 19:01:23 +00:00
Yoshito Umaoka
e3a1e9df86 ICU-6916 Support preferred language subtag casing used in BCP47.
X-SVN-Rev: 26296
2009-07-10 23:39:21 +00:00
Andy Heninger
20e7751c2c ICU-6998 swat a bunch of compiler warnings.
X-SVN-Rev: 26288
2009-07-10 18:58:35 +00:00
Andy Heninger
49db0e1ead ICU-3491 remove extra calls to u_init(), and simplify the API comments for u_init().
X-SVN-Rev: 26279
2009-07-09 22:50:01 +00:00
Andy Heninger
ff17dd72c1 ICU-3547 remove unnecessary umtx_init() calls.
X-SVN-Rev: 26224
2009-07-03 00:36:51 +00:00
Michael Ow
513975dfe7 ICU-7004 Update Visual Studio project files to 4.3.1
X-SVN-Rev: 26202
2009-06-29 22:24:07 +00:00
Michael Ow
c0a65e9d5b ICU-7004 Update ICU4C version number to 4.3.1
X-SVN-Rev: 26197
2009-06-29 17:53:41 +00:00
Michael Ow
737d833448 ICU-6955 Fix potential error in mbcs and add more code coverage test cases.
X-SVN-Rev: 26194
2009-06-29 03:57:23 +00:00
John Vu
edf161736f ICU-6967 Removed u_compareVersions.
X-SVN-Rev: 26143
2009-06-23 18:04:40 +00:00
John Emmons
42da1f8d6b ICU-6979 Integrate CLDR 1.7.1
X-SVN-Rev: 26138
2009-06-22 17:00:28 +00:00
Andy Heninger
d9bc692358 ICU-6998 Compiler warning fixes
X-SVN-Rev: 26109
2009-06-16 00:57:23 +00:00
Markus Scherer
ceab24c9be ICU-6965 rename ErrorCode::check() to ErrorCode::assertSuccess() to avoid conflict with MacOS #define check(...)
X-SVN-Rev: 26054
2009-05-27 22:31:13 +00:00
Markus Scherer
12be5b8ce0 ICU-6928 even simpler NUL-termination code, now only in getTerminatedBuffer(); insight: getTerminatedBuffer() can safely write a NUL even in a shared, allocated (kLongString & refCount()>1) buffer so no other code need NUL-terminate the buffer
X-SVN-Rev: 26007
2009-05-14 06:05:27 +00:00
Markus Scherer
b23ab3d19d ICU-6928 make not-writable UnicodeString buffers NUL-terminated if there is space, and NUL-terminate writable buffers if there is space; this is so valgrind and Purify don't complain about testing uninitialized memory
X-SVN-Rev: 26006
2009-05-13 21:05:51 +00:00
Markus Scherer
d0f56f27f1 ICU-6929 turn U_DISABLE_RENAMING back off (i.e., enable renaming) by default on Windows
X-SVN-Rev: 26005
2009-05-13 19:02:07 +00:00
Michael Ow
77aeb37635 ICU-6890 Check for cygwinmsvc build environment before declaring npos.
X-SVN-Rev: 25950
2009-04-29 20:29:22 +00:00
Markus Scherer
5875bf7c7f ICU-6574 fix documentation related to the break iterator
X-SVN-Rev: 25899
2009-04-24 00:37:01 +00:00
Markus Scherer
57fbf5d5f7 ICU-6331 avoid using padding-sensitive (on old ARM) struct Group, access raw uint16_t instead
X-SVN-Rev: 25897
2009-04-23 21:57:48 +00:00
Markus Scherer
b2da0fe0c2 ICU-6687 fix ucnv_convertEx() code sample
X-SVN-Rev: 25892
2009-04-23 15:39:39 +00:00
Andy Heninger
aca052e550 ICU-6774 character break iteration, revise misleading documentation.
X-SVN-Rev: 25885
2009-04-23 06:04:20 +00:00
Steven R. Loomis
a0971dd8e9 ICU-6416 update to 4.2 for renaming
X-SVN-Rev: 25880
2009-04-23 04:49:08 +00:00
Steven R. Loomis
e8dd13d0e4 ICU-6822 locale capacity
X-SVN-Rev: 25878
2009-04-23 04:25:39 +00:00
Markus Scherer
34be31dcd4 ICU-6639 mingw has inttypes.h
X-SVN-Rev: 25872
2009-04-22 23:37:04 +00:00
Steven R. Loomis
5efc717c00 ICU-6799 warning reduction
X-SVN-Rev: 25867
2009-04-22 22:02:47 +00:00
Markus Scherer
9808a30392 ICU-6453 minor code improvements
X-SVN-Rev: 25857
2009-04-21 23:38:15 +00:00
Yoshito Umaoka
a22f179e2b ICU-6434 Use the first extlang as locale ID language in uloc_forLanguageTag.
X-SVN-Rev: 25853
2009-04-21 06:17:54 +00:00
Yoshito Umaoka
a5ccb30821 ICU-6434 Refactoring language tag support. Removed ultag.h, renamed ultag.c to uloc_tag.c.
X-SVN-Rev: 25849
2009-04-20 23:18:57 +00:00
Michael Ow
91dc92c717 ICU-6554 Unload data before returning.
X-SVN-Rev: 25842
2009-04-20 17:04:07 +00:00
Andy Heninger
183dadb915 ICU-5572 improved UText of empty string construction
X-SVN-Rev: 25824
2009-04-17 23:50:13 +00:00
Markus Scherer
c29e95d549 ICU-6048 fix list of C++ header files for hdrtst, and export more public header files in Windows builds
X-SVN-Rev: 25805
2009-04-17 00:25:18 +00:00
Andy Heninger
2eb88b2772 ICU-6847 UText problems with nul-terminated strings
X-SVN-Rev: 25804
2009-04-16 23:41:36 +00:00
Michael Ow
f5f04a1928 ICU-6554 Use static variable when searching for tzfile and delete allocated pointer in numfmtst.
X-SVN-Rev: 25798
2009-04-16 20:56:04 +00:00
Michael Ow
5e42f898c5 ICU-6416 Update to 4.2 urename.h
X-SVN-Rev: 25782
2009-04-15 20:36:09 +00:00
Michael Ow
cac007a995 ICU-6416 Update to 4.2 (project files and mak file).
X-SVN-Rev: 25780
2009-04-15 19:08:25 +00:00
Michael Ow
5d619b24b5 ICU-6416 Update to 4.2
X-SVN-Rev: 25779
2009-04-15 19:00:58 +00:00
Michael Ow
c4d173f617 ICU-6825 Remove unneeded trailing parentheses.
X-SVN-Rev: 25778
2009-04-15 16:54:01 +00:00
Markus Scherer
feacd1a1c6 ICU-6765 add comments about why StringPiece and ByteSink don't look like normal ICU classes
X-SVN-Rev: 25774
2009-04-15 04:21:57 +00:00
Steven R. Loomis
9eb9dd4c83 ICU-6799 fix many warnings, improve tests
X-SVN-Rev: 25772
2009-04-15 01:57:02 +00:00
Yoshito Umaoka
6b1a0829a6 ICU-6434 ICU4C toLanguageTag/forLanguageTag implementation.
X-SVN-Rev: 25756
2009-04-10 22:30:39 +00:00
John Emmons
1a390c1bfa ICU-6771 CLDR 1.7 Integration - release-1-7-d01
X-SVN-Rev: 25750
2009-04-10 07:47:09 +00:00
Michael Ow
56db54ee3f ICU-6238 Fix NSF/NFS typo.
X-SVN-Rev: 25745
2009-04-09 18:36:56 +00:00
Markus Scherer
8ee4058f62 ICU-6441 bug fix in ucnv_bld.c: don't ucnv_close() if onlyTestIsLoadable; and simplify code by dropping isLoadable result and using UErrorCode instead
X-SVN-Rev: 25741
2009-04-07 18:31:32 +00:00
Yoshito Umaoka
2b0926a2cd ICU-6828 Check the error code properly in the parseTagString and other likely/minimize subtag implementation.
X-SVN-Rev: 25734
2009-04-06 18:52:54 +00:00
Markus Scherer
5c3b41f836 ICU-6789 implement Java-compatible Unicode, UnicodeBig and UnicodeLittle converters
X-SVN-Rev: 25714
2009-04-01 19:31:33 +00:00
Steven R. Loomis
ff3cb7a656 ICU-6799 reduce warnings (status: 718->459)
X-SVN-Rev: 25708
2009-04-01 05:57:09 +00:00
Steven R. Loomis
21a1c74128 ICU-6416 ICU4C 4.1.5
X-SVN-Rev: 25697
2009-03-31 17:00:42 +00:00
Andy Heninger
cc9ed5eb45 ICU-6799 fix compiler warnings
X-SVN-Rev: 25668
2009-03-27 17:08:12 +00:00
Michael Ow
d4f8a1c607 ICU-6790 Remove dereferencing of freed pointer and use dynamic array instead of static.
X-SVN-Rev: 25648
2009-03-24 18:27:08 +00:00
Steven R. Loomis
0fbc6cab07 ICU-6804 update deprecated, draft, etc
X-SVN-Rev: 25633
2009-03-19 16:45:38 +00:00
Steven R. Loomis
714d7d9808 ICU-6804 Move @draft to @stable, regen api report
X-SVN-Rev: 25631
2009-03-19 06:45:04 +00:00
Steven R. Loomis
1fcbaff0ba ICU-6804 @draft to @stable
X-SVN-Rev: 25626
2009-03-19 04:03:31 +00:00
Steven R. Loomis
0a5b5e9880 ICU-6797 more doxygen cleanup
X-SVN-Rev: 25623
2009-03-19 02:01:37 +00:00
Markus Scherer
f111648f68 ICU-6765 doxygen-ify API docs
X-SVN-Rev: 25620
2009-03-18 20:35:19 +00:00
Andy Heninger
2a788397fd ICU-2515 Make uenum_openStringEnumeration() public, rename to uenum_openFromStringEnumeration()
X-SVN-Rev: 25619
2009-03-18 20:23:40 +00:00
Markus Scherer
fa03e6079a ICU-6765 doxygen-ify API docs
X-SVN-Rev: 25618
2009-03-18 19:58:11 +00:00
Steven R. Loomis
8e85f80a2a ICU-6797 raft of doxygen fixes for milestone:4.1.4
X-SVN-Rev: 25600
2009-03-17 01:47:25 +00:00
Steven R. Loomis
ab1caa43fc ICU-6798 version bump icu4c to milestone:4.1.4 and a minor test improvement
X-SVN-Rev: 25599
2009-03-17 01:06:38 +00:00
Andy Heninger
7ba40f1363 ICU-6375 Add option for reducing spurious valgrind errors
X-SVN-Rev: 25586
2009-03-13 23:49:56 +00:00
Markus Scherer
abb7ac7522 ICU-6441 make ucnv_countAvailable() not fully load converters
X-SVN-Rev: 25584
2009-03-13 22:05:01 +00:00
Markus Scherer
e74be582d0 ICU-6606 optimized away calls to u_getDefaultConverter() from UnicodeString code (constructors and extract()) if U_CHARSET_IS_UTF8
X-SVN-Rev: 25571
2009-03-12 21:24:54 +00:00
Andy Heninger
161d291c32 ICU-2515 Make uenum_openStringEnumeration() public
X-SVN-Rev: 25562
2009-03-12 17:56:24 +00:00
Andy Heninger
2213bd3046 ICU-6064 Make UnicodeSet::closeOver() public
X-SVN-Rev: 25560
2009-03-12 17:08:12 +00:00
Andy Heninger
259961959e ICU-6235 UnicodeSet to USet conversions
X-SVN-Rev: 25559
2009-03-12 16:36:34 +00:00
Michael Ow
20f32241a0 ICU-6666 Free buffer to avoid memory leak.
X-SVN-Rev: 25558
2009-03-12 16:22:21 +00:00
Yoshito Umaoka
53a464d82a ICU-6434 BCP47 conversion function definitions with stub code for M4
X-SVN-Rev: 25557
2009-03-12 04:08:32 +00:00
Andy Heninger
0e1d733bac ICU-6066 take UnicodeSet::removeAllStrings() public
X-SVN-Rev: 25556
2009-03-12 01:14:10 +00:00
Andy Heninger
72cf0f3d06 ICU-6235 UnicodeSet to USet conversions
X-SVN-Rev: 25555
2009-03-12 00:38:53 +00:00
Markus Scherer
2cc78d6fce ICU-6606 split UnicodeString methods so that implicitly using the default codepage does not have to depend on ucnv_* functions if the default is UTF-8
X-SVN-Rev: 25554
2009-03-11 23:57:47 +00:00
Markus Scherer
af61e26bf0 ICU-6483 remove useless origin parameter from handleFailure()
X-SVN-Rev: 25550
2009-03-11 17:57:24 +00:00
Michael Ow
8a6a82406d ICU-6765 Undo previous removal for definition of static class variable. Add #if statement instead.
X-SVN-Rev: 25548
2009-03-11 15:38:31 +00:00
Markus Scherer
2c2bf3e72a ICU-6483 add ErrorCode class, C++ convenience wrapper for UErrorCode
X-SVN-Rev: 25546
2009-03-11 05:27:11 +00:00
Markus Scherer
93e35cf3db ICU-6606 add #define option for >>default charset is UTF-8<<
X-SVN-Rev: 25544
2009-03-11 03:16:35 +00:00
Michael Ow
2dfb80a9e1 ICU-6765 Remove redefinition of const static class variable.
X-SVN-Rev: 25539
2009-03-10 20:51:40 +00:00
Andy Heninger
9715eae02c ICU-4790 spoof impl merged to trunk.
X-SVN-Rev: 25534
2009-03-09 23:40:15 +00:00
Michael Ow
f96da10edc ICU-3378 Fix compilation errors.
X-SVN-Rev: 25529
2009-03-09 21:56:08 +00:00
Michael Ow
aa05d999c7 ICU-3378 Port over getKeywordValuesForLocale API from ICU4J to ICU4C. Add test for this new API. Also add for, internal use, Linked List API for when creating UEnumeration.
X-SVN-Rev: 25527
2009-03-09 20:39:13 +00:00
Michael Ow
f2d5519047 ICU-6765 Add header for memcpy to resolve compilation error.
X-SVN-Rev: 25526
2009-03-09 20:32:09 +00:00
Andy Heninger
8ec2292d83 ICU-6776 fix compilation error with UnicodeString::toUTF8String()
X-SVN-Rev: 25524
2009-03-09 02:54:18 +00:00
Markus Scherer
14a99920b5 ICU-6765 add bytestream & stringpiece to Makefile
X-SVN-Rev: 25520
2009-03-06 20:16:18 +00:00
Markus Scherer
63ea2e06da ICU-6765 add API: StringPiece, ByteSink(s), UnicodeString::toUTF8() and fromUTF8()
X-SVN-Rev: 25519
2009-03-06 19:19:00 +00:00
Andy Heninger
2b08f8a46f ICU-6772 fix some compiler warnings
X-SVN-Rev: 25503
2009-03-02 20:53:54 +00:00
Waleed Oransa
00c800b8f4 ICU-6666 Merged ICU4C/branches/waleed branch changes r25467:25501 into the trunk."
X-SVN-Rev: 25502
2009-03-02 15:46:03 +00:00
Markus Scherer
8406b8e2bd ICU-6765 fix Windows compilation problem: ICU internal #define collisions with Windows STL headers
X-SVN-Rev: 25481
2009-02-25 01:22:27 +00:00
Markus Scherer
2b6da240a8 ICU-6765 copy std_string.h to the include folder
X-SVN-Rev: 25480
2009-02-25 00:22:43 +00:00
Markus Scherer
59d37b352b ICU-6765 add std_string.h with central #include <string> and std:: namespace definitions
X-SVN-Rev: 25479
2009-02-24 23:01:18 +00:00
Markus Scherer
1d91a19628 ICU-6765 autoconf support for whether the standard <string> header is available
X-SVN-Rev: 25476
2009-02-24 19:57:06 +00:00
Markus Scherer
97ea1827e7 ICU-6678 add uset_openEmpty()
X-SVN-Rev: 25451
2009-02-19 23:36:58 +00:00
Markus Scherer
311b29556f ICU-6677 add UnicodeString fromUTF32() and toUTF32() methods
X-SVN-Rev: 25448
2009-02-19 22:35:06 +00:00
Markus Scherer
c4e1d3e0be ICU-6677 add u_strToUTF32WithSub() and u_strFromUTF32WithSub()
X-SVN-Rev: 25444
2009-02-19 20:02:40 +00:00
Markus Scherer
a679ccf60c ICU-6677 fix and extend u_strToUTF32() input string validation
X-SVN-Rev: 25443
2009-02-19 18:14:25 +00:00
Markus Scherer
a856eb2eba ICU-6677 add and fix u_strFromUTF32() input string validation
X-SVN-Rev: 25441
2009-02-19 05:18:34 +00:00
Michael Ow
23249110aa ICU-6571 Fix the checking of string length in u_versionFromUString.
X-SVN-Rev: 25371
2009-02-04 19:59:43 +00:00
Steven R. Loomis
6834a963d3 ICU-6700 turn off optimization for VS2003 for utrie2
X-SVN-Rev: 25364
2009-02-02 23:48:53 +00:00
Yoshito Umaoka
eb175516be ICU-6238 Support standard stringprep profiles in ICU4C. Merging changes from the work branch to the trunk.
X-SVN-Rev: 25357
2009-02-02 16:16:07 +00:00
Steven R. Loomis
b8f9d76697 ICU-6709 fix udata_setAppData to handle bogus double properly. Also, have uconv's make check do something
X-SVN-Rev: 25353
2009-01-30 17:59:33 +00:00
Steven R. Loomis
f5a1df14ce ICU-6571 move the API to ulocdata
X-SVN-Rev: 25347
2009-01-29 20:31:37 +00:00
Steven R. Loomis
302f5a40b4 ICU-6690 icu4c version bump to 4.1.3
X-SVN-Rev: 25328
2009-01-29 00:55:53 +00:00
Steven R. Loomis
2e10735e9c ICU-6571 merge r25317 and r25318 - C side
X-SVN-Rev: 25327
2009-01-29 00:17:44 +00:00
Michael Ow
798386a4ff ICU-6695 Use realloc instead of malloc when increasing the size of the array and also update pointers to the new array. Increase the curCase value check to call code that were skipped during ucnvseltst.
X-SVN-Rev: 25289
2009-01-22 20:10:47 +00:00
Andy Heninger
73724078aa ICU-6679 Visual Studio project files upgrade to version 2008
X-SVN-Rev: 25256
2009-01-15 01:50:06 +00:00
Markus Scherer
71dea647bd ICU-6453 merge _findRow() optimizations
X-SVN-Rev: 25025
2008-12-01 22:41:06 +00:00
Markus Scherer
4caa716b9a ICU-6453 allocation bug fix
X-SVN-Rev: 25023
2008-12-01 22:06:38 +00:00
Steven R. Loomis
46fb1b9b1f ICU-6610 don't use macros as argument for U_STRING_INIT (fix and doc)
X-SVN-Rev: 24912
2008-10-31 01:17:27 +00:00
Steven R. Loomis
2b474170c5 ICU-6530 stray comma
X-SVN-Rev: 24911
2008-10-30 06:55:48 +00:00
Markus Scherer
1e6578a602 ICU-6605 use ptrdiff_t for memory alignment tests
X-SVN-Rev: 24910
2008-10-30 05:20:32 +00:00
Jason Spieth
704b1a968c ICU-4970 Merge branch into trunk
X-SVN-Rev: 24903
2008-10-28 14:50:15 +00:00
Markus Scherer
6b0e32fd7c ICU-6453 fix/improve upvec_ serialization, require 32-bit-aligned serialization buffers, and clean up some code
X-SVN-Rev: 24870
2008-10-24 04:35:50 +00:00
Markus Scherer
35f8ea1402 ICU-6453 upvec_ introduce UPropsVectors type, clean up API a bit
X-SVN-Rev: 24866
2008-10-23 06:00:59 +00:00
Markus Scherer
362d08e00b ICU-6530 fix some gcc warnings
X-SVN-Rev: 24865
2008-10-22 22:28:06 +00:00
Markus Scherer
9be9a82b08 ICU-6530 add UTrie2 and improve upvec_ via svn merge -r 24551:24849 icu/branches/markus/utf8
X-SVN-Rev: 24862
2008-10-22 19:50:07 +00:00
Markus Scherer
add67e15d5 ICU-5691 fix 2022 & HZ to really include the offending trail byte exactly if it is not a starter
X-SVN-Rev: 24824
2008-10-16 00:24:42 +00:00
Michael Ow
85121155a5 ICU-5944 Remove unneeded free function and use struct and static array.
X-SVN-Rev: 24803
2008-10-14 21:46:58 +00:00
Andy Heninger
a9dee48073 ICU-6584 Fix errors in API docs for UnicodeSetIterator
X-SVN-Rev: 24802
2008-10-14 21:23:53 +00:00
Markus Scherer
874efe9fbd ICU-5691 comment out no-longer-needed function
X-SVN-Rev: 24778
2008-10-10 18:16:02 +00:00
Markus Scherer
c801506d5d ICU-5691 stop illegal HZ tilde sequences before the first byte that could start a new character
X-SVN-Rev: 24773
2008-10-10 16:30:28 +00:00
Markus Scherer
e10cfeebfe ICU-5691 minor bug fix
X-SVN-Rev: 24770
2008-10-10 06:01:08 +00:00
Markus Scherer
b6b3273af0 ICU-5691 stop illegal ISO-2022 escape/shift sequences before the first byte that could start a new character
X-SVN-Rev: 24769
2008-10-10 06:00:27 +00:00
Jason Spieth
c712edec79 ICU-6193 Commit changes to trunk via manual edit
X-SVN-Rev: 24740
2008-10-07 15:40:37 +00:00
Markus Scherer
acd74a93d1 ICU-5691 stop illegal sequences before the first byte that could start a new character; in MBCS, DBCS, ISO-2022, HZ; also make ISO-2022-KR strictly check for validity
X-SVN-Rev: 24733
2008-10-07 04:33:51 +00:00
Michael Ow
6e33806beb ICU-5944 Read 512 bytes at a time when comparing tzfiles and use stack array for buffer to avoid excessive mallocs and frees.
X-SVN-Rev: 24725
2008-10-06 17:38:07 +00:00
Andy Heninger
7b405b40af ICU-6567 Fix some compiler warnings
X-SVN-Rev: 24715
2008-10-03 20:30:55 +00:00
Steven R. Loomis
09af16f87e ICU-6557 fix more C/C++ function confusion
X-SVN-Rev: 24702
2008-10-02 20:20:10 +00:00
Yoshito Umaoka
27305576ac ICU-6554 Fix a compilation error on Windows introduced by the previous change.
X-SVN-Rev: 24700
2008-10-02 14:44:44 +00:00
Michael Ow
f904dc9003 ICU-6554 Add releasing of allocated memory when uprv_tzname is called.
X-SVN-Rev: 24698
2008-10-01 21:17:55 +00:00
Michael Ow
13b807cf6f ICU-6412 Remove some unused variables.
X-SVN-Rev: 24692
2008-10-01 15:39:27 +00:00
Michael Ow
9d289d4570 ICU-6554 Implement proper freeing of allocated memory to avoid memory leak.
X-SVN-Rev: 24691
2008-10-01 14:14:13 +00:00
Michael Ow
715a5f50cb ICU-5944 Use static array and variables when possible to avoid excessive mallocs and memory allocations.
X-SVN-Rev: 24690
2008-10-01 14:11:08 +00:00
Steven R. Loomis
c68132d733 ICU-6552 down to 16 errors/warnings in doxygen
X-SVN-Rev: 24687
2008-10-01 01:24:46 +00:00
Yoshito Umaoka
de92282fee ICU-6207 Cleaned up unused code. Minor improvements.
X-SVN-Rev: 24682
2008-09-30 19:18:59 +00:00
Steven R. Loomis
0e7646b347 ICU-6552 reduce a lot of doxygen errs, improve output docs
X-SVN-Rev: 24668
2008-09-27 01:12:32 +00:00
Steven R. Loomis
2145eb11be ICU-6551 reduce use of common words in rename.
X-SVN-Rev: 24652
2008-09-25 20:24:14 +00:00
Steven R. Loomis
b4dda4cc2d ICU-6416 ICU4C version change to 4.1.2 and urename for 41
X-SVN-Rev: 24649
2008-09-25 19:41:32 +00:00
Michael Ow
22bd73be8d ICU-5944 Make internally used functions static to avoid renaming.
X-SVN-Rev: 24648
2008-09-25 19:04:27 +00:00
Peter Edberg
d08940016b ICU-5858 Add constructors for RuleBasedBreakIterator and RBBIDataWrapper
that take RBBIDataHeader* but do not adopt it.

X-SVN-Rev: 24641
2008-09-25 05:48:27 +00:00
Peter Edberg
5173db6231 ICU-6543 if U_DARWIN, initGlobalMutex shouldn't call pthread_mutex_init for gMutexes[i]
X-SVN-Rev: 24614
2008-09-19 22:09:49 +00:00
Michael Ow
08e67ed3a7 ICU-6412 Make certain variables and functions static to avoid it being exported.
X-SVN-Rev: 24608
2008-09-19 18:46:50 +00:00
Steven R. Loomis
da3b9a1d29 ICU-6515 fix genbrk memory overrun (contributed patch)
X-SVN-Rev: 24602
2008-09-18 23:17:37 +00:00
Steven R. Loomis
c1061097ec ICU-6528 allow U_HAVE_MMAP to be overridden going into platform.h (and some other #defines)
X-SVN-Rev: 24600
2008-09-18 23:05:30 +00:00
Michael Ow
eac717e1df ICU-6207 Disable getting windows timezone information from static tables. Use resource bundles and TimeZone and Calendar API to get needed timezone information. Create a new file in i18n to allow access to TimeZone and Calendar API. Update subsequent files to use new wintzimpl.h API.
X-SVN-Rev: 24594
2008-09-18 21:13:52 +00:00
Michael Ow
5097c3c3c1 ICU-5944 Only search through system timezone on certain platforms.
X-SVN-Rev: 24582
2008-09-16 16:49:33 +00:00
Michael Ow
8a988660e0 ICU-5944 Add check for dirent.h header in configure.
X-SVN-Rev: 24581
2008-09-16 15:49:08 +00:00
Steven R. Loomis
ae006657a6 ICU-6535 fix bugs in test code
X-SVN-Rev: 24571
2008-09-15 19:36:19 +00:00
Michael Ow
3f28436823 ICU-5944 Use the dirent api to search and compare the tz files on the system to find the correct timezone when the localtime is not a symlink.
X-SVN-Rev: 24544
2008-09-03 22:15:18 +00:00
Markus Scherer
8d40f30202 ICU-6521 add utrie_enum() test data, improve utrie_enum() performance for 16-bit tries
X-SVN-Rev: 24536
2008-09-01 11:45:56 +00:00
Michael Ow
16cea7af89 ICU-6363 Move remapping of CP949 to platform specific area.
X-SVN-Rev: 24529
2008-08-27 19:21:22 +00:00
Michael Ow
7fbc9e40fa ICU-6363 Remap CP949 to handle \5c round tripping.
X-SVN-Rev: 24524
2008-08-26 20:32:18 +00:00
Michael Ow
0895d6cef5 ICU-4543 Move the check for GCC to compile time and add the deprecated attribute to Visual Studio builds.
X-SVN-Rev: 24506
2008-08-15 21:53:53 +00:00
Michael Ow
8215ce1d1d ICU-4543 Fix some compilation error on various platforms due to adding of new GCC attribute.
X-SVN-Rev: 24501
2008-08-15 15:30:24 +00:00
Michael Ow
957ee4bc54 ICU-4543 Remove GCC attribute for now.
X-SVN-Rev: 24500
2008-08-14 22:43:51 +00:00
Michael Ow
8950721fa1 ICU-4543 Add gcc deprecated attribute to give a warning when using deprecated functions.
X-SVN-Rev: 24497
2008-08-14 19:51:09 +00:00
Michael Ow
1215abdc6d ICU-6307 Merge update of Visual Studio project and solution files with addition of x64 platform build option. Update readme.html for Windows build change.
X-SVN-Rev: 24487
2008-08-12 04:41:41 +00:00
Steven R. Loomis
97bb5f74b7 ICU-6416 move ICU version number for win32 libraries, to 41 from 40
X-SVN-Rev: 24458
2008-08-06 23:31:25 +00:00
David Bertoni
cba0fb208e ICU-6453 Updated Visual Studio project files. Fixed C++ comments in C source files. Fixed stack-overwrite bug.
X-SVN-Rev: 24455
2008-08-06 21:34:53 +00:00
Andy Heninger
a5abce6673 ICU-6477 C++ // comment in plain C file fixed
X-SVN-Rev: 24453
2008-08-06 21:07:00 +00:00
Steven R. Loomis
587e129139 ICU-6416 move version to 4.1.1
X-SVN-Rev: 24447
2008-08-06 00:51:42 +00:00
Michael Ow
3d1a4a3fce ICU-6307 Undo previous commit. Due to unexpected and unforeseen build failure.
X-SVN-Rev: 24444
2008-08-05 22:15:46 +00:00
Michael Ow
e20dbc5d8a ICU-6307 Add platform x64 to Visual Studio solution. Build directory will now reflect this change with x86 for 32 bit and x64 for 64 bit. lib64 and bin64 have also been added for x64 platform.
X-SVN-Rev: 24443
2008-08-05 21:08:59 +00:00
Andy Heninger
0c2a587a9c ICU-6480 clean up UMTX_CHECK usage in lazy init
X-SVN-Rev: 24439
2008-08-05 00:09:13 +00:00
Andy Heninger
ecdc0463b8 ICU-6453 Encoding Selection moved from development branch.
X-SVN-Rev: 24438
2008-08-04 21:56:02 +00:00
Matitiahu Allouche
4cad45383c ICU-6478 clarify use of embeddingLevels argument for ubidi_setPara()
X-SVN-Rev: 24437
2008-08-03 08:21:32 +00:00
Andy Heninger
22c5468db2 ICU-6477 Fix thread safety problem in converter initialization
X-SVN-Rev: 24436
2008-08-03 05:09:13 +00:00
Michael Ow
4b0d511fa3 ICU-6412 Remove unread local variables and explicitly cast UChar to uint8_t where needed.
X-SVN-Rev: 24435
2008-08-01 20:39:15 +00:00
Michael Ow
07d1ffaaee ICU-6457 Handle the erroneous situation of when uloc_getDisplayName/Language is called and a string of numbers is given. Add test to this fix.
X-SVN-Rev: 24428
2008-07-31 20:25:07 +00:00
Steven R. Loomis
fa50d4a3b2 ICU-6435 fix bad 4.0 tags. Re-do r23962 as stable 3.8 instead of stable 4.0.
X-SVN-Rev: 24395
2008-07-21 18:57:26 +00:00
Michael Ow
a684042a13 ICU-6412 Change temp type to uint32_t to resolve gcc warning.
X-SVN-Rev: 24378
2008-07-14 21:02:36 +00:00
Michael Ow
0909ccea4d ICU-6365 Only write the language code after a linefeed if there are more characters after the linefeed. Update data driven test to check for this.
X-SVN-Rev: 24344
2008-07-03 15:27:12 +00:00
Michael Ow
211918b3cf ICU-6259 Implement Unicode Technical Note 30 concerning proper Gurmukhi conversion for Bindi and Tippi, Consonant Clusters, and Gurmukhi Rra. The change has been implemented in both ICU4C and ICU4J and data driven test have been included. Changing other test data for iscii-gur was also done to comply with this technical note.
X-SVN-Rev: 24326
2008-07-01 17:52:51 +00:00
Steven R. Loomis
3bb050aba0 ICU-6404 last header changes
X-SVN-Rev: 24318
2008-06-28 07:08:51 +00:00
Steven R. Loomis
94def7a6a8 ICU-6098 udraft.h
X-SVN-Rev: 24275
2008-06-23 20:01:35 +00:00
Steven R. Loomis
a00a971eea ICU-6297 fixup doxygen tags
X-SVN-Rev: 24246
2008-06-20 00:42:38 +00:00
Michael Ow
9ef387262f ICU-6358 Convert ISO-2022-JP 2 byte code point to GR94DBCS when decoding if neccessary. Add data driven test this fix.
X-SVN-Rev: 24245
2008-06-19 22:13:34 +00:00
David Bertoni
17ad04d1f4 ICU-6342 Added new resource files, updated makefiles, updated code for new resources, and fixed tests to reflect new data.
X-SVN-Rev: 24225
2008-06-18 16:53:06 +00:00
Andy Heninger
e829b2f593 ICU-4790 retract uspoof.h, not ready in time for icu 4.0
X-SVN-Rev: 24220
2008-06-18 03:32:44 +00:00
Claire Ho
81ac0f67a6 ICU-6356 Fixed the coredump for c tests running without data files.
X-SVN-Rev: 24211
2008-06-17 22:27:18 +00:00
Xiaomei Ji
0ad3aff9b2 ICU-6157 update after 1st round code review
X-SVN-Rev: 24200
2008-06-16 22:32:36 +00:00
John Emmons
ddcb89888d ICU-5219 Dutch IJ Titlecasing
X-SVN-Rev: 24178
2008-06-13 21:07:07 +00:00
Michael Ow
ea01edb0ea ICU-6319 Correct handling of spaces for Thai line break iterator and add test.
X-SVN-Rev: 24173
2008-06-13 19:21:12 +00:00
Steven R. Loomis
d59b5c5e4c ICU-6344 uconfigtest / hdrtest fixes
X-SVN-Rev: 24157
2008-06-11 21:52:29 +00:00
Yoshito Umaoka
f8c67856cc ICU-6340 Updated Windows tzid/Olson mapping in wintz.c - equivalent to CLDR 1.6.
X-SVN-Rev: 24149
2008-06-11 06:03:21 +00:00
Steven R. Loomis
7216ba9dfa ICU-6098 update to versioning and urename
X-SVN-Rev: 24121
2008-06-06 21:45:33 +00:00
Steven R. Loomis
607c301b0d ICU-6124 make likely_subtags symbol private
X-SVN-Rev: 24118
2008-06-06 20:58:52 +00:00
Matitiahu Allouche
efb8490628 ICU-6156 performance improvement: when dynamic memory needs change, never reallocate to smaller area; reallocate only when needing larger area.
X-SVN-Rev: 24110
2008-06-05 15:51:18 +00:00
Steven R. Loomis
1da9d58910 ICU-6297 udeprctd.h and others
X-SVN-Rev: 24107
2008-06-04 23:41:30 +00:00
Michael Ow
e337ab8678 ICU-6300 Set the max bytes per char for UTF16 to 4 to make it consistent with the specs.
X-SVN-Rev: 24105
2008-06-04 17:49:37 +00:00
Steven R. Loomis
a5d6b9619c ICU-6297 fixup doxygen tags
X-SVN-Rev: 24046
2008-05-28 21:20:51 +00:00
Steven R. Loomis
ca28c6219a ICU-6157 fix for VC++
X-SVN-Rev: 24031
2008-05-28 16:58:33 +00:00
Xiaomei Ji
f9a0590098 ICU-6157 date interval format
X-SVN-Rev: 24005
2008-05-28 00:33:44 +00:00