Commit Graph

10202 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
f1c1f5aa42 For CI - setup the lint stage on the primary CI. 2018-01-24 02:06:23 +08:00
Yao Wei Tjong 姚伟忠
29fed24492 Rinse and repeat by invoking clang-tidy (v3.9) from CLI directly.
It appears that Clion's modified version of the clang-tidy does not detect and fix all the issues.
2018-01-22 23:34:16 +08:00
Yao Wei Tjong 姚伟忠
20eeec2b84 Clang-Tidy - partial revert for cert-err58-cpp. 2018-01-22 23:34:16 +08:00
Yao Wei Tjong 姚伟忠
628d321d05 Clang-Tidy - readability-inconsistent-declaration-parameter-name. 2018-01-20 23:52:03 +08:00
Yao Wei Tjong 姚伟忠
49e0e2122d Clang-Tidy - readability-non-const-parameter. 2018-01-20 23:52:03 +08:00
Yao Wei Tjong 姚伟忠
2435a523d7 Clang-Tidy - readability-misleading-indentation, actually it's a bug. 2018-01-20 23:52:03 +08:00
Yao Wei Tjong 姚伟忠
f15712ba24 Clang-Tidy - performance-unnecessary-value-param. 2018-01-20 23:52:03 +08:00
Yao Wei Tjong 姚伟忠
f7ad9b138e Clang-Tidy - performance-unnecessary-copy-initialization. 2018-01-20 23:52:03 +08:00
Yao Wei Tjong 姚伟忠
1156ebfcec Clang-Tidy - cert-flp30-c. 2018-01-20 23:52:03 +08:00
Yao Wei Tjong 姚伟忠
b46c83f007 For CI - use AppVeyor CI image with VS 2017.
[skip travis] [ci only: master]
2018-01-18 00:23:54 +08:00
Lasse Öörni
c13e55508a Revert making substitute rendertargets multisampled if the original rendertarget is. Fixes #2232. (#2236) 2018-01-15 01:40:42 +08:00
Eugene Kozlov
9ffaacdfdd
Merge pull request #2229 from eugeneko/master
Remove misplace explicits from smart pointers.
2018-01-10 16:38:14 +03:00
Eugene Kozlov
69550b5203 Remove misplace explicits from smart pointers. 2018-01-07 14:08:43 +03:00
Yao Wei Tjong 姚伟忠
4af4148048 Misc. bug fixes. Close #2227.
[cache clear]
2018-01-07 16:46:30 +08:00
Yao Wei Tjong 姚伟忠
0ea35dfb6b For CI - reduce the number of Debug build configuration CI jobs.
[skip appveyor] [ci only: master, Android]
2018-01-06 19:56:56 +08:00
Yao Wei Tjong 姚伟忠
c42e0d0403 Minor migration notes addition for Android build.
[ci skip]
2018-01-06 19:22:20 +08:00
Eugene Kozlov
8e947952d6 Add RibbonTrail base velocity. 2018-01-05 01:31:12 +03:00
Yao Wei Tjong 姚伟忠
7b4dab3783 Change Audio class to optionally use SDL's internal audio stream.
Close #2215.
2018-01-04 16:02:37 +08:00
Eugene Kozlov
136b84e351
Merge pull request #2194 from SirNate0/script-enum-attributes
ScriptInstance Enum Attributes
2018-01-03 00:27:42 +03:00
urho3d-travis-ci
70049ba582 Travis CI: bump copyright to 2018.
[cache clear]
2018-01-01 05:35:37 +00:00
Yao Wei Tjong 姚伟忠
ad9c6594d1 Fix web build on Windows host system.
Close #2224.
2018-01-01 13:11:05 +08:00
urho3d-travis-ci
53aba6a523 Travis CI: API documentation update at 2017-12-31 11:30:19 UTC.
[ci package]

Commit: 557b7621b4

