summaryrefslogtreecommitdiffstats
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* Implement GDExtension export plugin.bruvzg2022-03-161-2/+2
|
* Merge pull request #45263 from KoBeWi/😕Rémi Verschelde2022-03-152-4/+4
|\
| * Change some math macros to constexprkobewi2022-03-092-4/+4
| | | | | | | | Changes `MAX`, `MIN`, `ABS`, `CLAMP` and `SIGN`.
* | Fix determination of SVG canvas sizeHaoyu Qiu2022-03-141-1/+1
| |
* | Improve simulated bold fonts advance.bruvzg2022-03-133-10/+37
| |
* | Merge pull request #58338 from aaronfranke/boolsRémi Verschelde2022-03-122-3/+1
|\ \ | | | | | | Initialize bools in the headers in `editor/`
| * | Initialize bools in the headers in editorAaron Franke2022-03-122-3/+1
| | |
* | | Fix Slerp C# docs and add test cases for vectors in the same directionAaron Franke2022-03-122-4/+6
|/ /
* | Prevent non-smoothed face normals to participate to smoothed face normalsMythTitans2022-03-111-9/+11
| |
* | Use `RTR()` for VisualScriptNode captions and textsHaoyu Qiu2022-03-115-76/+82
| |
* | Merge pull request #59013 from bruvzg/fake_bold_italicsRémi Verschelde2022-03-114-19/+140
|\ \
| * | Add options to embolden and transform font outlines to simulate bold and ↵bruvzg2022-03-114-19/+140
| | | | | | | | | | | | italic typefaces.
* | | Convert uses of `DirAccess *` to `DirAccessRef` to prevent memleaksRémi Verschelde2022-03-111-2/+1
|/ / | | | | | | | | | | | | | | `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>
* | Merge pull request #59001 from ↵Rémi Verschelde2022-03-111-2/+3
|\ \ | | | | | | | | | | | | BastiaanOlij/only_uninitialise_openxr_if_initialised Only uninitialise OpenXR on destruct if it was initialized
| * | Only uninitialise OpenXR on destruct if it was initialisedBastiaan Olij2022-03-111-2/+3
| | |
* | | Fix normals computation at the 'seam' of smoothed torus shapeMythTitans2022-03-111-0/+6
|/ /
* | Merge pull request #58781 from BastiaanOlij/openxr_signals_and_eventsRémi Verschelde2022-03-108-197/+668
|\ \ | | | | | | Adding signals and events to OpenXR interface
| * | Adding signals and events to OpenXR interfaceBastiaan Olij2022-03-108-197/+668
| | | | | | | | | | | | Improving interaction profile logic
* | | Discern between virtual and abstract class bindingsreduz2022-03-1010-15/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | | Merge pull request #58958 from hoontee/masterRémi Verschelde2022-03-101-1/+1
|\ \ \ | | | | | | | | Revert #52647 (Don't update CSG Shape when not inside tree)
| * | | Revert #52647hoontee2022-03-091-1/+1
| |/ /
* / / Remove unused Bullet module and thirdparty codeRémi Verschelde2022-03-0947-11225/+0
|/ / | | | | | | | | | | | | 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.
* | Merge pull request #58929 from reduz/remove-variant-arg-macrosRémi Verschelde2022-03-0915-43/+43
|\ \ | | | | | | Remove VARIANT_ARG* macros
| * | Remove VARIANT_ARG* macrosreduz2022-03-0915-43/+43
| |/ | | | | | | | | | | | | | | * 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.
* / Add SNAME macro optimization missed during rebasehoontee2022-03-091-1/+1
|/
* Merge pull request #58925 from akien-mga/remove-unused-gdnative-codeRémi Verschelde2022-03-0994-19760/+1
|\
| * Remove unused GDNative codeRémi Verschelde2022-03-0994-19760/+1
| | | | | | | | | | | | | | | | | | 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).
* | Merge pull request #40814 from hoontee/masterRémi Verschelde2022-03-092-60/+78
|\ \ | |/ |/|
| * Properly handle CSGShape parent and visibility updates, plus some refactoringhoontee2022-03-082-60/+78
| |
* | Merge pull request #58920 from timothyqiu/autoload-capRémi Verschelde2022-03-091-1/+1
|\ \
| * | Fix Autoload capitalization inconsistencyHaoyu Qiu2022-03-091-1/+1
| |/
* / Fix `VisualShaderNodeCustom` script templateYuri Roubinsky2022-03-091-1/+1
|/
* Rename Control's Rect properties to exclude rect_ partMarcel Admiraal2022-03-082-2/+2
|
* ThorVG: Sync with upstream 0.8.0K. S. Ernest (iFire) Lee2022-03-081-0/+1
|
* Merge pull request #58853 from V-Sekai/default-arg-valuesRémi Verschelde2022-03-071-1/+1
|\
| * Restore building web platform by enclosing resolve_function_signature.K. S. Ernest (iFire) Lee2022-03-071-1/+1
| |
* | Merge pull request #58847 from KoBeWi/editor_settings_messRémi Verschelde2022-03-073-7/+7
|\ \
| * | Remove duplicate editor settings definitionskobewi2022-03-063-7/+7
| | |
* | | Merge pull request #58208 from ↵Rémi Verschelde2022-03-071-0/+7
|\ \ \ | |_|/ |/| | | | | MythTitans/fix-sphere-and-cylinder-shapes-normals-seam
| * | Fix normals computation at the 'seam' of smoothed sphere and cylinder shapesMythTitans2022-02-161-0/+7
| | |
* | | Merge pull request #58832 from reduz/uniform-set-cacheRémi Verschelde2022-03-071-34/+34
|\ \ \ | | | | | | | | Add a UniformSet cache
| * | | Add a UniformSet cachereduz2022-03-061-34/+34
| | |/ | |/| | | | | | | | | | | | | | | | * 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.
* | | Merge pull request #58827 from XPhyro/cs-deconstructRémi Verschelde2022-03-064-0/+38
|\ \ \ | | | | | | | | Implement `Deconstruct` methods for C# vectors
| * | | Implement `Deconstruct` methods for C# vectorsBerke Kocaoğlu2022-03-064-0/+38
| | | | | | | | | | | | | | | | See https://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/functional/deconstruct#user-defined-types
* | | | GDScript: Check if method signature matches the parentGeorge Marques2022-03-0614-9/+141
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Add test cases for accessing parent elements from child classstrank2022-03-042-0/+56
|/ /
* | Merge pull request #58752 from akien-mga/webrtc-fix-put_packet-errorRémi Verschelde2022-03-041-4/+2
|\ \
| * | WebRTC: Fix potential nullptr dereference in error messageRémi Verschelde2022-03-041-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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; | ^~~~~~~~~ ```
* | | Merge pull request #56830 from strank/parent-signalsRémi Verschelde2022-03-041-9/+14
|\ \ \
| * | | Fix "Identifier not found" compiler error when accessing inherited signals ↵strank2022-02-111-9/+14
| | | | | | | | | | | | | | | | or functions as callables.