Commit Graph

4035 Commits

Author SHA1 Message Date
Markus Scherer
2c29b14fb9 ICU-8571 @system APIs are *supposed* to also have a regular API label; add #ifndef U_HIDE_SYSTEM_API
X-SVN-Rev: 30448
2011-08-01 02:38:58 +00:00
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
07035f8756 ICU-8731 move some @internal definitions to putilimp.h
X-SVN-Rev: 30433
2011-07-27 21:26:00 +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
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
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
88acd14026 ICU-8718 Fix memory leak in PluralRules
X-SVN-Rev: 30388
2011-07-19 21:10:56 +00:00
Yoshito Umaoka
a2103b01f0 ICU-8488 Reviewed call sites of case conversion code in icu library code and updated some of them case sensitive/insensitive.
X-SVN-Rev: 30382
2011-07-18 21:43:18 +00:00
Peter Edberg
f5ccf251ef ICU-8583 Only parse arbitrary currency for calls that can return the found currency (e.g. parseCurrency)
X-SVN-Rev: 30313
2011-07-12 03:22:59 +00:00
Peter Edberg
e59f0040ee ICU-8681 For asymmetric search, increase CE ring buffer size based on pattern characters.
X-SVN-Rev: 30307
2011-07-09 14:57:34 +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
Andy Heninger
47a0559a84 ICU-8623 Remove extra include of <string>
X-SVN-Rev: 30291
2011-07-07 00:53:20 +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
493668a25f ICU-8573 remove support for U_IOSTREAM_SOURCE=198506
X-SVN-Rev: 30278
2011-07-05 23:42:32 +00:00
Yoshito Umaoka
515788594c ICU-8596 Fixed the actual maximum week problem.
X-SVN-Rev: 30276
2011-07-05 22:42:14 +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
Yoshito Umaoka
aaca2b7e95 ICU-8675 Fixed a time zone parse regression problem. The condition used for checking perfect match was wrong.
X-SVN-Rev: 30266
2011-07-01 21:07:32 +00:00
Markus Scherer
a1c626ed90 ICU-8637 fix MessagePattern Part iteration when a plural style contains other followed by a different keyword, and the PluralRules return other
X-SVN-Rev: 30260
2011-06-30 18:34:23 +00:00
Peter Edberg
1d01381d47 ICU-8593 RuleBasedNumberFormat::format(double,...) should handle NAN
X-SVN-Rev: 30258
2011-06-30 05:43:56 +00:00
Peter Edberg
ec987e4fe9 ICU-8621 Add unicode/ in #include "unum.h"
X-SVN-Rev: 30257
2011-06-30 05:41:50 +00:00
Peter Edberg
e033e05d4d ICU-8622 Rearrange code & conditionals so UCONFIG_NO_SERVICE=1 works
X-SVN-Rev: 30256
2011-06-30 05:41:03 +00:00
Andy Heninger
fe56e19f40 ICU-8629 fix unsafe memcpy of UnicodeStrings.
X-SVN-Rev: 30254
2011-06-29 23:25:35 +00:00
Andy Heninger
05d9fcda26 ICU-8666 Fix regular expression assertion failure on match
X-SVN-Rev: 30244
2011-06-28 05:35:42 +00:00
Yoshito Umaoka
0f29677f6a ICU-8624 Fixed a collation key compression problem. A tertiary key value was incorrect with a long string when case first option is set.
X-SVN-Rev: 30220
2011-06-20 17:18:46 +00:00
Andy Heninger
88e94ca0b0 ICU-8654 Spoof check, incorrect length used on NFD text.
X-SVN-Rev: 30218
2011-06-17 20:47:37 +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
Yoshito Umaoka
2e84d2861b ICU-8627 Lazily instantiate TimeZoneGenericNames instance in TimeZoneFormat, so formatting date without generic time zone pattern does not need to get through the relatively heavier one time initialization code.
X-SVN-Rev: 30196
2011-06-08 20:23:20 +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
Jungshik Shin
8cc8801c03 ICU-8613 fix a trivial bug found by PSV (a static analysis tool)
X-SVN-Rev: 30188
2011-06-02 22:08:21 +00:00
Yoshito Umaoka
3e6d2f0e18 ICU-8589 Corrected the condition for using country display name in a time zone partial name. Also updated the test case to parse the test date properly.
X-SVN-Rev: 30149
2011-05-26 20:56:15 +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
607d67e6d5 ICU-8563 do not right-shift a 32-bit integer by 32 bits
X-SVN-Rev: 30125
2011-05-16 22:55:13 +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
36f6ca2868 ICU-8428 fix @draft vs. U_DRAFT inconsistency
X-SVN-Rev: 30116
2011-05-16 20:45:25 +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
bd9268969e ICU-8428 API tags for ULocaleDataExemplarSetType and ULocaleDataDelimiterType values
X-SVN-Rev: 30112
2011-05-13 21:03:05 +00:00
Steven R. Loomis
625b955e7d ICU-8428 update windows version#
X-SVN-Rev: 30079
2011-05-10 17:17:39 +00:00
Stuart Gill
2b8eb22cc2 ICU-8295 changes based on code review
X-SVN-Rev: 30077
2011-05-10 00:16:40 +00:00
Steven R. Loomis
1f66736465 ICU-8545 fix for use with U_USING_NAMESPACE=0
X-SVN-Rev: 30075
2011-05-10 00:09:19 +00:00
Stuart Gill
871cc23d57 ICU-8468 changes following code review
X-SVN-Rev: 30074
2011-05-09 23:54:46 +00:00
Markus Scherer
1341b94989 ICU-8319 DLL-export private classes nested inside public ones
X-SVN-Rev: 30073
2011-05-09 23:49:06 +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
343f41f0f8 ICU-8543 Memory allocation functions check, fixes.
X-SVN-Rev: 30070
2011-05-09 22:21:08 +00:00
Andy Heninger
af7d88ffe8 ICU-8542 Line endings, non-ASCII and svn property fixes for ICU4C.
X-SVN-Rev: 30068
2011-05-09 21:37:36 +00:00
Andy Heninger
cf26986c13 ICU-8538 Valgrind error fixes in ICU 4.8RC
X-SVN-Rev: 30059
2011-05-09 02:35:48 +00:00
Markus Scherer
3ad925040a ICU-8295 minor doc spelling fixes
X-SVN-Rev: 30055
2011-05-06 22:34:03 +00:00
Markus Scherer
044ec4cb18 ICU-8470 fixes for coding guidelines
X-SVN-Rev: 30042
2011-05-05 23:57:22 +00:00
Markus Scherer
4c71c03c6f ICU-8467 fixes for coding guidelines
X-SVN-Rev: 30041
2011-05-05 23:36:01 +00:00
Markus Scherer
bb70cf601c ICU-8319 workaround for gcc 3.3.3 compiler bug
X-SVN-Rev: 30040
2011-05-05 22:46:07 +00:00
Peter Edberg
67bb9b9b2c ICU-6109 Always use strict number parsing for date parsing
X-SVN-Rev: 30036
2011-05-05 17:09:06 +00:00
Steven R. Loomis
63dd5be23d ICU-8525 doxygen warnings
X-SVN-Rev: 30029
2011-05-05 01:35:22 +00:00
Steven R. Loomis
33ced448a3 ICU-8305 more doxygen fixes for regex
X-SVN-Rev: 30028
2011-05-04 23:13:14 +00:00
Steven R. Loomis
ba204d6987 ICU-8093 warnings fix, move internal
X-SVN-Rev: 30027
2011-05-04 23:12:49 +00:00
Andy Heninger
ae8896de7f ICU-8524 compiler warning cleanup.
X-SVN-Rev: 30026
2011-05-04 22:34:13 +00:00
Doug Felt
f51066e066 ICU-8448 update docs for list syntax
X-SVN-Rev: 30023
2011-05-04 17:07:24 +00:00
Peter Edberg
332037ef5b ICU-6109 & #4942,#3579: Merge changes for lenient number & date parsing from branches/eric/lenient_number_parsing (manually!)
X-SVN-Rev: 30018
2011-05-04 12:23:42 +00:00
Yoshito Umaoka
a0b723bb79 ICU-8342 A minor fix for EBCDIC platforms - replacing '/' with ':' for resource bundle key.
X-SVN-Rev: 30010
2011-05-04 02:35:20 +00:00
Stuart Gill
0f8827be69 ICU-8295 fix compiler warning in C++ collator reordering API
X-SVN-Rev: 30005
2011-05-04 00:06:12 +00:00
Peter Edberg
5d14eefc25 ICU-8467 Add C wrappers for some PluralRules functionality
X-SVN-Rev: 30001
2011-05-03 23:23:26 +00:00
Markus Scherer
b6ec20193a ICU-8171 fix warning in ucol_res.cpp/isAcceptableUCA()
X-SVN-Rev: 30000
2011-05-03 22:32:26 +00:00
Peter Edberg
3745b313f3 ICU-8470 Add C wrappers for some DateIntervalFormat functionality
X-SVN-Rev: 29988
2011-05-03 19:33:19 +00:00
Yoshito Umaoka
4d7569c743 ICU-8342 Refactoring ZoneStringFormat into TimeZoneNames and TimeZoneFormat (all internal APIs for now). Also supporting localized GMT zero format and fallback region format for generic names.
X-SVN-Rev: 29984
2011-05-03 14:59:01 +00:00
Peter Edberg
d67f95f797 ICU-8466 Add get/adopt/setTimeZone to DateIntervalFormat, as in DateFormat
X-SVN-Rev: 29976
2011-05-03 05:44:58 +00:00
Markus Scherer
2bb81c0eca ICU-8079 set the correct UErrorCode
X-SVN-Rev: 29975
2011-05-03 04:11:32 +00:00
Steven R. Loomis
b88cd9bca9 ICU-8350 zOS fixes round one
X-SVN-Rev: 29973
2011-05-03 03:40:34 +00:00
Markus Scherer
2021d92a62 ICU-8079 rewrite/simplify sort key buffer/memory management, fixes overflow & length counting bugs
X-SVN-Rev: 29968
2011-05-03 00:29:45 +00:00
Peter Edberg
b4653c9f9f ICU-8397 Add ucal_getFieldDifference, C wrapper for Calendar::fieldDifference(...)
X-SVN-Rev: 29966
2011-05-02 23:42:11 +00:00
Peter Edberg
2fdfe20655 ICU-8237 Add RelativeDateFormat::getDateFormatSymbols, use in udat_getSymbols/countSymbols
X-SVN-Rev: 29964
2011-05-02 23:14:32 +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
Michael Ow
4dc0689cab ICU-8273 Delete object before creating a new one in PluralFormat copy assignment operator.
X-SVN-Rev: 29951
2011-05-02 05:58:17 +00:00
Andy Heninger
e19f8e0591 ICU-5297 Charset detector confidence, use natural log, removes gratuitous difference between C++ and Java versions.
X-SVN-Rev: 29932
2011-04-29 22:44:44 +00:00
Markus Scherer
0765a860a0 ICU-8053 add link to the LDML spec, C.11 Language Plural Rules
X-SVN-Rev: 29928
2011-04-29 18:04:45 +00:00
Markus Scherer
bb9af46cfe ICU-8432 test & document that PluralRules::getSamples() returns count<=destCapacity
X-SVN-Rev: 29924
2011-04-29 16:42:34 +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
Markus Scherer
a84df9c29c ICU-7387 fix dates & versions
X-SVN-Rev: 29918
2011-04-28 17:31:44 +00:00
Claire Ho
83d13b22aa ICU-7387 Changed TimeUnitFormat::EStyle should bto C enum.
X-SVN-Rev: 29916
2011-04-28 16:42:58 +00:00
Markus Scherer
6c49e812c0 ICU-8432 fix PluralRules memory management & a couple of minor issues
X-SVN-Rev: 29914
2011-04-28 13:35:56 +00:00
Markus Scherer
e25457f07a ICU-8499 change PluralRules::NO_UNIQUE_VALUE into #define UPLRULES_NO_UNIQUE_VALUE
X-SVN-Rev: 29911
2011-04-27 20:04:06 +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
Yoshito Umaoka
1d6d6c6354 ICU-8366 Fixed a compilation problem on some platforms - deleting extra comma at the end of enum list.
X-SVN-Rev: 29875
2011-04-24 04:04:33 +00:00
Yoshito Umaoka
56ef4e7f1a ICU-8366 Added ISO8601 calendar type support.
X-SVN-Rev: 29868
2011-04-23 16:35:30 +00:00
Yoshito Umaoka
39f9a8686f ICU-8482 Changed the behavior of already broken match boundary condition - not to expand the result match length when 1) the end of CE match is a part of expansion 2) the limit of the CE match is already on a break boundary. Also flipped the behavior of isBreakBoundary, which was actually is*Not*BreakBoundary before.
X-SVN-Rev: 29848
2011-04-22 05:37:46 +00:00
Andy Heninger
f777c14042 ICU-8444 Remove PATTERN_IS_UTEXT from regex API.
X-SVN-Rev: 29845
2011-04-21 22:57:19 +00:00
Andy Heninger
6d21ef8ca3 ICU-8305 doxygen cleanups for regular expression API.
X-SVN-Rev: 29812
2011-04-16 01:27:00 +00:00
Andy Heninger
8148726df2 ICU-8404 Regular Expressions split(), fix incorrect handling of trailing empty field
X-SVN-Rev: 29801
2011-04-15 00:48:39 +00:00
Yoshito Umaoka
520979e0f1 ICU-8415 Fixed the API doc problem in the previous change.
X-SVN-Rev: 29786
2011-04-13 07:06:15 +00:00
Stuart Gill
de5faa255e ICU-8468 add cloning of collator reordering information - also added test for duplicate reorder codes
X-SVN-Rev: 29779
2011-04-12 18:23:27 +00:00
Peter Edberg
389c986a20 ICU-8445 Fix size of UCOL_CASE_MAX_BUFFER w.r.t UCOL_MAX_BUFFER; fix warning about collResult
X-SVN-Rev: 29756
2011-04-07 18:33:27 +00:00
Michael Ow
844149c7bc ICU-8093 Enable cleanup of isoCodes
X-SVN-Rev: 29753
2011-04-07 05:01:42 +00:00
Peter Edberg
73704aa064 ICU-8417 Add dtTypes[] entry for LOW_L
X-SVN-Rev: 29736
2011-04-05 05:41:43 +00:00
Peter Edberg
24ad6686f7 ICU-8409 Calendar::fieldDifference perf improvment, better limit for binary search
X-SVN-Rev: 29735
2011-04-05 05:26:13 +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
5481ac737a ICU-8421 uregex error checking fixes.
X-SVN-Rev: 29716
2011-03-31 18:33:28 +00:00
Doug Felt
8f82354952 ICU-8432 fix bad delete of arrays
X-SVN-Rev: 29710
2011-03-30 20:52:05 +00:00
Michael Ow
9a44c7e691 ICU-8430 Resolve namespace issue in HPUX
X-SVN-Rev: 29707
2011-03-29 21:21:25 +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