Commit Graph

284 Commits

Author SHA1 Message Date
Martín Lucas Golini
75afbb58af eterm: Refactor and fix. 2022-06-24 20:19:16 -03:00
Martín Lucas Golini
dc9f0fc543 Improved eterm mouse selection. 2022-06-23 21:01:47 -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
4c5decbb1d Minor clean up. 2022-06-20 02:33:13 -03:00
Martín Lucas Golini
5e1215f5cf Terminal Emulator base on HexeTerminal WIP. 2022-06-15 09:47:12 -03:00
Martín Lucas Golini
042b8f0304 Added mold linker support. 2022-06-04 03:06:36 -03:00
Martín Lucas Golini
cf83d8fbf3 Renamed "codeeditor" folder to "ecode" (the real app name). 2022-04-01 00:38:10 -03:00
Martín Lucas Golini
c1b03ca7af FontTrueType: Improved font kerning. Added FontTrueType::getGlyphByIndex.
TextDocument: Added hasUndo, hasRedo.
UICodeEditor: Improved default context menu.
UITextInput: Added context menu.
UIFileDialog: Minor improvents, localization and path selection.
UIMessageBox: Improved localization.
Fixed UITableView::findRowWithText and UITreeView::findRowWithText when doing case insensitive searches.
ecode: Fix Sans Serif font selection was breaking the current opened code editors.
2022-03-27 01:35:57 -03:00
Martín Lucas Golini
55e8a239ef UICodeEditor link hover improvements. 2022-03-16 20:10:51 -03:00
Martín Lucas Golini
04aa888427 Added libpng as a dependency for static freetype build.
Upgraded SDL2.
2022-02-11 10:51:22 -03:00
Martín Lucas Golini
7a221d19c1 First steps in supporting color fonts.
Some minor fixes to build with emscripten.
2022-02-08 03:06:35 -03:00
Martín Lucas Golini
ff2fd46638 WIP. 2022-01-18 22:39:00 -03:00
Martín Lucas Golini
63d998656d ecode: Added sol format support.
Added new option for the ThreadPool.
2021-11-10 19:54:21 -03:00
Martín Lucas Golini
817fadb8fe Avoid refreshing ProjectDirectoryTree when invisible files are added.
Minor improvements in the SyntaxDefinitionManager.
2021-06-07 02:15:57 -03:00
Martín Lucas Golini
7f4b9ef11f Linter bug fix.
Minor optimization in Auto Complete module.
Updated creator project.
2020-12-31 15:14:32 -03:00
Martín Lucas Golini
44259a1bba ecode: Added support for auto-reload and auto-detect file changes from open documents.
eepp: Several fixes and improvements.
2020-11-25 23:48:55 -03:00
Martín Lucas Golini
fcd68131e3 Added UIStackWidget.
Added UIMultiModelView.
Some minor fixes for UIAbstractView and derivatives.
ecode:
Added shortcut to switch visibility of the side panel.
Changing mono font now does not require to restart the application.
2020-11-15 03:20:09 -03:00
Martín Lucas Golini
763683a818 Added Log levels support. 2020-08-31 01:36:12 -03:00
Martín Lucas Golini
2c9e58763b Fixed FileInfo::isHidden.
clang formated files.
2020-08-18 01:24:49 -03:00
Martín Lucas Golini
1250fc9972 Added UIListView.
UIFileDialog now uses UIListView.
UITreeView/UITableView/UIListView allow selecting row by writing its name.
Styling fixes.
2020-08-18 00:35:01 -03:00
Martín Lucas Golini
a5a55481dc Very minor improvements to the table header column icon. 2020-08-17 01:29:50 -03:00
Martín Lucas Golini
3c28535d7a Added UIIcon and UIGlyphIcon. Icons refactor WIP. 2020-08-10 01:54:02 -03:00
Martín Lucas Golini
d6e9f49197 Added Boyer-Moore-Horspool fast string search algorithm to String.
Improved project search performance by using the BMH algorithm.
2020-08-09 00:28:46 -03:00
Martín Lucas Golini
fe1efd15c2 Some minor refactor for the UI Models code. 2020-07-18 01:40:56 -03:00
Martín Lucas Golini
f23c37d9c8 Merge branch 'develop' into dev-treeview 2020-07-04 20:25:26 -03:00
Martín Lucas Golini
1e0324be3a WIP. 2020-07-04 03:04:44 -03:00
Martín Lucas Golini
94b225b33d Minor fixes and changes for the Code Editor. 2020-07-02 20:22:23 -03:00
Martín Lucas Golini
b916517fd1 Added basic module support for the UICodeEditor.
Code Editor auto-complete support WIP.
2020-07-01 05:28:24 -03:00
Martín Lucas Golini
651039b0e8 Redesigning UITextInput and all the derivatives to use TextDocument. 2020-06-15 01:44:29 -03:00
Martín Lucas Golini
d6861d117b Include <string> in the new class (MSVC is complaining). 2020-05-28 19:07:00 -03:00
Martín Lucas Golini
85aa2a3a32 Modernized the Input class, added support for scancodes (still need to test a little bit more).
Improved SyntaxColorScheme.
Some minor improvements here and there.
2020-05-28 06:00:49 -03:00
Martín Lucas Golini
2de37d3a45 More improvements to the UICodeEditor and TextDocument.
Improved the SyntaxHighligther.
2020-05-26 05:48:22 -03:00
Martín Lucas Golini
cd4684a148 Minor fixes.
Bumped SDL version for VC build.
2020-05-25 19:15:06 -03:00
Martín Lucas Golini
84c40649c8 Removed rx-cpp since it's problematic. Added System::LuaPatternMatcher in replacement. This should fix the Windows and macOS builds.
Fixed UISceneNode size, now it's set in pixels instead of dp to allow to always be the same size as the window.
Fixed styles and layouts not updating in time before calling draw.
Fixed a double delete crash when using UIDropDownList and UIWinMenu.
Now UI elements can be dragged even if the mouse cursor goes out of the window limits.
UIScrollBar slider now can be dragged also from the horizontal edges that are not part of the button slider (this allows to scroll from the edge for example in maximized windows).
Fixed TextDocument on emscripten.
Disabled fullscreen window minimizing on focus loss (SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS).
2020-05-25 05:18:38 -03:00
Martín Lucas Golini
472edd7e41 Added vertical scrollbar to the UICodeEditor.
Some minor fixes.
2020-05-24 06:14:54 -03:00
Martín Lucas Golini
2c05f3f579 Added CodeEditor project to be able to test comfortably the UICodeEditor and the TextDocument.
Renamed Window::setCaption to Window::setTitle.
Several fixes in TextDocument.
2020-05-24 04:14:52 -03:00
Martín Lucas Golini
94a2e4a0c3 Syntax Highlighting working.
Some minor refactor.
2020-05-23 23:41:06 -03:00
Martín Lucas Golini
c462e9e7c9 Some fixes and improvements to the TextDocument and UICodeEditor classes. 2020-05-21 20:41:41 -03:00
Martín Lucas Golini
1f91f612de More editor improvements. Also changed the editor name, now is UICodeEditor. 2020-05-21 02:31:34 -03:00
Martín Lucas Golini
18847a5974 More WIP on the code editor. 2020-05-20 19:37:21 -03:00
Martín Lucas Golini
098c882a8d Added UICodeEditor, currently is a WIP.
Improvements in TextDocument.
2020-05-20 05:59:46 -03:00
Martín Lucas Golini
67a5e25cf2 TextDocument WIP. 2020-05-18 04:01:25 -03:00
Martín Lucas Golini
909088b46d Layout improvements WIP. 2020-05-04 04:52:36 -03:00
Martín Lucas Golini
87e3d64b63 Added renamed Display::getPixelDensity() to Display::getPixelDensitySize() and now Display::getPixelDensity() returns the float value of the pixel density.
Moved the global test to tests/test_all.
Added a ui_perf_test used to test specific performance issues in the UI.
Fixed the element/widget inline style (now respects the specificity).
Some optimizations in UIListBox.
2020-05-03 03:39:31 -03:00
Martín Lucas Golini
fa20d393cd Several performance improvements.
Added events: Node::onIdChange, UIWidget::onClassChange, UIWidget::onTagChange.
UIItemContainer is now a widget (required for CSS).
Fixes in UIListBox and UITable.
CSS::StyleSheetStyle is now stored as a shared pointer.
Fixes in UICheckBox, UIRadioButton, UISlider, UIScrollBar, UITab, UIWinMenu, and more.
Better debug tooltips (now shows padding and margin).
Fix in UISceneNode::loadLayoutNodes, ensures that the current SceneNode is the one that it's loading.
2020-04-16 05:31:43 -03:00
Martín Lucas Golini
9a43551b6b More CSS specification clean up and improvements.
UIPushButton refactorization.
Fixed crash on tooltip close.
And several minor changes to adapt the CSS specification changes into the widgets.
2020-04-04 02:43:19 -03:00
Martín Lucas Golini
a3afe7a8e2 Added em and rem units support.
Fixed a bug in tooltips.
2020-03-25 03:19:56 -03:00
Martín Lucas Golini
3921f81ced Added border-radius support.
Added alias support for shorthands.
Added BorderType::Outline.
Added support for background/foreground masks.
Fixes to the border rendering.
Several fixes and clean up.
2020-03-13 05:10:53 -03:00
Martín Lucas Golini
359685cb6f Added UIBackgroundDrawable. WIP CSS Borders. 2020-03-10 03:57:49 -03:00