Commit Graph

1886 Commits

Author SHA1 Message Date
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
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
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
a19ea880cf UIRichText and UITextSpan: Allow span's to have children. 2026-03-04 01:45:59 -03:00
Martín Lucas Golini
0c1bbb6959 Improved RichText support, added more support for basic HTML elements. 2026-03-04 01:04:34 -03:00
Martín Lucas Golini
7ba21c8a0d Register some new tags. 2026-03-03 01:40:49 -03:00
Martín Lucas Golini
607aeb35d5 Fixed a stupid bug in Texture.
More UIRichText fixes, now inherits correctly the UIRichText font style into all of the span children.
2026-03-02 01:36:18 -03:00
Martín Lucas Golini
fc0f33201c RichText class now can hold any Drawable.
Added UIRichText with spans (UITextSpan). Still a WIP but core is working.
2026-03-02 00:20:24 -03:00
Martín Lucas Golini
3b671bbb97 Added documentation to Node, UINode, UIWidget, SceneNode and UISceneNode with the help of AI + human supervision (hopefully I didn't miss any important detail). I chose these classes given that they are core classes of the UI framework. 2026-02-27 00:22:58 -03:00
Martín Lucas Golini
677aab8e0c UIAbstractView::findRowWithText now accepts FindRowWithTextMatchKind instead of a boolean to force equal comparison.
Refactor of some examples, added a new hello world example but using UIApplication.
ecode: Fixed how it filters the `sbt`, `srt` and `sb` universal locator switches.
2026-02-26 00:32:48 -03:00
Martín Lucas Golini
a9901ef23b Allow to configure window shadow style with: window-shadow-color, window-shadow-offset, window-shadow-size. 2026-02-16 13:32:14 -03:00
Martín Lucas Golini
106af2f060 Minor refactor. 2026-02-15 00:07:08 -03:00
Martín Lucas Golini
1b1782bb2d I'll need this later.
Updated TODO.
2026-02-13 20:38:44 -03:00