Commit Graph

1020 Commits

Author SHA1 Message Date
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
Martín Lucas Golini
36bfd081c3 SceneNode::subscribeScheduledUpdate checks if subscriber already is in the remove list and removes it from it.
EventDispatcher now dispatches mouse up even if there's a node dragging.
SyntaxColorScheme now defaults to eepp.
UICodeEditor: Now can customize the blink time. Better minimap highlighting.
ecode: ProjectDirectoryTree now matches against the full path if has a better match than the filename.
2022-05-04 19:21:58 -03:00
Martín Lucas Golini
e6c4842a60 Minor bug fixes in font loading and rendering. 2022-05-02 01:24:32 -03:00
Martín Lucas Golini
ed52656988 Fixed a bug when opening folders in ecode. 2022-04-29 23:00:52 -03:00
Martín Lucas Golini
d3bcc824ca UISceneNode: Added implementation of getTranslator().
UICodeEditor: Improved minimap dragging.
SyntaxDefinitionManager: Fixed link pattern.
ecode: Added per project document configuration.
2022-04-28 00:38:31 -03:00
Martín Lucas Golini
60650407c6 UIPopUpMenu: Added event Event::OnMenuShow and Event::OnMenuHide.
UIMenuSubMenu: Added event Event::OnMenuShow (before requesting the UIPopUpMenu the menu show).
TextDocument::setAutoDetectIndentType: when set to true guess the type forcibly.
UIMenu: Added getItemId.
UISceneNode: Added getTranslatorStringFromKey.
ecode: New color schemes. Improvements in File Types and Color Schemes menues (they will shrink to fit into the screen). Separated current text document settings and global text document settings.
2022-04-26 20:02:43 -03:00
Martín Lucas Golini
d43498f2d4 Fix Windows build. 2022-04-24 16:56:22 -03:00
Martín Lucas Golini
e81df72189 Added Font::isMonospace.
SyntaxTokenizer now supports syntax color groups in patterns.
UICodeEditor: Minor changes in minimap.
2022-04-24 15:19:21 -03:00
Martín Lucas Golini
8552941da1 emscripten-fs.html: Added CC0 license.
FontTrueType: some performance optimizations and fixed a bug when mixing fonts in a same Page.
Font::isEmojiCodePoint: Minor optimization.
ecode: Allow arguments in emscripten build.
2022-04-23 16:44:28 -03:00
Martín Lucas Golini
1f0df28b81 Fixed and improvements in FileSystemModel. 2022-04-19 01:20:21 -03:00
Martín Lucas Golini
5647f7a4bd Fixed Android build.
Minor fixes.
ecode: moved modules files.
2022-04-18 02:51:15 -03:00
Martín Lucas Golini
d17ddef3f2 UICodeEditor: improved minimap scrolling.
VertexBuffer: fixed a minor bug.
2022-04-17 22:53:06 -03:00
Martín Lucas Golini
0c85116044 Minor bug fixes. Fixed compilation issues with GCC 12. 2022-04-17 19:25:41 -03:00
Martín Lucas Golini
07d3d6a596 ecode: Moved ecode logs to ecode config path. 2022-04-17 01:26:38 -03:00
Martín Lucas Golini
59e9044a75 Added horizontal scroll support (wheel left and right). 2022-04-04 19:57:35 -03:00
Martín Lucas Golini
aade7371f8 Added XML tags auto-close. 2022-04-02 21:14:36 -03:00
Martín Lucas Golini
0ef95ec3d4 ecode: Fixed load callback when loading a file from the GlobalSearchController. 2022-04-02 01:05:03 -03:00
Martín Lucas Golini
d08463e9d9 UICodeEditor: Minor Minimap improvements.
ecode: Vertical Scrollbar can now be disabled (since minimap can replace the scrollbar functionality).
2022-03-30 23:14:40 -03:00
Martín Lucas Golini
d5ae30f9e6 UICodeEditor: completed minimap support.
ecode: Added minimap support.
2022-03-30 22:01:11 -03:00