Commit Graph

4134 Commits

Author SHA1 Message Date
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
Martín Lucas Golini
20c826d2ae Some minor stuff. 2026-04-07 13:27:07 -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
1be1137ebd Forgot to include dir for args library. 2026-04-06 02:48:33 -03:00
Martín Lucas Golini
dbde511d99 Fix UIRichText children sizing, take into account padding. 2026-04-06 02:39:14 -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
c3135e0b84 Deprecate TextInputPassword and its aliases. 2026-04-04 22:03:03 -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
2a410876a7 Fix "box" shorthand parser.
AI Assistant: Added some new free models.
Fixed a crash in UIWidgetInspector.
2026-04-04 02:42:10 -03:00
Martín Lucas Golini
56c8bdcc5b Treat width/height px units as dp in HTML environments for better scaling. 2026-04-04 00:53:07 -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
d4ec180134 ecode: allow configuring the default working directory of a new terminal (SpartanJ/ecode#857). Fix border of app_hint.
eepp: UIHTMLTable column width calculation improvements.
2026-04-03 18:21:44 -03:00
Martín Lucas Golini
5c264ce906 ecode: allow configuring the default working directory of a new terminal 2026-04-03 17:28:59 -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
461965f73d Fix SpartanJ/ecode#868. 2026-04-03 13:24:08 -03:00
Martín Lucas Golini
b824d47800 Fix inputs! 2026-04-02 11:52:45 -03:00
Martín Lucas Golini
81afcda1b1 Log the LSP command used to run the LSP. 2026-04-02 11:37:36 -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
e379103478 Improved HTML Table rendering, several fixes related to that. 2026-04-01 01:49:37 -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
d86a93e2ca Fixes in solveRelativePath. 2026-03-31 00:37:27 -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
aa9138a12e Fix gumbo parser linking in mingw. 2026-03-29 21:21:40 -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
b7726b8767 Should fix MSVC build.
As for the MingW build I'll check if `--cc=gcc` works in the CI environments, since premake5-beta8 deprecated `--cc=mingw` which was an alias of `gcc`.
2026-03-29 15:11:41 -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
e1f64d3d51 Tests should pass with these changes. 2026-03-29 01:04:50 -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
08e62828b7 Try to catch the segmentation faults in linux unit tests. 2026-03-28 16:06:20 -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
f9023edcbe Mmh?? 2026-03-28 03:03:45 -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
084152ec09 Don't force the Diff View when opening diff or patch files, give a menu option to show the diff preview (closes issue SpartanJ/ecode#863). 2026-03-27 11:24:05 -03:00
Martín Lucas Golini
3286f3d0b7 Update lspclient.json to separate command from its parameters. 2026-03-27 10:48:26 -03:00