Commit Graph

5042 Commits

Author SHA1 Message Date
Markus Scherer
0e4c0199ee ICU-12410 remove unused UCaseProps pointer from ucase_... functions
X-SVN-Rev: 39656
2017-02-09 21:50:20 +00:00
Markus Scherer
5da94f206a ICU-12410 move new code into new files, split ucasemap_imp.h from ustr_imp.h
X-SVN-Rev: 39655
2017-02-09 21:15:34 +00:00
Andy Heninger
04448b004f ICU-12764 UTF-8 source files, update file encoding comments.
X-SVN-Rev: 39641
2017-02-03 18:57:23 +00:00
Andy Heninger
415932a1e3 ICU-12870 Charset Detector, have docs reference the Compact Encoding Detector.
X-SVN-Rev: 39640
2017-02-03 02:46:43 +00:00
Peter Edberg
e0f3d87e99 ICU-12948 First-pass preliminary integration of CLDR 31 @13174
X-SVN-Rev: 39601
2017-01-24 08:22:23 +00:00
Peter Edberg
7b33e586f5 ICU-12937 Withdraw MeasureUnit interfaces for coordinate units, and related data loading
X-SVN-Rev: 39599
2017-01-23 16:20:59 +00:00
Peter Edberg
47e1aaaf14 ICU-12763 Add uplrules_selectWithFormat and PluralRules::select that take & use [U]NumberFormat
X-SVN-Rev: 39591
2017-01-21 01:03:32 +00:00
Markus Scherer
aa27217a84 ICU-12410 remove locCache behavior from ucase_getCaseLocale() and functions that call it, try to make it a little faster for common locale IDs
X-SVN-Rev: 39586
2017-01-20 06:27:47 +00:00
Andy Heninger
242e02c388 ICU-12764 icu4c utf-8 source files, update Copyright notices.
X-SVN-Rev: 39583
2017-01-20 00:20:31 +00:00
Andy Heninger
f28895cccc ICU-12943 Windows Build Fixes for UChar=char16_t and utf-8 source files.
X-SVN-Rev: 39581
2017-01-19 18:12:50 +00:00
Peter Edberg
32ca386c27 ICU-12684 Add unum_formatDoubleForFields and test
X-SVN-Rev: 39565
2017-01-16 19:48:33 +00:00
Peter Edberg
a238722264 ICU-12895 update release version to 59.0.1 for m1
X-SVN-Rev: 39562
2017-01-16 00:42:22 +00:00
George Rhoten
72280fb152 ICU-12713 Port fix for handling large magnitude numbers from ICU4J to ICU4C
X-SVN-Rev: 39560
2017-01-14 16:29:40 +00:00
Markus Scherer
3b23b78b95 ICU-12410 include what you use
X-SVN-Rev: 39553
2017-01-12 18:35:18 +00:00
Andy Heninger
fb0439839b ICU-12860 U_DRAFT -> U_CAPI. U_DRAFT appeared on three stable functions. Also changed U_STABLE->U_CAPI for consistencey within file. See #9961
X-SVN-Rev: 39544
2016-12-19 22:40:54 +00:00
Steven R. Loomis
68401040eb ICU-12852 Remove some unnecessary copy (merge from bug)
X-SVN-Rev: 39542
2016-12-14 18:41:04 +00:00
Andy Heninger
0fd5600285 ICU-12809 only .cpp files no .c in ICU library code
X-SVN-Rev: 39527
2016-12-07 21:14:27 +00:00
Shane Carr
d1ee641e2e ICU-12825 Fixing icu4c spoof checker issues #12825 and #12815.
X-SVN-Rev: 39493
2016-10-28 17:56:22 +00:00
Steven R. Loomis
173981e642 ICU-12822 digitlst.cpp depends on <string> to include <locale.h> on windows. Include it explicitly
X-SVN-Rev: 39486
2016-10-27 01:35:55 +00:00
Markus Scherer
2f358ce4bb ICU-12827 ucol_getKeywordValuesForLocale() reset the keyword-list iterator, and a little UList cleanup
X-SVN-Rev: 39484
2016-10-26 22:05:50 +00:00
Markus Scherer
7ae322735b ICU-12779 do not check U_PLATFORM macros before including ICU headers
X-SVN-Rev: 39457
2016-10-14 19:42:22 +00:00
Steven R. Loomis
25cf8e9634 ICU-12773 digitlist/strtod_l patch on cygwin, merge r39420
X-SVN-Rev: 39425
2016-10-04 04:04:05 +00:00
Peter Edberg
11c0df4f7b ICU-12738 ICU4C BRS, fixes from testing uconfig.h variations
X-SVN-Rev: 39378
2016-09-28 07:37:19 +00:00
Peter Edberg
eccbc645aa ICU-12738 ICU4C BRS, fixes to conditionals/includes/makefiles/scripts from testing public/private headers
X-SVN-Rev: 39375
2016-09-28 04:17:24 +00:00
Steven R. Loomis
5f2c294d1c ICU-12752 fix breakage from r39368 on windows.
X-SVN-Rev: 39374
2016-09-28 02:26:02 +00:00
Steven R. Loomis
6825277072 ICU-12752 commit some IBM z fixes. Library code building
X-SVN-Rev: 39368
2016-09-27 23:39:01 +00:00
Shane Carr
09ad3d8e4b ICU-12646 Error code for long confusable entries. Documenting spoof data binary file format changes.
X-SVN-Rev: 39360
2016-09-27 17:46:10 +00:00
Peter Edberg
bf138d8a85 ICU-12738 ICU4C BRS, Some fixes to U_HIDE_XXX_API macros
X-SVN-Rev: 39346
2016-09-26 06:53:00 +00:00
Shane Carr
b0f66e314e ICU-12549 Minor revisions to SpoofChecker comments and documentation (C++).
X-SVN-Rev: 39345
2016-09-23 21:46:39 +00:00
Shane Carr
feb501f197 ICU-12549 Changing u_strCompare to u_strcmp in spoof documentation.
X-SVN-Rev: 39341
2016-09-23 01:14:42 +00:00
Andy Heninger
260f921e89 ICU-12734 ICU4C API Change Report regenerated again; fixed some incorrect @stable tags.
X-SVN-Rev: 39332
2016-09-22 18:35:22 +00:00
Shane Carr
576a124b1b ICU-12549 Small documentation and comment fixes in C++ SpoofChecker
X-SVN-Rev: 39328
2016-09-22 01:43:05 +00:00
Steven R. Loomis
f0156c183b ICU-12701 additional porting issues.
X-SVN-Rev: 39323
2016-09-21 23:52:53 +00:00
Andy Heninger
0c77de936b ICU-12734 ICU4C 58 API Promotion.
X-SVN-Rev: 39318
2016-09-21 21:20:27 +00:00
Peter Edberg
e6fdb36045 ICU-12738 ICU4C, update measurement unit constants & code
X-SVN-Rev: 39298
2016-09-20 21:15:22 +00:00
Shane Carr
d5d266654b ICU-12549 Revisions to uspoof.h documentation. Actually removing identifier_info.h and other obsolete files from r39218.
X-SVN-Rev: 39297
2016-09-20 21:06:55 +00:00
Steven R. Loomis
bc0960b298 ICU-11746 more warning nits
X-SVN-Rev: 39294
2016-09-20 17:36:32 +00:00
Steven R. Loomis
12c492b740 ICU-11746 remove stray semicolon from r39053
X-SVN-Rev: 39292
2016-09-20 17:03:25 +00:00
Steven R. Loomis
19d7d00bd8 ICU-12701 IBM i fixes (merge to trunk)
X-SVN-Rev: 39289
2016-09-20 04:30:06 +00:00
Markus Scherer
7960164327 ICU-12663 UnicodeString support nearly 2G UChars & avoid integer overflows; string-to-string case mappings & detect integer overflows; make some calls to uprv_memcpy() and similar a little more robust by casting int32_t to size_t before multiplying
X-SVN-Rev: 39288
2016-09-20 01:10:36 +00:00
Steven R. Loomis
a2ee3b1f28 ICU-11746 static analysis fixes
X-SVN-Rev: 39282
2016-09-19 18:52:48 +00:00
Peter Edberg
d9b9bd7d59 ICU-12047 Minor wording adjustment in toLocalizedPattern() headerdoc
X-SVN-Rev: 39244
2016-09-15 17:32:17 +00:00
Shane Carr
5b9fc6fc70 ICU-12029 Measure unit display names, C++ version.
X-SVN-Rev: 39243
2016-09-15 08:37:56 +00:00
Peter Edberg
67b23a4aa6 ICU-12054 If format has no fields, first FieldPositionIterator::next should return FALSE; fix ufieldpositer_next description
X-SVN-Rev: 39241
2016-09-15 07:24:12 +00:00
Peter Edberg
e02cfd9eac ICU-12407 Prevent parse crash in DECIMAL-style formatter with applied currency pattern
X-SVN-Rev: 39236
2016-09-15 03:55:22 +00:00
Shane Carr
2ceb565df3 ICU-12549 Updating SpoofChecker to latest Unicode specification.
X-SVN-Rev: 39218
2016-09-13 22:15:13 +00:00
Andy Heninger
85f8d034a7 ICU-12547 UCHAR_TYPE=char16_t on Windows, fix compilation problems.
X-SVN-Rev: 39217
2016-09-13 21:37:40 +00:00
Felipe Balbontín
390d736f89 ICU-12591 Removed the CalendarData class and refactored all the remaining functions that used it (ICU4C).
X-SVN-Rev: 39190
2016-09-12 21:01:16 +00:00
Markus Scherer
c84e233733 ICU-12420 deprecate COUNT/LIMIT constants whose value may change
X-SVN-Rev: 39164
2016-09-08 22:45:51 +00:00
Yoshito Umaoka
ec3948198e ICU-10232 Updated preprocessro macro again - including xlocale.h except for windows, configure script to set -DU_HAVE_STRTOD_L=1 when strtod_l is available, etc.
X-SVN-Rev: 39144
2016-09-07 07:43:38 +00:00
Yoshito Umaoka
1aa9ba0a42 ICU-10232 Fixed Mac/BSD build issue.
X-SVN-Rev: 39128
2016-09-02 23:23:14 +00:00
Steven R. Loomis
df5c722121 ICU-12704 fix tabs in dtptngen.cpp
X-SVN-Rev: 39125
2016-09-02 21:00:19 +00:00
Yoshito Umaoka
f2d8d1be68 ICU-10232 DigitList to use strtod_l instead of strtod with cached host decimal point on platforms supporting strtod_l. For other platforms, detect host decimal point instead of using cached host decimal point char.
X-SVN-Rev: 39124
2016-09-02 20:58:05 +00:00
Steven R. Loomis
93180d2d73 ICU-12704 change dtptngen.cpp to use LocalMemory<int32_t> instead of LocalArray
LocalArray cannot be used with primitive types.

