Commit Graph

34453 Commits

Author SHA1 Message Date
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
Hugo Locurcio ea1e4bf9ac
Fix missing `import sys` in `methods.py` 2022-09-05 17:14:21 +02:00
kobewi fdbef1c074 Add Dictionary.find_key() 2022-09-05 16:08:41 +02:00
Rémi Verschelde 5271d69909 HTML5: Fix warning with Emscripten 3.1.20
And use that version for CI.
2022-09-05 15:37:33 +02:00
Micky b14754d984 Modify newlines in Editor Spin Slider tooltip
Makes both key suggestions easier to read.

(cherry picked from commit a2ba189fef)
2022-09-05 15:35:45 +02:00
Leonardo Santagada b9eed3a455 Mention an issue with infinite scroll on mirroring of Parallax layer
(cherry picked from commit 74df54a99e)
2022-09-05 15:35:45 +02:00
Hugo Locurcio d3c9817300 Use verbose prints when registering cameras in CameraServer
This prevents lines from being printed every time the editor or project
starts in the editor Output log.

(cherry picked from commit b83e0b6447)
2022-09-05 15:35:45 +02:00
kobewi 0511f48c49 Fix Viewport size change not updating textures
(cherry picked from commit 3a4a4aeade)
2022-09-05 15:35:45 +02:00
Rémi Verschelde 2969922ba9 SCons: Enforce version 4.0+ when `compiledb=yes` is used
Fixes #65233.

(cherry picked from commit 6c5e085d13)
2022-09-05 15:35:45 +02:00
BenniKane c030cc1ef6 doc: Clarifying NavigationAgent and NavigationAgent2D velocity_computed requires avoidance_enabled to be true to emit
(cherry picked from commit ed5b832a81)
2022-09-05 15:35:45 +02:00
Micky a01ae706ae 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 ad5ff9f78f)
2022-09-05 15:35:45 +02:00
kobewi 739919469e Mention that grab_focus is more reliable deferred
(cherry picked from commit 188d5593e1)
2022-09-05 15:35:45 +02:00
kobewi 737bfa57d3 Allow to change the Stop shortcut used at runtime
(cherry picked from commit 409613ba7b)
2022-09-05 15:35:45 +02:00
Micky 9ca40f0e0a Cast between float and ints in SceneTreeTween.`tween_property()`
(cherry picked from commit 2b18a4002c)
2022-09-05 14:58:56 +02:00
Rémi Verschelde 570e6c1730 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-05 14:45:12 +02:00
Rémi Verschelde 4d4c6c187d
Merge pull request #65270 from Calinou/doc-audio-input-permissions-3.x
Improve documentation related to audio input permissions (3.x)
2022-09-03 10:15:46 +02:00