Commit Graph

6951 Commits

Author SHA1 Message Date
StarryWorm 357fa00a4a rm class_db.h from resource.h 2026-02-27 19:08:29 -05:00
Thaddeus Crews 4108ed03a0 Merge pull request #116824 from KoBeWi/resourceuserdata
Print error when trying to change to directory out of scope
2026-02-27 08:49:38 -06:00
Thaddeus Crews 28c37846d8 Merge pull request #111547 from sockeye-d/script-editor-join-lines
Add script editor `join_lines` keybind
2026-02-27 08:49:31 -06:00
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
kobewi af6b344192 Print error when trying to change to directory out of scope 2026-02-26 18:35:15 +01:00
Thaddeus Crews edb345db45 Merge pull request #116678 from Giganzo/text-edit-focus-showing
Fix TextEdit showing focus on some mouse events
2026-02-26 08:15:18 -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
Thaddeus Crews b5ff3b5e3b Merge pull request #116662 from KoBeWi/make_some_noise
Clean up `_validate_property()` implementations
2026-02-24 09:29:40 -06:00
Thaddeus Crews 6bcbf8913d Merge pull request #116701 from Rindbee/remove-redundant-calculation-code-in-_get_line_max_width
Remove redundant calculation code in `RichTextLabel::_get_line_max_width()`
2026-02-24 09:29:33 -06:00
kobewi 8b5d3c7bac Improve get_tab_control() in TabContainer 2026-02-24 13:14:54 +01:00
风青山 95851a05bc Remove redundant calculation code in RichTextLabel::_get_line_max_width()
Since `_shape_line()` is called recursively, nested tables will be
calculated first, so there is no need to calculate the `max_width`
of the columns of the nested table in `_get_line_max_width()` again.
2026-02-24 09:48:16 +08:00
Giganzo fbc9af0693 Fix TextEdit showing focus on some mouse events 2026-02-23 19:06:52 +01:00
Thaddeus Crews d301ecab3b Merge pull request #116628 from bruvzg/fkbd
Fix `SplitContainerDragger` dragging with enabled screen reader, allow resizing with keyboard shortcuts.
2026-02-23 11:59:14 -06:00
Thaddeus Crews 93a59728fb Merge pull request #116601 from kitbdev/fix-sc-accessibility-errors
Fix SplitContainer accessibility errors
2026-02-23 11:59:11 -06:00
Thaddeus Crews 9a1a0e927b Merge pull request #116277 from Rindbee/improve-the-table-in-RichTextLabel
Improve the table in `RichTextLabel`
2026-02-23 11:59:01 -06:00
kobewi 6f86914f55 Cleanup _validate_property() implementations 2026-02-23 15:05:25 +01:00
Pāvels Nadtočajevs 62591f1b91 Fix SplitContainerDragger dragging with enabled screen reader, allow resizing with keyboard shortcuts. 2026-02-22 22:14:21 +02:00
Pāvels Nadtočajevs b5b15f0f74 Fix TabContainer accessibility sub-element cleanup. 2026-02-22 12:34:12 +02:00
kit e5c50f4b7b Fix SplitContainer accessibility errors 2026-02-21 16:16:25 -05:00
fish 4d294caac9 Add script editor join line functionality 2026-02-20 15:59:41 -08:00
Thaddeus Crews 74ecf68e15 Merge pull request #115111 from KoBeWi/icons_are_baaaaaaaaaaaaack
Restore context menu icons in EditorFileDialog
2026-02-20 14:34:27 -06:00
Thaddeus Crews 781ae8deb2 Merge pull request #115876 from kitbdev/fix-te-search-backwards
Fix TextEdit backwards search skipping matches
2026-02-20 11:36:08 -06:00
Thaddeus Crews f65f5c0548 Merge pull request #101468 from KoBeWi/no_events_does_not_mean_no_name
Show shortcut without events in tooltip if it has name
2026-02-19 20:29:16 -06:00
Thaddeus Crews 25045e365f Merge pull request #113808 from kleonc/texture_rect_tiling_atlas_texture
Support tiling `AtlasTexture` in `TextureRect`
2026-02-19 20:29:15 -06:00
Thaddeus Crews aa094e93e3 Merge pull request #116390 from kitbdev/fix-rtl-too-small-for-scrollbar
Fix RichTextLabel scrollbar when too small to show it
2026-02-19 19:20:44 -06:00
Yufeng Ying 37164e28f0 Remove typed_dictionary.h include 2026-02-19 13:28:06 +08:00
kit a98f695673 Fix rtl scrollbar when too small to show it 2026-02-18 19:24:52 -05:00
Thaddeus Crews d07793e7ba Merge pull request #116406 from akien-mga/cleanup-includes-displayserver
Minimize include dependencies of `display_server.h`
2026-02-18 08:28:10 -06:00
kobewi 0f521b5d76 Show shortcut without events in tooltip if it has name 2026-02-18 10:47:49 +01:00
风青山 10a91ca7cd Improve the table in RichTextLabel
The table should be neat and tidy.
2026-02-18 09:10:09 +08:00
Thaddeus Crews d1397d884a Merge pull request #116157 from Rindbee/fix-copying-text-across-frames-in-RichTextLabel
Fix copying text across tables in `RichTextLabel`
2026-02-17 14:03:59 -06:00
Rémi Verschelde ad4b910a10 Minimize include dependencies of display_server.h
- Removes `native_menu.h` dependency from `display_server.h`.
  It's now forward-declared in all DisplayServer implementations and should
  be included in the .cpp's.
