1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-19 14:31:59 +00:00
Commit Graph

6254 Commits

Author SHA1 Message Date
Thaddeus Crews
182be69a1e Merge pull request #106151 from SaNeOr/fix-106123
Fix editor crash when middle mouse button is clicked on empty space in scene tabs
2025-05-08 07:19:32 -05:00
SaNeOr
0785c9ad81 fix Editor Crashes When Middle Mouse Button Is Clicked on Empty Space in scene_tabs 2025-05-08 12:04:53 +08:00
Thaddeus Crews
affbfa5b4e Merge pull request #89746 from KoBeWi/NOTification
Remove `NOTIFICATION_ENTER_TREE` when `NOTIFICATION_THEME_CHANGED` is used
2025-05-07 12:48:21 -05:00
Thaddeus Crews
42b50abf15 Merge pull request #106113 from lodetrick/add-dictionary-type-hints
Add missing dictionary and array type hints
2025-05-07 12:48:04 -05:00
Logan Detrick
247520b348 Add missing dictionary and array type hints 2025-05-06 12:35:19 -07:00
Thaddeus Crews
a2c9e7920d Merge pull request #105647 from KoBeWi/optional_options
Improve FileDialog options
2025-05-06 08:38:01 -05:00
Thaddeus Crews
5e1964d9b0 Merge pull request #106124 from KoBeWi/destructor_must_be_destroyed
Remove empty constructors and destructors from `scene/`
2025-05-06 08:37:58 -05:00
Thaddeus Crews
cc5857728d Merge pull request #106114 from m4gr3d/disable_auto_keyboard_popup
Add property to control showing the virtual keyboard on focus events
2025-05-06 08:37:40 -05:00
kobewi
d32d2e9b51 Remove NOTIFICATION_ENTER_TREE when NOTIFICATION_THEME_CHANGED is used 2025-05-06 15:28:03 +02:00
kobewi
34b485d62b Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
Fredia Huya-Kouadio
f29feac7a5 Add a LineEdit / TextEdit property to control whether the virtual keyboard should show on focus 2025-05-05 22:01:34 -04:00
Thaddeus Crews
5aca298548 Merge pull request #106051 from dalexeev/move-alt-codes-from-char-range
Move `alt_code_oem437` and `alt_code_cp1252` to separate header file
2025-05-05 11:24:14 -05:00
Danil Alexeev
413cb795cd Move alt_code_oem437 and alt_code_cp1252 to separate header file 2025-05-03 11:52:49 +03:00
kobewi
7fe61c7e84 Change FileDialog's Tree to ItemList 2025-05-03 01:34:35 +02:00
Thaddeus Crews
1cf573f44d Merge pull request #105887 from Repiteo/core/modernize-headers
Core: Modernize C headers with C++ equivalents
2025-05-02 09:25:29 -05:00
Thaddeus Crews
01fc9aee6c Core: Modernize C headers with C++ equivalents 2025-05-02 08:23:01 -05:00
kit
e6cb7affdc Allow Control Rect tool to not snap to pixel 2025-05-01 19:47:17 -04:00
hamid
82e23da12e Add drag zoom feature with CTRL+MiddleMouseButton
This change introduces a DragType enum to scene/gui/view_panner.cpp of
dragging, which includes:

- DRAG_TYPE_NONE: Not dragging
- DRAG_TYPE_PAN: Panning (dragging using MMB)
- DRAG_TYPE_ZOOM: Zooming (dragging using CTRL+MMB)

