summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #23310 from aaronfranke/posmod-intRémi Verschelde2019-07-193-0/+16
|\ \ \ | | | | | | | | Add integer posmod and rename default arg names
| * | | Add integer posmod and rename default arg namesAaron Franke2019-07-183-0/+16
| | | | | | | | | | | | | | | | | | | | "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.
* | | | Merge pull request #22642 from YeldhamDev/inspector_metadataRémi Verschelde2019-07-191-3/+6
|\ \ \ \ | |/ / / |/| | | Expose "meta" to the Inspector
| * | | Expose "meta" to the InspectorMichael Alexsander Silva Dias2018-12-081-3/+6
| | | |
* | | | Merge pull request #30226 from lawnjelly/interpolateRémi Verschelde2019-07-184-0/+9
|\ \ \ \ | |_|_|/ |/| | | Add access to interpolation fraction for fixed timestep interpolation
| * | | Add access to interpolation fraction for fixed timestep interpolationlawnjelly2019-07-114-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #30341 from Toshiwoz/masterRémi Verschelde2019-07-121-4/+0
|\ \ \ \ | | | | | | | | | | when doing Vector3 slerp it is not necessary to have it normalized.
| * | | | when doing Vector3 slerp it is not necessary to have it normalized.Toshiwo2019-07-051-4/+0
| | | | |
* | | | | Merge pull request #30455 from qarmin/const_referenceRémi Verschelde2019-07-106-12/+12
|\ \ \ \ \ | | | | | | | | | | | | Pass by reference to const
| * | | | | Use reference to constant in functionsqarmin2019-07-106-12/+12
| | | | | |
* | | | | | Merge pull request #30188 from Andrettin/Method-Binding-Free-Function-SupportRémi Verschelde2019-07-092-1/+104
|\ \ \ \ \ \ | | | | | | | | | | | | | | Method Binding Free Function Support
| * | | | | | Added support for passing functions pointers (with a class instance as the ↵Andrettin2019-07-092-1/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | first parameter) to method bindings
* | | | | | | Merge pull request #30433 from akien-mga/cryptocore-string-escapeRémi Verschelde2019-07-091-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | SCons: Fix MBEDTLS_CONFIG_FILE string escape
| * | | | | | | SCons: Fix MBEDTLS_CONFIG_FILE string escapeRémi Verschelde2019-07-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #30431, regression from #30277.
* | | | | | | | Add NULL-terminator the string passed to strtol.Fabio Alessandrelli2019-07-081-1/+1
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is actually expected by the function although it was apparently working in GCC without the terminator, it breaks (at least some) clang versions.
* | | | | | | Merge pull request #30422 from Faless/net/tcp_connect_timeoutRémi Verschelde2019-07-083-0/+15
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | Add TCP connect timeout.
| * | | | | | Add TCP connect timeout.Fabio Alessandrelli2019-07-083-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`
* | | | | | | Merge pull request #30392 from hbina/redundant_check_pool_vectorRémi Verschelde2019-07-081-3/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Removed a redundant check in PoolVector
| * | | | | | | Removed a redundant check in PoolVectorhbina0852019-07-071-3/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | The set method of PoolVector<T> performs an indexing check twice.
* | | | | | | Merge pull request #30407 from qarmin/small_fixessRémi Verschelde2019-07-081-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | Fixes minor issues found by static analyzer
| * | | | | | Fixes minor issues found by static analyzerqarmin2019-07-071-1/+1
| | |_|_|_|/ | |/| | | |
* | | | | | Merge pull request #30382 from simonpuchert/geo-optRémi Verschelde2019-07-061-18/+14
|\ \ \ \ \ \ | | | | | | | | | | | | | | Some small optimizations in core/math/geometry.h.
| * | | | | | Optimize get_closest_point_to_segment*.Simon Puchert2019-07-061-18/+14
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* / / / / / Added release function to PoolVector::Access.Ibrahn Sahir2019-07-069-32/+29
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | | | Merge pull request #30282 from neikeq/editor_in_cs_equals_winRémi Verschelde2019-07-052-2/+6
|\ \ \ \ \ | | | | | | | | | | | | Re-write mono module editor code in C#
| * | | | | Fix localize_path not always workingIgnacio Etcheverry2019-07-051-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | Re-write mono module editor code in C#Ignacio Etcheverry2019-07-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | Merge pull request #24086 from RandomShaper/bundle-pck-to-executableRémi Verschelde2019-07-052-9/+17
|\ \ \ \ \ \ | | | | | | | | | | | | | | Enhance game export
| * | | | | | Add embedded PCK option to PC platformsPedro J. Estébanez2019-07-032-9/+17
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | Merge pull request #30296 from neikeq/issue-30127Rémi Verschelde2019-07-051-0/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | Expose ResourceImporter to the scripting API
| * | | | | | Expose ResourceImporter to the scripting APIIgnacio Etcheverry2019-07-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #30127
* | | | | | | Merge pull request #29744 from GodotExplorer/gdscript-completion-iconsRémi Verschelde2019-07-051-0/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Show icons for code completion options
| * | | | | | | Show icons for code completion optionsGeequlim2019-07-051-0/+1
| | |_|/ / / / | |/| | | | |
* | | | | | | Merge pull request #30263 from Faless/ws/wslay_prRémi Verschelde2019-07-049-36/+58
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | Use wslay as a WebSocket library
| * | | | | | WebSocket module now uses wslay library.Fabio Alessandrelli2019-07-041-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | Add TCP Server is_listening methodFabio Alessandrelli2019-07-032-0/+8
| | | | | | |
| * | | | | | Add b64 to string helper in CryptoCoreFabio Alessandrelli2019-07-033-36/+18
| | | | | | |
| * | | | | | Add sha1 functions to string (using new CryptoCore)Fabio Alessandrelli2019-07-033-0/+27
| | | | | | |
* | | | | | | Parse more informations for code completionGeequlim2019-07-041-1/+29
|/ / / / / /
* / / / / / SCons: Use CPPDEFINES instead of CPPFLAGS for pre-processor definesRémi Verschelde2019-07-032-3/+3
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Fix editor crash when StreamPeerSSL is unavilable.Fabio Alessandrelli2019-07-021-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | | | | Merge pull request #30239 from Faless/crypto/crypto_coreRémi Verschelde2019-07-029-90/+326
|\ \ \ \ \ | | | | | | | | | | | | CryptoCore class to access to base crypto utils.
| * | | | | CryptoCore class to access to base crypto utils.Fabio Alessandrelli2019-07-029-90/+326
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Merge pull request #27510 from fire/screenshot_editorRémi Verschelde2019-07-022-0/+30
|\ \ \ \ \ | | | | | | | | | | | | Add editor screenshot on control - f12.
| * | | | | Add editor screenshot on control - f12.K. S. Ernest (iFire) Lee2019-07-012-0/+30
| | | | | |
* | | | | | Merge pull request #30223 from qarmin/properly_delete_threadRémi Verschelde2019-07-021-0/+2
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Remove thread to prevent memory leak
| * | | | | Remove thread to prevent memory leakqarmin2019-07-011-0/+2
| | | | | |
* | | | | | Merge pull request #29980 from Dentrax/directed-by-qarminRémi Verschelde2019-07-011-0/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix some editor crashes
| * | | | | | fix some crashesFurkan Türkal2019-07-011-0/+2
| | | | | | |
* | | | | | | Merge pull request #30126 from qarmin/remove_unnecessary_codeRémi Verschelde2019-07-0127-159/+120
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | Remove unnecessary code and add some error explanations