- Removes some unused `rb_set.h` and `rb_map.h` dependencies, which leads to
  having to include them explicitly in half the scene and editor codebase...
  which shows how much we depend on `display_server.h`.
- Forward-declare `input_event.h`, so now we need only `keyboard.h`.
2026-02-17 19:45:31 +01:00
Thaddeus Crews 23d7147d1e Merge pull request #116381 from Ivorforce/hashset-explicit-copy
Change `HashSet` copy constructor from implicit to explicit.
2026-02-17 09:28:26 -06:00
Thaddeus Crews dc6222782f Merge pull request #102858 from TCROC/toggle-line-edit-with-action
Fix LineEdit only being editable via keyboard and mouse
2026-02-17 09:28:22 -06:00
Lukas Tenbrink c9249346c4 Change HashSet copy constructor from implicit to explicit. 2026-02-16 23:10:33 +01:00
Thaddeus Crews 1e12317895 Merge pull request #115646 from Ivorforce/list-explicit-copy
Change `List` copy constructor from implicit to explicit.
2026-02-16 15:02:34 -06:00
Thaddeus Crews 3110686b3a Merge pull request #116343 from kitbdev/fix-control-error-freeze
Fix Control minimum size check too aggressive
2026-02-16 10:19:34 -06:00
Thaddeus Crews cf406533c8 Merge pull request #114283 from KoBeWi/adding_physical_buttons
Change TabContainer's popup button into real Button
2026-02-16 10:19:22 -06:00
kit 739869359a Fix Control minimum size check too agressive 2026-02-15 21:22:07 -05:00
kleonc a289ee7f62 Support tiling AtlasTexture in TextureRect 2026-02-14 15:21:59 +01:00
风青山 76a2ab7fbf Fix the table is too wide when using indentation in RichTextLabel
Line indentation (offset) is not taken into account when calculating
the available width of the table.

However, when drawing a table, its offset takes into account line
indentation.
2026-02-11 20:15:08 +08:00
风青山 f9c31d3483 Fix copying text across tables in RichTextLabel
Previously, using `\r` instead of `\n` for line breaks in tables (e.g.,
in class references) could cause issues when copying text across tables.
2026-02-11 15:43:20 +08:00
Thaddeus Crews d61fc4529f Merge pull request #116032 from BrotherShort/fix-inaccurate-tree-relationship-lines
Fix inaccurate tree relationship lines
2026-02-10 10:34:35 -06:00
Travis Lange 1cbad83f83 allow toggling line edit via action that isn't keyboard 2026-02-10 10:54:46 -05:00
BrotherShort a8ae40d590 fix inaccurate tree relationship lines
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2026-02-09 20:14:55 +08:00
kleonc 4e8d5062e6 Fix drag-resizing Control with non-zero pivot_offset_ratio 2026-02-08 20:18:39 +01:00
kobewi 44f9d7fa2e Change TabContainer's popup button into real Button 2026-02-08 18:13:45 +01:00
Thaddeus Crews 8557916777 Merge pull request #115935 from Repiteo/style/inc-to-h
Style: Convert `*.gen.inc` to `*.gen.h` for ninja
2026-02-06 08:17:55 -06:00
Danil Alexeev 6e3dc38835 Editor: Improve appearance of built-in help 2026-02-06 11:15:59 +03:00
Thaddeus Crews 7dae5da198 Style: Convert *.gen.inc to *.gen.h 2026-02-05 19:47:56 -06:00