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
Martín Lucas Golini
7977cd99dd
Minor changes in DropDownList style.
...
Added StringMapModel and an example.
2026-02-09 13:37:18 -03:00
Martín Lucas Golini
e0bf0a23e5
Added a basic RichText class (and added tests and an example).
...
Fixed LineWrap when using initial X offset and the word does not fit in the current line but it fits in the next.
Added basic agent rules.
2026-02-08 13:35:16 -03:00
Martín Lucas Golini
4979623687
Added initial offset for Text (plus tests).
...
Added Primitive::drawPixelPerfectLineRectangle.
Added tRect::enlarge.
2026-02-07 13:01:10 -03:00
Martín Lucas Golini
a82a9652fb
This really fixes MSVC build. But I don't understand how this broke in a first place... it makes no sense.
2026-02-05 01:44:09 -03:00
Martín Lucas Golini
9d81f9d96b
I guess this should fix MSVC build.
2026-02-05 01:19:55 -03:00
Martín Lucas Golini
2687f49294
Refactor in ContextSettings.
...
Added NVIDIA provider in AI Assistant and updated Perplexity models.
2026-02-05 00:53:07 -03:00
Martín Lucas Golini
f2d491384d
Some UI widgets constructor refactor and minor function renaming.
...
Added Moonshot LLM models support.
2026-02-04 01:31:43 -03:00
Martín Lucas Golini
ec47dffa30
Several fixes in soft-wrap implementation.
...
Added soft-wrap support in UITextView and UITooltip.
Added more soft-wrap tests, now testing also selection.
2026-02-03 01:41:15 -03:00
Martín Lucas Golini
bbb8fce43f
Instead of using *::cell::text and tableview::cell::icon in breeze and styles we will just use *::tableview::cell. And leave the inner elements of PushButton unaltered (since the father already can alter them).
...
Did some fixes in `Text::findCharacterPos` and `Text::findCharacterFromPos`, also tentatively added support for soft-wrap in those function (I haven't tested much yet).
2026-02-01 21:46:42 -03:00
Martín Lucas Golini
b7d9fd0567
Soft-Wrap in Text support WIP.
2026-02-01 00:56:37 -03:00
Martín Lucas Golini
256df44a4d
Better wildcard matching in utest (allow multiple wildcards).
2026-01-29 17:37:54 -03:00
Martín Lucas Golini
b3b5f97ab8
Optionally return wraps width when computing breaks WIP.
2026-01-26 21:59:53 -03:00
Martín Lucas Golini
efc361b654
LineWraps now also report real new line breaks (otherwise it will not be possible to partition into visual lines).
...
Added more text hard-wrap tests.
RGB now has a constructor that accepts Color. Color now has `toRGB()`.
2026-01-25 14:53:55 -03:00
Martín Lucas Golini
9d4fce4524
Implemented soft-wrap support in TextLayout.
...
Also fixed an old LineWrap::computeLineBreaks bug that wrapped too soon some texts, I had to update the tests (they where looking strange but I thought it was some unfortunate wrapping).
2026-01-25 00:26:54 -03:00
Martín Lucas Golini
1789540388
Separate TextLayout result into paragraphs with ShapedTextParagraph.
...
Change the `Text::wrapText` implementation to use the `LineWrap::computeLineBreaks` function, so it's consistent across eepp. Also renamed the function to `Text::hardWrapText` to be more descriptive.
Added new-line support in `LineWrap::computeLineBreaks`.
2026-01-24 17:59:09 -03:00