Commit Graph

9 Commits

Author SHA1 Message Date
Techatrix
4dc7652aa2
fix timeout in ZCS receiveMessage (#1264) 2023-06-24 22:17:56 +01:00
Lee Cannon
ecb18949df
disable translate c test on windows (#1253) 2023-06-23 11:47:54 -04:00
FalsePattern
71b09a3ffe
fix legacy json in tests 2023-06-21 17:47:58 +02:00
FalsePattern
d0c62157b4
Added legacy-style json api wrapper 2023-06-21 17:24:29 +02:00
Techatrix
b623f141ea revive translateC support 2023-05-30 01:59:46 +02:00
Techatrix
0f77fd5b0e
add multi object for loop support (#1011)
* run `zig fmt`

* add support for multi object for loops

* add completion tests on multi object for loops

* update minimum zig build version

* use multi object for loops in codebase

* Update tres to latest version

* fix panics when generating document scope on invalid for loops
2023-02-21 17:11:35 -05:00
nullptrdevs
bd539ae989
[std.zig.] parse(alloc, src) -> Ast.parse(alloc, src, Ast.Mode) (#966)
* Work in Zig's breaking changes (build sys apis)

* [`std.zig.`] `parse(alloc, src)` -> `Ast.parse(alloc, src, Ast.Mode)`
2023-02-04 18:19:24 +00:00
Techatrix
61c0981294
Use zig-lsp-codegen (#850)
* add lsp.zig

* change references from types.zig to lsp.zig

* remove types.zig and requests.zig

* add tres as a submodule

* transition codebase from types.zig to lsp.zig

* update lsp.zig

* completely overhaul message handler

* fix memory errors

* partially transition tests to lsp.zig

* update lsp.zig

* more test fixes

* disable failing tests

* fix message handling bugs

* fix remaining tests

* access correct union in diff.applyTextEdits

* more message handler fixes

* run zig fmt

* update tres submodule

* fix memory access to freed memory

* simplify initialize_msg for testing

* check if publishDiagnostics is supported
2022-12-27 01:47:57 -05:00
Techatrix
865a2713cd add tests for cimport 2022-08-26 16:53:44 +02:00