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

AstGen: preserve result type in comptime block

5a266ed9d0739702f8a0366d064a8a5c4217db7b authored about 1 year ago by nullptrdevs <[email protected]>
build.zig.zon: update dependencies

e8951fc535f3750a417b15cf0aaca2076949f2e1 authored about 1 year ago by nullptrdevs <[email protected]>
add custom version of binned_allocator

- fix data race when allocating with thread safety
- remove workarounds for https://github.com/z...

5a31c5082561c2f58f344b0471ac0a11ecf9b812 authored about 1 year ago by Techatrix <[email protected]>
Fix the while loop in `src/analyser/encoding.zig:decode`

d811e00c592714bb7ad3236557ed30c6cc6f8c31 authored about 1 year ago by nullptrdevs <[email protected]>
change unnecessary uses of 'var' to `const`

3f49caf6f83b80a574df3dc519fa33ba71bca5a1 authored about 1 year ago by nullptrdevs <[email protected]>
AstGen: add error for unnecessary use of 'var'

27d14c1acd93942db07db22c06d294647bb18fe5 authored about 1 year ago by nullptrdevs <[email protected]>
AstGen: catch duplicate field names

848c8b47ba2672fd8dc60caa645d54e78d023f09 authored about 1 year ago by nullptrdevs <[email protected]>
CI: run zig fmt (#1599)

* run zig fmt

* CI: run zig fmt

* ensure that .zon files use LF as their end of line sequence

e89b712e69baa7f745d2d146ca3231264978f1d6 authored about 1 year ago by Techatrix <[email protected]>
pass correct handle when iterating usingnamespace of either type (#1598)

521acc1e84274885d9fd11718e2fe6f7a0e5552c authored about 1 year ago by Techatrix <[email protected]>
BUGFIX | Fix `autofix` misplacing `}` when resolving unused function parameters, and captures. (#1597)

* fixed formatting on save for auto discards

757e83e8947764a7c1668ef74edb4005daa47ce2 authored about 1 year ago by Alex B <[email protected]>
ensure that documents do not exceed `std.math.maxInt(u32)` (#1590)

ab27c41c06c309c84090f72e87d7b5bc54788934 authored about 1 year ago by Techatrix <[email protected]>
fix crashes found through fuzzing (#1588)

```zig
if ( {fn foo()}
```

```zig
0"" (}; @compileErrors.a
```

```zig
comptime {
...

aa9fc0c2959798a59dada05f5c099487eb12c662 authored about 1 year ago by Techatrix <[email protected]>
Minor build runners update (#1581)

* Minor build runners update

0.11.0
- Fix `getPath() was called on a GeneratedFile that wasn...

2f9cb7c03eec06eb3583c4ac35df3e2d7d4c096c authored about 1 year ago by nullptrdevs <[email protected]>
fix document symbols on tuple container field and builtins (#1584)

bda08cc4f2d9a88a98014c71b0b3083609da08d8 authored about 1 year ago by Techatrix <[email protected]>
return resolved init expression of var decl if the type node is `type` (#1578)

cd520e55362526fb068a6174e07c7ed8d1154103 authored about 1 year ago by Techatrix <[email protected]>
more cimport fixes (#1580)

* fix potential memory when zig exe or zig lib path config option change

* handle clobber whe...

7430bb66e67ef5041d2127f557a12305b69f8516 authored about 1 year ago by Techatrix <[email protected]>
fix deadlock in `DocumentStore.collectIncludeDirs` (#1579)

b6561cba24f0248d775a6cf29011f946fa2b3f61 authored about 1 year ago by Techatrix <[email protected]>
protect build file config from race conditions (#1575)

- make pointer to `DocumentStore.BuildFile` stable
- protect BuildConfig with a Mutex and some ...

919d694ed79bdf842519981f134153f8bc98a7e7 authored about 1 year ago by Techatrix <[email protected]>
Support more than `.string_literal` as second param to `@field` (#1566)

9ceb806d0e891781d1e3134ee4468cda88deaefd authored about 1 year ago by nullptrdevs <[email protected]>
don't analyze unreachable code paths in test in `resolveConfiguration` (#1576)

1a5e5667fd64e3152eed6482faa0c0b2780ad72b authored about 1 year ago by Techatrix <[email protected]>
handle symbol lookup between unescaped and escaped identifiers (#1574)

Most code was not taking into account that an identifier
could be escaped which caused code lik...

a4c29defea3cd70514b5b48a4bb9d9ad946445a6 authored about 1 year ago by Techatrix <[email protected]>
semantic token test coverage + minor fixes (#1573)

* highlight anyframe literal as a type

* remove semantic token of asterix in pointer types

...

cfb0269a243cd66e8e5de9bd1a537254ef72999a authored about 1 year ago by Techatrix <[email protected]>
add back ZLS logo (#1572)

ef6c85fd73343603d7efde3447f425d8c775c83f authored about 1 year ago by Techatrix <[email protected]>
zig breaking change ReadIntLittle -> ReadInt

cf9d26061882810bf28258839696e818b6967886 authored about 1 year ago by andreakarasho <[email protected]>
flake.lock: Update

Flake lock file updates:

• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/51d906d2341c9e866...

7c4056ad2ac8d59f35aebbc418a5536474bb6bc8 authored about 1 year ago by Techarix <[email protected]>
set minimum build version to `0.12.0-dev.1379+725f765c3`

781dac064e57e5ef0944dc8f646edb99c8d67ce8 authored about 1 year ago by Techarix <[email protected]>
fix signature help on function with self as pointer (#1569)

176bfabd990f8bf46b66b2de35ac3902d64876bf authored about 1 year ago by Techatrix <[email protected]>
enable struct field access reference test (#1565)

239b1ac3b1eca676fe3cd6cc39536fa165fcc3b0 authored about 1 year ago by Techatrix <[email protected]>
Merge pull request #1564 from zigtools/techatrix/module-completions

module completion improvements

2435b6bd806af0ddc795a39a7def4aebae9e20b7 authored about 1 year ago by nullptrdevs <[email protected]>
Merge pull request #1563 from zigtools/techatrix/folding-range-fixes

folding range fixes on anytype parameters and trailing comments

fe704840d63751b11a687cf4ddd16ebbe6cf122b authored about 1 year ago by nullptrdevs <[email protected]>
fix `getDeclNameToken` on unnamed test declaration (#1562)

5229250e9705881b1468d0c4d7dba0a1bd7db266 authored about 1 year ago by Techatrix <[email protected]>
show path of modules when getting import completions

ba6ce659c0750b1e4f098c3b7dc5eec498a3fe8f authored about 1 year ago by Techatrix <[email protected]>
show 'std' and 'builtin' modules when getting import completions

6142e5fd818154d0a309df54a7522980c0e99970 authored about 1 year ago by Techatrix <[email protected]>
document scope dod follow-up (#1560)

* refactor document scope tree iteration to be more consistent

* add missing `walkNode` call ...

a0a03ab3ff4b5cac82ac30acb11e33d82ec23886 authored about 1 year ago by Techatrix <[email protected]>
refactor either type deduplication (#1559)

- avoid doing deduplication twice when collecting callsite references
- provide a more consiste...

6e32fb1afb66c0bafa5c4e74c4a8bfc7720862fb authored about 1 year ago by Techatrix <[email protected]>
add folding range test coverage on trailing comments

see #1528 which has been fixed by 27562655530923b178f37664c05ab15a11c26645

303463981a3948d3debad3792f1717dc96c32bd3 authored about 1 year ago by Techarix <[email protected]>
fix folding range on anytype function parameters

linked issue: https://github.com/zigtools/zls/issues/1131#issuecomment-1510829408

5bd8b5c42f2e3fdd41d9e3aec15c141d5d17174c authored about 1 year ago by Techarix <[email protected]>
Some fixes (#1557)

- fix cimports
- fix wrong insertText

b784016dcae63e47ce65854055c2a267363c714e authored about 1 year ago by nullptrdevs <[email protected]>
refactor representation of resolved pointer and optional types (#1552)

* refactor representation of resolved pointer and optional types

Adds a separate representati...

4607ec816ace6188c4d24f4d4f0fb320714c7063 authored about 1 year ago by Techatrix <[email protected]>
completion fixes (#1551)

* fix dot completions on invalid types

* fix enum completion on out of bound parameter index

c8dd10bec97c6fb23f56db0ac38a1167eb01773c authored about 1 year ago by Techatrix <[email protected]>
resolve function calls to function pointer types (#1550)

02e9ce7bcf46d93b46184e0a1eb021d49688e604 authored about 1 year ago by Techatrix <[email protected]>
flake.lock: Update (#1553)

Flake lock file updates:

• Updated input 'zig-overlay':
'github:mitchellh/zig-overlay/d5...

bf3eac53516f3e90ae0bccec33ec2bbeeeabf83b authored about 1 year ago by Techatrix <[email protected]>
lazily compute resources of DocumentStore handles (#1492)

Instead creating the DocumentStore (and ZIR if needed) whenever the
document gets modified, it ...

86475a820e94e886e80bee87a795c25e94f4284a authored about 1 year ago by Techatrix <[email protected]>
analysis refactoring (#1514)

* remove some unnecessary pub specifiers

* explicitly specify error set type of analysis func...

46c5a83082ae0a31acccffc93c884d20da18419e authored about 1 year ago by Techatrix <[email protected]>
add error message when tests fail because of no response

96026785c3200d1d6fb4b46cf68666bcc5d5625d authored about 1 year ago by Techatrix <[email protected]>
detect signature help on non existent parameter

3c97eba96bd1c242bf2eb8c0b42c0754d28ce715 authored about 1 year ago by Techatrix <[email protected]>
add test coverage for signature help

4565dfc74ecc9ba73c352abc0205dd98d4f548a3 authored about 1 year ago by Techatrix <[email protected]>
provide signature help when calling function pointers

see #1438

cbc4e2be91537255030d90c32ee58238175982a1 authored about 1 year ago by Techatrix <[email protected]>
Fix 0.11.0 build runner module crawler (#1548)

c02c0f647b7122da7e5d38461761ac993eb41ae2 authored about 1 year ago by tomc1998 <[email protected]>
Rename ExecError -> RunError (#1547)

* Rename ExecError -> RunError

* execAllowFail -> runAllowFail

91b4ff663ad347a701e2844be49bb7c10ff785f8 authored about 1 year ago by andreakarasho <[email protected]>
set minimum build version to `0.12.0-dev.1237+b82459fa4`

fde7b384737a7af7bc8cd4e20d39785f78743d9c authored about 1 year ago by Techarix <[email protected]>
flake.lock: Update

Flake lock file updates:

• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/038b2922be3fc096e...

1988df27af619b4b8b78fc2388164526ee2eeb5b authored about 1 year ago by Techarix <[email protected]>
Update http.client methods renamed in latest zig master

908f9fa8029e7aa318cabfea1acc13814416312c authored about 1 year ago by andreakarasho <[email protected]>
child_process + Build: rename exec to run (#1544)

Changes needed after this commit in zig: https://github.com/ziglang/zig/commit/fd2239bde9e2051a3...

ece79a6288425c08da0660a8d74fb23e24ce52ef authored about 1 year ago by Julek <[email protected]>
Merge pull request #1517 from zigtools/doc-scope-dod

Data-oriented design DocumentScope

645f728fc61d0e5b640c9e3bb46f733e4a1b6177 authored about 1 year ago by Auguste Rame <[email protected]>
fix `identifierIndexToLoc` on escaped identifiers

0e2c4f56751e76fa3762220b3938ed1f2253e079 authored about 1 year ago by Techatrix <[email protected]>
mark inner functions of `walkNode` as noinline

c75bc2c29608f2beba44cab5b88a40ddfe00fa9c authored about 1 year ago by Techatrix <[email protected]>
Remove extra comment check in `getPositionConntext` (#1534)

I had intended this as a safety cut off, but it breaks struct init

```zig
const exe = b.addE...

fd9d2642e27ac65ea96fb37a27e02c9e2d269e23 authored about 1 year ago by nullptrdevs <[email protected]>
Inlay Hints for Control Flow Capture Values (#1512)

* Initial Commit

* Remove stuff i was messing around with

* Fix test (i think)

* Update...

5b056e50aea4e8d26c734e9207542b932a7c8bf9 authored about 1 year ago by Daniel <[email protected]>
further optimize `offsets.tokenToLoc` on identifiers

1af8d8bb705501eb4aab101c4cc53cd3f79c5a6e authored about 1 year ago by Techatrix <[email protected]>
reduce calls to `iterateChildren` by adding more explicit switch cases

a6b53dc040e4f5fc7051f02cd884f60a2c57ad74 authored about 1 year ago by Techatrix <[email protected]>
flake.lock: Update

Flake lock file updates:

• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/01441e14af5e29c9d...

12848786993db85dad9c0ec0e90e5c8fc7ed47eb authored about 1 year ago by Techatrix <[email protected]>
set minimum build version to `0.12.0-dev.1125+63f9af87d`

47924d292ca664f224c37a2244e57938d60f34c7 authored about 1 year ago by Techatrix <[email protected]>
optimize `ast.lastToken` on blocks, containers and switch expressions

27562655530923b178f37664c05ab15a11c26645 authored about 1 year ago by Techatrix <[email protected]>
optimize `offsets.tokenToLoc` on identifiers

4ff74787335ca68f4618efe4e4084ca43e136f85 authored about 1 year ago by Techatrix <[email protected]>
completions: Unwrap the field's type if it's an optional (#1533)

Handles `x{.a_field_with_an_optional_type =`

e4593da63e57f83d40507b958c0b81125dd55156 authored about 1 year ago by nullptrdevs <[email protected]>
don't add snippets when the client does not support it. (#1532)

a781897b40ca14203ee379922c3234f84a654453 authored about 1 year ago by danielsan901998 <[email protected]>
add workaround for false-positive cimport header not found errors (#1520)

When running translate-c, the set of all c include directories may not
be fully resolved becaus...

b18fd853a5e08bcc48319451f8fe730b07856d6f authored about 1 year ago by Techatrix <[email protected]>
CI: don't fetch git submodules (#1519)

ZLS only has tracy as a submodule which is not used anymore in our CI

b8b4ea8bd8ab3bb9f77dcda7fcd1774431197970 authored about 1 year ago by Techatrix <[email protected]>
remove the `start_token` parameter from `makeScopeAt`

c769e596319341ff285fd4f82b0be3fa50e6eb54 authored about 1 year ago by Techatrix <[email protected]>
move switch cases of `makeScopeAt` into separate functions

I've also removed the return type and the `keep_block_open` parameter.

this diff is much easier...

c0c9ca0fde913ed244969f0aad2b72c07b939ac8 authored about 1 year ago by Techatrix <[email protected]>
add a small size optimization to child scopes and pack scope fields

4ac62836fc4ba750fd482657d72bcacbdb3c7041 authored about 1 year ago by Techatrix <[email protected]>
initialize ChildDeclarations based on small_size

0b130f8f961e7995e2582511c4cfae15f945fad7 authored about 1 year ago by Techatrix <[email protected]>
add missing calls to `resolveUse`

3083d32a810d9bd5e73026ae93a7b996e3322123 authored about 1 year ago by Techatrix <[email protected]>
shrink capacity of DocumentScope after construction

0dc3328514286692613f51911db1277fe05e37c3 authored about 1 year ago by Techatrix <[email protected]>
update `printDocumentScope`

27ef8fd063496f105c3d4109dca8b6c2b6a29cc4 authored about 1 year ago by Techatrix <[email protected]>
move enum or tagged union check outside of loop

f917e21568439a4b716e24a386874f617a45afbd authored about 1 year ago by Techatrix <[email protected]>
simplify code that resolve source loc of .block

f34d3452d54978e410dc2ab27c5ce4a6fe5073d1 authored about 1 year ago by Techatrix <[email protected]>
make `EnclosingScopeIterator.next` return a `OptionalIndex`

ef25fa877563c48108537e32af0b6f61c2da8c6b authored about 1 year ago by Techatrix <[email protected]>
deal with duplicate declaration names

0e25c77829cc75f1d4349c6a352ea8c41c98baa1 authored about 1 year ago by Techatrix <[email protected]>
WIP: start getting document scope working

56cfb758582217626f5be46612c023cbb706f768 authored about 1 year ago by SuperAuguste <[email protected]>
add initial code for new DocumentScope

a93b738d811c6b6afc664dd81ccec5522e3dc6c9 authored about 1 year ago by Techatrix <[email protected]>
all tests pass!!!!

44ba04327e72acffcd0d30d17e5e47fbe9370fac authored about 1 year ago by SuperAuguste <[email protected]>
Only 5 tests failing now

35627e928d68c5661893795323ade1b0b3bc3e39 authored about 1 year ago by SuperAuguste <[email protected]>
WIP: more progress

0a4b2212ac6fd2f95b2723eae24d6e3e9bc7379c authored about 1 year ago by SuperAuguste <[email protected]>
1 test failing!

8bb81c95f17ee49ed74ef4d71d5dc0630b07ebc4 authored about 1 year ago by SuperAuguste <[email protected]>
It builds!

5432e9e258a715a91d2f1a3d5fbb21d2128f5d14 authored about 1 year ago by SuperAuguste <[email protected]>
reserve capacity in `URI.fromPath` (#1516)

1a282b30cccb6dd52438fa1ef6e6b887069e109f authored about 1 year ago by Techatrix <[email protected]>
more tracy zones (#1515)

* add tracy zones for server to client responses

* add tracy zones for formatting completion ...

a0c7d6ec1a6739c6e303ce958377eb467f025030 authored about 1 year ago by Techatrix <[email protected]>
Resolve type of `@field(..)` in the context of `usingnamespace` (#1511)

* Resolve type of `@field(..)` in the context of `usingnamespace`

* fix: off by one

Co-aut...

3eb50b62552904d773b455248e9540e43d67f4a8 authored about 1 year ago by nullptrdevs <[email protected]>
flake.lock: Update

Flake lock file updates:

• Updated input 'zig-overlay':
'github:mitchellh/zig-overlay/9ce4b...

57adf9cd232a18bc9e3a0718580a3ca27341a727 authored about 1 year ago by Techatrix <[email protected]>
set minimum build version to `0.12.0-dev.899+027aabf49`

5768a4bb3d6604f5fcab7d7ee85a40c132b1ed04 authored about 1 year ago by Techatrix <[email protected]>
update stage2 sources

15dd7608cf1d38e2c94d5658811238b36d37e616 authored about 1 year ago by Techatrix <[email protected]>
set minimum build version to `0.12.0-dev.890+8c6b0271c`

1a86eb1d8daa511a6cd300e08516b3804228957c authored about 1 year ago by Techatrix <[email protected]>
flake.lock: Update

Flake lock file updates:

• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/a2eb207f45e4a14a1...

8673e747dedf52bd85e165b7be9605a56cb669d5 authored about 1 year ago by Techatrix <[email protected]>
Refactor enum_literal compls

Co-authored-by: Techarix <[email protected]>

61fec01a2006c5d509dee11c6f0d32a6dfbbf44e authored about 1 year ago by nullptrdevs <[email protected]>
fix memory errors related to build file URIs

- `uriInImports` did sometimes take ownership of the `source_uri` passed
in and also did now fre...

1a3fee443e64e8dd528310de86a2463b6bd3ff74 authored about 1 year ago by Techatrix <[email protected]>
add missing '.paths' to zon file (#1510)

e1c885581b770a1e9007a3b02cd7912056d4b702 authored about 1 year ago by Nagy Botond <[email protected]>
Rename `@errSetCast` to `@errorCast`

c9d99fcacb8b9a83b630397ed719ee83cc725031 authored about 1 year ago by nullptrdevs <[email protected]>
fix Key and Value completions on std HashMaps

888f8d6deb3226ba17b0da32d4ed4795736169e3 authored about 1 year ago by Techarix <[email protected]>