zls/src
Joseph Stahl 887539ed1a
Allocator.resize() does not adjust size of string allocated for URI to file path conversion (#806)
* fix missing backslash

* fix: zls escaping colon to %3A on URIs

ZLS escapes a colon char ":" as "%3A" when encoding file paths to URIs
When decoding, need to make the target string 2 character shorter
to compensate for length decrease when replacing %3A with :

* add new failing test because of resize()

* revert changes to %3A handling - problem seems to be with allocator.resize

* switch to realloc

* Fix test failures, revert errdefer->defer

* platform-specific URI tests

URI parsing is highly platform-specific
run Unix-style (file:///home/main.zig) on non-Windows test runners,
run Windows-style (file://c%3A/main.zig) on Windows test runners
2022-12-04 16:44:22 -05:00
..
data fix anytype snippet (#769) 2022-11-20 15:16:15 -05:00
known-folders@24845b0103 Update dependencies 2022-08-20 19:27:31 +02:00
special Fix build runner optional issue (#725) 2022-10-28 04:02:08 -04:00
tracy@f493d4aa8b Update dependencies 2022-08-20 19:27:31 +02:00
analysis.zig Added tuple type support, fixed compilation with zig master branch (#786) 2022-11-26 12:22:16 -05:00
ast.zig Add missing .switch_case_inline, .switch_case_inline_one cases (#699) 2022-10-07 20:00:23 -04:00
BuildAssociatedConfig.zig Support for user-configurable build options 2022-09-28 04:14:49 -04:00
code_actions.zig Merge pull request #702 from Techatrix/document-store-refactor 2022-10-18 11:40:14 +02:00
ComptimeInterpreter.zig Allocgate 2.0 slain (#791) 2022-12-02 15:14:58 -05:00
Config.zig Make sure zig lib path retrieved from zig env is absolute (#799) 2022-12-02 23:22:35 +02:00
diff.zig correctly find last full text change in applyTextEdits (#772) 2022-11-21 13:21:24 -05:00
DocumentStore.zig pass correct zig-cache path (#789) 2022-11-29 17:50:09 -05:00
header.zig allocgate defeated 2021-12-03 08:00:22 -05:00
inlay_hints.zig Allocgate 2.0 slain (#791) 2022-12-02 15:14:58 -05:00
main.zig improve conformance to the lsp (#687) 2022-09-30 00:04:27 -04:00
offsets.zig Testing improvements (#662) 2022-09-18 22:47:06 +00:00
references.zig find references in while continue expressions (#758) 2022-11-16 17:35:51 -05:00
requests.zig textDocument/selectionRange 2022-11-26 11:31:46 +00:00
semantic_tokens.zig Allocgate 2.0 slain (#791) 2022-12-02 15:14:58 -05:00
Server.zig fix #801, IOOB in foldingRanges (#802) 2022-12-03 17:23:13 +02:00
setup.zig add enable_autofix option 2022-09-24 21:30:36 +02:00
shared.zig Add builtin data for 0.9.1 and 0.10.0 (#735) 2022-11-02 16:24:51 -04:00
signature_help.zig Fix crash when getting signature of optional 2022-11-02 14:55:22 +00:00
tracy.zig Add tracy 2022-06-06 00:28:52 -04:00
translate_c.zig Allocgate 2.0 slain (#791) 2022-12-02 15:14:58 -05:00
types.zig textDocument/selectionRange 2022-11-26 11:31:46 +00:00
uri.zig Allocator.resize() does not adjust size of string allocated for URI to file path conversion (#806) 2022-12-04 16:44:22 -05:00
zls.zig Some comptime interpreter fixes 2022-11-10 20:51:02 -05:00