Commit Graph

142 Commits

Author SHA1 Message Date
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
Martín Lucas Golini
de4875b255 eepp: Allow to unselect selection from UIAbstractView.
ecode: Updated icons ttf.
Completed implementation of Build Output, now it will list Issues found when compiling in the Issues section inside Build.
Tentative fix in LSPDocumentClient when parsing semantic highlight.
Improved Features Health GUI.
2023-06-11 17:23:18 -03:00
Martín Lucas Golini
a1b173818e eepp: Improved cell classes performance.
ecode: Implemented languages health window.
2023-06-10 01:42:40 -03:00
Martín Lucas Golini
ba4655553c eepp:
Added to UIWidget: setClass, setClasses, resetClass.
Added support for custom styling of cells in models using custom classes. With the new ModelRole::Class.
ecode:
Fixed LSPs with multiple languages.
Fixed Status Bar not hiding.
Added option to request refresh the document semantic highlighting.
2023-06-09 19:36:03 -03:00
Martín Lucas Golini
b1296048a8 eepp:
UIAbstractTableView added support for selection type (row or cell).
ModelEditingDelegate, UIDataBind, UISpinBox, UITableHeaderColumn, ItemListModel fixes.
ecode:
UIBuildSettings almost done.
2023-06-06 01:52:50 -03:00
Martín Lucas Golini
d1b35f052e ecode: ModelEditingDelegate implementation WIP, already working. 2023-06-04 22:00:14 -03:00
Martín Lucas Golini
854e148a36 eepp: Added UIAnchor (Anchor or a).
UIRelativeLayout: Respect max width and height when using match_parent.
ecode: New icon WIP.
Fixed LSP TCP server connecting from the main thread (now connects async).
2023-03-20 16:33:35 -03:00
Martín Lucas Golini
5314f2c016 Improved breeze white theme.
ecode: Added error lens in linter plugin. Improved color schemes.
2023-01-27 02:27:02 -03:00
Martín Lucas Golini
54a6fd63e9 eepp:
Implemented CSS properties: text-shadow-offset and hint-shadow-offset. Renamed shadow-color to text-shadow-color. Added shorthand text-shadow and hint-shadow.
Improved tooltip positioning.
ecode:
Closes SpartanJ/ecode#2 (Fixes fullscreen window on Windows).
Closes SpartanJ/ecode#14 (Fixes folder rename, allows deleting folders).
Closes SpartanJ/ecode#15 (Fixes folder doesn't automatically expand when creating a new file after being closed).
2023-01-17 23:13:08 -03:00
Martín Lucas Golini
d787887982 Fixed selectors with multiple pseudo-classes.
Added support for :focus-within pseudo-class.
Fixed a bug in CSSPropertiesModel.
Fixed a bug in UIWidgetInspector.
Improved CSS syntax definition.
UIEditor: replaced the widget inspector in favor of UIWidgetInspector. Fixed a bug with the find-replace component.
2022-10-22 02:17:37 -03:00
Martín Lucas Golini
4b6ce692b9 ADded DroidSansFallbackFull as fallback font in ecode and eterm.
CheckBox and RadioButton now display hover effect.
Added alias "lg" for layout-gravity.
Node: Added addMouseClickListener and hasChild helper functions.
UICodeEditor: Fixed a minor bug that provoked to scroll the view when resizing the widget.
UITabWidget: minor bug fix.
ecode: Fixed a bug that caused to save a monospace font when the user did not accept to change it.
Added debug options to the widget inspector.
Added i18n to all strings defined in XML files/strings.
Added "Rename Session" button in the Terminal menu.
2022-10-16 03:23:01 -03:00
Martín Lucas Golini
3d3d9057e0 Plugin preferences configuration WIP. 2022-09-28 02:17:33 -03:00
Martín Lucas Golini
aaf9608ea1 ecode: General Improvements. 2022-09-19 03:27:29 -03:00
Martín Lucas Golini
db57f39ae3 Added support to "cubic-bezier" timing function. 2022-09-08 20:14:07 -03:00