Commit Graph

4771 Commits

Author SHA1 Message Date
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
Steven R. Loomis
32e0c8f432 ICU-6124 Don't use C++ comments in C code
X-SVN-Rev: 23970
2008-05-22 16:40:13 +00:00
David Bertoni
8fed204664 ICU-6293 Changed enum names to avoid conflicts with system macros.
X-SVN-Rev: 23968
2008-05-22 05:00:39 +00:00
Steven R. Loomis
c2ae3e30a4 ICU-6297 move @draft to @stable
X-SVN-Rev: 23962
2008-05-21 23:27:14 +00:00
Steven R. Loomis
4d7034cd24 ICU-6297 udeprctd.h and others
X-SVN-Rev: 23961
2008-05-21 23:20:54 +00:00
David Bertoni
5822580eca ICU-6124 Merged private branch into the trunk. Implementation complete, but waiting for new CLDR data.
X-SVN-Rev: 23960
2008-05-21 21:53:55 +00:00
Steven R. Loomis
8bfc121f97 ICU-6297 doxygen fixes (partial)
X-SVN-Rev: 23959
2008-05-21 21:34:54 +00:00
Andy Heninger
75c28aaf00 ICU-4790 move spoof detector API into trunk. Implementation is still in a branch.
X-SVN-Rev: 23951
2008-05-21 17:40:55 +00:00
Steven R. Loomis
297a478ee0 ICU-6098 update to versioning and urename
X-SVN-Rev: 23948
2008-05-20 22:59:55 +00:00
Steven R. Loomis
0a711393b1 ICU-6098 update version in project files
X-SVN-Rev: 23944
2008-05-20 18:51:08 +00:00
Steven R. Loomis
90c5643557 ICU-6098 update version to 4.0, bump a timebombed test
X-SVN-Rev: 23934
2008-05-19 17:28:22 +00:00
Matitiahu Allouche
c006a0e6e0 ICU-3916 fix the bug (doc change only) for ICU4C.
X-SVN-Rev: 23924
2008-05-18 12:18:57 +00:00
David Bertoni
1734f6e867 ICU-6228 C++ implementation complete.
X-SVN-Rev: 23896
2008-05-14 20:00:23 +00:00
David Bertoni
b67c77c3c1 ICU-6228 C++ implementation complete.
X-SVN-Rev: 23893
2008-05-14 17:38:03 +00:00
Michael Ow
b75669b15b ICU-5504 Set the start position to -1 when iterating over hashtable elements. Correct the test number label in icusvtst.cpp.
X-SVN-Rev: 23847
2008-04-28 17:58:21 +00:00
Peter Edberg
dc0ee6361a ICU-6245 Fix build with UCONFIG_NO_SERVICE 1 (e.g. for Cygwin/MSVC) by adding dummy invocation of Mutex for that case
X-SVN-Rev: 23825
2008-04-24 00:30:41 +00:00
Kedar Rajwade
cbd785db50 ICU-5966 Fixed some compiler warnings
X-SVN-Rev: 23806
2008-04-17 20:52:04 +00:00
Michael Ow
4e49d2ab92 ICU-5948 Set default codepage to ISO-8859-1 for Solaris when 646 is given by the OS.
X-SVN-Rev: 23794
2008-04-15 22:32:28 +00:00
Steven R. Loomis
10b591004d ICU-6098 ICU4C version to 3.9.3
X-SVN-Rev: 23778
2008-04-09 21:13:18 +00:00
Andy Heninger
b3afa725d0 ICU-5936 improve docs for uset_open()
X-SVN-Rev: 23770
2008-04-07 21:57:01 +00:00
Andy Heninger
71bf003171 ICU-5696 Unicode 5.1 Update
X-SVN-Rev: 23761
2008-04-04 22:47:43 +00:00
Andy Heninger
791a437558 ICU-6234 Compiler Compatibility Problems
X-SVN-Rev: 23760
2008-04-04 21:51:35 +00:00
Kedar Rajwade
f69d550e36 ICU-6143 added check for TELUGU character in getUnicodeSet
X-SVN-Rev: 23695
2008-03-27 19:31:25 +00:00
Michael Ow
308a2aa0b5 ICU-4486 Update ISCII converter to treat Letter RRA as specified by ISCII.
X-SVN-Rev: 23660
2008-03-24 17:11:10 +00:00
Steven R. Loomis
85e9292e1a ICU-6098 Update ICU4C to 3.9.2 and move translit timebombs
X-SVN-Rev: 23608
2008-03-17 21:58:50 +00:00
George Rhoten
99861832ec ICU-6125 Reduce read-only memory
X-SVN-Rev: 23591
2008-03-14 06:41:45 +00:00
Peter Edberg
867af878ad ICU-6175 Invoke toUnicode error handler for empty segments in ISO-2022-x & HZ with new UConverter.toUCallbackReason=UCNV_IRREGULAR
X-SVN-Rev: 23571
2008-03-12 23:20:11 +00:00
Steven R. Loomis
ccd1b36465 ICU-6209 build macosx wit --enable-strict
X-SVN-Rev: 23570
2008-03-12 21:48:14 +00:00
George Rhoten
de6512a9c1 ICU-6132 Undo some unneccessary changes. Remove some tabs. Make sure that the UErrorCode is propagated when possible. When a UErrorCode is available, don't check for a NULL return value.
X-SVN-Rev: 23479
2008-02-23 19:15:18 +00:00
Andy Heninger
5e550c04ac ICU-6149 Merge regexp resource limit functions into the trunk
X-SVN-Rev: 23467
2008-02-20 03:08:44 +00:00
George Rhoten
6520f1df57 ICU-6186 Reduce UResourceBundle struct padding
X-SVN-Rev: 23462
2008-02-19 17:27:59 +00:00
George Rhoten
24e86c8cab ICU-6076 Make it easier to test small allocation failures.
X-SVN-Rev: 23459
2008-02-19 07:09:38 +00:00
George Rhoten
a938a88c39 ICU-6076 Fix initialization problems with resource bundles.
X-SVN-Rev: 23458
2008-02-19 05:59:10 +00:00
George Rhoten
8244ab6864 ICU-6098 Update urename.h based on API changes.
X-SVN-Rev: 23456
2008-02-18 23:31:45 +00:00
George Rhoten
1da25d4d3b ICU-6076 Don't crash when initialization fails.
X-SVN-Rev: 23451
2008-02-17 19:13:10 +00:00
George Rhoten
9026aecf79 ICU-6076 Test string addition failures.
X-SVN-Rev: 23449
2008-02-17 09:16:12 +00:00
George Rhoten
df20c5147e ICU-6076 Fix some problems while testing ICU error recovery from out of memory conditions, like proper error reporting, not crashing, not leaking memory from when an allocation failure happens.
X-SVN-Rev: 23446
2008-02-16 22:58:32 +00:00
George Rhoten
8c56e56382 ICU-6076 Make it a little easier to detect initialization problems, and
improve initialization time.

