Commit Graph

9869 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
4914b0e71c Remove file generation timestamp to avoid unnecessary git diff. 2015-09-02 22:40:11 +08:00
Yao Wei Tjong 姚伟忠
d71b76ed27 Add automation to generate toluabind.c and toluabind.h. 2015-09-02 17:40:01 +08:00
Yao Wei Tjong 姚伟忠
b2f6cf440f For Travis CI - switch to use Emscripten SDK from its master branch.
[ci only: Emscripten]
2015-09-02 14:19:28 +08:00
Lasse Öörni
0a6a8a9de6 Allow the application to get access to a View's occlusion buffer for debug visualization. Clear occlusion buffer to farclip Z value instead of maximum (0x7fffffff) 2015-08-31 20:57:00 +03:00
Lasse Öörni
6b33ba60f9 Allow multiple resource routers in ResourceCache. Script subsystem installs its own resource router to allow loading compiled scripts (.asc) when the originals (.as) don't exist. Closes #864. 2015-08-31 12:41:12 +03:00
Yao Wei Tjong 姚伟忠
4ff826ddf8 Support spaces in source and/or build tree path for Windows build.
Close #779.
2015-08-31 16:15:46 +08:00
Yao Wei Tjong 姚伟忠
05e4001697 Support spaces in source and/or build tree path for OSX and iOS build.
[ci only: OSX]
2015-08-30 18:27:58 +08:00
Yao Wei Tjong 姚伟忠
a234ab4e6e Support spaces in source and/or build tree path for Linux build. 2015-08-30 16:40:41 +08:00
Lasse Öörni
b6e997812f Added note of spaces in path causing build to fail on Windows / VS builds. 2015-08-29 20:18:46 +03:00
Lasse Öörni
7845389866 Nullcheck UI in UIElement functions that may be called at exit time when UI is already destroyed. Closes #860. 2015-08-29 12:41:12 +03:00
Yao Wei Tjong 姚伟忠
f9e27e33f2 Ensure Lua function references are released when refcounter reaches 0.
Add support for constructing Lua function from C function.
2015-08-28 16:27:30 +08:00
Yao Wei Tjong 姚伟忠
2a5d659c2e Reorganize includes. [ci skip] 2015-08-28 10:23:56 +08:00
Yao Wei Tjong 姚伟忠
c2471a240a Reorganize includes for Samples and Extras.
Since the URHO3D_PCH build option is made available to support non-PCH build, our build system does not rely on precompiled header to include the Urho3D.h export header anymore. The export header is auto-included by one of Urho3D headers when it is required using the right format with the help of URHO3D_IS_BUILDING compiler define. As such, there is no need to explicitly include Urho3D.h in external project too. Sorry for the flip-flop.
2015-08-27 18:07:20 +08:00
Yao Wei Tjong 姚伟忠
9f75ea54a1 Minor clean up to remove unused instance variable. 2015-08-27 18:06:57 +08:00
Lasse Öörni
56b218a236 Fix indent & if statement space. 2015-08-27 09:45:16 +03:00
Lasse Öörni
f234eb7919 Merge remote-tracking branch 'monkeyfirst/type-m-layer-editor-fix' 2015-08-27 09:44:13 +03:00
aster2013
349a3ee981 Sort include file in samples. 2015-08-27 13:54:54 +08:00
urho3d-travis-ci
d17dbebcf4 Travis CI: API documentation update at 2015-08-27 03:10:06 UTC.
[ci package]

Commit: d8cfd72571

Message: Fix JSONNumberType enum error.
2015-08-27 03:10:06 +00:00
aster2013
d8cfd72571 Fix JSONNumberType enum error. 2015-08-27 10:59:41 +08:00
MonkeyFirst
46aa0c52e1 fix-m-typing 2015-08-26 23:51:13 +06:00
aster2013
b27d32a134 JSONFile
- SetRoot
    + GetRoot
JSONValue
    Rename GetUint to GetUInt
    - GetType
    + GetValueType GetNumberType
    + SetVariantXXX GetVariantXXX
2015-08-26 20:26:51 +08:00
aster2013
7082d17555 Add FALLBACK_TO_COPY argument in create_symlink.[ci skip]. 2015-08-26 20:02:13 +08:00
Lasse Öörni
e0ce3e4ad0 Take into account CollisionShape's offset position & rotation in ConvexCast. Closes #856. 2015-08-26 14:52:03 +03:00
urho3d-travis-ci
46b7d0cd89 Travis CI: API documentation update at 2015-08-25 07:28:37 UTC.
[ci package]

Commit: 2fafa4c366

Message: Add rudimentary Lua function overload checker to catch invalid order.
Fix two of the pkg files being detected to have wrong order declared.
2015-08-25 07:28:37 +00:00
Yao Wei Tjong 姚伟忠
2fafa4c366 Add rudimentary Lua function overload checker to catch invalid order.
Fix two of the pkg files being detected to have wrong order declared.
2015-08-25 15:19:53 +08:00
urho3d-travis-ci
25c00c895d Travis CI: API documentation update at 2015-08-24 14:22:21 UTC.
[ci package]

Commit: 770be2319e

Message: Fix Lua bindings for AnimationSet2D and Vector2 classes.
2015-08-24 14:22:21 +00:00
Yao Wei Tjong 姚伟忠
770be2319e Fix Lua bindings for AnimationSet2D and Vector2 classes. 2015-08-24 22:12:23 +08:00
urho3d-travis-ci
d78ea9175a Travis CI: API documentation update at 2015-08-24 10:23:12 UTC.
[ci package]

