Commit Graph

9612 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
e9b6658125 Add build system porting notes. 2016-08-06 14:08:13 +08:00
Lasse Öörni
1c0221152a Changelog amendment, as the sound playback event was added post version 1.5. 2016-08-06 01:46:27 +03:00
Lasse Öörni
11a32651f9 Added porting notes Doxygen page. 2016-08-06 01:31:30 +03:00
Yao Wei Tjong 姚伟忠
ffa3a4bfac Revert back to use sprintf() function in the ResourceCache class.
The more secure snprintf() function is not universally available.
2016-08-06 00:00:37 +08:00
Yao Wei Tjong 姚伟忠
5419f37a60 Realign the new generic ARM "platform" name with the 1.6 changelog. 2016-08-05 19:54:06 +08:00
Yao Wei Tjong 姚伟忠
51c57a8ae3 Add '-fsigned-char' compiler flag for RPI and generic ARM builds.
To be consistent with other non-ARM platforms, this flag makes 'char' signed by default.
2016-08-05 18:54:22 +08:00
Yao Wei Tjong 姚伟忠
1d9d70921e For CI - reduce number of CI jobs for RPI.
For RPI 2 and 3, only test build with NEON enabled.
2016-08-05 18:51:40 +08:00
Yao Wei Tjong 姚伟忠
c9ffddf3ca Add new section for generic ARM build process. 2016-08-05 18:49:35 +08:00
Yao Wei Tjong 姚伟忠
9123b7a51c For CI - add new CI jobs for 64-bit generic ARM builds.
Upgrade GCC to 4.9 only for 64-bit generic ARM CI builds because it appears LuaJIT requires version greater than 4.8 for 64-bit ARM build.
2016-08-05 18:49:31 +08:00
Yao Wei Tjong 姚伟忠
87bee872e8 Add extra linker flags to make 64-bit ARM cross-compiling possible.
When cross-compiling we have already defined '--sysroot' to find the direct library dependencies. However when a shared library has its own dependencies (DT_NEEDED) then we need to supply extra linker flags to help the linker to find those indirect library dependecies in the sysroot.
Actually we also had this problem for 32-bit ARM cross-compiling, but we cheated in the earlier CI build jobs by using Linaro/Raspbian compiler toolchain. Somehow the Raspbian's linker simply "ignores" those indirect library dependencies or it uses other mean to locate them (but I doubt that), and so it does not have linker issues with libreadline.so (depends on tinfo), libGLESv2.so (depends on glapi), etc. The other ARM compiler toolchains from Linaro seem to be more strict in this regard. Most likely the raspbian's linker is a gold linker.
This commit could also potentially fix a known issue in our FindUrho3D.cmake module where we have to hardcode the library dependencies that libUrho3D.so in turn depends on (to be investigated later).
2016-08-05 18:41:52 +08:00
Yao Wei Tjong 姚伟忠
a01ee5ec30 For CI - add new CI jobs for 32-bit generic ARM builds. 2016-08-05 18:33:35 +08:00
urho3d-travis-ci
264f2368f9 Travis CI: API documentation update at 2016-08-05 09:56:08 UTC.
[ci package]

Commit: b99f652892

Message: Minor refactoring on the event profiler subsystem.
2016-08-05 09:56:08 +00:00
Yao Wei Tjong 姚伟忠
b99f652892 Minor refactoring on the event profiler subsystem. 2016-08-05 17:43:30 +08:00
Lasse Öörni
f3e4107663 Changelog clarification for the ARM support feature. 2016-08-05 10:29:10 +03:00
Lasse Öörni
91f4489e07 Fix hardwareShadowSupport returning false on OpenGL, which would make it impossible to switch to 1-sample shadow mode. However, deliberately disable 1-sample mode from mobile NinjaSnowWar to achieve similar quality to desktops. 2016-08-05 00:35:41 +03:00
Lasse Öörni
7a16f9ca66 Clarify use of ScreenToWorldPoint(). Closes #1504. 2016-08-04 15:19:58 +03:00
urho3d-travis-ci
64f90dfc5d Travis CI: API documentation update at 2016-08-04 09:43:19 UTC.
[ci package]

Commit: 5e0e53aa87

