Commit Graph

1395 Commits

Author SHA1 Message Date
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
Martín Lucas Golini
b5f660ca21 Git plugin more WIP. 2024-01-19 20:24:55 -03:00
Martín Lucas Golini
948ff5a590 Git Status displayed with state grouping 2024-01-18 23:54:12 -03:00
Martín Lucas Golini
06933e1cfc Fix warning on GCC. 2024-01-17 10:21:45 -03:00
Martín Lucas Golini
c87750102f macOS build fixes.
UICodeEditor fix incorrect horizontal scroll when document is changed and fix incorrect horizontal scroll on document open.
2024-01-17 00:26:32 -03:00
Martín Lucas Golini
aaa70460d8 Remove use of va_list in favor of template fwd args.
Several bug fixes.
Git plugin more WIP.
2024-01-16 20:14:38 -03:00
Martín Lucas Golini
4a0533c28a Git Panel WIP. 2024-01-14 19:08:13 -03:00
Martín Lucas Golini
697fc29514 Added Git data models.
Small base Model clean up.
2024-01-13 12:56:00 -03:00
Martín Lucas Golini
12829d5267 UITabWidget: Make selected tab visible when tab widget scroll is available. Allow to use the modifier key plus wheel up and down to scroll over the tab widget. 2024-01-10 01:09:24 -03:00
Martín Lucas Golini
82b13329fd Improve context menu in tab widget. 2024-01-07 21:22:16 -03:00
Martín Lucas Golini
74e3dee369 Hide tab widget scroll when mouse is not over.
Add context menu for splitter tabs.
Git status count lines of added files and other fixes.
Other code clean up regarding Variant class.
2024-01-07 15:18:07 -03:00
Martín Lucas Golini
eec3397592 Allow to pass std::string and std::string_view as a %s parameter in String::format and Log::debug/info/etc. 2024-01-06 10:37:38 -03:00
Martín Lucas Golini
fbac4f7d4d Fixed a crash with Git submenu. Simplified UIDataBindHolder. 2024-01-06 00:30:19 -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
fc8ec9610b eepp: Fixed Node::debounce.
ecode: Fixes in Git plugin, now status also recurses submodules. Fixed doc info being incorrect on startup.
2023-12-18 21:18:29 -03:00
Martín Lucas Golini
05684dffc9 ecode: Visual improvements. 2023-12-17 19:11:41 -03:00
Martín Lucas Golini
ac35e9ca0e Git Plugin more WIP. 2023-12-17 14:44:00 -03:00