X-SVN-Rev: 39114
2016-08-31 23:36:19 +00:00
Steven R. Loomis
6f0f7dfa6b ICU-12701 fix missing implicit casts
These are needed for IBM i.

X-SVN-Rev: 39113
2016-08-31 23:15:47 +00:00
Craig Cornelius
2b166d876e ICU-12666 Update C++ RelativeDateTimeFormatter to new data loading scheme
X-SVN-Rev: 39102
2016-08-31 00:46:16 +00:00
Shawn Steele
326552aa72 ICU-12087 - merge updates to use VS2015
X-SVN-Rev: 39085
2016-08-24 20:52:23 +00:00
Fredrik Roubert
3959b30d02 ICU-12140 Pass StringPiece by value, externally.
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/306850043 .

X-SVN-Rev: 39064
2016-08-17 19:07:15 +00:00
Craig Cornelius
d17f99dd61 ICU-12617 Remove duplicate free. Memory check is clean
X-SVN-Rev: 39063
2016-08-17 17:43:05 +00:00
Craig Cornelius
7c79fa85ac ICU-12617 Update data loading, and remove use of CalendarData
X-SVN-Rev: 39053
2016-08-13 00:30:06 +00:00
Shane Carr
d88a4109a5 ICU-11912 Adding more efficient implementation of getDisplayNames(), which was already present in Java
X-SVN-Rev: 39041
2016-08-11 23:29:51 +00:00
Craig Cornelius
463412792e ICU-12149 Add new copyright notice.
X-SVN-Rev: 39028
2016-08-09 22:03:14 +00:00
Fredrik Roubert
de579d3bf9 ICU-12140 Pass StringPiece by value, internally.
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/305000043 .

