Commit Graph

1272 Commits

Author SHA1 Message Date
Martín Lucas Golini
c2e8a55bfa ecode: Added XML Tools plugin, currently provides highlight of matching xml tags and auto edit of xml tag name. Some minor fixes are still pending. 2023-07-09 23:09:59 -03:00
Martín Lucas Golini
95e938264f TextDocument added getMatchingBracket balanced search for Strings. 2023-07-09 03:02:37 -03:00
Martín Lucas Golini
03d45c1a57 Minor clean up. 2023-07-08 22:07:43 -03:00
Martín Lucas Golini
c1dfb83ed6 Minor fixes and refactor. 2023-07-08 02:16:35 -03:00
Martín Lucas Golini
6a4a2881ab eepp:
UICodeEditorSplitter, goto line of document opened when creating a split.
StyleSheetParser allow UTF-8 BOM files.
Improved UICodeEditor::scrollTo.
ecode:
Fixed a crash in universal locator.
2023-07-06 00:32:07 -03:00
Martín Lucas Golini
1f1f2b5c17 ecode: Added range formatting support. Improved behavior when closing tabs with mouse. 2023-07-02 18:57:23 -03:00
Martín Lucas Golini
0fc9fb3895 eepp: Remove usage of std::list.
ecode: Some minor code refactor.
2023-07-02 03:36:56 -03:00
Martín Lucas Golini
c3d89d0a64 eepp: Added "jump-lines-up" and "jump-lines-down" commands to UICodeEditor.
ecode: Fixed display of textDocument/references (wasn't displaying non opened files). Build command will save all modified files before running.
2023-07-01 19:46:28 -03:00
Martín Lucas Golini
d11c4ce865 eepp:
Reduced the default indent in UITreeView.
ecode:
Search Project every minute when editor is active.
Added "Copy Error Message" in editor right-click context menu
2023-06-30 00:37:10 -03:00
Martín Lucas Golini
0a9059771e eepp:
Minor changes in Action implementation.
Added setTimeout and setInterval to Node.
Runnable action now can loop.
Editor splitter will always try to focus an open document in the current tab widget.
ecode:
Trim memory every 60 seconds when editor has been active (Linux).
2023-06-28 00:24:00 -03:00
Martín Lucas Golini
f58866dd66 eepp: Added ScopedOp and BoolScopedOp. General optimization of lambda captures. Added support in UICodeEditorSplitter for navigation history.
ecode: Implemented navigation history over the editor, with Alt + Left | Right you can navigate over the relevant code navigation history.
2023-06-25 21:14:36 -03:00
Martín Lucas Golini
5d54f01352 eepp:
Added Window::flash().
FileSystemModel will not spam invalidations when not needed.
UIAbstractTableView and UIAbstractView won't queue more than 1 invalidation per frame when invalidations comes from a non-main thread.
ecode:
UniversalLocator now understands pasted file paths (with and withouth cursor position) and allows to go to that file and position.
2023-06-23 20:28:22 -03:00
Martín Lucas Golini
4120a25a24 ecode: Project Build Fixes. List open files in universal locator. Added some shortcuts. 2023-06-21 01:10:23 -03:00
Martín Lucas Golini
47552cdebe ecode: Allow copy error message and file path from build output issues. 2023-06-20 02:39:25 -03:00
Martín Lucas Golini
63813fb44a Minor fix, allow to open files with : in the name. 2023-06-19 22:53:05 -03:00
Martín Lucas Golini
0afbaa2971 eepp: Fixed SyntaxTokenizer with empty string. Fixed Process when building with custom environment variables. Fixed MD5::fromStream. Added Node::hasEventsOfType.
ecode: Fixed Build Settings UI (bug in event handling). Improvements in project builds. Improvements and fixes in formatter plugin.
2023-06-17 03:34:28 -03:00
Martín Lucas Golini
4e13d4d651 Fixed issues in document search. 2023-06-16 00:48:56 -03:00
Martín Lucas Golini
c29f43ed34 eepp: UITabWidget now let you set how a tab should be focused when the current focused tab is closed (search for the closest tab or focus the previous focused tab).
ecode: Document Info is shown in the status bar if the status bar is present. Fixed a bug when parsing the file path of a status build issue.
2023-06-15 00:55:56 -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
32466ba8b7 ecode:
Fixed plugins not finding a running LSP for a language that it's not the default that made run the LSP when LSPs are shared between languages.
Finished implementing the project build configuration (added clone and fixed several minor stuff).
Fixed keybindings not loading the user configured keybidings in some components.
Improved status bar.
2023-06-09 01:27:17 -03:00
Martín Lucas Golini
3759b1cfd6 UINode::isScrollable is now virtual. Minor improvements in scrollable widgets and tables columns. 2023-06-07 02:16:55 -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
58c6b3708d ecode: Improved auto-completion suggestions. Fixed not being able to comment a single line with ctrl + /. 2023-06-02 21:12:39 -03:00
Martín Lucas Golini
ac416fab20 ecode: WIP Build settings fixes. 2023-06-02 01:56:22 -03:00
Martín Lucas Golini
84c9fe4e6b Fixed an old deadlock in ActionManager, reproducible when reloading LSP servers in ecode.
Improved syntax definition for tsx and jsx files.
Minor improvements in the SyntaxTokenizer.
2023-06-02 00:51:46 -03:00
Martín Lucas Golini
cc62ec5790 ecode:
Improved drastically UIBorderDrawable performance.
Added Event::OnItemValueChange event and ItemValueEvent.
Added i18n function to UIWidget.
Remamed Node::addMouseClickListener to Node::onClick.
Added UI_SCROLLABLE flag and UINode::isScrollable to indicate if the widget implements some scrolling function and now UIScrollView will check if it can scroll by checking if the widget over is scrollable or not.
UISceneNode now implements loadLayoutFromString with const char* to avoid unnecessary std::string allocations.
Several fixes in UIListBox and UIDropDownList.
ecode:
Continued working on UIBuildSettings screen and Project Build configuration.
2023-06-01 02:32:03 -03:00
Martín Lucas Golini
5ea1678832 eepp: Layouts improvements. Added UICodeEditorSplitter::createWidget. Fixed a bug in UITouchDraggableWidget.
ecode: WIP Build Settings UI.
2023-05-30 02:04:43 -03:00
Martín Lucas Golini
e6bb1076d4 ecode: UIStackLayout fixes. Allow UITextView set text from the inner content. 2023-05-28 22:54:16 -03:00
Martín Lucas Golini
8443ae385b eepp:
UIStackLayout added wrap_content support for layout_width.
All Layouts: added max-width support.
UIListBox: Allow adding empty items.
UICodeEditor: Added resetSyntaxDefinition.
ecode:
Added "Folder/Project Settings" menu. Added/made visible "Treat .h files as C++ code" option.
Added project build preset output parsers, added "generic" output parser as default preset.
Added enabled state for build steps.
Hide status bar when ecode is opened in terminal mode.
eterm:
Force rendering even if buffer is still incomplete.
2023-05-28 03:09:35 -03:00
Martín Lucas Golini
f2c30909a8 eepp: Improvements and fixes to the StackLayout. 2023-05-27 00:25:36 -03:00
Martín Lucas Golini
947648944f eepp: Added UIStackLayout. Minor fixes. 2023-05-26 01:14:49 -03:00
Martín Lucas Golini
af284a4c1b Crash fix when formatting a document while searching for a string in the document. 2023-05-25 22:51:23 -03:00
Martín Lucas Golini
893943cc85 eepp: Improved String::unescape. Improved JavaScript+TypeScript regex tokenization. Minor fix for unescaped search in text highlights in UICodeEditor.
ecode: Avoid reloading plugins when a new instance of ecode is opened. Improved plugins logs.
2023-05-25 02:10:41 -03:00
Martín Lucas Golini
6fa7f5c63b TypeScript and TSX Minor improvements 2023-05-24 01:02:16 -03:00
Martín Lucas Golini
d368065efd ecode: TSX and JSX support improvements. 2023-05-22 23:28:16 -03:00
Martín Lucas Golini
168a7babaa eepp:
Minor improvements in UICodeEditor rendering.
Allow to limit the maximum line length accepted in the highlighter (will not highlight lines that are above the threshold).

ecode:
Allow to share processes between language LSPs that use the same process (for example: clangd for C and C++, it doesn't make sense to fire 2 processes because clangd will manage both languages just fine in a single instance).
Fixed some bugs when selecting the build type.
2023-05-12 14:06:44 -03:00
Martín Lucas Golini
31567eb8a4 Added an option to treat .h files as C++ code/syntax. 2023-05-10 08:01:16 -03:00
Martín Lucas Golini
0886aded95 Fixed syntax highlighting issues when inserting or removing multi-line comments.
Added support for ranged semantic highlighting, improving performance for LSPs that support ranges but not fullDelta changes.
2023-04-14 20:52:29 -03:00
Martín Lucas Golini
0b3dea6595 Fixed an error with the syntax tokenizer when parsing UTF-8 symbols with a length bigger than 1 at the beginning of a token. 2023-04-14 16:43:10 -03:00
Martín Lucas Golini
a9d0715c8c eepp: Minor fixes in widgets and added the at rule: @glyph-icon to register a glyph-icon from the CSS, in order to be able to consume unregistered glyph icons from a CSS file. 2023-04-12 18:28:13 -03:00
Martín Lucas Golini
2c1811e519 eepp: Several fixes on widgets.
ecode: Build Side Panel WIP.
2023-04-10 18:58:34 -03:00
Martín Lucas Golini
1ba74ae338 ecode: Project Build WIP. 2023-04-08 13:22:31 -03:00
Martín Lucas Golini
9eef0748f6 Project Build WIP. 2023-04-07 21:23:05 -03:00
Martín Lucas Golini
7425b77f9e Added font antialiasing and hinting config. Subpixel hinting isn't ready yet (fragment shader pending). 2023-04-04 20:06:55 -03:00
Martín Lucas Golini
2eae0ab652 Improved semantic highlighting. 2023-04-03 01:47:24 -03:00
Martín Lucas Golini
ab04f9b06e eepp:
Added Window::showMessageBox.
ecode:
Closes SpartanJ/ecode#93 (ecode does not properly warn the user of the lack of GPU acceleration).
Minor refactor.
2023-04-02 19:37:31 -03:00
Martín Lucas Golini
47e744dccb Fix windows build. 2023-04-02 15:51:42 -03:00