Commit Graph

758 Commits

Author SHA1 Message Date
Techatrix
b76710ea5f
References improvements (#653) 2022-09-16 01:11:39 +00:00
Techatrix
e28549fa7d
Completely overhaul offsets.zig (#643)
* completely overhaul offsets.zig
2022-09-16 00:33:49 +00:00
max
5aff17afb0
sync with zig master version llvm15 (#652) 2022-09-14 14:56:17 -04:00
Lee Cannon
bd6f60e451
update for zig master (#651) 2022-09-13 16:54:28 -04:00
Techatrix
e6238e3354
improve width of log prefix (#649) 2022-09-13 16:12:32 -04:00
Techatrix
6363e7a064
Merge pull request #646 from Techatrix/cache-build-runner
Place build_runner.zig in zls subfolder
2022-09-12 11:46:36 +00:00
Techatrix
1a93ec2234
Merge pull request #647 from Techatrix/logging-improvements
Only globally log to stderr
2022-09-12 11:42:46 +00:00
Techatrix
85135d36ae refactor builtin_completions 2022-09-12 00:50:35 +02:00
Techatrix
ff779049f1 only globally log to stderr 2022-09-11 23:48:15 +02:00
Techatrix
834127f23e create global cache path directory if it doesn't exist yet 2022-09-11 22:36:38 +02:00
Techatrix
75677f424c place build_runner.zig in zls subfolder 2022-09-11 21:50:37 +02:00
Techatrix
a44cfdc451 correctly handle anytype in inlay hint tooltips 2022-09-11 01:50:45 +02:00
Techatrix
03565f42bf
Merge pull request #641 from Techatrix/testing-improvements
Move updated units_test.zig into tests directory
2022-09-10 23:03:31 +00:00
Techatrix
6933e1598a move updated units_test.zig into tests directory 2022-09-11 00:07:01 +02:00
nullptrdevs
440fd215ec
NativeTargetInfo.detect() no longer takes an Allocator param (#637)
see 3ee01c14ee
2022-09-09 21:06:01 -04:00
Techatrix
0428b970b1
place build_runner.zig in cache directory (#635) 2022-09-07 13:34:48 -04:00
nullptrdevs
6269eef776
fix: "f..o.o;" crashes the server (#629)
this is a fix for #381 and a hack for #409
(related, get triggered by "f..o.o;")
2022-09-07 13:14:11 -04:00
Techatrix
7730c7715b respect document encoding 2022-09-05 22:49:50 +02:00
Techatrix
925cc3fee9 reconstruct diagnostic range end of ast-gen 2022-09-05 20:41:40 +02:00
Techatrix
a0c3de5bfe update data/master.zig 2022-09-04 22:12:37 +02:00
Techatrix
38210d3e91 embedFile build_runner.zig in executable 2022-09-04 21:44:07 +02:00
Auguste Rame
b842e68697
Merge pull request #621 from Techatrix/dev
Enable ast-check by default
2022-09-03 13:29:58 -04:00
Auguste Rame
7a1c66da34
Merge pull request #606 from nullptrdevs/dev
fix: fix server crash related to parsing incomplete function as a fun…
2022-09-03 12:56:34 -04:00
Techatrix
d8b574a0cc enable ast-check by default 2022-09-03 15:12:34 +02:00
Auguste Rame
34ce200b2e
Merge pull request #618 from Techatrix/report-version
Report zls version using git describe
2022-09-02 01:47:54 -04:00
Techatrix
66b35d62b2 report zls version using git describe 2022-09-01 15:42:15 +02:00
Auguste Rame
246fee8a1b
ast-check fixes 2022-09-01 09:26:58 -04:00
Auguste Rame
57a35a7bc8
ast-check for zls! 2022-08-31 20:52:55 -04:00
Lee Cannon
da03c81992
Merge pull request #614 from Techatrix/show-config-path
add --show-config-path for querying the config path
2022-08-30 18:22:50 +01:00
Techatrix
d30cdabfe5 remove unnecessary check in setup wizard 2022-08-30 19:01:12 +02:00
Techatrix
7be7496ec8 only conditionally ask for global configuration in setup wizard 2022-08-30 01:07:46 +02:00
Techatrix
ffb3f9440e add --show-config-path for querying the config path 2022-08-30 00:46:13 +02:00
Techatrix
b502134769
Merge pull request #613 from Techatrix/json-schema
add JSON Schema
2022-08-29 21:15:52 +00:00
Techatrix
9b7c73d9b1 add JSON Schema 2022-08-29 22:55:25 +02:00
Techatrix
605c4e2988 fix textDocument/rename 2022-08-29 21:28:05 +02:00
Techatrix
2ac8ab6ce9
Merge pull request #609 from Techatrix/test-coverage
Improve Test coverage
2022-08-26 19:12:01 +00:00
Techatrix
f6082e837d prepare testing framework
- allow source files from tests as a package
- use `tests/tests.zig` as the entry point
- add `Context.requestAlloc`
2022-08-26 16:45:22 +02:00
nullptrdevs
b7a5ab5f52
fix: fix warning emitted incorrectly when using .. 2022-08-25 16:13:58 -07:00
nullptrdevs
481903e72a fix: fix an attempt to use null value in DocumentStore.resolveImport
caused by missing files or weird file path starting
e.g.
```
pub const abc = @import(".////abc.zig");
```
2022-08-25 15:52:07 -07:00
nullptrdevs
54be6d92c6 fix: fix server crash related to parsing incomplete function as a function's parameter
fixes zigtools#567
2022-08-25 13:17:38 -07:00
Lee Cannon
8cf96fe27c
Merge pull request #605 from Techatrix/translate-c-patch-undef
emit correct c preprocessor macro in convertCInclude
2022-08-25 17:33:38 +01:00
Techatrix
127781962d emit correct c preprocessor macro in convertCInclude 2022-08-25 16:25:47 +02:00
Techatrix
fce29fec41 patch allocator mismatch in translate_c 2022-08-25 15:16:27 +02:00
Lee Cannon
a18ec394f1
Merge pull request #602 from Techatrix/unmanage-code
unmanage all the code
2022-08-23 21:21:08 +01:00
Lee Cannon
163409f48f
Merge pull request #579 from jefftime/master
Text format to return edited ranges instead of entire document
2022-08-23 21:20:49 +01:00
Lee Cannon
7c245f7dd4
Merge pull request #595 from nullptrdevs/master
fix: fix memory leaks related to updating config variables
2022-08-23 15:04:30 +01:00
Techatrix
dc3199cffa unmanage all the code 2022-08-23 12:44:26 +02:00
jefftime
5804454334
Merge branch 'zigtools:master' into master 2022-08-22 20:18:02 -04:00
Lee Cannon
eb60f75413
workaround zig tarball bug (#599) 2022-08-23 00:01:44 +02:00
nullptrdevs
015332b69e
Update analysis.zig 2022-08-22 10:54:29 -07:00