Commit Graph

1273 Commits

Author SHA1 Message Date
Peter Edberg
60152763f3 ICU-9110 Add date format functions to set/get context, use when formatting
X-SVN-Rev: 31458
2012-02-21 01:29:50 +00:00
Peter Edberg
4b3835d9e9 ICU-9091 Promote to stable most ICU4C API that are draft 4.8 or earlier
X-SVN-Rev: 31446
2012-02-20 04:28:17 +00:00
Steven R. Loomis
f0eb1ff995 ICU-8157 remove U_EXPORT2 and add ifdef no internal
X-SVN-Rev: 31444
2012-02-19 09:14:56 +00:00
Peter Edberg
05b2ae1381 ICU-8697 C, change parseCurrency methods to return CurrencyAmount*, make draft ICU 49
X-SVN-Rev: 31440
2012-02-19 06:45:47 +00:00
Steven R. Loomis
5824cdd742 ICU-8157 commit from branch
X-SVN-Rev: 31439
2012-02-19 06:39:16 +00:00
Steven R. Loomis
eec528c85f ICU-8157 commit from branch
X-SVN-Rev: 31434
2012-02-18 23:10:51 +00:00
Yoshito Umaoka
9d6a55f33d ICU-8916 Calendar APIs supporting options for handling ambiguous wall time (Merged from the work branch to the ICU4C trunk).
X-SVN-Rev: 31421
2012-02-17 23:53:05 +00:00
Michael Ow
1dfe6c4c8b ICU-8940 Ensure the new DecimalFormatSymbols is propagated properly in ICU4C RBNF
X-SVN-Rev: 31417
2012-02-17 23:09:57 +00:00
John Emmons
bae575e95a ICU-7501 Use allowsParsing attribute from CLDR to detect unparseable RBNF rulesets
X-SVN-Rev: 31416
2012-02-17 23:01:16 +00:00
Andy Heninger
c74df646b7 ICU-6947 implement UREGEX_LITERAL flag.
X-SVN-Rev: 31398
2012-02-15 01:30:55 +00:00
Markus Scherer
2ea559eeb4 ICU-8803 make Calendar::getType() public and improve API docs
X-SVN-Rev: 31385
2012-02-13 23:54:23 +00:00
Andy Heninger
305adeb146 ICU-8034 Add Number Format field constant definitions.
X-SVN-Rev: 31356
2012-02-10 00:38:34 +00:00
Yoshito Umaoka
1c11ee4838 ICU-7964 Merging ucurr_getNumericCode from the work branch to the trunk.
X-SVN-Rev: 31320
2012-02-03 18:40:03 +00:00
Peter Edberg
e3edca9be5 ICU-9044 Better description of 'U' character behavior (C)
X-SVN-Rev: 31280
2012-01-31 07:35:50 +00:00
Markus Scherer
9606c41350 ICU-9048 work around xlC compiler bug
X-SVN-Rev: 31270
2012-01-26 23:05:12 +00:00
Michael Ow
1f311240e5 ICU-8940 Add new ICU4C API to set decimal format symbols in RBNF
X-SVN-Rev: 31265
2012-01-25 21:16:48 +00:00
Peter Edberg
3b3b61e234 ICU-9044 Improve parse method documentation, note that parsing Chinese cal dates may be ambiguous (C)
X-SVN-Rev: 31254
2012-01-23 23:14:56 +00:00
Markus Scherer
b72fb657f6 ICU-9048 add virtual ~PluralSelector()
X-SVN-Rev: 31241
2012-01-20 22:12:56 +00:00
Andy Heninger
b8315ecf6a ICU-8826 Regex case insensitive match fixes; also fixes #6074, hitEnd() sometimes fails.
X-SVN-Rev: 31233
2012-01-20 00:50:02 +00:00
Andy Heninger
e5c9c7613f ICU-9054 remove U_NAMESPACE_USE from uspoof.h
X-SVN-Rev: 31231
2012-01-19 19:37:39 +00:00
Peter Edberg
0ab713c4fb ICU-8959 Add UDAT_YEAR_NAME_FIELD for pattern char 'U', implement format/parse for it (C)
X-SVN-Rev: 31215
2012-01-17 08:06:29 +00:00
Yoshito Umaoka
e577fc8ae0 ICU-8998 Added some explanation about useDaylightTime comparing to JDK.
X-SVN-Rev: 31214
2012-01-17 07:52:05 +00:00
Michael Ow
fc76cb342c ICU-8887 Update timezone doc in ICU4C
X-SVN-Rev: 31109
2011-12-13 17:44:04 +00:00
Michael Ow
747ad726e2 ICU-8956 Update ICU4C SimpleDateFormat doc
X-SVN-Rev: 31069
2011-12-08 18:27:54 +00:00
Peter Edberg
56d70749df ICU-8958 Add support for parsing leapMonths (in addition to formatting per r31039, r31040)
X-SVN-Rev: 31043
2011-12-06 20:46:32 +00:00
Peter Edberg
6dbcc24060 ICU-8958 integrate changes from cldrbug 4130:; add monthPatterns support to
DateFormatSymbols, use it to format leap months; ignore pattern char 'l'; add tests.

