summaryrefslogtreecommitdiffstats
path: root/editor/debugger/script_editor_debugger.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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