Commit Graph

5997 Commits

Author SHA1 Message Date
Steven R. Loomis
84bec69426 ICU-13093 porting fixes (AIX)
X-SVN-Rev: 40406
2017-09-13 23:07:30 +00:00
Markus Scherer
edac6e7206 ICU-13244 add U16_GET_OR_FFFD(), U16_NEXT_OR_FFFD(), U16_PREV_OR_FFFD()
X-SVN-Rev: 40404
2017-09-13 22:29:43 +00:00
Steven R. Loomis
2613216b7b ICU-13345 merge from trunk
X-SVN-Rev: 40398
2017-09-13 19:52:40 +00:00
Steven R. Loomis
66228f40f6 ICU-13345 update deprecation comments
X-SVN-Rev: 40397
2017-09-13 18:31:27 +00:00
Steven R. Loomis
d80a30219f ICU-13345 changes per ICU-TC comments
X-SVN-Rev: 40396
2017-09-13 18:28:44 +00:00
Markus Scherer
321f467190 ICU-13337 public string option for not resetting an Edits object: U_EDITS_NO_RESET
X-SVN-Rev: 40394
2017-09-13 16:15:28 +00:00
Norbert Runge
52417e2221 ICU-13069 enables code to compile when UCONFIG_NO_NORMALIZATION is set to 1; all unit tests pass.
X-SVN-Rev: 40388
2017-09-12 20:29:14 +00:00
Steven R. Loomis
eaa26ce352 ICU-13030 merge from trunk
X-SVN-Rev: 40387
2017-09-12 19:52:59 +00:00
Steven R. Loomis
0343e0805b ICU-13030 review comment
X-SVN-Rev: 40386
2017-09-12 19:24:51 +00:00
Shane Carr
57913822e0 ICU-13177 Internal changes to existing icu4c source.
X-SVN-Rev: 40378
2017-09-10 02:02:02 +00:00
Markus Scherer
a1e9154f8c ICU-13346 compress some repeated m:n replacements even when m!=n
X-SVN-Rev: 40376
2017-09-08 18:49:08 +00:00
Markus Scherer
ef72d0734e ICU-13346 avoid unused-variable compiler warning
X-SVN-Rev: 40374
2017-09-07 19:50:40 +00:00
Markus Scherer
4e75a6ece0 ICU-13346 add Edits::Iterator::previous() for mapping near-earlier indexes
X-SVN-Rev: 40373
2017-09-07 18:29:27 +00:00
Andy Heninger
6dee8f942d ICU-13344 problem with SETNATIVEINDEX macro.
X-SVN-Rev: 40372
2017-09-06 21:44:58 +00:00
Fredrik Roubert
3c9447aaea ICU-13336 Fix common typo: s/langauge/language/ig
X-SVN-Rev: 40361
2017-08-30 18:15:10 +00:00
Markus Scherer
2f87cf4c46 ICU-10524 normalization one-way mapping with trailing ccc>1 has no compose-boundary-after
X-SVN-Rev: 40355
2017-08-25 22:46:12 +00:00
Markus Scherer
fcb323c2e0 ICU-13158 change range check to catch NaN
X-SVN-Rev: 40341
2017-08-17 21:37:36 +00:00
Markus Scherer
4250ad8acf ICU-13323 make U_TIMEZONE work on newlib when U_PLATFORM_IS_LINUX_BASED is not detected
X-SVN-Rev: 40340
2017-08-17 18:29:27 +00:00
Markus Scherer
837280a366 ICU-13307 C++ Edits::mergedAndAppend(ab, bc); map indexes only from inside spans not empty deletions/insertions; make Edits copyable and Edits::Iterator default-constructible
X-SVN-Rev: 40333
2017-08-16 19:19:30 +00:00
Markus Scherer
a919ea14e1 ICU-6591 make ccc=x work for all integers 0..255
X-SVN-Rev: 40328
2017-08-11 23:42:02 +00:00
Andy Heninger
f1d850bf8d ICU-13288 changes for jumbo compilation.
X-SVN-Rev: 40327
2017-08-11 21:38:54 +00:00
Markus Scherer
b1b4b2f443 ICU-13158 avoid undefined double->int cast for ccc=value, range check before cast
X-SVN-Rev: 40325
2017-08-11 18:54:53 +00:00
Andy Heninger
090709441c ICU-13298 Fix signed int overflow in StringTrieBuilder hash functions.
X-SVN-Rev: 40312
2017-08-04 17:44:00 +00:00
Jeff Genovy
1385a1ad57 ICU-13290 Clean up old #define for old version of MSVC.
X-SVN-Rev: 40311
2017-08-03 21:17:25 +00:00
Andy Heninger
2b5557fce6 ICU-12519 Break Iterator assignment handles Locales.
X-SVN-Rev: 40301
2017-07-31 20:20:37 +00:00
Andy Heninger
425f9eb00f ICU-13275 clear a clang warning introduced with the other warning fixes.
X-SVN-Rev: 40300
2017-07-31 17:41:42 +00:00
Markus Scherer
d563e9858d ICU-13176 char16ptr: rename member variables to avoid shadow warnings
X-SVN-Rev: 40298
2017-07-28 23:17:16 +00:00
Markus Scherer
9a3a03c417 ICU-13270 icu::Edits add numberOfChanges(); Edits::Iterator add findDestinationIndex(), destinationIndexFromSourceIndex(), sourceIndexFromDestinationIndex()
X-SVN-Rev: 40286
2017-07-24 22:43:53 +00:00
William Zhao
d847a21238 ICU-13275 Merge warning cleanup fixes into trunk
X-SVN-Rev: 40283
2017-07-22 01:11:59 +00:00
Jeff Genovy
7c841c6bb2 ICU-13278 Fix ifdefs for U_ENABLE_DYLOAD for Windows and UWP.
X-SVN-Rev: 40281
2017-07-21 00:48:43 +00:00
Markus Scherer
aa6d5e3e76 ICU-13271 add Normalizer2::isNormalizedUTF8()
X-SVN-Rev: 40280
2017-07-20 22:08:30 +00:00
Markus Scherer
09b77193dc ICU-13269 add StringByteSink(dest, initialAppendCapacity) constructor
X-SVN-Rev: 40277
2017-07-20 19:56:45 +00:00
Andy Heninger
1292197198 ICU-12507 rbbi, switch impl from UTrie to UTrie2.
X-SVN-Rev: 40270
2017-07-19 22:31:12 +00:00
Andy Heninger
4a5b4e4b44 ICU-12507 RBBI data loading, incorporate Markus's review comments.
X-SVN-Rev: 40268
2017-07-17 21:22:53 +00:00
Andy Heninger
3dcc83d0d4 ICU-13277 Locale constructor buffer overflow.
X-SVN-Rev: 40267
2017-07-15 00:22:20 +00:00
Markus Scherer
e6748afd82 ICU-13197 improved normalization data structure and code; .nrm formatVersion 3; merged from branches/markus/normv3 except for cherry-picks from trunk to there
X-SVN-Rev: 40265
2017-07-14 22:38:40 +00:00
William Zhao
3da97c910d ICU-13275 Revert the previous changes to the trunk.
X-SVN-Rev: 40262
2017-07-13 23:26:06 +00:00
William Zhao
11a9b11c56 ICU-13275
This commit fixes compiler warnings when building at /W2.

