Commit graph

219 commits

Author SHA1 Message Date
A Thousand Ships
ee79386f7b
[Scene] Add SceneStringNames::pressed 2024-05-14 15:51:28 +02:00
kobewi
413c11357d Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
A Thousand Ships
b4c6cc7d82
[Core] Add case-insensitive String::containsn 2024-05-08 12:48:01 +02:00
Rémi Verschelde
e63252b421
Merge pull request #90705 from AThousandShips/foreach_list
Reduce and prevent unnecessary random-access to `List`
2024-05-07 09:04:44 +02:00
Joel Kuntz
94e5bada97 Update ConnectDialog::_filter_method_list to be case insensitive for search string
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-05-06 09:05:57 -03:00
A Thousand Ships
955d5affa8
Reduce and prevent unnecessary random-access to List
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
accessing a single element)

* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
* Remade existing operations into other solutions when applicable
2024-05-04 16:08:55 +02:00
Danil Alexeev
a714cb9f65
Editor: Display deprecated/experimental messages in tooltips 2024-04-18 14:32:04 +03:00
jsjtxietian
4aa5c80c07 Fix connection dialog raise error when it was previously opened in another scene 2024-04-11 12:57:58 +08:00
RedMser
9cd30208d6 Improve SceneTreeEditor usability
- Mark contextually relevant node
- Remember/Clear selection as appropriate
- Scroll to marked/selected node
2024-03-31 21:35:10 +02:00
Haoyu Qiu
f298aaa956 Fix unexpected auto-translation of more editor components 2024-03-28 10:50:57 +08:00
Haoyu Qiu
8cd1ebbd6d Fix unexpected auto translation of Tree content 2024-03-18 09:31:00 +08:00
Rémi Verschelde
b18942d429
Merge pull request #89405 from KoBeWi/receiver,_do_you_copy
Select method name edit when opening connection dialog
2024-03-12 14:23:06 +01:00
passivestar
3199c294f9 Allow connecting signals to existing methods without opening the script editor 2024-03-12 15:50:54 +04:00
kobewi
c1a034297d Select method name edit when opening connection dialog 2024-03-12 00:51:50 +01:00
Muller-Castro
1638c1b28f Add const lvalue ref to editor/* container parameters 2024-02-26 15:28:15 -03:00
kobewi
a031911c82 Use check_changed_settings_in_group() everywhere 2024-02-19 21:34:45 +01:00
Rémi Verschelde
ef7c045f1c
Merge pull request #88317 from passivestar/signal-connect-search
Add support for search shortcut to signal connection dialog
2024-02-17 00:23:39 +01:00
Paul Joannon
9fa2355cef
Disable signal callback generation in C# 2024-02-14 13:26:45 +01:00
passivestar
c2c791fed2 Add support for search shortcut to signal connection dialog 2024-02-14 11:47:15 +04:00
passivestar
97a77c5193 Add support for search shortcut to all docks 2024-01-22 22:37:59 +04:00
Madalaski
3b9fc45f8c Fixing a usability issue where the DEL key does not delete connections 2024-01-17 00:51:43 +00:00
Yuri Sizov
95b27fe8c7 Reorganize code related to editor theming
This change introduces a new EditorThemeManager class
to abstract theme generatio and its subroutines.

Logic related to EditorTheme, EditorColorMap, and editor
icons has been extracted into their respective files with
includes cleaned up.

All related files have been moved to a separate folder to
better scope them in the project. This includes relevant
generated files as well.
2024-01-16 11:57:45 +01:00
Raul Santos
38f1df15f0
Set icon_max_width in the ConnectionsDock tree 2023-10-16 18:04:08 +02:00
Rémi Verschelde
7b999ee074
Merge pull request #81284 from YeldhamDev/this_one_was_in_the_backlog_for_a_while
Show doc tooltips when hovering properties in the theme editor
2023-10-06 16:50:48 +02:00
Rémi Verschelde
4c799d44d0
Merge pull request #82875 from SaracenOne/disconnect_button_disable
Disable disconnect button for inherited signals
2023-10-05 22:51:00 +02:00
Saracen
054934fde3 Disable disconnect button for inherited signals 2023-10-05 19:10:51 +01:00
Michael Alexsander
34e6b86134
Show doc tooltips when hovering properties in the theme editor 2023-10-04 11:53:08 -03:00
Michael Alexsander
ae91644c73
Revamp how documentation tooltips work 2023-10-03 17:40:51 -03:00
Rémi Verschelde
e09ac40372
Merge pull request #81750 from Mickeon/fix-connection-dock-popup-for-inherited
Fix Connection dock's popups always allowing disconnect
2023-09-18 10:38:15 +02:00
Rémi Verschelde
c63e0aefcf
Merge pull request #79366 from dalexeev/gds-signal-info-and-callback
Editor: Improve signal callback generation
2023-09-17 14:45:47 +02:00
Micky
4471e7fe92 Fix Connection dock's popups always allowing disconnect 2023-09-16 21:46:00 +02:00
A Thousand Ships
75ee58fd04 [Editor] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable 2023-09-15 20:15:39 +02:00
Danil Alexeev
4b5daf06ef
Editor: Improve signal callback generation 2023-09-11 18:45:39 +03:00
kobewi
6de34fde27 Add EditorStringNames singleton 2023-09-03 19:58:18 +02:00
Danil Alexeev
c33ca26e17
Editor: Inspector and Signal docks improvements 2023-09-02 08:50:28 +03:00
Danil Alexeev
8efa3cebd9
Editor: Signal Connection Dock improvements 2023-08-29 09:59:58 +03:00
Danil Alexeev
fe5bcadb73
Editor: Don't cache script signal descriptions 2023-08-17 18:59:37 +03:00
Danil Alexeev
1d5539cf77
Editor: Improve Signal Dock for script classes
* Add signal documentation for script classes.
* Use separate sections for script class inheritance.
2023-08-16 13:05:10 +03:00
Rémi Verschelde
6ed632be27
Merge pull request #54071 from KoBeWi/infinite_unlimited_connections
Focus current node after connecting
2023-07-07 16:01:17 +02:00
Raul Santos
47ed332499
Allow base types in method params of connection dialog 2023-06-17 03:39:10 +02:00
kobewi
d17c522991 Focus current node after connecting 2023-06-12 17:07:47 +02:00
Rémi Verschelde
c5d9470c7c
Merge pull request #75765 from YuriSizov/editor-node-optimize-includes
Improve includes of `EditorNode` (and everything else)
2023-04-11 19:40:24 +02:00
Yuri Sizov
8d887158cb
Merge pull request #75844 from KoBeWi/shy_label
Fix method dialog label
2023-04-10 16:22:01 +02:00
kobewi
c399d4f26c Fix method dialog label 2023-04-09 09:45:27 +02:00
Haoyu Qiu
936c9e83b4 Fix connect signal dialog not allowing Unicode method name 2023-04-08 16:31:25 +08:00
Yuri Sizov
4154039832 Improve includes of EditorNode (and everything else)
Also start organizing editor-specific GUI components
into a dedicated folder, `editor/gui`.
Also move `editor_file_server` next to the rest of debugger classes.
2023-04-07 18:59:49 +02:00
Hakim
5aa8b9ee61 Reload built in script to get its methods on signal connection 2023-03-06 16:20:30 +01:00
kobewi
4b1d577b5c Improve Connect Dialog navigation 2023-02-06 22:56:41 +01:00
kobewi
0a726862ea Simplify Connect Dialog layout and sizing 2023-02-01 17:02:48 +01:00
Rémi Verschelde
17a8597355
Merge pull request #72312 from KoBeWi/signature_move
Improve Connection Dialog method list
2023-01-30 15:19:02 +01:00