head 1.20; access; symbols pkgsrc-2022Q3:1.15.0.2 pkgsrc-2022Q3-base:1.15 pkgsrc-2022Q2:1.14.0.2 pkgsrc-2022Q2-base:1.14 pkgsrc-2022Q1:1.12.0.2 pkgsrc-2022Q1-base:1.12 pkgsrc-2021Q4:1.2.0.2 pkgsrc-2021Q4-base:1.2; locks; strict; comment @# @; 1.20 date 2022.11.16.08.37.22; author wiz; state dead; branches; next 1.19; commitid 0vshKDhpa0yy6U1E; 1.19 date 2022.11.06.11.09.55; author nikita; state Exp; branches; next 1.18; commitid fIN84Br40c01gD0E; 1.18 date 2022.10.30.11.37.44; author wiz; state Exp; branches; next 1.17; commitid KBC5Sx27IQWjEJZD; 1.17 date 2022.10.12.19.16.43; author adam; state Exp; branches; next 1.16; commitid 3IitMO9LW3EqLsXD; 1.16 date 2022.10.10.08.08.28; author he; state Exp; branches; next 1.15; commitid DdbnE90bG2gH79XD; 1.15 date 2022.09.05.19.09.12; author adam; state Exp; branches; next 1.14; commitid KcdqyUdOvb4qUHSD; 1.14 date 2022.05.28.10.56.07; author wiz; state Exp; branches; next 1.13; commitid Qsz2vwxCgoBWoOFD; 1.13 date 2022.04.15.17.39.42; author adam; state Exp; branches; next 1.12; commitid c1FgtDoSyAMC0kAD; 1.12 date 2022.03.14.11.11.27; author adam; state Exp; branches; next 1.11; commitid dvuXO0FoU4G9TawD; 1.11 date 2022.03.07.10.44.22; author adam; state Exp; branches; next 1.10; commitid lMwIFRAgci3TXgvD; 1.10 date 2022.03.03.16.06.16; author wiz; state Exp; branches; next 1.9; commitid DCKllMc9gDnJSMuD; 1.9 date 2022.02.14.18.25.49; author adam; state Exp; branches; next 1.8; commitid Y3bGDl1m9zldcCsD; 1.8 date 2022.02.08.20.45.00; author adam; state Exp; branches; next 1.7; commitid wnObgiOi0q04aRrD; 1.7 date 2022.02.06.16.49.03; author adam; state Exp; branches; next 1.6; commitid vPkGmmhPmkKWUzrD; 1.6 date 2022.01.24.09.37.19; author wiz; state Exp; branches; next 1.5; commitid QaRiquVKyij3XRpD; 1.5 date 2022.01.22.22.53.10; author wiz; state Exp; branches; next 1.4; commitid 5NNBF0rQmQD3qGpD; 1.4 date 2022.01.22.22.48.46; author wiz; state Exp; branches; next 1.3; commitid oF7m1QX43HbwoGpD; 1.3 date 2022.01.22.22.44.43; author wiz; state Exp; branches; next 1.2; commitid SiEsLTYAJLL1nGpD; 1.2 date 2021.12.07.19.50.34; author wiz; state Exp; branches; next 1.1; commitid HTR69V7r4Hk5TKjD; 1.1 date 2021.11.28.14.07.31; author wiz; state Exp; branches; next ; commitid AEPBvR4lrpqmhziD; desc @@ 1.20 log @rust-src, rust-analyzer: remove, part of lang/rust now @ text @# $NetBSD: Makefile,v 1.19 2022/11/06 11:09:55 nikita Exp $ DISTNAME= rust-analyzer-2022-10-31 PKGNAME= ${DISTNAME:C/-2([0-9]*)-([0-9]*)-([0-9]*)/-0.0.2\1.\2.\3/} CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_GITHUB:=rust-lang/} GITHUB_TAG= ${DISTNAME:S/rust-analyzer-//} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/rust-lang/rust-analyzer COMMENT= Rust compiler front-end for IDEs LICENSE= apache-2.0 DEPENDS+= rust-src-[0-9]*:../../lang/rust-src INSTALLATION_DIRS= bin USE_LANGUAGES= c c++ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/target/release/rust-analyzer ${DESTDIR}${PREFIX}/bin .include "cargo-depends.mk" .include "../../lang/rust/cargo.mk" .include "../../mk/bsd.pkg.mk" @ 1.19 log @rust-analyzer: update to 0.0.2022.10.31. Auto merge of #13505 - lowr:feat/gats, r=flodiebold Clean up tests and add documentation for GATs related stuff This is a follow-up PR for #13494. - addresses https://github.com/rust-lang/rust-analyzer/pull/13494#discussion_r1006774897 - documents the ordering constraint on `Binders` and `Substitution` (which is not really follow-up for the previous PR, but it was introduced to support GATs and I strongly feel it's worth it) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2022/10/30 11:37:44 wiz Exp $ @ 1.18 log @rust-analyzer: update to 0.0.2022.10.24. Two weeks of development. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2022/10/12 19:16:43 adam Exp $ d3 1 a3 1 DISTNAME= rust-analyzer-2022-10-24 @ 1.17 log @rust-analyzer: updated to 0.0.2022.10.10 Release: 2022-10-10 Fixes * (first contribution) fix assertion failure in type inference. * make go-to-def work for #[doc = include_str!(path)] * revert "add proc-macro dependency to rustc crates". Internal Improvements * change generic parameter order. * prioritize restart messages in flycheck. * bump xflags. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2022/10/10 08:08:28 he Exp $ d3 1 a3 1 DISTNAME= rust-analyzer-2022-10-10 @ 1.16 log @lang/rust-analyzer: use timespec component types from the libc crate. Should help with general portability to 32-bit ports, since we import the timespec component types (time_t and c_long) from the libc crate instead of hardcoding the integer lengths. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2022/09/05 19:09:12 adam Exp $ d3 1 a3 1 DISTNAME= rust-analyzer-2022-08-22 a4 1 PKGREVISION= 1 @ 1.15 log @rust-analyzer: updated to 0.0.2022.08.22 2022-08-22 New Features * (first contribution) add Inline type alias into uses assist: * (first contribution) implement type inference for IntoFuture. * consider bounds on inherent impl in method resolution (fixes nalgebra constructors). * add LSP extension for cancelling running flychecks. * allow running tests in inline module from anywhere in parent file. * support disabling keyword hover popups (rust-analyzer.hover.documentation.keywords.enable). Fixes * resolve associated types of bare dyn types. * resolve path Self alone in value namespace. * support Self::assoc() syntax in Generate function.` * replace Self in Inline call. * fix incorrect type mismatch with cfg_if! and other macros in expression position. * fix record completion filtering. * escape keywords used as names in earlier editions. * revert 12947, trigger workspace switches on all structure changes again. * log rustfmt parsing errors as warnings. Internal Improvements * build release binaries on ubuntu-20.04. * document interaction of checkOnSave.overrideCommand and multiple linked projects. * add an HIR pretty-printer. * make resolve_name_in_module a bit more lazy. * fix a bunch of typos. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2022/05/28 10:56:07 wiz Exp $ d5 1 @ 1.14 log @rust-analyzer: update to 0.0.2022.05.23. 6 weeks of development. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2022/04/15 17:39:42 adam Exp $ d3 1 a3 1 DISTNAME= rust-analyzer-2022-05-23 @ 1.13 log @rust-analyzer updateed to 0.0.2022.04.11 2022-04-11 New Features * improve associated item completion in trait impls. Fixes * (first contribution) complete pattern args based on type name * show error message when flycheck fails. * attempt to heuristically resolve paths in const arguments in IDE layer. * make extract_module more lazy. * show path to be created in the unresolved-module fix label. * skip match check on patterns of unexpected TyKind::FnDef. * use correct text ranges in SearchScope for macro-emitted inline modules. * fix path qualifiers not resolving generic type params when shadowed by trait. * fix panics with #[cfg]’d-out `self parameter. * fix spurious type mismatch error for const generics with value parameters. * flyimport: omit types when completing where-clause * ignore Drop and Destruct bounds for now. * check whether a parameter can be converted to a local. * don’t create hir::Locals from const path patterns. * parse for<'a> closure syntax. Internal Improvements * wrap macros in expr position in MacroExpr node. * remove hir_expand macro recursion check. * add more doc-link tests. * remove FnFlags::IS_IN_EXTERN_BLOCK. * use bitflags for FnFlags. * add and start using HirFormatter::write_{str,char}. * move function unsafety determination out of the ItemTree. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2022/03/14 11:11:27 adam Exp $ d3 1 a3 1 DISTNAME= rust-analyzer-2022-04-11 @ 1.12 log @rust-analyzer: updated to 0.0.2022.03.14: Release: 2022-03-14 New Features * (first contribution) improve enum variant field completion, enum variant / struct consistency. * (first contribution) highlight escape sequences in byte strings. * BREAKING: switch to upstream inlay hints * suggest union literals, suggest union fields within an empty union literal * offer qualified path completions in derives. * allow configuration of colons in inlay hints (rust-analyzer.inlayHints.renderColons). Fixes * (first contribution) add support for new where clause location in associated types. * (first contribution) stop wrapping ConstParam default values in ConstArg. * insert dummy values for const generics in subst. * properly handle proc-macro crate types for nameres. * fix extract_module on inherent impls. * show what file paths were expected for unresolved modules. * emit more detailed highlighting for %, >>, <<. * detect NixOS when /etc/os-release includes quotes. Internal Improvements * add hir_def::MacroId, add Macro{Id} to ModuleDef{Id}. * simplify CompletionContext. * remove ide_completion::render::build_ext module. * another round of clippy fixes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2022/03/07 10:44:22 adam Exp $ d3 1 a3 1 DISTNAME= rust-analyzer-2022-03-14 d6 1 a6 1 MASTER_SITES= ${MASTER_SITE_GITHUB:=rust-analyzer/} d10 1 a10 1 HOMEPAGE= https://github.com/rust-analyzer/rust-analyzer @ 1.11 log @rust-analyzer: updated to 0.0.2022.03.07 2022.03.07: New Features * support locals with multiple declaration sites * parse destructuring assignments. Fixes * add another case to the syntax fixup code. * preserve order of generic args. * fix semantic highlighting breaking for lifetimes in macros. * lower string literal values. * show variadic args in hover function signature. * add type variable table to InferenceTableSnapshot. * fix macro-calls expanding to items in if/while conditions. * recognize Self as a proper keyword. * add abort to safe intrinsics list. Internal Improvements * build release binaries on Ubuntu 18.04. * add currently failing test for 11242. * slightly refactor TextEdit. * refactor syntax_highlighting. * bring back syntax highlighting in test data. * re-arrange ide_db modules. * automatically change text color in logo based on dark mode. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2022/03/03 16:06:16 wiz Exp $ d3 1 a3 1 DISTNAME= rust-analyzer-2022-03-07 @ 1.10 log @rust-analyzer: update to 0.0.2022.02.28. 2022-02-28 refactorings and FIXME fixes in text edit 2022-02-22 internal: Remove `name` fields from `MacroCallKind' @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2022/02/14 18:25:49 adam Exp $ d3 1 a3 1 DISTNAME= rust-analyzer-2022-02-28 a6 1 GITHUB_PROJECT= rust-analyzer d10 1 a10 1 HOMEPAGE= https://github.com/rust-analyzer/rust-analyzer/ @ 1.9 log @rust-analyzer: updated to 0.0.2022.02.14 0.0.2022.02.14 New Features * fix up syntax errors in attribute macro inputs to make completion work more often * render whether a function is async / const / unsafe in completion details Fixes * (first contribution) add missing experimental capabilities. * (first contribution) use text range of a mod name after macro expansion when renaming a module. * don’t change references to super when renaming a module. * fix documentation of SsrParams. Internal Improvements * make ascend_call_token iterative instead of recursive. * fix serialization of WorkspaceSymbolParams. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2022/02/08 20:45:00 adam Exp $ d3 1 a3 1 DISTNAME= rust-analyzer-2022-02-14 @ 1.8 log @rust-analyzer: updated to 0.0.2022.02.07 2022-02-07 11416: Fix eslint language server not working r=Veykril a=jackos Allows the language server for eslint to work inside VS Code. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2022/02/06 16:49:03 adam Exp $ d3 1 a3 1 DISTNAME= rust-analyzer-2022-02-07 @ 1.7 log @rust-analyzer: updated to 0.0.2022.01.31 2022-01-31 fix: Fix `cfg_attr` invalidating derive identifier IDE functionalities r=Veykril a=Veykril Proper fix for https://github.com/rust-analyzer/rust-analyzer/issues/11298 bors r+ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2022/01/24 09:37:19 wiz Exp $ d3 1 a3 1 DISTNAME= rust-analyzer-2022-01-31 @ 1.6 log @rust-analyzer: update to 0.0.2022.01.24. 2022-01-24 11334: fix: don't panic in semantics due to `cfg_attr` disrupting offsets Reduces the panic in https://github.com/rust-analyzer/rust-analyzer/issues/11298 to an early return, that means we won't resolve these cases again for now, but this is better than constantly panicking in highlighting and hovering. 2022-01-17 11287: fix: rust-analyzer spamming overly error message when workspace not being loaded Fixes #10120 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2022/01/22 22:53:10 wiz Exp $ d3 1 a3 1 DISTNAME= rust-analyzer-2022-01-24 a16 2 WRKSRC= ${WRKDIR}/${DISTNAME} @ 1.5 log @rust-analyzer: update to 0.0.2022.01.10. 2022.01.10 11238: fix: shrink the span of errors from attribute macros and derives r=jonas-schievink a=jonas-schievink Some procedural macros tend to get very large invocations, for example RTIC's, leading to issues like https://github.com/rtic-rs/cortex-m-rtic/issues/582, where almost the entire screen is underlined while editing incomplete code in the macro. This PR shrinks the spans of errors from attribute macros and derives to point only at the attribute, which also matches rustc more closely. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2022/01/22 22:48:46 wiz Exp $ d3 1 a3 1 DISTNAME= rust-analyzer-2022-01-10 @ 1.4 log @rust-analyzer: update to 0.0.2022.01.03. 2022.01.03 11177: internal: dont descend into comments r=Veykril a=jhgg @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2022/01/22 22:44:43 wiz Exp $ d3 1 a3 1 DISTNAME= rust-analyzer-2022-01-03 @ 1.3 log @rust-analyzer: update to 0.0.2021.12.27. 2021.12.27 11122: Remove note about alpha status from vscode extension description 2021.12.20 11060: minor: Bump deps 2021.12.13 10995: internal: switch from trait-based TokenSource to simple struct of arrays cc #10765 The idea here is to try to simplify the interface as best as we can. The original trait-based approach is a bit over-engineered and hard to debug. Here, we replace callback with just data. The next PR in series will replace the output `TreeSink` trait with data as well. The biggest drawback here is that we now require to materialize all parser's input up-front. This is a bad fit for macro by example: when you parse `$e:expr`, you might consume only part of the input. However, today's trait-based solution doesn't really help -- we were already materializing the whole thing! So, let's keep it simple! @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2021/12/07 19:50:34 wiz Exp $ d3 1 a3 1 DISTNAME= rust-analyzer-2021-12-27 @ 1.2 log @rust-analyzer: update to 0.0.2021.12.06. 10944: internal: Prefer resolution of inert attributes 10876: fix: Show parameter hints unconditionally for logical not expressions @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2021/11/28 14:07:31 wiz Exp $ d3 1 a3 1 DISTNAME= rust-analyzer-2021-12-06 @ 1.1 log @lang/rust-analyzer: import rust-analyzer-0.0.2021.11.22 rust-analyzer is a modular compiler frontend for the Rust language. It is a part of a larger rls-2.0 effort to create excellent IDE support for Rust. @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 DISTNAME= rust-analyzer-2021-11-22 d8 1 a8 1 GITHUB_TAG= 2021-11-22 @