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
Fredrik Roubert
5401c12018
ICU-22621 Clang-Tidy: modernize-use-nullptr
...
https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/modernize/use-nullptr.html
2024-03-15 14:31:54 +01:00
Vincent Torri
3a6b1ef80e
ICU-22612 usage of C++11 implies the existence of stdint.h, so remove useless checks
...
See #2860
2024-03-06 10:56:53 +01: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
Frank Tang
de0a28644b
ICU-22251 Move sprintf to snprintf.
...
See #2291
2023-01-25 23:23:29 -08:00
Jacky_Yin
31b4b9cc32
ICU-21800 Fix ARM64 search path for Windows
2021-10-27 11:00:08 -07:00
luz paz
73eca0a9c9
ICU-21580 Fix typos in icu4c/
...
Found via `codespell -q 3 -L ans,anumber,atleast,ba,bre,hace,nd,nin,ois,rsource,som,sur,tht -S icu4c/source/data/zone,icu4c/source/data/lang`
ICU-21580 Fix source (related) typos
ICU-21580 Revert extraneous auto-encoding
ICU-21580 Re-add previous reverted fix without auto-encoding
2021-07-19 13:22:38 -05:00
Erik Torres Aguilar
6eea259143
ICU-21018 Fix typos across repo that start with letter C
...
See #1525
2021-01-06 15:15:26 -08: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
Steven R. Loomis
83a0542b5b
ICU-20526 fix pkgdata where LD_SONAME has a trailing space
...
- added PKGDATA_TRAILING_SPACE to all of the pkgdataMakefile.in file.
- NOTE: Users who create their own pkgdata.inc / icupkg.inc files may need
to recreate this PKGDATA_TRAILING_SPACE behavior.
- used the above variable, normally undefined, in mh-* files that need a trailing space
- Also, fixed use of system() in pkgdata.cpp per ICU-20538
This was causing pkgdata to return a zero status even on clang
failure, masking this issue.
2019-04-03 16:43:42 -07:00
Jeff Genovy
33d7868d45
ICU-20351 Warning cleanup changes for ICU4C under MSVC.
2019-01-16 16:43:02 -08: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
Shane Carr
fd5faeb48b
ICU-20159 Fixing gcc warnings in project and test code.
2018-10-29 16:28:54 -07:00
Jeff Genovy
da15efacf0
ICU-13785 Adding dependency information to uconv project to prevent "NMAKE : fatal error U1077" on Win/VS builds.
...
X-SVN-Rev: 41452
2018-05-24 05:54:49 +00:00
Jeff Genovy
f35a17992f
ICU-13586 Fix build break for Windows.
...
X-SVN-Rev: 41051
2018-03-02 19:28:51 +00: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
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
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
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
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
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
Fredrik Roubert
f75e591321
ICU-12012 Replace all sizeof p / U_SIZEOF_... with UPRV_LENGTHOF().
...
R=markus.icu@gmail.com
Review URL: https://codereview.appspot.com/291740043 .
X-SVN-Rev: 38349
2016-02-24 22:52:29 +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
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
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
Markus Scherer
c2ba26e8ba
ICU-10472 build genrb, uconv, toolutil but not test suites with explicit UnicodeString constructors
...
X-SVN-Rev: 35230
2014-02-25 23:49:53 +00:00
Michael Ow
38d627e87f
ICU-10134 Fix man page for uconv
...
X-SVN-Rev: 33613
2013-05-08 19:06:57 +00:00
Michael Ow
a22744bd41
ICU-9953 Disable uconv static data loading on zos
...
X-SVN-Rev: 33305
2013-02-22 17:50:44 +00:00
Michael Ow
baca52593a
ICU-9953 Fix app data declaration in uconv
...
X-SVN-Rev: 33296
2013-02-21 22:55:33 +00:00
Steven R. Loomis
6eef7bff7b
ICU-9596 cleanup U_NO_DEFAULT_INCLUDE_UTF_HEADERS - use utf_old.h in tests when needed
...
X-SVN-Rev: 32440
2012-09-27 18:52:04 +00:00
George Rhoten
8b10488235
ICU-9456 Dependency fixes for make -j 16
...
X-SVN-Rev: 32281
2012-08-28 22:57:29 +00:00
George Rhoten
a831a2d71f
ICU-9456 Optimize the ICU4C build on Mac OS X
...
X-SVN-Rev: 32093
2012-08-03 17:27:44 +00:00