Commit Graph

1121 Commits

Author SHA1 Message Date
Martín Lucas Golini
b896b3d07f Methods UIWidget::setLayoutSizePolicy, UIWidget::setLayoutWidthPolicy, UIWidget::setLayoutHeightPolicy now trigger auto resize when changing its size policy to SizePolicy::WrapContent.
Added Sys::getLogicalDrives, implemented for Windows and Linux.
UIFileDialog now shows the local drives when no more parent folders are present (when you can't go "up" anymore).
Added DiskDrivesModel.
Replaced all strcmp with strncmp.
FileSystem::mkDir now supports recursive mkdir.
Improvements and fixes in UIAbstractTableView, UITableView and UITreeView.
Silenced use-after-free warning in the Memory Manager.
Allow use premake option "--with-debug-symbols" for Windows builds.
Closes SpartanJ/ecode#8.
2023-01-14 02:53:36 -03:00
Martín Lucas Golini
bc68f4c230 Fixes issue SpartanJ/ecode#5. 2023-01-11 00:32:22 -03:00
Martín Lucas Golini
434cf89eec Pump eepp version. 2023-01-10 01:11:14 -03:00
Martín Lucas Golini
9a85864443 ecode: Reuse the same document when opening files already loaded in memory. 2023-01-03 13:51:27 -03:00
Martín Lucas Golini
f198093212 Added FileSystem::fopenUtf8 (open a file from a UTF-8 path).
Added Sys::parseArguments (parses command line arguments and converts them to UTF-8).
Fix in TextDocument::find.
Fix encoding issues on Windows (always use Unicode functions when available and convert everything to UTF-8).
2022-12-28 19:02:57 -03:00
Martín Lucas Golini
c61abf37bf Added utf8cpp as a auxiliary helper library.
Added UITooltip::getTooltipPosition.
Fixes in System::Process.
UICodeEditor: Performance improvements in minimap rendering.
ecode: AutoCompleteModule fixes. Added coloring to tooltips from the LSP Client. LSP Client Server parsing improvements.
2022-12-24 11:54:21 -03:00
Martín Lucas Golini
587d552940 ecode: Added some minor configurations. 2022-12-23 01:26:20 -03:00
Martín Lucas Golini
32b6aab371 Updated SOIL2.
Allow to register space for the upper zone of the UICodeEditor.
ecode: Minor fixes.
2022-12-22 01:44:36 -03:00
Martín Lucas Golini
63ff23cc10 SyntaxDefinitionManager: reverted allowing functions with spaces between "name" and "(". This needs a better solution.
ecode: LSP Client bug fixes. Improved mouse hover for Linter and LSP.
2022-12-20 17:38:50 -03:00
Martín Lucas Golini
62f2252b9e TextDocument events fixes.
Update eepp shields status.
2022-12-15 20:28:26 -03:00
Martín Lucas Golini
4e8caa82c2 ecode: Fix crash when opening a new terminal. 2022-12-07 01:44:43 -03:00
Martín Lucas Golini
1a1e7f5b62 ecode: Start the terminal in the current working directory (the current project folder or the current file folder if no project is open). 2022-12-06 01:30:21 -03:00
Martín Lucas Golini
a5745cb514 Text Input improvements. 2022-12-04 04:34:27 -03:00
Martín Lucas Golini
14324818ca Minor improvements. 2022-12-04 04:18:31 -03:00
Martín Lucas Golini
6a56b21868 EE::Maps is now a module and not part of the main library. 2022-12-03 18:54:13 -03:00
Martín Lucas Golini
6acceabaa8 Updated efsw.
ecode: Minor improvements in autocomplete plugin.
2022-12-02 02:45:33 -03:00
Martín Lucas Golini
16b036c458 Minor fix in Variant class. 2022-11-19 12:51:58 -03:00
Martín Lucas Golini
00c92642c0 ecode: Switch header/source improvements. Fixed syncProjectTreeWithEditor. 2022-11-18 13:21:43 -03:00
Martín Lucas Golini
dd9ff2ca77 Fixed emscripten build.
ecode: AutoCompletion: Improved signature help. LSPClientServer: Implementing codeActions in diagnostics.
2022-11-15 19:40:18 -03:00
Martín Lucas Golini
ae9879c9b4 ecode:
LSP plugin: Try fix a deadlock. Support string/UUID message IDs. Fixed response/notification parsing.
2022-11-12 21:05:35 -03:00
Martín Lucas Golini
9fc01999f3 ecode: More LSP work and auto completion. 2022-11-12 02:52:49 -03:00
Martín Lucas Golini
4f2c0e15af ecode: Added codicon to support completion symbols icons.
Improved auto-complete plugin and several fixes. Implementing signature help.
2022-11-11 03:17:41 -03:00
Martín Lucas Golini
4306e8018f ecode: LinterPlugin now supports LSP diagnostics. LSP client plugin refactor. 2022-11-07 01:34:55 -03:00
Martín Lucas Golini
d49acfcb6e premake4 and premake5 should force C++17 in VS build.
UICodeEditor: Renamed "getXOffsetCol" to "getXOffsetColSanitized". Added "getScreenPosition".
ecode: Mouse hover improvements in LSP and Linter plugins.
2022-11-05 13:30:45 -03:00
Martín Lucas Golini
3671db4ba6 More LSP implementation work. 2022-11-05 03:37:21 -03:00
Martín Lucas Golini
14997a945c ecode: More LSP work. 2022-11-04 01:32:30 -03:00
Martín Lucas Golini
36c22d63a9 LSP Improvements. 2022-11-03 00:11:51 -03:00
Martín Lucas Golini
37e946f452 ecode: More LSP WIP. Send partial changes in textDocument/didChange. Parsed more protocol features. 2022-11-02 03:04:52 -03:00
Martín Lucas Golini
5c46540f8e UIConsole now correctly caches rendered lines.
ecode :Minor improvements in GlobalSearchController keybindings.
2022-11-01 22:21:57 -03:00
Martín Lucas Golini
ab9bd56a49 More LSP work. 2022-10-31 01:28:02 -03:00
Martín Lucas Golini
ec847e8678 More LSP work. 2022-10-30 15:49:02 -03:00
Martín Lucas Golini
79b1aeb725 Fix onDocumentLoaded event when used in UICodeEditor. 2022-10-30 12:01:50 -03:00
Martín Lucas Golini
c422a43e03 macOS build fixes. 2022-10-30 11:49:31 -03:00
Martín Lucas Golini
5e7903337b Added Sys::getProcessID. Minor fixes.
ecode: LSP Client WIP. Some keybinding refactor.
2022-10-30 04:11:25 -03:00
Martín Lucas Golini
37e27ad670 System::Process now supports set working directory.
ecode: Started working on the LSP plugin. Some minor refactor. Fixed "Editor Font Size". Fixed Formatter and Linter in single thread mode.
2022-10-28 02:16:00 -03:00
Martín Lucas Golini
bc9ea14969 Added EE::System::Process class (still a WIP, basic functionality working).
Moved json and subprocess libraries to the eepp thirdparty folder.
Minor improvement to C++ syntax definition.
ecode: FormatterPlugin and LinterPlugin now use the new System::Process class.
2022-10-24 02:00:40 -03:00
Martín Lucas Golini
d787887982 Fixed selectors with multiple pseudo-classes.
Added support for :focus-within pseudo-class.
Fixed a bug in CSSPropertiesModel.
Fixed a bug in UIWidgetInspector.
Improved CSS syntax definition.
UIEditor: replaced the widget inspector in favor of UIWidgetInspector. Fixed a bug with the find-replace component.
2022-10-22 02:17:37 -03:00
Martín Lucas Golini
de04dd3984 Moved and improved the widget inspector to a new UI tool class: UIWidgetInspector. 2022-10-21 02:28:12 -03:00
Martín Lucas Golini
7e605d8fac Implemented getPropertiesImplemented in all widgets. 2022-10-20 12:41:52 -03:00
Martín Lucas Golini
faf18c4285 Added CSSPropertiesModel.
ecode: Improved inspect view.
2022-10-20 02:43:50 -03:00
Martín Lucas Golini
f361c69115 Minor annoying bugs fixes.
ecode: Added fallback font to the build.
2022-10-19 01:42:22 -03:00
Martín Lucas Golini
075b7d9968 Added CSS3 colors to Color class.
Improved emscripten build.
Cleaned up some warnings.
ecode: resetSyntax on file move.
2022-10-17 01:50:53 -03:00
Martín Lucas Golini
4b6ce692b9 ADded DroidSansFallbackFull as fallback font in ecode and eterm.
CheckBox and RadioButton now display hover effect.
Added alias "lg" for layout-gravity.
Node: Added addMouseClickListener and hasChild helper functions.
UICodeEditor: Fixed a minor bug that provoked to scroll the view when resizing the widget.
UITabWidget: minor bug fix.
ecode: Fixed a bug that caused to save a monospace font when the user did not accept to change it.
Added debug options to the widget inspector.
Added i18n to all strings defined in XML files/strings.
Added "Rename Session" button in the Terminal menu.
2022-10-16 03:23:01 -03:00
Martín Lucas Golini
54a177bc8e Added gravity-owner property to fix a bug in ecode document changed alert. 2022-10-14 23:48:37 -03:00
Martín Lucas Golini
0e4dc5d514 ecode:
Added native JSON formatter.
Added icons for files in file locator.
UICodeEditorPlugin can request and draw gutter space.
2022-10-14 20:48:45 -03:00
Martín Lucas Golini
4da3d8e750 UICodeEditor and ecode: Added line spacing support. 2022-10-09 13:36:03 -03:00
Martín Lucas Golini
c8c9610b47 TextDocument: Improved unindent. 2022-10-08 00:18:00 -03:00
Martín Lucas Golini
af5f9b4e80 ecode: Plugins improvements. 2022-10-07 14:24:30 -03:00
Martín Lucas Golini
ca381cab97 Plugins improvements. 2022-10-06 21:43:44 -03:00
Martín Lucas Golini
325db8f981 FontTrueType: Improved glyph codepoint fallback.
ProjectSearch fixes.
ecode: AppConfig: don't load a new document if the document is being loaded.
2022-10-06 15:47:26 -03:00