Commit Graph

85 Commits

Author SHA1 Message Date
Martín Lucas Golini
934a1f3302 Added Ada syntax highlighting and LSP support (SpartanJ/ecode#211). 2025-01-26 12:58:27 -03:00
Martín Lucas Golini
a43f7441b2 Fix incorrect extension patterns. 2025-01-17 12:39:05 -03:00
Martín Lucas Golini
7c795fda60 Fix windows build. 2025-01-11 17:36:36 -03:00
Martín Lucas Golini
2f6f825a63 More WIP implementing more functionalities in DAP. This commit will probably fail on some OSes. 2025-01-11 16:24:27 -03:00
Martín Lucas Golini
c4daa30880 Fixes for multi-cursor.
Fixes for file extensions (improperly filtering file extensions).
Added very basic tests for TextDocument multi-cursor.
Add .txt files into projects (register .txt extension as Plain Text).
2024-12-20 20:22:50 -03:00
Martín Lucas Golini
6c5522575a Fix for issue SpartanJ/ecode#366. 2024-12-11 21:57:19 -03:00
Martín Lucas Golini
be6469d3fb Fixes for SpartanJ/ecode#365 (needs more testing).
Fix in syntax highlighting regex detection.
2024-12-04 02:00:01 -03:00
Martín Lucas Golini
062040bdcd Added perl LSP support and some syntax highlighting improvements. 2024-11-30 21:09:11 -03:00
Martín Lucas Golini
2cdd14c7dc Add fortran lsp support plus some improvements to the syntax highlighter. 2024-11-30 20:19:23 -03:00
Martín Lucas Golini
c4e6b24e9f Added syntax highlighting for: Bazel, Ring, OpenSCAD and TCL.
Moved most languages to a separate module that it's not part of the base eepp module.
2024-11-29 00:15:02 -03:00
Martín Lucas Golini
0e0ce71609 Optimization to reduce almost to zero allocations during frame rendering in ecode (this gives around 6% perf gains). 2024-10-29 02:11:33 -03:00
Martín Lucas Golini
8ff5245e77 Fix invalid call to close handle in AutoHandle. 2024-10-17 20:39:57 -03:00
Martín Lucas Golini
c881410a39 Minor nit with eterm. 2024-10-04 15:01:51 -03:00
Martín Lucas Golini
e789c15022 Start producing nightly builds of ecode for Linux and Windows, macOS pending (issue SpartanJ/ecode#228) 2024-09-29 14:23:54 -03:00
Martín Lucas Golini
04e5cd5fb6 Add RegEx class. Refactor PatternMatcher. 2024-09-21 22:29:23 -03:00
Martín Lucas Golini
a4a56d2154 Added node focus reason information. 2024-04-20 01:04:57 -03:00
Martín Lucas Golini
acf0182e63 Implement terminal for legacy Windows users (SpartanJ/ecode#153).
Added Sys::getPlatformType.
Fix for TerminalEmulator selection.
2024-04-06 23:08:28 -03:00
Martín Lucas Golini
8991a089fc eterm clean up. 2024-03-15 20:22:15 -03:00
Martín Lucas Golini
f9513d3857 eepp: Removed PlusCallback dependency.
ecode: Added the possibility to search and replace by replacing captures from Lua Pattern, for example, searching for: "function (%w+)%(%)" and replacing for "fn $1()" will replace the function declaration from "function (functionName)()" to "fn (functionName)()". The feature was used to remove the PlusCallback dependency =).
2024-02-21 01:04:44 -03:00
Martín Lucas Golini
c1ba882d31 Some minor improvements in UIApplication.
Minor headers clean up.
Avoid duplicating close message box in ecode.
2024-02-13 21:10:12 -03:00
Martín Lucas Golini
9c2822e3d6 More work to get better i18n support. 2024-02-09 22:39:19 -03:00
Martín Lucas Golini
e953aa3687 Add UIAbstractView SelectionKind to set if Multiple selection is enabled.
Git plugin minor changes.
Replace getTranslatorString in favor of i18n when possible.
UIAbstractTableView allow to start editing with keyboard shortcuts.
Some micro-optimizations.
2024-02-06 00:42:56 -03:00
Martín Lucas Golini
997fe458b3 Fix indirect memory leak on VertexBufferVBO.
Added a few icons.
Tried to detect a bug on the terminal emulator.
Fixed Git status when file has been renamed.
2024-02-05 22:03:39 -03:00
Martín Lucas Golini
8cbc5806f0 Ups. 2024-02-01 15:05:01 -03:00
Martín Lucas Golini
30051cf6b4 Fix ctrl+alt combination for text input on Windows. 2024-02-01 13:08:09 -03:00
Martín Lucas Golini
bdd018feec More Git plugin WIP. Added commit. 2024-01-23 20:36:01 -03:00
Martín Lucas Golini
b738e95d27 eepp: Fix wrong positioning of widget when setting IME position.
ecode: Fix in XML Tools.
2023-12-21 21:47:08 -03:00
Martín Lucas Golini
9ab0bf9cf5 Some optimizations on Node::nodeDraw.
UIPushButton will not create the icon node if not required (not sure yet if this is OK).
2023-12-02 21:19:57 -03:00
Martín Lucas Golini
620c3ba98c Linux fixes. Windows fix build. 2023-10-29 20:54:31 -03:00
Martín Lucas Golini
398a6341d0 IME refactor. Added support for IME in Terminal. 2023-10-29 20:30:17 -03:00
Martín Lucas Golini
fbeadf7d7f Optimizations in LuaPattern (don't allocate) and SyntaxTokenizer. Now it's possible to declare a dynamic syntax detection from it's context, this feature improves drastically Markdown parsing performance. 2023-10-06 00:14:07 -03:00
Martín Lucas Golini
63aa5c701f Minor fixes. 2023-09-23 12:57:56 -03:00
Martín Lucas Golini
4de6afcbd1 Font Family support WIP. 2023-08-07 01:02:16 -03:00
Martín Lucas Golini
08ebe82efb Removed more std::list usages. 2023-07-05 00:14:55 -03:00
Martín Lucas Golini
0fc9fb3895 eepp: Remove usage of std::list.
ecode: Some minor code refactor.
2023-07-02 03:36:56 -03:00
Martín Lucas Golini
f58866dd66 eepp: Added ScopedOp and BoolScopedOp. General optimization of lambda captures. Added support in UICodeEditorSplitter for navigation history.
ecode: Implemented navigation history over the editor, with Alt + Left | Right you can navigate over the relevant code navigation history.
2023-06-25 21:14:36 -03:00
Martín Lucas Golini
cc62ec5790 ecode:
Improved drastically UIBorderDrawable performance.
Added Event::OnItemValueChange event and ItemValueEvent.
Added i18n function to UIWidget.
Remamed Node::addMouseClickListener to Node::onClick.
Added UI_SCROLLABLE flag and UINode::isScrollable to indicate if the widget implements some scrolling function and now UIScrollView will check if it can scroll by checking if the widget over is scrollable or not.
UISceneNode now implements loadLayoutFromString with const char* to avoid unnecessary std::string allocations.
Several fixes in UIListBox and UIDropDownList.
ecode:
Continued working on UIBuildSettings screen and Project Build configuration.
2023-06-01 02:32:03 -03:00
Martín Lucas Golini
7bbf00ea97 Fix ecode --health for Windows.
VS compilation now uses UTF-8 for the source code encoding.
2023-04-13 20:35:41 -03:00
Martín Lucas Golini
0970685fd1 Fix incorrect UITerminal draw invalidation when not visible.
ecode: Fix set frame rate limit at window creation.
2023-04-07 20:17:15 -03:00
Martín Lucas Golini
3d86c2e1e3 Status Bar + Build WIP 2023-04-07 20:01:16 -03:00
Martín Lucas Golini
7670795075 eepp: Some code refactoring regarding the TextureFactory. Also renamed some functions with incorrect naming.
ecode: Plugins are now hot-reloaded when a its configuration file is being written.
2023-03-29 01:13:46 -03:00
Martín Lucas Golini
13f2dce2ca ecode: Don't crash if the terminal could not initialize.
Closes issue SpartanJ/ecode#81.
2023-03-19 13:14:14 -03:00
Martín Lucas Golini
de3601da95 eterm: windows pty console functions are now dynamically initialized. 2023-03-19 02:54:47 -03:00
Martín Lucas Golini
e59269c858 ecode: Added "Show Image Preview" context menu option when editing an SVG file. 2023-03-13 12:43:45 -03:00
Martín Lucas Golini
c3de302ccd Improved terminal selection. 2023-03-12 18:05:35 -03:00
Martín Lucas Golini
7d7a97e60d ecode: Added an option to configure the default shell used by ecode terminal.
Closes SpartanJ/ecode#70.
2023-03-05 18:09:58 -03:00
Martín Lucas Golini
a7962f0621 ecode: Fixed Terminal->executeFile on Windows.
Closes SpartanJ/ecode#57.
2023-02-21 01:01:12 -03:00
Martín Lucas Golini
33f69b8423 Minor changes in terminal.
Fixed Sys::parseArguments for emscripten.
2023-02-06 04:51:06 -03:00
Martín Lucas Golini
5871b78fae Allow AltGr on text input. 2023-01-31 00:37:13 -03:00
Martín Lucas Golini
4edfa15e52 eepp:
Breaking change: Event::MsgBoxConfirmClick renamed Event::OnConfirm and Event::MsgBoxCancelClick to Event::OnCancel. To be more generic for new components.
ecode:
Refactor, moved all the menues creation into a new class. Added more global commands (for a future command pallete).
2023-01-19 21:15:59 -03:00