X-SVN-Rev: 23442
2008-02-16 11:26:53 +00:00
George Rhoten
a137ec8cce ICU-6132 Fix compiler warnings from last check-in.
X-SVN-Rev: 23438
2008-02-15 23:56:06 +00:00
George Rhoten
a1e9519c40 ICU-6176 Fix some Coverity warnings
X-SVN-Rev: 23416
2008-02-13 10:05:32 +00:00
George Rhoten
928d6152bc ICU-6176 Fix some Coverity warnings
X-SVN-Rev: 23414
2008-02-13 09:35:50 +00:00
George Rhoten
fb5e448868 ICU-6132 Fix previous change.
X-SVN-Rev: 23408
2008-02-10 17:52:27 +00:00
George Rhoten
b62b973812 ICU-6132 Fix a bug found while flushing a cache.
X-SVN-Rev: 23407
2008-02-09 20:48:31 +00:00
George Rhoten
0885eb2149 ICU-6132 Reduce large allocations
X-SVN-Rev: 23406
2008-02-09 00:50:08 +00:00
George Rhoten
6fd29e25c7 ICU-6132 Recover from allocation errors more gracefully.
X-SVN-Rev: 23399
2008-02-08 09:10:22 +00:00
George Rhoten
3daa4c96d4 ICU-6132 Recover from allocation errors more gracefully.
X-SVN-Rev: 23398
2008-02-08 08:21:32 +00:00
George Rhoten
d097ddcfd4 ICU-6132 Recover from memory failures.
X-SVN-Rev: 23396
2008-02-08 07:04:16 +00:00
George Rhoten
c5e89166c8 ICU-6132 Recover from allocation errors.
X-SVN-Rev: 23395
2008-02-08 06:19:48 +00:00
George Rhoten
ffcb7ce01a ICU-6132 Recover from various hash table allocation errors.
X-SVN-Rev: 23394
2008-02-08 03:42:40 +00:00
George Rhoten
9ad6ca1462 ICU-6132 Verify UnicodeSet bogus state is handled without crashing
X-SVN-Rev: 23393
2008-02-08 03:39:40 +00:00
George Rhoten
4ab435ccc8 ICU-5965 Comment out unused special purpose code due to previous changes under this ticket.
X-SVN-Rev: 23372
2008-02-07 22:24:27 +00:00
George Rhoten
4be82b37e9 ICU-5966 Fix some Intel compiler warnings
X-SVN-Rev: 23364
2008-02-07 17:32:07 +00:00
George Rhoten
0b7ae18ded ICU-5966 Fix some Visual C++ 2003 compiler warnings
X-SVN-Rev: 23363
2008-02-07 17:19:23 +00:00
George Rhoten
4149802897 ICU-6125 Turn multiple consts into one enum.
X-SVN-Rev: 23360
2008-02-07 09:26:30 +00:00
George Rhoten
80a0a83781 ICU-5966 Fix a Visual C++ 2008 compiler warning in debug mode
X-SVN-Rev: 23359
2008-02-07 09:21:17 +00:00
George Rhoten
1924e04190 ICU-5999 Remove gsm-03.38 because the tests already pass without it. See ticket for details.
X-SVN-Rev: 23348
2008-02-04 17:28:42 +00:00
George Rhoten
8ff289e527 ICU-5966 Fix some HP compiler warnings.
X-SVN-Rev: 23291
2008-01-22 21:15:14 +00:00
George Rhoten
71acb27670 ICU-5794 The mutex pool was exhausted due to recent changes. Work around
this problem by increasing the pool of mutexes to 40. See Ticket #4016 for
the real solution.

