Commit Graph

1299 Commits

Author SHA1 Message Date
Martín Lucas Golini
68950b37ed Optimizations. 2023-09-25 22:43:08 -03:00
Martín Lucas Golini
a626c2469a Some optimizations. 2023-09-25 20:54:48 -03:00
Martín Lucas Golini
8744e3d1f0 Added static Text::draw to draw text directly without any allocation. For some scenarios this can be faster, and also takes advantage of the batch renderer. 2023-09-25 01:43:24 -03:00
Martín Lucas Golini
458daf604d Minor improvements. 2023-09-24 21:39:00 -03:00
Martín Lucas Golini
ccd6a04429 Fixed a bug introduced when adding a cb to the InputEvent::Quit. 2023-09-24 20:17:49 -03:00
Martín Lucas Golini
a87b1b3def On macOS check the PATH defined in the shell and append all pending PATHs to the current environment. This should improve binary finding. Solves issue SpartanJ/ecode#63.
Renamed MACOSX references to MACOS / macOS.
2023-09-24 01:33:15 -03:00
Martín Lucas Golini
63aa5c701f Minor fixes. 2023-09-23 12:57:56 -03:00
Martín Lucas Golini
32183c22b5 Node Events improvements. 2023-09-23 00:02:48 -03:00
Martín Lucas Golini
b3b5566f1c Try to load font family from @font-face (not tested yet).
Added NotoSans font family (Bold, Italic and BoldItalic).
Features Health will only check against language names (and ignore extensions).
2023-09-18 00:34:06 -03:00
Martín Lucas Golini
03da66dbe4 Silence some warnings on VS. 2023-09-17 12:49:05 -03:00
Martín Lucas Golini
cc7c4a5c75 Minor clean up. 2023-09-17 12:33:07 -03:00
Martín Lucas Golini
1c1c3c81ba ecode:
Allow selecting the default language for an extension when the extension could represent more than one language.
Some minor improvements.
2023-09-16 22:28:36 -03:00
Martín Lucas Golini
044e289ba8 Fix build. 2023-09-14 10:25:20 -03:00
Martín Lucas Golini
e795b70c7e eepp:
Updated efsw.
Refactored MD5 class.
ecode:
Updated build.app.sh scripts with the new font assets.
Tried to reduce the false positives of the document modified alert (I don't think it worked, needs more investigation).
2023-09-14 01:15:46 -03:00
Martín Lucas Golini
4520a74b1b setFontSize and all its relatives are now in pixels (instead of dp)
TextureLoader can now report of loaded files.
Some minor refactor in TextureFactory and UIWidget.
Added UITextureViewer tool. A very simple tool to display current loaded textures, added this util to the UIWidgetInspector.
2023-09-13 00:48:26 -03:00
Martín Lucas Golini
648adb4d7f Text class refactor (improve memory footprint) 2023-09-11 22:35:03 -03:00
Martín Lucas Golini
e479760ec8 Stop using FileSystem::fileCanWrite for write access check since it doesn't work on Windows. I couldn't find any reliable way to check this than simply trying to open a file as "wb". 2023-09-09 17:17:59 -03:00
Martín Lucas Golini
9f64a2149f Fix typo in containers.hpp.
Improve export compile commands for macosx.
2023-08-27 17:58:19 -03:00
Martín Lucas Golini
626ab38bc6 Avoid String copy when move is available. 2023-08-18 01:25:21 -03:00
Martín Lucas Golini
c4b8d701de Replace std unordered_map with robin_hood hashmap in some cases. Testing perf improvements (if any). 2023-08-18 00:36:41 -03:00
Martín Lucas Golini
86000a3047 ecode: Some minor performance improvements.
eterm: added font family.
2023-08-13 00:33:27 -03:00
Martín Lucas Golini
0903bd7039 Font family WIP. 2023-08-11 01:21:46 -03:00
Martín Lucas Golini
22e83d3da8 Fix outline thickness. 2023-08-07 18:24:21 -03:00
Martín Lucas Golini
4de6afcbd1 Font Family support WIP. 2023-08-07 01:02:16 -03:00
Martín Lucas Golini
d9ccaf2597 XML Tools fixes.
V lang LSP server updated to the new official LSP.
2023-08-05 14:42:27 -03:00
Martín Lucas Golini
9814f25696 Added flatpak warning. 2023-07-30 20:18:45 -03:00
Martín Lucas Golini
6b7f6f85ac Minor clean up in FontTrueType. Added Verilog syntax highlighting. 2023-07-14 15:29:44 -03:00
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