Commit Graph

134 Commits

Author SHA1 Message Date
urhobot
f861a10a61 GH Actions: Bump copyright to 2021. 2021-07-17 16:43:46 +00:00
Yao Wei Tjong 姚伟忠
18cd3b3995
Simplify lint setup.
Lint from 3rd-party libraries are 'suppressed' by having a separate '.clang-tidy' file with minimal checks enabled.
2020-10-29 08:22:38 +08:00
urho3d-travis-ci
1151b8a2d6 Travis CI: bump copyright to 2020. 2020-01-05 06:21:40 +00:00
urho3d-travis-ci
a476f0c401 Travis CI: bump copyright to 2019. 2019-01-12 01:00:16 +00:00
Yao Wei Tjong 姚伟忠
f1c1f5aa42 For CI - setup the lint stage on the primary CI. 2018-01-24 02:06:23 +08:00
urho3d-travis-ci
70049ba582 Travis CI: bump copyright to 2018.
[cache clear]
2018-01-01 05:35:37 +00:00
Yao Wei Tjong 姚伟忠
4ff9580f06 Clang-Tidy - modernize-deprecated-headers. 2017-12-31 12:46:27 +08:00
urho3d-travis-ci
ee054a1507 Travis CI: bump copyright to 2017.
[ccache clear]
2017-01-01 13:01:31 +00:00
Yao Wei Tjong 姚伟忠
f1d1b757b8 Change all CMakeLists.txt to use LF for consistency sake. 2016-12-05 22:33:59 +08:00
Johnathan Jenkins
d78fc4020f minor typos 2016-10-28 13:07:14 -07:00
urho3d-travis-ci
c4f6f315ff Travis CI: bump copyright to 2016.
[ccache clear]
2016-01-26 13:55:03 +00:00
Yao Wei Tjong 姚伟忠
44e7322e4e Enable LuaJIT universal binary build on OSX platform.
Enable universal binary executables by default when targeting 64-bit OSX platform.
2016-01-21 10:56:58 +08:00
Yao Wei Tjong 姚伟忠
21b01fcd5b Refactor how the EXE and SHARED linker flags are being setup. 2016-01-06 16:38:59 +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 姚伟忠
1cc09cb704 For Coverity Scan - check in the failed model file anyway.
[ci skip]
2015-08-17 12:01:46 +08:00
Yao Wei Tjong 姚伟忠
0e031852d1 Suppress most of the false positive on out-of-bound access.
The affect of this change can only be checked after the next Coverity Scan run on this Thursday.
2015-08-16 16:44:19 +08:00
Yao Wei Tjong 姚伟忠
7a80b37c22 Fix URHO3D_PACKAGING build option on Windows platform with SHARED lib.
[ci scan]
2015-07-12 19:04:19 +08:00
Yao Wei Tjong 姚伟忠
6923bd0736 Install tools to the 'bin/tool' directory.
Related to commit 6b6447eb8c.
2015-06-10 18:39:39 +08:00
Yao Wei Tjong 姚伟忠
24e70ecd60 For Travis-CI - reduce number of samples in Emscripten build.
Also remove CI build for shared lib type. It is anyway just an emulation as Emscripten does not support dynamic library (yet) and our earlier issue with emar for static lib type has been fully resolved. Test [ci package] for Emscripten.
2015-02-13 21:31:59 +08:00
Lasse Öörni
bb2ebf7568 Bump copyright to 2015. 2015-01-31 21:03:53 +02:00
Yao Wei Tjong 姚伟忠
ed214bbeb3 Avoid the include dirs hack for finding the Urho3D.h header.
It is now a library user own's responsibility to include the Urho3D.h in their source code. Or to include it as part of their own precompiled header similar to what Urho3D project has done.
2015-01-20 18:15:29 +08:00
Yao Wei Tjong 姚伟忠
b51e419c88 Change impl. file to include the header file from corresponding subdir.
Change header file to use relative pathspec when including other files.
2015-01-04 22:40:40 +08:00
Yao Wei Tjong 姚伟忠
4feb135281 Clean up SDK include dirs. Refactor FindUrho3D CMake module.
For Travis CI - add new steps to install the Urho3D SDK and to reference Urho3D library from the installed SDK.
2015-01-04 22:32:41 +08:00
Yao Wei Tjong 姚伟忠
e06c503f64 Fix GCC Makefile build on Mac OS X platform for good. 2014-04-12 23:09:03 +08:00
Yao Wei Tjong 姚伟忠
46285baf97 Refactor build scripts to group Urho3D specific build option.
Initial support of project configuration and generation via cmake-gui.
2014-04-05 00:20:56 +08:00
Lasse Öörni
9d1187e970 Removed BlenderExporter, as it has its own repo now. Added note where it can be found. 2014-02-07 16:16:12 +02:00
Lasse Öörni
6d5ddc23e0 Bump the copyright for 2014. 2014-02-01 14:37:21 +02:00
Yao Wei Tjong 姚伟忠
48eb0497df Rename var name from <package>_INCLUDE_DIR to <package>_INCLUDE_DIRS.
See http://urho3d.prophpbb.com/topic9.html.
2014-01-21 15:57:07 +08:00
Lasse Öörni
b957f60143 Added ApplyMaterialList() function to StaticModel so that the feature can be used outside the editor as well. Refactored editor to use that function instead of its own implementation.
Unified the switch to output material list to -l in both AssetImporter & OgreImporter.
Removed the "use local IDs" toggle from editor as that can be specified with the import options.
2013-10-29 23:04:51 +02:00
Yao Wei Tjong 姚伟忠
e423a26461 Refactor CMake build scripts.
Changes:
- Avoid globbing engine source files twice.
- Setup folder group for VS and Xcode. Also group object files according to 3rd-party library name.
- New define_source_files() macro.
2013-10-28 18:21:18 +08:00
Yao Wei Tjong 姚伟忠
ef566d825a Cleaned up build script script comment. 2013-10-25 00:08:49 +08:00
Yao Wei Tjong 姚伟忠
a9ed330890 Create sub-projects for Samples/Tools/Extras. 2013-10-22 23:19:03 +08:00
Yao Wei Tjong 姚伟忠
d33ac02538 Refactor build scripts to build Urho3D library as main target.
Other changes in the commit:
- Change build option from URHO3D_BUILD_TYPE to URHO3D_LIB_TYPE. Default value is STATIC.
- Automatically add compiler definition 'URHO3D_STATIC_DEFINE' when linking with Urho3D library statically.
- Move LuaScript subsystem from Extra/ to Engine/.
- Enable FindUrho3D module to also detect Urho3D library target when the FindUrho3D module is being used internally by Urho3D project.
- Configure to build all the samples for iOS and Android platforms also when option to build samples is enabled.
- Export all the Register*Library() global functions.
- Rewrite all the tools, samples, and extras targets to link against Urho3D library.

