Fredrik Roubert
1a4fc9b009
ICU-22621 Clang-Tidy: modernize-concat-nested-namespaces
...
https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/modernize/concat-nested-namespaces.html
2024-03-13 16:31:47 +01:00
Fredrik Roubert
1384d9f395
ICU-22532 Remove redundant 'void' from empty C++ parameter lists.
...
https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/modernize/redundant-void-arg.html
2023-12-19 09:27:18 +09:00
Fredrik Roubert
a3cbe80909
ICU-21833 Replace U_OVERRIDE with override everywhere.
2023-02-22 18:28:07 +01:00
Fredrik Roubert
2e0d30cfcf
ICU-21833 Replace NULL with nullptr in all C++ code.
2023-02-03 20:20:38 +01:00
Fredrik Roubert
633438f8da
ICU-20973 Change all equality operator return types from UBool to bool.
2021-08-17 00:35:00 +02:00
luz paz
73eca0a9c9
ICU-21580 Fix typos in icu4c/
...
Found via `codespell -q 3 -L ans,anumber,atleast,ba,bre,hace,nd,nin,ois,rsource,som,sur,tht -S icu4c/source/data/zone,icu4c/source/data/lang`
ICU-21580 Fix source (related) typos
ICU-21580 Revert extraneous auto-encoding
ICU-21580 Re-add previous reverted fix without auto-encoding
2021-07-19 13:22:38 -05:00
Markus Scherer
c3fe7e09d8
ICU-21267 stop defining & using FALSE & TRUE macros in public headers
...
See #1282
2020-09-09 15:13:56 -07:00
Frank Tang
e7bd5b1cef
ICU-21109 minimum grouping digits in DecimalFormat
...
See #1152
2020-06-11 14:32:52 -07:00
Peter Edberg
dcfe6c4ada
ICU-20979 BRS 67rc, ICU4C API promotion
2020-04-01 16:28:42 -07:00
Shane F. Carr
6edd38f35f
ICU-20806 Removing obsolete number formatting methods.
...
See #1034
2020-03-24 15:21:32 -05:00
Markus Scherer
5f443972ec
ICU-20814 new tool for checking API tags vs. ifdef guards; add FORCE guards, and move some guards, to make this work
2019-09-23 17:04:53 -07:00
Steven R. Loomis
5a3ea669aa
ICU-20795 ICU4C 65.1 API promotion draft
...
- includes new APIChangeReport.md
- the 'simplification' section is no longer new
- uses tools from [ICU-20162] #807
Includes non-promotion fixes:
- utrace.h: UTRACE_UDATA_BUNDLE
2019-09-09 21:41:04 -07:00
Markus Scherer
f02b496494
ICU-20783 C++ covariant return types: clone(), freeze() & friends
2019-08-22 16:24:41 -07:00
Shane Carr
035eead0e8
ICU-20423 Removing deprecated method toNumberFormatter()
2019-08-13 13:06:52 -07:00
Alon Bar-Lev
a5bbd505d7
ICU-20578 headers: guard all C++ headers using U_SHOW_CPLUSPLUS_API
...
support including all files in C
cleanup and simplify the test/hdrtest
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2019-05-14 17:18:06 -07:00
Peter Edberg
74ff0bf1a4
ICU-20438 64rc BRS, update U_HIDE_ conditionals
2019-02-26 16:32:24 -08:00
Shane Carr
c81d1e94a0
ICU-13591 Refactoring ICU4C MeasureFormat to call NumberFormatter directly.
...
- Removes redundant data loading in MeasureFormat
2019-02-20 19:15:03 -06:00
Shane Carr
8c196b6f89
ICU-20380 Adding error code to DecimalFormat::toNumberFormatter().
2019-02-15 14:37:12 -08:00
Shane Carr
01a24ff78f
ICU-11725 Promoting tech-previews in DecimalFormat to @draft.
...
- Changes Java DecimalFormat boolean get* methods to is*.
- Makes the new draft methods non-virtual.
- Removes obsolete template class in header file.
- Adds proper U_HIDE tags in unum.h and decimfmt.h
2019-02-14 13:50:03 -08:00
Jeff Genovy
00596d3027
ICU-13847 ICU-20381 Improve handling of errors (Out-of-Memory) in DecimalFormat class.
...
- Use move assignment for fields->formatter (LocalizedNumberFormatter) instead of creating new heap object every time.
- Add test cases for DecimalFormat object in invalid state.
- Protect against self-assignment in assignment operator.
- Fix segmentation fault when attempting to compare valid and invalid DecimalFormat objects.
- Changes based on review feedback from Shane.
- Fix minor typos in the public header file.
2019-02-05 14:00:40 -08:00
Jeff Genovy
ba001f4616
ICU-20196 Fix MSVC/clang compiler warning C4251, export explicit template, required for building DLLs on Windows. Also fix a few other warnings as well.
2018-10-05 13:21:00 -07:00
pedberg-icu
bcd0a4165c
ICU-20119 Update ICU4C #ifndef U_HIDE_XXX guard conditionals (PR #183 )
...
ICU-20119 Update ICU4C #ifndef U_HIDE_XXX guard conditionals (PR #183 )
2018-09-30 21:23:42 -07:00
Steven R. Loomis
53986cc57d
ICU-13685 Revert c: add @preview (retry) ( #172 )
...
This reverts commit 25f1589466
from #8
2018-09-27 14:27:42 -07:00
Steven R. Loomis
23389e756c
ICU-13685 c: add @preview (retry) ( #8 )
...
* ICU-13685 - add a @preview tag in Doxygen
* Change @internal to @preview for existing tech preview sites
ICU-13685
2018-09-27 14:27:37 -07:00
Andy Heninger
35ce5296c1
ICU-13810 Doxygen warning cleanup.
2018-09-27 14:27:37 -07:00
Shane Carr
6b7022632b
ICU-13667 Making new DecimalFormat constructor private.
...
X-SVN-Rev: 41489
2018-05-30 21:27:07 +00:00
Peter Edberg
16519f2643
ICU-13667 ICU 62rc BRS, update guard conditionals for non-stable API part 1 (i18n pass 1)
...
X-SVN-Rev: 41486
2018-05-30 18:39:29 +00:00
Shane Carr
4beed11456
ICU-13722 Removing obsolete constructs FmtStackData and UCONFIG_FORMAT_FASTPATHS_49.
...
X-SVN-Rev: 41457
2018-05-25 00:26:00 +00:00
Shane Carr
2af33b7796
ICU-13763 Makes FieldPositionIterator offset by input string length in DecimalFormat, restoring ICU 61 behavior.
...
X-SVN-Rev: 41442
2018-05-23 21:08:53 +00:00
Shane Carr
bc9710aa8b
ICU-13738 Makes DecimalFormat#toNumberFormatter() return by const-reference.
...
X-SVN-Rev: 41327
2018-05-05 01:47:12 +00:00
Shane Carr
0a0d99ebc8
ICU-13662 Improving NumberFormatter field position method names and behavior.
...
X-SVN-Rev: 41313
2018-05-03 01:34:19 +00:00
Shane Carr
6545bac22d
ICU-12931 Adding internal visibility ifdef around format(DecimalQuantity) methods in numfmt.h and decimfmt.h
...
X-SVN-Rev: 41285
2018-04-28 02:38:55 +00:00
Shane Carr
18bfb67a60
ICU-13725 Moving all DecimalFormat fields to an implementation class, eliminating many MSVC warnings.
...
X-SVN-Rev: 41279
2018-04-25 23:57:10 +00:00
Shane Carr
a256316990
ICU-13725 Additional MSVC compatibility fixes.
...
X-SVN-Rev: 41272
2018-04-25 00:39:22 +00:00
Shane Carr
faa2897561
ICU-13634 Changes from pre-merge code light-review.
...
X-SVN-Rev: 41267
2018-04-24 01:19:44 +00:00
Shane Carr
f412770e9d
ICU-13634 A few more DecimalFormat optimizations.
...
X-SVN-Rev: 41257
2018-04-21 06:00:56 +00:00
Shane Carr
ad116997ae
ICU-13634 Optimizing and adding a basic fastpath for small ints. Greatly increases the performance of DateFormat.
...
X-SVN-Rev: 41251
2018-04-19 09:29:39 +00:00
Shane Carr
d682d1dbb1
ICU-13700 Fixing typo in APIdoc.
...
X-SVN-Rev: 41250
2018-04-19 02:41:33 +00:00
Shane Carr
2e41837217
ICU-13700 APIDoc tweaks for getMultiplierScale/setMultiplierScale.
...
X-SVN-Rev: 41247
2018-04-19 00:14:17 +00:00
Shane Carr
1aa5185a36
ICU-13700 Renaming new getter/setter to magnitudeScale.
...
X-SVN-Rev: 41246
2018-04-18 23:55:55 +00:00
Shane Carr
3c9b343282
ICU-13634 Adding "formatFailIfMoreThanMaxDigits" property to C++ NumberFormatter. Changing getSecondaryGroupingSize() for backwards compatibility. Other assorted test changes.
...
X-SVN-Rev: 41239
2018-04-18 03:59:39 +00:00
Shane Carr
02c492db8a
ICU-13700 Adding DecimalFormat "scale" getter/setter and implementation in the new number formatting pipeline.
...
X-SVN-Rev: 41232
2018-04-14 09:49:12 +00:00
Shane Carr
1b4670fd29
ICU-13634 Merging trunk to branch
...
X-SVN-Rev: 41162
2018-03-28 01:08:47 +00:00
Shane Carr
e3180662e2
ICU-13634 Parsing wrapper is working; data-driven file is updated and passing. The C++ and Java implementations have almost identical behavior according to the data-driven test file, with the only differences seeming to involve overflow and extremely large numbers.
...
X-SVN-Rev: 41134
2018-03-21 09:48:55 +00:00
Shane Carr
9828c56014
ICU-13634 Fixing remaining build warnings. In principle, formatting should work fully. Not yet tested.
...
X-SVN-Rev: 41109
2018-03-16 09:20:43 +00:00
Shane Carr
1a95c170d2
ICU-13634 Number property mapper is building. Currently there is a linker error.
...
X-SVN-Rev: 41107
2018-03-15 07:46:56 +00:00
Shane Carr
73fddf50d0
ICU-13634 Filling in decimfmt.cpp with implementation ported from Java.
...
X-SVN-Rev: 41103
2018-03-14 09:15:27 +00:00
Shane Carr
b30a6f0df1
ICU-13634 Filling in more methods in decimfmt.cpp
...
X-SVN-Rev: 41100
2018-03-13 10:11:36 +00:00
Shane Carr
8a50c335fa
ICU-13634 Adding new field structure to DecimalFormat and wiring up constructors.
...
X-SVN-Rev: 41099
2018-03-13 09:25:41 +00:00
Shane Carr
24431ce7a9
ICU-13402 Tweaking NumberFormatter pointers and adding additional pointers on the factory methods in ICU4C and ICU4J.
...
X-SVN-Rev: 41096
2018-03-13 02:14:29 +00:00