Commit Graph

9836 Commits

Author SHA1 Message Date
Lasse Öörni
79ef4c54c5 Fix ValueAnimation to override BeginLoad() correctly. Closes #828. 2015-08-10 12:06:04 +03:00
Lasse Öörni
5ce33abb51 Fix preprocessor condition in DatabaseAPI.cpp. 2015-08-10 11:20:54 +03:00
Yao Wei Tjong 姚伟忠
93f55dc5ad Minor documentation update on Database page.
[ci only: master]
2015-08-10 15:54:33 +08:00
urho3d-travis-ci
875dffcc92 Travis CI: API documentation update at 2015-08-09 18:06:19 UTC.
[ci package]

Commit: 7a7f250996

Message: Add new documentation page for database subsystem.
2015-08-09 18:06:19 +00:00
Yao Wei Tjong 姚伟忠
7a7f250996 Add new documentation page for database subsystem. 2015-08-10 01:51:26 +08:00
Yao Wei Tjong 姚伟忠
5fb6482e14 Add dependent C++ source file when building PackageTool for Emscripten.
[ci only: Emscripten]
2015-08-10 01:51:26 +08:00
Yao Wei Tjong 姚伟忠
4edba76ec2 Fix AngelScript and Lua bindings. Fix Lua samples to use new getters.
Tips: use this one liner to convert Lua scripts to use new getter signature.
find . -type f -exec grep -lP "eventData:Get.+?\(.+?\)" {} \; |xargs -n 1  perl -pi.bak -e 's/eventData:Get(.+?)\((?:([^,)]+),\s*(.*?)|(.+?))\)/eventData[\3\4]:Get\1(\2)/g'
2015-08-10 01:51:26 +08:00
Yao Wei Tjong 姚伟忠
4807206bd7 Bind all variant types from C++ to Lua and vice versa. See #820.
Other misc Lua binding enhancements:
- VariantMap in Lua can be indexed using both string literal and unsigned int literal. Internally they are both converted to StringHash. Lua table of strings/variants and any registered user types are now accepted as RHS value when assigning VariantMap's value, the variant type would be set accordingly based on the lua object type. Refcounted object would end up as VAR_PTR while others as VAR_VOIDPTR.
- Variant knows how to convert to string implicitly.
2015-08-10 01:51:26 +08:00
Yao Wei Tjong 姚伟忠
8acb9e6441 Fix Variant and VariantMap bindings to Lua. Close #820.
Add Lua bindings to return VariantVector as table of Variant.
Fix Lua database demo. It is in full working condition now.
[ci only: database, OSX]
2015-08-10 01:51:26 +08:00
Yao Wei Tjong 姚伟忠
842de2fe48 Exposed the database subsystem API to scripting.
Add AngelScript version of the database demo.
Add Lua versio nof the database demo. WIP.
2015-08-10 01:51:26 +08:00
Yao Wei Tjong 姚伟忠
d8181e0b5b Update to nanodbc release 2.2.2.
No need for local modifications anymore as they are already merged into nanodbc upstream repo.
2015-08-10 01:51:26 +08:00
Yao Wei Tjong 姚伟忠
33145bf18f Use numCols to determine whether a result object impl has resultset.
Only supports one resultset per execution at the moment.
Enhance db sample demo to accept connectiong string setting to connect to different database during runtime.
[skip ci]
2015-08-10 01:51:26 +08:00
Yao Wei Tjong 姚伟忠
d39a80b1a9 Pass compiler defines from the ODBC config tool to our build system.
Make FindODBC module to prefer unixODBC over libiodbc when both ODBC driver managers are available.
2015-08-10 01:51:26 +08:00
Yao Wei Tjong 姚伟忠
f420b14ad2 Make URHO3D_DATABASE_ODBC suppresses URHO3D_DATABASE_SQLITE.
Correct a typo in the database demo.
[ci skip]
2015-08-10 01:51:26 +08:00
Yao Wei Tjong 姚伟忠
0e2af9c788 Initial ODBC API support.
Enhance db demo to work with ODBC database connectioon string.
2015-08-10 01:51:25 +08:00
Yao Wei Tjong 姚伟忠
7d6f0ffeab Fix Database subsystem on Emscripten build.
[ci only: Emscripten]
2015-08-10 01:51:25 +08:00
Yao Wei Tjong 姚伟忠
e0068c5c9d For Travis CI - initial attempt to switch on the database subsystem. 2015-08-10 01:51:25 +08:00
Yao Wei Tjong 姚伟忠
560ef3bb37 Add Database subsystem. Add new build option to enable it.
Initial C++ sample database demo using execute immediate mode.
2015-08-10 01:51:25 +08:00
Lasse Öörni
ed39940b2e Added float <> half-float conversion functions. 2015-08-09 12:03:18 +03:00
Lasse Öörni
ca71cafcf5 Unify float texture data upload behavior between D3D & OpenGL: half float textures are expected to be provided in that format, and are not converted from single precision on OpenGL anymore. 2015-08-09 01:32:43 +03:00
Lasse Öörni
cb0cd03930 Add note of VS output / PS input semantics requiring the same order on D3D11. 2015-08-08 22:53:59 +03:00
Lasse Öörni
5aaa3ea680 Fix the editor variable type popups not showing all text. 2015-08-08 14:32:48 +03:00
Lasse Öörni
a626021d95 Fixes for VS texture fetch on D3D11. 2015-08-06 22:28:05 +03:00
urho3d-travis-ci
bc58db968d Travis CI: API documentation update at 2015-08-06 13:59:00 UTC.
[ci package]

