Revisions of zls
- Update to version 0.12.0 * new inline hints * Detail field to pointer deref and optional unwrap operations * semantic highlighting on vscode * Module completions for std and builtin * completions for function aliases with self parameters * validate configuration options * supports only zig 0.12.0 * tagged releases now support only tagged releases of zig - Add vendor.tar.zst. Contains the vendored dependencies. Zig now uses a package manager
- Remove files: * 0001-add-pie-and-strip-build-options.patch * _service - update to version 0.11.0: * check `linkSupport` when handling goto requests * `getPositionContext`: Include preceding line(s) when tokenizing if a line starts with a '.' * Update data for Zig 0.11.0 * Fix Go to Type Definition * Update flake.lock * update usage of std.zig.system.NativePaths * fix infinite loop on struct init field completion * Disable fuzzing temporarily until fuzzer/infra is fixed * detect type reference cycles on hover * merge Analyser.using_trail and Analyser.resolved_aliases * refactor some testing code * enable references label test * remove incorrect TODOs * remove unused global var decls * add new semantic token tests * Revert "simplify semantic token generation on field access" * add hover tests * update stage 2 sources * Remove the extra part from hover message * fix parsing of unknown or ill formed CodeActionKind * add workaround for https://github.com/ziglang/zig/issues/16647 * resolve std.ArrayList(T).Slice * update build runner * workflow: specify `-Dcpu=baseline` when building artifacts * Updates Nix lock to newer compiler version. * Fix building for Zig version 0.11.0-dev.4332+43b830415
Replace obsoleted `disabled` option with `manual`
- Update to version 0.10.0+g142: * Properly refer to external repositories instead of lumping everything into zls (#936) * Partially fixes #907 (#908) * Fix lsp weird behaviour on block cursors (#891) (#905) * pull_request -> pull_request_target all over (#935) * Fix secrets access in foreign PRs (#934) * Fix fuzzing ref (#933) * Fix env transfer (#932) * Last fuzzing PR for a while hopefully (#929) * Fix fuzzing paths (#928) * Add fuzzing workflow (#927) * optimize folding range (#926) * Goto definition works when the cursor is at the start of the identifier. * fix builtin completions if `label_details_support` is false (#924) * Generate data files in config_gen.zig (#903) * Allow setting test filter in `zig build test` (#909) * Fix bypass not having value on PR&commit (#920) * Add fuzzing on deploy (#918) * show better zig/zls version mismatch messages (#917) * simplify formatting handler (#916) * fix use after free for builtin completions (#914) * resolve type of `@typeInfo` (#915) * fix use after free (#911) * move log overrides into `std_options` (#902) * check submodules in build.zig (#904) * add tests for textDocument/Definition (#900) * improve memory allocations (#889) * Fix build runner cwd causing relative @src (#898) * return from main instead of calling exit (#894) * Revert "Fix Nix build, add Nix to CI (#840)" (#893)
- Update to version 0.10.0: * README.md: Fix typo * README.md: Remove trailing spaces * README.md: Add missing punctuation * fixed jrpc config treating empty strings as non null (#727) * fix symbol references (#712) * Fix region folding off-by-one error (#726) * Improve folding regions (#720) * Fix build runner optional issue (#725) * fix cimport completion (#722) * fix invalid union access in build_runner.zig (#723) * add tests for completion (#719) * update flake.lock (#710) * fix allocator mismatch in tagStoreCompletionItems (#717) * Added textDocument/foldingRange (#718) * Fix diagnostics (#716) * add missing semicolon * Replace @minimum and @maximum with @min and @max. (#713) * simplify dependency collection in references.zig * return null if file can't be read in documentstore * add separate function for loading handles with getOrLoadHandle * return const Handle from getHandle * fix tagStoreCompletionItems * add more tracy calls in documentstore * simplify tagStoreCompletionItems * load handles on demand instead of ahead of time * undo DocumentStore constness changes * builtins also get their detailed label (#706) * ci fix * fix CI oops * build.zig: ensure user zig matches program minimum * disable label details if client only support old lsp (#707) * Allow tabs for the indentation added by code actions. (#684) * improve document of DocumentStore.zig * fix relative_builtin_path option * correctly resolve `import("builtin")` * update cimport diagnostic collection * ability to highlight global variables (#655) * finish document store garbage collection * correctly exclude builtin.zig from build.zig search * revert timer removal * correctly handle var decl without equal sign * Add missing .switch_case_inline, .switch_case_inline_one cases (#699) * mark DocumentStore & Handle const * reimplement document store * Update some config sites (#695) * remove requests.Configuration (#696) * remove types.TextDocument (#693) * Adds a 'format to camelCase' codeaction for function names (#679) * Self hosted fixes (#682) * improve conformance to the lsp (#687) * support 0.9.1 (#691) * inlay_hints: implement ability to remove redundant hints (#690) * handle `OptionsStep` in build_runner (#686) * simplify Server.zig (#681) * Revamp bulid.zig discovery (#688) * show a warning when using an old zig version (#677) * Code action improvements (#678) * unmanage diff.zig (#680) * explicit request didSave notification from client (#676) * Remove unnecessary indirection * Allocate build_runner args directly * Move build options out of parse result instead of copying * Fix typo in readme * Document per-build configuration options * Support for user-configurable build options * cleanup `processPkgConfig` * use `StringArrayHashMap` to remove duplicate include paths * support pkgconfig * update snippets * add keyword snippets for autocomplete * remove sessions.zig * implement autofix * implement textDocument/codeAction * make types.Diagnostic correctly parseable * refactor ast-check into separate function with small changes * add `enable_autofix` option * add code action types * refactor getting the first & last parameter token into a function * analysis: store function node in parameter declaration * simplify completionHandler, gotoHandler, hoverHandler and their callees * use an ArrayList in uri.pathRelative * don't use inline for iterating builtin data * avoid config copy for document store (#669) * support generating test coverage with kcov * create entire cache folder path * report cImport failure using `textDocument/publishDiagnostics` * Testing improvements (#662) * Add target to Env struct * Pass -lc to translate-c (#660) * fix for zig master (#658) * References improvements (#653) * Completely overhaul offsets.zig (#643) * sync with zig master version llvm15 (#652) * update for zig master (#651) * improve width of log prefix (#649) * refactor builtin_completions * fix warning in session test * only globally log to stderr * create global cache path directory if it doesn't exist yet * place build_runner.zig in zls subfolder * correctly handle anytype in inlay hint tooltips * move updated units_test.zig into tests directory * Add `chmod +x` command to macOS install instructions (#640) * NativeTargetInfo.detect() no longer takes an Allocator param (#637) * place build_runner.zig in cache directory (#635) * fix: "f..o.o;" crashes the server (#629) * respect document encoding * reconstruct diagnostic range end of ast-gen * update data/master.zig * embedFile build_runner.zig in executable * Build m1 binaries (#622) * update README.md * set custom config for tests * enable ast-check by default * fallback when failing to run git describe * report version just like zig * CI: Fetch all history for all tags and branches * report zls version using git describe * ast-check fixes * ast-check for zls! * remove unnecessary check in setup wizard * only conditionally ask for global configuration in setup wizard * add --show-config-path for querying the config path * add JSON Schema * fix textDocument/rename * use comptime in tests.zig * Switch to using mitchellh's zig-overlay * add tests for cimport * add tests for inlay hints * add tests for semantic tokens * prepare testing framework - allow source files from tests as a package - use `tests/tests.zig` as the entry point - add `Context.requestAlloc` * fix: fix warning emitted incorrectly when using .. * fix: fix an attempt to use null value in DocumentStore.resolveImport * fix: fix server crash related to parsing incomplete function as a function's parameter * emit correct c preprocessor macro in convertCInclude * patch allocator mismatch in translate_c * unmanage all the code * workaround zig tarball bug (#599) * Update analysis.zig * Update Server.zig * Issue templates (#600) * update README.md * fix Path <-> Uri mismatch * fix: fix memory leaks related to updating config variables * fix link of VS Code (#593) * Update dependencies * better handling for enum field signatures * correctly handle path to uri conversion * set `use_stage1` in build.zig * Improve unused variable report accuracy * 2 minor tidy-ups + fix for over-eager unused parameter error in function types * add basic cImport support * rename `build_runner_cache_path` to `global_cache_path` * emit JSON formatted packages & include dirs in build_runner.zig * Improve CLI, fix leak, & other. * Refactor Ast helper functions * trigger completion after `]` * Minor cleanup in formatting function * Add fallback to old behavior on diff failure * Working diff for formatting * Only return highlights for symbols in current document * Fix memory leaks * better semantic token for keyword `undefined` * handle `ptr_type_sentinel` * fix 'Cannot resolve std library import' * Add missing tests * move Context into Context.zig * provide build_runner command on failure (#569) * Format `zls.json` in setup wizard (#568) * move ArenaAllocator into Server * revive session tests * add writer interface to Server & move main to main.zig * fix format string (#565) * update format specifiers for optional strings (#564) * Fix tests for real? (#562) * support 0.9 and master (#561) * update README.md and setup - update notes for VS Code according to new changes in zls-vscode - add instructions for setting up Helix editor * Update setup wizard for ST4 (#461) * Implement textDocument/inlayHint (#559) * docs(neovim/vim): Update instruction for Coc * Limit references to current document for documentHighlight * Implement textDocument/documentHighlight * Highlight orelse as a keyword * Make `known-folders` a flake input * Use flake-utils * Add known-folders as a flake input * Add flake support * Fix tokenRelativeLocation * update to IterableDir changes in Zig std * add f80 * Refactor builds! * Start refactoring main -> Server's globals * Fix config source of truth problems, refactor some more * Add Discord link, DocumentStore now uses the config source of truth! * Fix container function param completion * (Hopefully) fix configuration uri/memory bugs * Beam to felix land! * Increase workflow perf/debugability on non-main * setup: Update vscode configuration snippet * use zstd tars * Remove unnecessary pointer indirection * Fix CI? * workspace configuration server request model implemented! * Fix build.zig typo for enable_tracy using better wording * Add config option, fix config wizard, fix random crash and extern unused highlighting * @import and @embedFile completions! * Nice to have style hint and bug fix * Fix small bugs * Basic variable type resolution on hover * Fix function snippets not working with details * Add config option for unused vars * Tests pass? * Add super basic unused variable support * Update test * Put constants/imports at the top * Append the actual label so it can then be sorted a-z * Make Kind public * Cleanup * Add sortText to CompletionItem struct * Sort completion items * fix memory leak * Ease debugging package loading from build_runner * Add link to the note * Implement label details support * Update request to enable label details support * Update types for label details support * fix off by one error in documentRange * Remove duplicated deinit defer for GPA * only send format editings when necessary * Expand table to include include_at_in_builtins and max_detail_length * Add support for Spacemacs * Add step to Kate installation instructions * Add tracy * Add tracy submodule * Ignore unimplemented notifications * Remove zinput dependency * Add builtin path to configuration struct * implement workspace/configuration * Fix build runner for latest Zig * enable windows and mac tests in CI * fix tests * use provided target for tests * `std.ChildProcess.init` cannot error * `std.math.cast` returns optional * update build.zig for recent zig changes * Fix missing doc comments in `inline fn` * fix ast.lastToken() does not handle empty error_value * update to zig master 0.10.0-dev.1679+d227f76af * fix: ast.lasttoken() does not handle addrspace section * Skip char and string literals when highlighting comments * Fix ZLS config not found crash #410 * update for anytype field yeeting * Fix build on zig master (0.10.0-dev.500+66cf011aa) * builtin_uri: Fix typo in log message * yolo: add type function symbols to outline * Update prebuilt release URLs * handle AccessDenied when making 'builtin.zig' fill-in * only print stderr * investing in debugging tools * add back FIXME comment * cant repro locally * cleanup tests * match other tests * builtin_path might not be set if zig_exe_path isnt found * uriFromImportStr expects a uri not a path * add a default option for import(builtin) * update builtin data for zig master * add builtin data for 0.9.0 * Fix compilation on latest Zig
- add 0001-add-pie-and-strip-build-options.patch
Displaying revisions 1 - 20 of 32