summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2019-07-22Revert "Expose "meta" to the Inspector"Rémi Verschelde
2019-07-22Make it a build error if a GetTypeInfo specialization cannot be resolvedIgnacio Etcheverry
Previously it was a runtime error message.
2019-07-20Merge pull request #30693 from Chaosus/lerp_angleRémi Verschelde
Added lerp_angle built-in function
2019-07-20Merge pull request #30576 from qarmin/lgtm_coverageRémi Verschelde
Changed some code reported by LGTM and Coverity
2019-07-20Added lerp_angles built-in functionChaosus
Co-authored-by: Xrayez <https://github.com/Xrayez> Co-authored-by: DleanJeans <https://github.com/DleanJeans>
2019-07-20Changed some code showed in LGTM and Coverageqarmin
2019-07-19Merge pull request #30354 from LikeLakers2/multinodeedit-same-type-propertiesRémi Verschelde
MultiNodeEdit now only shows properties with the exact same PropertyInfo data
2019-07-19Merge pull request #23310 from aaronfranke/posmod-intRémi Verschelde
Add integer posmod and rename default arg names
2019-07-19Merge pull request #22642 from YeldhamDev/inspector_metadataRémi Verschelde
Expose "meta" to the Inspector
2019-07-18Add integer posmod and rename default arg namesAaron Franke
"posmod" is the integer version of "fposmod". We do not need a "mod" because of the % operator. I changed the default arg names from "x" and "y" to "a" and "b" because they are not coordinates. I also changed pow's arg names to "base" and "exp". Also, I reorganized the code in the VS built-in funcs switch statement.
2019-07-18Merge pull request #30226 from lawnjelly/interpolateRémi Verschelde
Add access to interpolation fraction for fixed timestep interpolation
2019-07-12Merge pull request #30341 from Toshiwoz/masterRémi Verschelde
when doing Vector3 slerp it is not necessary to have it normalized.
2019-07-11Add access to interpolation fraction for fixed timestep interpolationlawnjelly
Addresses #30068 This is a prerequisite for allowing proper support for fixed timestep interpolation, exposing the interpolation fraction to the engine, modules and gdscript. The interpolation fraction is the fraction through the current physics tick at the time of the current frame.
2019-07-10Merge pull request #30455 from qarmin/const_referenceRémi Verschelde
Pass by reference to const
2019-07-10Use reference to constant in functionsqarmin
2019-07-09Merge pull request #30188 from Andrettin/Method-Binding-Free-Function-SupportRémi Verschelde
Method Binding Free Function Support
2019-07-09Added support for passing functions pointers (with a class instance as the ↵Andrettin
first parameter) to method bindings
2019-07-09Merge pull request #30433 from akien-mga/cryptocore-string-escapeRémi Verschelde
SCons: Fix MBEDTLS_CONFIG_FILE string escape
2019-07-08SCons: Fix MBEDTLS_CONFIG_FILE string escapeRémi Verschelde
Fixes #30431, regression from #30277.
2019-07-08Add NULL-terminator the string passed to strtol.Fabio Alessandrelli
This is actually expected by the function although it was apparently working in GCC without the terminator, it breaks (at least some) clang versions.
2019-07-08Merge pull request #30422 from Faless/net/tcp_connect_timeoutRémi Verschelde
Add TCP connect timeout.
2019-07-08Add TCP connect timeout.Fabio Alessandrelli
Default timeout is 30 seconds (i.e. after 30 seconds of calling connect_to_host if the TCP peer is not connected the connection will error out). This value can be configured in project settings: `network/limits/tcp/connect_timeout_seconds`
2019-07-08Merge pull request #30392 from hbina/redundant_check_pool_vectorRémi Verschelde
Removed a redundant check in PoolVector
2019-07-08Merge pull request #30407 from qarmin/small_fixessRémi Verschelde
Fixes minor issues found by static analyzer
2019-07-07Removed a redundant check in PoolVectorhbina085
The set method of PoolVector<T> performs an indexing check twice.
2019-07-07Fixes minor issues found by static analyzerqarmin
2019-07-06Merge pull request #30382 from simonpuchert/geo-optRémi Verschelde
Some small optimizations in core/math/geometry.h.
2019-07-06Optimize get_closest_point_to_segment*.Simon Puchert
By combining all scalar factors we can get rid of a scalar * vector multiplication and a square root operation, since the resulting formula only uses the squared length.
2019-07-06Added release function to PoolVector::Access.Ibrahn Sahir
For clarity, assign-to-release idiom for PoolVector::Read/Write replaced with a function call. Existing uses replaced (or removed if already handled by scope)
2019-07-05MultiNodeEdit now only shows properties with the exact same PropertyInfo dataLikeLakers2
2019-07-05when doing Vector3 slerp it is not necessary to have it normalized.Toshiwo
2019-07-05Merge pull request #30282 from neikeq/editor_in_cs_equals_winRémi Verschelde
Re-write mono module editor code in C#
2019-07-05Merge pull request #24086 from RandomShaper/bundle-pck-to-executableRémi Verschelde
Enhance game export
2019-07-05Fix localize_path not always workingIgnacio Etcheverry
We make sure the resource dir path ends with a trailing '/' for safety reasons, so we must make sure the path we compare it to does so as well.
2019-07-05Re-write mono module editor code in C#Ignacio Etcheverry
Make the build system automatically build the C# Api assemblies to be shipped with the editor. Make the editor, editor player and debug export templates use Api assemblies built with debug symbols. Always run MSBuild to build the editor tools and Api assemblies when building Godot. Several bugs fixed related to assembly hot reloading and restoring state. Fix StringExtensions internal calls not being registered correctly, resulting in MissingMethodException.
2019-07-05Merge pull request #30296 from neikeq/issue-30127Rémi Verschelde
Expose ResourceImporter to the scripting API
2019-07-05Merge pull request #29744 from GodotExplorer/gdscript-completion-iconsRémi Verschelde
Show icons for code completion options
2019-07-05Show icons for code completion optionsGeequlim
2019-07-04Expose ResourceImporter to the scripting APIIgnacio Etcheverry
Fixes #30127
2019-07-04Merge pull request #30263 from Faless/ws/wslay_prRémi Verschelde
Use wslay as a WebSocket library
2019-07-04WebSocket module now uses wslay library.Fabio Alessandrelli
Both client and server are supported on native builds (as usual). SSL server is still not supported, but will soon be possible with this new library. The API stays the same, we just need to work out potential issues due to this big library switch.
2019-07-04Parse more informations for code completionGeequlim
2019-07-03Add embedded PCK option to PC platformsPedro J. Estébanez
The basic point is as in 2.1 (appending the PCK into the executable), but this implementation also patches a dedicated section in the ELF/PE executable so that it matches the appended data perfectly. The usage of integer types is simplified in existing code; namely, using plain `int` for small quantities.
2019-07-03Add TCP Server is_listening methodFabio Alessandrelli
2019-07-03Add b64 to string helper in CryptoCoreFabio Alessandrelli
2019-07-03Add sha1 functions to string (using new CryptoCore)Fabio Alessandrelli
2019-07-03SCons: Use CPPDEFINES instead of CPPFLAGS for pre-processor definesRémi Verschelde
It's the recommended way to set those, and is more portable (automatically prepends -D for GCC/Clang and /D for MSVC). We still use CPPFLAGS for some pre-processor flags which are not defines.
2019-07-02Fix editor crash when StreamPeerSSL is unavilable.Fabio Alessandrelli
The fix for EditorNode is a bit hacky, but the handling of the buttons and features there is hacky too (based on enums that might not reflect the actual state).
2019-07-02Merge pull request #30239 from Faless/crypto/crypto_coreRémi Verschelde
CryptoCore class to access to base crypto utils.
2019-07-02CryptoCore class to access to base crypto utils.Fabio Alessandrelli
Godot core needs MD5/SHA256/AES/Base64 which used to be provided by separate libraries. Since we bundle mbedtls in most cases, and we can easily only include the needed sources if we so desire, let's use it. To simplify library changes in the future, and better isolate header dependencies all functions have been wrapped around inside a class in `core/math/crypto_base.h`. If the mbedtls module is disabled, we only bundle the needed source files independently of the `builtin_mbedtls` option. If the module is enabled, the `builtin_mbedtls` option works as usual. Also remove some unused headers from StreamPeerMbedTLS which were causing build issues.