Commit graph

55735 commits

Author SHA1 Message Date
Yuri Sizov
b4a11294e6 Merge pull request #75460 from joao-pedro-braz/add_new_item_stylebox_to_the_tree_control
Add a new "inner_item_margin" Theme constant to the Tree control
2023-07-12 15:08:36 +02:00
Yuri Sizov
f6d568b9e4 Merge pull request #66170 from RedMser/json-fix-invalid-escapes
Disallow invalid escape sequences in `JSON.parse`
2023-07-12 15:08:29 +02:00
kobewi
6a7567e8f7 Change default Save Script shortcut 2023-07-12 14:25:36 +02:00
Yuri Sizov
53d0e6c2d5 Merge pull request #73691 from Chaosus/vs_depth
Add DEPTH to the visual shader output (for spatial mode)
2023-07-12 14:18:41 +02:00
Yuri Sizov
65cc4db0ae Merge pull request #79100 from KoBeWi/[filter,_filter,_filter,_filter,_filter,_filter]
Allow more hint types for uniform arrays
2023-07-12 14:18:34 +02:00
Yuri Sizov
64689c146c Merge pull request #79089 from bruvzg/android_echo
[Android] Set `echo` property for the physical keyboard events.
2023-07-12 14:18:30 +02:00
Yuri Sizov
aa353df8cb
Merge pull request #79306 from KoBeWi/broken_as_intended
Clarify return value of `get_dependencies()`
2023-07-12 13:03:07 +02:00
kobewi
f567af413a Clarify return value of get_dependencies() 2023-07-11 13:28:34 +02:00
Yuri Sizov
23318e8778
Merge pull request #79274 from kleonc/accept-dialog-spacer-visibility
Hide/show `AcceptDialog`'s button spacer on button visibility changed
2023-07-11 13:19:17 +02:00
kleonc
30a9c90785 Hide/show AcceptDialog's button spacer on button visibility changed 2023-07-11 12:18:46 +02:00
Rémi Verschelde
f438fdb752
Merge pull request #79310 from timothyqiu/remap
Clarify `EditorExportPlugin::add_file` only remaps in `_export_file`
2023-07-11 11:31:08 +02:00
Rémi Verschelde
90749251be
Merge pull request #79299 from aaronfranke/pm-ver-popup-up-down
Improve text in popup warning, remove "upgrade or downgrade" text
2023-07-11 11:30:44 +02:00
Rémi Verschelde
5dbbdaf27b
Merge pull request #79284 from akien-mga/fix-linux-os-move_to_trash
Fix Linux `move_to_trash` wrongly reporting files as not found
2023-07-11 11:30:21 +02:00
Rémi Verschelde
659ccb3c5b
Merge pull request #79097 from akien-mga/linux-fix-use_sowrap-no-build
Linux: Fix build with `use_sowrap=no` and various warnings/errors
2023-07-11 11:29:58 +02:00
Rémi Verschelde
6cb1162aa0
Merge pull request #79000 from AThousandShips/owner_error
Improve error message for `Node.set_owner`
2023-07-11 11:29:30 +02:00
Rémi Verschelde
a6e75f3971
Fix Linux move_to_trash wrongly reporting files as not found
We can't rely on the error code from `gio` or `kioclient5`, in my
rudimentary testing they return `1` for both missing files and other
situations like not having a Trash can on the mounted volume.

