Commit Graph

5081 Commits

Author SHA1 Message Date
Shane Carr
7dc15c3372 ICU-13177 Fixing stack buffer overflow in decNumber conversion function.
X-SVN-Rev: 40490
2017-09-27 23:12:20 +00:00
Shane Carr
eb34602c75 ICU-13177 Adding IntlTest DoubleToUnicodeString and improving DecimalQuantity test
X-SVN-Rev: 40486
2017-09-27 22:31:07 +00:00
Andy Heninger
511ebeaa92 ICU-13177 add 'using namespace icu' where needed for build with -DU_USING_ICU_NAMESPACE=0
X-SVN-Rev: 40485
2017-09-27 21:43:09 +00:00
Andy Heninger
6b0ef1848d ICU-13177 Windows build, add U_I18N_API to exported classes. Builds, some warnings. Tests crash.
X-SVN-Rev: 40482
2017-09-27 18:50:44 +00:00
Shane Carr
b40a5ff9eb ICU-13177 Adding more documentation.
X-SVN-Rev: 40476
2017-09-27 09:03:19 +00:00
Andy Heninger
d2e59330cd ICU-13177 NumberFormatter, Visual Studio fixes, work in progress.
X-SVN-Rev: 40475
2017-09-27 06:44:13 +00:00
Shane Carr
2d49e73b8a ICU-13177 Cleanup before merge to trunk.
X-SVN-Rev: 40471
2017-09-27 05:31:57 +00:00
Shane Carr
93d9dc3fe2 ICU-13177 Cleaning up Valgrind errors in NumberFormatter unit test suite.
X-SVN-Rev: 40470
2017-09-27 03:52:08 +00:00
Shane Carr
c55bf3d8bf ICU-13177 Fixing minor NumberTest unit test failures.
X-SVN-Rev: 40469
2017-09-27 03:21:29 +00:00
Shane Carr
0a31ef3eb5 ICU-13177 Removing unused file number_results.h.
X-SVN-Rev: 40468
2017-09-27 03:07:35 +00:00
Shane Carr
d7a61a6e91 ICU-13177 NumberFormatter tests are passing.
X-SVN-Rev: 40467
2017-09-27 03:02:02 +00:00
Shane Carr
a88300f273 ICU-13177 NumberFormatter tests are building.
X-SVN-Rev: 40466
2017-09-27 02:16:44 +00:00
Shane Carr
a01fc429cb ICU-13177 Initial commit of ICU4C NumberFormatter
X-SVN-Rev: 40465
2017-09-27 00:25:20 +00:00
Shane Carr
c09ca5d6b9 ICU-13177 Merging trunk to branch
X-SVN-Rev: 40460
2017-09-26 09:33:44 +00:00
Shane Carr
6001089138 ICU-9300 Adding links to RoundingMode user guide to ICU4C documentation.
X-SVN-Rev: 40458
2017-09-26 07:59:00 +00:00
William Zhao
4bb34584ad ICU-13275 Merge into some W3 warning fixes into trunk
X-SVN-Rev: 40446
2017-09-22 18:00:51 +00:00
Markus Scherer
27c08578ac ICU-13311 change illegal-UTF-8 handling in non-converter code
X-SVN-Rev: 40445
2017-09-21 23:45:08 +00:00
Steven R. Loomis
89765009b4 ICU-13001 warning cleanup
- remove some dead code
- fix some warnings that show up when services, regex are turned off
- change some macros into inline functions to quell parenthesis complaints (ucnv_u16.cpp)

