Commit Graph

155 Commits

Author SHA1 Message Date
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
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
a83812272c Fix accidental spaces inserted in chat ui. 2026-03-09 19:14:53 -03:00
Martín Lucas Golini
6fd0950eba Minor fix in RichText. 2026-03-09 00:31:38 -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
1a20708d78 Fix Windows build. 2026-03-04 10:26:48 -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
ccf5a49f88 Minor fix in AI chat file links.
Minor improvements in breeze CSS rules and color scheme translator.
2026-02-23 01:05:33 -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
7977cd99dd Minor changes in DropDownList style.
Added StringMapModel and an example.
2026-02-09 13:37:18 -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
5d56e4da34 Added String::formatBuffer for char32_t strings.
Minor fixes in breeze theme.
2026-01-22 01:41:25 -03:00
Martín Lucas Golini
f180e58e56 Added Settings -> Window -> UI Theme -> Syntax Color Scheme to use the editor color scheme globally for the UI Theme colors, having a single color palette for the whole UI and making much easier to style the UI, this solves SpartanJ/ecode#661, since now we support one UI theme for each existing syntax color scheme. Still a WIP, I'll continue improving it during the development of 0.7.5, but it's ready to use. 2026-01-18 01:38:27 -03:00
Martín Lucas Golini
cf6c14fbda Do not copy the whole SyntaxDefinition into TextDocument but instead keep the shared pointer to the definition.
Did some minor SyntaxDefinition memory access safety improvements.
In breeze color scheme definition renamed `--win-icon` to `--icon-line` and removed `--scroll-button` since it was not being used.
2026-01-17 00:19:51 -03:00
Martín Lucas Golini
d6f60354c1 Improve UIWindow default focusing behavior.
Adjust `window-flags` behavior when used from CSS.
Display a download progress window when download-file-web is used. Also support loading images and sounds from downloads.
Minor safety checks added for engine termination and window closing.
Minor changes in Http.
2026-01-10 01:49:20 -03:00
Martín Lucas Golini
9d2aec8e14 eepp: Added UIImageViewer new tool widget to view images.
Added a new UIMessageBox event: `Event::OnDiscard`, this will triggered when window is closed without confirmation (`Event::OnConfirm`). And now `Event::OnCancel` is only triggered when is manually cancelled (click the cancel button).
ecode: Greatly improved image viewing experience. Now you can switch images from the same directory with the mouse wheel, also zoom, translate and rotate the images, images open in a new tab by default but quick-preview can be activated in `Settings -> Window -> Quick Preview Images` (SpartanJ/ecode#96).
2025-09-28 00:39:17 -03:00
Martín Lucas Golini
a79c16ec0a Added the possibility to configure the font hinting and font anti-aliasing.
MenuBar buttons are now slightly more separated.
When switching between dark and light ui prefers color scheme now pick a dark/light color scheme if the currently set is the default (SpartanJ/ecode#535).
Fix a bug in menu bar pop-up not hiding properly.
2025-06-30 02:23:51 -03:00
Martín Lucas Golini
d396bd5b8f Fix tree view cells tag name.
Fix CSS syntax highlighter rule.
Reduce allocations when searching symbols.
2025-03-30 18:47:36 -03:00
Martín Lucas Golini
d3bc6f2935 Fix for multi-line signature help labels, now labels will be flatten into a single line (SpartanJ/ecode#388).
Fix next signature help position.
Fix signature help and suggestions styles for light color schemes, and some minor improvements for other schemes.
Allow to set extra trigger characters for signature help in LSP configurations (fix zig zls not updating signature position after a "," input).
Plus some other minor fixes.
2025-02-02 19:07:41 -03:00
Martín Lucas Golini
98c387f2b1 Fix for SpartanJ/ecode#371.
Slightly increase brighness in inactive tab text color.
2024-12-19 19:16:20 -03:00
Martín Lucas Golini
7e512c48a3 Make tabs more contrast-y. 2024-12-18 10:54:11 -03:00
Martín Lucas Golini
2bb66d2e40 Improvements for better theming support in ecode. 2024-10-19 22:59:16 -03:00
Martín Lucas Golini
3d59b3c64b Changed my mind for issue #69 and #278. 2024-07-01 21:48:40 -03:00
Martín Lucas Golini
1be7884c85 Better visual indicator of modified file.
Try fix a very rare crash when loading document while starting LSP and requesting folding information.
2024-06-30 20:33:12 -03:00
Martín Lucas Golini
3762a6b87b Visual improvements. 2024-04-27 00:59:04 -03:00
Martín Lucas Golini
2daf5f837a Allow set line width in CSS poly function. 2024-04-27 00:34:06 -03:00
Martín Lucas Golini
e01a03ad8c Simplify background-position parsing.
UI Theme improve arrow in DropDownList, ComboBox and SpinBox.
2024-04-18 22:51:31 -03:00
Martín Lucas Golini
6461402e30 Menu Bar keyboard navigation improvements. 2024-04-14 16:44:16 -03:00
Martín Lucas Golini
89227a946d MenuBar style changes. 2024-04-13 17:27:34 -03:00
Martín Lucas Golini
85322643e6 Fix size of Menu::CheckBox. 2024-04-08 22:36:41 -03:00
Martín Lucas Golini
ff29ed3c71 Fixes not reloading loaded document from an file system modified event after the first reload (SpartanJ/ecode#196).
Improved project search UI.
2024-03-14 22:57:44 -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
ec1a09e9a3 Highlight git modified files in file tree. 2024-02-14 01:40:05 -03:00
Martín Lucas Golini
f2b42b7191 Enable multi language. Added language definition. 2024-02-07 20:01:23 -03:00
Martín Lucas Golini
c275cbceaa Visual improvements for macOS. 2024-02-07 19:50:52 -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
eb825f668e Git plugin: Allow to silence the logs. Auto-Hide treeview scrollbars. Fix file diff when file is staged. 2024-01-28 14:00:12 -03:00
Martín Lucas Golini
f0d7e4644f GitPlugin: Allow to ammend last commit. Improved thread safety. Reduced some calls. 2024-01-27 13:00:07 -03:00
Martín Lucas Golini
b5f660ca21 Git plugin more WIP. 2024-01-19 20:24:55 -03:00
Martín Lucas Golini
9e764c8100 Fix crash on UITabWidget.
Improve LSP tooltip.
Remove warnings.
2024-01-13 18:04:23 -03:00
Martín Lucas Golini
c2fbda6de8 Improved StlysheetLength implementation and added two new unit types dprd and dpru.
Improved Tabs visibility when they are closable.
Fix minor bug in ProjectDirectoryTree.
Fixed a regression on UINodeDrawable.
2023-11-18 13:08:43 -03:00
Martín Lucas Golini
961da1777f Added CSS selector for previous sibling (|), not used for the moment.
Added UITabWidget property configuration: tab-close-button-visible.
Plus some minor changes.
2023-11-16 01:52:24 -03:00
Martín Lucas Golini
b68161b64e ecode: Display the the error or warning message in the symbol info tooltip. Try to prevent reloading a plugin when it's currently loading. 2023-07-02 15:40:47 -03:00