Commit Graph

451 Commits

Author SHA1 Message Date
Martín Lucas Golini
993506dfb7 Added "Open Project in New Window" (SpartanJ/ecode#654). Can be enabled from Settings -> Window -> Open Project in New Window.
Close UIFileDialog with escape key down and not key up.
2025-09-13 19:26:03 -03:00
Martín Lucas Golini
fe5d226fae Finished implementing the logic of warn before tab close on terminals (SpartanJ/ecode#644). Also added this feature in eterm (enabled with --warn-before-closing).
Fix a use-after-free bug in Font::getGlyph and FontTrueType::getGlyphIndex.
Some extra checks to avoid crash reported in SpartanJ/ecode#650.
Some minor improvement in auto-close brackets logic.
Added clone document buffer (SpartanJ/ecode#632).
2025-09-13 17:07:55 -03:00
Martín Lucas Golini
10fdd7a0b1 Warn before closing terminal that is running some process (SpartanJ/ecode#644), probably still WIP, not tested outside Linux (it might not build).
Build ecode with -g1, it should improve crash information.
Regain editor focus after escaping from settings menu.
Prevent crash when during widget splitting (couldn't reproduce it but this just avoid crashing, SpartanJ/ecode#650).
2025-09-13 01:37:30 -03:00
Martín Lucas Golini
4c097fd3f7 Minor nit. 2025-09-11 00:11:08 -03:00
Martín Lucas Golini
97a89902e2 Added Open in New Window and Move to New Window as tab right-click options and Edit options (SpartanJ/ecode#629).
Added `Move Tab to Start` and `Move Tab to End` in tab right-click options (SpartanJ/ecode#630).
Added `--profile` CLI option (SpartanJ/ecode#634).
Added `--disable-plugins` CLI option (SpartanJ/ecode#635).
Moved `crashes` directory to profile directory (SpartanJ/ecode#639).
Added `Settings -> Terminal -> Close Terminal Tab on Exit` (SpartanJ/ecode#643).
2025-09-10 01:35:11 -03:00
Martín Lucas Golini
7e6de3f9b2 Added keyboard shortcut operations in the file system tree view, to complete SpartanJ/ecode#71. 2025-09-07 19:48:29 -03:00
Martín Lucas Golini
873274e33c Initial support of drag and drop to move files and folders around from the file tree view (SpartanJ/ecode#71). 2025-09-07 02:06:53 -03:00
Martín Lucas Golini
e14345936f Fix dragging of zero-sized files into ecode does not behave properly (SpartanJ/ecode#623). 2025-08-29 10:09:43 -03:00
Martín Lucas Golini
39d4c30953 Added custom mouse gesture bindings (SpartanJ/ecode#602). 2025-08-27 23:48:11 -03:00
Martín Lucas Golini
130301ca77 Do not create file when requested to open a file path that doesn't exists + nit. 2025-08-27 01:36:24 -03:00
Martín Lucas Golini
5c9a43b2f7 Added gnuplot scripts syntax highlighting (SpartanJ/ecode#613).
Fixed: trying to open images triggered binary file popup.
Added a minor explanation on how to enable the spell checker from the editor context menu.
2025-08-23 13:55:43 -03:00
Martín Lucas Golini
54aaeb4931 Spell-checked the whole project. 2025-08-22 01:33:51 -03:00
Martín Lucas Golini
4b4a5f3491 More work on the Spell-Checker (SpartanJ/ecode#515).
Spell-Checked a lot of code.
2025-08-21 01:43:42 -03:00
Martín Lucas Golini
66e793436c Implemented a basic Spell Checker plugin using typos-cli. Still needs some improvements but it's working (SpartanJ/ecode#515). 2025-08-20 20:45:36 -03:00
Martín Lucas Golini
8f3911b3a3 Implement a visual feedback when a loaded text document buffer is deleted on disk. Tab text will be strike-through and with error color. Issue SpartanJ/ecode#608. 2025-08-19 01:09:56 -03:00
Martín Lucas Golini
dbb36cdcf4 Fix Objective-C highlighter.
Added Objective-C++ highlighter (SpartanJ/ecode#616).
Replaced "Treat .h file as C++" in favor of "Treat .h files as..." with multiple options, including auto-detection (SpartanJ/ecode#614).
Refresh semantic-highlighting after syntax highlighter change.
2025-08-17 16:56:12 -03:00
Martín Lucas Golini
0ec2a4dba9 Try fix invalid memory access in SyntaxDefinitions.
Added attach in Chat UI.
Some minor improvements in Http pool implementation.
2025-08-12 00:49:13 -03:00
Martín Lucas Golini
05c0f93aea Improve isJavaScriptRegEx in ParserMatcher.
Handle Recent Files/Recent Folders that have been removed from disk (SpartanJ/ecode#606).
Added a few new Claude models.
2025-08-07 00:56:44 -03:00
Martín Lucas Golini
28f688c807 Remove the flatpak warning for the next version (since it's not going to be needed anymore). 2025-07-25 01:10:22 -03:00
Martín Lucas Golini
588612dbca Always ask what to do on drag & drop of binary files and some minor adjustment to that (SpartanJ/ecode#589). 2025-07-14 18:39:59 -03:00
Martín Lucas Golini
2df4e88836 Improvements when opening binary files from drag and drop and from the tree-view (SpartanJ/ecode#589).
Fixes a bug that prevented signature help to not be displayed.
2025-07-13 19:22:31 -03:00
Martín Lucas Golini
340e3e65e2 Add some basic keybindings to the debugger. 2025-07-06 16:20:03 -03:00
Martín Lucas Golini
4877a4341a Added "Buffer Only Mode" to Global Search & Replace (#545).
emscripten build is now multi-threaded only.
2025-07-05 20:57:21 -03:00
Martín Lucas Golini
e0b763f637 Node debugger fixes.
LSP mouse hover fix when there's also a linter error in the same position.
Fix in emscripten file parameter parsing.
2025-07-02 01:41:18 -03:00
Martín Lucas Golini
a79c16ec0a Added the possibility to configure the font hinting and font anti-aliasing.
MenuBar buttons are now slightly more separated.
When switching between dark and light ui prefers color scheme now pick a dark/light color scheme if the currently set is the default (SpartanJ/ecode#535).
Fix a bug in menu bar pop-up not hiding properly.
2025-06-30 02:23:51 -03:00
Martín Lucas Golini
e230ecba0d Fixed "ft" in locate bar.
Fixed a bug in the tokenizer when switching stacked sub-syntaxes.
Fixed export languages.
2025-06-24 00:42:56 -03:00
Martín Lucas Golini
5cc94842e1 Add DAP multi-session support and add Node.js debugging support. 2025-06-22 01:48:17 -03:00
Martín Lucas Golini
79ecbacf87 Fix lldb path hack for macOS. 2025-06-16 12:21:31 -03:00
Martín Lucas Golini
d1533537f9 Use a login shell to extract the PATH. 2025-06-15 23:14:04 -03:00
Martín Lucas Golini
64af75824e Fix bug when resetting the PATH to expand it's capabilities. 2025-06-15 22:00:26 -03:00
Martín Lucas Golini
1b93c2e45e ecode:
Enable extracting PATH from default SHELL for Linux and BSD.
Fixed generic output-parser preset not being set as default.
Added a warning when the binary path is not found in project build steps.
Also print the exit code if process run fails.
Fix wheel scrolling issue.
2025-06-15 12:02:43 -03:00
Martín Lucas Golini
d375537b3f Fixes in SyntaxDefinitionManager.
Make UIProperty C++17 friendly.
Rename "arch" command line parameter for premake5 to "deps-arch" because it clashes with a new "arch" default parameter.
Fix for empty matches in SyntaxTokenizer.
Some very minor changes in language definitions.
2025-06-05 23:45:00 -03:00
Martín Lucas Golini
da829b1dd2 Added eC syntax highlighting (SpartanJ/ecode#485).
Fixed health feature.
2025-05-29 00:45:48 -03:00
Martín Lucas Golini
e072649221 Fixes for the UITabWidget tab switcher.
Remove "Flash Cursor" (it was too broken and it's not useful after alll).
2025-05-27 01:13:44 -03:00
Martín Lucas Golini
dcea675e5b Fix input methods that depend on OpenKey, Unikey and similar software.
Fix flashing cursor on Windows! How this was not reported?!
Fix crash when closing ecode on Windows and tabs with same name where present.
2025-05-24 20:48:42 -03:00
Martín Lucas Golini
70aecddd18 Added support for Tab jump modes (SpartanJ/ecode#469). Including a Tab Switcher (I have no better name for the moment).
Added support to hide the Tab Bar (SpartanJ/ecode#477).
Updated efsw.
Updated JS, TS, C++ grammars.
2025-05-24 01:10:50 -03:00
Martín Lucas Golini
b6ead5f2fd Added "Build & Run" and "Build & Debug" buttons. 2025-05-21 00:33:25 -03:00
Martín Lucas Golini
83e92d1d8b Fix Android build.
Converted 3 TextMate language grammars to ecode: L.B. Stanza (SpartanJ/ecode#402), Typst (SpartanJ/ecode#449) and Gleam (SpartanJ/ecode#450). This is very much experimental for the moment.
2025-05-20 20:30:33 -03:00
Martín Lucas Golini
c3faa293d3 Ensure Process::create is always checked as true before continue doing anything. 2025-05-12 19:07:27 -03:00
Martín Lucas Golini
821e7f50dd SyntaxTokenizer: improve the stack-based pattern matching to support include / repositories.
Added some *very basic* support for some *very basic* TextMate grammars, `$language.tmLanguage.json` files are now parsed and supported internally. Full support is not currently possible, and might never be. This is to facilitate converting grammars to ecode format.
Updated python linter and formatter to the latest ruff version.
2025-05-07 21:17:07 -03:00
Martín Lucas Golini
90fbd9edc5 Added Elena syntax highlighting (SpartanJ/ecode#400). 2025-05-04 20:16:41 -03:00
Martín Lucas Golini
799d9f9371 Do not use malloc_trim if it's not available. 2025-04-22 12:08:47 -03:00
Martín Lucas Golini
d85091f70d Add FixScript syntax highlighting (SpartanJ/ecode#416). 2025-04-21 18:13:01 -03:00
Martín Lucas Golini
5f9d2bd5ea Fix a bug when changing themes (some properties where not updated due to cached properties).
Fix a bug when displaying sub-menus, it was sometimes incorrectly positioned.
2025-04-20 12:41:36 -03:00
Martín Lucas Golini
53aba9d887 Added syntax highlighting for ReScript (SpartanJ/ecode#407). 2025-04-20 10:55:51 -03:00
Martín Lucas Golini
d504c74098 Added ISPC syntax highlighting (SpartanJ/ecode#436). 2025-04-19 20:09:47 -03:00
Martín Lucas Golini
d0f4a2eeea Fix some issues with RegEx captures.
Added Janet syntax highlighting (SpartanJ/ecode#394).
Fixes in syntax highlighter to C++ converter.
2025-04-12 17:55:05 -03:00
Martín Lucas Golini
4146bfef6f Implemented tab-stops support (SpartanJ/ecode#55). Not enabled by default until I'm sure I did not break anything. 2025-04-09 21:22:17 -03:00
Panzerschrek
8df0793590 For "ecode" set on startup window title to "ecode". (#106)
This prevents displaying ecode as "unnamed window" in XUbuntu task manager (and maybe in other similar software).
2025-04-09 12:28:38 -03:00
Martín Lucas Golini
9e131ebe11 Some fixes for import/export syntax definitions.
Added Zephir syntax highlighting support (SpartanJ/ecode#408).
2025-04-08 19:33:35 -03:00