Commit Graph

9869 Commits

Author SHA1 Message Date
Lasse Öörni
ff8f4b7525 On Windows, when stdout/stderr has been redirected, use fprintf instead of WriteConsoleW() to allow capturing log output from tools. Closes #703. 2015-04-15 21:53:49 +03:00
Yao Wei Tjong 姚伟忠
2a75dbbe2f For Travis CI - revert back the multiplier as it is still not enough.
Instead set the EMRUN timeout to the maximum value possible before the testing process being timeout by Travis CI itself.
2015-04-13 21:31:52 +08:00
Yao Wei Tjong 姚伟忠
67ce3e48bd Increase the multiplier for the EMRUN time out setting.
Emscripten has just released version 1.30 which, among others, fixes the EMRUN time out handling. In the previous version it did not time-out as expected. But now as EMRUN times out correctly, the build test failed on our Emscripten build due to Travis CI latency.
2015-04-13 17:26:10 +08:00
Yao Wei Tjong 姚伟忠
9e8046efc7 Fine tune 'rake make' task to use physical CPU count for Emscripten. 2015-04-13 17:26:10 +08:00
Lasse Öörni
ce3575a8eb Merge pull request #701 from Stinkfist0/assetimporter-error-print
Improve AssetImporter error print.
2015-04-13 10:52:01 +03:00
Ali Kämäräinen
8332e68f56 Improve AssetImporter error print. 2015-04-13 10:17:22 +03:00
Yao Wei Tjong 姚伟忠
fb097bac5a Minor fix and code clean up on build scripts. 2015-04-10 18:11:54 +08:00
Yao Wei Tjong 姚伟忠
b7f0a1807f Minor documentation update on the build options section.
Add a simple usage instruction on build scripts error.
Related to issues #697 and #698.
2015-04-09 22:27:51 +08:00
Yao Wei Tjong 姚伟忠
efe35b27a9 For Travis CI - temporarily reorder CI rebase sequence.
This is for investigating random build error on Mac OS X build environment.
2015-04-09 15:47:17 +08:00
Yao Wei Tjong 姚伟忠
b285bd2325 Enhance the rake make task to also support Ninja. 2015-04-08 17:09:55 +08:00
Lasse Öörni
4628a44a5a Removed table of contents from "simple" pages like Examples & Overall Structure. Added contributor credit. Closes #694. 2015-04-07 18:52:09 +03:00
Lasse Öörni
7188c4777f Merge remote-tracking branch 'raould/doc_toc' 2015-04-07 18:36:46 +03:00
Yao Wei Tjong 姚伟忠
c93327bf00 For Travis CI - wrap the 'make package' inside 'setarch' command.
Related to fc14b30e42. [ci package]
2015-04-07 18:08:26 +08:00
Lasse Öörni
4ddc71b769 Make glWrapMode related arrays & function static. 2015-04-07 11:44:13 +03:00
Lasse Öörni
1423c1cf29 Fix wrong enum for border clamp mode on GL3. Closes #695. 2015-04-07 11:40:33 +03:00
aster2013
21b90f6b86 Add Angelscript and Lua script API. 2015-04-07 16:37:40 +08:00
aster2013
32b12dcc57 Add GetDrawRectangle and GetTextureRectangle in Sprite2D. 2015-04-07 13:43:47 +08:00
Jon Slenk
7b548b5543 add table of contents to some doc pages. 2015-04-06 22:37:08 -07:00
aster2013
aeb1806f78 Add SourceBatch2D in Drawable2D;
Add ViewBatchInfo2D in Renderer2D;
Remove texture and blend mode in Drawable2D;
Add blend mode in ParticleEffect2D;
Add blend mode and custom material in StaticSprite2D.
2015-04-07 13:01:45 +08:00
Yao Wei Tjong 姚伟忠
fc14b30e42 Override the package arch when building for 32-bit on 64-bit host.
Fix #691. [ci package]
2015-04-07 12:38:39 +08:00
urho3d-travis-ci
cbdc0f4c48 Travis CI: API documentation update at 2015-04-06 18:22:43 UTC.
[ci package]
2015-04-06 18:22:43 +00:00
Lasse Öörni
ddb9362ef4 Added possibility to new a ParticleEffect from Lua, and exposed missing functions. Fixed crash if ParticleEffect has no color frames. Closes #689. 2015-04-06 20:47:43 +03:00
Lasse Öörni
be994d62e4 Remove extra parentheses from CreateObject(), as suggested by Modanung. 2015-04-06 19:55:35 +03:00
Lasse Öörni
3ca9b7d499 Add WorkQueue functions to remove items (single or multiple) before being assigned to worker threads. Closes #690. 2015-04-06 19:50:07 +03:00
urho3d-travis-ci
a626c9d6c8 Travis CI: API documentation update at 2015-04-04 10:32:48 UTC.
[ci package]
2015-04-04 10:32:48 +00:00
Lasse Öörni
97fb2638db Add fill mode to materials. 2015-04-04 02:40:38 +03:00
Lasse Öörni
79e89dfad3 Fix losing input focus right after startup on Linux. 2015-04-04 00:58:14 +03:00
Lasse Öörni
a716bbcf61 Fix mouse move jumps in mixed touch & mouse usage. 2015-04-03 23:40:57 +03:00
Lasse Öörni
03602fbd1c Use the "click to focus" mechanism on all desktop platforms in windowed & mouse-hidden mode. Code cleanup in Input. 2015-04-03 22:57:47 +03:00
Lasse Öörni
9d9ea418e3 Disable use of fullscreen space on OS/X to fix black screen on fullscreen switch. 2015-04-03 14:47:30 +03:00
Lasse Öörni
0285d50302 When making a triangle-level raycast to StaticModel, return the hit batch (submesh) index in the subObject field of the ray result. 2015-04-02 20:26:35 +03:00
Yao Wei Tjong 姚伟忠
b2c2bb372b Attempt to suppress some of the compiler warnings from iOS 64bit build.
Something must have changed on the Travis CI Mac OS X build environment recently that causes the compiler to produce tons of warning on iOS 64-bit build. It not only slows down the CI build but also causes the log to be truncated in the Travis CI web interface.
2015-04-02 23:59:26 +08:00
Yao Wei Tjong 姚伟忠
b468eac53e Only supply the CCACHE environment variable when user hasn't done it. 2015-04-02 16:17:35 +08:00
Lasse Öörni
8ea3476479 Bind the backbuffer FBO before cleaning up frame buffers. 2015-04-02 01:53:52 +03:00
Lasse Öörni
474d725c5a Do not recenter mouse during window resize to fix erratic window sizes on Linux. Removed unnecessary input code. Check for external window before recentering mouse in relative mode. 2015-04-02 01:01:49 +03:00
Lasse Öörni
dae17d375c Clean up OpenGL frame buffers when window size changes. 2015-04-02 00:42:45 +03:00
Lasse Öörni
b26b2c470b Fix Text shader non-SDF mode on OpenGL 3. Closes #685. 2015-04-01 21:33:48 +03:00
Lasse Öörni
acfeab71d1 Remove the OSX REQUIRE_CLICK_TO_FOCUS mechanism as it seems to not be necessary, and does not work with the event flushing when not focused. 2015-04-01 20:53:30 +03:00
Yao Wei Tjong 姚伟忠
8ab5ffac52 Add a small chapter on how to setup ccache to work correctly. 2015-04-02 00:06:44 +08:00
Lasse Öörni
821d6bd036 Added missing null checks for StaticSprite2D component. 2015-04-01 15:57:30 +03:00
urho3d-travis-ci
8e1169079b Travis CI: API documentation update at 2015-03-31 21:03:59 UTC.
[ci package]
2015-03-31 21:03:59 +00:00
Lasse Öörni
5c448d6e1d Support DXT1,3,5 on Emscripten. Simplify GL / GLES code path differences in OGLTexture.cpp. 2015-03-31 23:43:55 +03:00
Lasse Öörni
2961166acb Graphics code cleanup. Remove the GraphicsFeatures event, as now the features can not change during runtime. Move all OpenGL extensions checks to CheckFeatureSupport(). Fix an AMD GLSL compilation bug, which caused buggy 4-sample shadows. 2015-03-31 23:06:09 +03:00
Lasse Öörni
b92372264b Ensure that the OpenGL extensions are initialized after context recreation, and a valid VAO exists on GL3, before giving the GPU objects the chance to restore themselves. 2015-03-31 21:51:56 +03:00
Lasse Öörni
2ddb7c9d1a Use GetTempResource() for the inherited XML file when async loading. Generalize resource loading to switch into async mode whenever not in the main thread so that unsafe (main thread -only) functionality is avoided. 2015-03-31 19:04:05 +03:00
Yao Wei Tjong 姚伟忠
38361a2c0f For Travis CI - disable D3D11 CI build jobs for now.
Ubuntu 12.04 LTS does not have up-to-date D3D11 headers. Travis CI is long overdue to upgrade their OS. See https://github.com/travis-ci/travis-ci/issues/2046.
It appears that their new container-based build infrastructure is also runs on Ubuntu 12.04 LTS. So, no choice but to disable thos new CI build jobs for now.
2015-03-31 19:18:10 +08:00
Yao Wei Tjong 姚伟忠
601dfc4603 Enhance the 'rake make' task to utilise all the logical cpu cores.
[ci package]
2015-03-31 17:08:21 +08:00
Yao Wei Tjong 姚伟忠
47b64f0364 For Travis CI - Remove duplicated CI job. 2015-03-30 23:08:11 +08:00
Yao Wei Tjong 姚伟忠
41d9ab29a9 For Travis CI - add CI build jobs for Direct3D 11.
Fix Emscripten build due to earlier faulty fix on MinGW build to support building of PackageTool for both host and target systems.
2015-03-30 23:02:01 +08:00
Yao Wei Tjong 姚伟忠
6125f08716 Fix MinGW build when PackageTool is built for both host and target. 2015-03-30 20:47:13 +08:00