Commit Graph

20533 Commits

Author SHA1 Message Date
Steven R. Loomis
5b0ff67dfa ICU-10684 fix int32 to uint32
X-SVN-Rev: 38144
2015-12-17 18:12:56 +00:00
Steven R. Loomis
6f25906b7f ICU-11865 Layout update
Upstream: http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/efc8652da937

X-SVN-Rev: 38143
2015-12-17 01:43:38 +00:00
Steven R. Loomis
3ff0ac77ad ICU-10684 merge in Layout updates
Upstream: http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/9d29c19f1de1

X-SVN-Rev: 38142
2015-12-17 01:36:04 +00:00
Steven R. Loomis
32af290668 ICU-12020 merge in Layout updates
Upstream: http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/dbb4e2bdfa9e

One missed patch in MorphTables.cpp (noted in ticket)

X-SVN-Rev: 38141
2015-12-17 01:29:24 +00:00
Markus Scherer
b24d71cf90 ICU-12041 check that per-unit patterns have one placeholder, fix patterns
X-SVN-Rev: 38139
2015-12-16 22:29:21 +00:00
Markus Scherer
ddfb23cc4c ICU-12031 define StandardPlural::indexFromString(const UnicodeString &keyword, UErrorCode &errorCode)
X-SVN-Rev: 38137
2015-12-16 05:36:59 +00:00
Markus Scherer
758b66dbca ICU-12030 MeasureFormat handle by-plural-form sideways-aliasing, by not bundling plural forms into a QuantityFormatter, port from Java
X-SVN-Rev: 38136
2015-12-16 04:41:33 +00:00
Markus Scherer
8c6d77a375 ICU-12031 StandardPlural from UnicodeString
X-SVN-Rev: 38134
2015-12-16 04:21:28 +00:00
Andy Heninger
4f959e2bc7 ICU-11710 remove review note comment.
X-SVN-Rev: 38133
2015-12-15 21:23:37 +00:00
Andy Heninger
0b2778f3bb ICU-11461 Remove unused setInteger functionality from DigitList
X-SVN-Rev: 38131
2015-12-15 19:37:36 +00:00
Markus Scherer
4c96f9a866 ICU-12031 port enum StandardPlural to C++
X-SVN-Rev: 38130
2015-12-14 21:57:41 +00:00
Andy Heninger
bb50b15953 ICU-11710 TimeUnitFormat, fix compile error in previous commit.
X-SVN-Rev: 38127
2015-12-14 05:10:38 +00:00
Andy Heninger
22dfe1dd38 ICU-11710 Use LocalPointer in TimeUnitFormat impl.
X-SVN-Rev: 38126
2015-12-14 04:41:52 +00:00
Michael Ow
03392ddd85 ICU-12026 Add .size to gcc assembly code
X-SVN-Rev: 38117
2015-12-10 14:36:50 +00:00
Andy Heninger
18450a9957 ICU-12028 Compiler warning cleanup.
X-SVN-Rev: 38116
2015-12-09 02:11:07 +00:00
Michael Ow
ea597d89d1 ICU-11961 Fix delete statement
X-SVN-Rev: 38111
2015-12-08 05:13:49 +00:00
Andy Heninger
ad1bbbe97b ICU-12027 Improved thread safety of RuleBasedTransliterator.
X-SVN-Rev: 38110
2015-12-08 01:29:24 +00:00
Andy Heninger
f673fc0cf1 ICU-11961 tweak Windows project file for build breakage
X-SVN-Rev: 38109
2015-12-04 01:10:18 +00:00
Andy Heninger
d4e3d2c088 ICU-11961 Multi-thread slow tests TimeZoneFormatTest/TestTimeRoundTrip and CalendarLimitTest/TestLimits
X-SVN-Rev: 38108
2015-12-03 23:10:38 +00:00
Markus Scherer
5a7ff3049b ICU-11986 MeasureFormat unit display patterns need to fall back to the parent locales per plural form, not as a set; add MeasureFormatTest::TestIndividualPluralFallback(); fix RelativeDateTimeFormatterTest::TestSerbianFallback() test data
X-SVN-Rev: 38103
2015-12-02 22:54:54 +00:00
Andy Heninger
8b03bbc037 ICU-12014 fix float-cast-overflow in rbnf.cpp
X-SVN-Rev: 38102
2015-12-02 22:31:56 +00:00
Markus Scherer
724f7b5c10 ICU-11986 const ResourceValue references, sink.leave(), some more specific types in MeasureFormat code
X-SVN-Rev: 38094
2015-11-19 22:33:25 +00:00
Michael Ow
d0ed7b3b60 ICU-11987 Apply patch for TZ detection
X-SVN-Rev: 38093
2015-11-19 21:16:12 +00:00
Michael Ow
83732e4bec ICU-11968 Fix test error on zos
X-SVN-Rev: 38092
2015-11-19 20:57:59 +00:00
Michael Ow
a8b1972f92 ICU-11835 Fix solaris default locale detection issue
X-SVN-Rev: 38091
2015-11-19 19:44:04 +00:00
Michael Ow
257d5a0a27 ICU-11809 Null terminate buffer in initCurrency
X-SVN-Rev: 38090
2015-11-19 18:58:42 +00:00
Fredrik Roubert
25f9110090 ICU-11985 Handle 'j' and 'J' in date time pattern skeletons.
R=mark.edward.davis@gmail.com, markus.icu@gmail.com, pedberg@apple.com

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

