summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-31Merge pull request #67888 from KoBeWi/overrideadRémi Verschelde
Remove `override_selected_font_color` property
2022-10-31Merge pull request #68003 from timothyqiu/camera-gizmo-selectRémi Verschelde
Make Camera3D gizmo clickable
2022-10-31Merge pull request #66380 from aaronfranke/basis-euler-testRémi Verschelde
Simplify Euler order test code in test_basis.h
2022-10-31Merge pull request #67915 from RevoluPowered/fix-intel-macbook-crash-subgroupsRémi Verschelde
Ensure vulkan subgroups are disabled for MoltenVK
2022-10-31Merge pull request #67445 from Zylann/rename_queue_deleteRémi Verschelde
Rename queue_delete => queue_free
2022-10-31Merge pull request #67805 from TokageItLab/fix-postimport-anim-argRémi Verschelde
Fix passed dictionary to `internal_process()` in importer plugin for animation
2022-10-31Merge pull request #67729 from Riteo/workaround-extension-feature-bugRémi Verschelde
Check for a Vulkan extension before checking its features
2022-10-31Merge pull request #66929 from MladoniSzabi/save_jpeg_fileRémi Verschelde
Fixed Image.save_jpg() does not write any file
2022-10-31Merge pull request #65118 from Mickeon/editor-remote-tree-buttonsRémi Verschelde
Add a few buttons in Remote Scene Tree
2022-10-31Merge pull request #62695 from Spartan322/relax-constant-assertsRémi Verschelde
Allow non-constant string message for assert
2022-10-31Merge pull request #67032 from clayjohn/GLES3-gpu-profilingRémi Verschelde
Add OpenGL timer queries to OpenGL3 backend
2022-10-31Merge pull request #67577 from qarmin/fix_exporting_big_templatesRémi Verschelde
Fix exporting with big export templates
2022-10-31Merge pull request #67534 from KoBeWi/more_OK_in_OKHSLRémi Verschelde
Improve ColorPicker sliders in OKHSL mode
2022-10-31Merge pull request #67581 from aaronfranke/android-floatRémi Verschelde
Use proper types for converting Java float/double arrays in Android code
2022-10-31Merge pull request #67580 from KoBeWi/little_thingsRémi Verschelde
Minor code improvements
2022-10-31Merge pull request #67467 from timothyqiu/who-ami-iRémi Verschelde
Fix get_path() error when calling get_node()
2022-10-31Merge pull request #67496 from Paulb23/text-edit-crashesRémi Verschelde
Fix TextEdit action and CodeEdit completion crash
2022-10-31Merge pull request #67139 from PucklaMotzer09/insert_caret_at_caretsRémi Verschelde
Add Caret Insert Below and Above shortcuts to TextEdit
2022-10-31Merge pull request #66352 from arkology/progressbar_atlastexture_radialRémi Verschelde
Support AtlasTexture in radial modes of TextureProgressBar
2022-10-31Merge pull request #67987 from neikeq/dotnet-more-static-marshalingIgnacio Roldán Etcheverry
C#: Reflection-less delegate callables and nested generic Godot collections
2022-10-30Merge pull request #68050 from Anutrix/int-float-docsMax Hilbrunner
Added missing docs to built-in types float and int
2022-10-30Added missing docs to built-in types float and intAnutrix
2022-10-30Merge pull request #67945 from Mickeon/doc-consistency-inspectorMax Hilbrunner
Doc consistency: tweak "inspector" Vs. "Inspector"
2022-10-30Merge pull request #68039 from Anutrix/docs-fix-signal-syntaxMax Hilbrunner
Fixed signal connection examples to use new callable syntax in the docs
2022-10-30Fixed signal connection examples to use new callable syntax in the docsAnutrix
2022-10-30C#: Add Variant conversion callbacks for generic Godot collectionsIgnacio Roldán Etcheverry
This allows using generic Godot collections as type arguments for other generic Godot collections. This also allows generic Godot collections as parameter or return type in dynamic Callable invocations.
2022-10-30C#: Remove need for reflection to invoking callable delegatesIgnacio Roldán Etcheverry
We aim to make the C# API reflection-free, mainly for concerns about performance, and to be able to target NativeAOT in refletion-free mode, which reduces the binary size. One of the main usages of reflection still left was the dynamic invokation of callable delegates, and for some time I wasn't sure I would find an alternative solution that I'd be happy with. The new solution uses trampoline functions to invoke the delegates: ``` static void Trampoline(object delegateObj, NativeVariantPtrArgs args, out godot_variant ret) { if (args.Count != 1) throw new ArgumentException($"Callable expected 1 arguments but received {args.Count}."); string res = ((Func<int, string>)delegateObj)( VariantConversionCallbacks.GetToManagedCallback<int>()(args[0]) ); ret = VariantConversionCallbacks.GetToVariantCallback<string>()(res); } Callable.CreateWithUnsafeTrampoline((int num) => "Foo" + num, &Trampoline); ``` Of course, this is too much boilerplate for user code. To improve this, the `Callable.From` methods were added. These are overloads that take `Action` and `Func` delegates, which covers the most common use cases: lambdas and method groups: ``` // Lambda Callable.From((int num) => "Foo" + num); // Method group string AppendNum(int num) => "Foo" + num; Callable.From(AppendNum); ``` Unfortunately, due to limitations in the C# language, implicit conversions from delegates to `Callable` are not supported. `Callable.From` does not support custom delegates. These should be uncommon, but the Godot C# API actually uses them for event signals. As such, the bindings generator was updated to generate trampoline functions for event signals. It was also optimized to use `Action` instead of a custom delegate for parameterless signals, which removes the need for the trampoline functions for those signals. The change to reflection-free invokation removes one of the last needs for `ConvertVariantToManagedObjectOfType`. The only remaining usage is from calling script constructors with parameters from the engine (`CreateManagedForGodotObjectScriptInstance`). Once that one is made reflection-free, `ConvertVariantToManagedObjectOfType` can be removed.
2022-10-30Merge pull request #67754 from kleonc/tilemap-fix-collision-shapes-debug-drawMax Hilbrunner
Fix `TileMap` collision shapes debug draw
2022-10-30Merge pull request #67836 from stevecotton/particles_demo_linkMax Hilbrunner
doc: link GPUParticles2D to a more appropriate demo
2022-10-30Merge pull request #67909 from Calinou/doc-enetpacketpeerMax Hilbrunner
Document the ENetPacketPeer class
2022-10-30Merge pull request #67923 from Calinou/doc-displayserverMax Hilbrunner
Document the DisplayServer class
2022-10-29Merge pull request #67980 from DeeJayLSP/webpcaseMax Hilbrunner
Change all WEBP strings and comments to WebP
2022-10-29Make Camera3D gizmo clickableHaoyu Qiu
2022-10-28Merge pull request #67112 from Chaosus/fix_boolean_uniform_instancesYuri Rubinsky
2022-10-28Merge pull request #67849 from kdada/fix-built-in-script-crashClay John
Fix built-in script path of GDScript to prevent crash
2022-10-28Merge pull request #67790 from kdada/fix-flash-windowClay John
Make creating window do not flicker when specify custom position
2022-10-28Merge pull request #67903 from Sauermann/fix-startup-windows-mouse-exit-eventClay John
Fix differences between Windows and linuxbsd Display Server
2022-10-28Change all WEBP strings and comments to WebPDeeJayLSP
2022-10-28Merge pull request #67978 from DeeJayLSP/rename-layered-modesClay John
ResourceImporterLayeredTexture: rename compress modes to match enum
2022-10-28Merge pull request #67956 from RedMser/safe-velocity-typeClay John
Fix type of `safe_velocity` parameter
2022-10-28Merge pull request #67621 from groud/resource_saver_expose_recognize_pathClay John
Expose the logic to recognize a save path in ResourceSaver
2022-10-28ResourceImporterLayeredTexture: rename compress modes to match enumDeeJayLSP
2022-10-28Merge pull request #67974 from Mickeon/spaaaaaaaceYuri Rubinsky
2022-10-28Fix spacing of few PROPERTY_HINT_ENUM hint_stringsMicky
2022-10-28Merge pull request #67914 from Calinou/displayserverx11-no-native-iconMax Hilbrunner
Fix `DisplayServer.has_feature()` claiming X11 has native icon support
2022-10-28Expose the logic to recognize a save path in ResourceSaverGilles Roudière
2022-10-28Fix differences between Windows and linuxbsd Display ServerMarkus Sauermann
Fix that Windows receive WINDOW_EVENT_MOUSE_EXIT on startup. When moving the mouse cursor from one window to a different one, make sure that the first window receives the WINDOW_EVENT_MOUSE_EXIT event before the second window receives the WINDOW_EVENT_MOUSE_ENTER event. Send Mouse-Move events also for Windows, that are currently not focused. For determining the currently hovered window, consider not just the currently focused window, but also other windows. Send mouse move events to focused window instead of hovered window.
2022-10-28Merge pull request #67498 from Chaosus/fix_shader_crashYuri Rubinsky
2022-10-28Merge pull request #67957 from zCubed3/fix_headless_crashMax Hilbrunner
Fix `OS.get_video_adapter_driver_info` crash on headless godot
2022-10-28Merge pull request #67960 from clayjohn/RD-SSILBastiaan Olij
Fix ss_effects_flags uniform in clustered forward renderer