Commit Graph

36160 Commits

Author SHA1 Message Date
Pavel Solodovnikov
db2d46e2dd Remove second arg: npos in substr usages 2017-06-01 14:19:52 -04:00
Pavel Solodovnikov
8b6f439ef2 Access string npos without instance 2017-06-01 14:19:51 -04:00
Brad King
389ed56f63 cmLocalUnixMakefileGenerator3: Remove unnecessary local variable 2017-06-01 14:18:54 -04:00
Brad King
9fe4a9e2ae cmParseBlanketJSCoverage: Pass unmodified parameter as const& 2017-06-01 14:18:54 -04:00
Kitware Robot
e75ac5aa03 CMake Nightly Date Stamp 2017-05-29 00:01:05 -04:00
Brad King
d375618921 Merge topic 'sunpro-std-flags'
370d0d25 SunPro: update flags used for CMake itself
f1f21e30 SunPro: set -library=stlport as standard compile option for C++98
9316120c SunPro: add standard compile option for C++03
783fbb77 Tests: Compile entire Plugin test with the same language standard

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !879
2017-05-28 09:22:33 -04:00
Brad King
ff1563199c Merge topic 'intel-std-flags'
fc51b92c Intel: avoid variables in language standard flags

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !894
2017-05-28 09:21:43 -04:00
Brad King
f8642f953d Merge topic 'reduce-string-copying'
2c2bb5f5 Remove unnecessary operator<< usage
1e4e2f99 Remove unused variables
25486156 Improved checking for number of arguments passed
86dc86dd Add const-reference qualifications
76bdb407 Change std::basic_string<char> to std::string

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !886
2017-05-28 09:13:12 -04:00
Brad King
f9ea6247c1 Merge topic 'FindBoost-use-IN_LIST'
cc329a01 FindBoost: Simplify search in lists.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !750
2017-05-28 09:12:04 -04:00
Brad King
5a0fa11fec Merge topic 'autogen_config'
e3e692ca Autogen: Test adaptions
dbda5906 Autogen: Per-config file suffixes. New AUTOGEN_BUILD_DIR target property.
0965002e Autogen: Pass build directory in Info file

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !858
2017-05-28 09:11:33 -04:00
Brad King
8b96e31ca3 Merge topic 'FindProtobuf-export-macro'
1ee20192 FindProtobuf: add optional export declaration macro to generated cpp files

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !881
2017-05-28 09:09:46 -04:00
Brad King
bc341a9d5e Merge topic 'update-libuv'
478ce1c7 libuv: Update build within CMake
1ebb421b Merge branch 'upstream-libuv' into update-libuv
362435f0 libuv 2017-05-25 (dc596109)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !896
2017-05-28 09:03:46 -04:00
Kitware Robot
e6c7c420b1 CMake Nightly Date Stamp 2017-05-28 00:01:03 -04:00
Kitware Robot
6357a22355 CMake Nightly Date Stamp 2017-05-27 00:01:05 -04:00
Brad King
478ce1c7b4 libuv: Update build within CMake
Update our CMake build rules to account for upstream changes.
2017-05-26 13:48:48 -04:00
Brad King
1ebb421bfc Merge branch 'upstream-libuv' into update-libuv
* upstream-libuv:
  libuv 2017-05-25 (dc596109)
2017-05-26 13:33:41 -04:00
libuv upstream
362435f02a libuv 2017-05-25 (dc596109)
Code extracted from:

    https://github.com/libuv/libuv.git