The goal of this change is the third option, which was already available
in 3D viewport but not in 2D. This feature should work in other editors
as well such as Animation Track Editor and Visual Shader Editor and so
on.
2025-05-01 15:15:44 +03:30
Thaddeus Crews
f4f1471b57 Merge pull request #105910 from lawnjelly/global_get_fast4
Add `GLOBAL_GET` cached macros.
2025-04-30 09:18:44 -05: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
daaf4119de Improve ColorPicker 2025-04-30 11:50:35 +02:00
Thaddeus Crews
b1b873add3 Merge pull request #104731 from Delsin-Yu/stackable-text-effect
[GUI] Implement Stackable Text Outline on `Label`
2025-04-29 11:24:13 -05:00
Thaddeus Crews
bc21c322c6 Merge pull request #105880 from KoBeWi/deadline
Remove inline from constexpr variables
2025-04-29 11:24:13 -05:00
Thaddeus Crews
316af6aa36 Editor: Allow non-finite values in Range
Co-Authored-By: Aaron Franke <arnfranke@yahoo.com>
2025-04-29 11:08:46 -05:00
Thaddeus Crews
1d1805483f Merge pull request #105815 from timothyqiu/anchors-presets
Fix item translation and icon in the Anchors Preset dropdown
2025-04-28 18:45:55 -05:00
Thaddeus Crews
fc1ffeb5e0 Merge pull request #105870 from bruvzg/te_margin_round
[TextEdit] Fix margin rounding at sub 100% scale.
2025-04-28 14:10:52 -05:00
kobewi
5125a273dc Remove inline from constexpr variables 2025-04-28 21:09:43 +02:00
Thaddeus Crews
67c96c89cc Merge pull request #105855 from bruvzg/color_ac_typo
Fix ColorPicker preset button format string typo.
2025-04-28 10:01:36 -05:00
Thaddeus Crews
c0935eba0d Merge pull request #105846 from KoBeWi/you_call_it_title_but_it's_just_a_text
Rename FoldableContainer's `text` to `title`
2025-04-28 10:01:36 -05:00
Thaddeus Crews
6065073a69 Merge pull request #105857 from bruvzg/te_rtl_ac
[TextEdit] Fix caret cut of in RTL layout, account for wrapped line indents in accessibility updates.
2025-04-28 10:01:29 -05:00
Pāvels Nadtočajevs
1794098b47 [TextEdit] Fix margin rounding at sub 100% scale. 2025-04-28 17:22:58 +03: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
fd1eeacf23 [ScrollContainer] Fix focus rect draw position in RTL layout. 2025-04-28 11:26:01 +03:00
Pāvels Nadtočajevs
fb99c01381 [TextEdit] Fix caret cut of in RTL layout, account for wrapped line indents in accessibility updates. 2025-04-28 11:22:33 +03:00
Pāvels Nadtočajevs
4cc50e40ec Fix ColorPicker preset button format string typo. 2025-04-28 08:03:52 +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
9c324a8524 Merge pull request #103414 from dugramen/itemlist-shift-key-select
ItemList multiselect with shift up & down arrow keys
2025-04-27 19:21:33 -05:00
Thaddeus Crews
9967dde20b Merge pull request #105306 from KoBeWi/pwat
`Range`: Remove useless `p_what` argument
2025-04-27 19:21:29 -05:00
Thaddeus Crews
bdd3cb3f31 Merge pull request #103382 from dugramen/tree-shift-select
Add tree multiselect with shift up & down arrow keys
2025-04-27 19:21:27 -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
Thaddeus Crews
4dbfcbfbbd Merge pull request #105504 from ExEago/master
`RichTextLabel`: Add methods to compute the height and width of a line
2025-04-27 19:21:15 -05:00
kobewi
6856926b77 Rename FoldableContainer's text to title 2025-04-28 00:12:32 +02:00
Pāvels Nadtočajevs
db0c0a9182 Fix FOCUS_ACCESSIBILITY grabbing focus when it is not supposed to, forward GraphNode key input to GraphEdit. 2025-04-27 00:45:11 +03:00
Thaddeus Crews
dc9c34f0c6 SCons: Add enum conversion warning 2025-04-26 12:06:20 -05:00
DE YU
ac931c33c2 Implmement stackable text effects on label type through label settings
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-04-26 20:50:20 +08:00
dugramen
eb973015d6 Tree multiselect with shift up & down arrow keys 2025-04-25 21:47:16 -04:00
dugramen
aebb85a064 ItemList multiselect with shift up & down arrow keys 2025-04-25 21:39:22 -04:00
kobewi
92f15d33ee Improve FileDialog options 2025-04-24 17:12:53 +02:00
Thaddeus Crews
013f7a6343 Merge pull request #105630 from KoBeWi/clearer_dialog
FileDialog code cleanup
2025-04-24 09:09:31 -05:00