Commit Graph

4042 Commits

Author SHA1 Message Date
Martín Lucas Golini
047ce7abdd Fix terminal close warning spawning multiple times and allowing to crash the app. 2026-03-20 12:40:40 -03:00
Martín Lucas Golini
141dcc7f88 Fix ft not displaying when no project is loaded (SpartanJ/ecode#853).
Added extension .cps to be treated as JSON (SpartanJ/ecode#851).
Added `NVIDIA: Nemotron 3 Super` model from OpenRouter.
2026-03-19 20:10:25 -03:00
Martín Lucas Golini
c201c8bb50 Fix text-selection in opencode. There was an incorrect handling of the terminal state. 2026-03-18 20:07:55 -03:00
Martín Lucas Golini
880511fea7 Added margin support in UIRichText.
Added TextDecoration property.
2026-03-18 01:19:24 -03:00
Martín Lucas Golini
6e7180b0dc Added basic support for properties inheritance in CSS.
Added support for "style" property in widgets.
Fixed a crash in Text when trying to render a shadow from an outlined text.
2026-03-17 21:33:37 -03:00
Martín Lucas Golini
ceef7532b6 premake4: I've found an issue with 4.4-beta5 when changing the soname it needs to have the .so. premake 4.3 seem to add it automatically and if it's present it does work the same.
Some minor adjustment in UISceneNode::loadLayout* functions.
2026-03-17 11:09:03 -03:00
Martín Lucas Golini
5968ea0873 Greatly improved crash window, now displays the stack-trace and let the user go to report it. 2026-03-16 17:53:50 -03:00
Martín Lucas Golini
d2dc5f9f35 A couple of minor changes on how we handle the stack-trace saving on Windows (closes SpartanJ/ecode#835). 2026-03-16 01:41:31 -03:00
Martín Lucas Golini
9409a82092 Added syntax highlighting for WebAssembly Text Format (SpartanJ/ecode#842) and WebAssembly Interface Types (SpartanJ/ecode#844).
Improvements in SyntaxTokenizer TextMate compatability.
Fixed debugging types definition scripts.
2026-03-16 01:11:23 -03:00
Martín Lucas Golini
afb055405e Do not change terminal scroll position on terminal resize. 2026-03-15 16:47:53 -03:00
Martín Lucas Golini
7b246033b9 Merge branch 'feature/terminal-reflow' into develop 2026-03-15 00:43:15 -03:00
Martín Lucas Golini
01c0475811 Merge branch 'develop' into feature/terminal-reflow 2026-03-14 22:05:26 -03:00
Martín Lucas Golini
1e322aca1a Fix MSVC build (again). 2026-03-14 22:03:39 -03:00
Martín Lucas Golini
1ccde36e1f Remove simd.hpp which is problematic for various compilers and it's not being used actively. 2026-03-14 18:06:54 -03:00
Martín Lucas Golini
d3bee7a7eb Merge remote-tracking branch 'origin/develop' into develop 2026-03-14 17:55:38 -03:00
Martín Lucas Golini
a1bc99d619 Added amalgamate.py to generate an eepp.hpp single header include (issue #172).
Added `find_missing_includes.py` that checks if all the header files of each module in the "general" module includes are included.
With this I udpated the pending includes in the modules.
2026-03-14 17:55:26 -03:00
Martín Lucas Golini
9141036e11 This really fixes MSVC build. 2026-03-14 16:56:04 -03:00
Martín Lucas Golini
b16a97aa39 This could fix the MSVC build (not tested). 2026-03-14 16:38:15 -03:00
Martín Lucas Golini
4718a52423 Migrated from robin_hood to unordered_dense (for UnorderedMap and UnorederedSet).
Added support for SmallVector using svector (and we are already using it in a couple of places).
Added debug symbol inspector script for the new SmallVector in project/scripts/debug.
Added tilde support for files and folders passed as parameters from the CLI in ecode (and added FileSystem::expandTilde).
Fixed a bug in "light-dark" parsing.
2026-03-14 15:13:41 -03:00
Martín Lucas Golini
1d9dcb40f7 Implemented TerminalEmulator::xgetcolor. 2026-03-13 01:51:52 -03:00
Martín Lucas Golini
aea26546b8 Fixed a rare crash provoked by two factors:
* Fixed LSPDocumentClient::~LSPDocumentClient: It now explicitly calls `mDoc->unregisterClient(this);`. This ensures that whenever the client is destroyed—whether by the server shutting down or just the document closing—it cleanly detaches from the TextDocument.
* Fixed `TextDocument::notifyDocumentClosed` Iterator Invalidation: Since `onDocumentClosed` is called during a loop over `mClients`, and `LSPDocumentClient` now unregisters itself during that exact same loop, it was modifying the `mClients` `std::unordered_set` while it was being iterated (which is undefined behavior). I changed `notifyDocumentClosed` to iterate over a copy of the clients, safely allowing clients to unregister themselves when they receive the notification.
2026-03-13 01:00:46 -03:00
Martín Lucas Golini
752ef139a2 Don't clear rectangular selection on size change. 2026-03-12 20:33:05 -03:00
Martín Lucas Golini
382a5d2476 Terminal selection reflow fixes. 2026-03-12 15:41:42 -03:00
Martín Lucas Golini
acb76936c1 Selection reflow. 2026-03-12 03:03:30 -03:00
Martín Lucas Golini
3c782905da Allow to load linked CSS from HTML. 2026-03-12 02:48:40 -03:00
Martín Lucas Golini
a8384f183b Terminal reflow improvements, add debounce for reflow when not in alt screen, clear prompt line and refresh the buffer for better readjustment of the prompt line. 2026-03-12 01:29:20 -03:00
Martín Lucas Golini
aee6292ebf Correctly vertically align text spans of different sizes in RichText. 2026-03-11 22:02:33 -03:00
Martín Lucas Golini
b063cbfecf Layout fixes. 2026-03-11 02:46:19 -03:00
Martín Lucas Golini
a83812272c Fix accidental spaces inserted in chat ui. 2026-03-09 19:14:53 -03:00
Martín Lucas Golini
8dd4124518 Optimized layouting of UIHTMLTable.
Fixed in HTMLFormatter not handling correctly spaces after `<br/>`.
2026-03-09 02:26:33 -03:00
Martín Lucas Golini
61fad1b4a3 Some nits. 2026-03-09 01:29:38 -03:00
Martín Lucas Golini
6fd0950eba Minor fix in RichText. 2026-03-09 00:31:38 -03:00
Martín Lucas Golini
fe1149ffcf Terminal Reflow WIP 2026-03-09 00:25:15 -03:00
Martín Lucas Golini
d45ffbfe23 Add basic HTML tables support, this allows us to display tables in Markdown files. 2026-03-08 21:51:30 -03:00
Martín Lucas Golini
24ec4eed87 Fix windows build. 2026-03-08 18:47:23 -03:00
Martín Lucas Golini
4320f4aa2f Fix <style> loading with the new XML CDATA loading rules.
Fix how spaces and new lines are handled in UIRichText and UITextSpan.
2026-03-08 17:28:53 -03:00
Martín Lucas Golini
06332d4f2e Fix stupid crash in tests. 2026-03-08 16:19:56 -03:00
Martín Lucas Golini
e8f4c9c8f7 More improvements in Markdown and basic HTML support (WIP!). 2026-03-08 16:00:36 -03:00
Martín Lucas Golini
d56ee554f4 Fix unit test. 2026-03-08 03:49:29 -03:00
Martín Lucas Golini
9514b0fd73 Several general improvements and fixes across the UI: UIRichText, UITextSpan, UIImage, UIScrollView. 2026-03-08 03:05:17 -03:00
Martín Lucas Golini
2d3a7b3032 Add blockquote support.
Fix a border rendering bug.
Fix background-color in UIRichText.
2026-03-07 03:33:10 -03:00
Martín Lucas Golini
638608b48d Fix anchors in UIRichText by using an special Anchor implementation for UITextSpan (extends from it).
Implemented proper hit-boxes for UITextSpan.
2026-03-07 02:07:56 -03:00
Martín Lucas Golini
cebde979c9 Fixes and sanity checks for issue SpartanJ/ecode#836. Added several tests that triggered the crashes. 2026-03-06 19:14:38 -03:00
Martín Lucas Golini
4edc8453fd Minor fix in RichText selection font color . 2026-03-06 14:17:39 -03:00
Martín Lucas Golini
1473f6b4b6 Add text selection support to RichText and UIRichText. 2026-03-06 12:25:33 -03:00
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
6a9c2bbeeb Fix background color in Text (should render over text and not the bounding rectangle.
Having fixed this added background color to UIRichText and UITextSpan.
2026-03-05 21:27:35 -03:00
Martín Lucas Golini
99f4711408 Fix Android build. 2026-03-05 10:32:15 -03:00
Martín Lucas Golini
d6fa55a696 Added UIMarkdownView and Markdown class (integrated md4c into eepp).
Fixes in HTML rendering.
Fix deadlock in Http pool shutdown.
2026-03-05 01:31:25 -03:00
Martín Lucas Golini
1a20708d78 Fix Windows build. 2026-03-04 10:26:48 -03:00