summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2020-02-26Merge pull request #36551 from AndreaCatania/navigation_destruction_flushRémi Verschelde
Flushes commands just before the navigation server is destroyed
2020-02-26Flushes commands just before the navigation server is destroyedAndrea Catania
2020-02-26Merge pull request #36521 from rafaeldelboni/masterRémi Verschelde
Improve LSP completion using scene owner
2020-02-25Improve LSP completion using scene ownerRafael Delboni
Fixes: #36473
2020-02-25Merge pull request #36512 from AndreaCatania/AndreaCatania-patch-2Rémi Verschelde
Fixed remove region method.
2020-02-25Update docs and bindings for new integer vector typesRémi Verschelde
2020-02-25Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT.Juan Linietsky
- Renames PackedIntArray to PackedInt32Array. - Renames PackedFloatArray to PackedFloat32Array. - Adds PackedInt64Array and PackedFloat64Array. - Renames Variant::REAL to Variant::FLOAT for consistency. Packed arrays are for storing large amount of data and creating stuff like meshes, buffers. textures, etc. Forcing them to be 64 is a huge waste of memory. That said, many users requested the ability to have 64 bits packed arrays for their games, so this is just an optional added type. For Variant, the float datatype is always 64 bits, and exposed as `float`. We still have `real_t` which is the datatype that can change from 32 to 64 bits depending on a compile flag (not entirely working right now, but that's the idea). It affects math related datatypes and code only. Neither Variant nor PackedArray make use of real_t, which is only intended for math precision, so the term is removed from there to keep only float.
2020-02-24Fixed remove region method.Andrea Catania
2020-02-24Merge pull request #36488 from Chaosus/capsule_yRémi Verschelde
Changed default capsule axis to vertical
2020-02-23Changed default capsule axis to verticalYuri Roubinsky
Co-authored-by: Hugo Locurcio <https://hugo.pro>
2020-02-23Fix crash after closing a GDScript LSP sessionOliver Frank
2020-02-23Merge pull request #36478 from qarmin/supsicious_operators_everywhereRémi Verschelde
Fix suspicious | and + operators
2020-02-23Fix suspicious | and + operatorsRafał Mikrut
2020-02-23Merge pull request #36461 from akien-mga/c++17-fallthrough-attributeRémi Verschelde
Replace FALLTHROUGH macro by C++17 [[fallthrough]]
2020-02-23Replace FALLTHROUGH macro by C++17 [[fallthrough]]Rémi Verschelde
This attribute is now part of the standard we target so we no longer need compiler-specific hacks. Also enables -Wimplicit-fallthrough for Clang now that we can properly support it. It's already on by default for GCC's -Wextra. Fixes new warnings raised by Clang's -Wimplicit-fallthrough.
2020-02-22Add support for Vector2i, Rect2i and Vector3i to VariantJuan Linietsky
WARNING: Requires C++17 'guaranteed copy elision' to fix ambiguous operator problems in Variant. This was added for this commit (and future C++17 uses) in #36457.
2020-02-22doc: Sync classref with StringName/Callable changesRémi Verschelde
2020-02-21Added StringName as a variant type.Juan Linietsky
Also changed all relevant properties defined manually to StringName.
2020-02-21Huge Debugger/EditorDebugger refactor.Fabio Alessandrelli
2020-02-20Migrating language server from Websockets to raw TCPof9
2020-02-20Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky
objects and made them default.
2020-02-19GDScript: Remove self static reference and create one on callsGeorge Marques
This is needed because of the new changes to Variant. The reference counter is increased by adding it to a Variant, which means no GDScript will be freed (or will be double freed if manually freed somewhere).
2020-02-18Fix compilation warnings and re-enable werror=yes on TravisRémi Verschelde
Fix -Wunused-variable, -Wunused-but-set-variable and -Wswitch warnings raised by GCC 8 and 9. Fix -Wunused-function, -Wunused-private-field and -Wtautological-constant-out-of-range-compare raised by Clang. Fix MSVC 2019 warning C4804 (unsafe use of type 'bool' in comparison operation). GCC -Wcpp warnings/Clang -W#warnings (`#warning`) are no longer raising errors and will thus not abort compilation with `werror=yes`. Treat glslang headers are system headers to avoid raising warnings. Re-enables us to build with `werror=yes` on Linux and macOS, thus catching warnings that would be introduced by new code. Fixes #36132.
2020-02-18Added utility functions to the new NavigationServer:Andrea Catania
- Vector3 get_closest_point_to_segment(const Vector3 &p_from, const Vector3 &p_to, const bool &p_use_collision = false); - Vector3 get_closest_point(const Vector3 &p_point); - Vector3 get_closest_point_normal(const Vector3 &p_point); - Object *get_closest_point_owner(const Vector3 &p_point);
2020-02-18Merge pull request #36296 from Faless/dtls/enet_vulkanRémi Verschelde
DTLS support + optional ENet encryption
2020-02-18doc: Sync classref with current sourceRémi Verschelde
Handle removal of Pool*Array types and other recent changes.
2020-02-18Mono: Fix build after ObjectID and Texture2D changesRémi Verschelde
2020-02-18PoolVector is gone, replaced by VectorJuan Linietsky
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
2020-02-17Add documentation for new DTLS features.Fabio Alessandrelli
2020-02-17NetworkedMultiplayerENet dtls support.Fabio Alessandrelli
2020-02-17New PacketPeerDTLS and DTLSServer classes.Fabio Alessandrelli
Custom instance implementation via the mbedtls module.
2020-02-16Move mbedlts print func to SSLMbedTLSContext.Fabio Alessandrelli
2020-02-15Merge pull request #35862 from Calinou/improve-enet-error-messagesRémi Verschelde
Improve error explanations related to NetworkedMultiplayerENet
2020-02-15Merge pull request #36250 from Faless/ws/fix_js_statusRémi Verschelde
Fix EMWSClient::get_connection_status()
2020-02-15Fix EMWSClient::get_connection_status(), try catchFabio Alessandrelli
2020-02-15Changed logic and optimized ObjectID in ObjectDB and Variant, removed RefPtr.Juan Linietsky
2020-02-15Fixes memory leaks in GdNavigationServer and RasterizerSceneHighEndRDHaoyu Qiu
2020-02-14Fix various GCC compilation warnings after Vulkan mergeRémi Verschelde
Part of #36132.
2020-02-13basis_universal: Update to upstream commit from Jan 4, 2020Rémi Verschelde
BinomialLLC/basis_universal@895ee8ee7e04f22267f8d16d46de04d5a01d63ac.
2020-02-13Merge pull request #36175 from akien-mga/remove-more-deprecated-stuffRémi Verschelde
Remove deprecated methods and code
2020-02-13Merge pull request #36163 from akien-mga/gdnative-godot_int-int64_tRémi Verschelde
GDNative: Make godot_int an int64_t
2020-02-13Remove more deprecated methods and codeRémi Verschelde
2020-02-13Merge pull request #36174 from akien-mga/byebye-openghell-3Rémi Verschelde
Remove obsolete GLES3 backend
2020-02-13Remove obsolete GLES3 backendRémi Verschelde
Due to the port to Vulkan and complete redesign of the rendering backend, the `drivers/gles3` code is no longer usable in this state and is not planned to be ported to the new architecture. The GLES2 backend is kept (while still disabled and non-working) as it will eventually be ported to serve as the low-end renderer for Godot 4.0. Some GLES3 features might be selectively ported to the updated GLES2 backend if there's a need for them, and extensions we can use for that. So long, OpenGL driver bugs!
2020-02-13Remove deprecated sync and slave networking keywordsRémi Verschelde
Those keywords were deprecated for 3.1 in #22087. Also fix token name for `TK_REMOTE`, should be "remote" like the keyword.
2020-02-12Merge pull request #36142 from akien-mga/remove-deprecated-decimalsRémi Verschelde
Remove deprecated decimals builtin
2020-02-12GDNative: Make godot_int an int64_tRémi Verschelde
Redo of the change in cf8c679a23b21d6c6f29cba6a54eaa2eed88bf92 that caused a build issue, with the extra change needed to 'godot_arvr_blit'.
2020-02-12Fix Mono and GDNative builds after changes to ObjectIDRémi Verschelde
Issues caused by cf8c679a23b21d6c6f29cba6a54eaa2eed88bf92. The Mono change is actually a bugfix (used the int instead of ObjectID by mistake). The GDNative change is a temporary revert until a more exhaustive approach is taken to make 'godot_int' 64-bit, is confirmed wanted by GDNative users.
2020-02-12ObjectID converted to a structure, fixes many bugs where used incorrectly as ↵Juan Linietsky
32 bits.
2020-02-12Merge pull request #35522 from AndreaCatania/rpc_opt_2Rémi Verschelde
Optmized data sent during RPC and RSet calls.