Commit graph

64153 commits

Author SHA1 Message Date
Fredia Huya-Kouadio
625b92e3cd Input logic cleanup:
- Fix invalid detection of mouse input. Prioritize using the event tool type to detect the type of the event, and only use the event source as fallback.

- Ensure that pressure and tilt information is passed for touch drag events

- Consolidate logic and remove redundant methods

- Improve the logic to detect when external hardware keyboards are connected to the device
2024-05-19 14:08:01 -07:00
Rémi Verschelde
daa81bbb7d
Merge pull request #92087 from Repiteo/scons/windows-color-fix-maybe
SCons: Fix potential Windows ANSI exception
2024-05-19 11:21:18 +02:00
Rémi Verschelde
c63383fa88
Merge pull request #92035 from rune-scape/rune-gdscript-invalid
GDScript: Fix segfault on invalid script
2024-05-19 11:21:14 +02:00
Rémi Verschelde
4ce95d684c
Merge pull request #91653 from HolonProduction/autocompletion-analyze-recursively-but-leave-the-parser-alone
Autocompletion: Analyze CLASS types as they are encountered
2024-05-19 11:21:11 +02:00
Rémi Verschelde
6761923f4f
Merge pull request #90716 from dalexeev/gds-fix-export-annotation-issues
GDScript: Fix some export annotation issues
2024-05-19 11:21:00 +02:00
Thaddeus Crews
a9810cffb4
SCons: Fix potential Windows ANSI exception 2024-05-18 13:14:31 -05:00
Rémi Verschelde
f58a96cfa2
Merge pull request #92075 from autoit4you/fix-92062
Use `GLOBAL_GET` for `window_{height,width}_override`
2024-05-18 17:41:48 +02:00
Rémi Verschelde
7437b9a833
Merge pull request #92060 from raulsntos/core/memdelete-engine-later
Release Engine after unregistering GDExtensions
2024-05-18 17:41:45 +02:00
Rémi Verschelde
337e5dacab
Merge pull request #92053 from Repiteo/ci/exec-perm-fixes
CI: Fix incorrect executable perms
2024-05-18 17:41:42 +02:00
Rémi Verschelde
6aece8e1b6
Merge pull request #92045 from RandomShaper/context_getter
Add context getter to RenderingDevice
2024-05-18 17:41:38 +02:00
Rémi Verschelde
7cd9f61d32
Merge pull request #91853 from semensanyok/fix-compatibility-gles3-load-compressed-layered-tex-2dArray
Fix compatibility renderer load of compressed layered `GL_TEXTURE_2D_ARRAY`
2024-05-18 17:41:31 +02:00
Lea
414cc6c89e Use GLOBAL_GET for window_{height,width}_override
Before ProjectSettings::get was used, resulting in ignoring
feature tag overrides for display/window/size/window_width_override
and display/window/size/window_height_override.

