summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-12-05Merge pull request #69578 from dsnopek/android-native-handlesRémi Verschelde
Clean up DisplayServerAndroid::window_get_native_handle() with the GLES3 renderer
2022-12-05Merge pull request #68660 from Calinou/improve-cli-helpRémi Verschelde
Improve command line help to fit on narrower displays
2022-12-05Merge pull request #69584 from bruvzg/fix_tm_tr_4Rémi Verschelde
[TextMesh] Fix autotranslate.
2022-12-05Merge pull request #69357 from TokageItLab/byebye-triggerRémi Verschelde
Remove `UPDATE_TRIGGER` mode from `ValueTrack::UpdateMode` & Match behaviors between `AnimationTree` and `AnimationPlayer`
2022-12-05Merge pull request #69119 from lawnjelly/faster_variant_parser_masterRémi Verschelde
Add readahead to VariantParser [4.x]
2022-12-05Merge pull request #68770 from TokageItLab/add-track-validatorRémi Verschelde
Add track validator to AnimationPlayerEditor to detect tracks which have error
2022-12-05Merge pull request #68995 from bruvzg/sys_font_for_textRémi Verschelde
Use system fonts as fallback.
2022-12-05Merge pull request #67387 from NumbuhFour/cam_vis_layers_shader_varRémi Verschelde
Implement CAMERA_VISIBLE_LAYERS as built-in shader variable
2022-12-05Merge pull request #69561 from AThousandShips/tree_select_fixRémi Verschelde
Fix TreeItem::set_as_cursor check
2022-12-05Merge pull request #69562 from timothyqiu/tileset-editorRémi Verschelde
Fix heap-use-after-free when exiting editor after editing TileSet
2022-12-05Merge pull request #69312 from RumblingTurtle/double-click-editor-fixRémi Verschelde
Editor doubleclick jumping in certain positions fix
2022-12-04[TextMesh] Fix autotranslate.bruvzg
2022-12-04Clean up DisplayServerAndroid::window_get_native_handle() with the GLES3 ↵David Snopek
renderer
2022-12-04Improve command line help to fit on narrower displaysHugo Locurcio
- Update shell completions to reference recently added CLI arguments.
2022-12-04Use system fonts as fallback and improve system font handling.bruvzg
Add support for font weight and stretch selection when using system fonts. Add function to get system fallback font from a font name, style, text, and language code. Implement system font support for Android. Use system fonts as a last resort fallback.
2022-12-04Fix TreeItem::set_as_cursor checkNinni Pipping
2022-12-04Fix heap-use-after-free when exiting editor after editing TileSetHaoyu Qiu
2022-12-03Implement CAMERA_VISIBLE_LAYERS as built-in shader variableNumbuhFour
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-03Script editor: Fix edge case when double-click incorrectly updates caret ↵Eduard Zalyaev
position Fixes #68898.
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-02Remove UPDATE_TRIGGER & Match behaviors between AnimationTree/PlayerSilc Renew
#69357
2022-12-02Merge pull request #69380 from bruvzg/mac_max_wsRémi Verschelde
[macOS] Improve maximized and non-resizable modes handling.