Commit Graph

1899 Commits

Author SHA1 Message Date
Martín Lucas Golini
a79fde17d2 Improve table-layout algorithms and added fixed table layout support. 2026-04-03 19:24:14 -03:00
Martín Lucas Golini
e2b931b2e6 Fixes in HTTP Redirection.
Fix in UIRichText fixed width.
2026-04-03 17:24:02 -03:00
Martín Lucas Golini
c039536b26 Added input-mode to UITextInput and deprecated UITextInputPassword to simplify the implementation.
Added Http::setDefaultUserAgent.
2026-04-03 15:53:08 -03:00
Martín Lucas Golini
39176282bd User "command_parameters" is not appended anymore, now it replaces (closes SpartanJ/ecode#865).
Try to fix issues in Git::status update (SpartanJ/ecode#866).
2026-04-02 01:59:38 -03:00
Martín Lucas Golini
dd6b6a11bf Added basic HTML inputs support.
Fixes in StyleSheet::removeAllWithMarker and added StyleSheet::removeAllWithoutMarker.
2026-04-02 01:17:11 -03:00
Martín Lucas Golini
ae89625819 Add cellspacing and cellpadding support to the HTML Table. 2026-04-01 11:49:06 -03:00
Martín Lucas Golini
6ed9193b9e Improvements in the HTML Table performance, still WIP. 2026-04-01 01:48:28 -03:00
Martín Lucas Golini
5997724d60 Fixed a couple of invalidation flags in UISceneNode:
* For layout invalidation we were removing nodes that had no direct reaction path.
* For style invalidation we werent removing nodes from the CSS Animation nodes and there was a very corner case we didn't handle.
Added mouse wheel support for the model / agent picker in LLM Chat UI.
2026-03-30 20:07:09 -03:00
Martín Lucas Golini
0f8bacf6dd Fix br element tag.
Fix gumbo dependency in ecode.
Fix crash in StyleSheet::getStyleSheetStyleByAtRule.
Plus some minor nits.
2026-03-29 20:18:19 -03:00
Martín Lucas Golini
26a97be74d Added HTML native linting.
Added HTML folding-ranges.
Fixed HTMLFormatter::HTMLtoXML.
Added `TextDocument::toString` and `TextDocument::toUtf8String`.
Fixed incorrect check for emojis in Text.
Fixed potential crash due to CSS parsing issues in StyleSheetSpecification.
2026-03-29 14:31:26 -03:00
Martín Lucas Golini
8b111779a0 Some extra WIP for the HTML support, fixed layout calculation on HTML tables and rich text elements. Fixes in the demo, probably test won't pass yet (i cannot repro the failure!). 2026-03-28 23:14:28 -03:00
Martín Lucas Golini
18bb2dcc37 Fix TextLayout Cache not invalidating during Engine destroy (this generated crashes in the unit-tests). 2026-03-28 14:13:54 -03:00
Martín Lucas Golini
a14b8f4de0 Minor fix in UIHTMLTable layouting.
Add *very* basic HTML test. And *very* basic HTML demo. This is more than basic, it's just that I need something to quickly test stuff.
2026-03-28 02:45:24 -03:00
Martín Lucas Golini
fe815e97ac Added clear-indentation command (SpartanJ/ecode#854). 2026-03-27 16:04:38 -03:00
Martín Lucas Golini
2e49dba21b Add colspan support in HTML Table. 2026-03-27 01:34:30 -03:00
Martín Lucas Golini
43a1dca16c Layouting improvements for UIImage and HTML elements.
Default StyleSheetUnit is now Dp when it's not specified (this is not used very often but in HTML mode we need to respect the DPI).
Fix MarkdownView fonts color when on Light theme.
2026-03-27 00:01:09 -03:00
Martín Lucas Golini
939316365e Fixed text-decoration in spans.
Added markdown live preview option in markdown files (I'll iterate later).
2026-03-26 01:01:04 -03:00
Martín Lucas Golini
571ed644f5 Integration of the diff/patch viewing and file comparison in ecode (SpartanJ/ecode#130). 2026-03-25 23:44:57 -03:00
Martín Lucas Golini
527c1dc56c Fix in drop-down height calculation.
Added `--diff` parameter.
Allow to load multiple files and folders from the CLI.
2026-03-25 13:20:10 -03:00
Martín Lucas Golini
d0093a7801 Added multi-file diff / patch visualization support. 2026-03-25 00:54:48 -03:00
Martín Lucas Golini
abbd2625ad Ups. Improved visuals in UIDiffView and actually fixed the tests. 2026-03-24 19:30:57 -03:00
Martín Lucas Golini
d38415f335 UIDiffView: Added Reduced / Complete toggle. Added LCS support. A lot of extra improvements. 2026-03-24 18:50:54 -03:00
Martín Lucas Golini
2d536772ba UIDiffView: Highlight sub-line differences. 2026-03-24 15:51:26 -03:00
Martín Lucas Golini
534c052722 Added side by side view in the diff viewer, allow to change view mode with a switch. Performance improvements and more. 2026-03-24 13:34:56 -03:00
Martín Lucas Golini
0e923adea9 UI: Add UIDiffView for specialized diff/patch visualization
- Integrated dtl into thirdparty for native string diffing
- Implemented UIDiffView, a composite wrapper for UICodeEditor with a custom plugin (UIDiffEditorPlugin)
- Handles dynamic string diffing and standard .patch file parsing
- Automatically extracts target filename from patch headers for proper syntax highlighting
- Corrects line numbers in gutter to match the diff origins while hiding patch headers
- Wired into App::loadDiffFromPath and GitPlugin
- Added exhaustive unit tests in uidiffview_test.cpp
2026-03-23 18:50:26 -03:00
Martín Lucas Golini
a5822268cb ACP Support Improvement for ecode (Terminal output, better error reporting). ACP plans.
Safety memory clean ups.
2026-03-23 02:48:04 -03:00
Martín Lucas Golini
c5b5203a6a Improved agent config. 2026-03-23 00:04:14 -03:00
Martín Lucas Golini
05d6d3e2a3 Redesigned LLM model selection in AI Assistant chat UI (now it's possible to search by filtering its name).
Redesigned UIDropDownList to inherit from UIDropDown which is a base class to handle different types of drop-downs. Added UIDropDownModelList which is the same as UIDropDownList but uses a UIListView by default so it's a model/view based DropDown.
Fix crash when changing states of the buttons in the build panel.
Increased the default animations speed.
2026-03-21 15:02:50 -03:00
Martín Lucas Golini
89c11fbd74 Fix create pseudo-console spawn issues in Windows (SpartanJ/ecode#856). 2026-03-20 12:41:57 -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
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
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
3c782905da Allow to load linked CSS from HTML. 2026-03-12 02:48:40 -03:00
Martín Lucas Golini
b063cbfecf Layout fixes. 2026-03-11 02:46:19 -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
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
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
e8f4c9c8f7 More improvements in Markdown and basic HTML support (WIP!). 2026-03-08 16:00:36 -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
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