summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-31Merge pull request #67560 from timothyqiu/mp-defaultRémi Verschelde
Fix `SceneTreeEditor::_update_tree()` binding
2022-10-31Merge pull request #67786 from EricEzaM/67743-script-editor-shortcutsRémi Verschelde
Set the shortcut context for the edit/search/goto menus to the ScriptEditor so that shortcuts continue to work when FindReplaceBar is focused.
2022-10-31Merge pull request #67907 from clayjohn/RD-model-matrixRémi Verschelde
Correctly rename to read_model_matrix when using shader builtins that rely on model matrix
2022-10-31Merge pull request #54309 from ibrahn/alsa-midi-fixRémi Verschelde
Fix MIDI input with ALSA
2022-10-31Merge pull request #67046 from Cykyrios/fix-invalid-tooltip-positionRémi Verschelde
Fix invalid tooltip position
2022-10-31Merge pull request #68064 from ↵Rémi Verschelde
kleonc/sprite-frames-editor-fix-frame-index-calculation `SpriteFramesEditor` Fix calculating frame index from mouse position
2022-10-31Merge pull request #64659 from Streq/patch-1Rémi Verschelde
add polygons property description in Polygon2D
2022-10-31Merge pull request #68065 from zCubed3/fix_min_max_crashRémi Verschelde
`GDScriptAnalyzer` Fix math utilities crashing when invalid args are passed
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-30clarify [member polygons] functionality in the Polygon2D class documentationstreq
2022-10-30Fix math utility functions crashing when invalid args passedzCubed3
2022-10-30`SpriteFramesEditor` Fix calculating frame index from mouse positionkleonc
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