Commit Graph

52728 Commits

Author SHA1 Message Date
Markus Sauermann 7de1b1a40d [unittests] Send Mouse events via DisplayServer instead of push_input
Currently Unittests simplify mouse-events by just pushing them to Viewports.
For dealing with mouse-screen-coordinates (caused by the introduction of
multiple native Windows) it becomes necessary to extend the
DisplayServer functionality for unittests.

This PR introduces DisplayServerMock based on DisplayServerHeadless,
which additionally supports basic Mouse-Input handling.
2023-01-29 21:29:39 +01:00
MinusKube 2b60d9d6e1 Fix unreachable code warning for elif block 2023-01-29 20:29:23 +01:00
Silc Renew d27005f80e Remove the max input limit & cleanup AnimationNodeTransition API 2023-01-30 03:52:55 +09:00
Raul Santos cc80dda408
C#: Fix `Rotated` and `RotatedLocal`
Implementation was interchanged.
2023-01-29 18:43:54 +01:00
Danil Alexeev 5195f723b9
Improve stroke drawing on 2D collision shapes 2023-01-29 19:07:09 +03:00
Raul Santos 2ef9e2933a
C#: Add `Skew` to `Transform2D` and fix `InterpolateWith`
- Add `Skew` property to `Transform2D`.
- Fix `InterpolateWith` in `Transform2D` to support skewed transforms.
2023-01-29 16:24:41 +01:00
kobewi 46261dbe06 Improve Connection Dialog method list 2023-01-29 15:28:07 +01:00
Hendrik Brucker d44eb95e93 [Noise/NoiseTexture2D] Allow disabling normalization 2023-01-29 14:59:10 +01:00
Rémi Verschelde d01ac9c736
Merge pull request #72287 from aaronfranke/tr2d-interp
Add support for interpolating skewed Transform2Ds
2023-01-29 14:13:02 +01:00
Rémi Verschelde fca400450c
Merge pull request #72291 from clayjohn/GL-item-cap
Remove cap on number of items drawn in frame in 2D gl_compatibility renderer
2023-01-29 14:12:38 +01:00
Rémi Verschelde 10b47d03c8
Merge pull request #71822 from adamscott/fix-resource-duplicate
Fix `Resource::duplicate()` missing packed arrays
2023-01-29 14:12:14 +01:00
Rémi Verschelde 21af5733b8
Merge pull request #72295 from timothyqiu/unicode-highlighter
Allow unicode identifier in GDScript syntax highlighter
2023-01-29 14:11:50 +01:00
Rémi Verschelde 915bdd4b4d
Merge pull request #71896 from poohcom1/fix/autocomplete-substring-filter
Fix autocomplete filter not including substrings
2023-01-29 14:10:53 +01:00
ARez 23827d4303 Add Unit test for InputEventMouse 2023-01-29 14:09:53 +01:00
Haoyu Qiu 5a283bdbcd Allow unicode identifier in GDScript syntax highlighter 2023-01-29 13:17:05 +08:00
clayjohn 0b28c1f8ed Remove cap on number of items drawn in frame in 2D gl_compatibility render
Also clean up some names to make the overall organization more clear

