Commit Graph

221 Commits

Author SHA1 Message Date
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
Martín Lucas Golini
3bed787795 More improvements for text shaping. 2024-06-14 02:23:53 -03:00
Martín Lucas Golini
8991a089fc eterm clean up. 2024-03-15 20:22:15 -03:00
Martín Lucas Golini
4687b46917 Added an option to disable static build from build scripts 2024-02-28 20:27:11 -03:00
Martín Lucas Golini
d276aa5bc7 Improve UICheckBox in different pixel densities.
Improve stylesheet units printing.
Added `dpr` as device-pixel rounded stylesheet length unit.
Fixes in 7GUIs Cells.
2024-02-20 00:34:52 -03:00
Martín Lucas Golini
36c91989d3 Lambda captures clean up, plus other minor clean ups. 2024-02-17 18:19:55 -03:00
Martín Lucas Golini
b2a5b37802 Improve the cells demo a little bit. Fix reactivity. 2024-02-17 00:41:16 -03:00
Martín Lucas Golini
a40bee583b Implemented row header for TableView.
Added shorthands for border-left, border-right, border-top, border-bottom.
2024-02-16 21:17:26 -03:00
Martín Lucas Golini
eccf1f1cba Optimize UITableView and UITreeView by only allocating as many cells as needed to cover the viewport. 2024-02-11 13:45:18 -03:00
Martín Lucas Golini
0a23b3682b Silence warning. 2024-02-10 19:46:30 -03:00
Martín Lucas Golini
cb3a6691ed Fixed bug un UISceneNode.
Minor fixes in 7GUIs Cells.
2024-02-10 19:03:09 -03:00
Martín Lucas Golini
7e3ac9eb9b Should fix build.. 2024-02-10 17:29:07 -03:00
Martín Lucas Golini
6e93132108 UIScrollableWidget added horizontal scrolling.
UIAbstractTableView and UIAbstractView some minor changes.
7GUIs Cells WIP.
2024-02-10 15:48:52 -03:00
Martín Lucas Golini
9c2822e3d6 More work to get better i18n support. 2024-02-09 22:39:19 -03:00
Martín Lucas Golini
f875672a3d Implemented UndoStack.
7GUIs Circle Drawer now uses the new UndoStack.
2024-02-09 02:26:51 -03:00
Martín Lucas Golini
2541dccfc9 7GUIs circle drawer WIP.
UILoader rendering glitch fix.
Git create branch fix checkout in subrepos.
UIMessageBox don't focus on any disabled input by default.
2024-02-08 22:25:18 -03:00
Martín Lucas Golini
997fe458b3 Fix indirect memory leak on VertexBufferVBO.
Added a few icons.
Tried to detect a bug on the terminal emulator.
Fixed Git status when file has been renamed.
2024-02-05 22:03:39 -03:00
Martín Lucas Golini
37140d9f80 Added 7GUIs CRUD example.
Fixes in ModelSelection.
2024-02-05 02:37:41 -03:00
Martín Lucas Golini
5d320186b5 Added 7GUIs Timer.
Fixes in UIProgressBar.
Fix build.
2024-02-04 23:37:07 -03:00
Martín Lucas Golini
bb26ac4706 Added UIApplication class to easily initialize GUI Applications.
Addind 7GUIs examples (https://eugenkiss.github.io/7guis/). Currently implemented the first three: Counter, Temperature Converter and Flight Booker.
Fixes in IgnoreMatcher and ProjectDirectoryTree.
Window::runMainLoop now accepts an std::function<void()>, this allows to use lambdas with captures.
UITextInput when using only numbers allow to insert + and - at the beggining of the number.
Return Node* on Node::setFocus().
String::fromFloat and String::fromDouble will shrink the number as much as possible (delete extra 0 and .).
2024-02-04 22:01:32 -03:00
Martín Lucas Golini
f6738cf79d ecode: Fix memory leak on theme change. 2024-01-02 22:31:05 -03:00
Martín Lucas Golini
cc62ec5790 ecode:
Improved drastically UIBorderDrawable performance.
Added Event::OnItemValueChange event and ItemValueEvent.
Added i18n function to UIWidget.
Remamed Node::addMouseClickListener to Node::onClick.
Added UI_SCROLLABLE flag and UINode::isScrollable to indicate if the widget implements some scrolling function and now UIScrollView will check if it can scroll by checking if the widget over is scrollable or not.
UISceneNode now implements loadLayoutFromString with const char* to avoid unnecessary std::string allocations.
Several fixes in UIListBox and UIDropDownList.
ecode:
Continued working on UIBuildSettings screen and Project Build configuration.
2023-06-01 02:32:03 -03:00
Martín Lucas Golini
7670795075 eepp: Some code refactoring regarding the TextureFactory. Also renamed some functions with incorrect naming.
ecode: Plugins are now hot-reloaded when a its configuration file is being written.
2023-03-29 01:13:46 -03:00
Martín Lucas Golini
21240d9af9 Added Sys::which.
ecode: Added support for more LSP servers: Kotlin, Nim, Ruby, YAML. Added "Format Document" option in editor's context menu (when available).
2023-01-15 16:37:16 -03:00
Martín Lucas Golini
16890cae6c Physics module now is an optional module.
Fixed Android build.
ecode: Added Help -> Check for Updates. Added "Rosé Pine" terminal color scheme.
2023-01-15 04:08:29 -03:00
Martín Lucas Golini
b1d6fcd635 A couple of minor fixes. 2022-12-30 01:01:34 -03:00
Martín Lucas Golini
075b7d9968 Added CSS3 colors to Color class.
Improved emscripten build.
Cleaned up some warnings.
ecode: resetSyntax on file move.
2022-10-17 01:50:53 -03:00