Commit Graph

9612 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
fbcac184da
Combine ccache_dir and home_dir into a single docker volume. 2018-10-20 12:43:21 +08:00
Yao Wei Tjong 姚伟忠
71ed76ece0
Fallback workaround on older Docker CLI version. 2018-10-19 20:13:43 +08:00
Yao Wei Tjong 姚伟忠
a2dad539fd
Add Docker CLI version check. 2018-10-19 17:56:23 +08:00
Mateus Vendramini
954738f04f Fixing typo on NavigationMesh API 2018-10-15 08:30:31 +08:00
Yao Wei Tjong 姚伟忠
c4da0fa54c
Mount a docker volume as urho3d's home dir. 2018-10-13 16:42:04 +08:00
Yao Wei Tjong 姚伟忠
b87cbc72cb
Allow base image to be run also (unsupported feature). 2018-10-13 13:33:51 +08:00
Yao Wei Tjong 姚伟忠
f1d6cbd3c5
Replace 'grep -Pzo' as Trusty's grep version is too old. 2018-10-12 00:53:25 +08:00
Yao Wei Tjong 姚伟忠
434dcafb9a
New script for running dockerized build environment. 2018-10-09 23:24:47 +08:00
urho3d-travis-ci
fb34f088cf Travis CI: API documentation update at 2018-10-08 08:49:04 UTC.
[ci package]

Commit: dd8b41feac