Message: Add feature to changelog.
2016-08-04 09:43:19 +00:00
Lasse Öörni
5e0e53aa87 Add feature to changelog. 2016-08-04 12:04:27 +03:00
Lasse Öörni
8c7c34ac4d Configurable base in StringUtils ToInt & ToUInt to allow parsing hexadecimal. 2016-08-04 12:01:17 +03:00
Lasse Öörni
1746eed620 Add URHO3D_API specifier to FontGlyph struct. 2016-08-04 10:59:32 +03:00
Lasse Öörni
1839cc633f Add contributor credit. 2016-08-03 21:41:44 +03:00
Lasse Öörni
4f7988e482 Merge remote-tracking branch 'logosman/fixSpriteSheet2D' 2016-08-03 21:35:49 +03:00
Lasse Öörni
0f793f9657 Add initial V1.6 changelog. 2016-08-03 21:33:12 +03:00
Aliaksandr Kryvashein
be308e67c2 Fix "copy-paste" error 2016-08-03 20:37:43 +03:00
Yao Wei Tjong 姚伟忠
623511f19f Workaround emcc bug on Windows where it did not handle 'nul' correctly.
A new issue or PR will be submitted to Emscripten upstream to have this bug fixed properly. Until such time we can do a emcc version check to skip this workaround when it is not required anymore.
Also add new compiler flag for Clang to suppress the unused '-mno-sse' warnings.
2016-08-03 14:36:25 +08:00
Mike3D
ef6284c938 Fixed mouse mode for sample #36 [ci skip] 2016-08-03 08:15:34 +02:00
Lasse Öörni
97d1e7d44e Prevent dependency of Civetweb from pthread library on recent MinGW versions. 2016-08-02 23:37:00 +03:00
Yao Wei Tjong 姚伟忠
69fc081d1c Only perform the cleanup process on non-Windows host systems. 2016-08-03 01:16:01 +08:00
Yao Wei Tjong 姚伟忠
d56bd40492 Perform clean up to ensure the headers are correctly "installed". 2016-08-03 00:17:45 +08:00
Yao Wei Tjong 姚伟忠
f9b23104dd Fix Mir and Wayland auto-detection to also check on EGL. 2016-08-03 00:16:25 +08:00
Yao Wei Tjong 姚伟忠
576b6ea7cf Better multiarch support in auto-detection.
This should also solve the problem with cross-compiling other target triplets as there is no more hardcoding.
2016-08-03 00:16:25 +08:00
Yao Wei Tjong 姚伟忠
7c90c2c0ec Simplify command to detect predefined macros of the chosen compiler.
Add new CMake module for detecting host capability.
2016-08-03 00:16:23 +08:00
Lasse Öörni
e6dde9f4bc Added contributor credit. 2016-08-01 11:30:52 +03:00
Anatoly Sennov
886d55c4bc Made JSONValue.get_size() const 2016-08-01 10:28:08 +03:00
Yao Wei Tjong 姚伟忠
ef93d61054 Ignore build artifacts from non-out-of-source build tree.
[ci skip]
2016-08-01 13:55:09 +08:00
Lasse Öörni
fe3b93080c Further style edits. Only delete the collisionConfiguration in PhysicsWorld destructor if it was created in the constructor, and not specified by the override config. 2016-07-31 20:46:29 +03:00
Lasse Öörni
13ec83ad5f Merge remote-tracking branch 'feltech/custom_physics' 2016-07-31 20:24:02 +03:00
Lasse Öörni
c817428fb7 When multiple source nodes selected in the hieranchy window, disable the drag/drop reorder function, as ctrl-click can be used to multiselect, and user might be still holding ctrl down after that. Fix component hierarchy items created as not draggable; components would not be reorderable after being reordered once. 2016-07-31 18:12:26 +03:00
David Feltell
f9d815f551 Use 0 rather than NULL to comply with Urho3D style. 2016-07-30 17:19:45 +01:00
David Feltell
4418919180 Allow custom collision shapes + algorithms.
* Add static `config` variable to `PhysicsWorld`, allowing overrides to
be set prior to construction - currently just for the
`btCollisionConfiguration`.
* Add protected member function to `CollisionShape` to allow for
configuring custom collision shapes.
2016-07-30 16:33:18 +01:00
urho3d-travis-ci
f7266d27b4 Travis CI: API documentation update at 2016-07-30 13:35:42 UTC.
[ci package]

Commit: 34ddcdc294

Message: Component reorder in editor. Fix attribute inspector not updating when nodes are added to e.g. StaticModelGroup via dragging. Clean up reorder related code. Set Urho icon as window icon in the editor. Closes #1463.
2016-07-30 13:35:42 +00:00
Lasse Öörni
34ddcdc294 Component reorder in editor. Fix attribute inspector not updating when nodes are added to e.g. StaticModelGroup via dragging. Clean up reorder related code. Set Urho icon as window icon in the editor. Closes #1463. 2016-07-30 16:24:14 +03:00
urho3d-travis-ci
a3c2835fa2 Travis CI: API documentation update at 2016-07-29 21:13:52 UTC.
[ci package]

Commit: b3e492e18c

Message: Scene node and UI element reordering (within the same parent) by Ctrl-dragging. Closes #1088. Expose Node::SetID() in script, as it was necessary for this, though not recommended to be called.
2016-07-29 21:13:52 +00:00
Lasse Öörni
b3e492e18c Scene node and UI element reordering (within the same parent) by Ctrl-dragging. Closes #1088. Expose Node::SetID() in script, as it was necessary for this, though not recommended to be called. 2016-07-30 00:02:49 +03:00
Lasse Öörni
b29979742f Lowercase "HDR" in the editor config for consistency, as everything else is lowercase as well. 2016-07-29 16:49:04 +03:00
Lasse Öörni
812afaeb8f Fix PBR material demo to operate similarly on AS, Lua, C++. Remove forcing of alpha to 1 from Zone::SetAmbientColor() & Zone::SetFogColor(). Change "Enable HDR" to "HDR rendering" in editor settings dialog for consistency. 2016-07-29 16:44:57 +03:00
Lasse Öörni
de24325bcc Merge remote-tracking branch 'dragonCASTjosh/master' 2016-07-29 14:40:29 +03:00
urho3d-travis-ci
4eab3d177b Travis CI: API documentation update at 2016-07-28 23:19:06 UTC.
[ci package]

Commit: 2b0d4362ff

Message: Script bindings for reading/writing 64 bit values through Deserializer/Serializer.
2016-07-28 23:19:06 +00:00
Lasse Öörni
2b0d4362ff Script bindings for reading/writing 64 bit values through Deserializer/Serializer. 2016-07-29 02:06:08 +03:00
joshua Nuttall
e635ad2ed7 Removed Bloom from PBR demos, set zone texture ambleint to 1, and added HDR option in editor settings (needed for PBR in editor) 2016-07-28 22:16:30 +01:00