at commit dc596109d5a22db1dbf57098630eebd30fce8068 (v1.x).
2017-05-26 13:33:40 -04:00
Daniel Pfeifer
370d0d2531 SunPro: update flags used for CMake itself
Special flags should no longer be required when CMake is built with a
recent version of CMake.
2017-05-26 13:26:40 -04:00
Daniel Pfeifer
f1f21e3077 SunPro: set -library=stlport as standard compile option for C++98 2017-05-26 13:26:39 -04:00
Daniel Pfeifer
9316120c80 SunPro: add standard compile option for C++03 2017-05-26 13:26:39 -04:00
Brad King
783fbb77e7 Tests: Compile entire Plugin test with the same language standard
Set `CMAKE_CXX_STANDARD` early so that both KWSys and our test code
build with the same language standard.  This is important on compilers
that have incompatible standard libraries.
2017-05-26 13:26:39 -04:00
Pavel Solodovnikov
2c2bb5f527 Remove unnecessary operator<< usage 2017-05-26 19:54:29 +03:00
Pavel Solodovnikov
1e4e2f993c Remove unused variables 2017-05-26 19:52:31 +03:00
Pavel Solodovnikov
2548615630 Improved checking for number of arguments passed 2017-05-26 19:51:40 +03:00
Pavel Solodovnikov
86dc86dd6c Add const-reference qualifications 2017-05-26 19:50:11 +03:00
André Apitzsch
1ee2019239 FindProtobuf: add optional export declaration macro to generated cpp files 2017-05-26 11:35:03 -04:00
Alex Turbov
cc329a0125 FindBoost: Simplify search in lists.
Instead of `list(FIND...)` and then checking result for `-1`
(found/not-found), nowadays `if` command has the `IN_LIST` test for
that.
2017-05-26 11:21:49 -04:00
Brad King
bc407ba6ba Merge topic 'codecvt-revise'
690acadc codecvt: Re-implement do_out and do_unshift

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !891
2017-05-26 11:17:17 -04:00
Brad King
6f74bbaffe Merge topic 'findxmlrpc_fix'
eb0cfd28 FindXMLRPC: handle QUIETLY and REQUIRED correctly

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !887
2017-05-26 11:15:49 -04:00
Brad King
5b8ac116c3 Merge topic 'cpacklog-string-cref'
542d9d5e cmCPackLog: pass std::string by const&

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !892
2017-05-26 11:15:13 -04:00
Brad King
fa0a3210ee Merge topic 'vs-vcxproj-indent'
30675ec4 VS: Fix indentation of .vcxproj files

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !884
2017-05-26 11:14:33 -04:00
Brad King
256481499d Merge topic 'update-kwsys'
867b1742 Merge branch 'upstream-KWSys' into update-kwsys
402c6c12 KWSys 2017-05-25 (160bed45)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !890
2017-05-26 11:13:45 -04:00
Sebastian Holtermann
e3e692caea Autogen: Test adaptions 2017-05-26 15:27:17 +02:00
Sebastian Holtermann
dbda590628 Autogen: Per-config file suffixes. New AUTOGEN_BUILD_DIR target property.
Closes #14760
Closes #14313
2017-05-26 15:27:17 +02:00
Sebastian Holtermann
0965002e57 Autogen: Pass build directory in Info file 2017-05-26 15:23:21 +02:00
Daniel Pfeifer
fc51b92c80 Intel: avoid variables in language standard flags
In the bootstrap script, we want to be able to extract language standard
flags using sed.  Make sure the content of the flag varianbles can be
passed unmodified to the compiler.
2017-05-26 08:21:50 +02:00
Kitware Robot
83e4a8e637 CMake Nightly Date Stamp 2017-05-26 00:01:06 -04:00
Daniel Pfeifer
542d9d5e25 cmCPackLog: pass std::string by const& 2017-05-25 23:40:50 +02:00
Niklas Simons
eb0cfd2847 FindXMLRPC: handle QUIETLY and REQUIRED correctly
Use the built in FindPackageHandleStandardArgs.

Fixes: #16912
Signed-off-by: Niklas Simons <nsimons@abo.fi>
2017-05-25 15:26:05 -04:00
Brad King
048f0065bf Merge topic 'c++11-iwyu-decay-and-strip'
60afab9e IWYU: add mapping for std::__decay_and_strip

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !889
2017-05-25 15:16:39 -04:00
Brad King
1f6509142d Merge topic 'FindCygwin-alt-arch'
d3034654 FindCygwin: Use find_program instead of find_path

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !883
2017-05-25 15:15:16 -04:00
Brad King
def409af76 Merge topic 'FindDoxygen-add-docs-function'
59ffabfe Improve Doxygen support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !684
2017-05-25 15:14:53 -04:00
Brad King
1aa9eb33e0 Merge topic 'server-fix-warning'
aa7e9a96 cmServer: Fix compiler -Wdouble-promotion warning

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !885
2017-05-25 15:14:22 -04:00
Brad King
d6df882add Merge topic 'find_dependency-improvements'
ab358d6a Improve find_dependency argument handling

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !872
2017-05-25 15:13:47 -04:00
Brad King
a9b11235a8 Merge topic 'find_package-shorter-message'
d0b9d1cc find_package: shorten output for missing package in config mode
d9df805f cmFindPackageCommand: Split condition to improve readability

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !851
2017-05-25 15:13:03 -04:00
Brad King
690acadc17 codecvt: Re-implement do_out and do_unshift
The previous implementation assumed that only one byte would be given
in the `from` buffer by the caller at a time.  This may be true for
MSVC but is not for the GNU library on Windows.  Re-implement these
methods to handle more than one byte per call.

Also simplify the state management by keeping all state between calls
directly in the `mbstate_t` argument instead of using it to index our
own heap-allocated state.

Fixes: #16893
2017-05-25 15:03:03 -04:00
Brad King
867b17428a Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys:
  KWSys 2017-05-25 (160bed45)
2017-05-25 09:40:59 -04:00
KWSys Upstream
402c6c121c KWSys 2017-05-25 (160bed45)
Code extracted from:

    https://gitlab.kitware.com/utils/kwsys.git

at commit 160bed451833380e9f6ddc60e709ab6800bf2129 (master).

Upstream Shortlog
-----------------

Brad King (1):
      51859eab CONTRIBUTING: Specify clang-format version used for code style

Florian Maushart (2):
      684bcda6 SystemInformation: Expose CPU feature flags publicly
      70b8332f SystemInformation: Add CPU_FEATURE_FPU flag
2017-05-25 09:40:58 -04:00
Kitware Robot
bc2cfd7c98 CMake Nightly Date Stamp 2017-05-25 00:01:07 -04:00
Daniel Pfeifer
60afab9e44 IWYU: add mapping for std::__decay_and_strip 2017-05-25 00:55:40 +02:00