X-SVN-Rev: 39024
2016-08-04 17:40:53 +00:00
Felipe Balbontín
ef59675c47 ICU-12614 DateFormatSymbols resource bundle data loading update. Remove unused variables.
X-SVN-Rev: 39019
2016-07-25 22:53:35 +00:00
Andy Heninger
549c7646bf ICU-12061 FieldPosition::DONT_CARE API status and doc update. Fix incorrect usage of FieldPosition(0).
X-SVN-Rev: 39017
2016-07-23 04:42:29 +00:00
Shane Carr
0f403155dc ICU-12646 Fixing Coverity code health issues on recently submitted code for TimeZoneNamesImpl and CompactDecimalDataCache
X-SVN-Rev: 39014
2016-07-21 23:01:53 +00:00
Craig Cornelius
32f80a647b ICU-12149 Submit reviewed fix to remove hack
X-SVN-Rev: 39001
2016-07-20 15:44:15 +00:00
Felipe Balbontín
f07359517d ICU-12623 Update DateIntervalInfo in ICU4C to new version of ResourceSink.
X-SVN-Rev: 38979
2016-07-18 22:16:40 +00:00
Yoshito Umaoka
a55516c58f ICU-12047 Added a note in SimpleDateFormat::toLocalizedPattern() API doc in ICU4C.
X-SVN-Rev: 38976
2016-07-18 18:19:11 +00:00
Felipe Balbontín
7708a760c0 ICU-12614 DateFormatSymbols resource bundle data loading update. Fix memory leak in MessageFormat.
X-SVN-Rev: 38973
2016-07-15 23:17:01 +00:00
Felipe Balbontín
578ec591e0 ICU-12614 DateFormatSymbols resource bundle data loading update. Fix memory leak.
X-SVN-Rev: 38971
2016-07-14 21:21:01 +00:00
Shane Carr
fca98f1e7f ICU-11912 Removing unused method 'consumeNoFallback', which was detected in Java unit test coverage.
X-SVN-Rev: 38969
2016-07-13 20:21:07 +00:00
Felipe Balbontín
959d1ed1e0 ICU-12614 DateFormatSymbols resource bundle data loading updated to use the ResourceSink.
X-SVN-Rev: 38967
2016-07-13 18:38:15 +00:00
Felipe Balbontín
bfe100bab8 ICU-12614 Rollback of: DateFormatSymbols resource bundle data loading updated to use the ResourceSink.
X-SVN-Rev: 38963
2016-07-08 23:31:15 +00:00
Felipe Balbontín
f6b7511c46 ICU-12614 DateFormatSymbols resource bundle data loading updated to use the ResourceSink: fixed broken build.
X-SVN-Rev: 38962
2016-07-08 22:19:26 +00:00
Felipe Balbontín
3928bf64d7 ICU-12614 DateFormatSymbols resource bundle data loading updated to use the ResourceSink.
X-SVN-Rev: 38961
2016-07-08 21:17:15 +00:00
Shane Carr
ad409a250e ICU-11912 TimeZoneNames data sink implementation in C++.
X-SVN-Rev: 38960
2016-07-08 18:16:21 +00:00
kazède king
a8ef8ffe6f ICU-12605 add "struct" after "friend"
X-SVN-Rev: 38881
2016-06-24 19:50:12 +00:00
kazède king
b9250c1a6e ICU-12605 convert data enumeration to resource sink for TimeUnitFormat, C++
X-SVN-Rev: 38878
2016-06-24 00:51:49 +00:00
Andy Heninger
79bb830dde ICU-12527 Fix resource leaks in r38824.
X-SVN-Rev: 38876
2016-06-23 22:30:38 +00:00
Andy Heninger
25f3f10204 ICU-7700 Revert change #38862, hour-of-day setting logic, which broke some tests.
X-SVN-Rev: 38865
2016-06-18 21:49:10 +00:00
Shane Carr
ae61a779f5 ICU-12576 Fixing test failures under --disable-release mode.
X-SVN-Rev: 38864
2016-06-18 01:37:37 +00:00
kazède king
dcd6c90e01 ICU-7700 setting HOUR_OF_DAY should also update AM_PM.
X-SVN-Rev: 38862
2016-06-17 23:23:11 +00:00
Shane Carr
85bd97406d ICU-12576 Updating C++ DateTimePatternGenerator to use data sinks.
X-SVN-Rev: 38861
2016-06-17 22:29:19 +00:00
Shane Carr
a40cf4b3a0 ICU-12579 MeasureFormat data sink update, C++ version.
X-SVN-Rev: 38858
2016-06-17 19:16:15 +00:00
Michael Ow
61607c2773 ICU-12564 Update copyright notice in trunk
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Shane Carr
c10eeb4358 ICU-12534 Optimizing currency spacing data loading (C++)
X-SVN-Rev: 38826
2016-06-10 21:49:00 +00:00
Craig Cornelius
457938ebc2 ICU-12527 Updating data loading in SimpleDateFormatter, C++
X-SVN-Rev: 38824
2016-06-10 21:14:36 +00:00
Markus Scherer
1a6d70fa44 ICU-12526 Unicode 9 data 2016-jun-09
X-SVN-Rev: 38820
2016-06-10 00:01:46 +00:00
Andy Heninger
f8aea69ce6 ICU-12153 uspoof_setRestrictionLevel also must enable restriction level checking.
X-SVN-Rev: 38811
2016-06-08 20:16:13 +00:00
kazède king
a45ad52fc5 ICU-12569 Use new sinks for C++.
X-SVN-Rev: 38802
2016-06-06 23:40:54 +00:00
Shane Carr
41fed01112 ICU-11782 Optimizing storage of skeleton field strings in DateTimePatternGenerator (C++).
X-SVN-Rev: 38780
2016-05-31 23:49:11 +00:00
Shane Carr
e2316ceb41 ICU-12528 Optimizing CompactDecimalDataCache data loading using a data sink (C++).
X-SVN-Rev: 38779
2016-05-31 22:48:47 +00:00
Yoshito Umaoka
00ca13e126 ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f ICU-12564 Update copyright notice in ICU4C
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
Markus Scherer
5e69db5c2f ICU-12526 integrate Unicode 9 beta
X-SVN-Rev: 38753
2016-05-19 22:48:18 +00:00
Andy Heninger
3f05ba059e ICU-12065 DateIntervalFormat operator ==, remove from/to calendars from consideration.
X-SVN-Rev: 38749
2016-05-18 00:11:20 +00:00
Andy Heninger
54b8f0c928 ICU-12532 Avoid potential memory mis-alignment of stack-allocated decNum instance.
X-SVN-Rev: 38746
2016-05-16 21:57:34 +00:00
Shane Carr
3f27a9e89d ICU-12521 Fixing C++03 decfmtsym.cpp compiler error.
X-SVN-Rev: 38721
2016-05-09 22:00:25 +00:00
Shane Carr
29e5258904 ICU-12521 Adding C++ version of DecimalFormatSymbols data loading sink.
X-SVN-Rev: 38714
2016-05-06 23:06:26 +00:00