Commit graph

73153 commits

Author SHA1 Message Date
Thaddeus Crews
21d00f6b9e
Merge pull request #105053 from Mickeon/documentation-typo-RenderingDevice-DataFormat
Fix incorrect data format in RenderingDevice docs
2025-04-07 08:43:30 -05:00
Thaddeus Crews
4f8c90ae61
Merge pull request #104789 from jaydensipe/fix-textfile-class-error
Fix `Cannot get class` error when searching `TextFile`/`OtherFile` in FileSystem dock
2025-04-07 08:43:29 -05:00
Thaddeus Crews
51201cb549
Merge pull request #105041 from lodetrick/editor-spin-slider-consume-input
Fix EditorSpinSlider Scroll Edit when inside a ScrollContainer
2025-04-07 08:43:29 -05:00
Thaddeus Crews
d025e99a46
Merge pull request #105039 from lodetrick/blend-tree-grabber
Fix EditorSpinSlider Grabber Scaling
2025-04-07 08:43:28 -05:00
Thaddeus Crews
4d5f455cf7
Merge pull request #105037 from clayjohn/RD-instance-index-crash
Avoid using a global variable to store instance index in canvas items shader in RD renderer
2025-04-07 08:43:27 -05:00
Thaddeus Crews
45a64319e1
Merge pull request #104771 from Repiteo/ci/pre-commit-bump
CI: Bump various pre-commit hooks
2025-04-07 08:43:27 -05:00
Thaddeus Crews
4a3c8a5c58
Merge pull request #104897 from MewPurPur/optimize-color-from-string
Optimize Color.html()
2025-04-07 08:43:26 -05:00
Thaddeus Crews
499d70c1b0
Merge pull request #105024 from JulianHeuser/fix-tileset-custom-data
Fix editing custom data for tilesets
2025-04-07 08:43:25 -05:00
Thaddeus Crews
38a29f6139
Merge pull request #100287 from Chaosus/shader_ui_update
Re-organize UI in the shader editor
2025-04-07 08:43:25 -05:00
Thaddeus Crews
1b9f269700
Merge pull request #105015 from syntaxerror247/improve-touchActionsPanel
Android Editor: Add an editor setting to enable/disable `TouchActionsPanel`
2025-04-07 08:43:24 -05:00
Thaddeus Crews
775bdb135f
Merge pull request #104756 from Rindbee/use-the-correct-root-inspector
Use the correct root inspector when making elements moved in an array visible
2025-04-07 08:43:23 -05:00
Thaddeus Crews
a753cb90c1
Merge pull request #105006 from beicause/pctex-support-comp-image-astc
PortableCompressedTexture: Support ASTC format and creating directly from compressed image
2025-04-07 08:43:23 -05:00
Thaddeus Crews
b7c452a36d
Merge pull request #104614 from kleonc/control_layout_mode_fallback_to_valid_value
Fallback `Control.layout_mode` to valid mode when child of non-container control
2025-04-07 08:43:22 -05:00
Thaddeus Crews
ddae2698ce
Merge pull request #104993 from lodetrick/editor-ruler-text-align
Fix Editor 2D Ruler Text Top-Align
2025-04-07 08:43:21 -05:00
Thaddeus Crews
b9665b9ee9
Merge pull request #104991 from nikitalita/fix_inf_neg
`VariantWriter::write`: fix writing negative infinity when `p_compat` is true
2025-04-07 08:43:21 -05:00
Thaddeus Crews
cd234eae45
Merge pull request #104984 from KoBeWi/ETH
Fix wrong translation method in FileDialog
2025-04-07 08:43:20 -05:00
Thaddeus Crews
5022240065
Merge pull request #105111 from bruvzg/nof_help
Fix `EditorHelpBitTooltip` in single window mode.
2025-04-07 08:43:19 -05:00
Thaddeus Crews
c186eb88d2
Merge pull request #101003 from Repiteo/core/variant-native-enum
Core: Natively convert `enum`/`BitField` with `Variant`
2025-04-07 08:43:19 -05:00
Thaddeus Crews
a6b774961b
Merge pull request #105095 from Mickeon/documentation-no-differences-XRHandTracker
Fix some differences between OpenXRInterface and XRHandTracker docs
2025-04-07 08:43:18 -05:00
Thaddeus Crews
5eaf8a2d65
Merge pull request #105090 from smix8/tilemap_debug_surfaces
Combine `TileMapLayer` debug quadrant shapes to a surface
2025-04-07 08:43:17 -05:00
Thaddeus Crews
5edb235018
CI: Bump various pre-commit hooks 2025-04-07 08:23:35 -05:00
Logan Detrick
c361e60cfa Fix Grabber Double Scaling when zoomed 2025-04-07 01:05:00 -07:00
Pāvels Nadtočajevs
903e850390
Fix EditorHelpBitTooltip in single window mode. 2025-04-07 10:38:10 +03:00
Jayden Sipe
1066e83262 Fix Cannot get class error when searching TextFile/OtherFile 2025-04-06 20:51:40 -04:00
smix8
33fe4a2d87 Combined TileMapLayer debug quadrant shapes to a surface
Create a combined mesh surface for all mesh faces and mesh lines in the TileMapLayer debug quadrant. Before it created a new mesh surface for each shape crashing into the mesh surface limit of 256 quickly.
2025-04-06 19:08:53 +02:00
Thaddeus Crews
8a93218aab
Core: Natively convert enum/BitField with Variant 2025-04-05 12:35:34 -05:00
Thaddeus Crews
a210fe6dbd
Revert "CI: Remove "Free disk space on runner" job"
This reverts commit 6013fb1fb9.
2025-04-05 08:54:37 -05:00
Anish Mishra
a5c03dcd08 Add an editor setting to enable/disable TouchActionsPanel
Adds an editor setting to enable/disable TouchActionsPanel.

