1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-01 16:38:31 +00:00
Commit Graph

6004 Commits

Author SHA1 Message Date
Pāvels Nadtočajevs
f5fad7592f Use processed filter list for native dialogs. 2024-11-15 12:08:33 +02:00
arkology
d692b7bdde Improve set_radial_initial_angle by removing loops
Replace two while loops with fposmodp.
Document radial_initial_angle wrapping.
Add testcases for set_radial_initial_angle()
2024-11-14 20:20:20 +03:00
Pāvels Nadtočajevs
932b2269f8 Fix missing native file dialog title translation. 2024-11-14 14:48:52 +02:00
bruvzg
b329b4ab06 [Label] Handle text as multiple independent paragraphs. 2024-11-14 11:29:46 +02:00
kobewi
8437a05cc9 Ignore paste action if clipboard is empty 2024-11-12 20:40:47 +01:00
Thaddeus Crews
51d7d6b5b7 Merge pull request #98678 from Daylily-Zeleen/daylily-zeleen/fix_text_edit
Fix `total_visible_line_count` calculation when removing and clearing `TextEdit`'s text.
2024-11-12 12:13:20 -06:00
Thaddeus Crews
cd66343c70 Merge pull request #98543 from rune-scape/code-edit-margin
CodeEdit: Fix line number margin
2024-11-12 12:13:19 -06:00
Thaddeus Crews
b1526f45b8 Merge pull request #97890 from timothyqiu/id-focused
Fix `PopupMenu.id_focused` signal using index as ID
2024-11-12 12:13:16 -06:00
Thaddeus Crews
658b5d4cf8 Merge pull request #97573 from shahriarlabib000/spinBox
Fix Spinbox display does not round properly when using decimal custom arrow steps
2024-11-12 09:27:51 -06:00
Thaddeus Crews
16cd7b4a7e Merge pull request #97897 from WhalesState/button-min-size
Fix `Button` minimum size when `disabled` is toggled.
2024-11-11 14:18:36 -06:00
Thaddeus Crews
925b690c98 Core: Integrate Ref::instantiate where possible 2024-11-10 12:41:26 -06:00
Thaddeus Crews
6bbc1cb6a9 Merge pull request #98036 from bruvzg/para_btn_spacing
[TextParagraph/Button] Add support for line spacing.
2024-11-10 12:13:03 -06:00
Thaddeus Crews
63838c936c Merge pull request #98278 from a-johnston/fuzzy-search-rebase
Add fuzzy string matching to quick open search
2024-11-10 12:12:56 -06:00
Thaddeus Crews
1cad5525d6 Merge pull request #96841 from maidopi-usagi/tree_item_height_cache
[Tree] Improve Tree Performance by replacing computed height with TreeItem's cached minimum size
2024-11-10 12:12:45 -06:00
Thaddeus Crews
90ce26a27b Merge pull request #94889 from rune-scape/no-const-list-erase
Remove const_cast in `List::erase`
2024-11-10 12:12:34 -06:00
Thaddeus Crews
792671f4d0 Merge pull request #98720 from timothyqiu/file-dialog-atm
Disable auto translation of `FileDialog`'s file list
2024-11-10 12:12:32 -06:00
Thaddeus Crews
52ce3c7078 Merge pull request #98829 from adamscott/fix-tree-scroll-center-overflow
Fix issue where scrolling to item center would overflow on top
2024-11-10 12:12:17 -06:00
shahriarlabib000
afeecad92e Fix Spinbox display does not round properly when using decimal custom arrow steps 2024-11-09 08:36:42 +06:00
rune-scape
dd1372b78e various gui nodes now listen for the changed signal on textures 2024-11-08 00:29:15 -08:00
rune-scape
a47daa0a44 Avoid const_cast in List::erase by requiring mutable elements 2024-11-08 00:10:08 -08:00
MaidOpi
07b7af0c81 replace computed height with cached item minimum size 2024-11-07 03:28:08 +08:00
Daylily-Zeleen
d22419b453 Fix total_visible_line_count calculation when removing and clearing text of TextEdit. 2024-11-06 18:44:13 +08:00
bruvzg
fdde7713a8 Fix IME deactivation events not send on focus loss. Do not unset AltGr modifiers in non-IME input. 2024-11-06 09:47:26 +02:00
Adam Scott
49f918e596 Fix issue where scrolling to item center would overflow on top 2024-11-05 12:50:34 -05:00
Thaddeus Crews
bb5f390fb9 Style: Apply clang-tidy fixes (superficial)
• `modernize-use-bool-literals`, `modernize-use-nullptr`, and `readability-braces-around-statements`
2024-11-04 12:11:14 -06:00
Thaddeus Crews
89a311205f Style: Apply clang-tidy fixes
• `modernize-use-default-member-init` and `readability-redundant-member-init`
• Minor adjustments to `.clang-tidy` to improve syntax & remove redundancies
2024-11-04 12:11:06 -06:00
Michael Alexsander
58e79bfa9a Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
Hugo Locurcio
bb813ba7bc Fix Tree drag-and-drop scrolling having low FPS at low Physics Ticks per Second
Scrolling is now performed in process instead of physics process.
This makes scrolling much smoother if Physics Ticks per Second is lower
than the rendered FPS.
2024-11-02 18:45:28 +01:00
Hugo Locurcio
dafba55c69 Don't tint editor bottom panel icons when hovered or pressed
This prevents the error/warning icons from turning gray or green,
making them hard to recognize. A similar mechanism is already used
for EditorLog filter button icons.

