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
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
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
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
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
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
Peter Edberg
f9b7898dcf
ICU-13005 Integrate data from CLDR release-31-d01
...
X-SVN-Rev: 39710
2017-02-27 03:25:00 +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
Andy Heninger
5f57938910
ICU-12884 regex timeout not working with {loop counts} in patterns.
...
X-SVN-Rev: 39693
2017-02-21 23:12:48 +00:00
Andy Heninger
a1cb685865
ICU-12993 undef __STRICT_ANSI__ on some platforms.
...
X-SVN-Rev: 39692
2017-02-19 21:58:30 +00:00
Andy Heninger
4ff013c080
ICU-12913 Add cast to avoid printf compile warning.
...
X-SVN-Rev: 39688
2017-02-18 00:14:37 +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
Fredrik Roubert
4eaff9ce2c
ICU-12953 Include GSM 03.38 mapping in ICU by default
...
X-SVN-Rev: 39677
2017-02-15 23:49:47 +00:00
Markus Scherer
67c9e8d526
ICU-12410 C++ foldCase()->fold()
...
X-SVN-Rev: 39676
2017-02-15 22:46:18 +00:00
Peter Edberg
b3a53f130e
ICU-12763 For C++ API, say return is undefined in the case of an error
...
X-SVN-Rev: 39675
2017-02-15 21:15:58 +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
103ef8c7ad
ICU-12766 merge from trunk
...
X-SVN-Rev: 39673
2017-02-14 01:31:24 +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
Andy Heninger
35a07bf89d
ICU-12888 UText, problems with handling of bad UTF-8.
...
X-SVN-Rev: 39671
2017-02-14 00:45:05 +00:00
Markus Scherer
bd7130998d
ICU-12410 TestCaseMapWithEdits()
...
X-SVN-Rev: 39670
2017-02-14 00:21:31 +00:00
Andy Heninger
44dee82dfd
ICU-12932 RBBI rule parsing, fix incorrect handling of node stack overflow.
...
X-SVN-Rev: 39669
2017-02-13 21:04:32 +00:00
Steven R. Loomis
4efcd1d0e1
ICU-12766 z: library and tools build: use U_INT64_MAX instead of INT64_MAX
...
X-SVN-Rev: 39668
2017-02-13 20:29:24 +00:00
Steven R. Loomis
c8ed8a6048
ICU-12766 z: library and tools build
...
X-SVN-Rev: 39665
2017-02-11 02:43:09 +00:00
Andy Heninger
8e5c017e03
ICU-12930 Fix assertion failure in regex compile.
...
X-SVN-Rev: 39663
2017-02-10 23:30:24 +00:00
Markus Scherer
4207d7fc26
ICU-12410 test & fix Edits
...
X-SVN-Rev: 39660
2017-02-10 04:44:37 +00:00
Peter Edberg
870b039296
ICU-12763 for C++ select(const Formattable&...), add UErrorCode param, return empty string if err
...
X-SVN-Rev: 39658
2017-02-09 23:40:59 +00:00
Markus Scherer
91cb8bf24e
ICU-12410 bug fixes
...
X-SVN-Rev: 39657
2017-02-09 23:09:08 +00:00
Markus Scherer
0e4c0199ee
ICU-12410 remove unused UCaseProps pointer from ucase_... functions
...
X-SVN-Rev: 39656
2017-02-09 21:50:20 +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
Peter Edberg
653750ca58
ICU-12969 protect against using negative ID for resource
...
X-SVN-Rev: 39654
2017-02-09 19:33:51 +00:00
Markus Scherer
4805866163
ICU-12410 move/re-port titlecasing, support Edits
...
X-SVN-Rev: 39647
2017-02-07 00:58:52 +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
Peter Edberg
af88083329
ICU-12914 Better loop control in test
...
X-SVN-Rev: 39628
2017-02-01 07:52:19 +00:00
Yoshito Umaoka
892a2005ba
ICU-12948 Imported data from CLDR trunk @13199, including UTC/GMT separation.
...
X-SVN-Rev: 39614
2017-01-29 05:08:37 +00:00
Peter Edberg
1e63072ce8
ICU-12948 Pass two preliminary integration of CLDR 31 @13194
...
X-SVN-Rev: 39604
2017-01-27 05:21:21 +00:00
Markus Scherer
2fe503c981
ICU-12410 start to port class CaseMap to Java; make case mapping impl code work with CharSequence & Appendable
...
X-SVN-Rev: 39603
2017-01-25 23:52:55 +00:00
Andy Heninger
b15451322e
ICU-12943 More Cygwin build fixes.
...
X-SVN-Rev: 39602
2017-01-25 06:08:26 +00:00
Peter Edberg
e0f3d87e99
ICU-12948 First-pass preliminary integration of CLDR 31 @13174
...
X-SVN-Rev: 39601
2017-01-24 08:22:23 +00:00
Peter Edberg
7b33e586f5
ICU-12937 Withdraw MeasureUnit interfaces for coordinate units, and related data loading
...
X-SVN-Rev: 39599
2017-01-23 16:20:59 +00:00
Andy Heninger
46beebce64
ICU-12943 Cygwin/MSVC Windows build fixes.
...
X-SVN-Rev: 39598
2017-01-23 00:38:28 +00:00
Peter Edberg
850118a0e0
ICU-12948 Add new elements in structLocale
...
X-SVN-Rev: 39596
2017-01-22 09:23:49 +00:00
Peter Edberg
47e1aaaf14
ICU-12763 Add uplrules_selectWithFormat and PluralRules::select that take & use [U]NumberFormat
...
X-SVN-Rev: 39591
2017-01-21 01:03:32 +00:00
Markus Scherer
8e6641fb3c
ICU-12410 port class Edits to Java
...
X-SVN-Rev: 39590
2017-01-21 00:53:52 +00:00
Peter Edberg
183b124712
ICU-12940 Add "ars" as alias to "ar_SA" locale, to "ar" for coll/rbnf
...
X-SVN-Rev: 39587
2017-01-20 20:07:27 +00:00
Markus Scherer
aa27217a84
ICU-12410 remove locCache behavior from ucase_getCaseLocale() and functions that call it, try to make it a little faster for common locale IDs
...
X-SVN-Rev: 39586
2017-01-20 06:27:47 +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
f28895cccc
ICU-12943 Windows Build Fixes for UChar=char16_t and utf-8 source files.
...
X-SVN-Rev: 39581
2017-01-19 18:12:50 +00:00
Andy Heninger
08e0afec58
ICU-12643 C++11 trial. Use some features as a test case.
...
X-SVN-Rev: 39578
2017-01-18 23:51:57 +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