Commit Graph

1255 Commits

Author SHA1 Message Date
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
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
nullptrdevs
4d0ab8b1aa
Update Server.zig 2022-08-22 10:49:15 -07:00
Auguste Rame
b4ccfeecef
Issue templates (#600) 2022-08-22 13:23:37 -04:00
Lee Cannon
b21039d512
Merge pull request #597 from Techatrix/build-runner-fix
Fix Path <-> Uri mismatch
2022-08-22 17:40:59 +01:00
Lee Cannon
691502102d
Merge pull request #598 from Techatrix/update-readme
update README.md
2022-08-22 17:34:07 +01:00
Techatrix
72cb6f0e28 update README.md 2022-08-22 17:06:36 +02:00
Techatrix
333b1bad8c fix Path <-> Uri mismatch 2022-08-22 16:54:56 +02:00
nullptrdevs
2c5ae262f7 fix: fix memory leaks related to updating config variables
adds an edge case in analysis.makeScopeInternal to prevent
leaking memory when adding duplicate container fields w/ name "other"
2022-08-21 17:11:50 -07:00
Zzzen
3e20a7a50b
fix link of VS Code (#593) 2022-08-21 11:33:28 -04:00
Auguste Rame
dcf43389cf
Merge pull request #589 from Techatrix/cimport-support
Add Cimport support
2022-08-21 15:10:27 +02:00
Techatrix
c6892eaafc
Merge branch 'zigtools:master' into cimport-support 2022-08-21 08:53:06 +00:00
Auguste Rame
fa48980acb
Merge pull request #591 from Techatrix/master
Update dependencies
2022-08-21 03:07:35 +02:00
Auguste Rame
cef1e83430
Merge pull request #590 from Techatrix/fix-enum-signature
Better handling for enum field signatures
2022-08-21 03:07:10 +02:00
Auguste Rame
4a860bff4a
Merge pull request #587 from leecannon/master
make `zig build` work with latest master
2022-08-21 03:03:22 +02:00
Techatrix
2e61178a08 Update dependencies 2022-08-20 19:27:31 +02:00
Techatrix
8457487b2e better handling for enum field signatures 2022-08-20 18:28:41 +02:00
Techatrix
f543659e31 correctly handle path to uri conversion 2022-08-20 15:34:36 +02:00
Lee Cannon
ea138bc231
set use_stage1 in build.zig 2022-08-20 12:15:33 +01:00
Auguste Rame
07ae21a25c
Merge pull request #585 from InKryption/master
Improve unused variable report accuracy
2022-08-20 05:23:57 +02:00
InKryption
63d84855a5
Improve unused variable report accuracy 2022-08-19 15:28:38 +02:00
Auguste Rame
9161397b82
Merge pull request #584 from InKryption/master
2 minor tidy-ups + fix for over-eager unused parameter error in function types
2022-08-19 00:51:44 +02:00
InKryption
249685e4c5
2 minor tidy-ups + fix for over-eager unused parameter error in function types 2022-08-19 00:31:41 +02:00
Techatrix
d57f8e3a64 add basic cImport support 2022-08-19 00:00:46 +02:00
Techatrix
0436b05b80 rename build_runner_cache_path to global_cache_path 2022-08-18 23:14:32 +02:00
Techatrix
1859afd4c5 emit JSON formatted packages & include dirs in build_runner.zig 2022-08-18 22:56:03 +02:00
Auguste Rame
41a467b0f3
Merge pull request #583 from InKryption/master
Improve CLI, fix leak, & other.
2022-08-18 20:23:47 +02:00
Auguste Rame
a04de8a8a1
Merge pull request #582 from Techatrix/refactor-ast-helper
Refactor Ast helper functions
2022-08-18 20:14:53 +02:00
InKryption
cb5eeb0b45
Improve CLI, fix leak, & other. 2022-08-18 19:46:22 +02:00