Commit Graph

34367 Commits

Author SHA1 Message Date
Rémi Verschelde
f6d3a78921 Merge pull request #65684 from lawnjelly/portals_debug_helper_doc
Portals - clarify docs VisualInstances only
2022-09-12 11:34:15 +02:00
Rémi Verschelde
5ff2c773aa Merge pull request #65663 from lawnjelly/vital_updates_animated_sprite
Low priority redraw request for AnimatedSprite
2022-09-12 11:33:14 +02:00
lawnjelly
09befec1ed Portals - Show RayCast debug helper
Switches the raycast helper to global portal_mode, allowing it to show when portals are active.
2022-09-12 06:46:48 +01:00
lawnjelly
dcf52103a6 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-12 06:29:55 +01:00
lawnjelly
54a939a029 Low priority redraw request for AnimatedSprite
Prevents animated sprite from creating continuous redraws in vital_redraws_only mode.
2022-09-11 19:09:07 +01:00
Rémi Verschelde
13d99d1676
Merge pull request #65568 from YuriSizov/docs-theme-no-param-woes-3.x 2022-09-09 16:11:21 +02:00
Rémi Verschelde
46104d4886 i18n: Sync classref translations with Weblate (3.5 branch)
(cherry picked from commit 26a28d6bbd)
2022-09-09 14:51:33 +02:00
Rémi Verschelde
74097dc3ab i18n: Sync editor translations with Weblate (3.5 branch)
(cherry picked from commit 367ffd10c8)
2022-09-09 14:51:14 +02:00
Rémi Verschelde
2aee09c6bc
Merge pull request #65428 from lawnjelly/input_uninit 2022-09-09 14:28:06 +02:00
Rémi Verschelde
d52a25fdec 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 b353336037)
2022-09-09 14:25:26 +02:00
Micky
93943bc1b9 Prevent HTTPRequest from polling invalid client
(cherry picked from commit 9e284f68ec)
2022-09-09 14:17:24 +02:00
Rémi Verschelde
7957dc7755 SCons: Fix compilation database generation with MSVC
Fixes #54434.

Co-authored-by: Daniel Moody <daniel.moody@mongodb.com>
(cherry picked from commit 22381d9d07)
2022-09-09 14:15:39 +02:00
Micky
b21a3418f4 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 65cc721eb9)
2022-09-09 14:13:49 +02:00
Andres Hernandez
477c7f9b74 Updated gamecontrollerdb.txt to latest to include new mappings for various controllers, including Xbox One, Nintendo Switch, Steam Deck, and 8BitDo
(cherry picked from commit 9054399900)
2022-09-09 14:11:50 +02:00
volokh0x
36bda802e5 Fix typos in Dictionary.xml
(cherry picked from commit ff23defaf8)
2022-09-09 14:11:35 +02:00
kobewi
884f368c24 Improve the description of follow_viewport_enabled
(cherry picked from commit 229e764290)
2022-09-09 14:10:33 +02:00
Yuri Sizov
9496254737 Fix parameter references in Theme documentation 2022-09-09 14:52:24 +03:00
Rémi Verschelde
58d04399d4
Merge pull request #65556 from timothyqiu/xml-parser-fixes-3.x
[3.x] Fix parsing of XML CDATA and add test cases
2022-09-09 07:53:08 +02:00
Haoyu Qiu
7ed2b09bc0 Fix parsing of XML CDATA and add test cases 2022-09-09 10:16:36 +08:00
Rémi Verschelde
5e3f403ddb
Merge pull request #65500 from migeran/fix-utf8-checks-3x 2022-09-08 13:30:33 +02:00
Rémi Verschelde
953dea1227
Merge pull request #63309 from akien-mga/3.x-scons-refactor-lto 2022-09-08 11:24:54 +02:00
Rémi Verschelde
05e7275fce
Merge pull request #65365 from akien-mga/3.x-html5-emsdk-3.1.20 2022-09-08 10:11:06 +02:00
Rémi Verschelde
dc5bf3b22e
Merge pull request #65459 from akien-mga/3.x-changelog-shader-1f-illegal 2022-09-08 09:51:26 +02:00
Rémi Verschelde
bfe60393f5
Merge pull request #65503 from m4gr3d/fix_invalid_project_manager_path_3x 2022-09-08 09:48:43 +02:00
Rémi Verschelde
973457e215
Merge pull request #65398 from m4gr3d/cleanup_input_logic_3x 2022-09-08 09:18:39 +02:00
Gergely Kis
13d9a8c88f Fix UTF-8 validation in static checks
Use isutf8 instead of recode to detect invalid UTF-8 sequences.

