Commit Graph

1914 Commits

Author SHA1 Message Date
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
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
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
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
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
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
311dffba7c Improved RichText custom sizes to indicate if it's a block. 2026-04-08 00:28:23 -03:00
Martín Lucas Golini
5e6c05d0c5 Fixes in Color::isColorString, added some functions to String, refactored a few things in LuaPattern. Fixed a crash while rendering text with only spaces. Improved FunctionString performance. 2026-04-07 00:05:51 -03:00
Martín Lucas Golini
535353dd02 Fixes for min-width and max-width within layouts. 2026-04-06 02:01:35 -03:00
Martín Lucas Golini
fcacef0b3d Some fixes to font-face loading. 2026-04-05 22:21:16 -03:00
Martín Lucas Golini
3fd6e5637b Fix SVG align rendering defaults to match HTML.
Fix accidental reflow on UIRichText.
2026-04-05 13:17:57 -03:00
Martín Lucas Golini
061cb53dbf Fix pt, em, rem, pc, in, cm, mm to follow HTML spec.
Fix hexa color validation in Color::isColorString.
2026-04-05 03:21:57 -03:00
Martín Lucas Golini
98088dd44d Add color boxes support (SpartanJ/ecode#825). 2026-04-04 14:11:05 -03:00
Martín Lucas Golini
385a07a385 Set minor issue when setting attributes / properties with "style" attribute. 2026-04-03 20:17:40 -03:00
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