X-SVN-Rev: 38089
2015-11-18 12:29:17 +00:00
Markus Scherer
d5877ebe4e ICU-11986 use prefix Resource for C++ classes, prefix UResource for C types
X-SVN-Rev: 38087
2015-11-18 00:18:28 +00:00
Michael Ow
a47a3679ac ICU-11979 Fix max char size for iso-2022-kr in icu4c
X-SVN-Rev: 38086
2015-11-17 23:08:52 +00:00
Markus Scherer
7c7b8ee870 ICU-11986 more compact MeasureFormat data sink declaration+defition, add comments
X-SVN-Rev: 38084
2015-11-16 23:50:58 +00:00
Markus Scherer
2810d28dd7 ICU-11986 do not duplicate MeasureFormat data for sideways-fallback aliases
X-SVN-Rev: 38083
2015-11-14 00:31:21 +00:00
Markus Scherer
147ca53163 ICU-11986 enumerate most of the measurement unit formatting data, rather than lookup-with-fallback for each piece; adds necessary fallback on leaf level
X-SVN-Rev: 38082
2015-11-12 22:09:04 +00:00
Michael Ow
64bd7cbf4f ICU-11959 Apply patch for flag parser
X-SVN-Rev: 38081
2015-10-28 20:16:51 +00:00
Michael Ow
385c8dd53d ICU-11793 Add validation check to len
X-SVN-Rev: 38080
2015-10-28 16:30:28 +00:00
Michael Ow
9409eecc4c ICU-11939 Close resource bundle after use
X-SVN-Rev: 38078
2015-10-21 20:39:15 +00:00
Yoshito Umaoka
cfc9e2fdd8 ICU-11962 tzdata2015g to ICU4C trunk
X-SVN-Rev: 38058
2015-10-10 05:16:46 +00:00
Andy Heninger
8dba7301b7 ICU-11554 Fix regex bug with look-behind matching & UTF-8 input.
X-SVN-Rev: 38056
2015-10-09 20:01:46 +00:00
Andy Heninger
5f297b7ad2 ICU-11856 Intltest messages, use system codepage conversion.
X-SVN-Rev: 38055
2015-10-09 18:14:23 +00:00
Andy Heninger
0464cceedf ICU-11857 Add CStr class for easier UnicodeString to char * conversions.
X-SVN-Rev: 38054
2015-10-09 17:53:44 +00:00
Andy Heninger
21720c5627 ICU-11927 source/data/build.xml, update specification of break iterator .txt files.
X-SVN-Rev: 38053
2015-10-08 23:28:06 +00:00
Andy Heninger
d06ffe0e27 ICU-10616 break iterator data files, separate rules, dictinaries and locales.
X-SVN-Rev: 38052
2015-10-08 22:20:33 +00:00
Andy Heninger
9b8403900a ICU-11507 Regex, fix problem with backrefs of unpaired surrogates.
X-SVN-Rev: 38038
2015-10-06 23:59:28 +00:00
Andy Heninger
1c869c6791 ICU-11657 Synchronize intltest message output.
X-SVN-Rev: 38036
2015-10-06 23:13:49 +00:00
Michael Ow
48d33a120f ICU-11944 Update readme
X-SVN-Rev: 38033
2015-10-02 21:59:36 +00:00
Michael Ow
09a524734f ICU-11917 Update API Change report
X-SVN-Rev: 38016
2015-09-23 21:10:35 +00:00
Michael Ow
6857dbc99e ICU-11917 Add missing API tag
X-SVN-Rev: 38015
2015-09-23 20:58:51 +00:00
Michael Ow
04b5b54998 ICU-11869 Update 2022 code in ICU4C
X-SVN-Rev: 38014
2015-09-23 20:49:25 +00:00
Peter Edberg
10053e8a55 ICU-11929 (C) Rename MeasureUnit methods createGeneric, createRevolution
X-SVN-Rev: 38009
2015-09-23 18:32:26 +00:00
Michael Ow
eef7281848 ICU-11869 Add fix to JIS8 and other ISO2022JP
X-SVN-Rev: 38002
2015-09-23 05:22:40 +00:00
Steven R. Loomis
065b39323a ICU-11917 fixes for UCONFIG_ENABLE_PLUGINS
* \def had incorrect macro name
* update Doxyfile.in to show uplug API