Automatically hide the panel when hardware keyboard is connected.
2025-04-05 19:07:46 +05:30
Micky
2ed4586076 Fix differences between OpenXRInterface and XRHandTracker docs 2025-04-05 13:07:52 +02:00
MewPurPur
45b1071e7c Optimize Color.html() 2025-04-05 14:00:30 +03:00
Micky
a1254fe5ad Fix incorrect data format in RenderingDevice docs 2025-04-05 12:52:09 +02:00
LuoZhihao
572a15e4b2 PortableCompressedTexture: Support ASTC format and creating directly from compressed image 2025-04-05 18:44:36 +08:00
Chaosus
b983a05806 Re-organize UI in the shader editor 2025-04-05 13:12:59 +03:00
Anish Mishra
b462db5adb Android: Hardware keyboard connection status callback
Adds a DisplayServer method to register hardware keyboard connection change callback.
2025-04-05 08:14:29 +05:30
Logan Detrick
97651fd4ac Consumes Scroll Events and fixes Mouse Warp 2025-04-04 18:07:47 -07:00
clayjohn
bef26b8861 Avoid using a global variable to store instance index in canvas items shader in RD renderer 2025-04-04 16:32:15 -07:00
Thaddeus Crews
4b36c0491e
Merge pull request #105020 from YYF233333/opt_get_inheriters
Optimize `ClassDB::get_inheriters_from_class`
2025-04-04 17:40:59 -05:00
Thaddeus Crews
f4c7a5ae1d
Merge pull request #101774 from Riteo/wayland-multiwindow-for-real-this-time
Wayland: Implement native sub-windows
2025-04-04 17:40:58 -05:00
Thaddeus Crews
046c9f540c
Merge pull request #105030 from Ivorforce/class-is-enabled-object
Move `GD_IS_CLASS_ENABLED` and respective include from `class_db.h` to `object.h`, as this is where it's needed.
2025-04-04 17:40:58 -05:00
Thaddeus Crews
b6539a7653
Merge pull request #105028 from Repiteo/core/decouple-classdb
Core: Decouple `GDCLASS` from `ClassDB`
2025-04-04 17:40:57 -05:00
Thaddeus Crews
810689e494
Merge pull request #105025 from Repiteo/ci/retire-free-disk-space
CI: Remove "Free disk space on runner" job
2025-04-04 17:40:39 -05:00
Lukas Tenbrink
aa5ca4f1a2 Move GD_IS_CLASS_ENABLED and respective include from class_db.h to object.h, as this is where it's needed. 2025-04-04 23:45:35 +02:00
Thaddeus Crews
78922d756a
Core: Decouple GDCLASS from ClassDB 2025-04-04 16:21:30 -05:00
Thaddeus Crews
6013fb1fb9
CI: Remove "Free disk space on runner" job 2025-04-04 14:15:31 -05:00
Julian
38305a2ad0 Fix editing custom data for tilesets 2025-04-04 14:28:01 -04:00
Riteo
84d3adcf2f Wayland: Implement native sub-windows
The backend is now mature enough to not explode with multiple windows
but the `DisplayServer` API still cannot meet some guarantees required
by the various Wayland protocols we use. To meet those guarantees this
patch adds three new elements to the DisplayServer API, with relative
handling logic for `Window` and `Popup` nodes:

 - `WINDOW_EVENT_FORCE_CLOSE`, which tells a window to *forcefully*
close itself and ensure a proper cleanup of its references, as Wayland
enforces this behavior;

 - `WINDOW_FLAG_POPUP_WM_HINT`, which explicitly declares a window as a
"popup", as Wayland enforces this distinction and heuristics are not
reliable enough;

 - `FEATURE_SELF_FITTING_WINDOWS`, which signals that the compositor can
fit windows to the screen automatically and that nodes should not do
that themselves.

Given the size of this feature, this patch also includes various
`WaylandThread` reworks and fixes including:

 - Improvements to frame wait logic, with fixes to various stalls and a
configurable (through a `#define`) timeout amount;

 - A proper implementation of `window_can_draw`;

 - Complete overhaul of pointer and tablet handling. Now everything is
always accumulated and handled only on each respective `frame` event.
This makes their logic simpler and more robust.

 - Better handling of pointer leaving and pointer enter/exit event
sending;

 - Keyboard focus tracking;

 - More solid window references using IDs instead of raw pointers as
windows can be deleted at any time;

 - More aggressive messaging to window nodes to enforce rects imposed by
the compositor.
2025-04-04 20:23:25 +02:00
Yufeng Ying
4029051bb1 Change ClassDB::get_inheriters_from_class. 2025-04-04 23:47:19 +08:00
Thaddeus Crews
27b2ba667c
Merge pull request #104982 from Repiteo/scons/native-warn-optimize
SCons: Integrate `WARNLEVEL` & `OPTIMIZELEVEL`
2025-04-04 09:29:38 -05:00
Thaddeus Crews
31a66d3a96
Merge pull request #103796 from runzh-crypto/validate-custom-directory
Validate custom directory when project is started
2025-04-04 09:29:37 -05:00
Thaddeus Crews
2fe029ded8
Merge pull request #104449 from mihe/jolt/v5.3.0
Jolt: Update to 5.3.0
2025-04-04 09:29:20 -05:00