summaryrefslogtreecommitdiffstats
path: root/editor/debugger/script_editor_debugger.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Draw horizontal lines and labels in the editor performance monitorsHugo Locurcio2020-06-211-21/+82
| | | | | This partially addresses https://github.com/godotengine/godot-proposals/issues/1014.
* Remove ToolButton in favor of ButtonHugo Locurcio2020-06-191-8/+16
| | | | | | | | | | | 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-38/+72
| | | | | 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/+6
| | | | | | | | | | | | | | | | | | | | | | | 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-86/+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-0/+2
|
* Merge pull request #38592 from Calinou/debugger-error-warning-iconRémi Verschelde2020-05-111-3/+5
|\ | | | | Use a different icon for the debugger tab with both warnings and errors
| * 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.
* | Style: clang-format: Disable AllowShortIfStatementsOnASingleLineRémi Verschelde2020-05-101-1/+2
|/ | | | | | | Part of #33027, also discussed in #29848. Enforcing the use of brackets even on single line statements would be preferred, but `clang-format` doesn't have this functionality yet.
* Format remote printerr properly in script debugger outputPouleyKetchoupp2020-05-011-3/+27
|
* Add ability to export VRAM usage as CSVPedro J. Estébanez2020-04-241-27/+78
|
* Replace NULL with nullptrlupoDharkael2020-04-021-3/+3
|
* Rename more 2D and 3D nodes to follow conventionRémi Verschelde2020-03-271-1/+1
| | | | Rename editor plugins to match the new node names.
* Renamed 2D and 3D nodes to make their types explicitJuan Linietsky2020-03-271-4/+4
| | | | Fixes #30736.
* Popups are now windows also (broken!)Juan Linietsky2020-03-261-34/+34
|
* Working multiple window support, including editorJuan Linietsky2020-03-261-1/+1
|
* Effective DisplayServer separation, rename X11 -> LinuxBSDJuan Linietsky2020-03-261-4/+5
|
* stop game process with KEY_F8 crash fixedThakee Nathees2020-03-191-1/+1
| | | | Fix: #37121
* Style: Set clang-format Standard to Cpp11Rémi Verschelde2020-03-171-3/+3
| | | | | | | | | | For us, it practically only changes the fact that `A<A<int>>` is now used instead of the C++03 compatible `A<A<int> >`. Note: clang-format 10+ changed the `Standard` arguments to fully specified `c++11`, `c++14`, etc. versions, but we can't use `c++17` now if we want to preserve compatibility with clang-format 8 and 9. `Cpp11` is still supported as deprecated alias for `Latest`.
* Fix various typosluz.paz2020-03-111-1/+1
| | | Found via `codespell`
* Update editor debugger to new remote debugger.Fabio Alessandrelli2020-03-081-138/+110
| | | | | Shared RemoteDebuggerPeer code between client and server. Move editor profilers inside editor/debugger folder.
* Threaded networking for editor debugger.Fabio Alessandrelli2020-03-081-45/+29
|
* Fix some bugs spotted by asan in editor debugger.Fabio Alessandrelli2020-03-051-3/+1
| | | | | | EditorDebuggerInspector is in tree, so it gets automatically deleted, when clearing errors the debugger should not fake a process notification.
* Signals: Port connect calls to use callable_mpRémi Verschelde2020-02-281-63/+29
| | | | | | | | | 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.)
* Remove this signal call that was mistakenly added in #36244nathanwfranke2020-02-241-1/+0
| | | The original change was in #36340
* Fix visuals of the new debugger editorMichael Alexsander2020-02-221-11/+7
|
* Huge Debugger/EditorDebugger refactor.Fabio Alessandrelli2020-02-211-0/+1879