Commit graph

64799 commits

Author SHA1 Message Date
Thaddeus Crews
576c9e4fe8
CI: Add pre-commit hook for clang-tidy
• Set to "manual" so it isn't invoked in normal workflow
• Modernize `.clang-tidy` file
2024-06-17 11:27:18 -05:00
Rémi Verschelde
71699e08c9
Merge pull request #93143 from Faless/web/fix_dlink_emcc_3.1.62
[Web] Fix thread+dlink builds with emscripten 3.1.61+git
2024-06-14 17:13:41 +02:00
Rémi Verschelde
087ef4b942
Merge pull request #93124 from RandomShaper/skull_trio
`ResourceLoader`: Let the caller thread use its own message queue override
2024-06-14 17:13:38 +02:00
Rémi Verschelde
c58c50831b
Merge pull request #93107 from clayjohn/GLES-sky-ambient
Ensure sky reflection is updated when ambient mode is set to background
2024-06-14 17:13:35 +02:00
Rémi Verschelde
75eb8ad510
Merge pull request #93091 from RandomShaper/remove_false_safety
Remove no longer needed thread safety measures
2024-06-14 17:13:31 +02:00
Rémi Verschelde
08a21fda8d
Merge pull request #93082 from RandomShaper/fix_err_deadlock
ResourceLoader: Avoid deadlock when awaiting a loader thread that failed early
2024-06-14 17:13:28 +02:00
Rémi Verschelde
8b271c8315
Merge pull request #93161 from Hilderin/fix-crash-importing-ttf
Fix ProgressDialog crash when importing TTF font
2024-06-14 17:13:21 +02:00
Fabio Alessandrelli
27d67b5ae6 [Web] Use the module config to preload GDExtension libraries.
Instead of calling loadDynamicLibraries ourselves, we add the
GDExtension libraries to preload to the "dynamicLibraries" module config
property.

This seems to fix some threading issue with some browsers during the
init phase.
2024-06-14 16:04:16 +02:00
Fabio Alessandrelli
c95bd2d264 [Web] Disable thorvg threads on the Web
They're of little help, and just adds to the possibility of causing
deadlocks.
2024-06-14 16:03:56 +02:00
Fabio Alessandrelli
7af8c494ab [Web] Force emcc to use "wasm" longjmp mode
SUPPORT_LONGJMP have changed since emscripten 3.1.32 to default to
"wasm" mode when exceptions are enabled, and "emscripten" mode when
disabled.

While we generally doesn't use exception in core, linked libraries may
need them, and emscripten don't plan to support WASM EH + Emscripten
SjLj in the long term.
2024-06-14 16:03:56 +02:00
Fabio Alessandrelli
e874cd84f0 [Web] Remove space between emscripten "-s" flags and the option 2024-06-14 16:03:56 +02:00
Hilderin
8a82d3e9a7 Fix ProgressDialog crash when importing TTF font 2024-06-14 09:00:42 -04:00
Rémi Verschelde
4119fb32cb
Merge pull request #93153 from Chaosus/vs_fix_incorrect_preview_port
Fix incorrect preview port in visual shader
2024-06-14 12:33:07 +02:00
Yuri Rubinsky
99fa6ee6c4 Fix incorrect preview port in visual shader 2024-06-14 12:31:34 +03:00
Rémi Verschelde
ac95e0f4ff
i18n: Sync translations with Weblate 2024-06-14 10:33:40 +02:00
Rémi Verschelde
b1dbc8b51a
Merge pull request #93150 from Chaosus/fix_missing_ttr
Add missing TTR's for EditorProgress
2024-06-14 10:19:44 +02:00
Rémi Verschelde
68142d1038
Merge pull request #93148 from Hilderin/fix-httprequest-error-export-template
Fix bug when downloading export templates and re-opening the template manager
2024-06-14 10:19:41 +02:00
Rémi Verschelde
b4e7947d3f
Merge pull request #93127 from BlueCube3310/material-ready
Material: Fix marking as ready
2024-06-14 10:19:38 +02:00
Rémi Verschelde
f94c5e8bf1
Merge pull request #93089 from passivestar/editor-property-spacing
Fix EditorProperty spacing
2024-06-14 10:19:35 +02:00
Rémi Verschelde
6e1e6f0d3b
Merge pull request #92955 from libklein/fix-navigation-polygon-draw
TileSet: Transform rotated navigation (sub)-polygons individually.
2024-06-14 10:19:32 +02:00
Rémi Verschelde
3b7c7d85c0
Merge pull request #92741 from Alex2782/fix_adreno_3xx_compatibility
Fix Adreno 3xx compatibility for devices with newer driver versions
2024-06-14 10:19:28 +02:00
Rémi Verschelde
4ce3e169a9
Merge pull request #92388 from sunfl0w/fix-compatibility-albedo
Fix albedo value wraparound in Compatibility render mode
2024-06-14 10:19:21 +02:00
Yuri Rubinsky
a7d5e2f0d9 Add missing TTR's for EditorProgress 2024-06-14 10:52:38 +03:00
Hilderin
df10fdc367 Fix Bug when downloading export templates and re-open the template manager #93121 2024-06-14 01:15:05 -04:00
Patrick Sean Klein
2dc42e8a93
TileSet: Maintain NavigationPolygon sub-polygons when rotating
The original implementation merged sub-polygons into a single polygon
when rotating. This can cause non-simple geometries downstream
algorithms cannot handle.
2024-06-13 22:16:46 +01:00
Rémi Verschelde
680e489189
Merge pull request #93087 from KoBeWi/path_to_less_bugs
Allow cancelling actions in Path2D editor
2024-06-13 17:19:30 +02:00
Rémi Verschelde
de8a05f447
Merge pull request #92965 from m4gr3d/fix_splash_screen
Update the Android splash screen logic
2024-06-13 17:19:27 +02:00
Rémi Verschelde
e988c1a682
Merge pull request #92870 from KoBeWi/maybe_RESET_a_bit_less
Don't allow creating invalid RESET keys
2024-06-13 17:19:23 +02:00
Rémi Verschelde
fe61f94c7e
Merge pull request #92810 from KoBeWi/redirect_tests_to_dev/null
Use subfolder for temporary test files
2024-06-13 17:19:20 +02:00
Rémi Verschelde
e15c2e051e
Merge pull request #92663 from Riteo/holy-egl-batman
EGL: Use `EGL_EXT_platform_base` whenever possible
2024-06-13 17:19:17 +02:00
Rémi Verschelde
1567a498cb
Merge pull request #93129 from passivestar/object-selector-label
Center the label in EditorObjectSelector
2024-06-13 14:39:28 +02:00
Rémi Verschelde
172b4dc57e
Merge pull request #93128 from bruvzg/button_internal_margin
[Button] Do not include internal margins into base button minimum size.
2024-06-13 14:39:24 +02:00
Rémi Verschelde
8c380a0ba2
Merge pull request #93126 from bruvzg/uxtheme_vercheck
[Windows] Add Windows version and Wine checks for Windows 10+ dark mode API.
2024-06-13 14:39:21 +02:00
Rémi Verschelde
93447ceb37
Merge pull request #93112 from Hilderin/fix-crash-undo-spriteframes-rename
Fix Crash when trying to undo SpriteFrames animation rename #93079
2024-06-13 14:39:15 +02:00
passivestar
fccfda2706 Center the label in EditorObjectSelector 2024-06-13 15:50:17 +04:00
sunfl0w
0e56b64fc4 Fix albedo value wraparound in Compatibility render mode
Using the Compatibility renderer results in wrapped albedo values if a custom shader returns albedo values outside the expected range of [0,1].

