Commit Graph

2312 Commits

Author SHA1 Message Date
d1877206a1 Temporarily disable warnings=all for the javascript github action. 2022-09-17 00:57:11 +02:00
d6872e8e09 Backported: CI: Remove unnecessary extra cache step for Emscripten
Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
- akien-mga
03940b77a2
Also increase github action versions, and emsdk.
2022-09-17 00:46:21 +02:00
0c1bfd8ea7 Fix inconsistent override warning. 2022-09-17 00:40:05 +02:00
d1a2eaf2e6 Added last backport commit to the changes file. There are a few more random remaining commits, those will be done a bit later. 2022-09-17 00:31:55 +02:00
31491c78bc Add back missing line. 2022-09-17 00:23:56 +02:00
lawnjelly
19dc79114d Prevent drawing MultiMesh with zero instance count
Issuing a driver drawcall for MultiMesh with zero instances crashes some drivers.
2022-09-17 00:22:17 +02:00
lawnjelly
0859d5b60f Portals - Show RayCast debug helper
Switches the raycast helper to global portal_mode, allowing it to show when portals are active.
2022-09-17 00:06:15 +02:00
lawnjelly
d879fe8b1a Portals - clarify docs VisualInstances only
Makes it more clear in the documentation that some debugger features are expected not to show when portals are active.
2022-09-17 00:05:56 +02:00
lawnjelly
dae57cd077 Low priority redraw request for AnimatedSprite
Prevents animated sprite from creating continuous redraws in vital_redraws_only mode.
2022-09-17 00:05:36 +02:00
Rémi Verschelde
e7f63e7022 CI: Downgrade Emscripten to 3.1.18
Emscripten 3.1.19 and 3.1.20 have a showstopping regression that breaks
calling our main function for the editor build.

(cherry picked from commit b353336037af684c2f1455c5e1f4cd649dbc0064)
2022-09-17 00:05:07 +02:00
Micky
d31fc4c13a Prevent HTTPRequest from polling invalid client
(cherry picked from commit 9e284f68ec79be745c2cb3d3a4eead3dfcca7cca)
2022-09-17 00:04:38 +02:00
d39fb5c4ad Fix compile. 2022-09-17 00:03:47 +02:00
Rémi Verschelde
b15f19911e SCons: Fix compilation database generation with MSVC
Fixes #54434.

Co-authored-by: Daniel Moody <daniel.moody@mongodb.com>
(cherry picked from commit 22381d9d074f77f4acb700c4d765e44e3f0727f7)
2022-09-17 00:02:24 +02:00
Micky
06202f66b9 Fix tool script button color overriding custom type color
Also adds a small note on the tooltip noting the custom type.

(cherry picked from commit 65cc721eb94ee67315bacc9caadb0d36ff221b13)
2022-09-17 00:01:33 +02:00
dae3e671fb Ported: Updated gamecontrollerdb.txt to latest to include new mappings for various controllers, including Xbox One, Nintendo Switch, Steam Deck, and 8BitDo
- cybereality
477c7f9b74
2022-09-16 23:59:11 +02:00
volokh0x
c6bcb52e8f Fix typos in Dictionary.xml
(cherry picked from commit ff23defaf82f54136a7fa1ef84b9f0cacb9e2077)
2022-09-16 23:57:02 +02:00
kobewi
7f08c6820f Improve the description of follow_viewport_enabled
(cherry picked from commit 229e76429059b32edd43cd2382723d71a815f296)
2022-09-16 23:56:43 +02:00
001651fb33 Ported: Fix parameter references in Theme documentation - YuriSizov
9496254737
2022-09-16 23:55:40 +02:00
Haoyu Qiu
f5fab30297 Fix parsing of XML CDATA and add test cases 2022-09-16 23:50:19 +02:00
Abhinav Chennubhotla
cbdc659738 Fix code folding icon color not matching defined color
Cherrypick of #58457 in master

Caused by reusing icons from the main editor in the code editor. These
icons were converted based on the main editor theme and not the code
editor theme.

    - Create new icons for use specifically in the code editor
    - Add these icons to the exceptions when converting dark theme icons
    to light theme automatically
    - Change the default value of the code folding color to match previous
    color
    - Code folding icon is now pure white by default to correctly match
    the color defined in settings
2022-09-16 23:38:34 +02:00
lawnjelly
2b70218bd1 Fix uninitialized data reads in Input
Found by Valgrind.
2022-09-16 23:35:56 +02:00
lawnjelly
41cc0cd554 Fix RayCast2DEditor uninitialized value
node was previously read before being set. Found by Valgrind.
2022-09-16 23:35:04 +02:00
lawnjelly
0dc54e449a Fix GLES directional shadow uninitialized data
Valgrind shows directional_shadow.fbo accessed when uninitialized in directional_shadow_create.
2022-09-16 23:33:38 +02:00
lawnjelly
264627d11b FlowContainer fix uninitialized data
This uninitialized data was finding its way into the renderer.
2022-09-16 23:31:58 +02:00
lawnjelly
95dddc0e9e FindBar fix uninitialized results_count
Found by Valgrind.
2022-09-16 23:31:04 +02:00
lawnjelly
a39a25694d Batching - fix uninitialized color read
Valgrind was showing a read from uninitialized memory. r_fill_state.curr_batch->color is unset (for performance reasons), so can contain random data.

This actually doesn't matter in practice, since logically this uninitialized state can only occur when change_batch is set, and the only side effect is that change_batch is set. Hence why no bugs occur in practice.

