Commit Graph

3175 Commits

Author SHA1 Message Date
Martín Lucas Golini
0a5c4cff54 Revert some locks in LSPClientServerManager. 2025-06-27 21:30:23 -03:00
Martín Lucas Golini
c9507c2cba Allow supporting multiple "type"s per DAP.
Should fix macOS build.
2025-06-26 20:45:56 -03:00
Martín Lucas Golini
df0a58c34e Some debugger improvements for node dap.
Fixed a bug in TextDocument that created new history in the undo/redo stack when not doing any operation when trying to cut.
2025-06-26 20:19:17 -03:00
Martín Lucas Golini
03d2a133f4 Improved YAML syntax highlighter. 2025-06-25 01:16:10 -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
3170fd79ff Fix Node::removeActionsByTag and Node::getActionsByTag using the wrong tag type (and in consequence not removing anything whe requested, generating crashes on some cases). Improved LSP restart stability, although I still can crash it on some rare cases, haven't found the problem yet. 2025-06-22 20:47:20 -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
03df17b96b Support setting environment to the terminal process.
WIP fixes in DAP runInTerminal and working on startDebugging.
2025-06-21 02:14:43 -03:00
Martín Lucas Golini
2fb80cd94a WIP trying to support vscode-js-debug. 2025-06-20 22:18:30 -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
e4bf8215a6 Prevent crashes when restarting the LSP server. 2025-06-14 14:03:58 -03:00
Martín Lucas Golini
4ba29c3c37 Added js_regex parser. 2025-06-13 18:37:21 -03:00
Martín Lucas Golini
76c19ed90d Minor changes in CMake syntax highlighting. 2025-06-12 01:01:49 -03:00
Martín Lucas Golini
6bdb75666d Fix warning in Variant produced by the use of memset. 2025-06-10 11:08:11 -03:00
Martín Lucas Golini
fa84a0253b Clean up some unused Font functionality. 2025-06-08 01:22:54 -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
cec4fa6e72 Add webp image format support (load and save).
Fix bug introduced in the last commit for UIDataBind initialization.
Change gmake2 in favor of gmake when using premake5 since it has been depreated in premake5-beta6 (hopefully I did not miss anything).
2025-06-04 21:02:38 -03:00
Martín Lucas Golini
61e2df83db Added UIProperty to easily bind values with UI elements (very basic initial implementation). 2025-06-04 00:24:21 -03:00
Martín Lucas Golini
0417c51f5c Fix tokenizer popStack when removing a sub-syntax. 2025-06-03 21:00:20 -03:00
Martín Lucas Golini
c156b53e4b Rename "keyword2" to "type" and "keyword3" to "parameter".
Added some String overloaded functions.
2025-06-01 20:07:23 -03:00
Martín Lucas Golini
9a8ece04d6 Adjust scissor test to current FBO coordinates. Fixes some clipping bugs when using FBOs withing UI components. 2025-06-01 01:35:05 -03:00
Martín Lucas Golini
f580998b55 Allow to limit auto-completion results to the current document symbols (SpartanJ/ecode#482).
Added Typst LSP.
2025-05-31 00:48:36 -03:00
Martín Lucas Golini
a64bcb558b Added C2 syntax highlighting (SpartanJ/ecode#447). 2025-05-30 01:43:13 -03:00
Martín Lucas Golini
6f7dcf5f0f Fix in reverse-find and matching brackets. 2025-05-30 00:30:41 -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
eacb3a0f5b Syntax Definitions are going to be loaded on-demand instead of during start-up (this allows to add as many as wanted without worrying about memory usage or load times).
Added Racket syntax highlighting and LSP support (SpartanJ/ecode#459).
2025-05-28 23:54:34 -03:00
Martín Lucas Golini
9e0b3bc301 More RegEx fixes. 2025-05-28 17:56:09 -03:00
Martín Lucas Golini
0df86b1d53 RegEx fixes. TextMate grammars fixes. 2025-05-28 03:08:17 -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
d3667b55fd Fix auto-close brackets when used with multiple cursors.
Remove the old Hide Tab Bar in single tab button.
2025-05-24 10:48:06 -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
8b56ad8708 Ups! Forgot about FreeBSD flag. 2025-05-20 21:13:05 -03:00
Martín Lucas Golini
a70b62bdcc Fix FreeBSD build. 2025-05-20 20:57:24 -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
9b4e9f8613 TextMate parsing fixes and improvements. 2025-05-20 00:43:56 -03:00
Martín Lucas Golini
132dd01ecd More WIP for TextMate grammars support. 2025-05-19 20:54:03 -03:00
Martín Lucas Golini
2cbc0569ee Merge branch 'develop' into text-mate 2025-05-19 14:43:01 -03:00
Panzerschrek
99c173ef67 Simplify and improve Ü syntax highlighting. (#116)
Support all langauge operator symbols ($:.@?).
Remove extra rules for functions, classes, import directives etc., since their detection can't work properly in all cases - lexical analysis only isn't enough.
2025-05-19 14:35:31 -03:00
Martín Lucas Golini
d71e33ff22 Minor fix, still not working properly. 2025-05-18 23:48:11 -03:00
Martín Lucas Golini
0fbebf6dfa TextMate support WIP. 2025-05-18 01:46:04 -03:00
Martín Lucas Golini
d7af3e5f51 Fix the usual problem of highlighting "if()" and etc as functions in C, C++, JavaScript and TypeScript (this should be done for every language but I'm too lazy). 2025-05-16 22:38:58 -03:00
Martín Lucas Golini
3ce1a16f0a Merge branch 'develop' into text-mate 2025-05-14 14:11:39 -03:00
Martín Lucas Golini
9f58ad38fc Experimenting with oniguruma fallback and text-mate improvements. 2025-05-14 00:48:01 -03:00
Martín Lucas Golini
ead4b6fdc9 Merge remote-tracking branch 'origin/develop' into develop 2025-05-14 00:47:21 -03:00
Martín Lucas Golini
77db743867 Fixes in syntax definition. 2025-05-14 00:47:11 -03:00