X-SVN-Rev: 23288
2008-01-22 18:56:45 +00:00
Michael Ow
2ed2733b76 ICU-6132 Add bogus state to UnicodeSet to indicate such errors as memory allocation error.
X-SVN-Rev: 23287
2008-01-22 17:46:22 +00:00
George Rhoten
4999616984 ICU-6090 Remove broken compiler warnings.
X-SVN-Rev: 23275
2008-01-20 19:11:49 +00:00
Michael Ow
02df5f103d ICU-6132 Add null pointer check and memory leak avoidance measures to rbbinode.cpp and rbbirb.cpp.
X-SVN-Rev: 23270
2008-01-19 00:09:54 +00:00
Michael Ow
15b23ccd3f ICU-6132 Check for memory allocation error in setText(UText).
X-SVN-Rev: 23260
2008-01-17 18:49:28 +00:00
Michael Ow
6c61aa48a8 ICU-6132 Move declaration of tempstr to beginning of function.
X-SVN-Rev: 23259
2008-01-17 18:07:16 +00:00
Michael Ow
752767bf9d ICU-6132 Add return NULL for memory allocation error in ures_getVersionNumber.
X-SVN-Rev: 23258
2008-01-17 17:58:02 +00:00
Michael Ow
fc445e22ef ICU-6132 Add check after new for memory allocation failure in util.cpp.
X-SVN-Rev: 23255
2008-01-16 23:19:25 +00:00
Michael Ow
a209799b48 ICU-6132 Add various memory allocation error checks to uprntf_p.c, uresbund.c, ustdio.c, and usearch.cpp.
X-SVN-Rev: 23254
2008-01-16 23:16:41 +00:00
Michael Ow
4667cbc378 ICU-6132 Check null pointer before dereferencing in unesctrn, unistr, and unum.
X-SVN-Rev: 23253
2008-01-16 22:58:59 +00:00
Michael Ow
5e72fa288d ICU-6132 Add code to check for memory allocation error and memory leaks in udata.c, uloc.c, and ufile.c.
X-SVN-Rev: 23252
2008-01-16 22:24:05 +00:00
Michael Ow
d717772bbd ICU-6132 If locale could not be created, return default one.
X-SVN-Rev: 23236
2008-01-14 23:30:51 +00:00
Michael Ow
46eb0f1212 ICU-6132 Add memory allocation check to rbbiset.cpp.
X-SVN-Rev: 23227
2008-01-14 20:10:23 +00:00
Michael Ow
80d1db6517 ICU-6132 Check for null pointer and add goto label at the end to remove all allocated memory in the event of an error.
X-SVN-Rev: 23226
2008-01-14 20:04:33 +00:00
Michael Ow
d6daed3088 ICU-6132 Check memory leak and null pointers rbbiscan.cpp.
X-SVN-Rev: 23225
2008-01-14 19:26:43 +00:00
Michael Ow
1aef673644 ICU-6132 Ensure that factories and fLanguageBreakEngines are created before dereferencing.
X-SVN-Rev: 23224
2008-01-14 18:52:26 +00:00
Michael Ow
7bdbf4cd39 ICU-6132 Check for malloc failure before strcpy in u_setDataDirectory and *getDefaultLocaleID.
X-SVN-Rev: 23222
2008-01-14 18:27:21 +00:00
Michael Ow
3edc99506c ICU-6132 Check for memory allocation failures.
X-SVN-Rev: 23209
2008-01-11 20:56:55 +00:00
Michael Ow
0b6146f394 ICU-6132 Change status error code.
X-SVN-Rev: 23199
2008-01-09 23:18:58 +00:00
Michael Ow
08c3d75a2c ICU-6132 Check for ICULocaleService null pointer after getService call.
X-SVN-Rev: 23189
2008-01-09 05:42:43 +00:00
George Rhoten
9b82688642 ICU-6125 Eliminate a few kilobytes of unused bits in constant data structures.
X-SVN-Rev: 23182
2008-01-08 09:45:15 +00:00
George Rhoten
1d64a7d5b4 ICU-6125 Mark more data constant.
X-SVN-Rev: 23181
2008-01-08 03:46:30 +00:00
George Rhoten
31500a228b ICU-6126 Handle STROKE and PINYIN variants more consistently.
X-SVN-Rev: 23179
2008-01-07 20:07:39 +00:00
George Rhoten
627e666a35 ICU-6125 Reduce writable memory so that more of the data can be shared between processes.
X-SVN-Rev: 23178
2008-01-06 07:46:45 +00:00
George Rhoten
2318f11693 ICU-6123 On HP-UX, zh_HK.big5 uses a different charmap from zh_TW.big5
X-SVN-Rev: 23174
2008-01-04 17:34:02 +00:00
George Rhoten
c05bd41d42 ICU-6118 Export less internal API.
X-SVN-Rev: 23173
2008-01-04 08:45:10 +00:00
Steven R. Loomis
f5997fb476 ICU-6122 Fake Time support
X-SVN-Rev: 23165
2008-01-04 01:05:15 +00:00
George Rhoten
977716d034 ICU-5955 Move variable to bss section by initializing it to 0
X-SVN-Rev: 23160
2008-01-03 10:10:15 +00:00
George Rhoten
dd845e9520 ICU-5955 Mark data const
X-SVN-Rev: 23158
2008-01-03 10:07:47 +00:00
George Rhoten
13c6adb8cb ICU-6112 Eliminate the __common section in the __DATA segment on Mac OS X
X-SVN-Rev: 23157
2008-01-03 08:33:25 +00:00
George Rhoten
85832f0f2d ICU-6112 Don't export private symbols, and bind the symbols locally on
Solaris.

