Commit Graph

102 Commits

Author SHA1 Message Date
Martín Lucas Golini
16890cae6c Physics module now is an optional module.
Fixed Android build.
ecode: Added Help -> Check for Updates. Added "Rosé Pine" terminal color scheme.
2023-01-15 04:08:29 -03:00
Martín Lucas Golini
bbd7b354ac Closes SpartanJ/ecode#6. Added support to restore the last session at startup. 2023-01-14 13:33:33 -03:00
Martín Lucas Golini
c0249bc5ba Closes SpartanJ/ecode#9 2023-01-14 12:01:42 -03:00
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
3536880da9 Minor fixes. 2023-01-10 00:43:45 -03:00
Martín Lucas Golini
e1d3f8d9dd ecode: Minor nit and bug fix. Improved linux build.app.sh. 2023-01-09 02:24:28 -03:00
Martín Lucas Golini
6146d798fb Fixed FontTrueType::getGlyphDrawable.
ecode: Added -V/--version command parameter.
2023-01-04 02:58:09 -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
587d552940 ecode: Added some minor configurations. 2022-12-23 01:26:20 -03:00
Martín Lucas Golini
4a81be8048 ecode: Fix nullptr exception. 2022-12-20 11:02:07 -03:00
Martín Lucas Golini
4e61552126 Fixed release build in Windows.
ecode pumped version, soon to be released.
2022-12-07 00:30:22 -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
00c92642c0 ecode: Switch header/source improvements. Fixed syncProjectTreeWithEditor. 2022-11-18 13:21:43 -03:00
Martín Lucas Golini
1875886c5f SSLSocket try to find CA bundle in SSL_CERT_DIR env path.
ecode:
Replaced python linter with ruff.
ProjectDirectoryTree now provides PluginMessageType::FindAndOpenClosestURI.
2022-11-18 02:46:46 -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
eded28f70b ecode: More minor improvements to the LSP plugin. Added rustfmt formatter, and added rust-analyzer LSP. Fixed plugins exit. 2022-11-06 03:13:27 -03:00
Martín Lucas Golini
14997a945c ecode: More LSP work. 2022-11-04 01:32:30 -03:00
Martín Lucas Golini
bc5188ec28 LSP Client advances. Some LSPs are responding fine. 2022-10-31 22:14:09 -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
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
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
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
2d53c07c4b Fix high CPU usage issue with emscripten demos. 2022-10-16 19:39:16 -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
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
Martín Lucas Golini
e7bcd18a0c UIAbstractTable view minor improvement. 2022-10-01 22:55:51 -03:00
Martín Lucas Golini
994cee2bbf Improved UITreeView selection.
ecode: Widget picker in scene node inspector.
Added support for @string(key, "fallback_text") in translator and text properties.
2022-09-30 01:58:12 -03:00
Martín Lucas Golini
3d3d9057e0 Plugin preferences configuration WIP. 2022-09-28 02:17:33 -03:00
Martín Lucas Golini
dd88478dd8 ecode: IgnoreMatcherManager fixes. Implemented a new plugin manager. 2022-09-16 02:41:03 -03:00
Martín Lucas Golini
a4257283cc ecode: Fix GlobalSearchLayout and execute_dir_in_terminal. 2022-09-12 10:57:23 -03:00
Martín Lucas Golini
19e2aba3ba ecode: Added Terminal menu. 2022-09-12 01:38:11 -03:00
Martín Lucas Golini
31847b7918 ecode: Added support for native formatters (XML formatter is provided by pugixml). 2022-09-07 01:55:18 -03:00
Martín Lucas Golini
cb2274397e UIDocFindReplace WIP. 2022-09-03 15:33:42 -03:00
Martín Lucas Golini
343a6a84b3 SyntaxDefinitionManager: Added [x]it! (https://xit.jotaen.net/) support.
Premake files added parameter options: --with-debug-symbols (release builds are built with debug symbols).
breeze theme: replaced tab close button with an inline SVG.
SyntaxColorScheme: now supports custom styles for code patterns.
DrawableSearcher: Now respects screen pixel density when loading SVG files.
Added support for backward-cpp (https://github.com/bombela/backward-cpp). Now release builds with symbols can report the stack-trace of any crash.
Updated nanosvg.
ecode: Fixed benchmark mode and frame rate limit.
ProjectDirectoryTree minor bug fix.
Some minor general bug fixes.
2022-08-28 16:24:29 -03:00
Martín Lucas Golini
e222771afa Minor refactor:
UI::Window: Window::setWinFlags is now Window::setWindowsFlags.
Renderer: Added glVersionFromString, graphicsLibraryVersionToString, getDefaultGraphicsLibraryVersion, getAvailableGraphicsLibraryVersions.
Defined Sizeu.
Context and Window ini configurations are now lowercase.
Display: Added getRefreshRate and getSize.
UICodeEditor: hide color preview when mouse leaves the editor.
ecode:
Added Renderer options (vsync, msaa, max frame rate, renderer version).
Added "bechmark-mode" option, to measure rendering performance.
2022-08-28 01:05:25 -03:00
Martín Lucas Golini
0924b715ee Some minor fixes in ecode. 2022-08-24 03:04:21 -03:00
Martín Lucas Golini
55c63e3dbc Several minor improvements. 2022-08-20 03:46:14 -03:00
Martín Lucas Golini
335b472002 Minor Terminal Emulator improvements.
Minor fix in FunctionString.
2022-08-13 04:30:24 -03:00
Martín Lucas Golini
b11b436903 ecode: Added a couple of icons and commands. 2022-08-05 01:49:45 -03:00
Martín Lucas Golini
d078108b96 ecode: Fix tools menu click bind. 2022-07-27 01:36:07 -03:00