Commit Graph

235 Commits

Author SHA1 Message Date
Martín Lucas Golini
7d2fbc4678 ecode: Fix improper lock when adding watches. Fixed several crashed when plugin events where fired from closed editors. 2023-10-27 01:55:43 -03:00
Martín Lucas Golini
6597c901e9 Fix file not reloading when changed from disk. 2023-10-17 23:06:51 -03:00
Martín Lucas Golini
2b15e0749d Try fix an issue with plugin reload.
Don't auto format config files when auto format on save is set to avoid issues.
Try to fix a very rare issue with the syntax highlighter (also improve locking).
2023-10-12 20:55:55 -03:00
Martín Lucas Golini
893e3cd912 Allow selecting and copying text in UIConsole.
IniFile detects BOM headers.
Fix small bug when opening ecode logs.
2023-10-04 20:30:28 -03:00
Martín Lucas Golini
8612eb2721 eepp: Improvements in Process. Some minor performance improvements.
ecode : Fixes in XML Tools. Fixes in Linter Plugin.
2023-09-28 01:05:15 -03:00
Martín Lucas Golini
70d4c51c98 Fix app close on macOS. 2023-09-25 23:45:35 -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
cf8501337b Nit. 2023-09-24 01:45:43 -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
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
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
2e80cdb77e Don't remove keybindings of formatter and linter plugins if any document is still open.
Converting from UTF8 now checks for BOM UTF8 strings.
2023-09-15 23:47:47 -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
bfd49ea019 User FLATPAK_ID instead of FLATPAK_ISOLATION to find out if it's running from flatpak. 2023-09-10 14:09:09 -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
3231dabbee Minor fixes and improvements. 2023-09-05 19:51:36 -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
9814f25696 Added flatpak warning. 2023-07-30 20:18:45 -03:00
Martín Lucas Golini
87afb70851 ecode: Use default modifier for all the shortcuts using KEYMOD_CTRL. 2023-07-28 21:12:34 -03:00
Martín Lucas Golini
451ffc75ad ecode: Improved "Open with ecode" on macOS. 2023-07-23 20:07:44 -03:00
Martín Lucas Golini
86111b4e4c More macOS improvements. 2023-07-19 23:45:46 -04:00
Martín Lucas Golini
9e1549647b ecode macOS fixes (WIP) 2023-07-18 02:32:07 -04: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
c1dfb83ed6 Minor fixes and refactor. 2023-07-08 02:16:35 -03:00
Martín Lucas Golini
2a069ad747 eepp: Fixed a UILinearLayout bug.
ecode: Added --open-clean / -x CLI parameter.
2023-07-07 01:46:36 -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
19de1a1af1 ecode: Added "sb" (switch build) and "sbt" (switch build type) commands to the universal locator. Added two commands to switch between the folder tree view and the build view. 2023-07-04 19:09:27 -03:00
Martín Lucas Golini
6871fd3b65 ecode:
Fix in LSP Client, incorrectly unbinding commands from document.
Emscripten improvements (clipboard).
2023-07-03 12:31:51 -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
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
93c3971c94 Fix emscripten and macOS builds. 2023-06-28 00:59:16 -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
b1fe8a0543 Should fix windows build and a couple of minor fixes. 2023-06-26 00:54:41 -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
5ab1fa72d3 ecode: Fix for textDocument/rename not loading un-opened files correctly (they were opening without plugins). Fixed Open Documents listing in Universal Locator. 2023-06-22 01:50:48 -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
4495626e3c Allow to load files with : in their names. 2023-06-18 15:50:33 -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
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
c0aabb56d8 eepp: Fixed UI Editor crash when opening projects.
ecode: Status Build Output Controller crash fix. Added icons to the status bar buttons.
2023-06-13 20:44:49 -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
2e12b8313e ecode: Project Build Settings save and load working. 2023-06-08 01:13:30 -03:00