George Rhoten
9a011771da
ICU-11653 Override roundingMode API from the NumberFormat superclass so that it doesn't throw an exception.
...
X-SVN-Rev: 37812
2015-08-25 19:33:18 +00:00
George Rhoten
7fcc6e5165
ICU-8223 Fix a compiler issue from the last change.
...
X-SVN-Rev: 37811
2015-08-25 17:43:22 +00:00
George Rhoten
e097e1b9ee
ICU-8223 Add rule syntax for NaN, infinity and alternate decimal points.
...
Other issues addressed:
* Some performance enhancements were added for good measure. Creating new RuleBasedNumberFormat objects can take a long time due to all the rule parsing. This was ported from ICU4J.
* I fixed a potential infinite recursion problem when RuleBasedNumberFormat used NumberFormat.createInstance, which could occasionally depend on creating RuleBasedNumberFormat for itself, which was bad. This was ported from ICU4J.
* I fixed a potential memory leak due to lazy initialization of some RBNF data members in a multithreaded environment, which is fine in Java, but it's not okay in C++. We no longer cast away const due to this, which is good.
* There were some compiler warnings and errors found while trying to debug this code on my machine. I fixed those too.
X-SVN-Rev: 37810
2015-08-25 16:55:52 +00:00
Markus Scherer
056237d6db
ICU-11004 bulk-read data from ByteBuffer; read .res key strings up front into byte[] for faster lookup
...
X-SVN-Rev: 37806
2015-08-24 20:30:44 +00:00
Markus Scherer
0f0c27a025
ICU-11537 fix .res formatVersion check
...
X-SVN-Rev: 37796
2015-08-21 21:06:38 +00:00
Markus Scherer
0dc9a5eda5
ICU-11537 fix .res formatVersion check
...
X-SVN-Rev: 37795
2015-08-21 20:50:48 +00:00
Andy Heninger
60dcad0436
ICU-11794 add uprv_isInvariantUnicodeString(), as requested by Markus
...
X-SVN-Rev: 37794
2015-08-21 17:32:53 +00:00
Andy Heninger
38d07de467
ICU-11031 cache spoof check data (ICU4C).
...
X-SVN-Rev: 37793
2015-08-21 01:23:29 +00:00
Andy Heninger
80a6684a7b
ICU-11794 change error handling of CharString::appendInvariantChars()
...
X-SVN-Rev: 37790
2015-08-20 00:55:03 +00:00
George Rhoten
8653b95982
ICU-11760 Add rule syntax for NaN, infinity and alternate decimal points.
...
Some performance enhancements were added for good measure too. Creating new RuleBasedNumberFormat objects can take a long time due to all the rule parsing.
Also I fixed a potential infinite recursion problem when RuleBasedNumberFormat used NumberFormat.createInstance, which could occasionally depend on creating RuleBasedNumberFormat for itself, which was bad.
X-SVN-Rev: 37778
2015-08-17 08:38:34 +00:00
Travis Keep
03eab980da
ICU-11779 Fix parameter names in documentation.
...
X-SVN-Rev: 37774
2015-08-13 22:46:04 +00:00
Travis Keep
6ed4b6178a
ICU-11779 Introduce static versions of DTPNG getSkeleton and getBaseSkeleton
...
X-SVN-Rev: 37771
2015-08-13 22:09:13 +00:00
Andy Heninger
d3bb77fac4
ICU-11821 Fix break rules inconsistencies in line_normal_cj.txt
...
X-SVN-Rev: 37766
2015-08-13 00:59:32 +00:00
Yoshito Umaoka
60618537be
ICU-11630 tzdata2015f to ICU4J
...
X-SVN-Rev: 37764
2015-08-12 20:25:20 +00:00
Yoshito Umaoka
11c67d080d
ICU-11630 tzdata2015f to ICU4C
...
X-SVN-Rev: 37763
2015-08-12 20:23:09 +00:00
Fredrik Roubert
1b61660ea6
ICU-11789 Always specify class loader when loading test data.
...
X-SVN-Rev: 37758
2015-08-12 15:24:01 +00:00
Andy Heninger
d968950ccc
ICU-11821 Fix break rules inconsistencies in line_loose_cj.txt
...
X-SVN-Rev: 37756
2015-08-11 23:58:23 +00:00
Andy Heninger
be289c204d
ICU-11821 fix bug in line_loose break rules.
...
X-SVN-Rev: 37738
2015-08-07 21:47:38 +00:00
Markus Scherer
e1ea4422bc
ICU-11537 genrb write .res formatVersion 2 if it would default to 3 without benefit: even if the pool bundle has string values, if they are not in fact shared
...
X-SVN-Rev: 37737
2015-08-07 21:36:08 +00:00
Markus Scherer
00ae09aa36
ICU-11537 genrb write .res formatVersion 2 if it would default to 3 without benefit: without sharing pool bundle string values
...
X-SVN-Rev: 37736
2015-08-07 21:05:32 +00:00
Markus Scherer
9e0d7d9554
ICU-11537 move shared resource bundle string values to pool.res, .res formatVersion 3
...
X-SVN-Rev: 37732
2015-08-07 18:46:21 +00:00
Markus Scherer
36e5d9e75f
ICU-11537 move shared resource bundle string values to pool.res, .res formatVersion 3; merge --integrate from dev branch, plus make toolutil/pkgitems.cpp set poolBundleStrings so that icupkg can check dependencies
...
X-SVN-Rev: 37731
2015-08-07 18:44:38 +00:00
Travis Keep
0a10ba1d7e
ICU-11767 Fix brokenbuild.
...
X-SVN-Rev: 37730
2015-08-07 13:39:05 +00:00
Travis Keep
abb16f16c5
ICU-11767 Try to fix failing test.
...
X-SVN-Rev: 37728
2015-08-06 20:19:23 +00:00
Travis Keep
8b18741503
ICU-11767 Bound the ICU UnifiedCache.
...
X-SVN-Rev: 37723
2015-08-05 20:21:14 +00:00
Steven R. Loomis
f87d28cfd2
ICU-11248 merge to trunk: FilteredBreakIteratorBuilder work
...
* passes rbbi extended tests
* uses <locale en@x-uli=true> in rbbitst.txt,
so added a "known issue" for this when en@ss=standard will suffice.
X-SVN-Rev: 37721
2015-08-05 00:03:18 +00:00
Steven R. Loomis
8945010819
ICU-11248 improve organization of sources within project files
...
X-SVN-Rev: 37718
2015-08-04 22:22:15 +00:00
Steven R. Loomis
1932141fa1
ICU-11689 fix some ignores under cygwin/msvc
...
X-SVN-Rev: 37706
2015-07-30 22:52:11 +00:00
Steven R. Loomis
5816851466
ICU-11689 add assertEquals(double..)
...
X-SVN-Rev: 37705
2015-07-30 22:45:39 +00:00
Steven R. Loomis
f70eb29726
ICU-11689 remove ICU-231 patch for VS2015 ufile.c
...
X-SVN-Rev: 37704
2015-07-30 22:29:51 +00:00
Michael Ow
5c9e64e2d4
ICU-11759 Remove unused constant
...
X-SVN-Rev: 37702
2015-07-28 17:53:12 +00:00
Michael Ow
2f866f7436
ICU-11757 Fix initializer list order
...
X-SVN-Rev: 37701
2015-07-28 17:50:08 +00:00
Michael Ow
7647eff8f5
ICU-11744 Ensure that array is initialized correctly
...
X-SVN-Rev: 37700
2015-07-28 17:29:43 +00:00
Steven R. Loomis
016486aad1
ICU-11790 fix to resource leaks on error conditions
...
(Corrected bad previous checkin)
X-SVN-Rev: 37698
2015-07-27 22:20:39 +00:00
Steven R. Loomis
8fc8498655
ICU-11790 fix to resource leaks on error conditions
...
X-SVN-Rev: 37697
2015-07-27 22:05:52 +00:00
Steven R. Loomis
7c2cd2be1a
ICU-11248 Improve SimpleFilteredSentenceBreakIterator.hashCode
...
X-SVN-Rev: 37680
2015-07-18 00:18:17 +00:00
Steven R. Loomis
9edacf9fa9
ICU-11771 move FilteredBreakIterator from i18n to common
...
X-SVN-Rev: 37676
2015-07-16 21:02:06 +00:00
Steven R. Loomis
77cd9e6aa4
ICU-11763 turn icuplugs off by default
...
add "--enable-plugins" to configure, and also "UCONFIG_ENABLE_PLUGINS".
These are disabled by default.
Also, start splitting out acinclude.m4 content to source/config/m4/..
X-SVN-Rev: 37675
2015-07-16 18:13:02 +00:00
Andy Heninger
87da174aa0
ICU-11776 Thread safety fixes in data loading.
...
X-SVN-Rev: 37670
2015-07-15 22:09:25 +00:00
Markus Scherer
9dbf370b21
ICU-11599 simplify preprocessor conditions for U_HAVE_CLANG_ATOMICS
...
X-SVN-Rev: 37667
2015-07-15 20:04:11 +00:00
Markus Scherer
3fafa669d7
ICU-11761 init fStringsForm with named constant
...
X-SVN-Rev: 37657
2015-07-08 23:14:47 +00:00
Markus Scherer
f527e0b536
ICU-11761 stringSet strings are unique
...
X-SVN-Rev: 37656
2015-07-08 22:37:20 +00:00
Markus Scherer
459c8d0e81
ICU-11761 reslist.cpp force explicit UnicodeString constructors, like other genrb .cpp files
...
X-SVN-Rev: 37655
2015-07-08 22:24:54 +00:00
Markus Scherer
c1f7be3ffe
ICU-11761 bug fix: always begin 16BitUnits[] with a 0 for empty resources, see uresdata.h (was almost always true before r37644)
...
X-SVN-Rev: 37654
2015-07-08 22:07:52 +00:00
Markus Scherer
5d7b60d863
ICU-11761 include assert.h
...
X-SVN-Rev: 37653
2015-07-08 18:17:53 +00:00
Markus Scherer
f87b2c9b3c
ICU-11761 share equal strings even if they need explicit length; more generic root resource for flexibility (experiment with more work on pool bundles)
...
X-SVN-Rev: 37649
2015-07-07 18:50:21 +00:00
Markus Scherer
18e27b35d6
ICU-11761 more readable pool bundle usage & string compacting
...
X-SVN-Rev: 37645
2015-07-03 17:09:17 +00:00
Markus Scherer
a1348758c1
ICU-11761 simpler memory management with UnicodeString & LocalArray
...
X-SVN-Rev: 37644
2015-07-03 02:12:17 +00:00
Markus Scherer
9312cb2d1a
ICU-11761 SResource virtual dispatch for preflighting & writing resources; C++ify some of SRBRoot
...
X-SVN-Rev: 37643
2015-07-02 23:51:09 +00:00
Fredrik Roubert
e2d4e965d2
ICU-11753 Resource directory path must end with a slash
...
R=markus.icu@gmail.com
Review URL: https://codereview.appspot.com/252750043 .
X-SVN-Rev: 37639
2015-07-01 17:37:18 +00:00