Commit Graph

4175 Commits

Author SHA1 Message Date
Martín Lucas Golini
3715933d7a Fix folder not closing when a terminal has focus (SpartanJ/ecode#890).
Fix release notes in nightly.
2026-04-25 11:41:30 -03:00
Martín Lucas Golini
bc37296f66 Added kerning cache in FontTrueType. 2026-04-25 02:03:21 -03:00
Martín Lucas Golini
c76f9bf3c2 Merge remote-tracking branch 'origin/develop' into develop 2026-04-25 01:19:35 -03:00
Martín Lucas Golini
18ff217a11 Don't lock the editor while matching brackets. 2026-04-25 01:13:50 -03:00
Martín Lucas Golini
1a2d4b1473 Fix in AI Assistant keybindings. 2026-04-25 00:31:06 -03:00
Martín Lucas Golini
f21972fd75 Merge remote-tracking branch 'origin/develop' into develop 2026-04-24 19:36:38 -03:00
Martín Lucas Golini
42108f442a Properly display untracked files diff view. 2026-04-24 19:36:30 -03:00
Martín Lucas Golini
dea87f345e Disable ASAN leak detection when run unit-tests with xvfb-run (because the tool leaks all X11 windows). 2026-04-24 12:00:45 -03:00
Martín Lucas Golini
7d2d4c0a3b Address comment: https://github.com/SpartanJ/ecode/discussions/884#discussioncomment-16692272 . 2026-04-24 00:15:39 -03:00
Martín Lucas Golini
0bb3f1157f Auto-Close brackets improvements:
1. Word boundary behavior: Typing an opening bracket directly preceding an alphanumeric character prevents auto-closing. (e.g. typing ( before word correctly inserts ( without closing it).
2. Whitespace boundary behavior: Typing an opening bracket before a space triggers normal auto-closing.
3. Forward unbalanced brackets: Typing an opening bracket when there's an unmatched closing bracket ahead on the same line prevents auto-closing (so typing ( when the line is () ) doesn't insert an extra )).
4. Balanced brackets: Regular auto-closing when brackets are completely matched.
5. Quote balancing: If the line already has balanced quotes and your cursor is right before a quote, typing a quote will just overwrite/step over the right quote instead of adding a new pair.

(SpartanJ/ecode#888)
2026-04-23 16:12:25 -03:00
Martín Lucas Golini
8fef89138b Change the Update Tag step in CI. 2026-04-21 17:07:23 -03:00
Martín Lucas Golini
9ccd79b2a7 Upgrade softprops/action-gh-release 2026-04-21 12:56:32 -03:00
Martín Lucas Golini
eec7eeb284 Fix a possible dead-lock during closing.
Update to actions/checkout@v6.
2026-04-21 00:20:39 -03:00
Martín Lucas Golini
7307b524f4 Fix UISceneNode::solveRelativePath.
Some fixes in LLM Chat UI, also added the option to display the reasoning (`display_reasoning`).
2026-04-20 01:42:12 -03:00
Martín Lucas Golini
7ec6e3cf1f Greatly improved signature help rendering, now allows to render in multi-line with text-wrapped and it's enabled by default. Added new options for the Auto Complete Plugin:
* **max_signature_helper_width**: The maximum width in stylesheet length of the signature helper (default value: "90%").
* **max_suggestion_documentation_width**:  The maximum width in stylesheet length of the currently selected suggestion item documentation (default value: "100%").
* **signature_help_multi_line**: Enables the signature help to be rendered in multiple lines if needed (wraps text), otherwise it will render in a single line and ensure the current parameter is visible.
* **suggestion_documentation**:  Enables the suggestion item documentation.

(SpartanJ/ecode#874).
2026-04-19 00:52:03 -03:00
Martín Lucas Golini
878307df78 Ups, forgot to export the new class in Windows build. 2026-04-18 15:55:59 -03:00
Martín Lucas Golini
4180e9d7c3 Separate the box placement logic into an static class UIPlacementUtils so it can be used in different cases (SpartanJ/ecode#874). 2026-04-18 15:24:27 -03:00
Martín Lucas Golini
da1bbda8c7 Much better documentation placement in the auto-complete suggestions function/method documentation (SpartanJ/ecode#874). 2026-04-18 13:27:03 -03:00
Martín Lucas Golini
18be45681d Prevent miss-matching new/delete when using ASAN. 2026-04-17 18:22:40 -03:00
Martín Lucas Golini
9a094f8770 Reset multi-selection with escape in UITreeViewFS. 2026-04-17 00:26:29 -03:00
Martín Lucas Golini
3908920485 Fix annoying warning. 2026-04-16 23:18:59 -03:00
Martín Lucas Golini
20f44697a0 Add support to select multiple-files in file tree view (SpartanJ/ecode#869). 2026-04-16 19:13:43 -03:00
Martín Lucas Golini
ac811a38d9 Add getSelectionRange to UIAbstractTableView and UITreeView. 2026-04-16 01:00:38 -03:00
Martín Lucas Golini
e15925dc1e Fix arm64 builds with premake5-beta8 (they broke it with this PR: https://github.com/premake/premake-core/pull/2591). 2026-04-15 12:00:02 -03:00
Martín Lucas Golini
47bab386bb Forgot to delete this file... 2026-04-15 01:55:40 -03:00
Martín Lucas Golini
3d894eb566 Add Together LLM provider to the AI Assistant plugin. 2026-04-15 01:45:30 -03:00
Martín Lucas Golini
f95f32eeba Add ${relative_dir} useful to solve case mentioned at https://github.com/SpartanJ/ecode/discussions/876 2026-04-15 00:34:49 -03:00
Martín Lucas Golini
4a4da521d9 Change default keybindings using option+key for macOS to make possible to input text with those key combinations. Mostly changes on modifier keys for some operations: status control panels will switch with mod+number and ctrl+number will switch to tab number, also ctrl+tab and ctrl+shift+tab will advance and move to previous tab.
Also: "lsp-symbol-code-action" will default to cmd+return. "format-doc" will default to mod+option+f.
Important: these changes do not *change* any currently configured shortcut, existing users will have to migrate manually, this is intentional to not disrupt current users work flows.
These changes are for the issue: SpartanJ/ecode#877.
2026-04-14 20:56:49 -03:00
Martín Lucas Golini
530c869a02 Added TERM_PROGRAM and TERM_PROGRAM_VERSION environment variables to the new terminal instances (SpartanJ/ecode#878). 2026-04-14 18:32:14 -03:00
Martín Lucas Golini
04db5aa2f7 Fix text span attribute changes not updating the layout.
Fix UIHTMLBody.maxWidthResizingBug.
2026-04-14 01:24:50 -03:00
Martín Lucas Golini
16579dad0e margin: auto support.
background from body to html when html background is transparent.
2026-04-14 00:54:47 -03:00
Martín Lucas Golini
e2b9b47b21 A couple of nits. 2026-04-13 15:42:27 -03:00
Martín Lucas Golini
9a6733e52b Some improvements to the ACP protocol. 2026-04-12 20:26:37 -03:00
Martín Lucas Golini
382781edec Make auto-indent configurable (none, preserve, smart). 2026-04-12 16:42:54 -03:00
Martín Lucas Golini
2e481f40f3 Update app title when focusing any new tab that it's not an editor or a terminal. 2026-04-12 15:45:04 -03:00
Martín Lucas Golini
c013546d52 Implemented what it's described in SpartanJ/ecode#852 (Curly braces completion and Enter behavior). Which is also the same behavior mentioned in SpartanJ/ecode#875 and is an improvement for SpartanJ/ecode#294. 2026-04-12 13:55:26 -03:00
Martín Lucas Golini
88e88ab592 Add a few keybindings to the AI Assistant plugin. 2026-04-12 01:26:39 -03:00
Martín Lucas Golini
a401f260e8 Fix underline in some cases not being rendered.
Fix UIWidget::propagateInheritedProperty incorrect length calculation in some specific cases.
2026-04-11 00:23:03 -03:00
Martín Lucas Golini
5c18b2c02f A couple of minor improvements to the UIFileDialog. 2026-04-10 01:56:24 -03:00
Martín Lucas Golini
400d143d9c Fix emscripten build. 2026-04-09 11:13:33 -03:00
Martín Lucas Golini
9c80091bba Fix Android build.
Add Brotli support to Compression, IOStreamInflate and HTTP client.
2026-04-09 01:43:25 -03:00
Martín Lucas Golini
7d09138bb0 Add woff2 font format support.
Try again luck with the test that it's failing in macOS...
2026-04-09 00:54:22 -03:00
Martín Lucas Golini
b43508b106 CI fails on macOS just because (window has a different size for some unrelated bug I cannot replicate or control), trying different window size. 2026-04-09 00:26:38 -03:00
Martín Lucas Golini
8bbb61d8f5 Open folder if valid on press enter in path input (SpartanJ/ecode#872).
Improved resources path solving.
Minor changes in tests.
2026-04-08 20:05:52 -03:00
Martín Lucas Golini
b2a4239c14 Fix path issues in Windows. 2026-04-08 16:47:59 -03:00
Martín Lucas Golini
57929621df Prevent a crash when signature parameters are incorrect.
"About ecode" close with escape (SpartanJ/ecode#873).
2026-04-08 15:51:35 -03:00
Martín Lucas Golini
f72b1c2f13 Fix failing build with mingw. 2026-04-08 10:43:44 -03:00
Martín Lucas Golini
7c86ced332 Disable some test until i found out why they fail badly on windows.
Minor fixes in UIRichText for late recomputations (InvalidWidthLengthComputation4 test).
2026-04-08 02:01:47 -03:00
Martín Lucas Golini
fd01c1ad2c Add a few HTML visual tests. 2026-04-08 01:02:23 -03:00
Martín Lucas Golini
311dffba7c Improved RichText custom sizes to indicate if it's a block. 2026-04-08 00:28:23 -03:00