Commit Graph

67772 Commits

Author SHA1 Message Date
Riteo 5ef07b9ce9 Wayland: Use suspended event only if supported
In a previous PR I made an oversight and checked for the new `suspended`
event even on legacy compositors, breaking suspension for them.

This patch goes trough the trouble of checking for the xdg_toplevel
version and seeing whether we have to use one method or the other.
2024-09-26 10:07:53 +02:00
Rémi Verschelde f7c567e2f5
Merge pull request #97447 from dsnopek/x11-focus-bugs-take-twenty-seven-million-and-seven
Fix renaming nodes on X11
2024-09-25 19:34:11 +02:00
David Snopek 36293a2dbf Fix renaming nodes on X11 2024-09-25 09:05:51 -05:00
Rémi Verschelde 0a9d8f04c1
Merge pull request #97410 from KoBeWi/it's_redover
Discard additional redo on commiting actions
2024-09-25 12:39:32 +02:00
Rémi Verschelde ca1a390050
Merge pull request #97398 from timothyqiu/color-picker-etr
Add missing `ETR` macros in `ColorPicker`
2024-09-25 12:39:29 +02:00
Rémi Verschelde 5d5cdc02c5
Merge pull request #97392 from BastiaanOlij/xr_cleanup_action_map_dialogs
Cleanup of action map dialogs
2024-09-25 12:39:25 +02:00
Rémi Verschelde 4c5e879cc5
Merge pull request #97380 from TheSofox/handle_modes_default_fix
Ensure `handle_modes` is given default values rather than flagging error if undefined
2024-09-25 12:39:22 +02:00
Rémi Verschelde 65c94ec873
Merge pull request #97290 from fire/fix-animation-compression
Fix animation compression going the wrong way
2024-09-25 12:39:18 +02:00
Rémi Verschelde 95e7e653f2
Merge pull request #97101 from aryan-11825114/fix-network-profiler-not-disabling-buttons
Fix Network Profiler not disabling buttons
2024-09-25 12:39:14 +02:00
Rémi Verschelde 73bf121ceb
Merge pull request #93786 from alvinhochun/viewport-pixel-snap-fix
Apply "snap 2D transforms to pixel" to viewport
2024-09-25 12:39:10 +02:00
Rémi Verschelde 70fede82c5
Merge pull request #93324 from tracefree/reinhard-fix
Fix incorrect Reinhard tonemap operator
2024-09-25 12:39:06 +02:00
Rémi Verschelde 26340e0b91
Merge pull request #53666 from pkowal1982/camera
Add Linux camera support
2024-09-25 12:39:03 +02:00
Rie 5efa6ba489
Fix incorrect Reinhard tonemap operator 2024-09-25 12:34:23 +02:00
Paweł b88585abfc Add linux camera support 2024-09-25 12:08:06 +02:00
Haoyu Qiu 2e57089135 Add missing ETR macros in ColorPicker 2024-09-25 10:36:07 +08:00
kobewi 7aef30c2a8 Discard additional redo on commiting actions 2024-09-24 15:47:55 +02:00
Rémi Verschelde c3e16cda00
Merge pull request #97379 from clayjohn/webgl-errors
Clean up two recently introduced WebGL errors
2024-09-24 12:57:21 +02:00
Rémi Verschelde 9355845d29
Merge pull request #97367 from AdriaandeJongh/clarify-canvasitem-visibility-followup
Clarify CanvasItem's visibility signal descriptions (followup)
2024-09-24 12:57:16 +02:00
Rémi Verschelde 63d16a9bc3
Merge pull request #97357 from Manik2607/master
Refactor signal documentation to improve clarity.
2024-09-24 12:57:12 +02:00
Rémi Verschelde 6c1bbb3143
Merge pull request #97275 from timothyqiu/how-many
Better undo action names for localization editor
2024-09-24 12:57:08 +02:00
Rémi Verschelde fc960cdf80
Merge pull request #97013 from Hilderin/fix-load-errors-popup-empty
Fix empty load errors popup
2024-09-24 12:57:04 +02:00
Rémi Verschelde 39115be8eb
Merge pull request #95261 from rburing/2d_physics_module
Move Godot Physics 2D into a module; add dummy 2D physics server
2024-09-24 12:56:59 +02:00
Rémi Verschelde 6bea41d68f
Merge pull request #88363 from Delsin-Yu/master
C#: Implement proper generic type name printing for Godot Editor
2024-09-24 12:56:52 +02:00
Adriaan de Jongh 9b474e3a8e doc: clarify CanvasItem's visibility signal descriptions 2024-09-24 08:31:51 +02:00
Sofox 633df0b29c Handle handle_modes being undefined by giving default values rather than flagging error 2024-09-23 20:22:26 +01:00
clayjohn 0305e437ff Clean up two recently introduced WebGL errors 2024-09-23 12:18:33 -07:00
manik2607 011954fea3 Refactor signal documentation to improve clarity 2024-09-23 22:58:06 +05:30
Ricardo Buring 7c4c4b9987 Move Godot Physics 2D into a module; add dummy 2D physics server
If the module is enabled (default), 2D physics works as it did before.

If the module is disabled and no other 2D physics server is registered
(via a module or GDExtension), then we fall back to a dummy
implementation which effectively disables 2D physics functionality (and
a warning is printed).

