Commit Graph

9836 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
59b2b02888 Fix build using Urho3D as external library. Closes 112.
Add test cases in Travis CI to test build using Urho3D as external library in external (non Urho3D) project.
2014-01-07 22:03:32 +08:00
Yao Wei Tjong 姚伟忠
1a6970dcf2 Prevent message box crashes due to corrupted or missing data dir.
Delay factories debug tests after all the subsystems and resource paths are added.
Register MessageBox object factory.
2014-01-07 14:58:35 +08:00
Chris Friesen
8143297015 disabled if none, added show popup indicator 2014-01-06 23:08:52 -06:00
Lasse Öörni
32c86e8237 Added necessary include files to not rely on includes in Precompiled.h. 2014-01-06 15:42:42 +02:00
Lasse Öörni
ebd03d08db When removing a resource dir, remove the FileWatcher with matching path instead of relying on the indexing. 2014-01-06 02:10:31 +02:00
urho3d-travis-ci
5670681373 Travis CI: API documentation update at 2014-01-05 23:24:56 UTC.
[ci skip]
2014-01-05 23:24:56 +00:00
Lasse Öörni
2e01ca5e67 Sanitate resource dir similarly when adding and removing it to ensure removing works properly. 2014-01-06 00:55:51 +02:00
urho3d-travis-ci
f4dd154c06 Travis CI: API documentation update at 2014-01-05 18:04:26 UTC.
[ci skip]
2014-01-05 18:04:26 +00:00
Lasse Öörni
745fdb1416 Exposed ResourceCache::GetFile() to Lua. The file must be manually deleted once no longer needed. 2014-01-05 19:34:41 +02:00
Yao Wei Tjong 姚伟忠
2565755905 Misc. tweaks on Editors and minor refactoring. 2014-01-05 23:20:45 +08:00
Lasse Öörni
42c1ea4186 Merge remote-tracking branch 'remotes/friesencr/scene-mru' 2014-01-05 14:25:24 +02:00
Chris Friesen
b7d4404be8 stores 5 most recently used scenes 2014-01-05 00:54:16 -06:00
urho3d-travis-ci
788b9faf21 Travis CI: API documentation update at 2014-01-05 05:32:55 UTC.
[ci skip]
2014-01-05 05:32:55 +00:00
Yao Wei Tjong 姚伟忠
db9efdf375 For Travis CI - proceed with API update even when site is up-to-date.
The API documentation update is expected to fail when remote HEAD moves (i.e. there are new pushes while Travis CI build is in progress). Enhance the script one more time so that it always attempts to update API documentation on every build.
2014-01-05 13:03:56 +08:00
Yao Wei Tjong 姚伟忠
662fe84d3c For Travis CI - Replace GH_TOKEN as it was exposed in the build log.
Due to git push failure from detached HEAD, the error log in Travis CI build contains GH_TOKEN for worker account. A new GH_TOKEN is now generated.
Enhance the script so that it does not spit out any output or error when pushing. The script still can rely on command exit status, however.
2014-01-05 12:12:41 +08:00
Lasse Öörni
e05ae6ecfc Merge remote-tracking branch 'remotes/friesencr/mousewheel-zoom' 2014-01-05 01:21:19 +02:00
Lasse Öörni
acc4ccc18e Documented the screen keyboard. 2014-01-05 01:20:30 +02:00
Lasse Öörni
d1bbe45515 Added SDL on-screen keyboard support. 2014-01-05 01:14:27 +02:00
Chris Friesen
d9a6ffb2fc adds mousewheel translation in editor 2014-01-04 14:32:15 -06:00
Yao Wei Tjong 姚伟忠
ff0094a2a7 Fix Panel ListView hover/focus rect image rect.
Convert UI.png back to PNG8 format (8-bit colormap, non-interlaced).
Correct sample material path.
2014-01-04 21:29:09 +08:00
Yao Wei Tjong 姚伟忠
0f00ac7ad5 Fix scrollbar button so it does not get focus mistakenly.
ListView class has two ScrollBar instances (so it has 4 internal buttons) which made it difficult to tab-out before this fix.
2014-01-04 18:36:38 +08:00
Yao Wei Tjong 姚伟忠
fcb2f52035 Refactor and minor improvement on ListView class.
Handle arrow keys to modify selections even when there is no selection yet initially.
2014-01-04 14:59:44 +08:00
urho3d-travis-ci
9600c55465 Travis CI: API documentation update at 2014-01-03 19:53:08 UTC.
[ci skip]
2014-01-03 19:53:08 +00:00
Lasse Öörni
7f061206dc Add the byKey parameter to script bindings of SetFocusElement(). 2014-01-03 21:32:53 +02:00
Lasse Öörni
387c01fb3b Merge remote-tracking branch 'remotes/reattiva/ui_practices' 2014-01-03 20:41:50 +02:00
Yao Wei Tjong 姚伟忠
42792b0bd2 Minor improvement and bug fix on some of the UI elements.
Also:
- Focusable UI elements appears with a consistent visual "focus rect" when in focus.
- Make more UI elements focusable. It is now possible to cycle through all the editable elements using Tab key (in general dialog window or in Attribute Inspector).
- Closes #94.
2014-01-03 22:05:25 +08:00
Lasse Öörni
28254f9a1d Improved the "Overall structure" documentation page. 2014-01-03 11:59:49 +02:00
urho3d-travis-ci
674880cce3 Travis CI: API documentation update at 2014-01-03 08:53:13 UTC.
[ci skip]
2014-01-03 08:53:14 +00:00
Lasse Öörni
c636b092e2 Restored previous Geometry::GetRawData() function (though it leads to duplicated code) to prevent unnecessary copying of shared array pointers. 2014-01-03 10:31:35 +02:00
Lasse Öörni
5f535f7999 Merge branch 'master' of https://github.com/urho3d/Urho3D 2014-01-03 10:17:57 +02:00
Lasse Öörni
668772bb50 Added PhysicsWorld::RemoveCachedGeometry() function to manually invalidate cached collision geometry of a changed model. Added watching for CollisionShape model live reload. Removed internal but public functions from the Lua physics API. 2014-01-03 10:15:54 +02:00
Lasse Öörni
6878e19c67 Refactored check for dynamic buffers into a function. 2014-01-03 09:23:29 +02:00
Lasse Öörni
9aed42faf5 Merge remote-tracking branch 'remotes/grking/master' 2014-01-03 09:17:04 +02:00
Yao Wei Tjong 姚伟忠
65ced72eb9 Enhanced focusable button to be drawned differently when focused.
Also:
- Revert back base Button class to non-focusable as it turns out it has negative side effect (e.g toolbar button becomes "sticky"). Create new focusable button style instead.
- Prevent double Alt+F4 from terminating Editor with unsaved changes, bypassing warning message box. System exit request is in fact ignored when there is any modal window waiting for user input.
2014-01-03 15:14:33 +08:00
Lasse Öörni
363945b729 Instead of storing Geometry pointers, store shared array pointers for triangle mesh collision data. This protects against the original Geometry resizing its data. 2014-01-03 09:13:56 +02:00
Yao Wei Tjong 姚伟忠
9db5f85daf Route system exit request to Exit menu handler to perform exit check. 2014-01-03 09:58:11 +08:00
Yao Wei Tjong 姚伟忠
aa4ec0ec78 For Travis CI - only install what being requested. 2014-01-03 09:05:54 +08:00
Graham King
3b25b25d47 Don't cache geometry with any dynamic vertex buffers. 2014-01-03 01:05:45 +00:00
Lasse Öörni
f095a6d597 Update documentation on script event handling. 2014-01-03 01:36:11 +02:00
Lasse Öörni
dfe3cab012 Restructuring of non-ScriptInstance script object event handling to ensure that handlers for individual objects don't overwrite each other. 2014-01-03 01:22:30 +02:00
Alex Parlett
18cb81b750 Add the ability to allow pure script objects that are not created through a ScriptInstance to handle events. This works like it currently does using:
SubscribeToEvent("Foo","FooHandler");