Fixes #79108.
2023-07-11 09:55:27 +02:00
Rémi Verschelde
d756169881
openxr: Sync with upstream 1.0.28 2023-07-11 09:13:16 +02:00
Daylily-Zeleen
4029a05fae Add missing default value for RichTextLabel method 2023-07-11 11:17:45 +08:00
Haoyu Qiu
df1d354d36 Clarify EditorExportPlugin::add_file only remaps in _export_file 2023-07-11 09:27:21 +08:00
Eoin O'Neill
8de98dbf21 Prevent double input events on gamepad when running through steam input
During GDC and general testing on Steam Deck units, we found that single
gamepads would often register inputs twice under certain circumstances.
This was caused by SteamInput creating a new virtual device, which Godot
registers as a second gamepad. This resulted in two gamepad devices
reporting the same button presses, often leading to buggy input response
on games with no multi-device logic and other-wise could cause intended
Steam rebindings to not work as intended (for example, swapping o and x
on a playstation pad if that feature isn't supported by the game.)

SDL gets around this by taking in a list of devices that are to be
ignored. When valve sees a controller that wants to be rebound via
SteamInput, they push a new VID/PID entry onto the environment
variable `SDL_GAMECONTROLLER_IGNORE_DEVICES` for the original gamepad
so that all game inputs can be read from the virtual gamepad instead.

This leverages the same logic as we are already using SDL gamepad
related HID mappings.
2023-07-10 15:26:33 -07:00
Aaron Franke
95ccbdea4b
Improve text in popup warning, remove "upgrade or downgrade" text 2023-07-10 11:52:48 -05:00
Yuri Sizov
ef155c1aeb
Merge pull request #79078 from KoBeWi/if_you_gaze_into_the_empty_bottom_panel,_the_empty_bottom_panel_gazes_also_into_you
Collapse bottom panel if there is no active tab
2023-07-10 16:30:14 +02:00
kobewi
bdb7e62029 Streamline creating tile atlas sources 2023-07-10 15:36:00 +02:00
Rémi Verschelde
349e44091d
Merge pull request #79118 from aaronfranke/friendly-upgrades
Improve user-friendliness of project version mismatch message
2023-07-10 15:33:15 +02:00
Septian
837df886f3 Fix dragged nodes have icon size 2023-07-10 20:18:18 +07:00
Hendrik Brucker
1bea64a295 [Graph editors] Keep port icons crisp at high zoom levels, remove rim artifacts 2023-07-10 15:09:40 +02:00
Rémi Verschelde
dcd16a5750
Linux: Fix build with use_sowrap=no and various warnings/errors 2023-07-10 14:34:01 +02:00
Rémi Verschelde
b8ed596769
Merge pull request #79277 from akien-mga/godot-4-ever
Change explicit 'Godot 4.0' references to 'Godot 4'
2023-07-10 13:18:32 +02:00
Rémi Verschelde
232611b447
Merge pull request #79264 from OverloadedOrama/3-to-4-camera2d-rotating
Fix `Camera2D.rotating` not being converted and reversed properly
2023-07-10 13:18:00 +02:00
Rémi Verschelde
dbec337532
Merge pull request #79155 from Owl-A/bugfix-57779
Add 3.x compatibility for animation loop mode
2023-07-10 13:17:37 +02:00
Rémi Verschelde
7e36223da0
Merge pull request #79139 from aaronfranke/prop-hint-cl-na-type-str-restr-repl
Fix property hint class name type string restriction and replace mode
2023-07-10 13:17:13 +02:00
Rémi Verschelde
8a06ec979e
Change explicit 'Godot 4.0' references to 'Godot 4'
Fixes #79276.
2023-07-10 13:08:11 +02:00
Chinmay Awale
1686a7a1a2 add 3.x compatibility for animation loop mode 2023-07-10 16:16:19 +05:30
Yuri Sizov
bbb11004e7
Merge pull request #78776 from NiskashY/fix-disabled-slider-highlighting
Fix disabled slider highlighting
2023-07-10 12:32:39 +02:00
Emmanouil Papadeas
256b99ca40 Fix Camera2D.rotating not being converted and reversed properly
Godot 3's Camera2D `rotating = true` and `rotating = false` are supposed to be converted and reversed to `ignore_rotation = false` and `ignore_rotation = true` respectively, but this wasn't the case before this PR, as the project converted was failing to properly read the `true` and `false` strings, thus resulting in `ignore_rotation = true` in all cases.
2023-07-10 12:52:48 +03:00
Rémi Verschelde
7030ac555f
Merge pull request #79270 from clayjohn/particle-trails-error
Unify error condition for particles trail lifetime
2023-07-10 10:38:34 +02:00
Rémi Verschelde
74f14884cd
Merge pull request #79250 from cbscribe/rb_doc_fix
Fix rigid body `contact_monitor` property description
2023-07-10 10:37:20 +02:00
Rémi Verschelde
aa2a4d23d8
Merge pull request #79237 from Rindbee/fix-get_last_modified_time-returns-0-in-PackedScene
Fix `PackedScene::get_last_modified_time()` always returns `0`
2023-07-10 10:36:52 +02:00
clayjohn
78ecdb17f9 Unify error condition for particles trail lifetime 2023-07-10 10:17:27 +02:00
Rémi Verschelde
e4be11b273
Merge pull request #79252 from smix8/parse_perf_warning_4.x
Add performance note for parsing source geometry
2023-07-09 23:54:21 +02:00
Rémi Verschelde
1b8cbfe6e3
Merge pull request #79004 from smix8/fix_closest_navpath_pos_4.x
Fix closest possible navigation path position
2023-07-09 23:53:57 +02:00
Rémi Verschelde
0bf8261f25
Merge pull request #78802 from KamilBrzoskowski/fix-vformat-for-os_windows-file
Fix formatting of dlopen error message on Windows
2023-07-09 23:53:29 +02:00
Kamil Brzoskowski
3cd865dbe8
Fix formatting of dlopen error message on Windows
And harmonize the format for all platforms.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-07-09 23:39:45 +02:00
smix8
976f5338c5 Add performance note for parsing source geometry
Adds performance note for parsing source geometry.
2023-07-09 21:19:22 +02:00
Chris Bradfield
6d85481670 Fix rigid body property description 2023-07-09 11:21:24 -07:00
Rémi Verschelde
85c9db592f
Merge pull request #79223 from sepTN/some-typos-ifound-today
Fix various typos in documentation
2023-07-09 12:24:58 +02:00
Rémi Verschelde
1017077b7f
Merge pull request #79211 from HolonProduction/file-dialog-button-update
Update FileDialog button activity when file_mode is changed.
2023-07-09 12:24:35 +02:00
Rémi Verschelde
1453dc9d5d
Merge pull request #79143 from clayjohn/wayland-menu
Avoid freeze when interacting with menus on Wayland by re-aquiring next swapchain image after updating swapchain
2023-07-09 12:24:07 +02:00
Rindbee
22edef14c3 Fix PackedScene::get_last_modified_time() always returns 0
The variables operated by `PackedScene::set_last_modified_time()`
and `PackedScene::get_last_modified_time()` are different.
2023-07-09 17:01:41 +08:00
Septian
486609eccf Fix various typos in documentation 2023-07-09 04:41:18 +07:00