Commit Graph

2114 Commits

Author SHA1 Message Date
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
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
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
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
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
b3045d787d ICU-13005 update release version to 59.1 rc
X-SVN-Rev: 39736
2017-03-05 04:57:45 +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
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
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
Steven R. Loomis
a900fee035 ICU-12766 merge from trunk
X-SVN-Rev: 39714
2017-02-28 19:36:42 +00:00
Markus Scherer
9634351bd7 ICU-12992 test overloads with pointer-wrapper class, add constructor(int null) to match NULL==0
X-SVN-Rev: 39713
2017-02-28 06:50:27 +00:00
Markus Scherer
abc3231fb2 ICU-12893 U_FALLTHROUGH: separate compiler test from compiler-feature test
X-SVN-Rev: 39711
2017-02-28 03:38:29 +00:00
Markus Scherer
f048c38ae3 ICU-12992 merge in trunk ICU-12410 r39708 U_COMMON_API for Edits::Iterator
X-SVN-Rev: 39709
2017-02-25 04:48:15 +00:00
Markus Scherer
1bfa33bfbd ICU-12410 U_COMMON_API for Edits::Iterator
X-SVN-Rev: 39708
2017-02-25 04:42:09 +00:00
Markus Scherer
7dfefa55f5 ICU-12992 experimental UnicodeString with Char16Ptr and ConstChar16Ptr in constructors and extract()
X-SVN-Rev: 39706
2017-02-25 01:08:35 +00:00
Markus Scherer
1d5d552ae1 ICU-12893 enable U_FALLTHROUGH only for clang; fix a former .c file
X-SVN-Rev: 39702
2017-02-24 20:49:14 +00:00
Andy Heninger
8c61bdb545 ICU-12645 char16_t clean-ups to umachine.h
X-SVN-Rev: 39700
2017-02-24 00:17:13 +00:00
Markus Scherer
4c2fad3e36 ICU-12410 class Edits, class CaseMap with new low-level functions that work with Edits, simpler case properties code, some cleanup
X-SVN-Rev: 39684
2017-02-17 21:03:35 +00:00
Markus Scherer
3c9606062d ICU-12410 changes for review feedback
X-SVN-Rev: 39683
2017-02-17 18:34:11 +00:00
Markus Scherer
67c9e8d526 ICU-12410 C++ foldCase()->fold()
X-SVN-Rev: 39676
2017-02-15 22:46:18 +00:00
Markus Scherer
a65ca778c7 ICU-12410 UTF-8 for new C++ source files like in ICU-12764
X-SVN-Rev: 39674
2017-02-14 19:46:45 +00:00
Steven R. Loomis
45e054a938 ICU-12766 z: library and tools build: C linkage for makeconv/pluggable malloc
X-SVN-Rev: 39672
2017-02-14 01:22:12 +00:00
Markus Scherer
4207d7fc26 ICU-12410 test & fix Edits
X-SVN-Rev: 39660
2017-02-10 04:44:37 +00:00
Markus Scherer
5da94f206a ICU-12410 move new code into new files, split ucasemap_imp.h from ustr_imp.h
X-SVN-Rev: 39655
2017-02-09 21:15:34 +00:00
Andy Heninger
04448b004f ICU-12764 UTF-8 source files, update file encoding comments.
X-SVN-Rev: 39641
2017-02-03 18:57:23 +00:00
Andy Heninger
415932a1e3 ICU-12870 Charset Detector, have docs reference the Compact Encoding Detector.
X-SVN-Rev: 39640
2017-02-03 02:46:43 +00:00
Peter Edberg
4765653577 ICU-12914 change rulesLength/Capacity back to int32_t; handle INT32_MAX overflow
X-SVN-Rev: 39630
2017-02-01 20:27:47 +00:00
Peter Edberg
005b4b230b ICU-12895 Update urename.h
X-SVN-Rev: 39629
2017-02-01 08:47:08 +00:00
Markus Scherer
8e6641fb3c ICU-12410 port class Edits to Java
X-SVN-Rev: 39590
2017-01-21 00:53:52 +00:00
Markus Scherer
8a55e577e5 ICU-12410 make CaseMap functions static; change the function parameter order to (config, input, output); remove Edits::setWriteUnchanged(), writeUnchanged(), omitUnchanged() and add UCASEMAP_OMIT_UNCHANGED_TEXT options bit; case mapping functions call edits->reset() at start
X-SVN-Rev: 39585
2017-01-20 04:04:58 +00:00
Andy Heninger
242e02c388 ICU-12764 icu4c utf-8 source files, update Copyright notices.
X-SVN-Rev: 39583
2017-01-20 00:20:31 +00:00
Peter Edberg
17683ea87f ICU-12914 Add ubrk_openBinaryRules, ubrk_getBinaryRules, and simple test
X-SVN-Rev: 39582
2017-01-19 23:10:23 +00:00
Andy Heninger
b83dab6dfc ICU-12645 Make UChar type default char16_t. If all proceeds well, a future change will remove the conditional logic.
X-SVN-Rev: 39576
2017-01-18 21:46:03 +00:00