Commit Graph

9612 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
981e924b88 Fix function signature to return data type as exposed API. Fixes #195. 2014-02-15 00:00:52 +08:00
urho3d-travis-ci
4fbcda2ce9 Travis CI: API documentation update at 2014-02-14 13:46:50 UTC.
[ci skip]
2014-02-14 13:46:51 +00:00
aster2013
e7cef8223d Add construct function in dox file, add missing destruct in pkg file, update ToDoxHook.lua. 2014-02-14 21:32:07 +08:00
Yao Wei Tjong 姚伟忠
3011153655 Fix Mac OS X build script - only sed when there is install target.
Projects using Urho3D as external library may not define any install target, so the attempt to correct CMake generator known issue back fired and caused an error.
2014-02-14 17:49:26 +08:00
Lasse Öörni
964d9acb9e Merge remote-tracking branch 'remotes/wibbe/mingw-cross-compile-toolchain' 2014-02-13 22:47:14 +02:00
Daniel Wiberg
4d03b08acb Copied MinGW build instructions from Readme.txt to GettingStarted.dox 2014-02-13 17:39:46 +01:00
urho3d-travis-ci
2de15aeaff Travis CI: API documentation update at 2014-02-13 16:00:22 UTC.
[ci skip]
2014-02-13 16:00:22 +00:00
Daniel Wiberg
9e075184f2 Added a section about cross-compiling with MinGW in the Readme. 2014-02-13 16:36:57 +01:00
aster2013
2e9b720f4a Fixed tolua outside function name. 2014-02-13 23:36:40 +08:00
aster2013
33f0d01f9b Add new line at end of file. 2014-02-13 23:13:21 +08:00
aster2013
412ae47aaf Merge branch 'master' of https://github.com/urho3d/Urho3D 2014-02-13 23:11:47 +08:00
aster2013
163921a072 UpdateDocument.bat and UpdateDocument.sh for new Lua Script Dox tool. 2014-02-13 23:07:53 +08:00
urho3d-travis-ci
a04d74f126 Travis CI: API documentation update at 2014-02-13 14:46:40 UTC.
[ci skip]
2014-02-13 14:46:40 +00:00
aster2013
21044135a5 Remove pkgToDox.lua, Rename some function and variant in ToDoxHook.lua. 2014-02-13 22:32:53 +08:00
Daniel Wiberg
0bcd1cfc5f Changed includes of Windows.h to windows.h so it's possible to cross-compile on Linux 2014-02-13 14:54:42 +01:00
Daniel Wiberg
dce4c5a2c5 Added support for cross-compiling Urho3D for Windows on Linux systems. 2014-02-13 14:54:18 +01:00
urho3d-travis-ci
eb8371b0dd Travis CI: API documentation update at 2014-02-13 13:48:14 UTC.
[ci skip]
2014-02-13 13:48:14 +00:00
Lasse Öörni
77129bb9cb Added statements for SDL modification to comply with the license. 2014-02-13 15:23:46 +02:00
Lasse Öörni
33ae3c8e58 Merge remote-tracking branch 'remotes/overminddl1/overminddl1-inputchanges' 2014-02-13 15:07:16 +02:00
aster2013
f455b2fac2 Update CMakeLists.txt for document. 2014-02-13 19:53:59 +08:00
aster2013
a910501027 Add ToDoxHook.lua to generate dox file from tolua++. 2014-02-13 19:49:28 +08:00
Lasse Öörni
f20e4968fc If a node is added to the scene with a zero ID (default), assign an ID. This would happen when constructing a node manually and adding it using AddChild(), instead of using CreateChild(). 2014-02-13 12:08:13 +02:00
Lasse Öörni
6a760116ff Added note on implementing scene logic, and that you should not subclass Node. 2014-02-13 11:43:42 +02:00
Yao Wei Tjong 姚伟忠
a6a19ebadb For Travis CI - make 32&64-bit and android build as mandatory to pass. 2014-02-13 15:11:38 +08:00
Lasse Öörni
e44e3f7652 Only signal work items that have specified or higher priority in WorkQueue::Complete(), to prevent lower priority work item events triggering when they shouldn't (in the middle of render update.) Set explicit max priority in Octree & View items, but leave default priority to the lowest for user items. Removed a static variable from WorkQueue::PurgePool(). 2014-02-12 23:04:48 +02:00
Yao Wei Tjong 姚伟忠
c8a8d15681 For Travis CI - attempt to fix 32-bit CI build. Skip Android SDK. 2014-02-13 00:05:32 +08:00
Lasse Öörni
b496c5a012 Added a square Urho icon (same as the Android icon) to use for the samples on desktop. 2014-02-12 15:19:58 +02:00
Lasse Öörni
705d2411ba Acquire event data for work item completion only when necessary. These are pooled by the Context so it shouldn't hurt performance. 2014-02-12 15:05:26 +02:00
Lasse Öörni
1e3722e54f Merge remote-tracking branch 'remotes/alexparlett/feature/pooled-work-queue' 2014-02-12 14:11:59 +02:00
Alex Parlett
884be1c22d Exposed ability to set the tolerance before the pool will begin erasing items.
Modified the way in which pooled items are tracked to remove a number of O(n) searches.
Modified the check for duplicate items into an assert so its caught in debug but not in release.
2014-02-12 10:47:48 +00:00
OvermindDL1
13e07265db Er, right, C code, no static_cast... 2014-02-12 03:03:22 -07:00
Lasse Öörni
00cf05c2a2 Document what is unsafe in WorkQueue work functions. 2014-02-12 11:58:27 +02:00
OvermindDL1
34fb889906 Added support for the Keyboard Raw value to Urho3D. 2014-02-12 02:56:14 -07:00
OvermindDL1
9f8a1ab977 Tabs to spaces indention changes to match everything else... 2014-02-12 02:48:20 -07:00
OvermindDL1
1ea3e8b0f9 *cough* ignore the duplicate comma... 2014-02-12 02:41:44 -07:00
OvermindDL1
d7f3c9ae66 Added support for raw keyboard keys to all other platforms, passes 0 for ones where there is not a raw code that makes sense, else passes in something sensible. 2014-02-12 02:33:54 -07:00
OvermindDL1
dba4216c86 Changed SDL to support unknown keys and pass them as the unused/raw keysym field as it seems that it used to do...
Will fix Urho3D to read that field and pass it to the Variant event for the systems to process if wanted.
2014-02-12 02:12:25 -07:00
Yao Wei Tjong 姚伟忠
f95328ac0f For Travis CI - speedup CI build for pull requests. 2014-02-12 16:21:38 +08:00
Yao Wei Tjong 姚伟忠
73732f6653 Fix luajit runtime error on 64-bit Mac OS X build. [ci skip] 2014-02-12 14:57:48 +08:00
urho3d-travis-ci
e18f481eea Travis CI: API documentation update at 2014-02-11 20:02:28 UTC.
[ci skip]
2014-02-11 20:02:28 +00:00
Lasse Öörni
fd140ddb32 Minor code reorganization of the HelloGUI example. Removed SubscribeToEvents() as it was only used for 1 event and events were also subscribed to elsewhere. 2014-02-11 21:41:57 +02:00
Lasse Öörni
e0166ce900 Merge remote-tracking branch 'remotes/mike3d/master' 2014-02-11 21:06:20 +02:00
Lasse Öörni
e4008732d1 Merge remote-tracking branch 'remotes/alexparlett/feature/pooled-work-queue' 2014-02-11 20:32:50 +02:00
Yao Wei Tjong 姚伟忠
0c41be144f Use CMake path instead of native path. Closes #188. 2014-02-11 23:53:29 +08:00
aster2013
9def6c0541 Fixed typo. 2014-02-11 23:53:06 +08:00
aster2013
df315fbeb4 Merge branch 'master' of https://github.com/urho3d/Urho3D 2014-02-11 23:50:13 +08:00
aster2013
b7990b94da Modify tolua_isnumber and tolua_isstring function to fixed issue #182. 2014-02-11 23:49:20 +08:00
Alex Parlett
e8abdfc366 Added Pool for WorkItem SharedPtrs to save allocation every frame. Its an optional construct to allow the user to create their own pools or not use the pool if they so desire.
Below is the profiling for the Octree and View changes to pooled allocation.

Before:
UpdateDrawables                        35    0.139    0.193    0.135     4.871
SortAndUpdateGeometry          35    0.080    0.135    0.077     2.802

After:
UpdateDrawables                        21    0.082    0.172    0.078     1.735
SortAndUpdateGeometry          21    0.054    0.069    0.052     1.144
2014-02-11 15:46:05 +00:00
Yao Wei Tjong 姚伟忠
a6eb19f5ba For Travis CI - temporary disable 32-bit. Android CI build is OK now! 2014-02-11 23:23:05 +08:00
Yao Wei Tjong 姚伟忠
ca36bf1e17 For Travis CI - change the subshell to bash shell. Pardon our dust. 2014-02-11 23:03:32 +08:00