X-SVN-Rev: 37996
2015-09-22 22:51:32 +00:00
Markus Scherer
436f13cb31 ICU-11917 ICU 56 dependencies updates
X-SVN-Rev: 37995
2015-09-22 21:52:06 +00:00
Markus Scherer
949c45546a ICU-11917 fix return from void function
X-SVN-Rev: 37994
2015-09-22 21:51:31 +00:00
Markus Scherer
9d080ee08a ICU-11917 virtual destructors must be defined explicitly, out-of-line, first virtual method
X-SVN-Rev: 37993
2015-09-22 21:51:03 +00:00
Michael Ow
5d62893d05 ICU-11917 Fix svn prop and line endings
X-SVN-Rev: 37987
2015-09-22 16:45:44 +00:00
Michael Ow
0f3551c762 ICU-11917 Check in some uconfig test error fixes
X-SVN-Rev: 37986
2015-09-22 16:24:52 +00:00
Michael Ow
fdd235d5e5 ICU-11917 Fix no data test errors in ICU4C 56
X-SVN-Rev: 37981
2015-09-22 04:02:11 +00:00
Peter Edberg
87970fe888 ICU-11917 BRS, Update macros #ifndef U_HIDE_DRAFT/INTERNAL/DEPRECATED_API
X-SVN-Rev: 37976
2015-09-21 20:23:38 +00:00
Michael Ow
2657e9f6c6 ICU-11917 Add missing deprecated flags
X-SVN-Rev: 37975
2015-09-21 19:14:44 +00:00
Peter Edberg
ef2b7b4c78 ICU-11917 BRS, update urename.h
X-SVN-Rev: 37972
2015-09-18 01:52:46 +00:00
Michael Ow
d6814bf17d ICU-11917 Regenerate configure for ICU 56
X-SVN-Rev: 37971
2015-09-17 18:48:01 +00:00
Michael Ow
888950485a ICU-11917 Update version number in ICU4C to 56.1
X-SVN-Rev: 37970
2015-09-17 18:41:58 +00:00
Michael Ow
148ec9f9e5 ICU-11917 Promote 54 draft API to stable
X-SVN-Rev: 37969
2015-09-17 18:25:20 +00:00
Markus Scherer
815ae73855 ICU-11790 UnicodeString rather than LocalPointer<UnicodeString>; moveFrom() = adoptInstead(orphan())
X-SVN-Rev: 37965
2015-09-16 18:32:43 +00:00
Markus Scherer
e95ec1d6a3 ICU-11917 ICU 56 pool bundles update
X-SVN-Rev: 37964
2015-09-16 16:53:55 +00:00
Scott Russell
c179cf974c ICU-11572 API proposal updates for approved constants
X-SVN-Rev: 37961
2015-09-16 00:14:58 +00:00
Steven R. Loomis
39f7040439 ICU-11886 unsafe-backward set, review comments
. remove #if 0's and stray comments
. cleanup UnicodeSet docs (deserialize does not freeze)
. remove dead code in collationdatareader.cpp

