Commit Graph

20944 Commits

Author SHA1 Message Date
Markus Scherer
2928392042 ICU-12922 improve docs
X-SVN-Rev: 39828
2017-03-15 22:26:18 +00:00
Markus Scherer
431b048f39 ICU-12992 tiny doc fix
X-SVN-Rev: 39824
2017-03-15 21:26:49 +00:00
Markus Scherer
1ff95fff4d ICU-12992 jungshik says that Windows does not like inline U_COMMON_API functions
X-SVN-Rev: 39823
2017-03-15 21:00:16 +00:00
Steven R. Loomis
78b1977508 ICU-12766 aix/escaper: tests now build on AIX
* fix to UNICODE_STRING_SIMPLE for char16_t aliasing

X-SVN-Rev: 39821
2017-03-15 18:08:36 +00:00
Steven R. Loomis
f98c39a60f ICU-12766 aix/escaper: WIP. bring back std::nullptr_t!
X-SVN-Rev: 39820
2017-03-15 17:34:55 +00:00
Steven R. Loomis
967bf42d24 ICU-12766 merge from trunk
X-SVN-Rev: 39819
2017-03-15 16:59:48 +00:00
Steven R. Loomis
b9ecfe69c3 ICU-12766 aix/escaper: WIP. Support u8
* support u8
* main tools now builds on AIX
* remove c'tors seen as duplicate under AIX
* successful build under AIX

X-SVN-Rev: 39818
2017-03-15 16:58:45 +00:00
Yoshito Umaoka
7cb98afd6a ICU-12577 Fixed a potential null dereference issue in SimpleTimeZone.
X-SVN-Rev: 39815
2017-03-15 06:07:43 +00:00
Steven R. Loomis
4abad560e4 ICU-12766 merge from trunk
X-SVN-Rev: 39814
2017-03-15 04:29:41 +00:00
Steven R. Loomis
394e842e60 ICU-12766 aix/escaper: WIP.
* work around some c++11 issues
* fix some literals in rbbitst.cpp
* update escaper
* add mh-aix-va for using escaping
* work around nullptr and uchar16 issues
* revert bad icuinfo.cpp checkin

this commit still fails.

X-SVN-Rev: 39812
2017-03-15 04:12:37 +00:00
Steven R. Loomis
383d3eead1 ICU-12766 cleanup and add test case for escaper
X-SVN-Rev: 39810
2017-03-15 02:16:35 +00:00
Steven R. Loomis
803210153a ICU-12766 merge from trunk
X-SVN-Rev: 39808
2017-03-15 00:50:54 +00:00
Markus Scherer
5bea3757ac ICU-12988 CaseMap UTF-8 with Edits; ported from UTF-16 changes in ICU-12410 r39684
X-SVN-Rev: 39805
2017-03-14 23:55:29 +00:00
Yoshito Umaoka
53c2cc2c4c ICU-12793 Fixes in sample code.
X-SVN-Rev: 39803
2017-03-14 21:37:41 +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
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
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
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
Andy Heninger
c3ad2fabfb ICU-12895 ICU4C Readme, mention C++11, utf-8 source files and UChar being char16_t.
X-SVN-Rev: 39633
2017-02-02 18:29:43 +00:00
Peter Edberg
0001f6c5e9 ICU-12895 update license files
X-SVN-Rev: 39632
2017-02-02 06:36:31 +00:00
Steven R. Loomis
bee855c9b2 ICU-12895 API change report for ICU4C 59m1 from jenkins
X-SVN-Rev: 39631
2017-02-02 03:38:01 +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