Commit Graph

227 Commits

Author SHA1 Message Date
Martín Lucas Golini
4f9b9796d7 ecode: mingw64 build improvements. 2022-06-13 23:28:00 -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
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
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
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
7d5e8e7e41 ecode: Added nim and zig support. Improved linter module and added linter support for nim and zig. 2022-05-26 02:05:00 -03:00
Martín Lucas Golini
c8b7a2028c ecode: macOS app bundle an dmg installer build scripts. 2022-05-17 00:30:20 -03:00
Martín Lucas Golini
ec6142a1f5 Remove run parameter as argument in emscripten-fs.html. 2022-05-09 18:54:23 -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
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
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
0dca1b322f ecode: Allow switching UI Color Scheme dynamically without restarting the editor. Also remember the preferred UI Color Scheme. 2022-03-29 02:12:01 -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
0ee4fa1bd7 Improved breeze light theme. 2022-03-24 17:49:57 -03:00
Martín Lucas Golini
cdcf7b76aa WIP: breeze light colors.
Added prefers-color-scheme and pixel-density media queries.
Added support to :not(:state). This is not part of the CSS specification, but it's useful.
2022-03-21 20:57:05 -03:00
Martín Lucas Golini
375d1e66e8 Added Variant "String" support.
Added panel location configuration (left or right).
Added default key modifier (CTRL on Linux and windows, META on macOS, ALT on Haiku).
Optimized GlobalSearchController.
Allow using $FILENAME in linter warning pattern.
Optimized ProjectSearch.
Added TextDocument delete on close option (default for temporal files downloaded from the Internet).
2022-03-20 15:04:07 -03:00
Martín Lucas Golini
55e8a239ef UICodeEditor link hover improvements. 2022-03-16 20:10:51 -03:00
Martín Lucas Golini
775b65ffa6 Some performance optimizations. 2022-03-13 14:57:09 -03:00
Martín Lucas Golini
1098e75aaf Loader for demos. 2022-03-11 02:28:54 -03:00
Martín Lucas Golini
7b53115c4c Allow loading TextDocument from the web. 2022-03-10 20:09:01 -03:00
Martín Lucas Golini
e26d9cceff Added support for non-colored emoji fonts. 2022-03-03 21:43:36 -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
a55728fc0f Improved formatter modelue.
Updated efsw.
2022-01-07 01:47:44 -03:00
Martín Lucas Golini
1ac37e1468 ecode: Fixed some crashes. Changed default python linter. 2021-11-21 14:49:50 -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
c4d544f0b2 TextDocument: Fixed a crash on remove function.
Faster Node::childsCloseAll.
ecode: Added basic Solidity support.
And some minor changes.
2021-02-16 02:24:31 -03:00
Martín Lucas Golini
239c5e00c6 ecode: Added Code Formatter module. Improved Linter module. 2021-01-15 02:29:26 -03:00
Martín Lucas Golini
4bc9b7a644 Sys added Sys::epochToString.
ecode: Update file system tree view on changes.
Added a couple of linters.
Allow to select global results in UITreeViewGlobalSearch (not used but implemented, it will be used for global search & replace).
2020-12-27 05:04:28 -03:00
Martín Lucas Golini
07381c5943 Added basic linter support for ecode. 2020-12-21 03:01:07 -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
544ea80828 Tab Bar is now scrollable.
Some minor bug fixes.
2020-10-17 22:54:38 -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
8f430076ef Added SortingProxyModel to allow sorting tables by column.
Some minor improvements to ecode.
Added "delete-current-line" to text document.
2020-08-13 02:22:17 -03:00
Martín Lucas Golini
98ef562440 Renamed UITable to UIWidgetTable and UITableCell to UIWidgetTableRow.
Minor improvements to UIFileDialog.
Added "Open Folder" and "Recent Folders" to ecode.
2020-07-26 23:17:52 -03:00
Martín Lucas Golini
dce9f1c285 Improvements and fixes for FileSystemModel, ProjectDirectoryTree, FileInfo and more. 2020-07-26 15:08:11 -03:00
Martín Lucas Golini
3da95eb5f7 Implemented UITableView.
Added project locate file in ecode (still needs work).
Several fixes and improvements.
2020-07-26 03:02:01 -03:00
Martín Lucas Golini
54d520dba6 UITreeView improvements.
Added Drawable::getPixelsSize.
Improved UIPushButton.
2020-07-23 01:40:14 -03:00
Martín Lucas Golini
b6f2106f06 Renamed FileSystem::dirPathAddSlashAtEnd to FileSystem::dirAddSlashAtEnd.
Added FileInfo.
2020-07-12 01:27:33 -03:00
Martín Lucas Golini
7accb1c296 Several fixes and optimizations for the UITreeView. 2020-07-11 04:58:13 -03:00
Martín Lucas Golini
62814d8cc6 More WIP, some minor changes.
Important fix in Color::toHexString().
2020-07-10 03:15:45 -03:00
Martín Lucas Golini
0df1a1b1f8 More WIP. 2020-07-07 21:22:05 -03:00
Martín Lucas Golini
1be31595d3 More WIP. 2020-07-05 16:36:09 -03:00
Martín Lucas Golini
92a89abb65 Fixes and improvements for the windows build. 2020-07-02 16:47:19 -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
2b5454b041 Small fix in the syntax tokenizer.
Fix in the key events received by the UICodeEditor.
Reimplemented TextDocument::insert to improve performance.
Dragged Tab relative position fix.
Removed incorrect KeyDown event.
Minor UI tweaks.
2020-06-27 06:54:22 -03:00