Commit Graph

247 Commits

Author SHA1 Message Date
Martín Lucas Golini
a38ffe2532 Inherit UIHTMLInput from UIHTMLWidget. 2026-05-10 14:26:47 -03:00
Martín Lucas Golini
bc071bd88d Add line-height and text-indent support. 2026-05-09 01:38:43 -03:00
Martín Lucas Golini
8f13e62dd7 Slightly debounce UICodeEditorSplitter::addEditorPositionToNavigationHistory. 2026-05-06 22:48:57 -03:00
Martín Lucas Golini
89329123fb Added UIWebView and ui_html now uses that. 2026-05-02 14:45:07 -03:00
Martín Lucas Golini
157bc2962f Added HTML forms support.
Added cookies support (now it's possible to login in websites).
Improved redirect handling in HTTP client.
Fix in `Node::find*` and `UIWidget::find*` functions to ignore closing nodes.
Fix in Node min width and height handling with pixel scale different than 1.
2026-05-01 18:52:46 -03:00
Martín Lucas Golini
6691d9c174 Improvements for ul and ol.
Added a few tags: dl, dt, dd.
Load style tags inside UIRichText blocks.
Added `display: list-item`.
2026-04-30 12:58:05 -03:00
Martín Lucas Golini
ae0fd6bc2b Fixes for absolute positioning and some minor details. 2026-04-29 13:05:29 -03:00
Martín Lucas Golini
f6e284c6f5 Move Default Block-Level Margins from Stylesheet to Widget Construction. This is needed in order to have working rules line: * { margin: 0; } with low specificity. 2026-04-28 00:11:18 -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
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
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
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
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
6ed9193b9e Improvements in the HTML Table performance, still WIP. 2026-04-01 01:48:28 -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
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
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
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
3c782905da Allow to load linked CSS from HTML. 2026-03-12 02:48:40 -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
2d3a7b3032 Add blockquote support.
Fix a border rendering bug.
Fix background-color in UIRichText.
2026-03-07 03:33:10 -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
1473f6b4b6 Add text selection support to RichText and UIRichText. 2026-03-06 12:25:33 -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
1a20708d78 Fix Windows build. 2026-03-04 10:26:48 -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
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
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
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
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
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
Martín Lucas Golini
0ec661852a eepp: Updated mojoal, dr_mp3, dr_flac. Fixed various mojoal bugs. Added SoundFileFactory::isKnownFileExtension. SoundFileFactory::isValidAudio, SoundFileFactory::isValidAudioFile.
ecode: Added audio player support (SpartanJ/ecode#96).
2025-09-29 00:02:06 -03:00
Martín Lucas Golini
54aaeb4931 Spell-checked the whole project. 2025-08-22 01:33:51 -03:00
Martín Lucas Golini
d375537b3f Fixes in SyntaxDefinitionManager.
Make UIProperty C++17 friendly.
Rename "arch" command line parameter for premake5 to "deps-arch" because it clashes with a new "arch" default parameter.
Fix for empty matches in SyntaxTokenizer.
Some very minor changes in language definitions.
2025-06-05 23:45:00 -03:00
Martín Lucas Golini
61e2df83db Added UIProperty to easily bind values with UI elements (very basic initial implementation). 2025-06-04 00:24:21 -03:00
Martín Lucas Golini
d58e846cce Improve tokenizer performance by adding a couple of simple tokenizing hacks.
Added UUID class.
Fixed TextDocument folding ranges not updating on untitled docs.
Fixed UILinearLayout bug I introduced the other day.
Improved the Spreadsheet parser to allow direct use of arithmetic operators.
2025-03-10 21:06:36 -03:00
Martín Lucas Golini
b9037e3cb5 A few adjustments in the HTTP request. 2024-11-29 21:33:42 -03:00
Martín Lucas Golini
cec4c39dbb Add a new example of how to create a custom widget. 2024-10-27 03:43:06 -03:00
Martín Lucas Golini
9ccd774bb0 Some minor optimizations. 2024-10-26 01:21:39 -03:00
Martín Lucas Golini
be303f65f6 Should fix windows build. 2024-10-20 14:29:41 -03:00
Martín Lucas Golini
2c617b1deb RegEx support in TextDocument search. Added RegEx support to ecode's Find & Replace. 2024-09-22 02:16:15 -03:00
Martín Lucas Golini
4d0da818c0 Small improvements in breadcrumb. Minor refactor of EventDispatcher::getMousePos. 2024-09-11 20:27:14 -03:00
Martín Lucas Golini
8d172f3eb7 Unregister view from model on view destructor.
Minor refactor in http_request demo.
2024-07-04 20:22:57 -03:00