Also remove cap on items per batch
2023-01-28 20:36:17 -08:00
Adam Scott bfffb8f254 Fix `Resource::duplicate()` missing packed arrays 2023-01-28 23:06:44 -05:00
Rémi Verschelde a3dae9e548
Merge pull request #72285 from vnen/gdscript-variable-match
GDScript: Allow variables in match patterns
2023-01-29 02:45:48 +01:00
Rémi Verschelde d866d6cd1b
Merge pull request #72261 from Paulb23/preserve-carets-search
Fixed removing secondary carets when editing with search open
2023-01-29 02:25:11 +01:00
Rémi Verschelde 0d36281dff
Merge pull request #72178 from DarkMessiah/fix_graph_edit_minimap_connection
Fix connections drawing in GraphEdit minimap
2023-01-29 02:24:54 +01:00
Rémi Verschelde 2abaced903
Merge pull request #72269 from Calinou/doc-update-template-feature-tag
Update name of `template` feature tag in the class reference
2023-01-29 02:24:32 +01:00
Rémi Verschelde 9420116f6c
Merge pull request #72286 from vnen/gdscript-native-static-call-crash
GDScript: Avoid calling non-static methods on native classes
2023-01-29 02:23:55 +01:00
Rémi Verschelde 23b622539a
Merge pull request #72258 from TokageItLab/fix-animated-sprite-play
Fix AnimatedSprite play() don't redraw immediately
2023-01-29 02:23:37 +01:00
Rémi Verschelde 23d087354d
Merge pull request #72214 from clayjohn/Skeleton2D-pivot
Automatically transform Skeleton2D calculations so pivots are not needed
2023-01-29 02:23:18 +01:00
Rémi Verschelde 70a7313fbe
Merge pull request #72272 from KoBeWi/regressiuum_mobile
Fix editors potentially being used twice
2023-01-29 02:22:41 +01:00
Rémi Verschelde 4011a0915e
Merge pull request #71844 from vonagam/fix-constant-conversions
GDScript: Fix constant conversions
2023-01-29 02:18:57 +01:00
Rémi Verschelde 0587ac3f5a
Merge pull request #72001 from vonagam/fix-return-conversions
GDScript: Fix implicit conversions for function returns
2023-01-29 02:18:15 +01:00
Aaron Franke 5f3d3722b2
Add support for interpolating skewed transforms 2023-01-28 18:28:42 -06:00
George Marques aee7b7363b
GDScript: Avoid calling non-static methods on native classes 2023-01-28 20:33:01 -03:00
Silc Renew fa198c482e Fix AnimatedSprite play() don't redraw immediately 2023-01-29 08:00:42 +09:00
George Marques c68b2358d5
GDScript: Allow variables in match patterns
To restore an ability available in 3.x and reduce compatibility changes.
2023-01-28 19:53:27 -03:00
Dmitrii Maganov 31e0ae2012 GDScript: Fix constant conversions 2023-01-29 00:01:53 +02:00
Dmitrii Maganov 6194a7e0fa GDScript: Fix implicit conversions for function returns 2023-01-28 23:56:07 +02:00
kobewi 3f17bfad8d Fix editors potentially being used twice 2023-01-28 21:44:20 +01:00
MinusKube 0f512a68dd Fix get_parent_anchorable_rect() not returning the correct size in some cases 2023-01-28 20:09:24 +01:00
Hugo Locurcio 34a35ac6ca
Update name of `template` feature tag in the class reference 2023-01-28 20:04:43 +01:00
Stanislav Labzyuk 068f4d88f6 Fix connections drawing in GraphEdit minimap 2023-01-28 18:55:14 +01:00
Paulb23 8cb05a5e53 Fixed removing secondary carets when editing with search open 2023-01-28 16:08:10 +00:00
Paulb23 a197d6ef4e Support editing JSON in ScriptEditor 2023-01-28 16:06:13 +00:00
Rémi Verschelde 218bef90af
GDScript: Fix test from #69163 after annotations change 2023-01-28 17:01:19 +01:00
Rémi Verschelde 3a25148b9b
Merge pull request #72228 from DarkKilauea/nav-agent-callable
Use Callable for Navigation Agent callbacks
2023-01-28 15:58:49 +01:00
Rémi Verschelde e5752fdfd3
Merge pull request #72233 from TokageItLab/audio-blending
Implement blending audio feature to AnimationTree
2023-01-28 15:58:24 +01:00
Rémi Verschelde 6a252c19cc
Merge pull request #72238 from timothyqiu/window-size-3to4
Add window size settings in 3to4 conversion
2023-01-28 15:58:00 +01:00
Rémi Verschelde dbf4b258d8
Merge pull request #72243 from paulloz/oopsie-poopsie-error-tooltips
Restore missing info in the error tooltips
2023-01-28 15:57:37 +01:00
Rémi Verschelde d0afb62742
Merge pull request #72220 from m4gr3d/move_xr_metadata_to_loaders_main
Update the XR manifest configs
2023-01-28 15:55:26 +01:00
Rémi Verschelde 04f7374775
Merge pull request #72157 from Kabiirk/GPUParticles2D-collision-UI-Fix
Fixing Inspector Property UI for GPUParticle2D collision_base_size [w.r.t Issue#71942]
2023-01-28 15:54:29 +01:00
Rémi Verschelde 80f59aa3d9
Merge pull request #72205 from raulsntos/dotnet/proxy-class
Fix lookup of C# types by their engine name
2023-01-28 15:41:28 +01:00
Rémi Verschelde 092bbfc2ea
Merge pull request #71992 from raulsntos/dotnet/rect-alt
C#: Remove `GetArea` and `GetVolume` methods
2023-01-28 15:41:04 +01:00
Rémi Verschelde cc6e8379d4
Merge pull request #69163 from vonagam/variant-safe-lines
GDScript: Fix wrong marking of some lines related to Variant as unsafe
2023-01-28 15:40:19 +01:00
Paul Joannon 0fb1cef42f
Restore missing info in the error tooltips 2023-01-28 12:34:12 +01:00