summaryrefslogtreecommitdiffstats
path: root/editor/debugger/debug_adapter
Commit message (Collapse)AuthorAgeFilesLines
* Fix copyright headers referring to GodotSpartan3222024-10-277-14/+14
|
* Rebrand preambles to RedotSpartan3222024-10-137-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit e8542b06acca3c1bdeee4b528411771f0819f084) Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* Rebrand Godot 4.3 to RedotTrashguy2024-10-131-1/+1
|
* Fix Steam input "crc" errors, and some other Coverity reports of ↵Rémi Verschelde2024-05-311-13/+13
| | | | | | | uninitialized scalar variable - Fixes #88630. - Fixes #92578.
* [DAP] Add --dap-port as a command line argument, very similar to --lsp-portIvan Shakhov2024-05-302-3/+6
|
* [Scene] Add SceneStringNames::pressedA Thousand Ships2024-05-141-1/+1
|
* Merge pull request #91619 from AThousandShips/find_improveRémi Verschelde2024-05-081-1/+1
|\ | | | | | | Replace `find` with `contains/has` where applicable
| * Replace `find` with `contains/has` where applicableA Thousand Ships2024-05-081-1/+1
| | | | | | | | | | | | | | * Replaces `find(...) != -1` with `contains` for `String` * Replaces `find(...) == -1` with `!contains` for `String` * Replaces `find(...) != -1` with `has` for containers * Replaces `find(...) == -1` with `!has` for containers
* | [Core] Add case-insensitive `String::containsn`A Thousand Ships2024-05-081-1/+1
|/
* Reduce and prevent unnecessary random-access to `List`A Thousand Ships2024-05-042-3/+4
| | | | | | | | | Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when accessing a single element) * Removed subscript operator, in favor of a more explicit `get` * Added conversion from `Iterator` to `ConstIterator` * Remade existing operations into other solutions when applicable
* Add PackedVector4Array Variant typeK. S. Ernest (iFire) Lee2024-05-031-0/+22
| | | | | Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* DAP: Fix typo in parsing of PackedVector3ArrayRémi Verschelde2024-05-021-1/+1
|
* Organize existing code for editor pluginsAaron Franke2024-04-271-1/+1
|
* Merge pull request #89475 from rsubtil/feature-add_message_type_to_dapRémi Verschelde2024-03-144-9/+10
|\ | | | | | | Add output type to DAP `output` events
| * Add output type to DAP `output` eventsRicardo Subtil2024-03-144-9/+10
| |
* | Add missing `variablesReference` field to DAP `evaluate` requestRicardo Subtil2024-03-031-0/+1
|/
* Use check_changed_settings_in_group() everywherekobewi2024-02-191-1/+4
|
* Prevent race condition on initial breakpoints from DAPRicardo Subtil2023-11-144-3/+28
|
* Merge pull request #75836 from rsubtil/bugfix-dap_windows_pathFabio Alessandrelli2023-06-192-0/+12
|\ | | | | Fix DAP path mismatch on Windows
| * Fix DAP path mismatch on WindowsRicardo Subtil2023-04-082-0/+12
| |
* | Extract editor run toolbar into its own componentYuri Sizov2023-04-192-12/+11
| | | | | | | | | | | | | | | | - Simplify and update its logic. - Simplify EditorScript. - Improve EditorNode and other relevant includes. - Fix scene-based path in the movie writer when reloading a scene.
* | Fix misuses of error macrosDanil Alexeev2023-04-181-1/+1
| |
* | Poll LSP/DAP clients for connection status updatesRicardo Subtil2023-04-091-0/+1
|/
* Move remote debug buttons to a single menu.bruvzg2023-01-141-1/+1
|
* One Copyright Update to rule them allRémi Verschelde2023-01-057-203/+203
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Unify usage of GLOBAL/EDITOR_GETkobewi2022-10-181-2/+2
|
* Use `JSON::stringify` where possibleMicky2022-10-111-1/+1
|
* Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-072-10/+10
| | | | change warnings=all to use /W4.
* [Web] Rename JavaScript platform to Web.Fabio Alessandrelli2022-08-291-1/+1
| | | | Also rename export name from "HTML5" to "Web".
* Extract EditorResourceConversionPlugin into its own source files and clean ↵Yuri Sizov2022-07-312-0/+2
| | | | up editor includes
* Split up editor export code into multiple filesAaron Franke2022-07-261-0/+1
|
* Code quality: Fix header guards consistencyRémi Verschelde2022-07-254-4/+4
| | | | | Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
* Clean up Hash Functionsreduz2022-06-201-1/+1
| | | | | | | Clean up and do fixes to hash functions and newly introduced murmur3 hashes in #61934 * Clean up usage of murmur3 * Fixed usages of binary murmur3 on floats (this is invalid) * Changed DJB2 to use xor (which seems to be better)
* Replace most uses of Map by HashMapreduz2022-05-164-15/+18
| | | | | | | | | | | | * 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!
* Merge pull request #60627 from aaronfranke/rename-elementsRémi Verschelde2022-05-031-12/+12
|\ | | | | Rename Transform2D and Basis `elements` to `columns` and `rows` respectively
| * Rename Basis "elements" to "rows"Aaron Franke2022-04-291-6/+6
| |
| * Rename Transform2D "elements" to "columns"Aaron Franke2022-04-291-6/+6
| |
* | Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init`Rémi Verschelde2022-05-021-3/+3
|/ | | | | | | | | | | Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors.
* Fix type name typo in Debug Adapter ProtocolAaron Franke2022-04-241-4/+4
|
* Zero initialize all pointer class and struct membersRémi Verschelde2022-04-041-1/+1
| | | | | This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr.
* Port existing _notification code to use switch statements (part 1/3)jmb4622022-02-161-4/+7
|
* Editor: Cleanup some includes dependenciesRémi Verschelde2022-02-151-0/+1
| | | | | | | | | | | Removes some unnecessary includes from `editor_node.h`, and instead add those where they're used. Removes unnecessary `editor_node.h` includes in various editor classes. Renames `dynamicfont` to `dynamic_font` in a couple files. Misc cleanup while jumping through that rabbit hole.
* Update copyright statements to 2022Rémi Verschelde2022-01-037-14/+14
| | | | Happy new year to the wonderful Godot community!
* Fix various typosluz paz2022-01-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Found via ` codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn` Update editor/import/resource_importer_layered_texture.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update doc/classes/TileSetScenesCollectionSource.xml Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/graph_edit.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/rich_text_label.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Revert previously committed change
* Don't return reference on copy assignment operatorsRémi Verschelde2021-11-301-8/+33
| | | | | | | | | | | | | We prefer to prevent using chained assignment (`T a = b = c = T();`) as this can lead to confusing code and subtle bugs. According to https://en.wikipedia.org/wiki/Assignment_operator_(C%2B%2B), C++ allows any arbitrary return type, so this is standard compliant. This could be re-assessed if/when we have an actual need for a behavior more akin to that of the C++ STL, for now this PR simply changes a handful of cases which were inconsistent with the rest of the codebase (`void` return type was already the most common case prior to this commit).
* Use range iterators for `Map`Lightning_A2021-09-301-2/+2
|
* Implemented advanced features of DAPEv1lbl0w2021-08-317-55/+765
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Implemented initial DAP supportEv1lbl0w2021-08-028-0/+1586
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