X-SVN-Rev: 31039
2011-12-06 08:00:44 +00:00
Stuart Gill
16ea5c24a6 ICU-8914 extra C/C++ documentation for collation reordering
X-SVN-Rev: 31002
2011-12-01 23:13:47 +00:00
Michael Ow
c5eeb6b6df ICU-8887 Update timezone class doc in ICU4C
X-SVN-Rev: 30956
2011-11-11 23:24:20 +00:00
Abhinav Gupta
6a746276e5 ICU-8855 non-ascii characters in C code.
X-SVN-Rev: 30739
2011-09-28 20:54:03 +00:00
Markus Scherer
3458799ca4 ICU-8779 add getUnknown()
X-SVN-Rev: 30729
2011-09-28 00:00:31 +00:00
Markus Scherer
f7f54e2084 ICU-8788 deprecate ChoiceFormat
X-SVN-Rev: 30673
2011-09-16 00:24:00 +00:00
Steven R. Loomis
22bfb7668a ICU-8801 fix for performance regression of parse (mostly malloc/free)
X-SVN-Rev: 30628
2011-09-07 14:30:32 +00:00
Yoshito Umaoka
28a3ac4e9f ICU-8780 Added a note to getGMT() explaining that the ID used by the result zone is 'GMT', not 'Etc/GMT'.
X-SVN-Rev: 30622
2011-09-06 20:52:28 +00:00
Yoshito Umaoka
50758756b5 ICU-8777 Fixed API doc for createTimeZone. Updated the description to explain the case for bad time zone ID - using Etc/Unknown instead of Etc/GMT as fallback zone ID.
X-SVN-Rev: 30620
2011-09-06 18:44:49 +00:00
Steven R. Loomis
1e1f8509d8 ICU-8755 interim fix. MessagePattern still needs fixing.
X-SVN-Rev: 30505
2011-08-13 02:45:09 +00:00
Markus Scherer
e8aa203464 ICU-8571 API cannot be both @stable and @internal, keep @stable
X-SVN-Rev: 30455
2011-08-03 18:28:56 +00:00
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
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
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
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
Peter Edberg
ec987e4fe9 ICU-8621 Add unicode/ in #include "unum.h"
X-SVN-Rev: 30257
2011-06-30 05:41:50 +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
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
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
bd9268969e ICU-8428 API tags for ULocaleDataExemplarSetType and ULocaleDataDelimiterType values
X-SVN-Rev: 30112
2011-05-13 21:03:05 +00:00
Stuart Gill
2b8eb22cc2 ICU-8295 changes based on code review
X-SVN-Rev: 30077
2011-05-10 00:16:40 +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
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
Markus Scherer
3ad925040a ICU-8295 minor doc spelling fixes
X-SVN-Rev: 30055
2011-05-06 22:34:03 +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
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
Peter Edberg
5d14eefc25 ICU-8467 Add C wrappers for some PluralRules functionality
X-SVN-Rev: 30001
2011-05-03 23:23: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
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
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
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
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
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
Yoshito Umaoka
74e7b59d02 ICU-8415 Fixes for usearch_preceding and usearch_last regression bugs. The search test framework to cover usearch_following and usearch_preceding. Corrected and improved the API documentation for usearch_following/usearch_preceding. Merging these updates tested in my work branch to trunk.
X-SVN-Rev: 29681
2011-03-22 03:50:26 +00:00
Yoshito Umaoka
f00dd1eccb ICU-8295 Fixed a linkage problem on MSVC introduced by r29671
X-SVN-Rev: 29675
2011-03-21 15:30:19 +00:00
Stuart Gill
b3ba6c0bf3 ICU-8295 API for collation reordering
X-SVN-Rev: 29671
2011-03-18 22:52:30 +00:00
Doug Felt
47108a4e65 ICU-8432 add icu4c implementation and tests
X-SVN-Rev: 29666
2011-03-17 21:36:03 +00:00
Michael Ow
641f38e783 ICU-8411 Remove non-ascii character from ICU4C source files
X-SVN-Rev: 29659
2011-03-16 01:48:20 +00:00
Yoshito Umaoka
34bc79c98b ICU-8278 New APIs TimeZone::createTimeZoneIDEnumeration and ucal_openTimeZoneIDEnumeration for supporting canonical/canonical location zone iteration. The fix for ticket#8349 Etc/Unknown problem was also done at the same time.
X-SVN-Rev: 29498
2011-03-01 18:29:13 +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
Yoshito Umaoka
d7c7514920 ICU-8346 ICU4C TimeZone::createTimeZone to return Etc/Unknown when the given ID is unknown/unparsable. Also added UCAL_UNKNOWN_ZONE_ID.
X-SVN-Rev: 29462
2011-02-19 06:29:52 +00:00
Yoshito Umaoka
7c93a6eeac ICU-8279 TimeZone API - getRegion in ICU4C
X-SVN-Rev: 29459
2011-02-18 23:03:47 +00:00
Yoshito Umaoka
c5d01fb5d3 ICU-8266 Clarify the behavior of TimeZone::useDaylightTime() in the API doc.
X-SVN-Rev: 29396
2011-02-04 04:13:43 +00:00
Andy Heninger
4a932a4dfc ICU-7795 Regular Expression refreshInputText added.
X-SVN-Rev: 29363
2011-01-27 01:12:12 +00:00
Claire Ho
4c38ef650d ICU-7385 changed ECurrencySpacing into a C enum.
X-SVN-Rev: 29212
2010-12-15 23:46:53 +00:00
Michael Ow
734b84401f ICU-7089 Recalculate time stamp array if stamp value is going to exceed limit in ICU4C calendar class.
X-SVN-Rev: 29162
2010-12-07 17:27:42 +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
ebca744d84 ICU-8155 Promote more @draft 4.4 API to @stable, after asking on icu-core
X-SVN-Rev: 29037
2010-11-12 22:58:50 +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
Peter Edberg
d9e5f6e1d8 ICU-8136 U_CAPI -> U_STABLE for 3 uspoof_ API
X-SVN-Rev: 29030
2010-11-12 00:41:43 +00:00
Steven R. Loomis
45dcb95f0b ICU-3984 revert U_EXPORT2 changes in r29003 back to r28999 - see http://userguide.icu-project.org/dev/codingguidelines
X-SVN-Rev: 29005
2010-11-05 19:08:45 +00:00
Steven R. Loomis
6a5f83ff80 ICU-3984 fix mismatched const int in r28999
X-SVN-Rev: 29003
2010-11-04 22:36:25 +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
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