Fixes #92062
2024-05-18 11:51:04 +02:00
rune-scape
9fa13da16f GDScript: fix segfault on invalid script 2024-05-17 15:26:25 -07:00
semensanyok
07c15ef3c8 fix compatibility gles3 driver load of compressed layered GL_TEXTURE_2D_ARRAY 2024-05-17 22:00:25 +02:00
Raul Santos
e516479889
Release Engine after unregistering GDExtensions
The Engine is used to retrieve singletons, and GDExtensions may try to retrieve a singleton (e.g.: `OS`) in their deinitialization.
2024-05-17 21:29:11 +02:00
Thaddeus Crews
96d1e61ee6
CI: Fix incorrect executable perms 2024-05-17 10:47:40 -05:00
Rémi Verschelde
bd2300d77a
Merge pull request #92043 from akien-mga/ci-scons-3.0.0-python-3.6
SCons: Bump min version to 3.1.2, test it on CI with one Linux job
2024-05-17 13:00:41 +02:00
Rémi Verschelde
85463fd5eb
Merge pull request #92042 from bruvzg/fix_edit_popup
Fix Tree and FileSystemList edit popup double events and ESC behavior.
2024-05-17 13:00:38 +02:00
Rémi Verschelde
b569ae3ddc
Merge pull request #92027 from dalexeev/gds-fix-standalone-expression-for-preload
GDScript: Fix `STANDALONE_EXPRESSION` warning for `preload()`
2024-05-17 13:00:33 +02:00
Rémi Verschelde
a63c37dca1
SCons: Bump min version to 3.1.2, test it on CI with one Linux job
The min SCons version had to be bumped as SCons 3.0 before 3.0.3 seems
broken (see #92043), and there's little gain from supporting 3.0.3-3.0.5.

3.1.2 is also the first version to avoid ambiguities between Python 2
and Python 3 usage, so we finally use it as the minimum baseline.

Also test against Python 3.6 which is also our minimum supported version.
This should help prevent regressions whenever we modernize the build scripts.
2024-05-17 11:18:57 +02:00
Rémi Verschelde
5b341621e6
Merge pull request #92041 from akien-mga/scons-restore-compat-pre-4.0.0
SCons: Restore compatibility with SCons < 4.0.0
2024-05-17 11:14:18 +02:00
Rémi Verschelde
375e5be340
Merge pull request #92032 from hakro/fix-oneclick-web-always-on
Disable remote debug button when there are no runnable presets
2024-05-17 11:14:15 +02:00
Rémi Verschelde
e1f72c7ca6
Merge pull request #92012 from lyuma/rest_fixer_anim_scale
Skeleton rest fixer: Apply orthonormalized scale to anims
2024-05-17 11:14:11 +02:00
Rémi Verschelde
0d5e910a91
Merge pull request #92009 from bruvzg/btn_min_size
Improve button min. size calculation.
2024-05-17 11:14:08 +02:00
Rémi Verschelde
04a8cfbb74
Merge pull request #91975 from lalitshankarchowdhury/wasapi-use-smart-pointers
Use COM smart pointers in WASAPI driver
2024-05-17 11:14:04 +02:00
Rémi Verschelde
c4889e4793
Merge pull request #91901 from akien-mga/scons-thorvg-webp-loader-opt-out
thorvg: Disable webp loader if corresponding module is disabled
2024-05-17 11:14:00 +02:00
Rémi Verschelde
b201c7fc13
Merge pull request #91874 from Nodragem/editor-scene-drag-and-drop-default
Change default parenting behavior when drag-and-dropping to 2d and 3d editor
2024-05-17 11:13:57 +02:00
Rémi Verschelde
62353747e5
Merge pull request #91720 from kitbdev/fix-textedit-minimap
Fix TextEdit minimap tab drawing and click check
2024-05-17 11:13:52 +02:00
Rémi Verschelde
9eff940a64
Merge pull request #91549 from magian1127/4.0ChangeHighlightingStartKey
Resolve conflict between shader uniform tooltips `/**` and general annotation `/**/`.
2024-05-17 11:13:48 +02:00
Rémi Verschelde
096fb3ad7c
Merge pull request #90952 from Gaktan/add_online_doc_link
Add option to open online doc for selected class in script editor
2024-05-17 11:13:43 +02:00
Rémi Verschelde
54b2e5dc78
Merge pull request #90647 from Gaktan/master
Fix decimal and hex ranges not working with image fonts
2024-05-17 11:13:39 +02:00
Rémi Verschelde
d3e261523f
Merge pull request #88289 from DarioSamo/rd_minimized_window
Fix swap chain errors when application starts minimized.
2024-05-17 11:13:31 +02:00
Pedro J. Estébanez
ffa791c41f Add context getter to RenderingDevice 2024-05-17 09:56:03 +02:00
Danil Alexeev
7dd801c580
GDScript: Fix STANDALONE_EXPRESSION warning for preload() 2024-05-17 10:33:01 +03:00
bruvzg
7d4d63b807
Fix Tree and FileSystemList edit popup double events and ESC behavior. 2024-05-17 10:03:52 +03:00
Rémi Verschelde
856fbc68b3
SCons: Restore compatibility with SCons < 4.0.0
Fixes #91986.
2024-05-17 09:01:07 +02:00
Hakim
04aaa86039 Disable remote debug button when there are no runnable presets 2024-05-17 00:15:13 +02:00
Rémi Verschelde
f4b047a084
Merge pull request #92013 from patwork/fix-ci-jsdoc
[CI] Fix for jsdoc hook in pre-commit
2024-05-17 00:03:37 +02:00
bruvzg
ea379e3b3a
Improve button min. size calculation. 2024-05-16 22:37:12 +03:00
patwork
0430704382 Fix for jsdoc hook in pre-commit 2024-05-16 13:50:13 +02:00
Lalit Shankar Chowdhury
8b8c49703a
Use COM smart pointers to handle COM objects safely
Use ComPtr to handle COM objects safely

Use COM smart pointers in WASAPI driver

Fix ComPtr handling

Fix crash due to IAudioClient3 type conversion
2024-05-16 16:46:45 +05:30
Lyuma
25ddb3dd7f rest fixer: Apply orthonormalized scale to anims
Adjust the logic for position and scale animation tracks in the Apply Node Transforms case
To match how we adjust bone pose/rest, use basis.orthonormalized() for parentless bones.
2024-05-16 02:45:42 -07:00
Nodragem
8e0f0c6edb change default behaviour when drag-and-drop to 2d and 3d editor
correct formatting with clang-formatter

US English
2024-05-16 10:42:13 +01:00
Rémi Verschelde
5708a3a02e
Merge pull request #92000 from clayjohn/vram-debugger
Increase coverage of VRAM debugger and add support to RD backends
2024-05-16 09:32:11 +02:00
Rémi Verschelde
8663f27159
Merge pull request #91996 from Maran23/ms-build-context-menu
Fix ContextMenu `Copy Error` is off in `MSBuild` Panel
2024-05-16 09:32:06 +02:00
Rémi Verschelde
944b95e1a5
Merge pull request #91897 from RandomShaper/res_unreg_if_true
Add an identity check to resource unregistration from cache
2024-05-16 09:32:03 +02:00
clayjohn
c84616c2d2 Increase coverage of VRAM debugger and add support to RD backends 2024-05-15 16:30:19 -07:00
Marius Hanl
32be459e54 Fix ContextMenu Copy Error is off in MSBuild Panel 2024-05-15 22:55:05 +02:00
Rémi Verschelde
c27f24da81
Merge pull request #91991 from Geometror/ge-fix-port-interactions-node-order
[GraphEdit] Fix GraphNode's ports interactable through other GraphNodes
2024-05-15 22:42:05 +02:00
Rémi Verschelde
4bb8c06f6a
Merge pull request #91989 from DarioSamo/prepare_for_use_skip
Optimize usage of "prepare for use" in draw and dispatch commands.
2024-05-15 22:42:02 +02:00