Commit Graph

9869 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
80668bf125 Add Scene::IsReplicatedID() static helper method for code reuse.
Modify the Angelscript binding of the Component::IsReplicated() to use asMETHODPR macro to keep VS happy.
2018-01-28 07:38:58 +08:00
Yao Wei Tjong 姚伟忠
97b494fc1b For CI - disable LUA when performing coverity scan for now.
This should remove all the false positive from the tolua++ generated source code.
2018-01-28 06:37:01 +08:00
urho3d-travis-ci
28a1b47eb0 Travis CI: API documentation update at 2018-01-27 16:25:41 UTC.
[ci package]

Commit: 23a696676d

Message: Add IsReplicated() method for Node and Component classes.
Close #2211.
2018-01-27 16:25:41 +00:00
Yao Wei Tjong 姚伟忠
23a696676d Add IsReplicated() method for Node and Component classes.
Close #2211.
2018-01-28 00:11:31 +08:00
Yao Wei Tjong 姚伟忠
0de9d15ada Skip sending scene-specific events when node is outside of a scene.
Credit to lezak for pointing this out. Fix #2230.
2018-01-27 22:25:39 +08:00
Yao Wei Tjong 姚伟忠
2fd2df9108 For CI - Suppress any errors while caching the initial build tree. 2018-01-27 22:12:46 +08:00
Yao Wei Tjong 姚伟忠
bae678b132 For CI - simplify build matrix for Travis Mac build environment.
Since our past assumptions of what is necessary and what is working may no longer valid now due to changes from Travis and from upgraded versions of the software we use, also due to the removal of the number of archs being included in our build, the build matrix setup is simplified without the past speed improvement and workaround scripts. We may modify our setup again depends on the need in the future CI builds.
[skip appveyor] [ci only: OSX]
2018-01-27 19:22:15 +08:00
Yao Wei Tjong 姚伟忠
f2f6fd6fd4 For CI - switch off ccache for xcodebuild as it stalled the build.
Something has changed in the Travis Mac build environment and/or ccache that break our (hack) setup. So. temporarily switch ccache off until we can figure out what went wrong.
2018-01-27 09:55:45 +08:00
Yao Wei Tjong 姚伟忠
bab0216bf1 Reset the head after clearing the linked list.
Credit to nchoiset for reporting this issue. Fix #2244.
2018-01-27 09:53:57 +08:00
urho3d-travis-ci
2045d7a22d Travis CI: API documentation update at 2018-01-26 00:40:51 UTC.
[ci package]

Commit: d368227648

Message: Minor formatting and modernizing the code.
Close #2214.
2018-01-26 00:40:51 +00:00
Yao Wei Tjong 姚伟忠
d368227648 Minor formatting and modernizing the code.
Close #2214.
2018-01-26 07:56:25 +08:00
Ricardo Abreu
c6a6598764 Add stretchable sprite component and corresponding sample. 2018-01-26 06:57:23 +08:00
Yao Wei Tjong 姚伟忠
c277e7fd01 Rinse and repeat using Clang-Tidy 4.0 and Clion. 2018-01-26 06:55:09 +08:00
Yao Wei Tjong
cfb6cdacf1 For CI - upgrade to Clang-Tidy 4.0. 2018-01-26 06:55:09 +08:00
Yao Wei Tjong
44d654c1e6
Merge pull request #2242 from lieff/master
fix multiple iterator advancement
2018-01-25 21:51:07 +08:00
lieff
1fcfbf0fed fix double it++ 2018-01-25 14:43:49 +03:00
urho3d-travis-ci
89476f7787 Travis CI: API documentation update at 2018-01-24 00:54:43 UTC.
[ci package]

Commit: f1c1f5aa42

Message: For CI - setup the lint stage on the primary CI.
2018-01-24 00:54:43 +00:00
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