summaryrefslogtreecommitdiffstats
path: root/editor/debugger/script_editor_debugger.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Fix a node reparenting warning in the editor debuggerYuri Sizov2022-01-171-1/+0
|
* Add global breakpoint listPaulb232022-01-151-1/+113
|
* Add option to filter the stack variables of GDScript debuggerYuri Roubinsky2022-01-121-1/+18
|
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* Replace String comparisons with "", String() to is_empty()Nathan Franke2021-12-091-6/+6
| | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
* align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke2021-12-091-5/+5
|
* Fix bad popups offset in editor with single window offjmb4622021-12-061-1/+1
| | | | | Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com> Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
* Added `reset_size` method to `Control` and `Window` classesYuri Roubinsky2021-11-221-1/+1
|
* Fix debugger tab which don't resetting after pressing clear buttonYuri Roubinsky2021-11-151-17/+31
|
* Rename Node's `filename` property to `scene_file_path` for clarityHugo Locurcio2021-09-301-1/+1
|
* Fix error when opening multiple debugger sessionsMichael Alexsander2021-09-261-1/+1
|
* Color error and warning lines in the editor debugger's Errors panelHugo Locurcio2021-09-241-0/+4
| | | | | This improves readability when some errors/warnings are unfolded, as their stack traces will keep their original colors.
* Merge pull request #51920 from ↵Rémi Verschelde2021-09-231-4/+4
|\ | | | | | | jmb462/missing-sname-macro-optimization-in-some-functions
| * Add missing SNAME macro optimization for StringName in some functionsjmb4622021-08-201-4/+4
| |
* | Fix error list not being clearedRicardo Subtil2021-09-161-2/+1
| |
* | Implemented advanced features of DAPEv1lbl0w2021-08-311-0/+14
|/ | | | | | | | | | | | | | | | | | | | | | | | | | Respect client "supportsVariableType" capability Implement "breakpointLocations" request Implement "restart" request Implement "evaluate" request Fix error messages not being shown, and improved wrong path message Removed thread option and behavior Implemented detailed inspection of complex variables Fix "const"ness of functions Added a configurable timeout for requests Implement Godot custom data request/event Implement syncing of breakpoints Added support for debugging native platforms
* Merge pull request #50454 from Ev1lbl0w/gsoc21-dapFabio Alessandrelli2021-08-031-10/+39
|\ | | | | Implemented initial DAP support
| * Implemented initial DAP supportEv1lbl0w2021-08-021-10/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implemented "output" event Refactored "seq" field generation Prevent debugging when editor and client are in different projects Removed unneeded references to peer on the parser Refactored way to detect project path Implemented "setBreakpoints" request Fix double events when terminating from client Refactored "stopped" event Implemented "stopped" with breakpoint event Implemented "stackTrace", "scopes" and "variables" request Report incoming number of stack dump variables Implemented proper reporting of scopes and variables from stack frames Prevent editor from grabbing focus when a DAP session is active Implemented "next" and "stepIn" requests Implemented "Source" checksum computing Switched expected errors from macros to silent guards Refactored message_id Respect client settings regarding lines/columns behavior Refactored nested DAP fields Implement reporting of "Members" and "Globals" scopes as well Fix error messages not being shown, and improved wrong path message
* | Use const references where possible for List range iteratorsRémi Verschelde2021-07-251-1/+1
| |
* | Use C++ iterators for Lists in many situationsAaron Franke2021-07-231-5/+5
| |
* | Merge pull request #38317 from verdog/get-cam-2d-4.0Rémi Verschelde2021-07-201-1/+1
|\ \ | |/ |/| add viewport.get_camera_2d()
| * add viewport.get_camera_2d()Josh Chandler2021-07-031-1/+1
| | | | | | | | | | | | * there is now a more clear distinction between camera_2d and camera_3d functions in the engine code * simplified camera2d's exported interface - now everything happens directly with the 'current' variable and make_current and clear_current are no longer exposed- there were some situations where calling one instead of set_current would result in incomplete results * rebased to current godot master
* | Optimize StringName usagereduz2021-07-181-44/+44
| | | | | | | | | | | | | | | | | | | | | | * 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.
* | Add header theme type variations to labelskobewi2021-07-131-0/+2
| |
* | Merge pull request #50086 from Geometror/label-improve-layout-optionsRémi Verschelde2021-07-131-1/+1
|\ \ | | | | | | Improvements to Label's layout options
| * | Improvements to Label's layout optionsHendrik Brucker2021-07-041-1/+1
| |/ | | | | | | | | | | - Added options to trim the text in case it overruns - Added more autowrap modes - Improved line breaking, which ignores trailing spaces
* / Clean up Treereduz2021-07-041-0/+2
|/ | | | | | | | | | | Fixes some problems introduced by #49917 * Tree used minimum size as a stretch ratio, so it forced a minimum size of 1. * Minimum size redone, stretch ratio moved to a separate setting * Fitting to contents was enforced, this is more intuitive, but in many situations this is undesired. * Added a clip content option for situations where fit to contents does not apply. * Icon would scroll with the item, making it invislbe if the item is too long. * Made icon always appear to the right (or left if RTL is enabled) of the visible item space.
* Implement Tree's internal minimum width calculationGilles Roudière2021-06-281-4/+4
|
* Improve TreeItem API and allow to move nodestrollodel2021-05-171-6/+6
|
* Add a menu action to open C++ source on GitHub in the editor debuggerHugo Locurcio2021-04-191-20/+57
| | | | | This helps user find back the source code where the error/warning was emitted from.
* Fix negative VRAM valuesEv1lbl0w2021-03-051-1/+1
|
* Update copyright statements to 2021Rémi Verschelde2021-01-011-2/+2
| | | | | | | | | | | | | | 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 #44434 from madmiraal/rename-camera3d-near-and-farRémi Verschelde2020-12-281-2/+2
|\ | | | | Rename Camera3D near and far getters and setters
| * Rename Camera3D near and far getters and settersMarcel Admiraal2020-12-201-2/+2
| | | | | | | | | | | | | | | | Renames: - get_znear() -> get_near() - set_znear() -> set_near() - get_zfar() -> get_far() - set_zfar() -> set_far()
* | Rename empty() to is_empty()Marcel Admiraal2020-12-281-4/+4
|/
* Merge pull request #42729 from opl-/feat/better-debugger-errorsRémi Verschelde2020-11-161-6/+13
|\ | | | | Improve output in Debugger Errors tab for scripts
| * Improve output in Debugger Errors tab for scriptsopl-2020-10-121-6/+13
| |
* | Variant: Rename Type::_RID to Type::RIDRémi Verschelde2020-11-091-1/+1
| | | | | | | | | | | | | | | | The underscore prefix was used to avoid the conflict between the `RID` class name and the matching enum value in `Variant::Type`. This can be fixed differently by prefixing uses of the `RID` class in `Variant` with the scope resolution operator, as done already for `AABB`.
* | Reorganized core/ directory, it was too fatty alreadyreduz2020-11-071-2/+2
|/ | | | | | -Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
* Added debugger plugin supportsimpu2020-08-261-1/+62
| | | | | | Changes: * EngineDebugger is exposed to gdscript. Game side of communication can be implemented through it. * EditorDebuggerPlugin is added which handles the editor side of communication.
* Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and ↵Stijn Hinlopen2020-07-141-2/+2
| | | | resource depency dialogs).
* Added Custom Performance Monitor and feature to read intermediate values of ↵simpu2020-06-291-231/+34
| | | | | | | | | | | | | | | | Monitor Custom monitors can be added/removed/checked using `Performance.add_custom_monitor`/`Performance.remove_custom_monitor`/`Performance.has_custom_monitor` The value can be viewed in the `Monitor` tab of Debugger. Text before `/` is used to categorize the custom monitor. `EditorPerformanceProfiler` class is created to separate logic from `ScriptEditorDebugger` User can click on the graph of monitors to read the value at that point. Graph includes intermediate base lines.