Fredrik Roubert
6ca288559f
ICU-22936 Replace all ICU4C code that uses UBool as an integer.
2024-10-07 14:40:16 +02:00
Frank Yung-Fong Tang
8437d1d86b
ICU-22767 Fix GCC warning and turn warning to errors
...
See #3129
2024-10-02 13:35:03 -07:00
Mike FABIAN
1754ff2a10
ICU-22909 Fix coverity warning in makeconv.cpp
...
See: https://unicode-org.atlassian.net/browse/ICU-22909
2024-09-23 20:49:24 -07:00
Fredrik Roubert
55c5895923
ICU-22793 Clang-Tidy: google-readability-casting
...
https://releases.llvm.org/19.1.0/tools/clang/tools/extra/docs/clang-tidy/checks/google/readability-casting.html
2024-09-19 18:59:13 +02:00
Fredrik Roubert
0bf8a95309
ICU-22793 Remove superfluous return value typecasts to UBool.
2024-09-19 17:11:38 +02:00
Fredrik Roubert
0178a07a26
ICU-22793 Clang-Tidy: google-readability-casting
...
https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/google/readability-casting.html
2024-07-04 22:32:12 +02:00
Mihai Nita
47b9a517be
ICU-21107 Specify language standard versions C11 & C++17 also for MSVC
...
ICU-21107 Specify language standard versions C11 & C++17 also for MSVC
2024-01-17 09:26:22 -08:00
Fredrik Roubert
078b88a11a
ICU-21107 Specify language standard versions C11 & C++17 also for MSVC.
...
There were until now no versions specified at all, relying on the
default (or commandline overrides) to be sufficiently recent.
2024-01-16 22:22:05 +09:00
Fredrik Roubert
2de88f9d9c
ICU-21833 Replace UChar with char16_t in all C++ code.
2023-02-06 19:27:44 +01:00
Fredrik Roubert
2e0d30cfcf
ICU-21833 Replace NULL with nullptr in all C++ code.
2023-02-03 20:20:38 +01:00
Fredrik Roubert
030fa1a479
ICU-21148 Consistently use standard lowercase true/false everywhere.
...
This is the normal standard way in C, C++ as well as Java and there's no
longer any reason for ICU to be different. The various internal macros
providing custom boolean constants can all be deleted and code as well
as documentation can be updated to use lowercase true/false everywhere.
2022-09-07 20:56:33 +02:00
Shane F. Carr
92db25165f
ICU-21545 Add icuwriteuprops tool
...
See #1741
2021-09-08 15:27:43 -05:00
Markus Scherer
c3fe7e09d8
ICU-21267 stop defining & using FALSE & TRUE macros in public headers
...
See #1282
2020-09-09 15:13:56 -07:00
Jeff Genovy
341608f7b6
ICU-21108 Update to use/support VS2019, and add extra CI builds for VS2017 and VS2019.
...
Change to use the Windows 10 SDK for Win32 (Win7) builds on the VS2019 ADO images.
The Windows 10 SDK is backwards compatible to Windows 7, if WINVER and
_WIN32_WINNT are set before compiling.
Clean up the vcxproj files from VC7.1
2020-09-02 13:01:27 -07:00
Stephan Szabo
b6eb747550
ICU-10879 Split out OBJECTS from Makefiles into separate files
2020-05-20 11:37:05 -07:00
Jeff Genovy
408752ec49
ICU-20782 Enable Windows desktop ARM and ARM64 builds of ICU4C.
...
This enables "classic" desktop builds of ICU4C for both ARM (32-bit)
and ARM64 (64-bit) on Windows.
All but the two samples "cal" and "date" in the "allinone" project now
have ARM and ARM64 project configurations, and build for Windows Desktop
ARM/ARM64.
Note: In order to build the ARM/ARM64 data DLL, you need to first build
x64/Release, as the ARM/ARM build uses the x64 bits in order to be able
to cross-compile for ARM/ARM64. This allows for completely building
ARM/ARM64 binaries using only x64 hardware.
The ARM/ARM64 builds require using a newer version of the Windows SDK
than 8.1, so they have a separate WindowsTargetPlatformVersion which
uses Windows 10 SDK version 10.0.16299.0 (aka RS3), which is the first
version of the Windows SDK to support building ARM64 desktop applications.
In addition this also greatly cleans-up the ICU4C ".vcxproj" files, in
order to remove redundant parts, fix inconsistencies, and make them more
readable. This introduces two new variables in the shared `*.props`
files: `IcuBinOutputDir` and `IcuLibOutputDir` in order to further
reduce the amount of duplicated lines in the individual ".vcxproj"
files themselves.
2019-08-26 22:50:31 -07:00
Jeff Genovy
c5ad4664f9
ICU-20768 Remove fixed DLL base addresses when building Windows DLLs.
...
Remove redundant FixedBaseAddress entries from the vcxproj files.
Make the pkgdata -b option a no-op, and output a message to the user.
2019-08-20 15:37:15 -07:00
Jeff Genovy
e72290c45e
ICU-13764 Add separate CI build that treats warnings as errors with clang.
...
This adds a separate CI build that enables -Werror for clang.
This also fixes all of the -Wall -Wextra warnings in the tests, and all the
-Wextra-semi warnings as well.
2019-07-30 22:10:02 -07:00
Markus Scherer
f5d2c560a0
ICU-20376 makeconv prepend relative sourcedir to args; only ignore if nothing but a single dot
2019-02-06 08:45:18 -08:00
Jeff Genovy
83fea413ba
ICU-20315 Fix MSYS2 build break: Don't prepend the source dir if it is just a current directory (.) path.
2019-01-09 17:02:29 -08:00
Shane Carr
ee9c0b944c
ICU-10923 Rewriting data build orchestration in Python.
...
- Creates new Python package in icu4c/data/buildtool
- Creates BUILRDULES.py in icu4c/data and icu4c/test/testdata, unified between Unix/Windows
- Removes most data build orchestration rules from makedata.mak, testdata.mak, data/Makefile.in, and test/testdata/Makefile.in
- Removes pool.res files and builds them on the fly instead
2018-11-19 13:43:35 -07:00
Jeff Genovy
9a5b7af83d
ICU-13180 Support skiping building the UWP projects with a command line MSBuild option.
2018-11-06 16:02:03 -08:00
Jeff Genovy
bb915931d0
ICU-13586 No actual code changes. This change cleans up redundancies in the VS project files, and pulls in common or shared settings from a shared 'props' file. This means that you can now change one single file to target either VS2015 or VS2017, instead of needing to change many files. It also allows the VS project files to share common defines as well, meaning that if you need to target something other than Windows 7, you can make one change in one file, instead of needing to make hundreds. Also included in this change are improvements to the VS Solution files in order to properly denote the dependencies of the projects, which might be needed in the future for possible parallel project builds.
...
X-SVN-Rev: 41049
2018-03-02 03:20:22 +00:00
Jeff Genovy
07d9b3b567
ICU-13171 Enable multi-processor compilation (/MP) for faster builds.
...
X-SVN-Rev: 40937
2018-02-16 07:21:34 +00:00
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
Jeff Genovy
acb0dc3593
ICU-13030 Fix one more location using U_CALLCONV.
...
X-SVN-Rev: 40547
2017-10-04 17:42:36 +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
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
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
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
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
Markus Scherer
a9c247a3cb
ICU-12166 annotate intended switch case fallthroughs
...
X-SVN-Rev: 38447
2016-03-01 07:44:57 +00:00
Steven R. Loomis
6b8c10a398
ICU-11826 fix makeconv linkage change that broke on non-Windows
...
You can please some of the platforms some of the time…
X-SVN-Rev: 37933
2015-09-10 02:39:41 +00:00
Steven R. Loomis
9d91ee05db
ICU-11826 makeconf.cpp fix for Windows linkage
...
X-SVN-Rev: 37931
2015-09-10 02:06:33 +00:00
Markus Scherer
f9b98d9b6f
ICU-11826 makeconv main() use CharString for outFileName; change from .c to .cpp; CharString add lastIndexOf(char) and ensureEndsWithFileSeparator()
...
X-SVN-Rev: 37902
2015-09-08 19:54:38 +00:00
Andy Heninger
ae678d796b
ICU-11609 add svn:eol-style property to vcxproj files.
...
X-SVN-Rev: 37364
2015-04-17 21:25:48 +00:00
Steven R. Loomis
90b2bf6959
ICU-11642 add -q options to gencfu,gencnval,gendict,makeconv,genbrk
...
X-SVN-Rev: 37343
2015-04-16 15:22:30 +00:00
Steven R. Loomis
7594250cc5
ICU-7653 changed uprv_lengthof to UPRV_LENGTHOF, also added apidoc
...
X-SVN-Rev: 36275
2014-08-28 22:13:45 +00:00
Tom Zhang
ee1f29b584
ICU-7653 move LENGTHOF(array) to common, internal header
...
X-SVN-Rev: 36265
2014-08-28 14:55:34 +00:00
Andy Heninger
ae87a3acc2
ICU-10051 Mutexes: introduce UInitOnce; remove UMTX_CHECK; replace all uses of UMTX_CHECK. All the directories this time.
...
X-SVN-Rev: 33788
2013-06-01 03:37:16 +00:00
Markus Scherer
6199780f09
ICU-9602 increment the _MBCSHeader.version from 5.3/4.3 to 5.4/4.4
...
X-SVN-Rev: 33327
2013-02-25 23:26:00 +00:00
Markus Scherer
2e71f86e17
ICU-9602 conversion: add good one-way mapping type |4
...
X-SVN-Rev: 33173
2013-02-11 20:48:11 +00:00
Peter Edberg
53941f359b
ICU-9235 getToUnicodeValue() should write extension seq length as count of UTF16 (not UTF32) units
...
X-SVN-Rev: 31954
2012-06-14 22:19:36 +00:00