Commit Graph

  • 292cf0452b Travis CI: API documentation update at 2014-11-29 13:47:31 UTC. [ci package] urho3d-travis-ci 2014-11-29 13:47:31 +0000
  • bed13f408b Add ownScene option in View3D::SetView, The default value is true in C++ or AngelScript, and false for Lua. Fix issue #545. aster 2014-11-29 21:37:34 +0800
  • 3f3fb2a7dc Restore custom material in Drawable2D. aster2013 2014-11-28 22:49:35 +0800
  • 3589fa7830 Fix alpha materials in StaticModelGroup only displaying 1 instance. Closes #544. Lasse Öörni 2014-11-27 17:33:13 +0200
  • 02e68ac7e5 Refactor to remove child node and its components from scene immediately when it is being removed from the parent. Lasse Öörni 2014-11-27 17:10:26 +0200
  • aaec0d9200 For Travis CI - use Release build configuration when build on bad VM. Now this rule is applicable for all target platforms (Linux, Windows, Android, and Raspberry-Pi) which have their CI builds run on Linux/Ubuntu host VM. Mac OSX and iOS CI builds are not affected by this rule since they run on OSX host VM which is not susceptible to "bad VM" issue. The idea is to reduce memory consumption during the linking phase and thus avoiding the process being killed due to insufficient memory in the VM. Yao Wei Tjong 姚伟忠 2014-11-27 20:07:16 +0800
  • abfc1576e0 Merge pull request #543 from AtomicGameMachine/JME-FIX-SPRITE-SET aster2013 2014-11-27 11:59:46 +0800
  • 5e1a72e317 When setting a new sprite, have to mark vertices dirty to pick up changes in rectangle, hotspot, etc Josh Engebretson 2014-11-26 16:16:20 -0800
  • f461c8234b Use a global hash-to-varname mapping table in the editor, which is saved along with the editor config. This allows intelligible var names in prefabs across scenes. Closes #540. Lasse Öörni 2014-11-26 21:28:48 +0200
  • 81d19ec037 Merge remote-tracking branch 'remotes/hdunderscore/Editor_ScriptInstance_Persistance' Lasse Öörni 2014-11-26 17:15:33 +0200
  • b999275b53 Updated to cover these cases: - Values are refreshed when scripts are changed. - Loading/creating new scene clears the previously stored script attributes. - Loading a scene will load the script attributes, so that if there was a script error after loading but before inspecting a ScriptInstance, the values are still known. hdunderscore 2014-11-26 20:36:20 +1100
  • e0d13d706e For Travis CI - simplify the ci_rebase rake task. On normal commit, use the origin/master. On git tagging commit, use the 'tag' branch. Also when on git taggig commit, prevent API doc update on the master branch because it is already too late to do so as the commit won't be in the tag anyway. Yao Wei Tjong 姚伟忠 2014-11-26 16:57:23 +0800
  • c2f8af4e19 - Added correct behaviour for undoing/redoing script attributes. - Fixed drag slider undo/redo so that it creates a correct action representing old/new states. hdunderscore 2014-11-26 19:06:57 +1100
  • ec390c2913 Suppress CMake unused variable warning for Android platform. Yao Wei Tjong 姚伟忠 2014-11-26 16:26:34 +0800
  • f6e8f3b0fa Merge branch 'cleaning-up-build-scripts-for-android' into master. Yao Wei Tjong 姚伟忠 2014-11-26 14:22:41 +0800
  • e20bf79dcd Added persistence of attributes for ScriptInstances in the editor, so that when an error occurs, the values are not reset to default. hdunderscore 2014-11-26 10:19:30 +1100
  • 5f68fa2868 Only get enabled Drawable2D in Renderer2D. aster2013 2014-11-25 21:23:48 +0800
  • 46adfcfe46 Set the CPack default installation dir to be the same as CMake one. This is only applicable for CPACK when creating RPM and DEB software packages. The CPack and CMake installation dir are now both set to /usr/local. This commit also makes it possible to generate Urho3D.pc for Android platform now. Note the default installation dir for Android is /user instead (Android has its own convention as set by android.toolchain.cmake). Yao Wei Tjong 姚伟忠 2014-11-25 13:31:29 +0800
  • b9be757f03 When index buffer data lost, reset index buffer data. aster2013 2014-11-24 23:59:49 +0800
  • 1e195bb186 For Travis CI - use HEAD instead of $TRAVIS_BRANCH for ci_rebase task. This is because the detached head may actually move due to API documentation update, so $TRAVIS_BRANCH environment variable may actually just point to HEAD~ in this scenario, which was not good as it would cause CI mirror branches became being pushed twice unnecessarily, one for HEAD~ and one for HEAD. Using HEAD should work equally well for both normal commit and release tagging commit. Yao Wei Tjong 姚伟忠 2014-11-24 23:07:28 +0800
  • c1b51e611a Travis CI: API documentation update at 2014-11-24 15:10:14 UTC. [ci package] urho3d-travis-ci 2014-11-24 15:10:14 +0000
  • 9d78a85348 Add events for GPU context loss & restore. Lasse Öörni 2014-11-24 16:54:44 +0200
  • 5ea049470b Travis CI: API documentation update at 2014-11-24 10:49:19 UTC. [ci package] urho3d-travis-ci 2014-11-24 10:49:19 +0000
  • 33f5612c30 Fixed tile map remove layer node bug. aster2013 2014-11-24 14:02:47 +0800
  • 35735b11d3 Remove unused code, rename DefaultMaterial to Material. aster2013 2014-11-24 13:48:57 +0800
  • 93cce995e8 Fix bug. aster2013 2014-11-24 13:27:48 +0800
  • ae33830dd2 rename DRAWABLE_PROXYGEOMETRY DRAWABLE_RENDERER2D aster2013 2014-11-24 13:01:43 +0800
  • 511d6f461f Remove custom material from Drawable2D, Renderer2D will get all Drawable2D when HandleBeginViewUpdate. aster2013 2014-11-24 12:49:19 +0800
  • fb07e32cdd Remove Sprite2D from Drawable2D, make Drawable2D more general. aster2013 2014-11-24 12:12:41 +0800
  • aaa792609a Combine DrawableProxy2D and MaterialCache2D in to Renderer2D. aster2013 2014-11-24 11:42:17 +0800
  • e7b0808b12 Misc. fixes in the build script to improve the release mechanism. The following changes address the shortcomings of our current release mechanism detected from our last release. - Define and set RELEASE_TAG environment variable only when a git tag conform to a release tagging matching regex "\d+\.\d+". - Change the logic to allow the automated rake tasks to be triggered on a 'tag' branch properly. - Fix the 'git rebase' command to use the branch pointed by TRAVIS_BRANCH environment variable as baseline, instead of assuming it to be always 'origin/master' as before. - Change Urho3D library versioning CMake module to omit the version patch number when there is none, i.e. 1.32 instead of 1.32.0. Yao Wei Tjong 姚伟忠 2014-11-23 20:01:32 +0800
  • ba1e0974d0 Remove COPY_BASE_ATTRIBUTES(Component); aster2013 2014-11-23 12:42:42 +0800
  • 5c1f05ed10 Travis CI: API documentation update at 2014-11-22 15:30:34 UTC. [ci package] urho3d-travis-ci 2014-11-22 15:30:34 +0000
  • 0f1ce308e9 Merge branch 'mixed-accessor-attribute' aster2013 2014-11-22 23:12:40 +0800
  • 4655ee1ee4 Submit code in LuaScript samples. aster2013 2014-11-22 16:23:17 +0800
  • f8879539fa Add space template function. aster2013 2014-11-22 16:05:29 +0800
  • 09a33521aa Add space before template >, let GCC happy. aster2013 2014-11-22 15:47:21 +0800
  • c1ea1f9e06 Move attribute name as first parameter in ATTRIBUTE macro, same as other attribute macros. aster2013 2014-11-22 15:23:16 +0800
  • 13d3f1c8ac Add attribute trait, treat ref attribute same with attribute. aster2013 2014-11-22 15:04:09 +0800
  • 9e5172a959 Add EnumAttributeAccessorImpl class, remove all Variant::Get<> functions for enum type. aster2013 2014-11-22 13:22:37 +0800
  • cb819a5a6f Remove class name and variant type from attribute macros. aster2013 2014-11-22 12:43:23 +0800
  • 17b8150f31 For Travis CI - consider 'tag' branch as master branch. Yao Wei Tjong 姚伟忠 2014-11-22 10:27:24 +0800
  • dd01b749eb Enhance Rakefile to autoload other *.rake scripts in ".rake" directory. Also create symlink to Rakefile when scaffolding. [ci skip] Yao Wei Tjong 姚伟忠 2014-11-22 01:07:18 +0800
  • d99b6e9a4e Remove type from MIXED_ACCESSOR_ATTRIBUTE macro, make it more cleaner. Other attribute macros will be modify later. aster2013 2014-11-22 00:54:28 +0800
  • 5ea467ff23 Add GetVariantType functions, Fix compile warning in UI.cpp. aster2013 2014-11-22 00:44:36 +0800
  • 5eed296f37 Add comment for modify third-party code. aster2013 2014-11-22 00:43:00 +0800
  • 60eeb45222 For Travis CI - skip APK test run when packaging. General build script cleanup: - Constrain build option values in cmake-gui. - Constrain build configuration for both multi-configuration and single-configuration generators. - Mark cached variables as advanced or internal as appropriate. Yao Wei Tjong 姚伟忠 2014-11-22 00:33:18 +0800
  • 605d113c9c Remove duplicated call of UpdateViewParameters.[ci skip] aster2013 2014-11-21 22:45:20 +0800
  • c7e248b13a Enable mouse visible in UIDrag sample. aster2013 2014-11-21 22:13:22 +0800
  • 4058e45acb Fix compile warning in tolua. aster2013 2014-11-21 22:00:15 +0800
  • 7e46f0c862 Add MIXED_ACCESSOR_ATTRIBUTE. aster2013 2014-11-21 18:26:45 +0800
  • 0deb74d201 Change variable name to start with lowercase. Lasse Öörni 2014-11-21 11:19:29 +0200
  • 657a7d9922 Make GetCPUData and GetAndroidCPUCount static. aster2013 2014-11-21 15:31:48 +0800
  • e6508e418b If reverse mapping of a node variable is not known, show the hexadecimal hash to allow editing the var in the editor. Lasse Öörni 2014-11-20 16:44:16 +0200
  • 65ee2ca966 Add function to get CPU count on Android. For now returns the same for logical & physical. Closes #535. Update changelog. Lasse Öörni 2014-11-20 14:49:38 +0200
  • aa3f467da2 Travis CI: API documentation update at 2014-11-20 11:17:19 UTC. [ci package] urho3d-travis-ci 2014-11-20 11:17:19 +0000
  • e24648ae47 remove empty line, rename variance. aster2013 2014-11-20 18:17:09 +0800
  • 12aceffb82 Merge remote-tracking branch 'remotes/origin/Subscribe-to-Lua-Function' aster2013 2014-11-20 18:06:52 +0800
  • c7b07bdb10 supress -> suppress Lasse Öörni 2014-11-20 11:53:27 +0200
  • c13c9280e9 Merge remote-tracking branch 'hdunderscore/Input_MM_RELATIVE_FIX' Lasse Öörni 2014-11-20 11:43:33 +0200
  • 159bda2928 Update inspector window right after creation to fix bugged layout. Lasse Öörni 2014-11-20 11:33:28 +0200
  • 17118be70f Input::SetMouseMode and Console::SetVisible were keeping track of last mouse visible independently, which could cause mouse to become trapped in editor (eg: drag slider + open console + press escape). hdunderscore 2014-11-20 19:56:51 +1100
  • 00c9316503 Fix typo. aster2013 2014-11-20 16:41:04 +0800
  • 90eb670146 Remove unused code. aster2013 2014-11-20 14:20:55 +0800
  • 8d067b2810 Now, we can use Lua function to handle event directly, for example: SubscribeToEvent(draggableFish, "DragBegin", function (eventType, eventData) dragBeginPosition = IntVector2(eventData:GetInt("ElementX"), eventData:GetInt("ElementY")) end) aster2013 2014-11-20 14:17:34 +0800
  • 788badde48 Fix a bug in UIElement's CalculateLayout() that caused an infinite loop with certain flex scale values . Fixes #529 PrimitiveWaste 2014-11-19 12:37:25 -0800
  • e3c1ce1f99 Add Android ABI 64-bit support into 1.32 changelog. Test [ci package] of new Android ABIs. Yao Wei Tjong 姚伟忠 2014-11-19 23:34:39 +0800
  • 0fb99af9e4 Misc. fixes and enhancement for Android platform. - Add initial support for ndk-gdb. Enable via new 'URHO3D_NDK_GDB' build option. - Enhance rake android task: more effective loop to wait for Android device, ability to pick library to run from SampleLauncher from the adb shell. - Fix "buildvm" tool name for Android to derive from the correct NDK ABI CMake's variable. - Fix Android toolchain to copy shared STL library to the correct Android library output directory. Yao Wei Tjong 姚伟忠 2014-11-19 21:25:32 +0800
  • 733b0bbaeb Fix AngelScript library to support Android ABI arm64-v8a (untested). Yao Wei Tjong 姚伟忠 2014-11-18 20:43:21 +0800
  • 12dd2699c5 Tighten the check to detect Android ABI x86_64 in AngelScript library. Related to commit b7ab0ad4f8970d52b290b2789a94aefc669b9cfb. Yao Wei Tjong 姚伟忠 2014-11-18 12:27:08 +0800
  • e0e3b11757 Refactor build scripts to auto detect ANDROID and RASPI build options. Yao Wei Tjong 姚伟忠 2014-11-18 12:06:35 +0800
  • dd4eadb958 Fix AngelScript library to support Android ABI x86_64. Yao Wei Tjong 姚伟忠 2014-11-16 21:29:05 +0800
  • edc6529491 Init the URHO3D_64BIT build option to 1 when Android ABI is arm64-v8a. Yao Wei Tjong 姚伟忠 2014-11-16 14:22:27 +0800
  • 33358e9caa For Travis CI - Fallback to use Lua library for ABI arm64-v8a. SDK r10c does not ship with the corresponding system image for this ABI yet, so also skip the APK packaging step for now. Yao Wei Tjong 姚伟忠 2014-11-16 12:39:17 +0800
  • 1b95f204dc Enhance Android related tasks to work with multiple attached devices. Yao Wei Tjong 姚伟忠 2014-11-15 20:50:33 +0800
  • c711d450ed Name Android buildvm tool for LuaJIT library differently based on ABI. Yao Wei Tjong 姚伟忠 2014-11-15 17:23:13 +0800
  • 0e9f6e9251 For Travis CI - reduce the AVD waiting time to 1 minutes instead. There is no point to wait for AVD to start. By the time the CI finishes the build, if the emulator is able to start the AVD then it should have been already done so. On non-CI environment, the build time could still be much faster than the emulator starting the AVD, thus the function to wait for AVD is still useful in non-CI environment. Yao Wei Tjong 姚伟忠 2014-11-15 14:54:41 +0800
  • f8a2b5e14e For Travis CI - attempt to fix failure to start emulator with API 21. Yao Wei Tjong 姚伟忠 2014-11-15 00:09:58 +0800
  • dc1753e7f9 Fix Android toolchain so that Clang always comes after GCC. Merge some of the changes from one of the android-cmake's PR for NDK r10c. Yao Wei Tjong 姚伟忠 2014-11-15 00:03:56 +0800
  • b0b8b58f6d For Travis CI - double the time to wait for AVD to start. AVD with API level 21 seems to take longer to start. Also when the AVD failed to start in time, CI now skips the APK installation/launching test and considers the whole build as passed. Yao Wei Tjong 姚伟忠 2014-11-14 15:29:08 +0800
  • eda52984ac Add initial support for 64-bit Android ABIs. Yao Wei Tjong 姚伟忠 2014-11-11 22:00:54 +0800
  • fbe7108de8 Check node_ being non-null in RigidBody::ApplyWorldTransform(). Lasse Öörni 2014-11-19 15:45:03 +0200
  • 4f8bc4a9f2 Revert "Allow UIElements to keep their current size if greater than the calculated size during layout updates." Lasse Öörni 2014-11-19 14:59:06 +0200
  • 4c6bce8174 Make a backup (filename.old) in editor when saving XML format scenes, layouts or materials, delete after successful save. This prevents losing the file if XML save crashes. Closes #530. Lasse Öörni 2014-11-19 14:50:11 +0200
  • d63cc4c625 Initial V1.32 changelog. Lasse Öörni 2014-11-17 23:40:45 +0200
  • 26ebc5f780 Travis CI: API documentation update at 2014-11-17 21:35:01 UTC. [ci package] urho3d-travis-ci 2014-11-17 21:35:01 +0000
  • 283d0d196b Add layout flex scale to UIElement. Prevent layout updates while loading attributes. PrimitiveWaste 2014-11-17 12:10:22 -0800
  • b97c8d4712 Allow UIElements to keep their current size if greater than the calculated size during layout updates. PrimitiveWaste 2014-11-16 20:51:51 -0800
  • 11cb6e05b6 Prevent UI Window from drifting when resizing from top right. PrimitiveWaste 2014-11-16 20:26:42 -0800
  • 8557571cb4 More robust check for OcclusionBuffer culling mode. Now also CULL_NONE mode should detect triangle facing correctly. Lasse Öörni 2014-11-17 21:33:26 +0200
  • b325ba5195 Support excluding 2D functionality from the build (CMake option URHO3D_URHO2D=0). Removed empty scene creation from the UIDrag example. Make compiling Civetweb conditional of URHO3D_NETWORK. Exclude samples depending on the Controls structure when URHO3D_NETWORK is disabled. Lasse Öörni 2014-11-17 20:42:35 +0200
  • 16c05ee6cf Fix occlusion rendering to work with reverse triangle winding. Fix MultipleViewports C++ example using depth test in debug geometry. Lasse Öörni 2014-11-17 18:04:32 +0200
  • a5049d423f Avoid looping through geometries just before render just to find out their geometry update type. Removed the now unnecessary shadowGeometries_ vector. Thanks to OvermindDL1 for bringing this to attention. Lasse Öörni 2014-11-17 16:01:57 +0200
  • 5f4f6870d9 Travis CI: API documentation update at 2014-11-17 12:11:52 UTC. [ci package] urho3d-travis-ci 2014-11-17 12:11:52 +0000
  • 3969b69b0d Refactor material shader parameter animations so that they happen in response to update events, the same as component/node attribute animations. This fixes material animations depending on visibility and therefore possibly going out of sync from other updates. Add possibility to associate material with scene to make it use the scene attribute update event instead of the global update event. Lasse Öörni 2014-11-17 14:00:45 +0200
  • fa4b96895a Travis CI: API documentation update at 2014-11-15 18:43:15 UTC. [ci package] urho3d-travis-ci 2014-11-15 18:43:15 +0000
  • 8b22c32f4c Copy the Input::SetMouseMode() documentation also on the Input documentation page. Lasse Öörni 2014-11-15 20:15:02 +0200
  • 7a55b3b977 Merge remote-tracking branch 'hdunderscore/Input_MouseCursorRecall' Lasse Öörni 2014-11-15 18:57:03 +0200
  • c7b7d9fd9f Merge branch 'master' of https://github.com/urho3d/Urho3D Lasse Öörni 2014-11-15 18:44:01 +0200
  • 50eb143319 Fix consistency in touch hover touch ID. Fix returning touch IDs as available. When resetting touches, reset the touch ID mapping also. In UIDrag example, show the actual touch ID's instead of indices, to verify that the ID's stay consistent. Fix UIDrag Lua example erroneously modifying the TouchState's position. Lasse Öörni 2014-11-15 18:42:28 +0200