Joshua Root
a3078fb8c8
ICU-20875 Include <cstddef> for max_align_t
...
The definition of max_align_t is not guaranteed to be available unless
the appropriate header is included. Since use of <stddef.h> from C++ is
deprecated, that's <cstddef>, and max_align_t is thus defined under the
std namespace rather than in the global namespace.
2020-01-09 15:42:52 -08:00
Andy Heninger
0367d4c135
ICU-20048 remove uses of UAlignedMemory, replace with native C++11 constructs.
...
Also update the Travis CI configuration to use newer compilers, and the
dependency checker to be happy with the newer clang compiler.
2019-06-28 13:35:17 -07:00
Daniel Ju
b13c951348
ICU-20043 ICU-13214 ICU-13764 MSVC W3 and W4 warning cleanup ( #53 )
...
Cleaned up all of the MSVC W3 warnings and most of the W4 warnings in the common and i18n projects.
2018-09-27 14:27:38 -07:00
Markus Scherer
27c08578ac
ICU-13311 change illegal-UTF-8 handling in non-converter code
...
X-SVN-Rev: 40445
2017-09-21 23:45:08 +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
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
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
242e02c388
ICU-12764 icu4c utf-8 source files, update Copyright notices.
...
X-SVN-Rev: 39583
2017-01-20 00:20:31 +00:00
Michael Ow
61607c2773
ICU-12564 Update copyright notice in trunk
...
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Yoshito Umaoka
00ca13e126
ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
...
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f
ICU-12564 Update copyright notice in ICU4C
...
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
Andy Heninger
7529fbd82b
ICU-12130 fix utext_extract() incorrect position on return.
...
X-SVN-Rev: 38233
2016-01-30 02:12:01 +00:00
Markus Scherer
0f0c7656d3
ICU-11832 some better error checking based on static code analysis
...
X-SVN-Rev: 37930
2015-09-10 01:42:34 +00:00
Andy Heninger
03e1202db7
ICU-10983 Add failure checks to utext_clone().
...
X-SVN-Rev: 35986
2014-07-02 20:31:42 +00:00
Andy Heninger
095a44d774
ICU-10562 UText problem with shallow clone.
...
X-SVN-Rev: 34747
2013-12-12 01:04:54 +00:00
Markus Scherer
bc31ae8173
ICU-9662 add & test & use U8_GET_OR_FFFD(), U8_NEXT_OR_FFFD(), U8_PREV_OR_FFFD()
...
X-SVN-Rev: 32796
2012-11-11 06:14:18 +00:00
Andy Heninger
da5380d926
ICU-8123 Remove utext comparison functions.
...
X-SVN-Rev: 31277
2012-01-31 01:14:41 +00:00
Yoshito Umaoka
e9503bdade
ICU-8909 Fixed various warnings reported by a source code analysis tool.
...
X-SVN-Rev: 30958
2011-11-14 19:32:51 +00:00
Markus Scherer
e31ce99b84
ICU-8575 option for not including utf headers by default; replace uses of deprecated utf_old.h macros
...
X-SVN-Rev: 30430
2011-07-27 05:53:56 +00:00
Andy Heninger
118efa19c6
ICU-8486 UText not checking for Bogus UnicodeStrings, causing crash in regular expressions.
...
X-SVN-Rev: 29840
2011-04-21 00:07:50 +00:00
Peter Edberg
5224f25511
ICU-8267 ucstrTextExtract should use text pointer & offset for chunk, as set by ucstrTextAccess
...
X-SVN-Rev: 29356
2011-01-25 03:25:24 +00:00
Markus Scherer
b5e1330176
ICU-7264 merge Unicode 6.0 into trunk from branches/markus/uni60 -r 28339:28657
...
X-SVN-Rev: 28661
2010-09-21 00:12:49 +00:00
Peter Edberg
0b3887b73a
ICU-4521 kill more warnings
...
X-SVN-Rev: 27721
2010-02-27 07:43:07 +00:00
Michael Grady
8216117f21
ICU-4521 UText-based regex implementation
...
X-SVN-Rev: 27482
2010-02-03 02:59:35 +00:00
Andy Heninger
183dadb915
ICU-5572 improved UText of empty string construction
...
X-SVN-Rev: 25824
2009-04-17 23:50:13 +00:00
Andy Heninger
2eb88b2772
ICU-6847 UText problems with nul-terminated strings
...
X-SVN-Rev: 25804
2009-04-16 23:41:36 +00:00
George Rhoten
928d6152bc
ICU-6176 Fix some Coverity warnings
...
X-SVN-Rev: 23414
2008-02-13 09:35:50 +00:00
George Rhoten
627e666a35
ICU-6125 Reduce writable memory so that more of the data can be shared between processes.
...
X-SVN-Rev: 23178
2008-01-06 07:46:45 +00:00
George Rhoten
9ce90e2c18
ICU-5856 Promote @draft API to @stable for ICU 3.8 release, and make sure that the existing API is labeled correctly.
...
X-SVN-Rev: 22422
2007-08-19 08:59:28 +00:00
Andy Heninger
5a8ece1c9e
ICU-5560 Fix UText bug with deep clone buffer pointer handling.
...
X-SVN-Rev: 20993
2007-01-30 01:38:16 +00:00
George Rhoten
b27729b208
ICU-5304 Allow source code to work again without using U_NAMESPACE_USE
...
X-SVN-Rev: 20240
2006-09-03 17:08:23 +00:00
Andy Heninger
f7907fdbbe
ICU-4669 UText code review changes
...
X-SVN-Rev: 20121
2006-08-21 05:52:38 +00:00
George Rhoten
32b22cf076
ICU-4669 Fix newlines from last checkin
...
X-SVN-Rev: 20111
2006-08-19 08:28:10 +00:00
Andy Heninger
dab1bcdb2d
ICU-4669 UText, struct alignment, review comments
...
X-SVN-Rev: 20107
2006-08-19 00:38:18 +00:00
Andy Heninger
238a5028fd
ICU-4669 UText, cleanups from reviewing header file.
...
X-SVN-Rev: 20032
2006-08-11 16:59:25 +00:00
George Rhoten
154f34dbf2
ICU-4707 Fix some compiler warnings.
...
X-SVN-Rev: 20028
2006-08-11 04:05:04 +00:00
Andy Heninger
4ce961aa13
ICU-4669 Add tests for UText CharacterIterator provider, and fix errors uncovered by them.
...
X-SVN-Rev: 20016
2006-08-10 05:28:32 +00:00
Andy Heninger
65fa8b24a3
ICU-4669 fix some compiler warnings.
...
X-SVN-Rev: 19810
2006-07-10 05:34:42 +00:00
Andy Heninger
86f905c2eb
ICU-4669 UText optimized UTF-8 provider
...
X-SVN-Rev: 19808
2006-07-10 05:03:54 +00:00
Andy Heninger
5d834f6c4a
ICU-4669 UText previous index, inline native index
...
X-SVN-Rev: 19647
2006-05-23 22:52:58 +00:00
George Rhoten
f2ecbc7d10
ICU-4707 Fix some compiler warnings.
...
X-SVN-Rev: 19639
2006-05-22 06:03:31 +00:00
George Rhoten
37304eb354
ICU-4669 Fix compiler warnings/errors
...
X-SVN-Rev: 19598
2006-04-26 07:03:14 +00:00
Andy Heninger
2d1e469781
ICU-4669 compiler warnings & a lurking UText bug.
...
X-SVN-Rev: 19595
2006-04-26 03:58:01 +00:00
Andy Heninger
dc202a471e
ICU-4669 improved initialization of UText fields
...
X-SVN-Rev: 19580
2006-04-24 17:28:43 +00:00
Andy Heninger
932aa7f58f
ICU-4669 Add reserved fields, various bug fixes.
...
X-SVN-Rev: 19573
2006-04-21 04:34:00 +00:00
Andy Heninger
f47dea2b53
ICU-4873 UText with surrogates spanning chunk boundaries.
...
X-SVN-Rev: 19498
2006-03-31 02:11:39 +00:00
Andy Heninger
cfd5650611
ICU-4699 add Freeze to UText
...
X-SVN-Rev: 19197
2006-02-17 02:16:01 +00:00
Andy Heninger
511637f54a
ICU-4669 UText refactoring & 64 bit changes.
...
X-SVN-Rev: 18726
2005-10-28 00:01:18 +00:00
Andy Heninger
48e7893bad
ICU-4669 ICU 3.4 review comments on UText, fixes added.
...
X-SVN-Rev: 18715
2005-10-25 00:49:31 +00:00
Andy Heninger
c94d33dc6e
ICU-3944 text access, a few review fixes
...
X-SVN-Rev: 18234
2005-07-13 23:09:30 +00:00