X-SVN-Rev: 37960
2015-09-15 21:42:56 +00:00
Markus Scherer
99febdc465 ICU-11750 defer & simplify fetching code points from CharacterIterator, test normalization boundaries from both sides
X-SVN-Rev: 37959
2015-09-15 21:04:29 +00:00
Markus Scherer
5faab922bd ICU-11709 do not clobber existing UErrorCode failure code, do not orphan() names until you know that the Enumeration was allocated and thus did adopt
X-SVN-Rev: 37956
2015-09-15 18:03:08 +00:00
Markus Scherer
536f59d246 ICU-11886 simple test case for the UnicodeSet.toPattern() problem, to be fixed with ticket #11891
X-SVN-Rev: 37954
2015-09-14 23:22:05 +00:00
Peter Edberg
c828e3fd29 ICU-11750 Try to avoid uninitialized variable error in memcheck buildbot
X-SVN-Rev: 37953
2015-09-14 07:02:46 +00:00
Peter Edberg
525a00b02e ICU-11750 Improve comments again
X-SVN-Rev: 37951
2015-09-13 18:58:19 +00:00
Peter Edberg
79589c201a ICU-11750 Improve comments
X-SVN-Rev: 37950
2015-09-13 17:14:34 +00:00
Peter Edberg
ae7f45d5c1 ICU-11750 For Indic search: Allow match end at normalization boundary in middle of grapheme cluster
X-SVN-Rev: 37949
2015-09-13 07:43:51 +00:00
Steven R. Loomis
9bb043757a ICU-11248 promote FilteredBreakIterator to draft
X-SVN-Rev: 37948
2015-09-12 01:11:53 +00:00
Markus Scherer
69543d559e ICU-11016 add support for minimum grouping digits (technology preview, not using CLDR data yet)
X-SVN-Rev: 37946
2015-09-11 19:18:00 +00:00
Steven R. Loomis
39f698cbc3 ICU-11437 revert r37938 r37939 (also ICU-11435 ) - try to unbreak Solaris
X-SVN-Rev: 37945
2015-09-11 02:01:12 +00:00
Peter Edberg
4f8296e079 ICU-11709 Fix leak in NumberingSystem::getAvailableNames; rename variables to avoid confusion
X-SVN-Rev: 37944
2015-09-10 22:49:03 +00:00
Steven R. Loomis
98f5987b43 ICU-11248 use '@ss=' and not x-uli
remove an old test hack.

X-SVN-Rev: 37940
2015-09-10 07:00:30 +00:00
Steven R. Loomis
e12c286572 ICU-11437 endianness detection on bsd
X-SVN-Rev: 37939
2015-09-10 06:43:39 +00:00
Steven R. Loomis
a6fd360ff3 ICU-11435 Bitrig fixes.
Incorporates ICU-11881 and ICU-11882 

X-SVN-Rev: 37938
2015-09-10 06:26:57 +00:00
Steven R. Loomis
db7c01cf1f ICU-11435 SmartOS fixes
X-SVN-Rev: 37937
2015-09-10 06:20:47 +00:00
Steven R. Loomis
9ab86aaddb ICU-11786 fix FilteredBreakIterator::last()
* last() was defective
* update the test case
* remove the logknownissue