X-SVN-Rev: 23142
2007-12-30 00:26:21 +00:00
George Rhoten
da6bcd2c16 ICU-6112 Reset a converter about 20% faster. This is helpful when converting many small strings. In the overall scheme of things, it's not that significant since a reset is generally quick.
X-SVN-Rev: 23137
2007-12-28 19:59:17 +00:00
George Rhoten
5bb343c749 ICU-5955 Better bit packing of the hash table as reported by Purify.
X-SVN-Rev: 23102
2007-12-17 22:12:44 +00:00
Claire Ho
c11cd154da ICU-5794 merge from feature branch.
X-SVN-Rev: 23095
2007-12-17 01:39:55 +00:00
George Rhoten
1725c5899a ICU-6076 Fix some allocation issues.
X-SVN-Rev: 23087
2007-12-14 10:17:12 +00:00
George Rhoten
6112b5685d ICU-6076 Fix some realloc issues.
X-SVN-Rev: 23086
2007-12-14 09:23:07 +00:00
George Rhoten
9e018fe33b ICU-6098 Update to ICU 3.9.1
X-SVN-Rev: 23083
2007-12-14 02:13:33 +00:00
George Rhoten
09759f76f5 ICU-6098 Update to ICU 3.9.1
X-SVN-Rev: 23078
2007-12-13 21:37:23 +00:00
Andy Heninger
67e296e813 ICU-5386 Regular Expressions update, improved Java 1.5 compatibility. svn merge -r 22747:23061 from branches/andy/regex
X-SVN-Rev: 23063
2007-12-11 21:30:10 +00:00
Markus Scherer
2c15ef3b5c ICU-6071 test and fix BMP-SBCS 1:2 and 2:1 conversions
X-SVN-Rev: 23041
2007-12-07 05:34:26 +00:00
George Rhoten
42b8c8fe7d ICU-6054 Add comments on when remapPlatformDependentCodepage should be modified.
X-SVN-Rev: 23007
2007-12-04 16:44:36 +00:00
George Rhoten
1d1a2181e5 ICU-6054 Remap ambiguous EUC alias, and add sun_eu_greek alias.
X-SVN-Rev: 23006
2007-12-04 16:36:03 +00:00
Yoshito Umaoka
7e51ed7330 ICU-5990 Merging time zone formatting/parsing changes from yoshito's working branch to the trunk.
X-SVN-Rev: 22978
2007-11-28 20:49:58 +00:00
Matitiahu Allouche
bd833a37f2 ICU-6032 fix the bug for ICU4C.
X-SVN-Rev: 22957
2007-11-22 15:52:32 +00:00