Jun Zhang
2cf23e15d8
Bump fmtlib to 9.1.0
...
In our downstream project, we have two dependencies: solidity and spdlog.
Both of them depend on fmtlib. Unfortunately, the versions of fmtlib they
use do not match, which leads to compilation failure.
The issue arises because spdlog attempts to use solidity's fmtlib, but the
specific version (v8.0.1) has a bug. Ref: https://github.com/gabime/spdlog/issues/2142
While we could keep this change in our own fork, we believe it would
be worthwhile to contribute it back to the upstream since spdlog is a
very popular logging library.
Signed-off-by: Jun Zhang <jun@junz.org>
2023-08-28 13:58:56 +08:00
Kamil Śliwak
a15ef59eec
Remove the ability to produce an AST in presence of errors in --error-recovery mode
...
This reverts commit 7fd7cc1e76
.
2023-08-21 17:50:41 +02:00
Nikola Matic
f344dc164e
Purge using namespace from libsolidity/lsp and parsing
2023-08-16 17:07:52 +02:00
Jacob Heider
43431eb427
Fixes compilation errors with some clangs
...
resolves https://github.com/ethereum/solidity/issues/13854
2023-02-03 21:37:50 -05:00
Nikola Matic
c2e2adb953
Allow support for older boost and adjust docs
2023-01-18 10:51:14 +01:00
Nikola Matic
1da82045c4
Use directory_options instead of deprecated symlink_option
...
basename to step
2023-01-12 10:37:01 +01:00
Christian Parpart
9e7fe985bf
[Language Server]: Add basic document hover support.
2022-10-26 13:53:29 +02:00
Christian Parpart
d07c596f42
Renaming lspAssert to lspRequire plus adding some documentation to make it more clear what this function is supposed to be used for.
2022-09-26 12:14:56 +02:00
nishant-sachdeva
c8011d8719
Cleaning up helpers around errors
2022-09-19 10:51:14 +05:30
Marenz
f7cc29bec1
Add std:: qualifier to move() calls
2022-08-30 11:12:15 +02:00
Christian Parpart
c8074d2c6e
lsp: Limit resolvesToRegularFile()'s recursion depth to 10.
2022-08-24 16:27:08 +02:00
Christian Parpart
3fc7debbef
lsp: Code-review fixups.
2022-08-24 16:27:05 +02:00
Christian Parpart
b22d149e3c
Adds extra check to only consider regular files (e.g. not directories / device files) for inclusion.
2022-08-22 14:53:15 +02:00
Christian Parpart
b6ba43234e
lsp: Always load all solidity files from project for analyzing.
...
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
2022-08-22 12:49:04 +02:00
Christian Parpart
5aeb80ec3c
lsp.py: Pass trace option during initialization already.
2022-07-13 16:41:30 +02:00
Christian Parpart
eb5a33273e
lsp: Fixes initialization phase if include-paths
was not set at all, then also no error should be generated.
2022-07-13 16:29:33 +02:00
Christian Parpart
31227e442e
lsp: Adds support for include paths and have {projectUri}/node_modules added by default.
...
- Factor out FileRepository's path resolving into own public function.
- Fixes sourceUnitNameToUri() path resolving in relation to include paths being used.
- Adding an solAssert().
- adds nother test for include-paths (bad include)
- Fixes a case on Windows there an ill-formed URI was generated.
- Dropping unnecessary if-branch when translating from sourceUnitName to URI.
2022-07-12 15:25:33 +02:00
Marenz
16b64f3aee
LSP rename
2022-07-08 11:52:45 +02:00
Marenz
ca3af4b2a2
LSP: Implement semantic tokens
2022-05-18 14:54:16 +02:00
Christian Parpart
f308f1a1f8
Always allow full filesystem access to LSP.
2022-05-09 11:37:11 +02:00
Christian Parpart
2d07ea3d42
Implements $/setTrace and uses trace logging.
...
For helping the caller to know in advance how many files are expected
with a response for publishDiagnostics.
2022-04-05 13:51:42 +02:00
Christian Parpart
2b2f8acc12
LSP: Implements goto-definition.
2022-03-14 11:59:41 +01:00
Christian Parpart
1035eacb53
LSP: Introduce HandlerBase for future LSP-feature implementations.
2022-03-14 10:52:39 +01:00
Tyler
519e1c9402
Specify namespaces
...
Fix references into solidity::util
2022-03-08 00:09:17 -05:00
Christian Parpart
1bd0f9570f
LSP: Introduces lspAssert(condition, ErrorCode, message)
2022-01-05 11:30:04 +01:00
Christian Parpart
4105b0a587
LSP: Introduce HandlerError(id, code, message) exception for easier handling.
2022-01-05 11:04:40 +01:00
chriseth
c374d27eec
Remove constexpr.
2021-12-20 17:30:20 +01:00
Christian Parpart
927b24df1f
Initial implementation of Language Server
2021-12-16 17:52:49 +01:00