summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2022-03-10Merge pull request #58781 from BastiaanOlij/openxr_signals_and_eventsRémi Verschelde
Adding signals and events to OpenXR interface
2022-03-10Discern between virtual and abstract class bindingsreduz
* Previous "virtual" classes (which can't be instantiated) are not corretly named "abstract". * Added a new "virtual" category for classes, they can't be instantiated from the editor, but can be inherited from script and extensions. * Converted a large amount of classes from "abstract" to "virtual" where it makes sense. Most classes that make sense have been converted. Missing: * Physics servers * VideoStream * Script* classes. which will go in a separate PR due to the complexity involved.
2022-03-10Merge pull request #58958 from hoontee/masterRémi Verschelde
Revert #52647 (Don't update CSG Shape when not inside tree)
2022-03-10Adding signals and events to OpenXR interfaceBastiaan Olij
Improving interaction profile logic
2022-03-09Revert #52647hoontee
2022-03-09Remove unused Bullet module and thirdparty codeRémi Verschelde
It has been disabled in `master` since one year (#45852) and our plan is for Bullet, and possibly other thirdparty physics engines, to be implemented via GDExtension so that they can be selected by the users who need them.
2022-03-09Merge pull request #58929 from reduz/remove-variant-arg-macrosRémi Verschelde
Remove VARIANT_ARG* macros
2022-03-09Remove VARIANT_ARG* macrosreduz
* Very old macros from the time Godot was created. * Limited arguments to 5 (then later changed to 8) in many places. * They were replaced by C++11 Variadic Templates. * Renamed methods that take argument pointers to have a "p" suffix. This was used in some places and not in others, so made it standard. * Also added a dereference check for Variant*. Helped catch a couple of bugs.
2022-03-09Add SNAME macro optimization missed during rebasehoontee
2022-03-09Merge pull request #58925 from akien-mga/remove-unused-gdnative-codeRémi Verschelde
2022-03-09Merge pull request #40814 from hoontee/masterRémi Verschelde
2022-03-09Remove unused GDNative codeRémi Verschelde
This has been superseded by GDExtension so this code is no longer useful nor usable. There's still some GDNative-related stuff in platform export code which needs to be adapted for GDExtension (e.g. to include GDExtension libraries in exports).
2022-03-09Merge pull request #58920 from timothyqiu/autoload-capRémi Verschelde
2022-03-09Fix Autoload capitalization inconsistencyHaoyu Qiu
2022-03-09Fix `VisualShaderNodeCustom` script templateYuri Roubinsky
2022-03-08Properly handle CSGShape parent and visibility updates, plus some refactoringhoontee
2022-03-08Rename Control's Rect properties to exclude rect_ partMarcel Admiraal
2022-03-08ThorVG: Sync with upstream 0.8.0K. S. Ernest (iFire) Lee
2022-03-07Merge pull request #58853 from V-Sekai/default-arg-valuesRémi Verschelde
2022-03-07Restore building web platform by enclosing resolve_function_signature.K. S. Ernest (iFire) Lee
2022-03-07Merge pull request #58847 from KoBeWi/editor_settings_messRémi Verschelde
2022-03-07Merge pull request #58208 from ↵Rémi Verschelde
MythTitans/fix-sphere-and-cylinder-shapes-normals-seam
2022-03-07Merge pull request #58832 from reduz/uniform-set-cacheRémi Verschelde
Add a UniformSet cache
2022-03-06Merge pull request #58827 from XPhyro/cs-deconstructRémi Verschelde
Implement `Deconstruct` methods for C# vectors
2022-03-06Remove duplicate editor settings definitionskobewi
2022-03-06GDScript: Check if method signature matches the parentGeorge Marques
To guarantee polymorphism, a method signature must be compatible with the parent. This checks if: 1. Return type is the same. 2. The subclass method takes at least the same amount of parameters. 3. The matching parameters have the same type. 4. If the subclass takes more parameters, all of the extra ones have a default value. 5. If the superclass has default values, so must have the subclass. There's a few test cases to ensure this holds up.
2022-03-06Add a UniformSet cachereduz
* Changed syntax usage for RD::Uniform to create faster with a single RID * Converted render pass setup to use this in clustered renderer to test. This is the first step into creating a proper uniform set cache system to simplify large parts of the codebase.
2022-03-06Implement `Deconstruct` methods for C# vectorsBerke Kocaoğlu
See https://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/functional/deconstruct#user-defined-types
2022-03-04Add test cases for accessing parent elements from child classstrank
2022-03-04Merge pull request #58752 from akien-mga/webrtc-fix-put_packet-errorRémi Verschelde
2022-03-04Merge pull request #56830 from strank/parent-signalsRémi Verschelde
2022-03-04WebRTC: Fix potential nullptr dereference in error messageRémi Verschelde
This was evidently a typo. Didn't get a crash but GCC 12 raised a `-Warray-bounds` warning: ``` In file included from ./core/io/stream_peer.h:34, from ./core/io/packet_peer.h:34, from ./core/multiplayer/multiplayer_peer.h:34, from modules/webrtc/webrtc_multiplayer_peer.h:34, from modules/webrtc/webrtc_multiplayer_peer.cpp:31: In member function 'T* Ref<T>::operator->() [with T = WebRTCMultiplayerPeer::ConnectedPeer]', inlined from 'virtual Error WebRTCMultiplayerPeer::put_packet(const uint8_t*, int)' at modules/webrtc/webrtc_multiplayer_peer.cpp:376:4: ./core/object/ref_counted.h:101:24: error: array subscript 0 is outside array bounds of 'Ref<WebRTCMultiplayerPeer::ConnectedPeer> [0]' [-Werror=array-bounds] 101 | return reference; | ^~~~~~~~~ ```
2022-03-04Merge pull request #58185 from V-Sekai/explicit_variant_assignment_fixRémi Verschelde
2022-03-04Merge pull request #58201 from V-Sekai/debugger_localsRémi Verschelde
2022-03-04Merge pull request #58320 from mphe/fix_object_typed_arraysRémi Verschelde
2022-03-04Merge pull request #58250 from V-Sekai/typed_array_fixRémi Verschelde
2022-03-04Merge pull request #58626 from groud/fix_gdscript_analyser_crashRémi Verschelde
2022-03-04Merge pull request #58673 from Calinou/smooth-trimesh-collision-always-settingRémi Verschelde
2022-03-04Merge pull request #58670 from KoBeWi/internal_debuggerRémi Verschelde
2022-03-03Refactor `bbcode_to_xml` into multiple specific methodsRaul Santos
The specific `_append_xml_*` methods implement the logic that generates the proper XML documentation for the given BBCode tag and target and appends it to the output.
2022-03-03Find inherited members in C# documentation generatorRaul Santos
2022-03-03Add theme_item support to C# documentation generatorRaul Santos
2022-03-03Fix checking for `@GlobalScope` in C# documentation generatorRaul Santos
2022-03-03Check for missing methods/members in C# documentation generatorRaul Santos
- Outputs errors for missing members or methods when generating the C# documentation. - Hardcodes a special case for the `_init` method, in C# we'll reference the constructor. - Ignores properties with slashes (since they are not declared in C# and can't be referenced in the documentation).
2022-03-03Fix references to global constants in C# documentation generatorRaul Santos
Tries to find the referenced constants in the GlobalScope if not found in the target class or if no class is specified.
2022-03-03glTF export for new TYPE_BLEND_SHAPE tracksLyuma
2022-03-03Merge pull request #58262 from Sauermann/fix-range-docMax Hilbrunner
Describe usage of float in range documentation
2022-03-02Always register the Smooth Trimesh Collision project settingHugo Locurcio
This ensures the project setting never disappears from the editor, even if the current physics engine is GodotPhysics. This also adds documentation for the Smooth Trimesh Collision project setting.
2022-03-02Fix debugger not opening built-in scriptskobewi
2022-03-02HarfBuzz: Update to version 4.0.0bruvzg