summaryrefslogtreecommitdiffstats
path: root/editor/editor_log.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Extract EditorResourceConversionPlugin into its own source files and clean ↵Yuri Sizov2022-07-311-0/+2
| | | | | | | | up editor includes
* | Move editor paths into the EditorPaths classAaron Franke2022-07-291-3/+4
|/
* Adding print_rich for printing with BBCodeVoylin2022-06-291-5/+17
|
* Use consistent casing in editor filter/search barsFireForge2022-05-281-1/+1
|
* Fix editor_log text copyConteZero2022-04-081-1/+1
|
* Fix some issues found by cppcheck.bruvzg2022-04-061-2/+2
|
* Disable deselect on focus lost on editor_logConteZero2022-04-041-0/+1
|
* Improve editor log message filter button styles.Eric M2022-03-151-0/+5
|
* Port existing _notification code to use switch statements (part 1/3)jmb4622022-02-161-2/+1
|
* Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-121-2/+2
|
* Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde2022-02-081-4/+4
| | | | | | | | This reverts commit a988fad9a092053434545c32afae91ccbdfbe792. As discussed in #57725 and clarified in #57788, `SNAME` is not meant to be used everywhere but only in critical code paths. For theme methods specifically, it was by design that only getters use `SNAME` and not setters.
* Add missing SNAME macro optimization to all theme methods calljmb4622022-02-061-4/+4
|
* Fix theming update in several editor classesYuri Roubinsky2022-01-161-1/+1
|
* Update copyright statements to 2022Rémi Verschelde2022-01-031-3/+3
| | | | Happy new year to the wonderful Godot community!
* Replace String comparisons with "", String() to is_empty()Nathan Franke2021-12-091-3/+3
| | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
* Use "enum class" for input enumsAaron Franke2021-11-121-3/+3
|
* Fix incorrect encoding (Latin-1 instead of UTF-8) used in `_error_handler` ↵bruvzg2021-11-081-2/+2
| | | | functions.
* Implement toast notifications in the editorGilles Roudière2021-10-141-1/+5
|
* Use range iterators for `Map`Lightning_A2021-09-301-8/+8
|
* Fix messages with embedded newlines not being properly presentedRicardo Subtil2021-08-291-1/+1
|
* Improve naming of a couple shortcutsfox2021-08-101-1/+1
|
* Fix Output panel colors on theme changingYuri Roubinsky2021-07-211-28/+36
|
* Make various strings translatablefoxydevloper2021-07-191-4/+4
|
* Optimize StringName usagereduz2021-07-181-22/+22
| | | | | | | | | | | * Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.
* EditorLog filter buttons are now enabled/on by defaultEric M2021-06-291-12/+11
|
* Rename `instance()`->`instantiate()` when it's a verbLightning_A2021-06-191-2/+2
|
* Fixed implementation of RTL remove_line(), which fixed issues in EditorLog.Eric M2021-05-261-4/+4
| | | | | | | There were some issues in RichTextLabel `remove_line()` method, where items were not correctly removed, and line decremending for items in later lines was not correctly done. This also fixed several headaches with EditorLog, which relied on the `remove_line()` method for collapsing of duplicate messages. The fix to RTL also fixed the issues with EditorLog. Fixes #49030
* Fixed editor log collapsing of duplcate messages not workingEricEzaM2021-05-231-1/+3
|
* Fix typos with codespellRémi Verschelde2021-05-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using codespell 2.0.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof doubleclick fave findn GIRD leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
* Merge pull request #48466 from EricEzaM/output-log-save-stateRémi Verschelde2021-05-071-2/+59
|\ | | | | Made Editor Log buttons save their state, per project.
| * Made Editor Log buttons save their state, per project.Eric M2021-05-061-2/+59
| |
* | Fix blank line at start of Editor Log (reinstate #44909)Eric M2021-05-061-2/+1
|/
* Fixed issues with Editor Log after recent changesEric M2021-05-051-1/+4
| | | | Fixed #48446, Fixed #48443
* Improve output log performance.Eric M2021-05-041-6/+1
| | | | Added method to create a new line in RichTextLabel without adding an ItemNewline to the previous line. Previously, removing a line then adding a newline was adding unnecessary ItemNewline instances to the previous line, significantly the remove_line method.
* Output log rewrite and enhancements.Eric M2021-05-041-38/+222
| | | | | | | Added message type filters. Added ability to search. Added ability to collapse multiple duplicate messages into one line. Updated layout to allow for more vertical space in log text area.
* Fix odd newline in `EditorLog::add_message()`Danil Alexeev2021-01-041-2/+1
|
* Update copyright statements to 2021Rémi Verschelde2021-01-011-3/+3
| | | | | | | | | | | | | | Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
* Merge pull request #42109 from EricEzaM/PR/input-and-shortcuts-reworkRémi Verschelde2020-11-281-0/+2
|\ | | | | Shortcuts rework - fixed issues with input propagation and triggering of unwanted shortcuts.
| * Implement new shortcuts system.Eric M2020-11-231-0/+2
| | | | | | | | unhandled_key_input changed to unhandled_button_input. Controls can set a 'shortcut_context' which they can then use to determine if their shortcuts should be triggered or not, based on if the viewport's focused GUI control is a child of their 'shortcut context'.
* | [Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg2020-11-261-2/+4
|/ | | | | | | | use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
* Improvement for the Copy button in the Output LogDanil Alexeev2020-09-141-1/+9
| | | | Now if no text is selected, pressing the Copy button copies the entire text.
* Remove ToolButton in favor of ButtonHugo Locurcio2020-06-191-1/+1
| | | | | | | | | | | ToolButton has no redeeming differences with Button; it's just a Button with the Flat property enabled by default. Removing it avoids some confusion when creating GUIs. Existing ToolButtons will be converted to Buttons, but the Flat property won't be enabled automatically. This closes https://github.com/godotengine/godot-proposals/issues/1081.
* Style: Enforce braces around if blocks and loopsRémi Verschelde2020-05-141-2/+4
| | | | | Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
* Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde2020-05-141-10/+0
| | | | | | | | | | | | | | Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
* Tweak the editor log selection color to match the current editor themeHugo Locurcio2020-05-101-0/+2
| | | | This overrides the default blue color.
* Replace NULL with nullptrlupoDharkael2020-04-021-1/+1
|
* Popups are now windows also (broken!)Juan Linietsky2020-03-261-9/+9
|
* Signals: Port connect calls to use callable_mpRémi Verschelde2020-02-281-4/+2
| | | | | | | | | Remove now unnecessary bindings of signal callbacks in the public API. There might be some false positives that need rebinding if they were meant to be public. No regular expressions were harmed in the making of this commit. (Nah, just kidding.)
* Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky2020-02-201-2/+2
| | | | objects and made them default.
* Texture refactorJuan Linietsky2020-02-111-3/+3
| | | | | | | | -Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD