Commit Graph

29004 Commits

Author SHA1 Message Date
Yoshito Umaoka
4868776250 ICU-12724 Do not lazily initialize CANONICAL_MAP / variantsToKeywords with potentially problematic initialization code.
X-SVN-Rev: 39802
2017-03-14 21:11:57 +00:00
Yoshito Umaoka
f54d25d286 ICU-12810 Prevent assertion triggered by time zone id including characters other than ASCII invariants initialize/formatting a time zone.
X-SVN-Rev: 39799
2017-03-14 19:39:30 +00:00
Markus Scherer
9b50ba1c2e ICU-13032 turn off the aliasing barrier for PNaCl which does not allow this specific inline assembler instruction
X-SVN-Rev: 39795
2017-03-14 18:12:19 +00:00
Andy Heninger
c026fe4808 ICU-12674 Add missing cleanup registration in Normalizer2; fixes memory leak.
X-SVN-Rev: 39794
2017-03-14 18:10:59 +00:00
Yoshito Umaoka
7d82980d9a ICU-12882 Removed a section explaining calendar subclass resource data from DateFormatSymbols constructor's API doc.
X-SVN-Rev: 39792
2017-03-14 14:15:29 +00:00
Jeff Genovy
4bea0e6df8 ICU-12912 Fix a few nits in comments.
X-SVN-Rev: 39790
2017-03-14 02:32:46 +00:00
Steven R. Loomis
4890638e08 ICU-12766 wip escaping for utf-8 input
* create a new escaper tool - needs to be invoked in mh- files
* escapes to temporary _whatever.cpp files
* does NOT handle multi line u"xxx" (or u'xxx'? )
* does not cleanup _*.cpp files
* fixup a bunch of Makefiles to add -I$(srcdir) (doesn't hurt anyway)

X-SVN-Rev: 39787
2017-03-13 23:19:33 +00:00
Andy Heninger
170693e51e ICU-13012 Remove stray ^S character from line_normal_cj.txt.
X-SVN-Rev: 39786
2017-03-13 23:17:12 +00:00
Shawn Steele
72c8be3fb6 ICU-12912 - Windows timezone detection - Get rid of deprecated version checking for old OS behavior (ICU supports Win7+, the updated code supports Vista+ (and even some older version)
X-SVN-Rev: 39782
2017-03-13 22:30:03 +00:00
Steven R. Loomis
d9cdb7568c ICU-12766 add stub escapesrc
X-SVN-Rev: 39774
2017-03-13 19:08:18 +00:00
Markus Scherer
05c591d7ef ICU-12992 add char16ptr.h with pointer conversions; use Char16Ptr for input parameters where possible; make UChar configurable but default to char16_t; add OldUChar same as ICU 58 UChar except not configurable; in public C++ headers change all UChar to char16_t (integrate branches/markus/ucharptr2)
X-SVN-Rev: 39762
2017-03-10 22:01:34 +00:00
Markus Scherer
b8f912c3c4 ICU-12992 still use U_FINAL
X-SVN-Rev: 39761
2017-03-10 21:22:38 +00:00
Steven R. Loomis
57cbeba70f ICU-12766 recommit r39756 onto proper branch
X-SVN-Rev: 39759
2017-03-10 02:59:46 +00:00
Steven R. Loomis
153ccb4e2e ICU-12766 revert r39756 (mistake)
X-SVN-Rev: 39758
2017-03-10 02:58:13 +00:00
Steven R. Loomis
5eb836b30e ICU-13015 AIX: final->U_FINAL, config opts, and ustring.h
X-SVN-Rev: 39757
2017-03-10 02:30:04 +00:00
Steven R. Loomis
6f30aba8ef ICU-12766 esc- work in progress
X-SVN-Rev: 39756
2017-03-10 02:27:09 +00:00
Steven R. Loomis
4968a203f0 ICU-12766 fix AIX compile opts and uchar include
X-SVN-Rev: 39754
2017-03-10 01:27:11 +00:00
Steven R. Loomis
09d1e6e03b ICU-12766 z/OS (and AIX) need U_FINAL still instead of final.
X-SVN-Rev: 39753
2017-03-10 00:20:36 +00:00
Steven R. Loomis
0605a3c20f ICU-12766 merge from trunk
X-SVN-Rev: 39752
2017-03-09 23:50:06 +00:00
Steven R. Loomis
faaaf5e796 ICU-13009 fix make dist, post reorg
X-SVN-Rev: 39751
2017-03-09 23:45:26 +00:00
Steven R. Loomis
f19978a35e ICU-13016 solaris porting
X-SVN-Rev: 39750
2017-03-09 02:12:45 +00:00
Markus Scherer
1fc24f144d ICU-12992 casemap.h does not need to include char16ptr.h any more
X-SVN-Rev: 39748
2017-03-09 00:10:33 +00:00
Markus Scherer
bf17d52293 ICU-12992 add OldUChar type to match ICU 58 UChar; add public conversion functions from char16_t * to UChar * and OldUChar * with aliasing barrier
X-SVN-Rev: 39747
2017-03-08 22:08:12 +00:00
Markus Scherer
14dbfd1d16 ICU-12992 revert new C++ API (CaseMap) to raw pointers
X-SVN-Rev: 39746
2017-03-08 21:07:27 +00:00
Steven R. Loomis
175ab07e28 ICU-12766 z porting changes (more to come)
X-SVN-Rev: 39745
2017-03-08 15:34:47 +00:00
Markus Scherer
a8bc4d7682 ICU-12992 make the old normlzr.h work with configured UChar=uint16_t, and do not include it from coll.h any more (it only needs unorm.h)
X-SVN-Rev: 39744
2017-03-08 05:59:25 +00:00
Steven R. Loomis
68a6ecd336 ICU-12766 merge from trunk
X-SVN-Rev: 39743
2017-03-08 01:07:45 +00:00
Markus Scherer
b5b52ad027 ICU-12992 make tools & tests work with configured UChar=uint16_t
X-SVN-Rev: 39742
2017-03-08 01:07:20 +00:00
Markus Scherer
782e4ff95e ICU-12922 bidi explicit level 0: lift it up to resolved paragraph level except leave it at 0 for paragraph separators
X-SVN-Rev: 39741
2017-03-07 22:57:46 +00:00
Markus Scherer
85e291a4ec ICU-12992 new version of the aliasing barrier
X-SVN-Rev: 39739
2017-03-06 22:47:58 +00:00
Peter Edberg
410e3f6db5 ICU-13005 Integrate data from CLDR release-31-d02 (part 2, add new locales)
X-SVN-Rev: 39738
2017-03-05 05:38:02 +00:00
Peter Edberg
e8eb923aba ICU-12998 icu4c readme, fixed two refs to icu/icu/trunk, preliminary update for 59rc
X-SVN-Rev: 39737
2017-03-05 05:13:24 +00:00
Peter Edberg
b3045d787d ICU-13005 update release version to 59.1 rc
X-SVN-Rev: 39736
2017-03-05 04:57:45 +00:00
Peter Edberg
2d183b5a92 ICU-13005 Integrate data from CLDR release-31-d02, remove logKnownIssues for fixed items
X-SVN-Rev: 39735
2017-03-05 03:53:56 +00:00
Steven R. Loomis
8d61ae06b3 ICU-12766 merge from trunk
X-SVN-Rev: 39734
2017-03-04 06:46:33 +00:00
Markus Scherer
9b792c3cf1 ICU-12736 remove remaining uses of now-obsolete U_HAVE_STD_STRING
X-SVN-Rev: 39733
2017-03-04 00:22:40 +00:00
Markus Scherer
a32c1b17ec ICU-12736 assume in some places that we always have std::string; merge r39687 & r39704 from dev branch
X-SVN-Rev: 39731
2017-03-04 00:06:17 +00:00
Markus Scherer
568486c964 ICU-12992 remove Char16Ptr output conversion overloads, remove wrapper-as-pointer operators, some cleanup
X-SVN-Rev: 39730
2017-03-03 23:55:13 +00:00
Markus Scherer
5a13a8ca58 ICU-12992 return raw pointers not pointer wrappers
X-SVN-Rev: 39729
2017-03-03 22:42:52 +00:00
Steven R. Loomis
666ba715d5 ICU-12766 merge from trunk
X-SVN-Rev: 39728
2017-03-03 21:55:08 +00:00
Peter Edberg
04c115425d ICU-13010 Add Extend* to rule GB11′, update tests and add more emoji cluster tests
X-SVN-Rev: 39726
2017-03-02 21:04:09 +00:00
Yoshito Umaoka
9354784c16 ICU-12816 tzdata2017a to ICU4C/ICU4J. Override region for Pacific/Johnston, so region mapping stayed same with previous versions. Fixed a tzcode build problem.
X-SVN-Rev: 39725
2017-03-02 07:39:17 +00:00
Markus Scherer
8c7d1b2deb ICU-12992 disable U_ALIASING_BARRIER for now
X-SVN-Rev: 39722
2017-03-01 23:58:37 +00:00
Markus Scherer
4b154b8328 ICU-12992 s/UChar/char16_t/g in public C++ header files
X-SVN-Rev: 39721
2017-03-01 23:55:58 +00:00
Markus Scherer
5df9572e9a ICU-12992 UChar=char16_t inside ICU, configurable, defaults to char16_t/C++ uint16_t/C
X-SVN-Rev: 39720
2017-03-01 23:05:52 +00:00
Markus Scherer
b9ef7bcac4 ICU-12992 change UnicodeString functions from const UChar * to ConstChar16Ptr where possible
X-SVN-Rev: 39719
2017-03-01 22:06:25 +00:00
Andy Heninger
80606f5b57 ICU-13008 Signed int overflow (undefined behavior) in datefmt.cpp
X-SVN-Rev: 39718
2017-03-01 21:59:38 +00:00
Markus Scherer
4c1c730f57 ICU-12992 remove conversion from int; NULL is often nullptr or __null not simply 0
X-SVN-Rev: 39717
2017-03-01 21:11:54 +00:00
Markus Scherer
031be51911 ICU-12992 move Char16Ptr to new char16ptr.h; change non-UnicodeString C++ functions from raw pointers to Char16Ptr where possible
X-SVN-Rev: 39716
2017-03-01 05:52:24 +00:00
Markus Scherer
d924dda84b ICU-12992 return pointer-wrapper class from UnicodeString::getBuffer() and siblings, add wrapper class overloads to make this mostly work as is, fix a few call sites
X-SVN-Rev: 39715
2017-02-28 22:07:03 +00:00