summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-12-04Fix dependency reload triggered too earlykobewi
2022-12-03Merge pull request #69390 from Sauermann/fix-mouse-event-positionRémi Verschelde
Fix incorrect mouse event position while hovering different window
2022-12-03Merge pull request #69449 from Riteo/x11-dynwrapperRémi Verschelde
Load X11 dynamically
2022-12-03Merge pull request #62675 from Jummit/tolerant_lookupRémi Verschelde
Allow drag-clicking before symbol lookup
2022-12-03Load X11 dynamicallyRiteo
The loaders have been generated through hpvb's dynload-wrapper, although they had to be heavily handpatched to workaround some already reported issues with it. I added a note to each generated file to account for that. As GLAD uses X11 stuff directly, I had to define the GLAD_GLX_NO_X11 macro to not let do it that, and handle myself the display loading and screen handling part myself, which wasn't that hard but it's still something worth saying. I plan to improve greatly the X11 backend (including this aspect) but, as the release isn't that far and I'm also working on the Wayland backend, this will do for now, I hope.
2022-12-03Merge pull request #69522 from clayjohn/IBL-black-metalRémi Verschelde
Allow black metallic materials to reflect IBL
2022-12-03Merge pull request #69514 from clayjohn/IBL-roughnessRémi Verschelde
Properly remap roughness when reading from radiance map
2022-12-03Merge pull request #64312 from KoBeWi/StringNameEditRémi Verschelde
Improve usage of StringNames in GraphEdit
2022-12-03Merge pull request #69520 from adamscott/fix-missing-parent-class-identifierRémi Verschelde
Fix missing parent class name identifier crash
2022-12-03Merge pull request #69523 from m4gr3d/fix_navigation_control_default_mainRémi Verschelde
Enable the navigation controls for touchscreen by default
2022-12-03Merge pull request #69239 from xiongyaohua/fix_69220Rémi Verschelde
Fix `Curve3D::get_closest_point()` broken
2022-12-03Merge pull request #67751 from ↵Rémi Verschelde
touilleMan/gdextension-fix-gdnative-types-const-qualifier Fix const qualifier for parameters in GDExtension api functions
2022-12-03Fix Curve3D::get_closest_point() brokenYaohua Xiong
The problem is caused by calling adaptive tessellation baking function by mistake, which produce too few points for straight lines. Calling the even length tessellation fix the problem. The code for `get_closest_point()` and `get_closest_offset()` are also updated. They used to assume bake interval to be exact, which is no longer true. The out dated document for `get_closest_point()` is also updated.
2022-12-02Enable the navigation controls for touchscreen by defaultFredia Huya-Kouadio
2022-12-02Allow black metallic materials to reflect IBLclayjohn
2022-12-02Merge pull request #69515 from Error-In-Code/basematerial3d-doc-cleanupClay John
BaseMaterial3D Docs: Fix wrong descriptions on roughness and refraction texture channels
2022-12-02Fix missing parent class name identifier crashAdam Scott
2022-12-02Make Roughness and Refraction not mention AO[Error:27]
Removes the mentions of ambient occlusion in the descriptions and replaces them with the appropriate texture channel.
2022-12-02Properly remap roughness when reading from radiance mapclayjohn
This ensures that we consistently use perceptual roughness which matches the behaviour of most other PBR renderers like Blender, Ue4 and Godot 3
2022-12-02Fix const qualifier for parameters in GDExtension api functionsEmmanuel Leblond
2022-12-02Improve usage of StringNames in GraphEditkobewi
2022-12-02Merge pull request #69498 from raulsntos/dotnet/float64Ignacio Roldán Etcheverry
C#: Always convert float Variants to System.Double
2022-12-02C#: Always convert float Variants to System.DoubleRaul Santos
Godot floats are always 64-bit. The real_t feature only affects vectors, not scalars.
2022-12-02Merge pull request #69391 from NeilKleistGao/slnRémi Verschelde
Fix C# Solution Directory Project Settings
2022-12-02Merge pull request #69428 from neikeq/noRémi Verschelde
C#: Cleanup of Marshaling methods
2022-12-02Merge pull request #69484 from akien-mga/scons-gcc-clang-strip-non-debugRémi Verschelde
SCons: Strip symbol table for builds with `debug_symbols=no`
2022-12-02Fix C# solution directory settingsNeilKleistGao
Co-authored-by: Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com>
2022-12-02C#: Cleanup Variant marshaling code in source/bindings generatorsIgnacio Roldán Etcheverry
This change aims to reduce the number of places that need to be changed when adding or editing a Godot type to the bindings. Since the addition of `Variant.From<T>/As<T>` and `VariantUtils.CreateFrom<T>/ConvertTo<T>`, we can now replace a lot of the previous code in the bindings generator and the source generators that specify these conversions for each type manually. The only exceptions are the generic Godot collections (`Array<T>` and `Dictionary<TKey, TValue>`) which still use the old version, as that one cannot be matched by our new conversion methods (limitation in the language with generics, forcing us to use delegate pointers). The cleanup applies to: - Bindings generator: - `TypeInterface.cs_variant_to_managed` - `TypeInterface.cs_managed_to_variant` - Source generators: - `MarshalUtils.AppendNativeVariantToManagedExpr` - `MarshalUtils.AppendManagedToNativeVariantExpr` - `MarshalUtils.AppendVariantToManagedExpr` - `MarshalUtils.AppendManagedToVariantExpr`
2022-12-02C#: Replace most conversions between Variant and System.ObjectIgnacio Roldán Etcheverry
This commit replaces most usages of `ConvertManagedObjectToVariant` and `ConvertVariantToManagedObjectOfType`, by using the `Godot.Variant` struct instead of `System.Object`. The most notable change is to the `GetGodotPropertyDefaultValues` method that's generated for scripts. The dictionary it returns now stores `Godot.Variant` values. Remaining usages are: - The `DelegateUtils` class, for the serialization of closure display classes during assembly reloading by the editor. These display classes are compiler generated classes to store values captured by a closure. Since it's generated by the compiler, the only way we have to access the fields is through reflection. This leads to using `System.Object`. - Converting parameters when invoking constructors from the engine. This will be replaced with source generators in the future. - Legacy support for old `GetGodotPropertyDefaultValues` return values. We need to keep supporting the old version of this generated method for some time. Otherwise, if loading a project built with the previous version, it could lead to the loss of exported property values. Ideally, we should remove this legacy support before a stable release.
2022-12-02SCons: Strip symbol table for builds with `debug_symbols=no`Rémi Verschelde
This is equivalent to calling `strip` on the resulting binary, which is what we do for official builds. This applies for GCC/Clang. For MSVC `/DEBUG:NONE` should already be the default.
2022-12-02Merge pull request #69380 from bruvzg/mac_max_wsRémi Verschelde
[macOS] Improve maximized and non-resizable modes handling.
2022-12-02Merge pull request #69483 from akien-mga/openxr-3d-onlyRémi Verschelde
SCons: Disable openxr module with disable_3d=yes
2022-12-02Merge pull request #68870 from dsnopek/master-webxr-inputRémi Verschelde
Get WebXR fully working in Godot 4!
2022-12-02Merge pull request #61958 from jtnicholl/animation_connectionsRémi Verschelde
Add `animation_changed` signal to `AnimationLibrary`, have `AnimationPlayer` connect to it instead of `Animation`'s `changed`
2022-12-02Merge pull request #69336 from TokageItLab/get-anim-keys-more-exactlyRémi Verschelde
Refactor process of animation to retrive keys more exactly
2022-12-02Merge pull request #69475 from bruvzg/rtl_fx_idxRémi Verschelde
[RichTextEffect] Restore missing `relative_index` property.
2022-12-02Merge pull request #69474 from TokageItLab/fix-animation-cache-signalRémi Verschelde
Fix animation signal `caches_cleared` firing timing
2022-12-02Merge pull request #69448 from BastiaanOlij/fix_etc_rgba_bgra_issueRémi Verschelde
ETCPAK expects BGRA data for ETC
2022-12-02SCons: Disable openxr module with disable_3d=yesRémi Verschelde
Fixes #69470.
2022-12-02[RichTextEffect] Restore missing `relative_index` property.bruvzg
2022-12-02Fix animation signal caches_cleared firing timingSilc Renew
2022-12-01Get WebXR fully working in Godot 4!David Snopek
2022-12-02C#: Remove `ConvertVariantToManagedObject`Ignacio Roldán Etcheverry
Its two usages were: - The Array `ICollection.CopyTo` implementation. It's possible that this class shouldn't be implementing the non-generic `ICollection`, but this commit doesn't change that. The new implementation stores the elements as boxed `Variant` values. - The `Variant.Obj` property. I'm not sure if this property's existence is justified, but for now I rewrote it as a simpler version of `ConvertVariantToManagedObject`.
2022-12-02Merge pull request #67023 from raulsntos/dotnet/fix-signal-callback-generationIgnacio Roldán Etcheverry
C#: Fix signature of generated signal callbacks
2022-12-02Merge pull request #69166 from souplamp/icon-annotation-not-workingYuri Sizov
Update docs to clarify `@icon` only works with global script classes
2022-12-01Merge pull request #69430 from Rindbee/fix-clip-contentsRémi Verschelde
Fix child nodes still being drawn when the visible area of a control with `clip_contents` enabled is `0`
2022-12-01Merge pull request #69344 from DeeJayLSP/update_thorvgRémi Verschelde
Update thorvg to 0.8.3
2022-12-01Merge pull request #69325 from clayjohn/GLES3-skeletonsRémi Verschelde
Add Skeletons and Blend Shapes to the OpenGL renderer
2022-12-01Update docs to mention `@icon` only works with global script classessouplamp
Update the docs to clarify that the `@icon` annotation does not work when only attaching a script to a node, and clarify that the script itself must be a globally accessible script type.
2022-12-01Merge pull request #69364 from m4gr3d/add_navigation_controls_mainRémi Verschelde
Add navigation control to the node3d editor viewport