This also fixes typos in FileDialog theme color assignment
(`icon_color_pressed` instead of `icon_pressed_color`). The exposed theme
item names remain the same.
2024-11-02 18:35:45 +01:00
Haoyu Qiu
b131476d40 Disable auto translate of FileDialog's file list 2024-11-01 12:41:56 +08:00
Thaddeus Crews
be70c2f873 Merge pull request #98350 from syntaxerror247/android-native-filepicker
[Android] Implement native file picker support
2024-10-31 20:14:41 -05:00
Thaddeus Crews
363c0b5fec Merge pull request #47502 from KoBeWi/add_0
Always add decimal when converting float to string
2024-10-31 20:14:39 -05:00
Michael Alexsander
16524a8a01 Add "Game" editor for better runtime debugging 2024-10-30 11:42:17 -03:00
Anish Mishra
0dfd18c84b [DisplayServer] Add feature flag for native file dialog access to user/res and options 2024-10-30 14:13:43 +05:30
Thaddeus Crews
696ca9db3c Merge pull request #98039 from aaronfranke/button-icon
Rename internal Button `*_icon` functions to `*_button_icon` to match exposed methods
2024-10-29 19:25:59 -05:00
Thaddeus Crews
b7a0971ad2 Merge pull request #97934 from adamscott/give-AThousandShips-a-break
[Codestyle] Set clang-format `RemoveSemicolon` rule to `true`
2024-10-29 19:25:36 -05:00
Aaron Franke
562c666e3d Rename internal Button icon to button_icon to match exposed methods 2024-10-29 16:23:03 -07:00
Adam Johnston
3ac043c508 Add fuzzy string matching to quick open search
Co-authored-by: sam <samsface@gmail.com>
2024-10-28 11:24:36 -07:00
rune-scape
5d168a3850 CodeEdit: Fix line number margin 2024-10-25 21:59:19 -07:00
Thaddeus Crews
814187de60 Merge pull request #97212 from Riteo/picking-the-right-expand-mode
ColorPicker: Ignore TextureRect expand mode during legacy picking
2024-10-25 13:03:59 -05:00
Thaddeus Crews
4aad050067 Merge pull request #97157 from pafuent/fixing_tree_item_get_prev_wrap
Fix `TreeItem` `get_prev*` methods when `p_wrap` is `true`
2024-10-25 13:03:42 -05:00
Adam Scott
0d350e7108 Set clang-format RemoveSemicolon rule to true
- Set clang-format `Standard` rule to `c++20`
2024-10-25 13:49:43 -04:00
Clay John
cb618e46f8 Merge pull request #97335 from SlienCode/master
Fix `font_hover_pressed_color` and `icon_hover_pressed_color` not working for no stylebox use on `Button`
2024-10-24 20:38:33 -07:00
Clay John
6bd24cbad2 Merge pull request #98368 from KoBeWi/color_picking_active_your_color_is_now_being_picked_please_pick_your_color
Fix legacy picking label bounds
2024-10-24 18:59:43 -07:00
kobewi
5c0f2414cd Always add decimal when printing float 2024-10-23 15:00:21 +02:00
bruvzg
503574441e [RTL] Allow setting image alignment as separate bbcode argument. 2024-10-23 10:15:33 +03:00
kobewi
82b53b1e1b Fix legacy picking label bounds 2024-10-22 13:50:49 +02:00
Thaddeus Crews
b3bcb2dc14 Merge pull request #98299 from timothyqiu/tree-coordinate
Fix button click detection when `Tree` is rotated
2024-10-21 16:39:31 -05:00
Thaddeus Crews
77da16ce69 Merge pull request #88530 from davthedev/tree-hover-items
Add hover state to Tree items display
2024-10-21 16:39:16 -05:00
Thaddeus Crews
4ce5235fbd Merge pull request #98203 from timothyqiu/layout-dir-created-equal
Add System Locale layout direction for `Control` and `Window`
2024-10-21 16:39:07 -05:00