1. Fix cast warnings for the two files.
2. Fix unreferenced variable warning for the two files.

X-SVN-Rev: 40261
2017-07-13 22:49:57 +00:00
Jeff Genovy
03829ff838 ICU-13263 uprv_convertToPosix uses a local stack variable out of scope.
X-SVN-Rev: 40234
2017-07-05 18:46:18 +00:00
Jeff Genovy
ade067638e ICU-13164 Fixes for compilation and test errors when building for Windows/MinGW.
X-SVN-Rev: 40203
2017-06-23 23:28:11 +00:00
Peter Edberg
d251c500ac ICU-13159 ICU 60m1 BRS, update urename.h
X-SVN-Rev: 40202
2017-06-23 17:43:07 +00:00
Andy Heninger
ea254bef42 ICU-13257 clear clang compile warning from use of 'override'
X-SVN-Rev: 40190
2017-06-21 20:43:47 +00:00
Andy Heninger
a9cedfb775 ICU-12507 bump rbbi data version for change to UTrie2; consolidate version checking.
X-SVN-Rev: 40183
2017-06-20 22:11:08 +00:00
Andy Heninger
7d05feb7a6 ICU-13207 Fix some resource leaks.
X-SVN-Rev: 40167
2017-06-13 18:33:59 +00:00
Markus Scherer
cfef2fb339 ICU-9198 add titlecasing options: wholeString, sentences, adjustToCased
X-SVN-Rev: 40164
2017-06-09 23:04:03 +00:00
Markus Scherer
06a03303cb ICU-13234 collect string & character options bits in new stringoptions.h
X-SVN-Rev: 40162
2017-06-08 20:35:40 +00:00
Markus Scherer
3975adb564 ICU-13234 rename UCASEMAP_OMIT_UNCHANGED_TEXT to U_OMIT_UNCHANGED_TEXT
X-SVN-Rev: 40161
2017-06-08 19:36:34 +00:00
Markus Scherer
e05c15a02c ICU-13197 fix indexesLength check while loading data, more readable duplicate elimination of noNo mappings
X-SVN-Rev: 40157
2017-06-07 18:22:44 +00:00
Markus Scherer
45da4f810d ICU-12985 final? Unicode 10 data from 20170605
X-SVN-Rev: 40153
2017-06-06 02:46:10 +00:00
Markus Scherer
8dcca5dc76 ICU-13197 Normalizer2::normalizeUTF8(StringPiece->ByteSink/Edits) compose=direct UTF-8, else via UTF-16/no edits
X-SVN-Rev: 40147
2017-05-31 18:15:45 +00:00
Jeff Genovy
de6771cb4b ICU-13217 - UWP version ends up falling back to the 'en_US' locale. (Missing lines due to bad merge).
X-SVN-Rev: 40146
2017-05-31 17:17:54 +00:00
Yoshito Umaoka
694142470e ICU-13159 Updating ICU version in trunk to 60.0.1 (60m1) - merging changes from my work branch.
X-SVN-Rev: 40145
2017-05-31 16:50:38 +00:00
Steven R. Loomis
f1da2f1d9f ICU-13030 cleanup U_CALLCONV on windows. Also, initialize an uninitialized var
X-SVN-Rev: 40137
2017-05-24 23:25:33 +00:00
Markus Scherer
b2ead3e2e1 ICU-8130 UTS 46 conformance test using Unicode IdnaTest.txt
X-SVN-Rev: 40130
2017-05-23 04:44:58 +00:00
Markus Scherer
85af08c09d ICU-13189 ucurr_forLocale() do not succeed without writing output; also make it more readable and fix other issues
X-SVN-Rev: 40114
2017-05-05 23:48:40 +00:00
Markus Scherer
61b0f07f39 ICU-12985 fix compiler warnings from now-unused ASPIRATIONAL script usage
X-SVN-Rev: 40111
2017-05-04 20:27:25 +00:00
Markus Scherer
c741167e3e ICU-12985 Unicode 10 data from 20170503; new properties Emoji_Component, Regional_Indicator, Prepended_Concatenation_Mark; merged from ^/branches/markus/uni10@40107
X-SVN-Rev: 40109
2017-05-04 20:13:29 +00:00
Markus Scherer
bff565de53 ICU-12333 full case mapping set output string to nullptr if length==0, and do not convert the empty string to UTF-8
X-SVN-Rev: 40108
2017-05-04 18:30:23 +00:00
Andy Heninger
a3a2b57516 ICU-12507 ICU4C RBBI, switch to UTrie2
X-SVN-Rev: 40105
2017-05-03 23:44:14 +00:00
Andy Heninger
379d2f3a7a ICU-13178 remove back-slashes in #include paths.
X-SVN-Rev: 40102
2017-05-03 20:18:41 +00:00
Jeff Genovy
a709ddc0f2 ICU-13169 Issues retargeting VS project files due to missing WindowsTargetPlatformVersion elements. (tab to spaces)
X-SVN-Rev: 40099
2017-05-03 00:40:08 +00:00
Jeff Genovy
cb53fe41cd ICU-13169 Issues retargeting VS project files due to missing WindowsTargetPlatformVersion elements.
X-SVN-Rev: 40098
2017-05-03 00:28:11 +00:00
Markus Scherer
20bee936b1 ICU-12985 ppucd.txt more readable unassigned ranges; block compaction by size savings not value plurality reduces clutter
X-SVN-Rev: 40096
2017-05-02 22:53:28 +00:00
Markus Scherer
eb57bf7c90 ICU-12985 implement the binary Prepended_Concatenation_Mark property
X-SVN-Rev: 40084
2017-04-27 21:11:01 +00:00
Markus Scherer
b0ad84012f ICU-12985 implement the binary Regional_Indicator property with a single hardcoded range
X-SVN-Rev: 40083
2017-04-27 18:29:07 +00:00
Markus Scherer
6ce7f348a3 ICU-12985 implement the binary Emoji_Component property for emoji 5
X-SVN-Rev: 40082
2017-04-26 23:58:36 +00:00
Andy Heninger
ff5e1bfd6b ICU-13103 drop old versions of U_IOSTREAM_SOURCE and __GNUC__
X-SVN-Rev: 40080
2017-04-26 21:56:37 +00:00
Markus Scherer
edce2be62c ICU-12985 Unicode 10 data 20170418, new property values, adjust tools & tests
X-SVN-Rev: 40079
2017-04-26 21:17:13 +00:00
Andy Heninger
24360e0cc8 ICU-13104 remove U_HAVE_RVALUE_REFERENCES definition & conditions.
X-SVN-Rev: 40077
2017-04-26 20:23:44 +00:00
Fredrik Roubert
a7123ed229 ICU-13094 Handle empty language subtag in parseTagString().
X-SVN-Rev: 40076
2017-04-26 20:12:01 +00:00
Andy Heninger
b1880dfdb7 ICU-13028 Thread safe static init of default string for RuleBasedBreakIterator::getRules()
X-SVN-Rev: 40074
2017-04-23 19:35:52 +00:00
George Rhoten
a82e70e5b1 ICU-13029 Mark unmodified static data as const
X-SVN-Rev: 40065
2017-04-19 18:55:46 +00:00
Jeff Genovy
0fe8e394bf ICU-13143 - Suppress unused variable warning on *nix platforms.
X-SVN-Rev: 40053
2017-04-13 23:32:36 +00:00
Markus Scherer
990890985c ICU-13128 optimize UnicodeString::toTitle() input string handling; test u_strToTitle(in-place)
X-SVN-Rev: 40042
2017-04-12 22:39:37 +00:00
Andy Heninger
5dca4ba1e1 ICU-13127 Fix crashing bug in UnicodeString::toTitle()
X-SVN-Rev: 40036
2017-04-12 01:19:22 +00:00
Steven R. Loomis
0055f8238b ICU-12795 FIXUP! putil cleanup - need platform.h for U_PLATFORM consts
X-SVN-Rev: 40012
2017-04-07 20:05:35 +00:00
Steven R. Loomis
c1a991076b ICU-12795 putil cleanup cygwin (patch) - preserved comments
X-SVN-Rev: 40011
2017-04-07 19:51:45 +00:00
Steven R. Loomis
9a2c734257 ICU-12790 fix nl_langinfo cygwin (patch)
X-SVN-Rev: 40010
2017-04-07 19:03:37 +00:00
Steven R. Loomis
02e76897eb ICU-12786 dont call Win32 tz functions on cygwin (patch)
X-SVN-Rev: 40007
2017-04-07 18:26:45 +00:00
Steven R. Loomis
f625715332 ICU-12784 do not redeclare U_TZNAME on cygwin (patch)
X-SVN-Rev: 40005
2017-04-07 17:49:26 +00:00
Jeff Genovy
a9d8f8b76a ICU-13102 - Fix Windows test failure in 'format/DateFormatTest/TestHost' due to changes to LCID tables.
X-SVN-Rev: 40003
2017-04-07 08:29:06 +00:00
Peter Edberg
36eed24f5f ICU-13005 ICU 59rc BRS, finish cleanup of C status tags and U_HIDE_ conditionals
X-SVN-Rev: 39952
2017-03-29 04:44:37 +00:00
Norbert Runge
cdcb7944b8 ICU-13053 Make UCONFIG_NO_BREAK_ITERATION flag work without errors or failures.
X-SVN-Rev: 39943
2017-03-27 18:22:11 +00:00
Peter Edberg
aee8a94ec3 ICU-13005 ICU 59rc BRS, update urename.h
X-SVN-Rev: 39939
2017-03-27 04:36:44 +00:00
Steven R. Loomis
1f441dcfd8 ICU-12766 z and AIX porting: C++11 issue and icu-config issue for escaping
X-SVN-Rev: 39931
2017-03-24 21:34:40 +00:00
Peter Edberg
9711357617 ICU-12994 Have C++ ListFormatter use ures_getAllItemsWithFallback to load resources; add tests for C and J
X-SVN-Rev: 39926
2017-03-24 08:13:10 +00:00
Markus Scherer
466a569c58 ICU-12900 mostly still Unicode 9.0 but Unicode 10 beta (20170322) segmentation & bidi data and draft emoji 5.0 (also 20170322)
X-SVN-Rev: 39915
2017-03-23 02:14:00 +00:00
Peter Edberg
1106009706 ICU-13052 Update ICU4C branch to current trunk, again
X-SVN-Rev: 39900
2017-03-22 20:10:43 +00:00
Peter Edberg
f458acca1b ICU-13052 Update ICU4C branch to current trunk
X-SVN-Rev: 39899
2017-03-22 20:05:43 +00:00
Jeff Genovy
f18a0b6857 ICU-13017 - Typos in uloc.h comments
X-SVN-Rev: 39898
2017-03-22 20:05:29 +00:00
Steven R. Loomis
3f7617a127 ICU-12766 merge from branch: enable escape for z/OS (390)
X-SVN-Rev: 39896
2017-03-22 19:06:26 +00:00
Peter Edberg
970b7293de ICU-13052 ICU4C 59 API promotion, draft 1
X-SVN-Rev: 39894
2017-03-22 07:38:16 +00:00
Jeff Genovy
ada968b02d ICU-13027 - Use int32_t instead of int for a few places for consistency.
X-SVN-Rev: 39893
2017-03-22 05:21:19 +00:00
Peter Edberg
0f4572a7e6 ICU-13018 uloc_get/setKeywordValue have stricter input conditions; setKeywordValue uses CharString to assemble updated output
X-SVN-Rev: 39891
2017-03-21 23:08:37 +00:00
Jeff Genovy
e9946ec98e ICU-13027 - Merge in changes from 'branches/shawnste/working/icu4c'
X-SVN-Rev: 39890
2017-03-21 01:03:49 +00:00
Steven R. Loomis
02cf91d3e6 ICU-12766 support escaping on ebcdic (z)
X-SVN-Rev: 39842
2017-03-16 21:49:19 +00:00
Steven R. Loomis
60c87e638b ICU-12766 merge from trunk
X-SVN-Rev: 39832
2017-03-15 23:51:15 +00:00
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
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
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
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
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
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
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
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
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
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
c8ed8a6048 ICU-12766 z: library and tools build
X-SVN-Rev: 39665
2017-02-11 02:43:09 +00:00
Markus Scherer
4207d7fc26 ICU-12410 test & fix Edits
X-SVN-Rev: 39660
2017-02-10 04:44:37 +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
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
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
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
Andy Heninger
0fc9197e4c ICU-12645 Make UChar type default char16_t. If all proceeds well, a future change will remove the conditional logic.
X-SVN-Rev: 39575
2017-01-18 21:26:05 +00:00
Andy Heninger
9846ee3b54 ICU-12918 Dictionary Break Iterator Assertion Failure
X-SVN-Rev: 39573
2017-01-18 19:42:33 +00:00
Peter Edberg
a238722264 ICU-12895 update release version to 59.0.1 for m1
X-SVN-Rev: 39562
2017-01-16 00:42:22 +00:00
Jeff Genovy
40f9b33eb7 ICU-12908 getTZKeyName in common/wintz.cpp leaks registry handle
We should only call RegCloseKey if we were actually able to open the key.
(The value of hkey isn't explicitly initialized, so we could possibly be calling RegCloseKey with random data.)

X-SVN-Rev: 39556
2017-01-13 01:48:47 +00:00
Jeff Genovy
645b425d97 ICU-12908 getTZKeyName in common/wintz.cpp leaks registry handle
X-SVN-Rev: 39555
2017-01-13 01:28:50 +00:00
Markus Scherer
fbd1e089fd ICU-12410 add C++ CaseMap, make UCaseMap an alias for that, move new functions with Edits into CaseMap, make case properties functions ignore UCaseProps pointer
X-SVN-Rev: 39554
2017-01-12 19:05:01 +00:00
Markus Scherer
3b23b78b95 ICU-12410 include what you use
X-SVN-Rev: 39553
2017-01-12 18:35:18 +00:00
Markus Scherer
7035c31b6d ICU-12410 add ucasemap_toTitleWithEdits(const UCaseMap *csm, icu::BreakIterator *iter, ...), change UErrorCode pointer to reference internally and in new C++ API functions, add ucasemap_foldCaseWithEdits(), change UCaseMap.iter to C++ BreakIterator
X-SVN-Rev: 39551
2017-01-09 23:52:12 +00:00
Markus Scherer
00f2e12b65 ICU-12410 Edits::Iterator getters not fields, tracks indexes, findSourceIndex(), skip-unchanged iterators, ucasemap_toLowerWithEdits() & ucasemap_toUpperWithEdits()
X-SVN-Rev: 39548
2017-01-06 00:20:31 +00:00
Markus Scherer
20994f490a ICU-12410 add Edits::Iterator and change UnicodeString case mappings to get & apply Edits for longer strings
X-SVN-Rev: 39547
2017-01-04 21:20:08 +00:00
Markus Scherer
6fc7fe3b65 ICU-12410 low-level UTF-16 case mapping functions optionally write metadata to new class Edits
X-SVN-Rev: 39546
2016-12-31 00:23:31 +00:00
Andy Heninger
fb0439839b ICU-12860 U_DRAFT -> U_CAPI. U_DRAFT appeared on three stable functions. Also changed U_STABLE->U_CAPI for consistencey within file. See #9961
X-SVN-Rev: 39544
2016-12-19 22:40:54 +00:00
Andy Heninger
7d2fe3819c ICU-12643 ICU4C, require C++11 to build.
X-SVN-Rev: 39543
2016-12-16 00:03:11 +00:00
Andy Heninger
0fd5600285 ICU-12809 only .cpp files no .c in ICU library code
X-SVN-Rev: 39527
2016-12-07 21:14:27 +00:00
Andy Heninger
52989746d9 ICU-12849 Title Casing, incorrect length returned when preflighting with a NULL output buffer.
X-SVN-Rev: 39518
2016-12-01 01:41:40 +00:00
Yoshito Umaoka
a19a3a0f7a ICU-12868 Fixed invalid if condition in the recent fix in locmap.c
X-SVN-Rev: 39517
2016-11-30 20:33:41 +00:00
Steven R. Loomis
725a6726d7 ICU-12023 merge from http://bugs.icu-project.org/trac/attachment/ticket/12023/libcxx_typeinfo.diff - CLA confirmed as @jbeich
X-SVN-Rev: 39507
2016-11-15 21:02:48 +00:00
Markus Scherer
fad9b48931 ICU-12832 UTF-8 case mapping appendUChar() write a character even if it fills destCapacity exactly
X-SVN-Rev: 39500
2016-11-07 23:15:47 +00:00
Markus Scherer
2f358ce4bb ICU-12827 ucol_getKeywordValuesForLocale() reset the keyword-list iterator, and a little UList cleanup
X-SVN-Rev: 39484
2016-10-26 22:05:50 +00:00
Andy Heninger
28c8696e5b ICU-12798 Missing #ifdef in putil_cleanup(), broke AIX.
X-SVN-Rev: 39469
2016-10-18 17:34:00 +00:00
Andy Heninger
16b73a36ca ICU-12798 directory traversal code assumes that path length is less than PATH_MAX
X-SVN-Rev: 39468
2016-10-18 00:31:55 +00:00
Yoshito Umaoka
4e96e53a07 ICU-12801 Fixing TestLocaleStructure failure triggered by the new locale 'ckb'.
X-SVN-Rev: 39447
2016-10-13 18:57:12 +00:00
Andy Heninger
92f758f6fc ICU-12797 RBBI rule compiler fix.
X-SVN-Rev: 39432
2016-10-10 21:49:01 +00:00
Steven R. Loomis
e650d3fcc1 ICU-12778 dirent patch on cygwin, merge 39419
X-SVN-Rev: 39424
2016-10-04 04:03:01 +00:00
Steven R. Loomis
76d05d3e32 ICU-12781 dirent patch on cygwin, merge r39418
X-SVN-Rev: 39423
2016-10-04 04:02:29 +00:00
Steven R. Loomis
3ea904d734 ICU-12783 umutex patch for cygwin, merge r39417
X-SVN-Rev: 39422
2016-10-04 04:01:33 +00:00
Norbert Runge
0ca4234c58 ICU-12761 Adds Unicode copyright notice.
X-SVN-Rev: 39388
2016-09-28 22:12:27 +00:00
Steven R. Loomis
29d7ab227d ICU-12752 merge from branch; z porting changes
X-SVN-Rev: 39385
2016-09-28 17:30:09 +00:00
Steven R. Loomis
6f70b217a8 ICU-12745 fix for review comments
X-SVN-Rev: 39384
2016-09-28 17:28:08 +00:00