TODOs:
- Combine engine sub-libraries into one.
- Test builds on non-Linux platforms.
2013-10-21 02:28:29 +08:00
Yao Wei Tjong 姚伟忠
5dbf83c418 Show a warning message when tolua++ tool is missing.
For cross-compiling to be successful, all the tools must be already built natively.
2013-10-19 23:58:23 +08:00
aster2013
99b4315386 Chanage SharedPtr<T>, please use SharedPtr<T>::Get() to get raw pointer. add Read chunk function in Deserializer class, add Write chunk function in Serializer. 2013-10-19 10:19:28 +08:00
aster2013
27f7a2b31f Add more vector type support in Lua, rename ToluaUrho3DEx file to tolua++urho3d. 2013-10-18 22:04:36 +08:00
aster2013
4e0df133c0 Add "const Vector<String>" support in Lua, now in Lua "const Vector<String>" is a Lua table with string elements. 2013-10-18 20:39:47 +08:00
aster2013
d83f982c57 Change const string reference to const string type. 2013-10-17 23:25:01 +08:00
aster2013
747ab13932 Adjust lua gc step pause parameter, make it gc aggressive. 2013-10-17 23:03:33 +08:00
aster2013
6ae4ab9b7f Add SharedPtr<HttpRequest> support in Lua. 2013-10-17 21:42:35 +08:00
Lasse Öörni
840d50ce0d Allow to force FreeType autohinting (old 2.3 version behavior.) Reload font faces when global font settings changed. 2013-10-15 15:31:39 +03:00
Lasse Öörni
267523a738 Adapted Aster Jian's mutable glyph mechanism. Globally switchable on from the UI subsystem. Configurable font texture max size in UI subsystem. 2013-10-13 21:42:36 +03:00
Lasse Öörni
c6a6f71aa3 Finalize LZ4 support. Do not repeatedly allocate compressed data buffer. Do not store global blocksize into the package file header. Increased Android read buffer to 32KB. 2013-10-12 15:03:17 +03:00
Yao Wei Tjong 姚伟忠
b5836237e9 Remove dependency on Lua when LuaJIT is enabled.
Change build option name from ENABLE_LUA_JIT to ENABLE_LUAJIT.
Change tolua++ lua scripts to be compatible with both LuaJIT and Lua. Replace toluabind.c with the corresponding bytecode.
2013-10-11 02:02:08 +08:00
weitjong
1afb83b10b Generated sources are defined before normal sources.
To be consistent with the rest of the CMakeLists.txt.
2013-10-06 14:01:11 +08:00
Lasse Öörni
36eb726d36 Add the concept of base class type to Object to simplify determining if a ScriptInstance's handle variable is a Node, Component or Resource. Serialize script's resource handles as ResourceRef attributes and allow editing them. 2013-10-05 23:24:39 +03:00
Lasse Öörni
25c7aa53c3 Added GetDesktopResolution() to Graphics. 2013-10-05 02:39:58 +03:00
Lasse Öörni
2fbe931cee Added SetWindowPosition() / GetWindowPosition() to Graphics. 2013-10-05 02:22:02 +03:00
Lasse Öörni
39c8295eb3 Added editable flag to UI elements. When disabled, will not edit the value (eg. LineEdit text) through user input. Fixes #4.
Moved UIElement default virtual function implementations to the header.
Removed clip border from the default style LineEdit, as some letters (eg. lowercase y) will clip with the font size used in the editor & console.
2013-10-04 01:58:46 +03:00