Message: incoming/outgoing packet counter, last heard time logic added (#2380)

* incoming/outgoing packet counter, last heard time logic added

* typo fix, Connection::GetLastHeardTime is now non-const

* Lua and Angelscript bindings updated

* AngelScript typo fixed

* GetLastHeardTime updates
2018-10-08 08:49:04 +00:00
Arnis Lielturks
dd8b41feac
incoming/outgoing packet counter, last heard time logic added (#2380)
* incoming/outgoing packet counter, last heard time logic added

* typo fix, Connection::GetLastHeardTime is now non-const

* Lua and Angelscript bindings updated

* AngelScript typo fixed

* GetLastHeardTime updates
2018-10-08 11:37:57 +03:00
1vanK
cc25bef60e
Update Recast & Detour lib. 2018-09-20 22:17:20 +08:00
Yao Wei Tjong 姚伟忠
70ce6c4f8a
Minor code cleanup - dead code and sprintf type mistmatch. 2018-09-16 09:46:52 +08:00
Yao Wei Tjong 姚伟忠
a81d44ba25
For CI - fix missing tags and binary artifact upload issues.
Also clean the LuaJIT/buildvm host tool build tree before retrying to recover from a build cache corruption.
2018-09-15 19:24:06 +08:00
Yao Wei Tjong 姚伟忠
b817c3437d
For CI - temporarily exclude RPM and DEB package generation during CI packaging build.
Close #2368
[ci package]
2018-09-15 00:06:08 +08:00
Yao Wei Tjong 姚伟忠
f65050c017
For CI - exclude one more sample as the last CI build was still too close. 2018-09-14 23:41:28 +08:00
Yao Wei Tjong 姚伟忠
9e56169b9c
For CI - cache initial build tree and exclude some samples for Web-CI. 2018-09-13 23:21:46 +08:00
Yao Wei Tjong 姚伟忠
20617e17b6
Allow Gradle build with Lua/LuaJIT enabled without global ninja-build. 2018-09-08 21:21:00 +08:00
Yao Wei Tjong 姚伟忠
1c449f4b45
For CI - also clean the tolua++ host tool build tree before retrying.
[skip appveyor] [ci only: master]
2018-09-05 22:27:45 +08:00
Yao Wei Tjong 姚伟忠
6cb5137eb3
For CI - another attempt to workaround the corrupted cache issue.
[skip appveyor]
2018-09-05 21:55:26 +08:00
Yao Wei Tjong 姚伟忠
0f01ee7ccc
For CI - attempt to workaround the corrupted cache issue.
[skip appveyor]
2018-09-04 21:54:28 +08:00
Yao Wei Tjong 姚伟忠
0fd5c54d72
For CI - temporarily disable AS due to VS 2017 (15.8) compiler bug.
[skip travis]
2018-09-03 22:25:26 +08:00
Yao Wei Tjong 姚伟忠
a37ca0cb92
Initial work for custom Gradle plugin.
[skip appveyor] [ci only: Android]
2018-09-02 23:04:01 +08:00
Florastamine
86c2afb46a Log which adapter is used on OpenGL & D3D9 (#2370)
* Log used adapter for OpenGL

* Updated OpenGL code

* Also support querying adapter on D3D9.
2018-08-28 12:15:49 +08:00
Yao Wei Tjong 姚伟忠
3db124b5cd
For Android - refactor to remove buildscript block. 2018-08-26 19:54:26 +08:00
urho3d-travis-ci
5da6d06e22 Travis CI: API documentation update at 2018-08-26 04:08:09 UTC.
[ci package]

Commit: 81d66be594

Message: Fix editor's OK button due to StringHash is now case-senstive.
2018-08-26 04:08:09 +00:00
Yao Wei Tjong 姚伟忠
81d66be594
Fix editor's OK button due to StringHash is now case-senstive. 2018-08-26 11:57:55 +08:00
Yao Wei Tjong 姚伟忠
22ba82b7b2
For Android - refactor to use UrhoCommon.kt to manage dependencies. 2018-08-25 14:10:22 +08:00
Yao Wei Tjong 姚伟忠
c9acdd632f
Upgrade to Kotlin 1.2.61 and minor refactoring.
The buildScr will contain more common stuffs in the future.
2018-08-23 23:00:49 +08:00
Arnis Lielturks
2131d25e19
clear replicated nodes when connecting to server (#2364) 2018-08-23 14:53:18 +03:00
SuperWangKai
87e38f4d67 Log which adapter used for DX11 (#2365) 2018-08-23 12:56:21 +08:00
Yao Wei Tjong 姚伟忠
d7d1e38298
Update documentation on Angelscript upgrade. 2018-08-22 18:29:16 +08:00
Yao Wei Tjong 姚伟忠
8ba6a36973
Adapt to AngelScript 2.33.0 WIP. 2018-08-22 18:29:16 +08:00
Yao Wei Tjong 姚伟忠
cdfd8d9826
Merge commit '13d333a33589a33421be2609bc56b05654e56fd2' into master. 2018-08-22 18:10:29 +08:00
Yao Wei Tjong 姚伟忠
13d333a335 Squashed 'Source/ThirdParty/AngelScript/' changes from 886dc42a49..76c92e1a7e
76c92e1a7e Another attempt to merge upstream changes with local ones.
4407e00f81 Adapt to AngelScript 2.33.0 WIP.
2d1dcc5ace Travis CI: bump copyright to 2018. [cache clear]
632c3f505a Add macro for checking the compiler's C++11 type trait templates. Modify angelscript.h header file to use our custom compiler define based on the check result to cater for pre-standard Clang compiler toolchain.
a8c35e00c4 Remove "execute" permission in the source files. [ci skip]
faa58bc4f1 Allow possibility of building Urho3D without C++ exceptions feature. Disallow Android build to turn off C++ RTTI feature.
380964ffd8 Unconditionally disable the x86 syscall prologs / epilogs on GCC, since the assembler error related to cfi instructions could also happen on newer versions.
4944524d01 Old GCC version check in as_callfunc_x86.cpp for CI.
73aac66775 Restore Urho3D tweaks to as_config.h and earlier ifdef check for C++11 features.
d0dd6f54dc Restore earlier ifdef for AS type traits due to some Android CI builds failing.
53bf0c68b4 Clang internal error workaround to as_callfunc_x86.cpp
882e776ad1 Travis CI: bump copyright to 2017. [ccache clear]
b41f490557 Initial work to update to AngelScript 2.31.2.
4619fb1240 Move the bits into places.
3550aa1f60 - fixed a bug with symbol lookup introduced with the refactoring
2e3a756923 - fixed a bug with symbol lookup introduced with the refactoring
f86ebb43fc - Continued the refactoring of symbol lookup so both function calls and variable access use the same logic - Virtual property accessors must not have the same name as real property or function in the same scope
7265999643 - Refactored how he compiler does symbol lookups to better handle namespace hierarchies and child types. - The array's and string's length property accessor has been renamed to 'size' to avoid conflict with the length() method
270856ff08 The copy constructor of script classes are now used properly by the compiler
af2c56e2ad - Fixed problem with use of unsafe references and global variables
c9e4bb6040 - When unsafe references is allowed the stream operator (<<) can now be implemented on value types with correct behaviour for chained expressions - The asBC_REFCPY and asBC_RefCpyV instructions can now be used with value types too
0aa30f092b Fixed compiler error in as_callfunc_x86.cpp for gnuc/mingw when compiling with optimizations
7707e9a22c CScriptAny now supports forwarding gc enum callbacks to value types with gc behaviour
c598c98ad0 CScriptGrid now support forwarding gc enum callbacks to value types with gc behaviour
d0a44858e4 Included SetCircularRefDetectedCallback to allow application developers to easier identify the origin of circular references
2fea402a22 Fixed a bug when loading bytecode having identical shared functions in different namespaces
bf9480602b Fixed problem in compiler that didn't release a temporary variable when passing anonymous object to function expecting ?&in
0a32333cf9 - AssignScriptObject will now set a script exception for ref types if asEP_DISALLOW_VALUE_ASSIGN_FOR_REF_TYPE is used - Initialization lists will implicitly assume objects by handle if asEP_DISALLOW_VALUE_ASSIGN_FOR_REF_TYPE is used
1ef192e4cc Passing a string literal to function expecting &out will now give compiler error
5c154f1ccb Fixed bug introduced in previous revision
71d557fd6d Fixed assert failure on call to opCast(?&out) with a non-variable expression
fbfc3cbc5c Bytecode with external shared classes with virtual methods failed to load from bytecode
5b97a695c8 The bytecode for external shared entities is no longer saved in the module when inherited from (additional fix when the same function was used in another class too)
3b7448cd61 The bytecode for external shared entities is no longer saved in the module when inherited from
21e4c65fb7 Fixed loading byte code that uses external shared classes in namespace
19cb3e303f Reduced the size of the saved byte code, especially when there are lots of functions without parameters
ce6fe5b80b CScriptDictionary now supports forwarding gc enum callbacks to value types with gc behaviour
c102cf24a3 Added exception handling to the MSVC8 project
3af7bab9d5 Initializing an ASHANDLE type with overloaded opHndlAssign taking a var type as a handle wasn't done correctly
11600f0d96 - Added the engine methods ForwardGCEnumReferences and ForwardGCReleaseAllReferences - CScriptArray now supports forwarding gc enum callbacks to value types with gc behaviour
d787280628 - Registered value types can now register GC behaviours to solve circular references involving these types - CScriptHandle registers the ENUMREFS and RELEASEREFS gc behaviours
db6a199d60 CScriptBuilder now supports having multiple meta data blocks for each entity
e6da96550a auto declarations now works correctly with implicit handle types
45194c3cf6 Fixed bug when loading bytecode containing shared interfaces with inheritance
6c6f887d26 meta data is now correctly extracted for class methods with decorators
f982e0dc2a The correct resolution is now done for types implementing both opCast and opImplConv and the const overloads. The same for opConv and opImplConv
7716d5479f Added MSVC 2017 projects
e7368f62a8 Fixed compiler error when both opConv and opImplConv are implemented
6fafba3022 opImplCast with variable type won't be used for non-ref types
f8a9eaed89 Fixed memory build-up due to delayed cleanup when discarding modules with shared entities
1649f60370 Further fixes related to template types and namespaces
14b56414db Template types are now properly identified in separate namespaces
f0ed5e519f Fixed an error when compiling a class method call as post-op and the name matches a type name
e3ca22c65a Saving bytecode for a never returning function would cause assert failure
c8095307f3 Class constructors can now be declared with private and protected too
64ab05ba0c Fixed error when saving bytecode for scripts containing interfaces that derives from interfaces
8bd5d40097 weakref now properly identifies different object instance when the address is the same as the previously freed object
cbaa500fb3 Fixed compiler error on Linux
d0e37c201b Implemented a callback to allow application to translate C++ exceptions thrown by registered functions
8037ae9a51 By default asEP_GENERIC_CALL_MODE is set to use the new behaviour
ef7d9a44ad Implemented engine property asEP_GENERIC_CALL_MODE to make the generic calling convention treat handles the same way that the native calling convention do
f15dcfcc56 Compiler would crash on compiling ternary operator with anonymous list in one of the conditions
aa7d45b60e Template types can now be registered with methods taking parameters as &inout
12c7ab4d6c - Loading bytecode that included use of template value types with a template type as argument crashed - All methods for template instances now get unique functions to show the template instance as the object type
32c4b235ba documentation
18678f1da9 The compiler will now give an error on bitwise operator with floats instead of silently converting to integer
400c54c299 Fixed bug with anonymous initialization lists when used to initialize value type passed by value to function
c168f89b4b - Fixed crash in debugger add-on when printing call stack in template function - Documented the script grammar in BNF - Added support for specifying parameter types to lambda functions
80adf56b06 Minor refactoring to reduce some duplicated code for verifying if proceeding token sequence is a type
d8e324cad1 Engine error messages now include the symbol name for the error code for easier interpretation
c6803b2a0a - Implemented a #pragma callback in the builder add-on - asrun can now turn on debugging with #pragma debug (works the same as -d command arg)
42c35611d6 Fixed incorrect use of setlocale in parseFloat
18fc360ef2 Changed the compiler to do less copies of objects and especially string constants
ba12d89ea0 cmake changes
9c93ca0c69 Fixed crash when compiling is null comparison with ASHANDLE object without any opEquals operator
66e4471016 Changed the clean-up of the string factory in the stdstring add-on to avoid crash if the script engine is stored in global singleton
1eb058cf24 - filesystem's changeCurrentPath doesn't modify anything if the new path is invalid - Implemented the methods makeDir, removeDir, deleteFile, copyFile, and move on the filesystem add-on
76aeadd7f3 Updated the cmake project for better usability
bfd447ddcb The asrun sample now waits for user input before closing on any error when executed from file explorer on Windows
153b385a1f Preparing the tests for new optimizations
4dd0bd304a Added methods setDate and setTime to datetime add-on and operators to add seconds, compare, and determine difference in seconds
d50e15345c Added the methods IsLink and GetSize to filesystem add-on
315252e5d1 Releasing 2.32.0
117d6a49cd Updating the config according to the new way of registering the string factory
833178fcaf RefCastObject was allowing explicit cast from base class to derived class even though the true type was of the base class
d582d62bf4 Linux with ARM doesn't support catching c++ exceptions yet
4232d7c0c8 Fixed problem on platforms where char is unsigned by default
c13e697abd Removed unnecessary include
0270b00838 Increased initial buffer size in asCString::Format to work around problem on Linux
3f5163be6c Fixed compiler warning
827c153abe Fixed buffer overflow when formatting error message with very long tokens
028f4cf94e Testing long tokens
8b279427dd Corrections for Linux/GNUC
5257e9234e Fixed an incorrect default arg
38fb52292f - Implemented generic calling convention for the CScriptArray::Sort method with callback - Fixed compiler error with AS_NO_COMPILER - Fixed tests for AS_MAX_PORTABILITY
8a5f493719 Documentation
680bde46d5 - Documentation - Removed the option to turn off the new string factory
11f1654449 Documentation
a49a9b59ba Documentation
12d2dcae4d Documentation
cdc47e3c1f Documentation
00b102d455 - Object properties can also be registered for composite objects - WriteConfigToStream and ConfigEngineFromStream properly handles composite properties - Debugger is capable of inspecting value of composite properties
d0896a561c Added support for registering class methods for composite types
737a4dc5c0 Removed deprecated code from previous versions
c503c760b9 Changed how string literals are handled by the script engine. Now they are evaluated at compile time and a pointer to the application native string object is stored in the byte code.
6f3df65557 Cleaning up
fc9738dc20 Compiler was allowing to pass a const object by reference to a parameter expecting a non-const when using unsafe references
18cc16c9fd Saved byte code with scripts that used child funcdefs couldn't be loaded
699cd4806f Value type without opAssign but with a copy constructor can now be implicitly copied in type conversions
af1cd92622 Explicitly creating a copy of a const object to get a non-const handle would give a compiler error
6672b26d13 - Objects that rely on asGetActiveContext during clean-up can now do so even during exception handling - Dictionary storing a const handle now allows retrieving by value
c5ad0228ab cleaning up the test code a bit
03d1e39c1e more cleanup in test code
8b44cde9b4 - Both Read and Write in asIBinaryStream can now return an error code to signal failure - fixed compiler warnings in test applications
49f44eaffa Fixed compilation error when the project path included space characters
026b87b5b6 Code clean-up
99d5a7d155 Using bit fields for function traits
4f6b4f38f0 Fixed the asbuild sample config and script files
aa74157748 Minor code cleanup
923f709dd3 Fixed assert failure when compiling expression with anonymous initialization list
f61dc2abc3 Fixed assert failure while compiling unary minus operator on constant integers smaller than 32 bits.
570966664a Fixed crash in compiler when compiling type conversion with invalid use of named arguments
393403156b Fixed assert failure when compiling comparison expressions with primitives smaller than 32bit
f610f7ed14 Fixed compiler error in deprecated IsHandleCompatibleWithObject when using AS_DEPRECATED
3d0c058e3c Handles received by reference is now properly treated when passed to function expecting variant type
cb4ddab368 Improved compiler error message when identifier before parenthesis doesn't evaluate to a function
REVERT: 886dc42a49 Allow possibility of building Urho3D without C++ exceptions feature. Disallow Android build to turn off C++ RTTI feature.
REVERT: 465d6931ea Unconditionally disable the x86 syscall prologs / epilogs on GCC, since the assembler error related to cfi instructions could also happen on newer versions.
REVERT: cb0ee7d3a4 Old GCC version check in as_callfunc_x86.cpp for CI.
REVERT: 63489c0d82 Restore Urho3D tweaks to as_config.h and earlier ifdef check for C++11 features.
REVERT: 4d24a82c7f Restore earlier ifdef for AS type traits due to some Android CI builds failing.
REVERT: 29bb3e80ec Clang internal error workaround to as_callfunc_x86.cpp
REVERT: 456770f542 Travis CI: bump copyright to 2017. [ccache clear]
REVERT: 522ff404ba Initial work to update to AngelScript 2.31.2.
REVERT: 05e50a5c70 Move the bits into places.

git-subtree-dir: Source/ThirdParty/AngelScript
git-subtree-split: 76c92e1a7e333abfb8827d0c5dc1c9a651e527f3
2018-08-22 18:10:28 +08:00
Yao Wei Tjong 姚伟忠
f8badde1cc
Use the embedded CMake and Ninja for doc generation. 2018-08-17 23:19:21 +08:00
Yao Wei Tjong 姚伟忠
a2d51c310a
Add custom task for generating documentation artifact. 2018-08-17 17:56:56 +08:00
urho3d-travis-ci
8edb8ac2cf Travis CI: API documentation update at 2018-08-15 14:57:27 UTC.
[ci package]

Commit: 4faf970643

Message: Minor cleanup and add script API bindings.
Close #2360
2018-08-15 14:57:27 +00:00
Yao Wei Tjong 姚伟忠
4faf970643
Minor cleanup and add script API bindings.
Close #2360
2018-08-15 22:27:03 +08:00
Yao Wei Tjong 姚伟忠
03065dd7f9
Update contributor list. 2018-08-15 22:17:03 +08:00
chenjie199234
c6350bbe44
Add an API named ToString() in JSONFile class. 2018-08-15 22:15:32 +08:00
Yao Wei Tjong 姚伟忠
340bd8ca66
For CI - use Xcode9.4 VM image. 2018-08-12 10:02:12 +08:00
urho3d-travis-ci
c391d13bab Travis CI: API documentation update at 2018-08-11 15:49:52 UTC.
[ci package]

Commit: a01132ca5f

Message: Update 3rd-party licences.
Close #2302
2018-08-11 15:49:52 +00:00
Yao Wei Tjong 姚伟忠
a01132ca5f
Update 3rd-party licences.
Close #2302
2018-08-11 22:28:09 +08:00
Yao Wei Tjong 姚伟忠
34f4ea1c77
Fix Android build using Gradle. 2018-08-11 22:28:02 +08:00
Arnis Lielturks
ea29214e9b
Documentation update. 2018-08-11 20:40:54 +08:00
Yao Wei Tjong 姚伟忠
87d887718c
Fix MinGW build. 2018-08-11 20:40:33 +08:00
Yao Wei Tjong 姚伟忠
3b617083a1
Minor clean up on the Network subystem. 2018-08-11 20:40:33 +08:00
Yao Wei Tjong 姚伟忠
86064cb3dc Merge commit '7d9d1eba4c3e92c0f8ce93c7768e376f2ad252a0' as 'Source/ThirdParty/SLikeNet' 2018-08-11 20:35:55 +08:00
Yao Wei Tjong 姚伟忠
7d9d1eba4c Squashed 'Source/ThirdParty/SLikeNet/' content from commit a9e0c6f243
git-subtree-dir: Source/ThirdParty/SLikeNet
git-subtree-split: a9e0c6f243f698b2bc076a90701ff76c532513a6
2018-08-11 20:35:55 +08:00
Yao Wei Tjong 姚伟忠
77bb990ec5
Replace Source/ThirdParty/SLikeNet subdirectory with subtree. 2018-08-11 20:35:38 +08:00