Commit Graph

91 Commits

Author SHA1 Message Date
Martín Lucas Golini
0ec2a4dba9 Try fix invalid memory access in SyntaxDefinitions.
Added attach in Chat UI.
Some minor improvements in Http pool implementation.
2025-08-12 00:49:13 -03:00
Martín Lucas Golini
a1959fd149 Fix a memory leak in the debugger session where memory was never released after session due to cyclic references in ModelVariableNode.
Fix an incorrect std::move in `DebuggerClientDap::variables` which could have caused incorrect states.
Fix invalid memory access in `LSPDocumentClient::requestSemanticHighlighting`.
2025-08-10 17:34:32 -03:00
Martín Lucas Golini
cec73de2eb Fix a couple of bugs related with use-after-free. Try to make some of the text document and syntax highlighter functionality more thread-safe. 2025-08-10 01:25:10 -03:00
Martín Lucas Golini
c9d3181e9c Prevent a possible crash on the DAP implementation. 2025-08-06 00:25:48 -03:00
Martín Lucas Golini
bd278843e6 Update plugin versions.
Registered `.cts` extension as TypeScript.
2025-07-19 19:55:34 -03:00
Martín Lucas Golini
340e3e65e2 Add some basic keybindings to the debugger. 2025-07-06 16:20:03 -03:00
Martín Lucas Golini
4877a4341a Added "Buffer Only Mode" to Global Search & Replace (#545).
emscripten build is now multi-threaded only.
2025-07-05 20:57:21 -03:00
Martín Lucas Golini
e0b763f637 Node debugger fixes.
LSP mouse hover fix when there's also a linter error in the same position.
Fix in emscripten file parameter parsing.
2025-07-02 01:41:18 -03:00
Martín Lucas Golini
c9507c2cba Allow supporting multiple "type"s per DAP.
Should fix macOS build.
2025-06-26 20:45:56 -03:00
Martín Lucas Golini
df0a58c34e Some debugger improvements for node dap.
Fixed a bug in TextDocument that created new history in the undo/redo stack when not doing any operation when trying to cut.
2025-06-26 20:19:17 -03:00
Martín Lucas Golini
5cc94842e1 Add DAP multi-session support and add Node.js debugging support. 2025-06-22 01:48:17 -03:00
Martín Lucas Golini
03df17b96b Support setting environment to the terminal process.
WIP fixes in DAP runInTerminal and working on startDebugging.
2025-06-21 02:14:43 -03:00
Martín Lucas Golini
2fb80cd94a WIP trying to support vscode-js-debug. 2025-06-20 22:18:30 -03:00
Martín Lucas Golini
b6ead5f2fd Added "Build & Run" and "Build & Debug" buttons. 2025-05-21 00:33:25 -03:00
Martín Lucas Golini
c3faa293d3 Ensure Process::create is always checked as true before continue doing anything. 2025-05-12 19:07:27 -03:00
Martín Lucas Golini
dbe674eecf Remember last used model in AI Assistant.
Minor change in goToNext and goToPrev in linter errors/warnings.
And a couple of nits.
2025-04-27 01:55:43 -03:00
Martín Lucas Golini
67a86c3c05 Process class fix a dead-lock.
Compile with C++20 (compilation might fail on some systems, let's see the CI).
Fixed V1 syntax highlighting.
2025-03-31 18:52:42 -03:00
Martín Lucas Golini
7f843ffbad Fix Process::readAll.
Fix possible crash in debugger initialization.
2025-03-19 21:09:08 -03:00
Martín Lucas Golini
88b1b4df86 Fix clearing breakpoints. 2025-03-19 00:30:26 -03:00
Martín Lucas Golini
9e6a29653f AI Assistant UI refactor.
Fixes in debugger an autocomplete plugin (from some of the new changes in both cases).
Fix UITextView not updating the aligment after padding change.
2025-03-14 21:56:05 -03:00
Martín Lucas Golini
d8aa670d12 Some minor fixes in debugger and gitplugin.
Minor visual improvement in status bar.
2025-03-14 00:30:53 -03:00
Martín Lucas Golini
276ed6bfb0 Fix UIWidget::notifyLayoutAttrChangeParent() when used during a transaction.
Fix UIWidget::setLayoutMargin* not correctly invalidating the parent layout.
Fix a complete UI lock when trying to display a UIMessageBox after failed debugging in ecode.
2025-03-02 20:29:17 -03:00
Martín Lucas Golini
a91fde6dfd Improved whitespace rendering performance on wrapped lines, now it has the same cost than non-wrapped lines.
Fixed: Debugger gutter not drawing its background.
Fixed: horizontal scrollbar sometimes being visible on wrapped documents.
Updated CSS Specification documentation.
2025-02-27 19:26:08 -03:00
Martín Lucas Golini
6a211f9d4d A few fixes to avoid crashes during debugging sessions. 2025-02-18 11:25:28 -03:00
Martín Lucas Golini
dc927e07c0 Fix command palette not displaying all available commands.
Minor very rare crash in Debugger when unloading the plugin.
Formatter will try to refresh the semantic highlighting after a document format.
2025-02-13 20:00:13 -03:00
Martín Lucas Golini
b3ed22c666 Add transformation commands for documents: escape, unscape, to-base64, from-base64. 2025-02-12 20:18:43 -03:00
Martín Lucas Golini
2bb95cb21b Pump version before release. 2025-02-09 13:04:42 -03:00
Martín Lucas Golini
75c63660b1 Support all debugger vscode predefined variables. 2025-02-06 01:21:46 -03:00
Martín Lucas Golini
d1700f07a1 Add a documentation link in debugger side panel tab. 2025-02-06 00:32:19 -03:00
Martín Lucas Golini
72c1d9fd3f Improve attach to "Run Target". Now it's possible to debug a terminal application by using this attach. 2025-02-05 02:08:31 -03:00
Martín Lucas Golini
eae433796e Highlight current debugged line.
Hid debugger panel if other panel is opened.
Silence the debugger by default.
2025-02-05 01:02:46 -03:00
Martín Lucas Golini
0b7dad2696 Update breakpoints line position if document is edited (added/removed lines). 2025-02-04 00:12:15 -03:00
Martín Lucas Golini
d3bc6f2935 Fix for multi-line signature help labels, now labels will be flatten into a single line (SpartanJ/ecode#388).
Fix next signature help position.
Fix signature help and suggestions styles for light color schemes, and some minor improvements for other schemes.
Allow to set extra trigger characters for signature help in LSP configurations (fix zig zls not updating signature position after a "," input).
Plus some other minor fixes.
2025-02-02 19:07:41 -03:00
Martín Lucas Golini
87fb9538cb Fix multi-line search in buffer bug.
Added: display new line character in selection.
Fixed a crash when trying to write into a broken pipe.
2025-01-30 01:13:04 -03:00
Martín Lucas Golini
0005f9ff09 Fix crash when staging/unstaging too fast (or something like that). 2025-01-27 16:07:38 -03:00
Martín Lucas Golini
54d230866c Fix for SpartanJ/ecode#386. 2025-01-25 19:44:21 -03:00
Martín Lucas Golini
8f3c3556cc Fix invalid access to optioanl in debugger. 2025-01-25 17:49:26 -03:00
Martín Lucas Golini
c3399143df Fixes in Git plugin staging.
Added a value viewer window in debugger.
2025-01-25 12:56:41 -03:00
Martín Lucas Golini
4bbcfdd78b Improve default PATH in macOS to make available lldb-dap from default. 2025-01-25 11:06:57 -03:00
Martín Lucas Golini
b300c9d48b Fixes for checkboxes in tree views and table views. Fixes for breakpoints enable/disable. 2025-01-25 02:09:29 -03:00
Martín Lucas Golini
3cdfc849a8 Several fixes related to breakpoints. 2025-01-24 21:43:07 -03:00
Martín Lucas Golini
4315808074 Nothing, wip. 2025-01-24 00:47:55 -03:00
Martín Lucas Golini
ce47145ba9 Fix / improve line comments toggle (SpartanJ/ecode#384).
Hide debugger panel when opening a single file.
2025-01-23 00:44:37 -03:00
Martín Lucas Golini
c945b0b659 Minor fixes in UITreeView.
Minor fixes in debugger and some new menues.
2025-01-22 00:59:52 -03:00
Martín Lucas Golini
40d21de8dd Improve hover expression, now use a treeview (still WIP but works). 2025-01-21 00:50:10 -03:00
Martín Lucas Golini
f7be6080b5 Add more debuggers. Allow to load core dumps. 2025-01-20 23:52:29 -03:00
Martín Lucas Golini
277f410ad0 WIP supporting more debuggers. 2025-01-20 19:43:56 -03:00
Martín Lucas Golini
5533ab46f1 More improvements to debugger. Allow to pick running process to debug. Improve expressions inspection. 2025-01-19 23:40:15 -03:00
Martín Lucas Golini
84f1740d2b Fix incorrectly adding watches of subfolders of currently loading directory.
WIP process id picker.
2025-01-19 01:34:15 -03:00
Martín Lucas Golini
b0d6e6153d Improve how we keep expanded variables in debugger. 2025-01-18 20:09:38 -03:00