Commit Graph

2402 Commits

Author SHA1 Message Date
Martín Lucas Golini
f69dd5a4ae Fix editor freeze when editing code using rust-analyzer. 2024-02-21 23:56:15 -03:00
Martín Lucas Golini
a1ee816608 Fix unlocked handler. 2024-02-21 22:03:35 -03:00
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
9548d9f4cd Minor fix in git plugin. 2024-02-20 02:26:36 -03:00
Martín Lucas Golini
ca85127605 Added MoonScript and GraphQL langs.
Minor fixes.
2024-02-20 02:01:04 -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
b48a49b47c Use our encoder to write UTF-16 files. 2024-02-19 19:37:49 -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
a9e3b8a19b ecode i18n fixes. 2024-02-17 19:35:03 -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
b39b22b191 Fix build. 2024-02-16 21:24:14 -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
1a5cee7142 Trim memory after global search. 2024-02-15 21:36:07 -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
10099bf6bf Hide signature help if cursor moves to a new line. 2024-02-13 19:03:13 -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
0a23b3682b Silence warning. 2024-02-10 19:46:30 -03:00
Martín Lucas Golini
cb3a6691ed Fixed bug un UISceneNode.
Minor fixes in 7GUIs Cells.
2024-02-10 19:03:09 -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
997fe458b3 Fix indirect memory leak on VertexBufferVBO.
Added a few icons.
Tried to detect a bug on the terminal emulator.
Fixed Git status when file has been renamed.
2024-02-05 22:03:39 -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
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
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
db9e2634b1 Added Gtk blueprint lang. Fix TextInput size in UIMessageBox. Some fixes on path resolve in GitPlugin. 2024-02-02 20:26:13 -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
d56406a3a2 Small fix for macOS. 2024-02-01 23:44:09 -03:00