summaryrefslogtreecommitdiff
path: root/editor/debugger
AgeCommit message (Collapse)Author
2022-12-16Fix String::word_wrap() for long wordsHaoyu Qiu
- Changes `TextServer.string_get_word_breaks()` - Returns pairs of boundary start and end offsets - Accepts `chars_per_line` to return line breaks - Removes `String::word_wrap()` Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-12-08Add remote history to EditorUndoRedoManagerkobewi
2022-11-29Use forward-declarations in big editor classestrollodel
2022-11-25[Editor] Add button to keep the debug server open.Fabio Alessandrelli
The setting is stored in the project editor metadata, and the server is automatically started/stopped when the option change (only stopped if no session is currently active). The CLI option `--debug-server` now also forces the server to stay open (without saving the state, unlike the menu option). This commit also removes the "Keep debugger open" option in the script editor "debug" menu. That option was really confusing, it used to hide the bottom panel if and only if the debugger pane was selected, so if you had your output log open instead (default when pressing play) it would effectively do nothing. Having an option to save a click in such a very specific case seems very overkill.
2022-11-25FIx debugger can't inspect sub objects.Zae
2022-11-16Merge pull request #68709 from MewPurPur/instance-begone-part3Rémi Verschelde
Remove more instances of 'instance' being used as a verb
2022-11-16Remove more instances of 'instance' being used as a verbVolTer
2022-11-14Remove redundant Variant-types initializationsMarkus Sauermann
2022-11-14[MP] Move engine and editor profilers to a plugin.Fabio Alessandrelli
Also refactor the editor plugin out of the ReplicationEditor.
2022-11-14[Editor] Better expose EditorDebuggerPlugin.Fabio Alessandrelli
Now splitted into two classes: - EditorDebuggerPlugin (RefCounted). - EditorDebuggerSession (abstract). This allows the EditorPlugin to be in control of the debugger plugin lifecycle, be notified when sessions are created, and customize each of them independently. We should slowly transition the various profilers and captures in ScriptEditorDebugger to their own plugins, and decouple ScriptEditorDebugger from it's UI part (making it the "real" EditorDebuggerSession potentially dropping the wrappers).
2022-11-11Use a bold font for section titles in the editor performance monitorHugo Locurcio
2022-10-31Merge pull request #62416 from Calinou/movie-maker-request-attention-on-finishRémi Verschelde
Request attention on the editor window when done recording a movie
2022-10-31Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde
Unify usage of GLOBAL/EDITOR_GET
2022-10-20Add buttons in Remote Scene TreeMicky
A Scene button to any scene instantiated from file. When clicked, it opens the original PackedScene. A toggle visibility button is also available.
2022-10-18Unify usage of GLOBAL/EDITOR_GETkobewi
2022-10-14Make some Image methods statickobewi
2022-10-11Use `JSON::stringify` where possibleMicky
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-06Debugger: Fix fetching source to link C++ error on GitHubRémi Verschelde
Fixes #66974.
2022-09-26Style: Cleanup header guards for consistencyRémi Verschelde
Fix file names for {Static,Lightmap}RaycasterEmbree.
2022-09-14Merge pull request #65490 from halgriffiths/profiler-fixRémi Verschelde
Fix broken profiler in 4.0
2022-09-13Fix profiler being disabled at wrong timeshalgriffiths
Co-authored by: Will Whitty <tavurth@gmail.com>
2022-09-09Merge pull request #63640 from mbe9/fix_noneditable_remote_objectsRémi Verschelde
2022-09-08Remove read-only status from EditorDebuggerRemoteObjectSaracenOne
2022-08-30Merge pull request #64377 from Mickeon/rename-canvas-redrawRémi Verschelde
Rename `CanvasItem.update()` to `queue_redraw()`
2022-08-30Rename TreeItem's `set_tooltip` to `set_tooltip_text`Micky
`set_tooltip` -> `set_tooltip_text` `get_tooltip` -> `get_tooltip_text` For consistency: `get_button_tooltip` -> `get_button_tooltip_text` And the `tooltip` parameter in `add_button` was renamed to `tooltip_text`
2022-08-29Rename `CanvasItem.update()` to `queue_redraw()`Micky
Affects a lot of classes. Very thoroughly checked signal connections and deferred calls to this method, add_do_method/add_undo_method calls, and so on. Also renames the internal `_update_callback()` to `_redraw_callback()` for consistency. Just a few comments have also been changed to say "redraw". In CPUParticles2D, there was a private variable with the same name. It has been renamed to `do_redraw`.
2022-08-29Merge pull request #65023 from Faless/js/4.x_is_webRémi Verschelde
2022-08-29[Web] Rename JavaScript platform to Web.Fabio Alessandrelli
Also rename export name from "HTML5" to "Web".
2022-08-29Revert "Remove NOTIFICATION_ENTER_TREE when paired with ↵Rémi Verschelde
NOTIFICATION_THEME_CHANGED" This reverts commit 4b817a565cab8af648c88cfc7ab6481e86ee3625. Fixes #64988. Fixes #64997. This caused several regressions (#64988, #64997, https://github.com/godotengine/godot/issues/64997#issuecomment-1229970605) which point at a flaw in the current logic: - `Control::NOTIFICATION_ENTER_TREE` triggers a *deferred* notification with `NOTIFCATION_THEME_CHANGED` as introduced in #62845. - Some classes use their `THEME_CHANGED` to cache theme items in member variables (e.g. `style_normal`, etc.), and use those member variables in `ENTER_TREE`, `READY`, `DRAW`, etc. Since the `THEME_CHANGE` notification is now deferred, they end up accessing invalid state and this can lead to not applying theme properly (e.g. for EditorHelp) or crashing (e.g. for EditorLog or CodeEdit). So we need to go back to the drawing board and see if `THEME_CHANGED` can be called earlier so that the previous logic still works? Or can we refactor all engine code to make sure that: - `ENTER_TREE` and similar do not depend on theme properties cached in member variables. - Or `THEME_CHANGE` does trigger a general UI update to make sure that any bad theme handling in `ENTER_TREE` and co. gets fixed when `THEME_CHANGE` does arrive for the first time. But that means having a temporary invalid (and possibly still crashing) state, and doing some computations twice which might be heavy (e.g. `EditorHelp::_update_doc()`).
2022-08-28Merge pull request #64885 from Mickeon/rename-tooltip-hintRémi Verschelde
Rename `hint_tooltip` to `tooltip_text` & setter getter
2022-08-27Remove NOTIFICATION_ENTER_TREE when paired with NOTIFICATION_THEME_CHANGEDAaron Record
2022-08-27Rename `hint_tooltip` to `tooltip_text` & setgetMicky
`hint_tooltip` -> `tooltip_text` `set_tooltip` -> `set_tooltip_text` `_get_tooltip` -> `get_tooltip_text` Updates documentation, too.
2022-08-23Disable editing properties in foreign resourcesSaracenOne
from imported scenes or objects returning true from a function named '_is_read_only' and disable resaving imported resources.
2022-08-22Merge pull request #59564 from KoBeWi/FINALLY,_ULTIMATE_UNDO_REDORémi Verschelde
2022-08-22Add per-scene UndoRedokobewi
2022-08-18Make Debugger/Misc LineEdits uneditablekobewi
2022-08-02Fix editing of remote objects in the inspectorPavel Pletnev
2022-07-31Merge pull request #56063 from KoBeWi/dragging_nodes_over_wifiRémi Verschelde
2022-07-31Extract EditorResourceConversionPlugin into its own source files and clean ↵Yuri Sizov
up editor includes
2022-07-31Add node path drag from remote treekobewi
2022-07-29Remove Signal connect bindsJuan Linietsky
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
2022-07-26Split up editor export code into multiple filesAaron Franke
2022-07-25Merge pull request #63436 from Calinou/editor-debugger-require-script-instanceRémi Verschelde
2022-07-25Require ScriptInstance to be valid in the editor debuggerHugo Locurcio
This fixes an issue with visual scripts spamming error messages in the editor when running the project with the remote scene tree visible.
2022-07-25Code quality: Fix header guards consistencyRémi Verschelde
Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
2022-07-18Rename Control PRESET_WIDE to PRESET_FULL_RECTFireForge
2022-07-09Seperate filter and description in FileDialog.add_filter()FireForge
2022-07-08Add static methods for creating Image and ImageTexturekobewi
2022-07-07Merge pull request #62108 from bruvzg/font_config_v3Rémi Verschelde