This PR prevents this read from uninitialized data. It is likely free in terms of performance after optimization, and keeps the Valgrind logs clearer, so why not.
2022-09-16 23:30:31 +02:00
Maxim Kulkin
4237a6501f Add GraphNode 'selected' and 'unselected' signals, simplify GraphEdit
Backport of the fix from master to 3.x
2022-09-16 23:29:52 +02:00
Fredia Huya-Kouadio
58e935b746 Disable logic that triggers automatic focus gain as the Godot Editor is loaded
For the Godot Android Editor, this is an inconvenience as it causes the soft keyboard to show and block half of the view
2022-09-16 23:28:31 +02:00
kobewi
e133069bda Add Dictionary.find_key() 2022-09-16 23:20:06 +02:00
Rémi Verschelde
72f7c01c22 HTML5: Fix warning with Emscripten 3.1.20
And use that version for CI.
2022-09-16 23:18:43 +02:00
Micky
7f3a0cbd0a Modify newlines in Editor Spin Slider tooltip
Makes both key suggestions easier to read.

(cherry picked from commit a2ba189fef5d7e8b0278c8de3802fb925097befa)
2022-09-16 23:16:49 +02:00
Leonardo Santagada
4673ebaf90 Mention an issue with infinite scroll on mirroring of Parallax layer
(cherry picked from commit 74df54a99e3e20d2e3378a7cf5c655a1727bb8c9)
2022-09-16 23:16:13 +02:00
kobewi
b5b6d14d37 Fix Viewport size change not updating textures
(cherry picked from commit 3a4a4aeadec36324da394238cf0f86dbac345e93)
2022-09-16 23:13:40 +02:00
98039d80f6 Fix include. 2022-09-16 23:12:05 +02:00
Rémi Verschelde
67ea3b41f5 SCons: Enforce version 4.0+ when compiledb=yes is used
Fixes #65233.

(cherry picked from commit 6c5e085d1317df8576b78f0f0ca90a2fff364664)
2022-09-16 23:10:16 +02:00
BenniKane
06ddad7cd6 doc: Clarifying NavigationAgent and NavigationAgent2D velocity_computed requires avoidance_enabled to be true to emit
(cherry picked from commit ed5b832a81bb7f67924282d2c3f96b8674ecbb7d)
2022-09-16 23:08:49 +02:00
ad17c39ad4 Fix compile. 2022-09-16 23:06:25 +02:00
Micky
4487e18750 Mark Script button if it's tool in Scene Tree Editor
Also adds a note on the tooltip if the Script is tool.

The color is the same one used on the Script Editor's script list.

(cherry picked from commit ad5ff9f78fe0bab4572085803f224026273fd4aa)
2022-09-16 23:04:00 +02:00
kobewi
c954a6c9d7 Mention that grab_focus is more reliable deferred
(cherry picked from commit 188d5593e1f080181a6e0302b7d54416d2cd96e8)
2022-09-16 23:02:09 +02:00
kobewi
65e1217d59 Allow to change the Stop shortcut used at runtime
(cherry picked from commit 409613ba7ba50e6cc985c61f6dcc482bac68746e)
2022-09-16 22:59:29 +02:00
Micky
9086bef38d Cast between float and ints in SceneTreeTween.tween_property()
(cherry picked from commit 2b18a4002c8e500597bc8f5d605f9be8d1b22236)
2022-09-16 22:55:03 +02:00
Rémi Verschelde
c708c44180 SCons: Refactor LTO options with lto=<none|thin|full>
Adds support for LTO on macOS and Android.
Disable LTO by default on iOS even if `production=yes` is set.

Also add `linker` option to `server` platform missed in #63283.

Refactor code handling old arguments to make it simpler (breaks compat,
but is explicit enough about it and scripts are easy to fix).
2022-09-16 22:54:09 +02:00
Hugo Locurcio
f90d0cb9d0 Improve documentation related to audio input permissions 2022-09-16 22:50:34 +02:00
Marcel Admiraal
226e29cfca Fix Geometry::get_closest_points_between_segments() returns NaN
Also fix Geometry::get_closest_distance_between_segments() returning
incorrect values.
2022-09-16 22:48:50 +02:00
Fredia Huya-Kouadio
cddfcbab2c Fix build failures for Android on Windows
The issue is caused by https://github.com/godotengine/godot/pull/64306 which makes use of a 3.7 feature while the current recommended python version is 3.5 for 3.x and 3.6 for master.

(cherry picked from commit 667f4ed742e0010adb678dff45e004310c4886d4)
2022-09-16 22:47:48 +02:00
Pedro J. Estébanez
ba9d7d66fd Add ability to extend the set of Git pre-commit hooks
(cherry picked from commit 8e2d0e1bb16409ad2e32e6e59432ffafb03c14ee)
2022-09-16 22:47:07 +02:00
Pedro J. Estébanez
866f38a8ae Make Git hooks work on worktrees on Windows
(cherry picked from commit 4bf03afe8b70062cfca3336527294171e538ce25)
2022-09-16 22:46:13 +02:00
Fredia Huya-Kouadio
a6a5b60235 Additional fixes to the Android get_current_dir() implementation. 2022-09-16 22:45:21 +02:00
6a317fbe15 Fix build. 2022-09-16 22:42:11 +02:00
Atlinx
8e7bcc2ee0 Add missing parameters for signal in docs
(cherry picked from commit 0e3097c023fa4562d44fa102bd2ef8e456f8901a)
2022-09-16 22:39:23 +02:00