X-SVN-Rev: 37936
2015-09-10 06:00:44 +00:00
Peter Edberg
5d1a2fa6bd ICU-11787 Add support for UNUM_CURRENCY_STANDARD and locale u-ext key -cf- (C)
X-SVN-Rev: 37935
2015-09-10 05:40:20 +00:00
Steven R. Loomis
6b8c10a398 ICU-11826 fix makeconv linkage change that broke on non-Windows
You can please some of the platforms some of the time…

X-SVN-Rev: 37933
2015-09-10 02:39:41 +00:00
Steven R. Loomis
03bf2882a9 ICU-11886 workaround for test failures- disable TestUCAUnsafeBackwards on Windows
X-SVN-Rev: 37932
2015-09-10 02:35:00 +00:00
Steven R. Loomis
9d91ee05db ICU-11826 makeconf.cpp fix for Windows linkage
X-SVN-Rev: 37931
2015-09-10 02:06:33 +00:00
Markus Scherer
0f0c7656d3 ICU-11832 some better error checking based on static code analysis
X-SVN-Rev: 37930
2015-09-10 01:42:34 +00:00
Steven R. Loomis
94fe10c710 ICU-11886 Speed up ucol_open by 21%
* implement a deserialize constructor for UnicodeSet
 * add test cases for same
* add a generator (`gencolusb`) which can build `source/i18n/collunsafe.h`
* Note that for bootstrapping `collunsafe.h` can be truncated (zero length).

