Commit Graph

241 Commits

Author SHA1 Message Date
Martín Lucas Golini
db57f39ae3 Added support to "cubic-bezier" timing function. 2022-09-08 20:14:07 -03:00
Martín Lucas Golini
41dd9bcc6e FormatterPlugin: CSS native formatter. 2022-09-07 19:47:54 -03:00
Martín Lucas Golini
31847b7918 ecode: Added support for native formatters (XML formatter is provided by pugixml). 2022-09-07 01:55:18 -03:00
Martín Lucas Golini
343a6a84b3 SyntaxDefinitionManager: Added [x]it! (https://xit.jotaen.net/) support.
Premake files added parameter options: --with-debug-symbols (release builds are built with debug symbols).
breeze theme: replaced tab close button with an inline SVG.
SyntaxColorScheme: now supports custom styles for code patterns.
DrawableSearcher: Now respects screen pixel density when loading SVG files.
Added support for backward-cpp (https://github.com/bombela/backward-cpp). Now release builds with symbols can report the stack-trace of any crash.
Updated nanosvg.
ecode: Fixed benchmark mode and frame rate limit.
ProjectDirectoryTree minor bug fix.
Some minor general bug fixes.
2022-08-28 16:24:29 -03:00
Martín Lucas Golini
e222771afa Minor refactor:
UI::Window: Window::setWinFlags is now Window::setWindowsFlags.
Renderer: Added glVersionFromString, graphicsLibraryVersionToString, getDefaultGraphicsLibraryVersion, getAvailableGraphicsLibraryVersions.
Defined Sizeu.
Context and Window ini configurations are now lowercase.
Display: Added getRefreshRate and getSize.
UICodeEditor: hide color preview when mouse leaves the editor.
ecode:
Added Renderer options (vsync, msaa, max frame rate, renderer version).
Added "bechmark-mode" option, to measure rendering performance.
2022-08-28 01:05:25 -03:00
Martín Lucas Golini
220cf0f510 DrawableImageParser: now supports "icon" and "glyph" functions.
StyleSheetSpecification: Added "background-tint" and "foreground-tint" (tints the "background-image" and "foreground-image" respectively).
FunctionString: minor fix and now stores if the parameters was parsed as a string.
2022-08-07 02:09:52 -03:00
Martín Lucas Golini
46dad2ac63 Added support for data:image URIs.
StyleSheetPropertiesParser: fix quoted text reading.
ecode: ProjectDirectoryTree fix recursive directories scan.
2022-08-06 03:06:16 -03:00
Martín Lucas Golini
1a925bd082 UIEditor: reload base CSS when changes are detected. 2022-07-29 01:09:24 -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
3cf446a467 Implemented UIConsole. Some various minor fixes. 2022-07-16 19:30:50 -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
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
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
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