Commit graph

65508 commits

Author SHA1 Message Date
Alvin Wong a1a0acff7c Windows: Update ANGLE surface size when window is resized
ANGLE needs to be told to resize the DXGI swap chain using
`eglWaitNative`. Otherwise the resize will only happen in
`eglSwapBuffers`, which causes some janky stretching during window
resize.
2024-07-16 17:01:42 +08:00
Alvin Wong d7f023ab73 Windows: Do not attempt to resize surface before it is created
`WM_WINDOWPOSCHANGED` may be received before `CreateWindowExW` has even
returned, when the window's rendering context or OpenGL context hasn't
been created yet.
2024-07-16 17:01:42 +08:00
Rémi Verschelde 97b8ad1af0
Merge pull request #94232 from bruvzg/macos_dnd
[macOS] Fix drag-and-drop feedback.
2024-07-11 23:17:06 +02:00
Rémi Verschelde af33276109
Merge pull request #94217 from DevPoodle/rd-docs
Clean up RenderDataExtension's descriptions
2024-07-11 23:17:02 +02:00
Rémi Verschelde 1aa1a1879d
Merge pull request #94203 from RandomShaper/bye_bye_dxil_dll
D3D12: Get rid of `DXIL.dll`!
2024-07-11 23:16:59 +02:00
Rémi Verschelde 6c2699cbf6
Merge pull request #94187 from akien-mga/windows-remove-unused-is_wow64
Remove unused `is_wow64` method in `OS_Windows`
2024-07-11 23:16:54 +02:00
Rémi Verschelde b6434f2ac7
Merge pull request #94158 from BastiaanOlij/fix_action_map
OpenXR: Couple of small fixes on the action map
2024-07-11 23:16:51 +02:00
Rémi Verschelde c349f0d6a7
Remove unused is_wow64 method in OS_Windows
It was added in b4d369c88 for `get_processor_count`, but this was later
changed to rely on `std::thread` in 6bf02c016.
2024-07-11 23:16:12 +02:00
bruvzg c8447724e5
[macOS] Fix drag-and-drop feedback. 2024-07-11 23:13:38 +03:00
Pedro J. Estébanez ee2c1584e4 D3D12: Get rid of DXIL.dll! 2024-07-11 17:56:45 +02:00
DevPoodle 1bd3c48f6b Clean up RenderDataExtension's documentation 2024-07-11 08:00:32 -07:00
Bastiaan Olij 95b72631aa Couple of small fixes on the action map: now saves when CTRL-S is pressed/project is run, no longer looses content if OpenXR is not enabled, and a small documentation fix. 2024-07-11 20:06:46 +10:00
Rémi Verschelde 383a6e4ef2
Merge pull request #94172 from jsjtxietian/open-save
Prevent confirm button being override to "Open" when in save file mode
2024-07-11 09:41:18 +02:00
Rémi Verschelde cead80e7d0
Merge pull request #94015 from Grublady/strip_slash
Ignore trailing slashes in new project’s path when disabling Create Folder
2024-07-11 09:41:14 +02:00
Rémi Verschelde fe5d567917
Merge pull request #93942 from MikeSchulze/73525
Fix GDScript analyzer error when instantiating EditorPlugins.
2024-07-11 09:41:09 +02:00
Rémi Verschelde 1b49d6393d
Merge pull request #93733 from alvinhochun/windows-restore-sizing
Windows: Restore to windowed mode using `SW_NORMAL`
2024-07-11 09:40:58 +02:00
Rémi Verschelde 685413a948
Merge pull request #94162 from anniryynanen/sprite-frames-crash
Fix edited node being removed before editor plugin handles focus loss
2024-07-11 00:27:47 +02:00
Rémi Verschelde 198e55e402
Merge pull request #94153 from clayjohn/SSAO-linearize
Properly linearize depth buffer for SSAO when using orthogonal camera
2024-07-11 00:27:43 +02:00
Rémi Verschelde fbac9c54c9
Merge pull request #94147 from MovaUA/fixes/node-configuration-warning-dialog-text
Fixes/node configuration warning dialog text
2024-07-11 00:27:39 +02:00
Rémi Verschelde f5bb5db8ae
Merge pull request #94135 from Calinou/vulkan-swapchain-resize-error-fail-silently
Silence Vulkan "Unable to acquire framebuffer." swapchain error
2024-07-11 00:27:36 +02:00
Rémi Verschelde 34d4c9197d
Merge pull request #94133 from akien-mga/fix-gcc14-Wmaybe-uninitialized
Fix a couple GCC 14 `-Wmaybe-uninitialized` warnings
2024-07-11 00:27:32 +02:00
Rémi Verschelde d197f176c7
Merge pull request #94129 from Mickeon/RichTextLabel_push_meta_keyword
Add `push_url` as a keyword for `push_meta`
2024-07-11 00:27:29 +02:00
Rémi Verschelde 284c96decd
Merge pull request #94127 from Mickeon/doc-peeves-transform2d
Overhaul Transform2D documentation
2024-07-11 00:27:25 +02:00
Rémi Verschelde c5ca288771
Merge pull request #94121 from BastiaanOlij/remove_render_thread_guard
Remove our `ERR_ON_RENDER_THREAD` guard, it is not reliable
2024-07-11 00:27:21 +02:00
Rémi Verschelde 543f694e2c
Merge pull request #94109 from akien-mga/scons-linker-optflags
SCons: Pass optimization flags to the linker too, needed by Emscripten
2024-07-11 00:27:17 +02:00
Rémi Verschelde 73422df05e
Merge pull request #94059 from ayanchavand/fix-exclude-docs
Clarify that some exclude properties of physics query parameters are copied
2024-07-11 00:27:14 +02:00
Rémi Verschelde 013ee6a458
Merge pull request #94003 from KernRat/scroll-fix
Fix RichTextLabel + `ui_down` scrolling too far
2024-07-11 00:27:10 +02:00
Rémi Verschelde 46e8377a5e
Merge pull request #93960 from BastiaanOlij/fix_mobile_compositor
Pre transparent compositor effects needs to run later
2024-07-11 00:27:06 +02:00
Rémi Verschelde 6da4b72bf1
Merge pull request #93888 from Chaosus/fix_orphan_strings
Fix a bunch of orphan StringName errors at ProjectSettings/Editor exit
2024-07-11 00:27:02 +02:00
Rémi Verschelde 7f7ea48ba9
Merge pull request #93135 from AThousandShips/test_string_fix
[Tests] Fix some invalid error messages
2024-07-11 00:26:59 +02:00
Rémi Verschelde 12a363fcac
Merge pull request #91800 from Faless/web/fix_symbols
[Web] Fix debug symbols in web builds
2024-07-11 00:26:56 +02:00
A Thousand Ships ea2e6be0a6
[Tests] Fix some invalid error messages
These used `utf8().get_data()` when they should be passed as `String`
2024-07-10 15:57:52 +02:00
Anni Ryynänen 4a27fb7e83
Fix edited node being removed before editor plugin handles focus loss
`CanvasItemEditor::_select_click_on_item` was causing
`EditorNode::_plugin_over_edit` to be called before focus exit had time
to propagate to `SpriteFramesEditor::_animation_speed_changed`.
2024-07-10 16:32:56 +03:00
Fabio Alessandrelli 3d553eccdf [Web] Fix debug symbols in web builds 2024-07-10 14:18:57 +02:00
jsjtxietian 4a4968f7d8 Prevent confirm button being override to "Open" when in save file mode 2024-07-10 19:49:03 +08:00
baptr 810fcc7431 Fix gdscript analyzer error when instantiating EditorPlugins.
Editor code is not instantiable outside of the editor
(1d14c054a1/core/object/class_db.cpp (L369)).
This is fine for editor plugins and the like, but the GDScript analyzer
balks at it, causing F5 runs to fail: #73525.

