Commit Graph

49 Commits

Author SHA1 Message Date
Martín Lucas Golini
f2a70f9589 This should fix two crashes:
* A crash during debugging that happens due to invalid memory access (UIAbstractView + VariablesModel changes).
* A crash on ChatUI when closing a chat that was about to receive a server response.
2026-03-06 00:53:05 -03:00
Martín Lucas Golini
ccf5a49f88 Minor fix in AI chat file links.
Minor improvements in breeze CSS rules and color scheme translator.
2026-02-23 01:05:33 -03:00
Martín Lucas Golini
4850833b00 A couple of minor changes in AI Assistant: Added option to regenerate the conversation title (useful for when you clone a conversation and you modify it). And allow to copy conversation bubbles during AI response. 2026-02-21 12:11:33 -03:00
Martín Lucas Golini
106af2f060 Minor refactor. 2026-02-15 00:07:08 -03:00
Martín Lucas Golini
ccd6da0a1b Fix a bug in LLMChatCompletionRequest that missed parsing packets without a complete JSON object (affected Copilot and Perplexity).
Fix a bug in Markdown parser, I misinterpreted the documentation.
2026-02-10 01:01:41 -03:00
Martín Lucas Golini
7977cd99dd Minor changes in DropDownList style.
Added StringMapModel and an example.
2026-02-09 13:37:18 -03:00
Martín Lucas Golini
f2d491384d Some UI widgets constructor refactor and minor function renaming.
Added Moonshot LLM models support.
2026-02-04 01:31:43 -03:00
Martín Lucas Golini
f180e58e56 Added Settings -> Window -> UI Theme -> Syntax Color Scheme to use the editor color scheme globally for the UI Theme colors, having a single color palette for the whole UI and making much easier to style the UI, this solves SpartanJ/ecode#661, since now we support one UI theme for each existing syntax color scheme. Still a WIP, I'll continue improving it during the development of 0.7.5, but it's ready to use. 2026-01-18 01:38:27 -03:00
Martín Lucas Golini
ac91cedf9c Added support for maximizing the current tab widget (commands: maximize-tab-widget and restore-maximized-tab-widget), it can also be triggered right clicking a tab -> Maximize Tab Widget (SpartanJ/ecode#651).
Added UINodeLink, this is a very simple node that lets you set a link to another node.
Improved focus control in the status bar panels and windows.
It's possible now in UICodeEditorSplitter to cancel a split request with a custom function checker.
When downloading a file that it's not a supported format, it will try to open with the default external program set in the host OS.
2026-01-11 13:32:48 -03:00
Martín Lucas Golini
d6f60354c1 Improve UIWindow default focusing behavior.
Adjust `window-flags` behavior when used from CSS.
Display a download progress window when download-file-web is used. Also support loading images and sounds from downloads.
Minor safety checks added for engine termination and window closing.
Minor changes in Http.
2026-01-10 01:49:20 -03:00
Martín Lucas Golini
014d2b767c Improve UIMenu positioning (allow to take into account the trigger button to position). 2026-01-01 14:17:10 -03:00
Martín Lucas Golini
da5ca25297 Added a Copy Contents button in AI Chat UI globes (since copying directly won't resolve the links automatically).
Fix how `ECODE_SHAREDIR` is set.
Fix a very rare race condition in LSPClientPlugin.
Always resolve line number when locating files (do not enforce the need of the absolute path).
Add aliases for YAML and Markdown.
2025-12-28 23:28:59 -03:00
Martín Lucas Golini
2c4dc55b8f Minor changes in LLM Chat UI.
Fixes in shorthand parsing for background-position.
Fix in alignment for non-editable UITextInput.
2025-12-15 00:21:20 -03:00
Martín Lucas Golini
661c453d94 Added menu-width-mode for UIDropDownList. 2025-12-14 18:41:41 -03:00
Martín Lucas Golini
5f30967f80 Re-enable LM Studio models. 2025-12-11 18:38:44 -03:00
Martín Lucas Golini
c5bcf349ed Allow to link files in AI Assistant.
In Http connections destroy connection on early exit.
2025-12-08 01:59:11 -03:00
Martín Lucas Golini
e3ca29842f Rename TextLayouter and move the static functions to TextLayout.
Several fixes in AI Assistant chat UI.
TextLayout cache is now returned as a shared pointer to avoid copying the struct each time.
Some minor changes in FontTrueType and FontManager.
ShapedGlyph now stores the TextDirection of each glyph.
2025-11-17 00:23:58 -03:00
Martín Lucas Golini
42390607aa Add an extra test for text shaper.
Do not disable AI assistant chat blocks when waiting or getting the AI response (allow to copy the contents).
2025-11-01 00:13:44 -03:00
Martín Lucas Golini
fcc517a926 Display tooltip also for chat names. 2025-10-11 22:40:15 -03:00
Martín Lucas Golini
30e7b84c05 Reduce some padding in UI elements.
Minor change in AI assistant attachments UX.
2025-10-10 13:57:24 -03:00
Martín Lucas Golini
3d002678a8 Added "join-lines" (SpartanJ/ecode#669).
Added "move-to-previous-paragraph", "move-to-next-paragraph", "select-paragraph", "delete-paragraph" (SpartanJ/ecode#670).
Updated codicon font and changed the AI Assistant main icon.
Improved `CommandPalette::build`.
2025-10-01 00:50:03 -03:00
Martín Lucas Golini
7e6de3f9b2 Added keyboard shortcut operations in the file system tree view, to complete SpartanJ/ecode#71. 2025-09-07 19:48:29 -03:00
Martín Lucas Golini
bdde898d52 MouseBindings in UICodeEditor WIP. 2025-08-25 00:41:54 -03:00
Martín Lucas Golini
54aaeb4931 Spell-checked the whole project. 2025-08-22 01:33:51 -03:00
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
1e95c07a1f Detect reasoning withing chat in ollama chat completion.
Fix minor bug in Http async.
2025-08-11 00:23:18 -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
da4386ddff Address: Specifying non-existing working directory for a build step isn't handled properly (SpartanJ/ecode#432).
ChatUI hide tooltips after button click.
Enable Tab Stops by default.
2025-04-10 18:40:46 -03:00
Martín Lucas Golini
dcfef15231 Leave coments for later. 2025-04-08 00:14:08 -03:00
Martín Lucas Golini
2d62165657 Minor fixes in xit and markdown definitions.
Minor fix in text wrap.
Chat UI now displays Google Gemini error messages.
2025-04-06 23:41:35 -03:00
Martín Lucas Golini
6a3b58edc2 Allow to lock conversations in history (to not be deleted when deleting in mass).
Allow to delete files older than N number of days.
Improved the key bindings in chat ui editors.
Improved C3 syntax highlighting.
Try no to change the current tab when closing the other splitter.
2025-04-04 21:59:09 -03:00
Martín Lucas Golini
473d4b48c9 Allow to configure the AI Assistant Chat UI keybindings.
Allow to prefer the LSP formatter over the command line formatter in the formatter plugin, changed that option as the default for the cases where we use clangd (which fallbacks to clang-format but does diff the file).
2025-03-31 22:40:15 -03:00
Martín Lucas Golini
8f090aba4a Fix some not ready all data from exited process. 2025-03-30 13:22:18 -03:00
Martín Lucas Golini
0ed85dc407 Update language definitions with some of the latest changes (remove auto-injected rules).
Allow search in chat input.
2025-03-29 18:49:12 -03:00
Martín Lucas Golini
5a728ddbfd Fix LLM Chat UI scroll.
Add some shortcuts to LLM Chat UI.
2025-03-29 16:54:57 -03:00
Martín Lucas Golini
7870ecbebe LLM Chat UI improvements. 2025-03-29 15:57:39 -03:00
Martín Lucas Golini
c7c45a87cf Fixes in UICodeEditor mouse click in gutter.
Added some basic culling in UICodeEditor.
Remember the Chat UI input text.
2025-03-29 02:17:56 -03:00
Martín Lucas Golini
f721ef92df Added a new tokenization method for the SyntaxTokenizer based on customized parsers. Initially is being used to parse numbers in C, C++ and JavaScript/TypeScript. This method is much more flexible and can be much faster than regex or lua patterns.
Improvets in AI Assistant.
Fix regression in size calculation of a UIAbstractTableView.
Fix in project search path filters.
2025-03-28 02:15:20 -03:00
Martín Lucas Golini
d003e49319 More improvements for AI Assistant UI.
Minor fix exporting syntax definitions.
2025-03-27 01:25:52 -03:00
Martín Lucas Golini
8ac5e1e2e8 Refactor in SyntaxDefinition and related classes.
Minor improvements in CPP, CSS, xit syntax highlighting.
AI Assistant / LLM Chat now can restore previous opened chats and states (last model used, panel split), can have private conversations, can clone a previous conversation, plus some visual improvements.
Fixed a bug in tab widget splitting.
2025-03-26 23:55:29 -03:00
Martín Lucas Golini
030b8dd9e6 Added Gemini 2.5 Pro Experimental support.
Minor changes in UIScrollView (now updates click step by default).
Minor optimization in SyntaxTokenizer.
Fix UIImage wrap_content and autosize.
Do not crash if no display is available.
2025-03-26 00:14:56 -03:00
Martín Lucas Golini
5b69427540 Minor refactor in abstract table view. 2025-03-25 01:49:58 -03:00
Martín Lucas Golini
cfd66fa438 Chat history WIP.
Reverted completion fuzzy search.
2025-03-23 03:37:34 -03:00
Martín Lucas Golini
12b2114a56 More ChatUI WIP. 2025-03-20 10:43:17 -03:00
Martín Lucas Golini
770afa4a23 Minor modifications. 2025-03-15 22:42:26 -03:00
Martín Lucas Golini
129057ee03 Generate summary and save conversation WIP. 2025-03-15 01:25:05 -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
2bccd1f836 More AI Assistant WIP. 2025-03-12 01:27:20 -03:00
Martín Lucas Golini
4ef3dfa312 AI Assistant WIP (first working version, no settings available and many things pending but chat working). 2025-03-11 22:04:46 -03:00