X-SVN-Rev: 40442
2017-09-21 19:43:28 +00:00
Peter Edberg
9075f9cb5a ICU-12380 Size reductions for transliterator registry (and some speedup)
X-SVN-Rev: 40434
2017-09-20 00:39:40 +00:00
Yoshito Umaoka
ed012e1bfb ICU-13312 Fixed getDisplayName crash issue caused by TZDBTimeZoneNames, added a test case for the fix that interate through all time zones.
X-SVN-Rev: 40412
2017-09-14 02:37:44 +00:00
Shane Carr
1f1a485c3c ICU-13177 Adding IFixedDecimal interface to C++.
X-SVN-Rev: 40391
2017-09-13 07:49:26 +00:00
Norbert Runge
52417e2221 ICU-13069 enables code to compile when UCONFIG_NO_NORMALIZATION is set to 1; all unit tests pass.
X-SVN-Rev: 40388
2017-09-12 20:29:14 +00:00
Shane Carr
d0c762e71c ICU-13351 Adding additional CurrencyUnit constructors and stabilizing API constract of MeasureUnit default constructor.
X-SVN-Rev: 40379
2017-09-12 05:20:50 +00:00
Shane Carr
57913822e0 ICU-13177 Internal changes to existing icu4c source.
X-SVN-Rev: 40378
2017-09-10 02:02:02 +00:00
Jugu Dannie Sundar
29cd7b1fc9 ICU-11632 icu4c changes for integer overflow in calendar support
X-SVN-Rev: 40369
2017-09-05 22:22:09 +00:00
Fredrik Roubert
3c9447aaea ICU-13336 Fix common typo: s/langauge/language/ig
X-SVN-Rev: 40361
2017-08-30 18:15:10 +00:00
George Rhoten
994a671e4e ICU-13306 Complete refactoring code based off of code review feedback.
X-SVN-Rev: 40360
2017-08-29 07:19:26 +00:00
George Rhoten
6e33099276 ICU-13306 API consistency changes based off of review feedback.
X-SVN-Rev: 40359
2017-08-29 07:14:27 +00:00
George Rhoten
5eed55e9a5 ICU-13306 Move rounding mode API to superclass as per technical committee review comments.
X-SVN-Rev: 40347
2017-08-23 17:38:00 +00:00
Shane Carr
d9056b1f32 ICU-13285 Adding NumberingSystem constructor methods to DecimalFormatSymbols (J and C).
X-SVN-Rev: 40345
2017-08-17 23:49:00 +00:00
George Rhoten
e3ac9c5561 ICU-13306 Can not get and set rounding attributes for RBNF with C API
X-SVN-Rev: 40343
2017-08-17 23:21:03 +00:00
Andy Heninger
f1d850bf8d ICU-13288 changes for jumbo compilation.
X-SVN-Rev: 40327
2017-08-11 21:38:54 +00:00
Yoshito Umaoka
7c31981bd0 ICU-13301 Removed redundant UVector entry clean up function call.
X-SVN-Rev: 40324
2017-08-09 19:13:30 +00:00
William Zhao
00586e9f97 ICU-13275 Merge some safe warning fixes to the trunk
X-SVN-Rev: 40322
2017-08-08 19:51:54 +00:00
Jeff Genovy
0a3a7fb889 ICU-13287 Add explicit casts for conversions between long/int64 and double.
X-SVN-Rev: 40310
2017-08-03 20:44:45 +00:00
William Zhao
0ed701f7bb ICU-13292 Merge the changes for fixing C4251 warning into trunk
X-SVN-Rev: 40308
2017-08-03 00:13:43 +00:00
Jeff Genovy
3893b1a1b7 ICU-13051 Fix some compiler warnings when building with gcc.
X-SVN-Rev: 40287
2017-07-26 21:13:50 +00:00
Shane Carr
112d214d29 ICU-13246 Save a few cycles by performing util64_pow multiply only when needed.
X-SVN-Rev: 40285
2017-07-24 22:00:22 +00:00
William Zhao
d847a21238 ICU-13275 Merge warning cleanup fixes into trunk
X-SVN-Rev: 40283
2017-07-22 01:11:59 +00:00
William Zhao
3da97c910d ICU-13275 Revert the previous changes to the trunk.
X-SVN-Rev: 40262
2017-07-13 23:26:06 +00:00
William Zhao
11a9b11c56 ICU-13275
This commit fixes compiler warnings when building at /W2.

1. Fix cast warnings for the two files.
2. Fix unreferenced variable warning for the two files.

X-SVN-Rev: 40261
2017-07-13 22:49:57 +00:00
Peter Edberg
2cea868e02 ICU-13006 DateFormat.setNumberFormat should clone the NumberFormat and also call setGroupingUsed(false)
X-SVN-Rev: 40198
2017-06-23 06:26:30 +00:00
Peter Edberg
d515102c5a ICU-13215 DayPeriodRules.getInstance should ignore keywords to get correct data and not hang
X-SVN-Rev: 40196
2017-06-23 05:02:12 +00:00
Shane Carr
a5e7ffb0d9 ICU-13246 Changing util64_pow to work on uint64_t to fix signed integer overflow warning in Clang
X-SVN-Rev: 40174
2017-06-17 00:48:17 +00:00
Andy Heninger
7d05feb7a6 ICU-13207 Fix some resource leaks.
X-SVN-Rev: 40167
2017-06-13 18:33:59 +00:00
Yoshito Umaoka
694142470e ICU-13159 Updating ICU version in trunk to 60.0.1 (60m1) - merging changes from my work branch.
X-SVN-Rev: 40145
2017-05-31 16:50:38 +00:00
George Rhoten
6b9bbb9d9d ICU-13206 Don't write multiple expressions onto a single line.
X-SVN-Rev: 40135
2017-05-24 18:20:04 +00:00
Peter Edberg
e2e48c9dce ICU-13183 for compatibility, get(Base)Skeleton should not include 'a' added by DateTimeMatcher; add tests
X-SVN-Rev: 40133
2017-05-24 06:57:45 +00:00
Peter Edberg
56e884e22e ICU-13183 on branch - Handle different field lengths for skeleton metachars j,C
X-SVN-Rev: 40126
2017-05-22 22:24:39 +00:00
Peter Edberg
7dd19b65ab ICU-13183 on branch - Handle abB as normal fields but force add/remove depending on hour field; other fixes
X-SVN-Rev: 40124
2017-05-22 06:16:11 +00:00