summaryrefslogtreecommitdiffstats
path: root/editor/debugger/editor_debugger_node.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add per-scene UndoRedokobewi2022-08-221-2/+6
|
* Remove Signal connect bindsJuan Linietsky2022-07-291-10/+10
| | | | | Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
* Fix Debugger tab not updating when clearing errorskobewi2022-06-061-34/+38
|
* Use range iterators for RBSet in most casesAaron Record2022-05-191-2/+2
|
* Replace most uses of Map by HashMapreduz2022-05-161-1/+1
| | | | | | | | | | | | * 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!
* Cleanup EditorNode and EditorDataHendrik Brucker2022-03-301-1/+1
| | | | Co-authored-by: Eric M <itsjusteza@gmail.com>
* Make `TabBar/Container` default their alignments to the left instead of centerMichael Alexsander2022-03-171-1/+0
|
* Remove VARIANT_ARG* macrosreduz2022-03-091-2/+2
| | | | | | | | * 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.
* Merge pull request #58687 from YeldhamDev/the_beast_has_been_slainRémi Verschelde2022-03-041-1/+1
|\
| * Make `TabContainer` use `TabBar` internallyMichael Alexsander2022-03-031-1/+1
| |
* | Fix debugger not opening built-in scriptskobewi2022-03-021-2/+14
|/
* Port existing _notification code to use switch statements (part 1/3)jmb4622022-02-161-96/+97
|
* Remove most EditorNode constructor parameters and fieldstrollodel2022-02-141-1/+1
|
* Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-121-0/+1
|
* Merge pull request #57796 from akien-mga/revert-sname-theme-settersRémi Verschelde2022-02-081-11/+11
|\
| * Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde2022-02-081-11/+11
| | | | | | | | | | | | | | | | 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.
* | Refactor some object type checking code with `cast_to`Rémi Verschelde2022-02-081-1/+1
|/ | | | Less stringly typed logic, and less String allocations and comparisons.
* Add missing SNAME macro optimization to all theme methods calljmb4622022-02-061-11/+11
|
* Add missing SNAME macro optimization in some function callsjmb4622022-02-061-1/+1
|
* Store panels and docks singletons in their own classestrollodel2022-01-201-7/+7
|
* Add global breakpoint listPaulb232022-01-151-0/+1
|
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke2021-12-091-1/+1
|
* Auto-Increment Debugger PortNathan Franke2021-12-041-0/+5
| | | | Note: This PR also changes the port of the GDScript Language Server from 6008 to 6005. This opens enough ports above the debug port (6007) for this change to be useful.
* Improve appearance of the editor Debugger bottom panel menuHugo Locurcio2021-10-271-0/+5
| | | | | | | - Make the Debugger bottom panel menu more prominent when there are errors or warnings by adjusting the text color. - Add some spacing to the right of the error/warning icon for better visual appearance.
* Use range iterators for `Map`Lightning_A2021-09-301-5/+5
|
* Merge pull request #52226 from Faless/debugger/4.x_start_optionsRémi Verschelde2021-09-141-4/+4
|\
| * [Editor] Editor debugger binds according to editor settings.Fabio Alessandrelli2021-08-291-4/+4
| |
* | Merge pull request #51639 from Ev1lbl0w/gsoc21-dapFabio Alessandrelli2021-09-011-0/+3
|\ \ | |/ |/| Implement more advanced features for DAP
| * Implemented advanced features of DAPEv1lbl0w2021-08-311-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Fix camera override not workingrequizm2021-08-211-0/+11
|/
* Implemented initial DAP supportEv1lbl0w2021-08-021-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Optimize StringName usagereduz2021-07-181-14/+14
| | | | | | | | | | | * 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.
* Rename `instance()`->`instantiate()` when it's a verbLightning_A2021-06-191-1/+1
|
* fix stop debugger on closing gameStefan Boronczyk2021-04-231-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 🎆
* Rename empty() to is_empty()Marcel Admiraal2020-12-281-2/+2
|
* Rename Control margin to offsetMarcel Admiraal2020-12-231-4/+4
|
* Debugger: Save options in project metadataRémi Verschelde2020-11-171-9/+25
| | | | Fixes #19542.
* Added debugger plugin supportsimpu2020-08-261-0/+27
| | | | | | 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.
* Style: Enforce braces around if blocks and loopsRémi Verschelde2020-05-141-21/+42
| | | | | Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
* Style: Enforce separation line between function definitionsRémi Verschelde2020-05-141-0/+8
| | | | | | | | | | | | | | | | | | | | | | | I couldn't find a tool that enforces it, so I went the manual route: ``` find -name "thirdparty" -prune \ -o -name "*.cpp" -o -name "*.h" -o -name "*.m" -o -name "*.mm" \ -o -name "*.glsl" > files perl -0777 -pi -e 's/\n}\n([^#])/\n}\n\n\1/g' $(cat files) misc/scripts/fix_style.sh -c ``` This adds a newline after all `}` on the first column, unless they are followed by `#` (typically `#endif`). This leads to having lots of places with two lines between function/class definitions, but clang-format then fixes it as we enforce max one line of separation. This doesn't fix potential occurrences of function definitions which are indented (e.g. for a helper class defined in a .cpp), but it's better than nothing. Also can't be made to run easily on CI/hooks so we'll have to be careful with new code. Part of #33027.
* Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde2020-05-141-3/+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.
* Support multiple debug protocols.Fabio Alessandrelli2020-05-121-10/+2
|
* Use a different icon for the debugger tab with both warnings and errorsHugo Locurcio2020-05-091-3/+5
| | | | | This makes it possible to see if both errors and warnings were pushed without having to open the tab.
* Replace NULL with nullptrlupoDharkael2020-04-021-4/+4
|
* Popups are now windows also (broken!)Juan Linietsky2020-03-261-10/+9
|
* Update editor debugger to new remote debugger.Fabio Alessandrelli2020-03-081-0/+1
| | | | | Shared RemoteDebuggerPeer code between client and server. Move editor profilers inside editor/debugger folder.
* Threaded networking for editor debugger.Fabio Alessandrelli2020-03-081-9/+35
|
* Signals: Port connect calls to use callable_mpRémi Verschelde2020-02-281-37/+20
| | | | | | | | | 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.)