Message: Add noexcept specifier for the rest of value classes for consistency.
2017-12-31 11:30:19 +00:00
Yao Wei Tjong 姚伟忠
557b7621b4 Add noexcept specifier for the rest of value classes for consistency. 2017-12-31 15:38:10 +08:00
Yao Wei Tjong 姚伟忠
56f956d591 Attempt to workaround the 'noexcept' ICE on old MinGW version. 2017-12-31 15:38:10 +08:00
Yao Wei Tjong 姚伟忠
e2ecc52adc Clang-Tidy - cert-err58-cpp (WIP). 2017-12-31 15:38:09 +08:00
Yao Wei Tjong 姚伟忠
2b493dc3dd Add NOLINT for types that we consider can be used interchangebly.
Fix the rest of the build error by calling constructor explicitly.
Related to commit d6eb307e34
2017-12-31 15:38:09 +08:00
Yao Wei Tjong 姚伟忠
d6eb307e34 Clang-Tidy - google-explicit-constructor. 2017-12-31 13:48:28 +08:00
Yao Wei Tjong 姚伟忠
f82ea40480 Clang-Tidy - google-default-arguments.
Refactor StaticMode::GetMaterial() virtual method.
2017-12-31 13:48:27 +08:00
Yao Wei Tjong 姚伟忠
c29cb530b6 Clang-Tidy - google-default-arguments.
Refactor Serializable::Load(), Seriazable::LoadXML(), and Serializable::LoadJSON() virtual methods.
2017-12-31 13:48:27 +08:00
Yao Wei Tjong 姚伟忠
c3f1eeb9f7 Add NOLINT to prevent false positive from modernize-use-bool-literals. 2017-12-31 13:48:26 +08:00
Yao Wei Tjong 姚伟忠
a5c2e95b15 Add NOLINT to prevent false positive from modernize-redundant-void-arg.
The "void" keyword being flagged up in this case cannot be actually removed, so this is really a bug in the check in question to confuse "typeid" as a function.
2017-12-31 13:48:26 +08:00
Yao Wei Tjong 姚伟忠
f2a7fb9aa8 Add NOLINT to prevent false positive from modernize-use-equals-default.
Minor refactor to rearrange the union member of the VariantValue class separating the trivial and non-trivial members.
2017-12-31 13:48:26 +08:00
Yao Wei Tjong 姚伟忠
40516e48c9 Add macro for checking the compiler's C++11 type trait templates.
Modify angelscript.h header file to use our custom compiler define based on the check result to cater for pre-standard Clang compiler toolchain.
2017-12-31 13:48:26 +08:00
Yao Wei Tjong 姚伟忠
845cf45c28 Fix AngelScript binding for GCC/Clang compiler toolchains.
Related to modernize-use-equals-default.
2017-12-31 13:48:26 +08:00
Yao Wei Tjong 姚伟忠
c2fcc8decb Clang-tidy - modernize-use-equals-delete.
Deleted member function should be public.
2017-12-31 13:48:26 +08:00
Yao Wei Tjong 姚伟忠
c999210676 Clang-Tidy - modernize-use-equals-delete. 2017-12-31 13:48:26 +08:00
Yao Wei Tjong 姚伟忠
d2b9271f05 Clang-Tidy - modernize-use-using. 2017-12-31 13:48:26 +08:00
Yao Wei Tjong 姚伟忠
dc384c1bec Quick fix for Android-CI build.
Related to modernize-use-equals-default.
2017-12-31 13:48:26 +08:00
Yao Wei Tjong 姚伟忠
c99c5fbf64 Clang-Tidy - modernize-use-equals-default. 2017-12-31 13:48:26 +08:00
Yao Wei Tjong 姚伟忠
c8bc642020 Clang-Tidy - modernize-use-nullptr. 2017-12-31 13:48:25 +08:00
Yao Wei Tjong 姚伟忠
0f3d3a2621 Clang-Tidy - modernize-use-bool-literals. 2017-12-31 13:48:25 +08:00
Yao Wei Tjong 姚伟忠
2e963e7130 Minor refactor to avoid the explicit static_cast. 2017-12-31 13:48:25 +08:00
Yao Wei Tjong 姚伟忠
d8a438b169 Clang-Tidy - modernize-return-braced-init-list. 2017-12-31 13:48:25 +08:00
Yao Wei Tjong 姚伟忠
d23ee35938 Clang-Tidy - modernize-pass-by-value. 2017-12-31 13:48:25 +08:00
Yao Wei Tjong 姚伟忠
617b2d8cf7 Minor refactor to manually rename the range-based-for-loop index. 2017-12-31 13:48:25 +08:00
Yao Wei Tjong 姚伟忠
446247fa8c Clang-Tidy - modernize-loop-convert. 2017-12-31 13:48:08 +08:00
Yao Wei Tjong 姚伟忠
4ff9580f06 Clang-Tidy - modernize-deprecated-headers. 2017-12-31 12:46:27 +08:00
Yao Wei Tjong 姚伟忠
ca97fd9b9b Clang-Tidy - modernize-use-auto. 2017-12-31 12:46:26 +08:00
Yao Wei Tjong 姚伟忠
5e89e566e6 Clang-Tidy - modernize-use-override. 2017-12-31 12:11:09 +08:00
Yao Wei Tjong 姚伟忠
117f186fdb For CI - use alternative software packages for Doxygen and Graphviz.
[skip travis]
2017-12-30 12:39:58 +08:00