Commit Graph

58 Commits

Author SHA1 Message Date
Martín Lucas Golini
9ab0bf9cf5 Some optimizations on Node::nodeDraw.
UIPushButton will not create the icon node if not required (not sure yet if this is OK).
2023-12-02 21:19:57 -03:00
Martín Lucas Golini
620c3ba98c Linux fixes. Windows fix build. 2023-10-29 20:54:31 -03:00
Martín Lucas Golini
398a6341d0 IME refactor. Added support for IME in Terminal. 2023-10-29 20:30:17 -03:00
Martín Lucas Golini
fbeadf7d7f Optimizations in LuaPattern (don't allocate) and SyntaxTokenizer. Now it's possible to declare a dynamic syntax detection from it's context, this feature improves drastically Markdown parsing performance. 2023-10-06 00:14:07 -03:00
Martín Lucas Golini
63aa5c701f Minor fixes. 2023-09-23 12:57:56 -03:00
Martín Lucas Golini
4de6afcbd1 Font Family support WIP. 2023-08-07 01:02:16 -03:00
Martín Lucas Golini
08ebe82efb Removed more std::list usages. 2023-07-05 00:14:55 -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
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
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
7bbf00ea97 Fix ecode --health for Windows.
VS compilation now uses UTF-8 for the source code encoding.
2023-04-13 20:35:41 -03:00
Martín Lucas Golini
0970685fd1 Fix incorrect UITerminal draw invalidation when not visible.
ecode: Fix set frame rate limit at window creation.
2023-04-07 20:17:15 -03:00
Martín Lucas Golini
3d86c2e1e3 Status Bar + Build WIP 2023-04-07 20:01:16 -03:00
Martín Lucas Golini
7670795075 eepp: Some code refactoring regarding the TextureFactory. Also renamed some functions with incorrect naming.
ecode: Plugins are now hot-reloaded when a its configuration file is being written.
2023-03-29 01:13:46 -03:00
Martín Lucas Golini
13f2dce2ca ecode: Don't crash if the terminal could not initialize.
Closes issue SpartanJ/ecode#81.
2023-03-19 13:14:14 -03:00
Martín Lucas Golini
de3601da95 eterm: windows pty console functions are now dynamically initialized. 2023-03-19 02:54:47 -03:00
Martín Lucas Golini
e59269c858 ecode: Added "Show Image Preview" context menu option when editing an SVG file. 2023-03-13 12:43:45 -03:00
Martín Lucas Golini
c3de302ccd Improved terminal selection. 2023-03-12 18:05:35 -03:00
Martín Lucas Golini
7d7a97e60d ecode: Added an option to configure the default shell used by ecode terminal.
Closes SpartanJ/ecode#70.
2023-03-05 18:09:58 -03:00
Martín Lucas Golini
a7962f0621 ecode: Fixed Terminal->executeFile on Windows.
Closes SpartanJ/ecode#57.
2023-02-21 01:01:12 -03:00
Martín Lucas Golini
33f69b8423 Minor changes in terminal.
Fixed Sys::parseArguments for emscripten.
2023-02-06 04:51:06 -03:00
Martín Lucas Golini
5871b78fae Allow AltGr on text input. 2023-01-31 00:37:13 -03:00
Martín Lucas Golini
4edfa15e52 eepp:
Breaking change: Event::MsgBoxConfirmClick renamed Event::OnConfirm and Event::MsgBoxCancelClick to Event::OnCancel. To be more generic for new components.
ecode:
Refactor, moved all the menues creation into a new class. Added more global commands (for a future command pallete).
2023-01-19 21:15:59 -03:00
Martín Lucas Golini
21240d9af9 Added Sys::which.
ecode: Added support for more LSP servers: Kotlin, Nim, Ruby, YAML. Added "Format Document" option in editor's context menu (when available).
2023-01-15 16:37:16 -03:00
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
e1d3f8d9dd ecode: Minor nit and bug fix. Improved linux build.app.sh. 2023-01-09 02:24:28 -03:00
Martín Lucas Golini
d65dde77cf Added PseudoTerminal::read windows implementation buffer overflow check. 2023-01-05 23:12:23 -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
4ec5958638 Windows build fixes and improvements. 2022-12-04 03:29:37 -03:00
Martín Lucas Golini
0f8a67eaf8 Fix Windows build. 2022-12-03 22:22:01 -03:00
Martín Lucas Golini
b9b93579f7 Try to fix Windows build (not tested). 2022-12-03 21:44:01 -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
6eafc9b2c8 Fixed true color in terminal.
Fixed minor bug in linter plugin.
2022-11-09 01:17:29 -03:00
Martín Lucas Golini
7e605d8fac Implemented getPropertiesImplemented in all widgets. 2022-10-20 12:41:52 -03:00
Martín Lucas Golini
8949190bf9 Initial support for fallback fonts.
Minor fix in TerminalDisplay.
2022-10-04 02:09:40 -03:00
Martín Lucas Golini
3ffc611712 TerminalDisplay: improve middle mouse click paste action.
UIAbstractTableView: Improved auto columns width.
ecode: Improving plugins structure. New linters and formatters json config format.
2022-10-03 00:32:39 -03:00
Martín Lucas Golini
382dc9e564 Image: fixed huge memory leak when resizing or scaling a image.
TerminalDisplay: fixed issues with emojis.
2022-08-29 20:21:26 -03:00
Martín Lucas Golini
fb6641a81a MemoryManager now handles realloc.
TerminalDisplay: Cursor fixes.
TerminalEmulator: Memory leaks fixes.
2022-08-26 02:49:04 -03:00
Martín Lucas Golini
eec04b3a0b TerminalDisplay: Rendering performance improvements.
VertexBuffer: Added some helper functions to add and set quads.
GlyphDrawable: Added a function to draw the glyph into a VertexBuffer.
2022-08-25 02:59:20 -03:00
Martín Lucas Golini
b8b75c3001 UIEditor temporal layouts.
eterm optimizations.
Minor fixes.
2022-08-14 02:17:03 -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
4227afce5b Fixed "clear" command now clears scrollback history.
Improved font bold rendering (minor tweak).
Added click step for terminal scroll.
2022-07-28 01:51:38 -03:00
Martín Lucas Golini
b91028faa5 Moved min/max size equation to to UINode and fixed setPixelsSize when using max/min size.
Fixed mouse scroll in TerminalEmulator.
Some minor fixes.
2022-07-27 01:31:16 -03:00
Martín Lucas Golini
7372fe0051 premake5 try fix ecode build for macOS (not tested).
Added support for more mouse buttons.
Minor fix in CSS specification.
Changed TERM to xterm-256color.
2022-07-19 15:06:21 -03:00
Martín Lucas Golini
6be517ccf5 Deprecated (removed) EE::Graphics::Console and EE::Window::InputTextBuffer.
Fixed build.
2022-07-16 20:20:13 -03:00
Martín Lucas Golini
d6b28f2e91 Added terminal color schemes support.
Several fixes.
2022-07-11 03:12:31 -03:00
Martín Lucas Golini
fc6fdffa48 ecode: Added font and font size terminal config. Added many i18n translate calls. Improved keybindings and commands when using terminal. Some minor bug fixing. Added terminal splitting keybindings. 2022-07-09 21:11:00 -03:00
Martín Lucas Golini
b8547579ff UITerminal improvementes: scrollbar support. 2022-07-08 02:35:03 -03:00
Martín Lucas Golini
b91fed9658 Fixes windows build. 2022-07-07 19:49:16 -03:00
Martín Lucas Golini
7234453161 ecode: More terminal fixes. Also fixes for the linter and formatter plugins. 2022-07-07 19:28:42 -03:00