Also add the necessary dependencies to run the static checks locally
using act (https://github.com/nektos/act) with the Medium size image.
2022-09-08 00:07:21 +02:00
Fredia Huya-Kouadio
4be7c91cd9 Fix issue causing the project manager to crash because of missing path argument
In the process, the initialization logic is updated to show an error message and gracefully close the engine when setup errors occur.
2022-09-07 14:25:22 -07:00
Fredia Huya-Kouadio
63df48a59c Enable long press, pan and scale gestures for the Godot Android Editor
Fix the bug causing the editor to crash when running the project.
2022-09-07 13:29:31 -07:00
Fredia Huya-Kouadio
440fa10246 Cleanup the Android input logic implementation 2022-09-07 13:29:31 -07:00
Rémi Verschelde
92fa63886c
Merge pull request #65397 from maximkulkin/3.x-graph-edit-node-selection 2022-09-07 17:52:24 +02:00
Rémi Verschelde
968af50449 Changelog: Mention compat breaking removal of illegal '1f' syntax for shaders
Fixes #59316.
2022-09-07 09:54:15 +02:00
Rémi Verschelde
073032b6d0
Merge pull request #65429 from PhoenixFlame101/fix-code-folding-icon-color-58379 2022-09-06 21:42:33 +02:00
Abhinav Chennubhotla
8acc25578e 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-06 21:50:33 +05:30
lawnjelly
d60eae3dbc Fix uninitialized data reads in Input
Found by Valgrind.
2022-09-06 14:21:01 +01:00
Rémi Verschelde
930395af6e Merge pull request #65414 from lawnjelly/raycast_uninit
Fix RayCast2DEditor uninitialized value
2022-09-06 12:31:26 +02:00
Rémi Verschelde
4682144eb8 Merge pull request #65408 from lawnjelly/dir_light_uninit
Fix GLES directional shadow uninitialized data
2022-09-06 12:31:20 +02:00
Rémi Verschelde
e2030748b0 Merge pull request #65411 from lawnjelly/flow_container_uninit
FlowContainer fix uninitialized data
2022-09-06 12:31:11 +02:00
Rémi Verschelde
ab8d55ca28 Merge pull request #65412 from lawnjelly/findbar_uninit
FindBar fix uninitialized results_count
2022-09-06 12:31:02 +02:00
Rémi Verschelde
a0c2f54e7d Merge pull request #65368 from Calinou/methods-py-fix-missing-import
Fix missing `import sys` in `methods.py`
2022-09-06 12:30:40 +02:00
Rémi Verschelde
d8e590195a Merge pull request #65366 from KoBeWi/3333333_33333_33_3_3333333333
[3.x] Add Dictionary.find_key()
2022-09-06 12:30:11 +02:00
lawnjelly
c8a39f6fb3 Fix RayCast2DEditor uninitialized value
node was previously read before being set. Found by Valgrind.
2022-09-06 10:02:22 +01:00
lawnjelly
9b294b298e Fix GLES directional shadow uninitialized data
Valgrind shows directional_shadow.fbo accessed when uninitialized in directional_shadow_create.
2022-09-06 09:21:56 +01:00
Rémi Verschelde
bc14fc7039
Merge pull request #65400 from m4gr3d/disable_android_editor_auto_focus_3x 2022-09-06 10:14:55 +02:00
lawnjelly
fa4a325180 FlowContainer fix uninitialized data
This uninitialized data was finding its way into the renderer.
2022-09-06 09:04:00 +01:00
lawnjelly
c254e97c6b FindBar fix uninitialized results_count
Found by Valgrind.
2022-09-06 09:00:04 +01:00
Rémi Verschelde
5ccb86276c
Merge pull request #65403 from lawnjelly/batching_ununit_color 2022-09-06 09:55:39 +02:00
Rémi Verschelde
feea3df0dc
Merge pull request #65364 from akien-mga/3.x-cherrypicks 2022-09-06 09:51:11 +02:00
lawnjelly
23fedc0d1a 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-06 07:01:18 +01:00
Maxim Kulkin
466c912344 Add GraphNode 'selected' and 'unselected' signals, simplify GraphEdit
Backport of the fix from master to 3.x
2022-09-06 01:35:58 -04:00
Fredia Huya-Kouadio
c875f23750 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-05 22:13:03 -07:00