Commit Graph

1038 Commits

Author SHA1 Message Date
Martín Lucas Golini
0ea4636bfc SyntaxDefinitionManager: Added PowerShell, Wren, environment files, Ruby, Scala, Sass, PO and Perl support. 2022-08-03 12:33:48 -03:00
Martín Lucas Golini
8483cb6b87 VBO refactor. 2022-08-02 01:28:17 -03:00
Martín Lucas Golini
76267888d3 SyntaxDefinitionManager: Minor refactor. Added Odin, Containerfiles and .*ignore files support.
ProjectDirectoryTree: Get ignored files when using accepted patterns.
2022-08-01 02:58:56 -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
1678fd9b53 Fixed TextDocument::deleteCurrentLine().
Minor clean up in various apps and classes (nothing important).
2022-07-24 21:44:29 -03:00
Martín Lucas Golini
e1bd9292fd Minor log level clean up.
Fixed setlocale from translator.
2022-07-20 01:52:42 -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
47e87f7d95 Resize UIConsole on parent size change when in Quake Mode. 2022-07-18 16:42:11 -03:00
Martín Lucas Golini
4680b3a406 Added UIClip and ClipType. New clipping options for UINode. CSS property "clip" now allows: "none", "padding-box", "content-box" and "border-box". Allowing more precise clipping for each UINode.
Replaced all clipEnable and clipDisable calls in favor of setClipType.
UINode::draw now does not call drawBackground and drawSkin. Both functions now are called separately before the draw call.
Input: fixed WindowClose and Quit event report (Quit won't trigger onClose).
ecode: Code clean up, added TerminalManager. Fixed some minor bugs.
2022-07-18 01:44:34 -03:00
Martín Lucas Golini
8b91c93916 Improved multi-window support. 2022-07-17 01:57:28 -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
3cf446a467 Implemented UIConsole. Some various minor fixes. 2022-07-16 19:30:50 -03:00
Martín Lucas Golini
5c8206abbe TextDocument::save fix.
Function name typo fix.
UICodeEditor focus fix.
2022-07-11 22:25:11 -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
7234453161 ecode: More terminal fixes. Also fixes for the linter and formatter plugins. 2022-07-07 19:28:42 -03:00
Martín Lucas Golini
12e3d71048 Windows build fix.
ecode: More terminal integration improvements.
2022-07-06 17:47:20 -03:00
Martín Lucas Golini
ef7ebf4dbc Added terminal global keybindings. 2022-07-06 02:06:42 -03:00
Martín Lucas Golini
00c5515fd0 Added eterm::UITerminal.
Many changes over ecode. Working on adding terminal support in ecode. Basic support is working, may contain some bugs.
2022-07-05 22:34:48 -03:00
Martín Lucas Golini
c06eaa8d78 Build fixes. 2022-07-04 01:15:12 -03:00
Martín Lucas Golini
8c6035a0bb Added frame buffer support to TerminalDisplay, added proper line and cursor invalidation (only redraw the lines that are actually dirty). 2022-07-03 02:25:52 -03:00
Martín Lucas Golini
621cee2dc4 Refactor of UIWidget::getPropertyString. Is now const, all related functions are now const.
UIPushButton now supports max width.
2022-07-02 02:23:37 -03:00
Martín Lucas Golini
3a12928b83 UITab: Implemented proper support for max/min width and height.
UICodeEditor::getLineHeight() now uses the font height.
ecode: Fixes for Formatter and Linter plugins.
2022-07-02 00:44:25 -03:00
Martín Lucas Golini
d949667eaf FontTrueType: Allow disable emoji fallback.
Vector2: Added round, roundUp, roundDown.
KeyEvent: Now sends also the scancode.
GlyphDrawable force glyph offset to be an integer value.
TerminalDisplay: Allow emoji fonts. Fixed minor bugs. Added events callback.
TerminalEmulator: Added clearHistory.
eterm: Implemented title updates.
2022-06-27 02:05:26 -03:00
Martín Lucas Golini
919b9145d7 Restored old DejaVuSansMono font, and now added a separated DejaVuSansMono font with the Nerd Font version.
Added Math::roundDown.
TerminalEmulator: Fixed some memory leaks.
TerminalDisplay: Fixed some minor bugs. Added font grow/shink shortcut.
2022-06-26 14:54:29 -03:00
Martín Lucas Golini
d565570abe JoystickManager is not open by default.
DejaVu Sans Mono font has been replaced with the NerdFont version.
eterm visual and performance improvements (support strike-through, underline, italics).
2022-06-23 02:40:19 -03:00
Martín Lucas Golini
7c8babf9f9 eterm: Refactor to eepp coding style. Added mouse support. Improved cursor support. 2022-06-21 01:37:12 -03:00
Martín Lucas Golini
dafe1502be Fixed mingw64 build.
Fixed emscripten ecode build.
Added ecode mingw build script.
2022-06-13 03:19:31 -03:00
Martín Lucas Golini
387bf61070 LuaPattern: Added getURIPattern().
Renamed Engine::openURL to openURI.
UICodeEditor: Fixed a minor bug when hovering links. Added "Copy Containing Folder Path" un context menu.
2022-06-12 19:20:19 -03:00
Martín Lucas Golini
5280ac40ac eepp: Pump version.
ecode: Added version number and Help menu. Moved all project source files into the "ecode" namespace.
2022-06-12 02:51:16 -03:00
Martín Lucas Golini
6ffda35039 UICodeEditorSplitter: several fixes and added some sanity checks for debug builds.
ecode: Some minor fixes.
2022-06-11 02:39:27 -03:00
Martín Lucas Golini
3b4fba4099 Changed BlendMode pre-loaded modes. Now they are a function, since they could be used before the memory initialization provoking errors in emscripten.
GLES2 is now the default renderer for emscripten.
Fixed several rendering issues with GLES2 as WebGL (point sprites, bad states).
Fixed chipmunk in emscripten.
Improved debugging for emscripten debug builds.
2022-06-09 20:22:48 -03:00
Martín Lucas Golini
8fcad7d273 Fixed older GCC (7.5) build. 2022-06-07 09:42:32 -03:00
Martín Lucas Golini
82a6b61560 Fixed last commit new implementation (i broke it by accident at the last minute). 2022-06-04 00:41:38 -03:00
Martín Lucas Golini
38bb518bd3 UIWidget: Added virtual function "acceptsDropOfWidget" and "acceptsDropOfWidgetInTree". Added UI_TOOLTIP_ENABLED that allows to enable/disable tooltips in an element. Added functions: "isTooltipEnabled" and "setTooltipEnabled".
UITabWidget: Added support to draggable object hovering highlight color.
UICodeEditor: fixed vertical scroll.
Added UIRoot class, that represents the root (":root") element of the scene node.
2022-06-04 00:33:17 -03:00
Martín Lucas Golini
c754eb4ba6 Added tabbar-allow-switch-tabs-in-empty-spaces property to UITabWidget. 2022-06-03 19:02:09 -03:00
Martín Lucas Golini
e372ac80a1 Minor clean up. 2022-06-03 02:50:19 -03:00
Martín Lucas Golini
3041a56e66 UICodeEditor: Added support for non-monospace fonts. 2022-06-02 23:07:08 -03:00
Martín Lucas Golini
f8c96e6c91 TextDocument: Added "selection-to-upper" and "selection-to-lower" commands (and added default key bindings for the UICodeEditor).
ecode: Remember SearchBar & GlobalSearchBar filtering states. AutoCompleteModule: Add to dictionary symbols starting with "_".
2022-06-02 21:23:32 -03:00
Martín Lucas Golini
42387b21e4 ecode: New projects save implementation, now remembers the splitters configuration. Added JSON formatter. 2022-06-02 02:59:48 -03:00
Martín Lucas Golini
39133dbef7 SyntaxDefinitionManager: Improved JSON patterns.
UIAbstractTableView: Fixed a minor bug.
WidgetTreeModel: Added ID column.
ecode: Added debug node tree view.
2022-06-01 23:34:41 -03:00
Martín Lucas Golini
5e9f5b4389 ecode: Improved tabs icons. Sanitize cursor position when reloading a file. 2022-06-01 15:00:58 -03:00
Martín Lucas Golini
835dc3a55a Added shorthand: min-size and max-size.
SyntaxDefinitionManager: Improved JSON.
breeze theme improvements.
ecode: Added mime-type icons (using nonicons).
2022-06-01 01:21:21 -03:00
Martín Lucas Golini
344ce7ddb0 Renamed modules to plugins.
Moved plugins configuration files to plugins folder.
UICodeEditor: Fixed whitespaces color.
2022-05-31 16:46:01 -03:00
Martín Lucas Golini
f9123e259d UITextInput: Added setEscapePastedText/getEscapePastedText. Added event Event::OnTextPasted.
UICodeEditor: Show highlight range in minimap. Don't draw selection match in the actual selection. Added event Event::OnTextPasted.
TextPosition: Fixed operator <= and >=.
SyntaxDefinitionManager: Separated JSON from JavaScript.
SyntaxColorScheme: "Renamed line_number_background" to "gutter_background". Added "selection_region".
LinterModule: Added JSON linter. Added configuration "no_errors_exit_code". Minor rendering improvements.
ecode:
DocSearchController: Fixed selection range region. Minor fixes.
2022-05-28 01:37:36 -03:00
Martín Lucas Golini
2fb07e09aa Minor clean up. 2022-05-25 21:34:09 -03:00
Martín Lucas Golini
6b084ea843 Updated subprocess.h.
ecode: Minor improvements.
2022-05-25 00:38:35 -03:00
Martín Lucas Golini
55409b4d75 Added KeyMod class to be able to set the default modifier key used globally by the application.
UICodeEditor & UITextInput: Some minor improvements.
ecode: Improved keybindings. LinterModule fixed/tried to fix a very rare crash.
2022-05-23 21:18:15 -03:00
Martín Lucas Golini
e1a7062512 UICodeEditor: Improved zoom in and out. Fixed several minor bugs when zooming. Added minimap background color.
Fixed current column count.
2022-05-07 14:52:55 -03:00
Martín Lucas Golini
e3e2e30d62 UICodeEditor minimap colors are now editable as part of the colorscheme.
ecode: LinterModule now supports "notice" color.
2022-05-05 00:30:42 -03:00