summaryrefslogtreecommitdiffstats
path: root/editor/debugger/script_editor_debugger.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use forward-declarations in big editor classestrollodel2022-11-291-0/+2
|
* FIx debugger can't inspect sub objects.Zae2022-11-251-0/+2
|
* Merge pull request #68709 from MewPurPur/instance-begone-part3Rémi Verschelde2022-11-161-3/+3
|\ | | | | | | Remove more instances of 'instance' being used as a verb
| * Remove more instances of 'instance' being used as a verbVolTer2022-11-161-3/+3
| |
* | [MP] Move engine and editor profilers to a plugin.Fabio Alessandrelli2022-11-141-23/+1
| | | | | | | | Also refactor the editor plugin out of the ReplicationEditor.
* | [Editor] Better expose EditorDebuggerPlugin.Fabio Alessandrelli2022-11-141-43/+12
|/ | | | | | | | | | | | | | | 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).
* Unify usage of GLOBAL/EDITOR_GETkobewi2022-10-181-1/+1
|
* Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-12/+12
| | | | change warnings=all to use /W4.
* Debugger: Fix fetching source to link C++ error on GitHubRémi Verschelde2022-10-061-1/+15
| | | | Fixes #66974.
* Fix profiler being disabled at wrong timeshalgriffiths2022-09-131-3/+6
| | | | Co-authored by: Will Whitty <tavurth@gmail.com>
* Rename TreeItem's `set_tooltip` to `set_tooltip_text`Micky2022-08-301-2/+2
| | | | | | | | | `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`
* Revert "Remove NOTIFICATION_ENTER_TREE when paired with ↵Rémi Verschelde2022-08-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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()`).
* Merge pull request #64885 from Mickeon/rename-tooltip-hintRémi Verschelde2022-08-281-10/+10
|\ | | | | Rename `hint_tooltip` to `tooltip_text` & setter getter
| * Rename `hint_tooltip` to `tooltip_text` & setgetMicky2022-08-271-10/+10
| | | | | | | | | | | | | | | | `hint_tooltip` -> `tooltip_text` `set_tooltip` -> `set_tooltip_text` `_get_tooltip` -> `get_tooltip_text` Updates documentation, too.
* | Remove NOTIFICATION_ENTER_TREE when paired with NOTIFICATION_THEME_CHANGEDAaron Record2022-08-271-2/+2
|/
* Make Debugger/Misc LineEdits uneditablekobewi2022-08-181-0/+3
|
* Extract EditorResourceConversionPlugin into its own source files and clean ↵Yuri Sizov2022-07-311-1/+0
| | | | up editor includes
* Remove Signal connect bindsJuan Linietsky2022-07-291-4/+4
| | | | | Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
* Double check the selected tree item on error activated and error selected ↵Hristo Stamenov2022-07-061-0/+9
| | | | callbacks as the value might be nullptr which would cause a crash.
* Fixing Print_rich which only displays correctly in terminalVoylin2022-07-011-0/+3
| | | There was an issue that the type was not passed through correctly. These couple of lines fix this issue and make print_rich work as expected.
* Move duplicate AutoWrap, Overrun and VisibleChar behavior enums to the ↵bruvzg2022-06-161-1/+1
| | | | TextServer.
* Merge pull request #61736 from KoBeWi/final_form_of_the_fixFabio Alessandrelli2022-06-121-0/+2
|\ | | | | Fix Debugger tab not updating when clearing errors
| * Fix Debugger tab not updating when clearing errorskobewi2022-06-061-0/+2
| |
* | i18n: Misc fixes translation stringsRémi Verschelde2022-06-081-1/+1
|/ | | | Adds some translator comments to solve some questions raised on Weblate.
* Use consistent casing in editor filter/search barsFireForge2022-05-281-1/+1
|
* Add the button pressed to some signals in Treetrollodel2022-05-211-4/+12
|
* Replace most uses of Map by HashMapreduz2022-05-161-4/+4
| | | | | | | | | | | | * Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
* Rename profiler "Idle Time" to "Process Time"Hugo Locurcio2022-05-051-4/+4
| | | | | References to "idle time" are progressively being replaced by "process time" throughout the engine to avoid confusion.
* Rename Transform2D "elements" to "columns"Aaron Franke2022-04-291-1/+1
|
* Add an external link editor iconHugo Locurcio2022-04-241-1/+1
| | | | | | | | | This replaces the existing "chainlink" instance icon that was used for external links. That icon is still used for scene instancing. The icon was designed by redlamp. Co-authored-by: Taylor Wright <taylor@redlamp.org>
* Make FileAccess and DirAccess classes reference counted.bruvzg2022-04-111-2/+2
|
* Capitalize names in the debuggerFireForge2022-03-291-2/+3
|
* Add property name style toggle to InspectorHaoyu Qiu2022-03-281-1/+1
|
* Merge pull request #58233 from bruvzg/gde_tsRémi Verschelde2022-03-181-1/+1
|\
| * Unify TextServer built-in module and GDExtension code.bruvzg2022-03-171-1/+1
| |
* | Make `TabBar/Container` default their alignments to the left instead of centerMichael Alexsander2022-03-171-1/+0
|/
* More icon updates on theme changeHaoyu Qiu2022-03-151-7/+9
|
* Remove VARIANT_ARG* macrosreduz2022-03-091-9/+7
| | | | | | | | * Very old macros from the time Godot was created. * Limited arguments to 5 (then later changed to 8) in many places. * They were replaced by C++11 Variadic Templates. * Renamed methods that take argument pointers to have a "p" suffix. This was used in some places and not in others, so made it standard. * Also added a dereference check for Variant*. Helped catch a couple of bugs.
* Make `TabContainer` use `TabBar` internallyMichael Alexsander2022-03-031-5/+5
|
* Port existing _notification code to use switch statements (part 1/3)jmb4622022-02-161-1/+2
|
* Remove most EditorNode constructor parameters and fieldstrollodel2022-02-141-17/+13
|
* Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-121-0/+1
|
* Merge pull request #57715 from Faless/debugger/4.x_core_includes_and_serversRémi Verschelde2022-02-091-12/+18
|\ | | | | [Debugger] Move most profilers to ServersDebugger, fix core includes.
| * [Debugger] Move servers-related behaviours to ServersDebugger.Fabio Alessandrelli2022-02-061-0/+4
| | | | | | | | | | | | | | | | | | Forcing draw during debug break is now handled by ServersDebugger, and only happens when the proper message is sent from the EditorDebugger ("servers:draw"). In a similar way, briging the window in foreground is now also handled by ServersDebugger upon receiving "servers:foreground" which is sent by the EditorDebugger when resuming from a break ("continue").
| * [Debugger] Move most profilers to ServersDebugger.Fabio Alessandrelli2022-02-061-12/+14
| | | | | | | | | | Also splits bandwidth/rpc profiler (RPCProfiler is now in SceneDebugger).
* | Core: Move generated `VERSION_HASH` to a `.cpp` fileRémi Verschelde2022-02-091-14/+4
| | | | | | | | | | This lets us have its definition in `core/version.h` and avoid rebuilding a handful of files every time the commit hash changes.
* | Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde2022-02-081-8/+8
| | | | | | | | | | | | | | | | 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-8/+8
|/
* Add missing SNAME macro optimization in some function callsjmb4622022-02-061-3/+3
|
* Rename Variant::is_ref() to is_ref_counted()Pedro J. Estébanez2022-01-201-2/+2
|