Commit: b53b584123

Message: 8-bit render order support in materials. This adjusts the drawing order within a scene pass, and takes precedence over both state & distance sorting.
2015-08-06 13:59:00 +00:00
Lasse Öörni
b53b584123 8-bit render order support in materials. This adjusts the drawing order within a scene pass, and takes precedence over both state & distance sorting. 2015-08-06 16:42:52 +03:00
Lasse Öörni
d9d09909d4 Removed commented out code. Minor editor code formatting & typo fixes. 2015-08-05 21:28:47 +03:00
Lasse Öörni
c359d6f5a1 Merge remote-tracking branch 'monkeyfirst/global-editor-events-handlers' 2015-08-05 21:23:39 +03:00
Lasse Öörni
3bd55ecc14 Fix DDS size calculation errors and potential unwanted object destruction in Image class. Closes #826. 2015-08-05 21:22:03 +03:00
urho3d-travis-ci
1592c95915 Travis CI: API documentation update at 2015-08-05 16:16:10 UTC.
[ci package]

Commit: a737bbb671

Message: Fix terrain occlusion leaving holes in the occlusion geometry, and being over-aggressive with height reduction, which would result in poor occlusion. Allow to configure terrain number of LOD levels to be less than 4. Allow to configure the LOD level used for terrain occlusion (not recommended to be changed.) Closes #825.
2015-08-05 16:16:10 +00:00
Lasse Öörni
a737bbb671 Fix terrain occlusion leaving holes in the occlusion geometry, and being over-aggressive with height reduction, which would result in poor occlusion. Allow to configure terrain number of LOD levels to be less than 4. Allow to configure the LOD level used for terrain occlusion (not recommended to be changed.) Closes #825. 2015-08-05 19:05:18 +03:00
urho3d-travis-ci
4d0f0b9ef3 Travis CI: API documentation update at 2015-08-05 12:26:11 UTC.
[ci package]

Commit: 5edc729ee5

