Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/zigtools/zls

A Zig language server supporting Zig developers with features like autocomplete and goto definition
https://github.com/zigtools/zls

unescape field identifier when resolving field access

ff658939811405f1b15360a10e862cbccaf8079c authored about 1 year ago by Techatrix <[email protected]>
don't clear bound type params in `resolveTypeOfNode`

The current system that resolved generic type parameter
is to put it mildly, ein Verbrechen gege...

3aa585a1bd50ae858acfff85000f966102f4d51a authored about 1 year ago by Techatrix <[email protected]>
fix assertion failure on container field with broken type expression

5cece56f8338eaae041484c5e5eef33e5bcc97c2 authored about 1 year ago by Techatrix <[email protected]>
fix analysis issues related to primitive types (#1684)

I've outlined how I use the InternPool to store types and values here:
https://github.com/zigto...

5c0bebe449579ce95ec827b0e17ad76b114c165e authored about 1 year ago by Techatrix <[email protected]>
make coverage report only informational (#1685)

We shouldn't enforce code coverage targets.
yet...

01da7f1b9ca73903bdb3a8540d964b11256daa04 authored about 1 year ago by Techatrix <[email protected]>
Merge pull request #1594 from zigtools/techatrix/intern-pool

43a905c8d5e54c22b416f20ae49efae62f85a26f authored about 1 year ago by Techatrix <[email protected]>
Merge pull request #1679 from zigtools/techatrix/build-on-save-step

select build on save step

6564a34fe9d4759444580c2d35289e70f440ac9a authored about 1 year ago by nullptrdevs <[email protected]>
remove snippets for float and int types (#1681)

f0cb0ea1eb292fc22600691d3d1b8e72d97c3f9c authored about 1 year ago by xdBronch <[email protected]>
don't use `std.Thread.RwLock.PthreadRwLock`

7162c330ee850fd9d789c65f24d48b8c5bdeec8f authored about 1 year ago by Techatrix <[email protected]>
add `anytype` snippet (#1680)

29cd0bec81fac9093ef51d26e2261b51bf7255b0 authored about 1 year ago by Ali Chraghi <[email protected]>
fix compile errors on unused InternPool functions

320cc300d71eef18634c32df6cc97f794a023daa authored about 1 year ago by Techatrix <[email protected]>
add tests for intern pool completions + fixes

covered:
- primitives
- optionals
- pointers
- arrays

140db6360319473fce14adcc27527493bc69873e authored about 1 year ago by Techatrix <[email protected]>
fix default value in json schema generation

26981b61c3d2347c38761f96fe7a9322e8cd6bf2 authored about 1 year ago by Techatrix <[email protected]>
update config gen documentation on vscode config generation

bb022d7e5f2c0a97fd5c7661fad0ae0f856e6e38 authored about 1 year ago by Techatrix <[email protected]>
add `build_on_save_step` config option

This allows selecting which step should be executed when running
build-on-save like `zig build i...

a690caf7298d3faaa9636c0f5d8e856397b6df88 authored about 1 year ago by Techatrix <[email protected]>
add config support for non optional strings

a8267abd1c6f6e9c24630b95ee24512a2c45f94f authored about 1 year ago by Techatrix <[email protected]>
stop comptime interpreter from always crashing

Don't worry, it is still going to crash easily (just like ZLS in general)

f70cedba7bd1ba695fbce48f0ec117fe36377969 authored about 1 year ago by Techatrix <[email protected]>
another intern pool rewrite

- new `StringPool`
- most functions now operate on `InternPool.Index` instead of `ÌnternPool.Key...

ecb2f2e1db1441bc62ce035a0c7c468ea95567de authored about 1 year ago by Techatrix <[email protected]>
ErrorBuilder improvements

ErrorBuilder:
- new `unified` option
- new `file_name_visibility` option
- new `removeUnusedFile...

06e785ccf50aa6081b42a6486111dc7cda63c96c authored about 1 year ago by Techatrix <[email protected]>
add thread safety to InternPool

8391e8fa9e975a9a912c3c760bf5bcb6bd216def authored about 1 year ago by Techatrix <[email protected]>
update some documentation in InternPool

201fc031ae008c888549ee902aba490010383e15 authored about 1 year ago by Techatrix <[email protected]>
replace `encoding.zig` with simpler u32 based encoding

d592eaad4b75f55b1cf1eef555689cc9be684a32 authored about 1 year ago by Techatrix <[email protected]>
remove usage of inline else from InternPool.get

50d20be9f8fb39bcc6f2f8719e29392e65ffd583 authored about 1 year ago by Techatrix <[email protected]>
improve StringPool API, safety and documentation

- more doc comments
- compute string hash before acquiring lock
- add safety check for calling d...

9a42f5d3d11887f255522987c88d24ea4b11668a authored about 1 year ago by Techatrix <[email protected]>
encode large floats as u32 integers

dab5cb7d417293ab36b37cb7299e033024d7a359 authored about 1 year ago by Techatrix <[email protected]>
remove some unnecessary calls to `@as` builtin

7cff6bff15074391a589489bd0920bd968525574 authored about 1 year ago by Techatrix <[email protected]>
rework storage of BigInt limbs

be396db7940478d3686fc4dcf7ef8fde6a9ec6d8 authored about 1 year ago by Techatrix <[email protected]>
add `InternPool.Index.Slice` and `InternPool.StringSlice`

ddcd10625e2de88674aca83269ab2420e8a4e5cf authored about 1 year ago by Techatrix <[email protected]>
remove `InternPool.deepEql` and `InternPool.deepHash`

c9de3a059efbebf7c9636f27cff12cb4fb62a0d4 authored about 1 year ago by Techatrix <[email protected]>
add test for `StringPool.getOrPut` on existing string without allocation

556f95c2b04ebf7c223e69d1e1505c0691a457db authored about 1 year ago by Techatrix <[email protected]>
pack pointer type struct

03ea94912d92e8e91e8905cdbfeb3ca7e3ecbf71 authored about 1 year ago by Techatrix <[email protected]>
fix looking up `len` on a single pointer to array

59282d14d0424ea95728048feb7e9d2512871e90 authored about 1 year ago by Techatrix <[email protected]>
add assertions to `InternPool.errorSetMerge`

08c78958b18e6c1a35c21717b7b0adae5a23dc5c authored about 1 year ago by Techatrix <[email protected]>
detect wrong value for `extra_count` in `InternPool.init`

caf4e054bf63d2cac97f6c562472cb0f8a883acf authored about 1 year ago by Techatrix <[email protected]>
return null when integer doesn't fit in `InternPool.toInt`

7c917b798946cb5d9926f9b8ec331f8f4a2abfab authored about 1 year ago by Techatrix <[email protected]>
include comptime_float in `InternPool.isFloat`

e6815d0a53c6cb23dc4d1a90ec42a02520e3b6f0 authored about 1 year ago by Techatrix <[email protected]>
move `InternPool.Key` sub-types into `InternPool.Key`

83c54e6c9b27cf74cb0f04c9c4e08a51de0ee143 authored about 1 year ago by Techatrix <[email protected]>
pack function type struct

8720d147d93ea0c93a657014530625108f9b5aca authored about 1 year ago by Techatrix <[email protected]>
add TODO for representing arrays and vectors with unknown length

6129aa2475f64b6d1a30afe98d38c8c6c60dd011 authored about 1 year ago by Techatrix <[email protected]>
fix typo in `InternPool.deepHash`

be3321bb18223ca0bf9630a6588157c2c3495b80 authored about 1 year ago by Techatrix <[email protected]>
avoid calls to `extraData` in `InternPool.typeOf`

8a852a1820ce1296bc77f4efe7c59bdbb3232c4d authored about 1 year ago by Techatrix <[email protected]>
add a degibberish function for Zig types

We may use this in the future to explain types to new Zig users.

dfd511a4fa52c80fa0382c084d6fc077d220636e authored about 1 year ago by Techatrix <[email protected]>
simplify `InternPool.isUnknown`

a73ca3a782ed80d6328eb7745ac52993c54477eb authored about 1 year ago by Techatrix <[email protected]>
Add some tests for completion snippets (#1676)

adaeabbe1ba888d74309d0a837d4abddc24cf638 authored about 1 year ago by fn ⌃ ⌥ <[email protected]>
Combine doc comments of declaration and definition (#1664)

* Combine doc comments of declaration and definition

5202edfd709a92525032672103e112359c6d8a1a authored about 1 year ago by fn ⌃ ⌥ <[email protected]>
give filesystem completions on string literals in build files (#1668)

Many string literals in `build.zig` files refer to file system paths so
we can optimistically p...

46de13c2c34c461406e7b6c79666167c854d2e20 authored about 1 year ago by Techatrix <[email protected]>
move goto and references request handlers out of `Server.zig` (#1670)

* move `referencesHandler` to `features/references.zig`

* move `gotohandler` to `features/got...

7c27ca5f5bf6af31311206f8d08f7f0f83f17c97 authored about 1 year ago by Techatrix <[email protected]>
update document store documentation (#1667)

* improve documentation on some document-store functions

* fix code example for `translate_c....

c63763e0a8959b2fdca7e9f57ed362ec5277fb27 authored about 1 year ago by Techatrix <[email protected]>
type erase `iterateChildren` and `iterateChildrenTypeErased` (#1669)

This reduced binary size by about 32kb when building ReleaseSmall.

d9fba31f30099f726208bcc9d5509a21adf42d21 authored about 1 year ago by Techatrix <[email protected]>
update bug issue template (#1675)

- combine Steps to Reproduce and Actual Behavior
- add Client / Code Editor / Extensions
- add...

cc2054219a4d1349f4fa008fa93b4def9dfd1a9a authored about 1 year ago by Techatrix <[email protected]>
handle `offsets.positionToIndex` on more characters than line length (#1666)

The LSP specification says the following about the
`character` field of `Position`:
> If the c...

126d633c4c40a42ad0b33db0f2afcbc560a40e40 authored about 1 year ago by Techatrix <[email protected]>
add autofix comments + diagnostic on discards (#1665)

* enforce a autofix comment when removing/adding discards

* show diagnostic on discard that w...

091ad12ac49129cc510e1f0eca47f57e8d419168 authored about 1 year ago by Techatrix <[email protected]>
Disable autofix by default (#1657)

9476a1d47034954367be026b6609062aaefa16ba authored about 1 year ago by Auguste Rame <[email protected]>
completions for re-exported functions (#1656)

closes #423

d1ad449a24ea77bacbeccd81d607fa0c11f87dd6 authored about 1 year ago by Christofer Nolander <[email protected]>
Redundant `inline`s in comptime scope (#1658)

a4c568df71820ed80149066c8b5c2b6a3ac0ab54 authored about 1 year ago by nullptrdevs <[email protected]>
disable autofix for var never mutated (#1652)

* disable autofix for var never mutated

* disable autofix and remove test

128a161b87f4538e392d0f9b9a73dcf8093e4b5d authored about 1 year ago by xdBronch <[email protected]>
code_actions: autofix unused capture in while loop with continue stat… (#1654)

* code_actions: autofix unused capture in while loop with continue statement

* code_actions: ...

287156eb15f468d6880169b61bbf89c8ae586df6 authored about 1 year ago by travisstaloch <[email protected]>
Fix JSON union parsing bug (#1653)

See this discussion for more details
https://discord.com/channels/605571803288698900/1181800430...

b45f7a8ae1c257f5298ae3356cf5cb83ff511ea7 authored about 1 year ago by Beyley Thomas <[email protected]>
callsite references related optimizations (#1644)

* don't compute callsite references recursively or in cimports

* don't use callsite reference...

143b1b2a22b27654338268f58ca7db2d2e7ff6f7 authored about 1 year ago by Techatrix <[email protected]>
Some `.enum_literal` completions fixes (#1638)

b3285004f11b0a5f632a778685dcc8c1fcf50cf9 authored about 1 year ago by nullptrdevs <[email protected]>
only run autofix when invoking manually (#1642)

autofix should not be applied when saving because of
autosave or out of focus.

This applies ...

5f6fd9837c55d0791bc01d92458f7252a4b615f0 authored about 1 year ago by Techatrix <[email protected]>
fix invalid unwrap when failing to create build file (#1636)

`getBuildFile` may return null when creating the build file failed.

c7e6adc32047877e5a14ad6dfbe9e20666818567 authored about 1 year ago by Techatrix <[email protected]>
Fix "autofix doesn't correctly remove lines when using tabs for indentation" (#1640)

28efa6db511708f5bce2fea551646078762ef6d5 authored about 1 year ago by nullptrdevs <[email protected]>
Merge pull request #1643 from zigtools/techatrix/remove-mem-copy

update diffz dependency and bump minimum build version

a6dbca28ddb0754c1443f309407ca6c098d01b7f authored about 1 year ago by Auguste Rame <[email protected]>
flake.lock: Update

Flake lock file updates:

• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/0bd59c54ef06bc34e...

2259c0db3ae8439c3b140e37fde0f71747821598 authored about 1 year ago by Techatrix <[email protected]>
set minimum build version to `0.12.0-dev.1767+1e42a3de89`

a6786e1c324d773f9315f44c0ad976ef192d5493 authored about 1 year ago by Techatrix <[email protected]>
update diffz dependency

https://github.com/ziglibs/diffz/pull/18

3d564d8d523ab738e107b4f399691daf87591b4f authored about 1 year ago by Techatrix <[email protected]>
Merge pull request #1634 from zigtools/techatrix/test-coverage

more test coverage + minor fixes

a3145f64a8d4dfbb2e9f5b906405aa00a5c17602 authored about 1 year ago by nullptrdevs <[email protected]>
fix position context on identifier after parens (#1633)

f16bfd3918358d85e04f297a6fbd20091117dcfa authored about 1 year ago by Techatrix <[email protected]>
test code actions with diagnostics from AstGen instead of ast-check

3b24343ba2de34987c608b08f0f4c5c6e72064dd authored about 1 year ago by Techatrix <[email protected]>
fix semantic tokens on tagged union with explicitly sized enum

03b80fe9fae79b5c41b9ab9a82585ddb87c6e065 authored about 1 year ago by Techatrix <[email protected]>
add signature help test for builtin functions

5b4721c3048955c11d79a9954b8c1d4ab3f2a667 authored about 1 year ago by Techatrix <[email protected]>
add another semantic tokens assembly test

1f0bd6e926a0315cf2b7912f2cd280c015e43516 authored about 1 year ago by Techatrix <[email protected]>
remove node out of bound check in semantic tokens `writeNodeTokens`

c7b6c1aa706074a0846e9a46249ab612e6196737 authored about 1 year ago by Techatrix <[email protected]>
fix semantic tokens for field access on unknown container or field

7de10eb5851cf1afeb47c99adf8f4931fb86e1bc authored about 1 year ago by Techatrix <[email protected]>
add semantic tokens test for on try

c5f42032b6808c2968e63e6627aa38bb6af62e64 authored about 1 year ago by Techatrix <[email protected]>
remove unnecessary `@truncate`'s from semantic tokens `addDirect`

`delta.line` and `delta.character` were already a `u32`

b36e739ebbfc9e663195e171a76a3025947c0140 authored about 1 year ago by Techatrix <[email protected]>
add semantic tokens test for container field with align and default init

289274170f4dd9eb668258a08984b5f31a068188 authored about 1 year ago by Techatrix <[email protected]>
add folding range test for multi switch case

3e0edfdf03d0d65c5054f61ced5cc89d252a29c5 authored about 1 year ago by Techatrix <[email protected]>
allow testing goto declaration,definition and type definition in one

467f3c15b369485536c0d5d55c82df1bb3def73e authored about 1 year ago by Techatrix <[email protected]>
fix lifetime issue of test_uri in definition tests

63cc9e6f1ae7a80b93e83aaf2876baadde2d1f18 authored about 1 year ago by Techatrix <[email protected]>
expand goto test coverage

3c0728c5220b6d49059f04852b041aae3d231272 authored about 1 year ago by Techatrix <[email protected]>
add helper functions for dealing with assign destructure declaration

4c7c1885d759885dc19ad9ba8bd96b84cd889675 authored about 1 year ago by Techatrix <[email protected]>
try to resolve goto type definition based on declaration

This unbreaks goto type definition on primitives

ab83c35739165e9895dc37cd5447e1a5945bd991 authored about 1 year ago by Techatrix <[email protected]>
Updates deps.nix and flake.lock (#1632)

74ff684556123e7191753866152ec3afc5c66f70 authored about 1 year ago by Álan Crístoffer <[email protected]>
add -Duse_llvm flag to use native code backends (#1628)

35351a6ce059b6b0213b98c84793a94685f25441 authored about 1 year ago by Techatrix <[email protected]>
pass correct handle in `collectVarAccessContainerNodes` (#1626)

* pass correct handle in `collectVarAccessContainerNodes`

fixes #1624

* more clearly docum...

189cff3146e5a0b33d40d7b32dc65768d68dc190 authored about 1 year ago by Techatrix <[email protected]>
Miscellaneous zig std api breaking changes fix (#1620)

* zig std had removed meta.trait

ps: this change need set minimum zig build version to 0.12.0...

a0affc721983d665a6161c44bb8b353af2de207f authored about 1 year ago by jimying <[email protected]>
build_runners: Attempt to make GeneratedFile steps (#1606)

38a199813a1018305d4e85233950c2e6c8ca30a1 authored about 1 year ago by nullptrdevs <[email protected]>
call `zig init` instead of `zig init-exe` build_runner.yml (#1619)

d433a5873067c79c75b963cf0cbc8c93989232a2 authored about 1 year ago by Techatrix <[email protected]>
set minimum build version to `0.12.0-dev.1663+6b1a823b2b` (#1616)

* set minimum build version to `0.12.0-dev.1663+6b1a823b2b`

* flake.lock: Update

Flake loc...

71d2c3302acd4df716d39adb5d6797c2075bd946 authored about 1 year ago by Techatrix <[email protected]>
Support load http proxy environment variables (#1604)

zig project (https://github.com/ziglang/zig/pull/17407)
add client.loadDefaultProxies to loads ...

62f17abe283bfe0ff2710c380c620a5a6e413996 authored about 1 year ago by jimying <[email protected]>
fix error in binned_allocator when report_leaks is disabled (#1615)

a67fef882b9739cc5f3c70c78e3230ec9cd4d76d authored about 1 year ago by xdBronch <[email protected]>
Add Codecov badge (#1614)

af1c61f97243ad67dd66c576327eec8745ea2676 authored about 1 year ago by Auguste Rame <[email protected]>
Fix invalid codecov.yml oops (#1613)

7177586a548720f489124231dbf5d3fb15b6d8af authored about 1 year ago by Auguste Rame <[email protected]>
coverage: add coverage CI action (#1343)

8d162d32c34d9a7aae412c6b09ae47ad3ade4a38 authored about 1 year ago by Auguste Rame <[email protected]>
add autofix for `local variable is never mutated` error (#1607)

209d8c4ef133321bbb4bde4b2a2c04f1d5fcdb28 authored about 1 year ago by Techatrix <[email protected]>
Update `deps.nix` (#1612)

f4d39124bc2a2b839fc857013c7d9ca6b8a86b50 authored about 1 year ago by Sage Hane <[email protected]>
Merge pull request #1605 from zigtools/nullptrdevs/var-never-mutated

Zig AstGen changes, unnecessary use of 'var'

6b05cb645abf1118ea338b7f356da41b63338774 authored about 1 year ago by Auguste Rame <[email protected]>
Fix binned_allocator self params

Co-authored-by: Ian Johnson <[email protected]>

bdc762a6b86cb741c627bf177c0e0eb5998f91dd authored about 1 year ago by Auguste Rame <[email protected]>