summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2022-03-14Fix determination of SVG canvas sizeHaoyu Qiu
2022-03-13Improve simulated bold fonts advance.bruvzg
2022-03-12Merge pull request #58338 from aaronfranke/boolsRémi Verschelde
Initialize bools in the headers in `editor/`
2022-03-12Initialize bools in the headers in editorAaron Franke
2022-03-12Fix Slerp C# docs and add test cases for vectors in the same directionAaron Franke
2022-03-11Prevent non-smoothed face normals to participate to smoothed face normalsMythTitans
2022-03-11Use `RTR()` for VisualScriptNode captions and textsHaoyu Qiu
2022-03-11Merge pull request #59013 from bruvzg/fake_bold_italicsRémi Verschelde
2022-03-11Add options to embolden and transform font outlines to simulate bold and ↵bruvzg
italic typefaces.
2022-03-11Convert uses of `DirAccess *` to `DirAccessRef` to prevent memleaksRémi Verschelde
`DirAccess *` needs to be deleted manually, and this is often forgotten especially when doing early returns with `ERR_FAIL_COND`. `DirAccessRef` is deleted automatically when it goes out of scope. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-03-11Merge pull request #59001 from ↵Rémi Verschelde
BastiaanOlij/only_uninitialise_openxr_if_initialised Only uninitialise OpenXR on destruct if it was initialized
2022-03-11Fix normals computation at the 'seam' of smoothed torus shapeMythTitans
2022-03-11Only uninitialise OpenXR on destruct if it was initialisedBastiaan Olij
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