Commit Graph

1541 Commits

Author SHA1 Message Date
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
Auguste Rame
aa81d83136
Merge pull request #630 from Techatrix/master
Reconstruct diagnostic range end of ast-gen
2022-09-05 20:50:02 -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
fc4609a3e7
Merge pull request #625 from Techatrix/update-builtin-data
Update builtin data
2022-09-04 22:57:21 +00:00
Techatrix
d2153072f4
Merge branch 'zigtools:master' into update-builtin-data 2022-09-04 22:54:41 +00:00
Techatrix
9e20516599
Merge pull request #624 from Techatrix/embed-build-runner
embedFile build_runner.zig in executable
2022-09-04 22:54:26 +00: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
48a053b65f
Build m1 binaries (#622) 2022-09-03 15:43:35 -04:00
Auguste Rame
b842e68697
Merge pull request #621 from Techatrix/dev
Enable ast-check by default
2022-09-03 13:29:58 -04:00
Techatrix
2509673d95 update README.md 2022-09-03 19:00:12 +02: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
bcf8bc7094 set custom config for tests 2022-09-03 15:21:56 +02:00
Techatrix
d8b574a0cc enable ast-check by default 2022-09-03 15:12:34 +02:00
Techatrix
a6ed5d1abf
Merge pull request #620 from Techatrix/report-version
fallback when failing to run git describe
2022-09-03 13:07:20 +00:00
Techatrix
4fe609e4c6 fallback when failing to run git describe 2022-09-02 22:21:55 +02:00
Techatrix
d0732db98e
Merge pull request #619 from Techatrix/report-version
Report version just like zig
2022-09-02 18:59:58 +00:00
Techatrix
9dc694df24 report version just like zig 2022-09-02 20:10:05 +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
bddee7b076
CI: Fetch all history for all tags and branches 2022-09-01 19:26:17 +00:00
Techatrix
66b35d62b2 report zls version using git describe 2022-09-01 15:42:15 +02:00
Techatrix
d72cac04ab
Merge pull request #617 from zigtools/ast-check-diagnostics
ast-check for zls!
2022-09-01 13:32:05 +00: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
Lee Cannon
2caab981e3
Merge pull request #615 from Techatrix/check-global-path
Only conditionally ask for global configuration in setup wizard
2022-08-30 18:22:17 +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
5eb65e7d98
Merge pull request #612 from Techatrix/fix-rename
Fix textDocument/rename
2022-08-29 19:50:09 +00: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
8d72c802ff use comptime in tests.zig 2022-08-26 20:23:07 +02:00
Lee Cannon
5c88ca1180
Merge pull request #610 from leroycep/master
Switch to using mitchellh's zig-overlay
2022-08-26 18:16:56 +01:00
Lee Cannon
8acf0f08c3
Merge pull request #607 from nullptrdevs/minor
fix: fix warning emitted incorrectly when using ..
2022-08-26 18:15:40 +01:00
LeRoyce Pearson
6f57ff05e7 Switch to using mitchellh's zig-overlay
arqv stopped existing on GitHub, including his zig-overlay repository
2022-08-26 09:34:18 -06:00
Techatrix
865a2713cd add tests for cimport 2022-08-26 16:53:44 +02:00
Techatrix
4c0fe6428d add tests for inlay hints 2022-08-26 16:53:02 +02:00
Techatrix
f0b71f3861 add tests for semantic tokens 2022-08-26 16:51:43 +02: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
Lee Cannon
f739a67193
Merge pull request #604 from Techatrix/master
patch allocator mismatch in translate_c
2022-08-25 17:30:47 +01:00