Commit: 934c640835

Message: Fix Lua binding for Localization and Database subsystems.
Fix Lua version of the localization demo.
2015-08-24 10:23:12 +00:00
Yao Wei Tjong 姚伟忠
934c640835 Fix Lua binding for Localization and Database subsystems.
Fix Lua version of the localization demo.
2015-08-24 18:14:06 +08:00
Lasse Öörni
47fe410d06 Suppress scene changes while toggling the debug icons visibility during preview camera render so that the attribute editor doesn't constantly refresh, making attributes uneditable. Closes #854. 2015-08-24 11:48:21 +03:00
urho3d-travis-ci
3b8b06783e Travis CI: API documentation update at 2015-08-24 05:40:12 UTC.
[ci package]

Commit: 61647bb887

Message: Optimize Lua Variant class bindings.
Take advantage of Lua being type-less by binding generic methods that can handle all the supported data type conversion.
At the same time reduce the amount of the overloads generated by tolua++ which could be potentially just dead code.
2015-08-24 05:40:12 +00:00
Yao Wei Tjong 姚伟忠
61647bb887 Optimize Lua Variant class bindings.
Take advantage of Lua being type-less by binding generic methods that can handle all the supported data type conversion.
At the same time reduce the amount of the overloads generated by tolua++ which could be potentially just dead code.
2015-08-24 13:26:25 +08:00
urho3d-travis-ci
9c140b503a Travis CI: API documentation update at 2015-08-21 16:27:51 UTC.
[ci package]

Commit: 53b4afcab6

Message: Fix TOC for generated LuaScript API documentation page.
2015-08-21 16:27:51 +00:00
Yao Wei Tjong 姚伟忠
53b4afcab6 Fix TOC for generated LuaScript API documentation page. 2015-08-22 00:14:15 +08:00
urho3d-travis-ci
0bbf66f40f Travis CI: API documentation update at 2015-08-21 15:51:57 UTC.
[ci package]

Commit: b1e1ab47c3

Message: Fix Lua version of crowd simulation demo due to VariantMap API changes.
2015-08-21 15:51:57 +00:00
Yao Wei Tjong 姚伟忠
b1e1ab47c3 Fix Lua version of crowd simulation demo due to VariantMap API changes. 2015-08-21 23:32:37 +08:00
Yao Wei Tjong 姚伟忠
a0125a19c1 Move the pieces around for code reuse opportunity. 2015-08-21 23:32:37 +08:00
Yao Wei Tjong 姚伟忠
937b0bcbc6 Add exposed tolua functions into documentation page. 2015-08-21 23:32:36 +08:00
Yao Wei Tjong 姚伟忠
35f3bb0a4d Store Urho3D context directly inside Lua state global table.
Remove static Lua state to context mapping. Expose the context as global property.
Prevent potential Lua VM crash when trying to get event sender or handler outside of event handling.
2015-08-21 23:32:36 +08:00
Lasse Öörni
e7b492b307 Fix integer overflow in the Random(int) functions when the range is large. 2015-08-21 17:29:51 +03:00
Lasse Öörni
42fcc37acd Merge remote-tracking branch 'silverkorn/master' 2015-08-21 13:19:12 +03:00
urho3d-travis-ci
9a23f5f172 Travis CI: API documentation update at 2015-08-21 09:50:38 UTC.
[ci package]

Commit: f0b3c8b805

Message: Allow interchangeable numeric value in Variant GetXXX(), e.g. GetFloat() succeeds when it's actually an int. Comparison still requires type and value to match exactly. Closes #851.
2015-08-21 09:50:38 +00:00
Lasse Öörni
f0b3c8b805 Allow interchangeable numeric value in Variant GetXXX(), e.g. GetFloat() succeeds when it's actually an int. Comparison still requires type and value to match exactly. Closes #851. 2015-08-21 11:59:13 +03:00
Lasse Öörni
75b1b53416 Re-fix AngelScript API. JSONArray & JSONObject are not registered into AngelScript, so they cannot be mentioned in any bindings. 2015-08-21 11:42:35 +03:00
aster2013
cd71104e90 Merge branch 'master' of https://github.com/urho3d/Urho3D
Conflicts:
	Source/Urho3D/Script/ResourceAPI.cpp
2015-08-21 15:42:24 +08:00
aster2013
57551ca717 Remove At function in JSONValue, add SetXXX functions for LuaAPI. 2015-08-21 15:36:20 +08:00
urho3d-travis-ci
2486d36a60 Travis CI: API documentation update at 2015-08-21 07:04:33 UTC.
[ci package]

Commit: f7dd38d70e

Message: Remove M_INFINITY default value from PhysicsWorld AngelScript bindings, which is illegal to Bullet.
2015-08-21 07:04:33 +00:00
Lasse Öörni
f7dd38d70e Remove M_INFINITY default value from PhysicsWorld AngelScript bindings, which is illegal to Bullet. 2015-08-21 09:56:55 +03:00
Lasse Öörni
83c889ab48 Remove invalid JSONValue AngelScript bindings, which prevent AngelScript applications from starting. Fixes #852. 2015-08-21 09:56:15 +03:00
aster2013
ddc19bf278 Fix name error, add iterator for JSON object type. 2015-08-21 10:56:19 +08:00