Commit Graph

5132 Commits

Author SHA1 Message Date
Markus Scherer
4e30dc4c14 ICU-8571 remove udraft.h etc. & genheaders.pl, use #ifndef U_HIDE_DRAFT_API etc. instead
X-SVN-Rev: 30447
2011-08-01 02:20:46 +00:00
Markus Scherer
ef45a40133 ICU-8529 include stddef.h instead of sys/types.h (we do not seem to need any of its additional definitions)
X-SVN-Rev: 30446
2011-07-31 22:19:54 +00:00
Michael Ow
a30cfbe075 ICU-8452 Remove extra header directory
X-SVN-Rev: 30442
2011-07-28 19:07:44 +00:00
Markus Scherer
c3d191321b ICU-8575 move U_SENTINEL from utf.h to umachine.h (next to UChar32) so that just using U_SENTINEL does not require including utf.h
X-SVN-Rev: 30441
2011-07-28 18:48:08 +00:00
Markus Scherer
a84cf4df0f ICU-8452 do not use ptrdiff_t (signed) as a fallback for uintptr_t (unsigned)
X-SVN-Rev: 30438
2011-07-27 23:37:05 +00:00
Markus Scherer
29f8701a59 ICU-8452 MinGW does not have _stricmp()
X-SVN-Rev: 30437
2011-07-27 23:24:54 +00:00
Markus Scherer
1f2a684eab ICU-8452 define uintptr_t where missing
X-SVN-Rev: 30436
2011-07-27 23:15:57 +00:00
Markus Scherer
07035f8756 ICU-8731 move some @internal definitions to putilimp.h
X-SVN-Rev: 30433
2011-07-27 21:26:00 +00:00
Markus Scherer
ca12d6d5bd ICU-8730 move some @internal, rarely-used platform macros to putilimp.h
X-SVN-Rev: 30432
2011-07-27 20:55:09 +00:00
Markus Scherer
9dfc6c4518 ICU-8728 remove redundant U_RELEASE, use U_DEBUG instead
X-SVN-Rev: 30431
2011-07-27 20:16:07 +00:00
Markus Scherer
e31ce99b84 ICU-8575 option for not including utf headers by default; replace uses of deprecated utf_old.h macros
X-SVN-Rev: 30430
2011-07-27 05:53:56 +00:00
Michael Ow
df14bcec37 ICU-7715 Use the StandardName timezone id when available on Windows
X-SVN-Rev: 30427
2011-07-26 20:55:36 +00:00
Markus Scherer
2862296471 ICU-8454 virtual destructors should be explicit, and defined in a .cpp file, so that they can serve as key functions
X-SVN-Rev: 30423
2011-07-26 05:32:25 +00:00
Markus Scherer
3bf88cd711 ICU-8452 consolidate definition of _XOPEN_SOURCE for access to POSIX functions; do not use __STDC_VERSION__ in C++ code where it is not defined
X-SVN-Rev: 30418
2011-07-25 21:02:32 +00:00
Markus Scherer
bb8a3bb609 ICU-8452 remove the non-working conditional z/OS int8_t typedef
X-SVN-Rev: 30417
2011-07-25 18:56:25 +00:00
Markus Scherer
dc55bc7c66 ICU-8452 fix a couple of Darwin/iPhone platform tests
X-SVN-Rev: 30416
2011-07-25 18:42:17 +00:00
Markus Scherer
9bcc40cf9e ICU-8452 un-autoconf platform.h, move user-configurable settings to uconfig.h, and other changes; from svn merge --reintegrate branches/markus/platformh at r30411
X-SVN-Rev: 30412
2011-07-23 00:10:30 +00:00
Michael Ow
1836eb2957 ICU-8682 Use ReadWriteBarrier only on MSVC 9 and higher.
X-SVN-Rev: 30408
2011-07-22 20:29:09 +00:00
Steven R. Loomis
ff960d1f97 ICU-8714 - reimplement r30379 - now passes tests
X-SVN-Rev: 30383
2011-07-18 21:54:42 +00:00
Steven R. Loomis
fd3246217f ICU-8714 backing out r30379 - broke the build
X-SVN-Rev: 30380
2011-07-18 19:51:16 +00:00
Steven R. Loomis
ba3834755c ICU-8714 patches from George
X-SVN-Rev: 30379
2011-07-18 19:13:31 +00:00
Peter Edberg
2ed9168bf9 ICU-8265 Fix race (=> U_FILE_ACCESS_ERROR) when loading full set of ICU data
X-SVN-Rev: 30326
2011-07-13 04:49:45 +00:00
Andy Heninger
b7608372a5 ICU-8595 Warning cleanup, UResType vs. int32_t
X-SVN-Rev: 30310
2011-07-10 23:22:00 +00:00
Markus Scherer
6e70106104 ICU-7877 more documentation for explicit UnicodeString constructors
X-SVN-Rev: 30300
2011-07-08 22:09:28 +00:00
Michael Ow
974b996cb3 ICU-8660 Skip the current source char when searching for the next escape character
X-SVN-Rev: 30296
2011-07-08 17:21:13 +00:00
Andy Heninger
3cf524ee6a ICU-8595 Compiler warning fixes for UResType
X-SVN-Rev: 30295
2011-07-08 01:14:44 +00:00
Markus Scherer
2201fb816c ICU-7877 optionally explicit UnicodeString constructors, and make them explicit inside ICU
X-SVN-Rev: 30293
2011-07-07 18:46:19 +00:00
Markus Scherer
f0f91649ce ICU-8691 fix UnicodeString::startsWith(const UChar *, -1 for NUL-terminated)
X-SVN-Rev: 30292
2011-07-07 18:21:28 +00:00
Steven R. Loomis
b209c07620 ICU-8687 warnings fix (clang)
X-SVN-Rev: 30285
2011-07-06 20:05:38 +00:00
Markus Scherer
1beb0f1e4f ICU-8680 require C++ namespace, replace most U_NAMESPACE_QUALIFIER with icu::, remove still-draft U_STD_NS, U_STD_NSQ, and U_STD_NS_USE
X-SVN-Rev: 30281
2011-07-06 04:03:35 +00:00
Markus Scherer
fc8eeb8f66 ICU-8601 remove platform.h.in definition of U_INLINE to match pwin32.h, ppalmos.h & umachine.h changes in r30148
X-SVN-Rev: 30279
2011-07-05 23:56:41 +00:00
Markus Scherer
493668a25f ICU-8573 remove support for U_IOSTREAM_SOURCE=198506
X-SVN-Rev: 30278
2011-07-05 23:42:32 +00:00
Markus Scherer
34e7dd7870 ICU-8617 enclose UElement typedefs in U_CDECL_BEGIN..END
X-SVN-Rev: 30273
2011-07-05 01:02:42 +00:00
Markus Scherer
744d1f3a19 ICU-8617 move UHashTok into lower-level uelement.h (new) and rename to UElement to share with UVector
X-SVN-Rev: 30272
2011-07-04 23:51:56 +00:00
Markus Scherer
a74d503edb ICU-8619 move some collation file data structure definitions from i18n/ucol_imp.h to common/ucol_data.h (new file)
X-SVN-Rev: 30271
2011-07-03 04:07:02 +00:00
Markus Scherer
b6036a94f9 ICU-8615 implement optional IDNA2008 CONTEXTO check in UTS46
X-SVN-Rev: 30268
2011-07-01 22:19:14 +00:00
Markus Scherer
4abbf7161a ICU-8606 add Normalizer2.getCombiningClass(c)
X-SVN-Rev: 30263
2011-06-30 23:22:17 +00:00
Andy Heninger
13af35adac ICU-8673 Get rid of memcpy() of an object in RuleBasedBreakIterator::createBufferClone()
X-SVN-Rev: 30255
2011-06-29 23:41:05 +00:00
Michael Ow
5a0a5a7d87 ICU-8535 Use U_MINGW instead of U_CYGWIN where appropriate when building on MinGW
X-SVN-Rev: 30252
2011-06-29 19:49:05 +00:00
Michael Ow
737a9556de ICU-8535 Fix comments and preproccessor check for tzset
X-SVN-Rev: 30250
2011-06-28 23:36:17 +00:00
Michael Ow
12b3b0bfa8 ICU-8535 Fix tzset error in MinGW build
X-SVN-Rev: 30249
2011-06-28 23:34:49 +00:00
Michael Ow
c1f1d09b70 ICU-8535 Merge changes for MINGW build fix in branch to trunk and fix some other errors when building with MINGW.
X-SVN-Rev: 30247
2011-06-28 21:07:36 +00:00
Steven R. Loomis
1d7327df07 ICU-8665 typo fix
X-SVN-Rev: 30233
2011-06-25 00:16:27 +00:00
Michael Ow
65629eb419 ICU-8635 Update ICU4C version to 49.0.1 (49M1)
X-SVN-Rev: 30216
2011-06-14 00:00:57 +00:00
Michael Ow
310c23c24e ICU-8578 Apply patch to fix some compiler warnings and related issues
X-SVN-Rev: 30205
2011-06-10 18:56:08 +00:00
Andy Heninger
b8d330e9a7 ICU-8490 Add BreakIterator::refresInputText()
X-SVN-Rev: 30203
2011-06-09 22:49:40 +00:00
Andy Heninger
b90dc9ad48 ICU-8578 work around compiler warning in uprv_dlsym_func()
X-SVN-Rev: 30202
2011-06-09 22:28:40 +00:00
Michael Ow
8d587bf3bb ICU-8554 Don't use visibility attribute on Cygwin GCC and fix Cygwin tzset error.
X-SVN-Rev: 30200
2011-06-09 21:32:19 +00:00
Markus Scherer
9f7d74001c ICU-8605 document & test ICU4C dependencies, remove cycles, reduce some deps; merged from branches/markus/depstest -r 30155:30193
X-SVN-Rev: 30194
2011-06-03 05:23:57 +00:00
Michael Ow
96a2328093 ICU-8569 Terminate the UTF-7 byte buffer with MINUS when flushing
X-SVN-Rev: 30175
2011-06-01 16:25:22 +00:00
Markus Scherer
6a8a76e7c7 ICU-8601 second try to fix build on platforms where UChar != uint16_t
X-SVN-Rev: 30154
2011-05-27 17:54:37 +00:00
Markus Scherer
d963e3242f ICU-8601 try to fix build on platforms where UChar != uint16_t
X-SVN-Rev: 30151
2011-05-26 21:42:55 +00:00
Markus Scherer
41c8654d92 ICU-8601 replace C U_INLINE hack with C++ inline, and also rename a few other .c files to .cpp for future UMTX_CHECK replacement
X-SVN-Rev: 30148
2011-05-26 20:05:39 +00:00
Markus Scherer
0b7280f70b ICU-8313 update ICU4C API ref homepage
X-SVN-Rev: 30133
2011-05-19 22:44:40 +00:00
Markus Scherer
02836844e6 ICU-8428 remove @draft etc. API tags from non-API headers (impl, tests, samples)
X-SVN-Rev: 30117
2011-05-16 20:46:27 +00:00
Markus Scherer
50bd1345ef ICU-8428 do not use @deprecated in internal headers
X-SVN-Rev: 30114
2011-05-14 00:06:45 +00:00
Markus Scherer
72b31f0cd3 ICU-8428 API tag for UErrorCode::U_FORMAT_INEXACT_ERROR
X-SVN-Rev: 30113
2011-05-13 21:21:35 +00:00
Markus Scherer
2f67c788ad ICU-8428 API tags for UConverterType values
X-SVN-Rev: 30111
2011-05-13 20:51:26 +00:00
Markus Scherer
1f6523a058 ICU-8555 add nine new ISO 15924 script codes from 2010-12-21
X-SVN-Rev: 30085
2011-05-10 20:56:53 +00:00
Steven R. Loomis
625b955e7d ICU-8428 update windows version#
X-SVN-Rev: 30079
2011-05-10 17:17:39 +00:00
Steven R. Loomis
a9767e483a ICU-8547 update udraft.h etc
X-SVN-Rev: 30078
2011-05-10 02:39:00 +00:00
Steven R. Loomis
f7ff9a609a ICU-8545 urename for milestone:4.8 - fix tool issues, also add svn:ignore to dicttrieperf/Makefile
X-SVN-Rev: 30072
2011-05-09 23:31:44 +00:00
Andy Heninger
6396036807 ICU-7083 incorporate review comments.
X-SVN-Rev: 30060
2011-05-09 02:56:05 +00:00
Markus Scherer
e579b92e84 ICU-8006 minor doc clarification
X-SVN-Rev: 30057
2011-05-07 01:09:01 +00:00
Michael Ow
64e979bdfe ICU-8537 Fix include platform.h statement for Windows
X-SVN-Rev: 30056
2011-05-06 23:02:23 +00:00
Michael Ow
5463d370b8 ICU-8537 Only include pwin32.h when using MinGW
X-SVN-Rev: 30054
2011-05-06 21:50:33 +00:00
Michael Ow
2a6abd14cf ICU-8006 Update isFixedWidth implementation in ICU4C
X-SVN-Rev: 30052
2011-05-06 21:28:05 +00:00
Yoshito Umaoka
62201ee859 ICU-8428 ICU4C and data version to 4.8. Also moved time bombs.
X-SVN-Rev: 30049
2011-05-06 20:45:10 +00:00
Markus Scherer
3ed970f1a7 ICU-8262 remove uloc_getDisplayNameOld() which is unused and had /* TODO:dougfelt remove */
X-SVN-Rev: 30048
2011-05-06 19:59:10 +00:00
John Emmons
2d4a2ae78f ICU-8489 Merge CLDR release-2-0-d01 into ICU
X-SVN-Rev: 30037
2011-05-05 18:12:27 +00:00
Michael Ow
47c419c905 ICU-8519 Dynamically allocate kwdBuf.
X-SVN-Rev: 30034
2011-05-05 03:33:24 +00:00
Michael Ow
eb51926653 ICU-8519 Change the keyword buffer size to the capacity.
X-SVN-Rev: 30033
2011-05-05 03:08:32 +00:00
Steven R. Loomis
5bd2362788 ICU-8525 doxygen warnings and API change report checkin
X-SVN-Rev: 30030
2011-05-05 02:14:32 +00:00
Steven R. Loomis
63dd5be23d ICU-8525 doxygen warnings
X-SVN-Rev: 30029
2011-05-05 01:35:22 +00:00
Markus Scherer
7a70bd8645 ICU-8197 undo bad fix from ticket #7039 because extract(..., uint32_t dstSize, ...) uses U_MAX_PTR(target) which is hopefully fixed for all platforms now (see ticket #8096)
X-SVN-Rev: 30022
2011-05-04 15:56:03 +00:00
Markus Scherer
9d4af09bea ICU-8096 make U_MAX_PTR(base) conform to C++ standard where possible
X-SVN-Rev: 30021
2011-05-04 15:33:44 +00:00
Markus Scherer
af43054b4e ICU-7848 normalize-append will never modify first-suffix if second begins with a has-boundary-before character; leave safeMiddle empty in that case
X-SVN-Rev: 30020
2011-05-04 13:44:04 +00:00
Peter Edberg
7aaca9b950 ICU-8329 Roll in Khmer dictionary word break code from George, data from Nathan/sbbic.org
X-SVN-Rev: 30019
2011-05-04 13:25:37 +00:00
Markus Scherer
56b28bd292 ICU-7848 make normalize-append restore the middle string section (the relevant suffix of the first string) when something goes wrong (especially C buffer overflow)
X-SVN-Rev: 30014
2011-05-04 05:50:20 +00:00
Steven R. Loomis
3d44c5dc4b ICU-8171 fix warnings, or at least move them into POSIX portions of code
X-SVN-Rev: 30012
2011-05-04 04:07:45 +00:00
Markus Scherer
781391999e ICU-8173 fix the Normalizer2::getDecomposition(c) docs
X-SVN-Rev: 30003
2011-05-03 23:59:31 +00:00
Markus Scherer
b20de12a95 ICU-8124 fix USCRIPT_ API constant tags
X-SVN-Rev: 29997
2011-05-03 22:15:31 +00:00
Steven R. Loomis
b88cd9bca9 ICU-8350 zOS fixes round one
X-SVN-Rev: 29973
2011-05-03 03:40:34 +00:00
Andy Heninger
0852cc4e73 ICU-7572 Decimal Format UNUM_ROUND_UNNECESSARY implmenentation.
X-SVN-Rev: 29959
2011-05-02 19:15:03 +00:00
Markus Scherer
8322425f05 ICU-8051 remove comments about start parameter from +=(srcText) and append(srcText) docs
X-SVN-Rev: 29930
2011-04-29 18:54:10 +00:00
Andy Heninger
be5efb8d44 ICU-7083 Make RBBI create from compiled rules public.
X-SVN-Rev: 29926
2011-04-29 17:49:01 +00:00
Steven R. Loomis
8a69ab8bba ICU-8154 update defines and add regression test
X-SVN-Rev: 29925
2011-04-29 17:39:36 +00:00
Markus Scherer
70ad6b4a74 ICU-7386 merge NumberFormat::EStyles into UNumberFormatStyles & improve NumberFormat::makeInstance() memory management
X-SVN-Rev: 29920
2011-04-29 00:00:47 +00:00
Michael Ow
79a56cbc69 ICU-8461 Remove old comments regarding missing subtag in ISO-639-2
X-SVN-Rev: 29906
2011-04-26 22:23:29 +00:00
Michael Ow
eb6c36ce48 ICU-8461 Fix mapping for gd_GB
X-SVN-Rev: 29905
2011-04-26 22:21:34 +00:00
Michael Ow
47def3c1d9 ICU-8461 Remove unneeded comments in the table.
X-SVN-Rev: 29904
2011-04-26 21:20:17 +00:00
Markus Scherer
9774441e40 ICU-8491 remove uprv_isRuleWhiteSpace(c)
X-SVN-Rev: 29900
2011-04-26 06:39:29 +00:00
Markus Scherer
d743bb693e ICU-8319 merge MessageFormat 2011q1 work into trunk, from icu/branches/markus/msg48 -r 29400:29882
X-SVN-Rev: 29886
2011-04-25 20:47:32 +00:00
Michael Ow
6206b7369d ICU-8427 Update gb18030 range in ucnvmbcs.c
X-SVN-Rev: 29858
2011-04-22 23:06:09 +00:00
Andy Heninger
118efa19c6 ICU-8486 UText not checking for Bogus UnicodeStrings, causing crash in regular expressions.
X-SVN-Rev: 29840
2011-04-21 00:07:50 +00:00
Michael Ow
2adda1f394 ICU-8461 Update Windows LCID to locale ID mapping table
X-SVN-Rev: 29831
2011-04-19 17:57:54 +00:00
Michael Ow
07e984a6ad ICU-8273 Resize if needed buffer before copy
X-SVN-Rev: 29819
2011-04-18 17:15:14 +00:00
Michael Ow
b33c3a62d0 ICU-7945 Merge BCP47 update in branch into trunk
X-SVN-Rev: 29813
2011-04-17 22:41:14 +00:00
Fredrik Roubert
380074d3e4 ICU-8192 GCC -Wshadow warning in stringpiece.h
X-SVN-Rev: 29778
2011-04-12 15:18:34 +00:00
Fredrik Roubert
6440a3a207 ICU-6743 UnicodeString::setTo(const UnicodeString& srcText) should work exactly like the assignment operator
X-SVN-Rev: 29777
2011-04-12 15:10:45 +00:00
Fredrik Roubert
c002104f3c ICU-7408 Normalizer::concatenate should take *const* left and right strings
X-SVN-Rev: 29776
2011-04-12 14:34:18 +00:00
Doug Felt
45f8abf19f ICU-8262 reorg code for uloc_getDisplayName, add regression test
X-SVN-Rev: 29760
2011-04-08 20:06:36 +00:00
Michael Ow
eed1a93ad3 ICU-8365 Merge changes in branch for CYGWINMSVC fix to trunk
X-SVN-Rev: 29755
2011-04-07 17:02:49 +00:00
Dragan Besevic
c00813396a ICU-8093 Add API function call ucurr_isAvailable() and changes for tests and data.
X-SVN-Rev: 29727
2011-04-04 15:00:03 +00:00
Andy Heninger
e1632f515d ICU-8405 make StringPiece::set() public.
X-SVN-Rev: 29717
2011-03-31 18:43:40 +00:00
Michael Ow
4ce8f58d86 ICU-8006 Update isFixedWidth API doc in ICU4C.
X-SVN-Rev: 29704
2011-03-29 04:20:18 +00:00
Andy Heninger
2a669af439 ICU-8161 Mac compile errors on mutex changes fixed.
X-SVN-Rev: 29703
2011-03-29 04:02:06 +00:00
Andy Heninger
040bb01ac4 ICU-8161 Mutexes, add thread checker annotations, improve singleton implementation.
X-SVN-Rev: 29702
2011-03-29 00:47:41 +00:00
Andy Heninger
90412460c5 ICU-7158 Remove non-static UMTX objects from ICU4C
X-SVN-Rev: 29701
2011-03-29 00:32:11 +00:00
Matitiahu Allouche
604bb8f344 ICU-3660 add support for prologue and epilogue
X-SVN-Rev: 29686
2011-03-23 17:26:59 +00:00
Steven R. Loomis
eac8ea335d ICU-8426 add U_NAMESPACE_USE, fix breakage from r29670 (mac gcc 4.0.1 ?)
X-SVN-Rev: 29677
2011-03-22 01:03:09 +00:00
Michael Ow
9c22fb626b ICU-8426 Move C API outside of namespace
X-SVN-Rev: 29670
2011-03-18 19:30:48 +00:00
Michael Ow
09e5025ee1 ICU-3660 Revert 29596 until after 4.7.1
X-SVN-Rev: 29601
2011-03-10 18:28:50 +00:00
Matitiahu Allouche
cd4a7ba1c6 ICU-3660 add support for prologue and epilogue
X-SVN-Rev: 29596
2011-03-10 12:47:13 +00:00
Michael Ow
4d5351b108 ICU-8385 Fix C++ style comment in C file
X-SVN-Rev: 29589
2011-03-10 03:59:03 +00:00
Michael Ow
e48aeb4b6a ICU-8006 Update isFixedWidth API doc in ICU4C
X-SVN-Rev: 29578
2011-03-09 04:38:42 +00:00
Michael Ow
4ca783f8e9 ICU-8209 Update udeprctd.h, udraft.h, uintrnal.h, uobslete.h, usystem.h for 4.7.1
X-SVN-Rev: 29564
2011-03-07 23:08:51 +00:00
Michael Ow
8d7be85a4f ICU-8209 Update urename.h for 4.7.1
X-SVN-Rev: 29563
2011-03-07 22:31:12 +00:00
Markus Scherer
42a1e6f4a4 ICU-8167 mark protected non-APIs as @internal
X-SVN-Rev: 29548
2011-03-05 00:12:42 +00:00
Michael Ow
77f3c55b4b ICU-8278 Fix copyright header in udata.cpp
X-SVN-Rev: 29540
2011-03-04 03:39:25 +00:00
Markus Scherer
3715b6dea4 ICU-8167 missed one U_TOOLUTIL_API in the move to the common library
X-SVN-Rev: 29537
2011-03-04 00:36:52 +00:00
Yoshito Umaoka
5701f7add9 ICU-8388 Fixed missing separator problem in uloc_minimizeSubtag/addLikelySubtag.
X-SVN-Rev: 29536
2011-03-04 00:32:02 +00:00
Andy Heninger
29292b59e7 ICU-4701 Revert previous incorrect update to comment.
X-SVN-Rev: 29535
2011-03-04 00:12:35 +00:00
Markus Scherer
d55e005cf7 ICU-8167 move string tries to the common library and make API headers public
X-SVN-Rev: 29531
2011-03-03 21:56:36 +00:00
Andy Heninger
39473a62da ICU-4701 fix typo in a comment.
X-SVN-Rev: 29516
2011-03-02 23:33:12 +00:00
Andy Heninger
7b7f48eef8 ICU-7530 Alphabetic index, move from branch to trunk.
X-SVN-Rev: 29482
2011-02-25 22:21:30 +00:00
Michael Ow
4892435224 ICU-8006 Add ucnv_isFixedWidth API and test.
X-SVN-Rev: 29467
2011-02-23 22:21:58 +00:00
Jungshik Shin
90998e6507 ICU-8356 Use LoadLibraryA (A API) to get it built whether UNICODE is defined or not
X-SVN-Rev: 29451
2011-02-17 01:03:37 +00:00
Jungshik Shin
dc0dc6fd45 ICU-8355 fix compile failure with visual C++ with warning treated as error
X-SVN-Rev: 29449
2011-02-17 00:47:40 +00:00
John Emmons
4b8773457a ICU-8031 Support for parent locales
X-SVN-Rev: 29443
2011-02-16 13:46:19 +00:00
Markus Scherer
086386bd9e ICU-8322 pack class UnicodeString layout to avoid padding
X-SVN-Rev: 29398
2011-02-04 19:54:58 +00:00
Yoshito Umaoka
74a4461b49 ICU-8303 Handling private-use only language tag properly in uloc_forLanguageTag and uloc_toLanguageTag.
X-SVN-Rev: 29393
2011-02-03 22:33:00 +00:00
Markus Scherer
d5599d7be9 ICU-8314 change Appendable into a base class, add UnicodeStringAppendable
X-SVN-Rev: 29392
2011-02-03 22:07:22 +00:00
Markus Scherer
d8ea46628b ICU-8314 Appendable interface, AppendableAdapter default impl & UnicodeString is-an Appendable
X-SVN-Rev: 29390
2011-02-03 05:28:01 +00:00
Markus Scherer
9cc27feeb4 ICU-8167 port trie API changes from Java
X-SVN-Rev: 29367
2011-01-27 21:41:03 +00:00
Peter Edberg
5224f25511 ICU-8267 ucstrTextExtract should use text pointer & offset for chunk, as set by ucstrTextAccess
X-SVN-Rev: 29356
2011-01-25 03:25:24 +00:00
Michael Ow
7c0b4a6d90 ICU-7959 Fix some memory leak issues in compound text code.
X-SVN-Rev: 29297
2011-01-13 22:33:17 +00:00
Markus Scherer
4ecd44cfd6 ICU-4701 faster .dat package data item name lookup; improved binary search tracks shared-prefix length
X-SVN-Rev: 29293
2011-01-12 23:51:40 +00:00
Markus Scherer
1d7722ef61 ICU-8271 update UCOL_RUNTIME_VERSION for ICU 4.6 changes of CODAN and compression constants etc.
X-SVN-Rev: 29290
2011-01-12 22:15:26 +00:00
Jungshik Shin
e8bfde9467 ICU-8248 With U_STATIC_IMPLEMENTATION defined, U_EXPORT is defined empty. Simplify the previous change
X-SVN-Rev: 29287
2011-01-11 22:05:15 +00:00
Jungshik Shin
695e9ac115 ICU-8248 define U_EXPORT to be empty if U_STATIC_IMPLEMENTATION is defined
X-SVN-Rev: 29280
2011-01-10 23:14:41 +00:00
Markus Scherer
4832385f7c ICU-8167 minor fixes
X-SVN-Rev: 29277
2011-01-07 05:28:58 +00:00
Andy Heninger
c12ce73a18 ICU-8167 the Mac build needs U_COMMON_API etc. on *some* nested classes
X-SVN-Rev: 29275
2011-01-06 23:35:32 +00:00
Markus Scherer
c5c0d56509 ICU-8167 a nested class need not qualify its outer class for member access
X-SVN-Rev: 29273
2011-01-06 22:25:56 +00:00
Markus Scherer
397d6f7372 ICU-8167 make trie iterators nested classes inside their tries
X-SVN-Rev: 29272
2011-01-06 18:40:26 +00:00
Markus Scherer
62306a038c ICU-8167 rename ByteTrie to BytesTrie, DictTrie to StringTrie, etc.
X-SVN-Rev: 29265
2011-01-05 21:05:47 +00:00
Markus Scherer
f772c48a2c ICU-8105 some compilation bug fixes
X-SVN-Rev: 29255
2010-12-31 23:56:06 +00:00
Markus Scherer
c04082d93c ICU-8105 hardcode Unicode property names data (formatVersion 2); includes new dictionary-type tries (ByteTrie & UCharTrie see ticket #8167); merge branches/markus/tries -r 29040:29249
X-SVN-Rev: 29252
2010-12-31 18:21:36 +00:00
Michael Ow
148123e81e ICU-7959 Move assignment of match outside loop
X-SVN-Rev: 29217
2010-12-16 23:32:25 +00:00
Michael Ow
d15a8c9c92 ICU-7959 Fix endian failure in compound text.
X-SVN-Rev: 29216
2010-12-16 19:35:56 +00:00
Peter Edberg
bbb368c939 ICU-8238 Implement max subpart policy for UTF7 toUnicode, don't consume valid bytes after err
X-SVN-Rev: 29214
2010-12-16 17:35:01 +00:00
Michael Ow
dd03794570 ICU-7959 Add compound text converter to ICU4C.
X-SVN-Rev: 29211
2010-12-15 23:38:28 +00:00
Michael Ow
30153c1400 ICU-8209 Update version number in ICU4C to 4.7.1
X-SVN-Rev: 29186
2010-12-10 20:32:03 +00:00
Andy Heninger
4f5faa01b7 ICU-7441 Make StringPiece comparison operators public.
X-SVN-Rev: 29178
2010-12-09 18:51:55 +00:00
Michael Ow
b988aacf7a ICU-8083 Update LANGUAGES and LANGUAGES_3 table, fix API information, and add a test for missing languages.
X-SVN-Rev: 29153
2010-12-03 19:25:49 +00:00
Markus Scherer
5a840765ea ICU-7641 do not refer to a particular (old) version of Unicode
X-SVN-Rev: 29056
2010-11-16 22:03:33 +00:00
Peter Edberg
52dd980540 ICU-8155 change to @internal - UCLN_NO_AUTO_CLEANUP, U_HAVE_STD_STRING, U_ENABLE_DYLOAD, U_CHECK_DYLOAD
X-SVN-Rev: 29054
2010-11-16 20:53:43 +00:00
Peter Edberg
b9cfe4aa5b ICU-8155 Promote LocalPointer[Base]/LocalArray/U_DEFINE_LOCAL_OPEN_POINTER from @draft 4.4 to @stable
X-SVN-Rev: 29050
2010-11-15 19:40:24 +00:00
Peter Edberg
2f7aa6fc38 ICU-8155 Update udraft.h and uintrnal.h per recent API promotions and internal function renaming
X-SVN-Rev: 29038
2010-11-13 00:02:06 +00:00
Peter Edberg
3384286860 ICU-8155 Promote appropriate @draft 4.2 and 4.4 API to @stable
X-SVN-Rev: 29035
2010-11-12 06:03:28 +00:00
Markus Scherer
0627cc5c5a ICU-8137 fix u_strFromPunycode(), write last non-ASCII character into dest buffer when it just so fits
X-SVN-Rev: 29029
2010-11-12 00:02:25 +00:00
Umesh Nair
eb9d3b2708 ICU-7023 Fix import for EBCDIC machines - contd
X-SVN-Rev: 29010
2010-11-06 00:30:20 +00:00
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