The dummy 2D physics server can also be selected explicitly, in which
case no warning is printed.
2024-09-23 17:33:45 +02:00
Rémi Verschelde 4254946de9
Merge pull request #97323 from timothyqiu/drop-unicode-identifier
Fix script editor wrongly replaces and quotes non-ASCII letters
2024-09-23 16:14:08 +02:00
Rémi Verschelde 2017006879
Merge pull request #97314 from tetrapod00/visual-shader-remap
Visual Shader: Add vector operations to Remap node
2024-09-23 16:14:04 +02:00
Rémi Verschelde 2c1b8dda74
Merge pull request #97284 from timothyqiu/optimized-translation-gen
Document that `OptimizedTranslation.generate()` only works in editor
2024-09-23 16:14:00 +02:00
Rémi Verschelde c47eb5c301
Merge pull request #97282 from timothyqiu/force-advanced-settings-when-searching
Keep advanced toggle on when searching for settings
2024-09-23 16:13:56 +02:00
Rémi Verschelde f97defb375
Merge pull request #97223 from AdriaandeJongh/clarify-canvasitem-visility-changed
Docs: Clarify `CanvasItem` visibility properties and signals
2024-09-23 16:13:53 +02:00
Rémi Verschelde ea8d20d35b
Merge pull request #96955 from Delsin-Yu/generator-based-CreateManagedForGodotObjectBinding
[.NET] Replace Reflection-Based implementation with Generated one in `CreateManagedForGodotObjectBinding`
2024-09-23 16:13:49 +02:00
Rémi Verschelde 8c273eb14c
Merge pull request #90955 from AThousandShips/print_to_stdout
[Core] Add `Engine.print_to_stdout` setting to control printing
2024-09-23 16:13:41 +02:00
Mark DiBarry 3f9bb59606 Prevent jitter in Parallax2D 2024-09-23 20:36:38 +08:00
Alvin Wong 1bd66af54c Apply snap 2D transforms to pixel to viewport
We shall not leave the viewport transform to be rounded by the code for
rounding canvas items. Since the viewport transform is inverse to the
camera transform, we get incorrect rounding at the halfway point that
misaligns the viewport and the canvas item which the camera is
following.

Instead, reintroduce viewport rounding, but do it in a way that matches
the rounding of canvas items. Also take into account the half-pixel
offset of the centre point when viewport dimension is not divisible by
two.  For `CanvasLayer`s that follows viewport, take into account the
scale when rounding. Overall this should work better compared to the
rounding in Godot 4.2 (and earlier).
2024-09-23 20:34:11 +08:00
Rémi Verschelde d5aadc38b4
Merge pull request #97337 from Ivorforce/patch-1
In make_rst.py, include the parent class in 'Inherits:' even if it is not known.
2024-09-23 12:34:19 +02:00
Rémi Verschelde e3aa152509
Merge pull request #97319 from Giganzo/groups-add-button-style
Fix Add button style in GroupsEditor
2024-09-23 12:28:21 +02:00
Rémi Verschelde b9b793237c
Merge pull request #97315 from lawnjelly/fix_character_platform
Fix physics platform behaviour regression
2024-09-23 12:28:17 +02:00
Rémi Verschelde 9c9e704a2b
Merge pull request #97286 from Rynzier/master
Clarify PCK path argument in `PCKPacker.pck_start`
2024-09-23 12:28:14 +02:00
Rémi Verschelde ec4bd1e062
Merge pull request #97274 from Giganzo/button-pressed-doc
Clarify docs for when toggling `button_pressed` emits `toggled`
2024-09-23 12:28:10 +02:00
Rémi Verschelde b030638863
Merge pull request #97252 from dsnopek/gdext-android-surface-swapchain
OpenXR: Allow extending Android surface swapchain creation from GDExtension
2024-09-23 12:28:07 +02:00
Rémi Verschelde 833be1f00d
Merge pull request #97139 from akien-mga/miniupnpc-2.2.8
miniupnpc: Update to 2.2.8 (new major 18)
2024-09-23 12:28:03 +02:00
Rémi Verschelde 648b21b9ba
Merge pull request #96813 from Repiteo/scons/fix-clang-cl-flags
SCons: Fix `clang-cl` link/ar flags
2024-09-23 12:27:59 +02:00
Rémi Verschelde dd71bc2d3b
Merge pull request #95252 from rburing/3d_physics_module
Move Godot Physics 3D into a module; add dummy 3D physics server
2024-09-23 12:27:55 +02:00
Rémi Verschelde 1b19ecb360
Merge pull request #95166 from aaronp64/variant_op_err_return
Assign return value on `Variant` operator failure
2024-09-23 12:27:51 +02:00
Rémi Verschelde c65ab71230
Merge pull request #94953 from raulsntos/dotnet/signals-with-typed-arrays
C#: Generate signal delegates with typed arrays
2024-09-23 12:27:45 +02:00
Rémi Verschelde 510bc3dc6a
Merge pull request #90969 from Naros/expose-resource-and-saver-methods
Expose several resource/resource-saver functions
2024-09-23 12:27:40 +02:00
Rémi Verschelde 720c236fc0
Merge pull request #90743 from timothyqiu/empty-selection-clipboard
Add TextEdit option to prevent copying without a selection
2024-09-23 12:27:35 +02:00