Where if called inside a procedural function the ScriptFile will handle it, if called inside an object if that object was created through a ScriptInstance that ScriptInstance will handle the event, otherwise the ScriptFile associated with the current script module will handle it.
2014-01-02 16:45:39 +00:00
reattiva
2ac0d8955e On LineEdit move around the borders of current selection. 2014-01-02 17:27:20 +01:00
reattiva
8f38b4b702 Move the focus backwards with SHIFT+TAB. 2014-01-02 17:27:19 +01:00
reattiva
6e9a0fb715 Select all the text when moving focus on a line edit by TAB key. 2014-01-02 17:27:18 +01:00
Yao Wei Tjong 姚伟忠
9f0ae5cea6 For Travis CI - add NinjaSnowWar into test cases. 2014-01-02 22:46:12 +08:00
urho3d-travis-ci
776e775012 Travis CI: API documentation update at 2014-01-02 14:33:45 UTC.
[ci skip]
2014-01-02 14:33:45 +00:00
Yao Wei Tjong 姚伟忠
92cb20e9f5 Enhance Editor to warn user actions that can potentially lose data.
Also:
- Change how the UIElement::GetNumChildren() method is being exposed to scripting to avoid confusion with "numChildren" getter.
- Make Button element focusable. Focused button accepts enter key or space key as click. TODO: to visually show focused button differently than non-focused ones.
- Fix MessageBox dialog window centering issue.
2014-01-02 22:09:05 +08:00
Lasse Öörni
b3770a3755 Added example of an alphablended, lit decal. Closes #103. 2014-01-02 12:44:20 +02:00
Lasse Öörni
d8ef2731f2 Merge pull request #104 from friesencr/orbit-tweak
added fallback for non-drawable components when orbiting
2014-01-02 01:18:06 -08:00
Chris Friesen
ab82b64909 added fallback for non-drawable components 2014-01-01 17:56:46 -06:00