1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

145 Commits

Author SHA1 Message Date
Anthony Carr
5d8fae428e Fix editor log search ignoring BBCode formatting in messages
When searching in the editor output log, messages with BBCode formatting
(like [color=red]text[/color]) would not be found when searching for the
plain text content. For example, searching for "Example is" in a message
"[color=blue]EXAMPLE[/color] is super cool" would fail to find the match.
2025-10-21 12:00:56 -05:00
chocola-mint
19c47c5d99 Remove #include "scene/main/timer.h" from control.h 2025-10-05 14:41:06 +09:00
Mikael Hermansson
7f5933c0f3 Make file part of errors/warnings clickable in Output panel 2025-08-01 13:44:07 +02: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
Pāvels Nadtočajevs
a272376f89 Cleanup accessibility names. 2025-06-23 11:08:36 +03:00
Pāvels Nadtočajevs
22b5a2fc5c Change editor button focus mode to FOCUS_ACCESSIBILITY. 2025-06-08 15:53:27 +03:00
Pāvels Nadtočajevs
302fa831cc Initial editor accessibility. 2025-04-08 20:25:48 +03:00
Aaron Franke
97ee05e9b7 Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp 2025-03-12 11:11:38 -07:00
Yufeng Ying
f241c1fda0 Remove unused header in editor.
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:38 +08:00
Rémi Verschelde
8a743f23e6 Merge pull request #98385 from RandomShaper/thread_yield
Rationalize busy waits
2024-12-20 23:56:39 +01:00
Haoyu Qiu
bf4e5cca3f Make editor's shortcut names translated on-site 2024-12-18 13:00:30 +08:00
Pedro J. Estébanez
4f8dd96b3d Rationalize busy waits 2024-12-13 10:14:26 +01:00
Thaddeus Crews
7ed6962252 Merge pull request #95072 from Calinou/editor-log-tweak-warning-error-formatting
Tweak warning/error formatting in EditorLog to be closer to console output
2024-12-11 17:35:56 -06:00
Chaosus
ba39b078f5 [Scene] Add SceneStringName::FlatButton 2024-12-10 11:12:26 +03:00
Hugo Locurcio
9b8833dbbf Tweak warning/error formatting in EditorLog to be closer to console output
This makes the output easier to understand when it's copied to a plain
text file (without visible colors).
2024-11-12 02:28:52 +01:00
Aaron Franke
562c666e3d Rename internal Button icon to button_icon to match exposed methods 2024-10-29 16:23:03 -07:00
Yuri Rubinsky
52889ab7ee [Scene] Add SceneStringName::toggled 2024-08-28 15:14:26 +03:00
Sébastien Dunne Fulmer
c3ed8a842c Remove confusing USER prefix from script-logged errors 2024-08-27 15:00:48 +01:00
Rémi Verschelde
a041772ecf Merge pull request #93940 from Mickeon/deprecate_RichTextLabel_is_ready
Add RichTextLabel `is_finished()`, deprecate `is_ready()`
2024-08-26 23:28:42 +02:00
Micky
edb3d99942 Add RichTextLabel is_finished(), deprecate is_ready() 2024-08-16 20:08:38 +02:00
Pedro J. Estébanez
20298fbf07 Let EditorLog use the right call queue for thread safety
This is a complement to f61c63e3a1.
2024-07-08 17:18:46 +02:00
A Thousand Ships
fbb879debd [Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
A Thousand Ships
d519715d94 [Scene] Add SceneStringNames::font(_size/_color) 2024-06-18 17:24:27 +02:00
A Thousand Ships
4ed62665a2 Replace .bind(...).call_deferred() with .call_deferred(...) 2024-05-27 13:29:57 +02:00
Christian Kaiser
6c62392fb0 Fixed log rebuilding crashing when there's no messages 2024-05-19 14:55:43 -03:00
A Thousand Ships
ee79386f7b [Scene] Add SceneStringNames::pressed 2024-05-14 15:51:28 +02:00
A Thousand Ships
b4c6cc7d82 [Core] Add case-insensitive String::containsn 2024-05-08 12:48:01 +02:00
Sofox
b823724e00 Add line limit to Editor Output Log 2024-05-02 13:28:59 +01:00
passivestar
cae610b1d2 Make the "Clear Output" shortcut not require panel focus 2024-03-15 11:40:21 +04: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
Hugo Locurcio
4a11d48420 Handle clickable [url] tags in print_rich() editor output log
Since this uses `OS.shell_open()`, this allows the use of any standard URL
including `file://` paths, `mailto:`, custom protocols set up by the user, etc.
2024-01-15 14:54:13 +01:00
Yuri Sizov
215e036600 Add bulk change guards to successive theme overrides in Editor and GUI 2023-10-19 18:14:14 +02:00
Yuri Sizov
cdec1ee6cb Color match editor log toggles and flat pressed buttons 2023-09-26 16:41:50 +02:00
Yuri Sizov
4bd569be95 Replace flat buttons with flat-styled buttons with a visible pressed state 2023-09-19 22:36:29 +02:00
kobewi
6de34fde27 Add EditorStringNames singleton 2023-09-03 19:58:18 +02:00
bruvzg
9a6ecda591 [Editor Log] Clear rich print tags only after the last line. 2023-08-10 09:48:53 +03:00
bruvzg
5216a08617 [RTL] Add pop_all, push_context and pop_context methods, and use it for print_rich to avoid unclosed tags. 2023-07-09 19:53:15 +03:00
bruvzg
488626701d Fix editor log flicker. 2023-06-12 20:15:23 +03:00
bruvzg
2af75a066f [Editor] Enable multithread processing for the editor log. 2023-05-25 22:14:15 +03:00
Hugo Locurcio
0d1f6adf98 Disable padding around highlighted rich text in the editor Output panel
This prevents `[bgcolor]` and `[fgcolor]` rendering from overlapping
on nearby characters (especially on the line below).

This also makes it look closer to terminal output (which never uses padding).
2023-05-21 00:06:23 +02:00
kobewi
61465ee9a1 Allow showing messages from threads in Editor Log 2023-05-15 01:58:27 +02:00
bruvzg
282e4231c2 Improve line BiDi handling, prevent crash on recursive log updates. 2023-04-12 11:39:05 +03:00
Danil Alexeev
306308d957 Editor Theme: Set selection_color property of RichTextLabel 2023-04-11 10:53:42 +03:00
Haoyu Qiu
2c0db8222a Set font sizes for various styles in editor output panel 2023-04-07 20:01:55 +08:00
Danil Alexeev
06c7940a5a Enable RichTextLabel context menu if selection is enabled 2023-03-06 13:18:36 +03:00
Rémi Verschelde
b342dcdf04 Remove some unused signals
Part of #37604.
2023-01-31 18:54:04 +01:00
Rémi Verschelde
d95794ec8a One Copyright Update to rule them all
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.

It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).

We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).

Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-05 13:25:55 +01:00
Koyper
e846b22da6 Renamed RTL remove_line() to remove_paragraph(). 2022-12-21 11:54:18 -06:00
Rémi Verschelde
f7c611ab71 Style: Misc docs and comment style and language fixes
- Removed empty paragraphs in XML.
- Consistently use bold style for "Example:", on a new line.
- Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`).
- Fix invalid usage of backticks for inline code in BBCode.
- Fix some American/British English spelling inconsistencies.
- Other minor fixes spotted along the way, including typo fixes with codespell.
- Don't specify `@GlobalScope` for `enum` and `constant`.
2022-11-02 19:01:18 +01:00
kobewi
15831e381b Unify usage of undo_redo in editor 2022-11-02 17:51:58 +01:00