This commit fixed this issue by clamping the albedo value to [0,1] right after the custom shader is executed.

Fixes #91919
2024-06-13 13:32:28 +02:00
bruvzg
dbc4e3f350
[Windows] Add Windows version and Wine checks for Windows 10+ dark mode API. 2024-06-13 14:28:14 +03:00
bruvzg
35b4b5f779
[Button] Do not include internal margins into base button minimum size. 2024-06-13 14:18:44 +03:00
BlueCube3310
ea683cd152 Material: Fix marking as ready 2024-06-13 13:12:55 +02:00
Rémi Verschelde
e351b89117
Merge pull request #93119 from bruvzg/img_import_ucodes
[Image Font Importer] Adds support for `\uXXXX` in the kerning config strings.
2024-06-13 11:50:51 +02:00
Rémi Verschelde
fc499fc703
Merge pull request #93117 from jsjtxietian/gltf-owner
Unset the owner of `ImporterMeshInstance3D` before adding it to skeleton's child
2024-06-13 11:50:48 +02:00
Rémi Verschelde
2fab2c7850
Merge pull request #93105 from kitbdev/keystate
Windows Input use GetKeyState instead of GetAsyncKeyState
2024-06-13 11:50:44 +02:00
Rémi Verschelde
c3030ca2dc
Merge pull request #93101 from mihe/codesign-fixes
Fix issues related to code-signing for macOS exports
2024-06-13 11:50:40 +02:00
Rémi Verschelde
5c05e986f9
Merge pull request #93100 from bruvzg/dbl_enter_fx
[Window] Ignore duplicate mouse enter events.
2024-06-13 11:50:36 +02:00
Rémi Verschelde
68ebce2694
Merge pull request #92715 from bruvzg/ts_gde_sync
[TextServer, GDExtension] Fix building text servers as GDExtension, expose new/changed low-level methods to GDExtension API.
2024-06-13 11:50:30 +02:00
Pedro J. Estébanez
cc6f5d1a7a ResourceLoader: Let the caller thread use its own message queue override 2024-06-13 10:31:11 +02:00
Pedro J. Estébanez
21c03d1956 WorkerThreadPool: Fix thread message queue not restored after overridden in a task
Also, simplifies the thread override teardown in MessageQueue.
2024-06-13 10:31:08 +02:00
bruvzg
db46eac24c
[Image Font Importer] Adds support for \uXXXX in the kerning config strings. 2024-06-13 09:20:04 +03:00
jsjtxietian
e09443509a Unsetting the owner of ImporterMeshInstance3D before adding it to skeleton's child 2024-06-13 12:45:55 +08:00
Hilderin
4575ccbad9 Fix Crash when trying to undo SpriteFrames animation rename #93079 2024-06-12 21:42:49 -04:00