Rémi Verschelde
765362b033
Explicitly include core/config/engine.h where used
2026-03-04 10:17:10 +01:00
Rémi Verschelde
a447ac95ec
Move DisplayServer enums and typedefs to DisplayServerEnums
...
This will allow decoupling `display_server.h` from a number of headers in the
codebase which only require those enums and not all the DisplayServer API.
2026-03-03 12:44:02 +01:00
Pāvels Nadtočajevs
1306221592
Move accessibility methods/enums from DisplayServer to the AccessibilityServer dedicated singleton.
2026-03-02 13:48:29 +02:00
Thaddeus Crews
e380a41752
Style: Add class_db.h includes explicitly
2026-02-26 15:50:28 -06:00
Rémi Verschelde
f5a290ac46
Move RenderingServer enums to a dedicated RenderingServerEnums (RSE) namespace
...
A number of headers in the codebase included `rendering_server.h` just for
some enum definitions. This means that any change to `rendering_server.h` or
one of its dependencies would trigger a massive incremental rebuild.
With this change, we decouple a number of classes from `rendering_server.h`,
greatly speeding up incremental rebuilds for that area.
On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 60s (from 2m57s).
2026-02-25 19:43:03 +01:00
kobewi
6f86914f55
Cleanup _validate_property() implementations
2026-02-23 15:05:25 +01:00
kit
739869359a
Fix Control minimum size check too agressive
2026-02-15 21:22:07 -05:00
kleonc
4e8d5062e6
Fix drag-resizing Control with non-zero pivot_offset_ratio
2026-02-08 20:18:39 +01:00
Michael Alexsander
cdcab44e9b
Fix wrong size on Container nodes due to late cache update
...
Co-authored-by: kit <kitbdev@gmail.com>
2026-02-03 10:55:02 -03:00
kobewi
f7b9703cbd
Use actual class names in resource type hints
2026-01-29 21:07:56 +01:00
Michael Alexsander
d061d9bac3
Stop exposing external theme item properties
2026-01-26 11:49:03 -03:00
Nolan Darilek
7f13b04c99
a11y: Only support blur and focus actions on widgets that are actually focusable
2025-12-30 09:20:45 -05:00
David Snopek
fc92ce3e7f
Use RequiredParam/RequiredResult in some high value places
2025-12-02 10:44:12 -06:00
Pāvels Nadtočajevs
8e626d5103
Fix grab_focus incorrectly handling FOCUS_ACCESSIBILITY.
2025-10-31 18:52:18 +02:00
kleonc
afec8a1892
Fix Control.pivot_offset missing PROPERTY_USAGE_STORAGE flag
2025-10-22 15:21:43 +02:00
Thaddeus Crews
9e96c7d9b8
Merge pull request #110378 from timothyqiu/rtl-preview
...
Make text-related nodes translation domain aware
2025-10-16 12:48:05 -05:00
Thaddeus Crews
e560ea47d4
Merge pull request #70646 from KoBeWi/relatable_offset
...
Add `pivot_offset_ratio` property to Control
2025-10-13 12:30:10 -05:00
Thaddeus Crews
d1d28c0bcf
Merge pull request #111223 from Ivorforce/remove-iterator-include
...
Replace `std::size` usage with `std_size` to avoid `<iterator>` include.
2025-10-06 09:06:49 -05:00
Lukas Tenbrink
1db0a60dc0
Replace std::size usage with std_size to avoid <iterator> include.
2025-10-05 00:26:11 +02:00
Aaron Franke
3d1c9fd5de
Move server files into their subfolders
2025-09-30 19:39:39 -07:00
Thaddeus Crews
45d064c388
Merge pull request #109590 from bruvzg/focus_checks
...
`find_*_valid_focus`: Check all tested neighbors to prevent loops.
2025-09-30 18:35:00 -05:00
kobewi
618afcffa6
Add pivot_offset_ratio property to Control
2025-09-30 15:27:52 +02:00
Thaddeus Crews
be421bcdd4
Merge pull request #110250 from YeldhamDev/i_just_cant_keep_focused
...
Hide `Control` focus when given via mouse input
2025-09-22 13:28:44 -05:00
Haoyu Qiu
172c80df67
Make text-related nodes translation domain aware
...
- Makes `is_layout_rtl()` translation domain aware
- Makes various text-drawing controls translation domain aware
- Makes translation preview use the project's fallback locale when disabled
2025-09-22 09:39:14 +08:00
Thaddeus Crews
149a4b4ca1
Merge pull request #107868 from lawnjelly/quick_ancestry4
...
Provide quick access to `Object` ancestry
2025-09-20 13:41:39 -05:00
Michael Alexsander
aeb3a45c97
Hide Control focus when given via mouse input
2025-09-19 13:43:29 -03:00
Thaddeus Crews
f27f917d32
Merge pull request #107955 from lodetrick/mouse-signals
...
Fix `mouse_entered` and `mouse_exited` Signals being emitted too early
2025-09-19 09:17:04 -05:00
Pāvels Nadtočajevs
f260c5db8a
find_*_valid_focus: Check all tested neighbors to prevent loops.
2025-08-13 23:59:01 +03:00
Summersay415
bf5fada0b1
Revert "Fix incorrect anchor preset when custom offset is set"
2025-08-07 12:55:59 +07:00
Thaddeus Crews
281ce842fd
Merge pull request #108442 from limuy2022/master
...
Fix incorrect anchor preset when custom offset is set
2025-07-15 08:04:26 -05:00
limuy
21b1530cd4
Fix incorrect anchor preset when custom offset is set
2025-07-10 19:19:05 +08:00
Thaddeus Crews
e748514112
Merge pull request #105835 from bruvzg/edited_scene_direction
...
Improve edited scene layout direction detection.
2025-07-09 11:33:11 -05:00
A Thousand Ships
f11aff3841
Editor: Restructure editor code
...
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
Logan Detrick
c03a7b7893
Delay Mouse signals until after internal processing
2025-06-24 14:29:17 -07:00
lawnjelly
14a814586a
Provide quick access to Object ancestry
2025-06-23 07:11:11 +01:00
Rémi Verschelde
ae484828bb
Merge pull request #107408 from Ivorforce/node-path-string-explicit
...
Make conversions from `NodePath` to `String` explicit.
2025-06-12 22:49:03 +02:00
LuoZhihao
8ba4656ea3
Compile out editor-only logic within validate_property in games
2025-06-12 12:54:19 +08:00
Lukas Tenbrink
e2931a5c19
Make conversions from NodePath to String explicit.
2025-06-11 16:50:27 +02:00
Pāvels Nadtočajevs
aff5b413aa
Move some accessibility properties from Node to Control
2025-06-08 16:25:28 +03:00
Pāvels Nadtočajevs
25ae5c8ab4
Revert "Fix #100536 : Control set_position resizes offsets/anchors"
...
This reverts commit ca57fe1db4 .
2025-05-16 14:21:18 +03:00
Pāvels Nadtočajevs
4976b38dec
Revert "Fix unexpected control position change when left/top offsets not match pos_cache"
...
This reverts commit 49c7966042 .
2025-05-16 14:19:51 +03:00
Jesusemora
b22eba1285
Show theme_type_variations in the inspector on Controls that inherit a theme
...
`theme_type_variation`s are now shown in the children and children of children
that inherit a theme from a parent `Control` node.
2025-05-13 00:56:06 +02:00
2750558108
49c7966042
Fix unexpected control position change when left/top offsets not match pos_cache
2025-05-07 18:46:40 +08:00
kit
e6cb7affdc
Allow Control Rect tool to not snap to pixel
2025-05-01 19:47:17 -04:00
lawnjelly
f8f350a32a
Add GLOBAL_GET cached macros.
...
GLOBAL_GET is an expensive operation which should not be used each frame / tick.
This PR adds macros which do a cheaper revision check, and only call the expensive GLOBAL_GET when project settings have changed.
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-04-30 15:08:50 +01:00
Haoyu Qiu
3578aa6acc
Fix item translation and icon in the Anchors Preset dropdown
...
- Some items were not translated.
- Item icons did not react to light/dark theme switch.
2025-04-28 19:50:24 +08:00
Pāvels Nadtočajevs
03048aa94a
Improve edited scene layout direction detection.
2025-04-28 07:57:26 +03:00
Thaddeus Crews
1b4ed4c038
Merge pull request #105595 from bruvzg/focus_fx
...
Fix `FOCUS_ACCESSIBILITY` grabbing focus when it is not supposed to, forward `GraphNode` key input to `GraphEdit`.
2025-04-27 19:21:34 -05:00
Thaddeus Crews
1a2a1b07df
Merge pull request #105799 from Repiteo/scons/enum-conversion-warnings
...
SCons: Add enum conversion warning
2025-04-27 19:21:23 -05:00
Thaddeus Crews
3947cbe3b2
Merge pull request #104386 from Repiteo/core/cpp-math
...
Core: Replace C math headers with C++ equivalents
2025-04-27 19:21:22 -05:00