Martín Lucas Golini
416abff06f
Implemented global search and replace with dirty open documents support. Still needs some testing.
2024-03-22 01:33:20 -03:00
Martín Lucas Golini
cdb7e3dca5
Fix TSX and JSX LSP name.
2024-03-21 16:23:13 -03:00
Martín Lucas Golini
bdc376a1eb
Fix TypeScript React and JavasSript React files in LSP, they were recognized as TypeScript and JavaScript files so it was incorrectly parsed.
2024-03-21 12:55:36 -03:00
Martín Lucas Golini
82ec47b5b7
ecode: Added the possibility to search and replace in the current document 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)()". So now this features is available for local and global search and replace.
2024-03-20 20:55:48 -03:00
Martín Lucas Golini
40777d18ce
Fix in longest line width calculation.
2024-03-19 11:04:04 -03:00
Martín Lucas Golini
db2c90fe3b
Improve performance in document longest line detection.
...
Fix crash in SyntaxHighlighter when the syntax is changed while doing async highlighting.
Improve syntax definition detection in SyntaxDefinitionManager.
Fix invalid memory access in UICodeEditor::getXOffsetColSanitized.
2024-03-19 01:02:33 -03:00
Martín Lucas Golini
0b88706695
Copy SDL2.dll to bin folder.
2024-03-17 21:04:06 -07:00
Martín Lucas Golini
0a68e1c412
Fix crash in FileSystemModel.
2024-03-18 00:11:41 -03:00
Martín Lucas Golini
014d15fa00
Merge pull request #32 from iahung2/develop
...
Update objeck.cpp
2024-03-17 23:47:43 -03:00
Martín Lucas Golini
02fc322069
Updated remixicon font. Added image file type icon.
...
Working on updating documentation, updated windows mingw build.
2024-03-17 23:43:16 -03:00
Martín Lucas Golini
bacbf35a9c
Yet another fix for ProjectDirectoryTree.
2024-03-16 22:16:04 -03:00
Martín Lucas Golini
eb19d5d8ee
Run git commands with async io.
...
Fix accidental bug introduced in ProjectDirectoryTree.
2024-03-16 21:04:56 -03:00
Martín Lucas Golini
6ae9c3198e
Silence warning.
2024-03-16 20:41:24 -03:00
Martín Lucas Golini
98170776c8
Fix invalid memory access in accepted patterns fro the ProjectDirectoryTree.
2024-03-16 20:09:42 -03:00
Martín Lucas Golini
6d62babe44
Fix issue #30 .
2024-03-16 13:28:34 -03:00
Martín Lucas Golini
8991a089fc
eterm clean up.
2024-03-15 20:22:15 -03:00
Martín Lucas Golini
4cc7201876
Merge pull request #31 from iahung3/develop
...
Update smallbasic.cpp
2024-03-15 13:08:58 -03:00
Martín Lucas Golini
fdc9a55809
Fix language selection.
2024-03-15 11:50:12 -03:00
Martín Lucas Golini
d8480c25f7
Improve triple click on code editor.
2024-03-15 00:42:05 -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
b3d0eea6fc
More project search filters WIP.
2024-03-14 10:38:46 -03:00
Martín Lucas Golini
5975174e48
Project search filters WIP.
2024-03-14 00:07:14 -03:00
Martín Lucas Golini
6db1e5ec43
Fix project search error incorrectly counting the result line number when searching with the wholeword flag.
...
A couple of minor fixes.
2024-03-13 20:14:41 -03:00
Martín Lucas Golini
b7a754a3c8
Fix bug in ProjectDirectoryTree when a file is renamed with a name that it's part of the gitignore, now it will properly *not* remove the file from the files list.
...
Small code refactor.
2024-03-11 02:22:11 -03:00
Martín Lucas Golini
59c5e72f4d
Add hint-display property to UITextInput.
...
Minor refactor in ProjectDirectoryTree.
2024-03-10 23:27:59 -03:00
Martín Lucas Golini
7d12ceeabb
Add native linter support for XML.
2024-03-10 15:53:07 -03:00
Martín Lucas Golini
6c94ea50d9
Fix bug in LSP Plugin when opening a same document in a split and then closing the original document, keybinds were lost after that.
2024-03-10 13:07:21 -03:00
Martín Lucas Golini
6f65a90b8b
Fix json linter.
2024-03-10 12:40:47 -03:00
Martín Lucas Golini
372f794212
Fixes broken IME support regression ( SpartanJ/ecode#189 ).
2024-03-10 12:11:37 -03:00
Martín Lucas Golini
4fd4a02361
Improve LSP client close/exit.
...
Implemented Closing Symbol Override (SpartanJ/ecode#121 ), improved the auto-close bracket to be balanced.
2024-03-09 20:55:13 -03:00
Martín Lucas Golini
70c1c4daa5
Fix SpartanJ/ecode#169 .
...
Shutdown correctly LSPs (wait for shudown response).
Allow LSPs definition to declare dynamic vars that can run external commands to set the vars.
Added AdeptLSP support (SpartanJ/ecode#157 ).
2024-03-08 23:02:59 -03:00
Martín Lucas Golini
5d7d31c236
Git plugin fixes.
2024-03-08 20:25:42 -03:00
Martín Lucas Golini
d5c5cd9f9a
Universal Locator refactor.
2024-03-07 23:53:38 -03:00
Martín Lucas Golini
bc45f1c6ef
syntax highlighting for PKGBUILD ( SpartanJ/ecode#186 )
...
Makefile detection improvement (SpartanJ/ecode#185 )
Open File improvement (SpartanJ/ecode#184 )
2024-03-07 22:44:46 -03:00
Martín Lucas Golini
91b3bab240
Merge pull request #28 from iahung2/develop
...
Syntax highlighting for Adept
2024-03-07 18:42:57 -03:00
Martín Lucas Golini
4b850870f9
Merge pull request #27 from iahung3/develop
...
SmallBASIC syntax highlighting
2024-03-07 14:49:11 -03:00
Martín Lucas Golini
3eda524fbe
Added german and chinese translations.
...
Added Brython support (SpartanJ/ecode#172 ).
2024-03-06 19:54:51 -03:00
Martín Lucas Golini
3aecf60eab
Set default folder for the Save file dialog ( SpartanJ/ecode#183 ).
2024-03-06 15:37:56 -03:00
Martín Lucas Golini
5c700e4ca7
Added Vala syntax-highlighting support ( SpartanJ/ecode#137 ), vala-language-server support ( SpartanJ/ecode#138 ), and in consequence formatter ( SpartanJ/ecode#139 ) and linter support ( SpartanJ/ecode#140 ).
2024-03-05 23:46:38 -03:00
Martín Lucas Golini
1dfa10e084
Fixes: meson_options.txt is treated as plain text ( SpartanJ/ecode#165 ).
...
Save File As improvements (SpartanJ/ecode#171 ).
2024-03-05 21:32:07 -03:00
Martín Lucas Golini
86665eb5c9
Implemented horizontal scrolling with shift + mouse wheel ( SpartanJ/ecode#181 ).
...
Updated ca-bundle.pem.
2024-03-05 20:41:28 -03:00
Martín Lucas Golini
4687b46917
Added an option to disable static build from build scripts
2024-02-28 20:27:11 -03:00
Martín Lucas Golini
3415efccec
Move lines width cache with new or deleted lines operations.
2024-02-27 00:01:50 -03:00
Martín Lucas Golini
810ff41c48
Fixed lines cache check.
2024-02-26 16:28:29 -03:00
Martín Lucas Golini
cc144c27c1
Added WordWrap for UITooltip.
...
LSP tooltip now wraps its contents.
2024-02-24 13:45:27 -03:00
Martín Lucas Golini
3ebb48c2e6
Fix crash when picking a color, pressing escape closing the picker and picking some color right after.
2024-02-22 11:06:02 -03:00
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
2718194acc
Pump eepp version.
2024-02-20 20:02:40 -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
7ad57beffc
Should fix Windows VC build.
2024-02-07 20:28:07 -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
Martín Lucas Golini
8cbc5806f0
Ups.
2024-02-01 15:05:01 -03:00
Martín Lucas Golini
30051cf6b4
Fix ctrl+alt combination for text input on Windows.
2024-02-01 13:08:09 -03:00