Jeff Genovy
9f62b0dada
ICU-13171 Update the VS project files to use VS 2017, plus various fixes to get Samples compiling.
...
Also add explicit defines for WINVER and _WIN32_WINNT for Windows 7 targeting in non-UWP projects.
X-SVN-Rev: 40935
2018-02-16 03:16:03 +00:00
Jeff Genovy
16598e5468
ICU-13436 Fix various typos and spelling mistakes.
...
X-SVN-Rev: 40645
2017-10-26 21:33:43 +00:00
Andy Heninger
7a72a8f032
ICU-13380 Fixes for memory leaks & other problems found by Address Sanitizer.
...
X-SVN-Rev: 40529
2017-10-03 04:11:26 +00:00
Steven R. Loomis
119d75dc46
ICU-13001 additional warning cleanup
...
X-SVN-Rev: 40444
2017-09-21 22:38:34 +00:00
Steven R. Loomis
89765009b4
ICU-13001 warning cleanup
...
- remove some dead code
- fix some warnings that show up when services, regex are turned off
- change some macros into inline functions to quell parenthesis complaints (ucnv_u16.cpp)
X-SVN-Rev: 40442
2017-09-21 19:43:28 +00:00
Jugu Dannie Sundar
fdd5212284
ICU-10935 merging from branch
...
X-SVN-Rev: 40316
2017-08-07 21:27:46 +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
Andy Heninger
a0c9b06810
ICU-13049 svn properties updated to match auto-props values.
...
X-SVN-Rev: 39852
2017-03-17 21:19:03 +00:00
Steven R. Loomis
803210153a
ICU-12766 merge from trunk
...
X-SVN-Rev: 39808
2017-03-15 00:50:54 +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
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
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
5a13a8ca58
ICU-12992 return raw pointers not pointer wrappers
...
X-SVN-Rev: 39729
2017-03-03 22:42:52 +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
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
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
Markus Scherer
7960164327
ICU-12663 UnicodeString support nearly 2G UChars & avoid integer overflows; string-to-string case mappings & detect integer overflows; make some calls to uprv_memcpy() and similar a little more robust by casting int32_t to size_t before multiplying
...
X-SVN-Rev: 39288
2016-09-20 01:10:36 +00:00
Shawn Steele
326552aa72
ICU-12087 - merge updates to use VS2015
...
X-SVN-Rev: 39085
2016-08-24 20:52:23 +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
Michael Ow
d63a77bca4
ICU-12455 Update version number to 58.0.1 in ICU4C
...
X-SVN-Rev: 38711
2016-05-06 20:53:07 +00:00
Markus Scherer
7db1c41417
ICU-12141 checking layout, layoutex, tools & tests now too; added some includes; renamed one of the two struct LookupTable in the layout engine
...
X-SVN-Rev: 38500
2016-03-07 20:26:37 +00:00
Markus Scherer
a9c247a3cb
ICU-12166 annotate intended switch case fallthroughs
...
X-SVN-Rev: 38447
2016-03-01 07:44:57 +00:00
Fredrik Roubert
7f4b8d106b
ICU-12012 Replace all sizeof p / sizeof *p with UPRV_LENGTHOF().
...
R=markus.icu@gmail.com
Review URL: https://codereview.appspot.com/285520043 .
X-SVN-Rev: 38337
2016-02-23 10:40:09 +00:00
Michael Ow
4382bcac9f
ICU-9747 Fix build issues in MSVC 2015
...
X-SVN-Rev: 38198
2016-01-25 20:43:27 +00:00
Markus Scherer
d42e632251
ICU-11830 genrb.cpp: use CharString for pool file name & current file name; use LocalPointer for newPoolBundle; use UErrorCode reference not pointer
...
X-SVN-Rev: 37904
2015-09-08 21:44:49 +00:00
Markus Scherer
436d5a6ddc
ICU-11829 change derb.c to .cpp; use CharString & UnicodeString for building strings; remove unused converter variable; use UPRV_LENGTHOF()
...
X-SVN-Rev: 37903
2015-09-08 21:08:55 +00:00
Markus Scherer
b4b5fc8392
ICU-11831 u_parseArgs() reset option->doesOccur in case of error
...
X-SVN-Rev: 37882
2015-09-04 18:38:25 +00:00
Markus Scherer
e1ea4422bc
ICU-11537 genrb write .res formatVersion 2 if it would default to 3 without benefit: even if the pool bundle has string values, if they are not in fact shared
...
X-SVN-Rev: 37737
2015-08-07 21:36:08 +00:00
Markus Scherer
00ae09aa36
ICU-11537 genrb write .res formatVersion 2 if it would default to 3 without benefit: without sharing pool bundle string values
...
X-SVN-Rev: 37736
2015-08-07 21:05:32 +00:00
Markus Scherer
36e5d9e75f
ICU-11537 move shared resource bundle string values to pool.res, .res formatVersion 3; merge --integrate from dev branch, plus make toolutil/pkgitems.cpp set poolBundleStrings so that icupkg can check dependencies
...
X-SVN-Rev: 37731
2015-08-07 18:44:38 +00:00
Markus Scherer
3fafa669d7
ICU-11761 init fStringsForm with named constant
...
X-SVN-Rev: 37657
2015-07-08 23:14:47 +00:00
Markus Scherer
f527e0b536
ICU-11761 stringSet strings are unique
...
X-SVN-Rev: 37656
2015-07-08 22:37:20 +00:00
Markus Scherer
459c8d0e81
ICU-11761 reslist.cpp force explicit UnicodeString constructors, like other genrb .cpp files
...
X-SVN-Rev: 37655
2015-07-08 22:24:54 +00:00
Markus Scherer
c1f7be3ffe
ICU-11761 bug fix: always begin 16BitUnits[] with a 0 for empty resources, see uresdata.h (was almost always true before r37644)
...
X-SVN-Rev: 37654
2015-07-08 22:07:52 +00:00
Markus Scherer
5d7b60d863
ICU-11761 include assert.h
...
X-SVN-Rev: 37653
2015-07-08 18:17:53 +00:00
Markus Scherer
f87b2c9b3c
ICU-11761 share equal strings even if they need explicit length; more generic root resource for flexibility (experiment with more work on pool bundles)
...
X-SVN-Rev: 37649
2015-07-07 18:50:21 +00:00
Markus Scherer
18e27b35d6
ICU-11761 more readable pool bundle usage & string compacting
...
X-SVN-Rev: 37645
2015-07-03 17:09:17 +00:00
Markus Scherer
a1348758c1
ICU-11761 simpler memory management with UnicodeString & LocalArray
...
X-SVN-Rev: 37644
2015-07-03 02:12:17 +00:00
Markus Scherer
9312cb2d1a
ICU-11761 SResource virtual dispatch for preflighting & writing resources; C++ify some of SRBRoot
...
X-SVN-Rev: 37643
2015-07-02 23:51:09 +00:00
Andy Heninger
59a70fdd6e
ICU-11751 Fix Windows build problem with revised reslist.cpp, again.
...
X-SVN-Rev: 37622
2015-06-24 23:21:11 +00:00
Andy Heninger
0f9cf08e1c
ICU-11751 Fix Windows build problem with revised reslist.cpp
...
X-SVN-Rev: 37621
2015-06-24 22:13:11 +00:00
Markus Scherer
62e756505c
ICU-11751 polymorphic TableResource, ArrayResource, IntResource, IntVectorResource, BinaryResource
...
X-SVN-Rev: 37619
2015-06-24 20:15:08 +00:00
Markus Scherer
43c47b5685
ICU-11751 change genrb.c to .cpp, polymorphic StringResource & AliasResource with UnicodeString
...
X-SVN-Rev: 37618
2015-06-24 09:11:42 +00:00
Markus Scherer
cfe9e72aec
ICU-11751 change genrb reslist.c & wrtjava.c to C++ (mostly just .c to .cpp)
...
X-SVN-Rev: 37610
2015-06-23 07:07:27 +00:00
Markus Scherer
344357d3f6
ICU-11720 better memory management in genrb parseBinary() using auto pointers
...
X-SVN-Rev: 37577
2015-06-16 13:14:14 +00:00
Markus Scherer
5b21336927
ICU-11719 better memory management in genrb parseImport() using string class & auto pointers
...
X-SVN-Rev: 37576
2015-06-16 12:34:36 +00:00