X-SVN-Rev: 37929
2015-09-10 01:39:06 +00:00
Peter Edberg
b5fe5f98c4 ICU-11791 Fix leak in FilteredBreakIteratorBuilder::createInstance for "zh", "fi", ... (i.e. failure case)
X-SVN-Rev: 37928
2015-09-10 00:18:11 +00:00
Markus Scherer
b574c33a88 ICU-11873 fix memory leak in samples/layout/paragraph.cpp class Paragraph
X-SVN-Rev: 37924
2015-09-09 19:44:48 +00:00
Markus Scherer
2769a64643 ICU-11863 pkgdata.cpp define & use LocalPipeFilePointer (auto pointer) for popen/pclose
X-SVN-Rev: 37921
2015-09-09 18:47:00 +00:00
Peter Edberg
cd4634345e ICU-11770 If locale has ss-standard, sentence break iterator uses suppressions data via FilteredBreakIterator
X-SVN-Rev: 37914
2015-09-09 04:05:01 +00:00
Peter Edberg
e4d76d4125 ICU-11786 Terminate internalNext/Prev when we reach text limit, not just at UBRK_DONE, so more tests for #11770 can pass
X-SVN-Rev: 37913
2015-09-09 03:55:20 +00:00
Travis Keep
b49ad21ea8 ICU-11740 Final sync of C and J copies of data driven tests.
X-SVN-Rev: 37910
2015-09-09 00:09:32 +00:00
Michael Ow
784e59b2ae ICU-11869 Update jis8 test for edge case
X-SVN-Rev: 37907
2015-09-08 22:37:30 +00:00
Michael Ow
623c907a81 ICU-11869 Update charset pref order for jis8
X-SVN-Rev: 37905
2015-09-08 22:35:02 +00:00
Markus Scherer
d42e632251 ICU-11830 genrb.cpp: use CharString for pool file name & current file name; use LocalPointer for newPoolBundle; use UErrorCode reference not pointer
X-SVN-Rev: 37904
2015-09-08 21:44:49 +00:00
Markus Scherer
436d5a6ddc ICU-11829 change derb.c to .cpp; use CharString & UnicodeString for building strings; remove unused converter variable; use UPRV_LENGTHOF()
X-SVN-Rev: 37903
2015-09-08 21:08:55 +00:00
Markus Scherer
f9b98d9b6f ICU-11826 makeconv main() use CharString for outFileName; change from .c to .cpp; CharString add lastIndexOf(char) and ensureEndsWithFileSeparator()
X-SVN-Rev: 37902
2015-09-08 19:54:38 +00:00
Peter Edberg
7e03903fd5 ICU-11773 Improve test, fix typo (C)
X-SVN-Rev: 37900
2015-09-08 02:25:24 +00:00
Peter Edberg
49d4ab5ee6 ICU-11773 Withdraw COLON as pattern char, leave support for UDAT_TIME_SEPARATOR_FIELD (C)
X-SVN-Rev: 37898
2015-09-07 22:39:49 +00:00
Markus Scherer
8fb97395f8 ICU-11860 separate init-once of uspoof statics (for most functions) from init-once of uspoof default data (only for uspoof_open()); gencfu calls uspoof_openFromSource() for building the default data, so uspoof_openFromSource() must not require that default data
X-SVN-Rev: 37897
2015-09-07 01:48:29 +00:00
Markus Scherer
1e736e034b ICU-11704 better/simpler memory management in toolutil/pkg_icu.cpp writePackageDatFile()
X-SVN-Rev: 37896
2015-09-07 01:32:31 +00:00
Markus Scherer
a97583a817 ICU-11860 uspoof_openFromSource() initializes static variables; isolate test code for uspoof_openFromSource() so that initialization can be tested
X-SVN-Rev: 37895
2015-09-07 01:18:49 +00:00
Markus Scherer
cd67ec8ed6 ICU-11765 fix u_charsToUChars() string length and make its destination buffer large enough
X-SVN-Rev: 37894
2015-09-07 00:38:38 +00:00
Markus Scherer
079f95c9a9 ICU-11765 fix string length in udatpg_test.c TestUsage()
X-SVN-Rev: 37893
2015-09-07 00:27:33 +00:00
Markus Scherer
1dc53cb9cf ICU-11765 NUL-terminate a uenumtst.c test string
X-SVN-Rev: 37892
2015-09-05 19:25:38 +00:00
Markus Scherer
fb1f737cc7 ICU-11765 fix custrtst.c TestCountChar32(): need to use NUL-terminated buffer when testing NUL termination, not unterminated string
X-SVN-Rev: 37891
2015-09-05 19:17:55 +00:00
Markus Scherer
a45bac77fe ICU-11765 fix utrans_stripRules() source overruns from a comment or an escape at the end of the source string; make U8_SET_CP_LIMIT() work with index after NUL terminator, consistent with U16_SET_CP_LIMIT(), although strictly speaking this behavior is undefined
X-SVN-Rev: 37889
2015-09-04 23:45:19 +00:00
Jungshik Shin
49eb03845c ICU-11867 fix "virtual functions hidden" warning in windtfmt/winnmfmt
X-SVN-Rev: 37886
2015-09-04 20:17:30 +00:00
Jungshik Shin
083ac0c904 ICU-11866 remove refrences to StringThreadTest (friend lines)
X-SVN-Rev: 37884
2015-09-04 19:07:56 +00:00
Markus Scherer
0bdc5dd937 ICU-11774 toolutil Package use uprv_free & LocalMemory, not free()
X-SVN-Rev: 37883
2015-09-04 18:59:17 +00:00
Markus Scherer
b4b5fc8392 ICU-11831 u_parseArgs() reset option->doesOccur in case of error
X-SVN-Rev: 37882
2015-09-04 18:38:25 +00:00
Markus Scherer
94243c69c0 ICU-7303 deprecate old normalization APIs that have Normalizer2 replacements
X-SVN-Rev: 37873
2015-09-03 16:12:20 +00:00
John Emmons
9966a55639 ICU-11846 CLDR 28 data integration (d05)
X-SVN-Rev: 37868
2015-09-02 22:59:08 +00:00
Travis Keep
b7d18e518c ICU-11780 Reduce heap size for caching date formatters.
X-SVN-Rev: 37860
2015-09-01 20:13:27 +00:00
John Emmons
e5baa4deda ICU-11846 CLDR 28 data integration (d04)
X-SVN-Rev: 37854
2015-08-31 21:32:04 +00:00
Michael Ow
6e443bfc40 ICU-11810 Ensure delete of language tag pointer
X-SVN-Rev: 37853
2015-08-31 19:12:34 +00:00
Michael Ow
8a6d11ed90 ICU-11811 Delete pointer on error
X-SVN-Rev: 37852
2015-08-31 19:03:13 +00:00
Michael Ow
d3a1c40213 ICU-11828 Add check for null pointer
X-SVN-Rev: 37851
2015-08-31 18:59:01 +00:00
John Emmons
3506c79716 ICU-11846 Fix memory leak in modified Region code
X-SVN-Rev: 37849
2015-08-29 03:08:44 +00:00
Travis Keep
dd0466cdad ICU-11740 Add documentation to DecimalFormatImpl class.
X-SVN-Rev: 37848
2015-08-28 23:23:38 +00:00
John Emmons
87fd2e76a6 ICU-11846 CLDR 28 data integration (d03)
X-SVN-Rev: 37844
2015-08-28 20:52:59 +00:00
Travis Keep
bc33f20e3c ICU-11740 Add more tests to prove that this change resolves other tickets.
X-SVN-Rev: 37843
2015-08-28 18:38:37 +00:00
Steven R. Loomis
8e2b2d1250 ICU-11827 icu-config: do not add date to the script
X-SVN-Rev: 37841
2015-08-27 21:54:51 +00:00
John Emmons
17e2790359 ICU-11846 CLDR 28 data integration
X-SVN-Rev: 37837
2015-08-27 20:57:14 +00:00
John Emmons
01e0c332a5 ICU-11846 CLDR 28 data integration
X-SVN-Rev: 37836
2015-08-27 20:23:27 +00:00
Travis Keep
e837bd4f7f ICU-11868 Add test that was failing with the legacy DecimalFormat code.
X-SVN-Rev: 37835
2015-08-27 18:03:18 +00:00
Steven R. Loomis
ab0168470b ICU-11740 divide by zero fix (!)
X-SVN-Rev: 37834
2015-08-27 00:25:12 +00:00
Steven R. Loomis
6abcab0f43 ICU-11740 template fix for MSVC
X-SVN-Rev: 37833
2015-08-27 00:14:12 +00:00
Travis Keep
b7cf3ca31c ICU-11740 Disallow copy and assign on VisibleDigitsWithExponent enable data driven tests that were known to fail with the legacy DecimalFormat code but pass with the new DecimalFormat code.
X-SVN-Rev: 37832
2015-08-26 21:15:37 +00:00
Travis Keep
f1bd63c26d ICU-11740 Attempt to fix broken build.
X-SVN-Rev: 37827
2015-08-26 19:13:28 +00:00
Travis Keep
3caaf7e61a ICU-11740 Attempt to fix broken build.
X-SVN-Rev: 37826
2015-08-26 18:18:55 +00:00
Travis Keep
3b9279d715 ICU-11740 Attempt to fix broken build.
X-SVN-Rev: 37825
2015-08-26 17:43:02 +00:00
George Rhoten
e3e7183663 ICU-11818 Implement PluralRules in fractional RBNF
X-SVN-Rev: 37823
2015-08-26 10:42:17 +00:00
Travis Keep
896009e9da ICU-11740 Attempt to fix broken build.
X-SVN-Rev: 37822
2015-08-26 00:28:27 +00:00
Travis Keep
2860cd48c4 ICU-11740 DecimalFormat refactor.
X-SVN-Rev: 37821
2015-08-25 23:31:01 +00:00
Andy Heninger
57ac300668 ICU-11480 added tests for regex with capture groups that do not participate in match.
X-SVN-Rev: 37816
2015-08-25 20:47:38 +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
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
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
11c67d080d ICU-11630 tzdata2015f to ICU4C
X-SVN-Rev: 37763
2015-08-12 20:23:09 +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
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
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
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
Steven R. Loomis
1c7655266b ICU-11628 commit README
X-SVN-Rev: 37636
2015-07-01 17:24:41 +00:00
Steven R. Loomis
52f5e589a2 ICU-11628 commit API change report
X-SVN-Rev: 37635
2015-07-01 17:23:27 +00:00
Michael Ow
73e9defb72 ICU-11628 Fix some no data test failures
X-SVN-Rev: 37633
2015-06-30 23:45:58 +00:00
Michael Ow
58fd505a84 ICU-11628 Fix uconfig test failures
X-SVN-Rev: 37631
2015-06-30 17:20:55 +00:00
Andy Heninger
d3301c325e ICU-11754 remove gcc version test for noexcept.
X-SVN-Rev: 37630
2015-06-29 18:15:44 +00:00
Markus Scherer
b053a38555 ICU-11613 un-document that a UnicodeString is memmovable, see ticket discussion
X-SVN-Rev: 37627
2015-06-28 11:20:51 +00:00
Peter Edberg
b64eeb479d ICU-11628 C, update MeasureUnit interfaces and tests for new units in CLDR 27/28
X-SVN-Rev: 37626
2015-06-28 03:26:33 +00:00
Andy Heninger
8a163f878d ICU-11754 C++03 build errors.
X-SVN-Rev: 37624
2015-06-27 00:02:59 +00:00
Andy Heninger
59a70fdd6e ICU-11751 Fix Windows build problem with revised reslist.cpp, again.
X-SVN-Rev: 37622
2015-06-24 23:21:11 +00:00
Andy Heninger
0f9cf08e1c ICU-11751 Fix Windows build problem with revised reslist.cpp
X-SVN-Rev: 37621
2015-06-24 22:13:11 +00:00
Peter Edberg
f86d3f28c5 ICU-11706 Fix memory leak when DateIntervalFormat::setDateIntervalInfo is called
X-SVN-Rev: 37620
2015-06-24 21:43:08 +00:00
Markus Scherer
62e756505c ICU-11751 polymorphic TableResource, ArrayResource, IntResource, IntVectorResource, BinaryResource
X-SVN-Rev: 37619
2015-06-24 20:15:08 +00:00
Markus Scherer
43c47b5685 ICU-11751 change genrb.c to .cpp, polymorphic StringResource & AliasResource with UnicodeString
X-SVN-Rev: 37618
2015-06-24 09:11:42 +00:00
Peter Edberg
52acc7a249 ICU-11706 (and #11726) more code cleanup (rolling in from J)
X-SVN-Rev: 37617
2015-06-24 08:03:16 +00:00
Peter Edberg
656838dbad ICU-11706 (and #11726) Improve documentation, code cleanup
X-SVN-Rev: 37616
2015-06-24 07:59:38 +00:00
Peter Edberg
a8325d335c ICU-11706 (and #11726) Fix DateIntervalFormat handling of (1) skeletons with seconds, (2) FieldPosition
X-SVN-Rev: 37613
2015-06-23 22:07:03 +00:00
Peter Edberg
15ee90b9a3 ICU-11693 C support for CompactDecimalFormat, via UNumberFormatStyle additions
X-SVN-Rev: 37612
2015-06-23 18:09:52 +00:00
Peter Edberg
4cdffbd453 ICU-11708 CompactDecimaFormat should override and implement several more format methods
X-SVN-Rev: 37611
2015-06-23 17:33:03 +00:00
Markus Scherer
cfe9e72aec ICU-11751 change genrb reslist.c & wrtjava.c to C++ (mostly just .c to .cpp)
X-SVN-Rev: 37610
2015-06-23 07:07:27 +00:00
Peter Edberg
2ae320dbdf ICU-11673 Add new Japanese name for Georgia to cjdict
X-SVN-Rev: 37608
2015-06-23 02:09:49 +00:00
Peter Edberg
d88c68d067 ICU-11688 Add Thai words for "update" and "event" to dictionary
X-SVN-Rev: 37606
2015-06-23 00:44:09 +00:00
Markus Scherer
3d77fc18b8 ICU-11317 split out a new doAppend() from the more general doReplace(), each optimizing for different cases
X-SVN-Rev: 37601
2015-06-18 14:09:54 +00:00