Message: Remove occlusionOffset from TerrainPatch, instead calculate the minimum height in the neighborhood of each lowest LOD terrain vertex. Occlusion still uses lowest LOD to not use up occlusion triangles quickly. Fixes #822.
2015-08-05 12:26:11 +00:00
Lasse Öörni
5edc729ee5 Remove occlusionOffset from TerrainPatch, instead calculate the minimum height in the neighborhood of each lowest LOD terrain vertex. Occlusion still uses lowest LOD to not use up occlusion triangles quickly. Fixes #822. 2015-08-05 15:15:19 +03:00
MonkeyFirst
99ad65844f add more event to main editor handlers 2015-08-05 15:43:15 +06:00
Lasse Öörni
681e91635e Handle caching of SmoothedTransform in RigidBody component using a weak pointer instead of a bool flag so that it can be deleted by the client if necessary, without getting a state mismatch. 2015-08-05 10:47:06 +03:00
urho3d-travis-ci
be1feb49be Travis CI: API documentation update at 2015-08-05 00:53:57 UTC.
[ci package]

Commit: 7da3eb5616

Message: Exposed various kNet connection stats.
2015-08-05 00:53:57 +00:00
MonkeyFirst
5da0bea816 global-editor-handlers 2015-08-05 04:21:39 +06:00
Lasse Öörni
7da3eb5616 Exposed various kNet connection stats. 2015-08-04 22:26:45 +03:00
urho3d-travis-ci
ad1ea20f20 Travis CI: API documentation update at 2015-08-04 14:58:47 UTC.
[ci package]

Commit: fba5948ab0

Message: Allow to disable rendering of the whole UI (except for the cursor and modal elements) by setting the UI root to not visible. Added new function UIElement::IsVisibleEffective() which checks for propagated visibility. Make sure to clear focus also if a child element (that has focus) becomes effectively invisible. Closes #811.
2015-08-04 14:58:47 +00:00
Lasse Öörni
fba5948ab0 Allow to disable rendering of the whole UI (except for the cursor and modal elements) by setting the UI root to not visible. Added new function UIElement::IsVisibleEffective() which checks for propagated visibility. Make sure to clear focus also if a child element (that has focus) becomes effectively invisible. Closes #811. 2015-08-04 17:47:46 +03:00
Lasse Öörni
b10b28eef3 Do not allow invisible UI elements to have focus. Lose focus when an element is hidden. Closes #819. 2015-08-03 13:20:29 +03:00
Lasse Öörni
fe9eee4947 Merge remote-tracking branch 'monkeyfirst/fixed-event-handlers-4-b.mode' 2015-08-03 12:16:18 +03:00
Christian Clavet
13d2264abb Updated french language
Updated the french language:
- Added new strings for the new terms
- Changed some whitespaces to tabs
- Improved translation
2015-08-01 17:42:45 -04:00
MonkeyFirst
038ec8c286 fixed missing event handler from color wheel after layer use 2015-08-02 03:08:23 +06:00
Lasse Öörni
c14d6ba4b7 Editor code convention edits. Use Alt+W for color wheel in both hotkey modes. 2015-07-31 22:00:48 +03:00
Lasse Öörni
baa40d62cb Uppercase the HSV editor image to match existing files' convention. 2015-07-31 21:50:25 +03:00
Lasse Öörni
5344d386b0 Merge remote-tracking branch 'monkeyfirst/hsv-color-wheel' 2015-07-31 21:23:54 +03:00
urho3d-travis-ci
0eda0fa9e2 Travis CI: API documentation update at 2015-07-31 16:47:06 UTC.
[ci package]

Commit: 97e8e89e23

Message: Merge remote-tracking branch 'jsandusky/DDSImageChain'
2015-07-31 16:47:06 +00:00
Lasse Öörni
97e8e89e23 Merge remote-tracking branch 'jsandusky/DDSImageChain' 2015-07-31 19:10:32 +03:00
JSandusky
8a1073b14f Correction of missing merge of Lua packages. 2015-07-30 22:05:08 -04:00
JSandusky
9d4f4f9bd9 Correction of misuses of xml element in OGLTextureCube 2015-07-30 21:35:32 -04:00