Instead, we really just want to know if the type is abstract - so add
a new ClassDB method to check that and nothing else.

Update core/object/class_db.cpp

Apply code review comments

Co-Authored-By: Bryce <1522777+baptr@users.noreply.github.com>
2024-07-10 10:24:57 +02:00
clayjohn e0f736ec10 Properly linearize depth buffer for SSAO when using orthogonal camera 2024-07-09 15:29:45 -07:00
Valeriy Molchanov 32369d2b6d
Fix Issue #94145 Incorrect text in the Node Configuration Warning dialog
Fix some translations

Revert "Fix some translations"

This reverts commit 61e586ef84fb962eefdc14593241c1d8b0fb7b6b.

Revert "Fix Issue #94145 Incorrect text in the Node Configuration Warning dialog"

This reverts commit d0832dc5e7f0657744780cdfc97ed40772ea717c.

msgid

warnings.push_back(RTR("A SpriteFrames resource must be created or set in the \"Sprite Frames\"

revert editor/translations/editor
2024-07-09 22:36:18 +02:00
Yuri Rubinsky af5fc8354b Fix a bunch of orphan StringName errors at ProjectSettings/Editor exit 2024-07-09 19:38:52 +03:00
Micky 891703e43e Overhaul Transform2D documentation 2024-07-09 18:01:17 +02:00
Hugo Locurcio cf2d2e2dd8
Silence Vulkan "Unable to acquire framebuffer." swapchain error
This error is harmless and can be safely ignored.
2024-07-09 17:12:54 +02:00
Rémi Verschelde 26d1577f39
Merge pull request #94131 from dalexeev/gds-fix-mismatched-parser-autoloads
GDScript: Fix "Mismatched external parser" for autoloads
2024-07-09 16:47:32 +02:00
Rémi Verschelde 5514510f7f
Merge pull request #94117 from mhilbrunner/fix-94090-vsproj-scons-4.8
Fix VS project generation with SCons 4.8.0+
2024-07-09 16:47:29 +02:00
Rémi Verschelde b4943e16e1
Merge pull request #94115 from Zorvalt/fix-git-timestamp-with-show-signature
SCons: Fix build fetching `git_timestamp` if git `log.showsignature=true`
2024-07-09 16:47:26 +02:00
Rémi Verschelde 1b0430dc3a
Merge pull request #94114 from bruvzg/ios_text_change
[iOS/Text Input] Avoid deleting and reentering unchanged part of text.
2024-07-09 16:47:23 +02:00
Rémi Verschelde 92320c9b73
Merge pull request #94025 from dalexeev/gds-fix-implicit-cast-typed-array-param
GDScript: Fix implicit cast to typed array when passing parameter
2024-07-09 16:47:20 +02:00
Rémi Verschelde ff8050efda
Merge pull request #94014 from markdibarry/parallax-snap
Add pixel snap for `Parallax2D`
2024-07-09 16:47:17 +02:00
Rémi Verschelde 40cb283dd7
Merge pull request #93866 from Chaosus/shader_fix_global_func_set
Improve code for setup of `global_func_set` in `ShaderLanguage`
2024-07-09 16:47:13 +02:00
Rémi Verschelde 17e7253ea8
Merge pull request #93721 from semensanyok/fix-RichTextLabel-fade-start-index
Fix RichTextLabel fade set `start_index` to command offset
2024-07-09 16:47:10 +02:00
Rémi Verschelde 49a6171319
Merge pull request #93352 from Calinou/linuxbsd-controller-no-trackpad-graphics-tablet
Fix trackpads and graphics tablets being recognized as controllers on Linux/*BSD
2024-07-09 16:47:04 +02:00