Commit Graph

1411 Commits

Author SHA1 Message Date
Martín Lucas Golini
f9513d3857 eepp: Removed PlusCallback dependency.
ecode: Added the possibility to search and replace by replacing captures from Lua Pattern, for example, searching for: "function (%w+)%(%)" and replacing for "fn $1()" will replace the function declaration from "function (functionName)()" to "fn (functionName)()". The feature was used to remove the PlusCallback dependency =).
2024-02-21 01:04:44 -03:00
Martín Lucas Golini
2718194acc Pump eepp version. 2024-02-20 20:02:40 -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
6bf04245aa File encoding picker. 2024-02-19 10:44:51 -03:00
Martín Lucas Golini
4c5e7db1b3 Fix String::fromUtf16.
Improve text encoding detection and binary files detection.
2024-02-19 01:21:49 -03:00
Martín Lucas Golini
c360662371 Add file encoding detection (UTF-8, UTF-16 LE, UTF-16 BE and ISO-8859-1). 2024-02-18 21:39:05 -03:00
Martín Lucas Golini
d7d56783c6 Added "ft" locator for switch file type.
Added "select-all-words" command for documents (default keybind is ctrl/cmd+shift+d).
Manage git plugin tab visibility when folder is closed, reopened, etc.
2024-02-18 12:26:07 -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
211700ef94 Added functions to set the layout margin and paddings in pixels.
Fixed small pixel accuracy issue with row headers.
2024-02-16 21:45:53 -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
b2fff897be Revert round() of UIDrawable position.
Re-subscribe on model change for Git tree view styling
2024-02-16 18:27:18 -03:00
Martín Lucas Golini
b8d79fe493 Menu option for Git diff for staged files and repo.
Improved visually git file modified indicator.
Minor fix in auto complete.
Added Main Menu shortcut on welcome screen.
Added String::numberClean.
2024-02-15 19:42:24 -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
c1ba882d31 Some minor improvements in UIApplication.
Minor headers clean up.
Avoid duplicating close message box in ecode.
2024-02-13 21:10:12 -03:00
Martín Lucas Golini
40d5585643 Fix draw invalidation bug introduced with the latest changes. 2024-02-12 01:11:21 -03:00
Martín Lucas Golini
7cf8aef499 Fix rare crash when invalidating widgets. 2024-02-11 23:41:38 -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
a09377f8e6 Minor clean up. 2024-02-10 20:46:05 -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
56ca57fc04 Add language selection menu. 2024-02-09 23:22:09 -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
5271e2fd2e Rename UndoStack to TextUndoStack. 2024-02-08 22:42:01 -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
4bc250515c UICodeEditor use the default keyboard modifier.
Some minor fixes.
2024-02-08 22:23:46 -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
e953aa3687 Add UIAbstractView SelectionKind to set if Multiple selection is enabled.
Git plugin minor changes.
Replace getTranslatorString in favor of i18n when possible.
UIAbstractTableView allow to start editing with keyboard shortcuts.
Some micro-optimizations.
2024-02-06 00:42:56 -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
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
9797d49723 Improvements for Translator, added saveToStream.
XML support CDATA.
SyntaxTokenizer allow to customize start and end ranges chunks styles.
2024-02-04 13:33:36 -03:00
Martín Lucas Golini
7661b5e55d Fix in auto close XML tag. 2024-02-03 15:35:19 -03:00
Martín Lucas Golini
0fe59e3ca9 Fix automatic scrolling while writing in UITextEdit.
Fix threadpool close.
Git plugin safetly destruct.
2024-02-03 12:37:49 -03:00
Martín Lucas Golini
7da6093507 Http now can consume ThreadPool for async requests.
Minor clean up.
2024-02-02 10:53:15 -03:00
Martín Lucas Golini
a19c522908 UIConsole minor perf fix. 2024-01-31 23:08:53 -03:00
Martín Lucas Golini
9a0057c890 Minor clean up. 2024-01-29 00:05:22 -03:00
Martín Lucas Golini
d4e859be4b Git plugin: Added stash management.
UITreeView now selects items with right mouse click too.
2024-01-28 21:24:53 -03:00
Martín Lucas Golini
1399d23770 Improved UICheckBox. Fixed a bug and simplified UIPluginManager. 2024-01-28 02:15:58 -03:00
Martín Lucas Golini
2ae84f7c9d More git plugin fixes. 2024-01-27 21:31:51 -03:00
Martín Lucas Golini
4cd44bf041 More fixes in Git plugin. 2024-01-27 17:58:48 -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
76e2026ed7 Some minor changes in git plugin 2024-01-26 23:15:25 -03:00
Martín Lucas Golini
bed3581364 Git status: Detect staged and non-staged for a single file and generate two different statuses.
Generate events for row mouse clicks.
2024-01-26 09:46:00 -03:00
Martín Lucas Golini
80b6a4ea82 More git plugin fixes.
UITabWidget minor fix.
2024-01-25 23:35:47 -03:00
Martín Lucas Golini
bdd018feec More Git plugin WIP. Added commit. 2024-01-23 20:36:01 -03:00
Martín Lucas Golini
d8f97e7258 Clean up. 2024-01-21 17:51:16 -03:00
Martín Lucas Golini
acb79278ee Added branch rename.
Fixed warning.
Simplified branches data fetching.
2024-01-21 01:48:14 -03:00
Martín Lucas Golini
661748f15f Fix build 2024-01-20 23:07:20 -03:00