Commit Graph

122 Commits

Author SHA1 Message Date
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
Martín Lucas Golini
343a6a84b3 SyntaxDefinitionManager: Added [x]it! (https://xit.jotaen.net/) support.
Premake files added parameter options: --with-debug-symbols (release builds are built with debug symbols).
breeze theme: replaced tab close button with an inline SVG.
SyntaxColorScheme: now supports custom styles for code patterns.
DrawableSearcher: Now respects screen pixel density when loading SVG files.
Added support for backward-cpp (https://github.com/bombela/backward-cpp). Now release builds with symbols can report the stack-trace of any crash.
Updated nanosvg.
ecode: Fixed benchmark mode and frame rate limit.
ProjectDirectoryTree minor bug fix.
Some minor general bug fixes.
2022-08-28 16:24:29 -03:00
Martín Lucas Golini
1678fd9b53 Fixed TextDocument::deleteCurrentLine().
Minor clean up in various apps and classes (nothing important).
2022-07-24 21:44:29 -03:00
Martín Lucas Golini
3cf446a467 Implemented UIConsole. Some various minor fixes. 2022-07-16 19:30:50 -03:00
Martín Lucas Golini
38bb518bd3 UIWidget: Added virtual function "acceptsDropOfWidget" and "acceptsDropOfWidgetInTree". Added UI_TOOLTIP_ENABLED that allows to enable/disable tooltips in an element. Added functions: "isTooltipEnabled" and "setTooltipEnabled".
UITabWidget: Added support to draggable object hovering highlight color.
UICodeEditor: fixed vertical scroll.
Added UIRoot class, that represents the root (":root") element of the scene node.
2022-06-04 00:33:17 -03:00
Martín Lucas Golini
835dc3a55a Added shorthand: min-size and max-size.
SyntaxDefinitionManager: Improved JSON.
breeze theme improvements.
ecode: Added mime-type icons (using nonicons).
2022-06-01 01:21:21 -03:00
Martín Lucas Golini
0dca1b322f ecode: Allow switching UI Color Scheme dynamically without restarting the editor. Also remember the preferred UI Color Scheme. 2022-03-29 02:12:01 -03:00
Martín Lucas Golini
c1b03ca7af FontTrueType: Improved font kerning. Added FontTrueType::getGlyphByIndex.
TextDocument: Added hasUndo, hasRedo.
UICodeEditor: Improved default context menu.
UITextInput: Added context menu.
UIFileDialog: Minor improvents, localization and path selection.
UIMessageBox: Improved localization.
Fixed UITableView::findRowWithText and UITreeView::findRowWithText when doing case insensitive searches.
ecode: Fix Sans Serif font selection was breaking the current opened code editors.
2022-03-27 01:35:57 -03:00
Martín Lucas Golini
0ee4fa1bd7 Improved breeze light theme. 2022-03-24 17:49:57 -03:00
Martín Lucas Golini
cdcf7b76aa WIP: breeze light colors.
Added prefers-color-scheme and pixel-density media queries.
Added support to :not(:state). This is not part of the CSS specification, but it's useful.
2022-03-21 20:57:05 -03:00
Martín Lucas Golini
775b65ffa6 Some performance optimizations. 2022-03-13 14:57:09 -03:00
Martín Lucas Golini
7b53115c4c Allow loading TextDocument from the web. 2022-03-10 20:09:01 -03:00
Martín Lucas Golini
fcd68131e3 Added UIStackWidget.
Added UIMultiModelView.
Some minor fixes for UIAbstractView and derivatives.
ecode:
Added shortcut to switch visibility of the side panel.
Changing mono font now does not require to restart the application.
2020-11-15 03:20:09 -03:00
Martín Lucas Golini
544ea80828 Tab Bar is now scrollable.
Some minor bug fixes.
2020-10-17 22:54:38 -03:00
Martín Lucas Golini
1250fc9972 Added UIListView.
UIFileDialog now uses UIListView.
UITreeView/UITableView/UIListView allow selecting row by writing its name.
Styling fixes.
2020-08-18 00:35:01 -03:00
Martín Lucas Golini
a5a55481dc Very minor improvements to the table header column icon. 2020-08-17 01:29:50 -03:00
Martín Lucas Golini
8f430076ef Added SortingProxyModel to allow sorting tables by column.
Some minor improvements to ecode.
Added "delete-current-line" to text document.
2020-08-13 02:22:17 -03:00
Martín Lucas Golini
98ef562440 Renamed UITable to UIWidgetTable and UITableCell to UIWidgetTableRow.
Minor improvements to UIFileDialog.
Added "Open Folder" and "Recent Folders" to ecode.
2020-07-26 23:17:52 -03:00
Martín Lucas Golini
dce9f1c285 Improvements and fixes for FileSystemModel, ProjectDirectoryTree, FileInfo and more. 2020-07-26 15:08:11 -03:00
Martín Lucas Golini
3da95eb5f7 Implemented UITableView.
Added project locate file in ecode (still needs work).
Several fixes and improvements.
2020-07-26 03:02:01 -03:00
Martín Lucas Golini
54d520dba6 UITreeView improvements.
Added Drawable::getPixelsSize.
Improved UIPushButton.
2020-07-23 01:40:14 -03:00