Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kak-lsp for openSUSE:Factory checked in at 2025-02-11 21:30:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kak-lsp (Old) and /work/SRC/openSUSE:Factory/.kak-lsp.new.19470 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kak-lsp" Tue Feb 11 21:30:53 2025 rev:17 rq:1245108 version:18.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/kak-lsp/kak-lsp.changes 2024-12-22 18:03:36.154284924 +0100 +++ /work/SRC/openSUSE:Factory/.kak-lsp.new.19470/kak-lsp.changes 2025-02-11 21:31:06.122290153 +0100 @@ -1,0 +2,9 @@ +Tue Feb 11 13:41:38 UTC 2025 - Soc Virnyl Estela <uncomfyhaloma...@opensuse.org> + +- Update to version 18.1.2: + * Silence errors from non-default hooks + * Fix languageId for JSX/TSX files + * Silence deprecation warning + * Add curly underline to DiagnosticError face + +------------------------------------------------------------------- Old: ---- kakoune-lsp-18.1.1.tar.zst New: ---- kakoune-lsp-18.1.2.tar.zst ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kak-lsp.spec ++++++ --- /var/tmp/diff_new_pack.YPA7Gf/_old 2025-02-11 21:31:12.574556307 +0100 +++ /var/tmp/diff_new_pack.YPA7Gf/_new 2025-02-11 21:31:12.590556967 +0100 @@ -1,7 +1,7 @@ # # spec file for package kak-lsp # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: kak-lsp -Version: 18.1.1 +Version: 18.1.2 Release: 0 Summary: Language Server Protocol client for Kakoune License: (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR BSL-1.0 OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR MIT OR Zlib) AND (Apache-2.0 OR MIT OR MPL-2.0) AND (MIT OR Unlicense) AND (Apache-2.0 OR Zlib OR MIT) AND MIT AND Zlib AND Unlicense ++++++ _service ++++++ --- /var/tmp/diff_new_pack.YPA7Gf/_old 2025-02-11 21:31:12.974572808 +0100 +++ /var/tmp/diff_new_pack.YPA7Gf/_new 2025-02-11 21:31:13.006574128 +0100 @@ -3,7 +3,7 @@ <param name="url">https://github.com/kakoune-lsp/kakoune-lsp.git</param> <param name="versionformat">@PARENT_TAG@</param> <param name="scm">git</param> - <param name="revision">v18.1.1</param> + <param name="revision">v18.1.2</param> <param name="match-tag">*</param> <param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param> <param name="versionrewrite-replacement">\1</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.YPA7Gf/_old 2025-02-11 21:31:13.198582049 +0100 +++ /var/tmp/diff_new_pack.YPA7Gf/_new 2025-02-11 21:31:13.234583533 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/kakoune-lsp/kakoune-lsp.git</param> - <param name="changesrevision">dc348f04038f7286d606e99719509d6dbd2469da</param></service></servicedata> + <param name="changesrevision">d5db3de3b88a8a158e1bfa43f13d8766a6c6d522</param></service></servicedata> (No newline at EOF) ++++++ kakoune-lsp-18.1.1.tar.zst -> kakoune-lsp-18.1.2.tar.zst ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kakoune-lsp-18.1.1/CHANGELOG.md new/kakoune-lsp-18.1.2/CHANGELOG.md --- old/kakoune-lsp-18.1.1/CHANGELOG.md 2024-12-21 01:25:45.000000000 +0100 +++ new/kakoune-lsp-18.1.2/CHANGELOG.md 2025-02-11 14:18:30.000000000 +0100 @@ -1,3 +1,10 @@ +## 18.1.2 - 2025-01-21 + +Fixes: +- Fixed a regression from 18.1.1 causing the wrong language ID to be sent for JSX/TSX files. +- Silence errors in `*debug*` buffer when `lsp-disable` is used with optional hooks such as inlay hints. +- `lsp-disable; lsp-enable` no longer stomps auto hover hooks set by the user. + ## 18.1.1 - 2024-12-18 Fixes: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kakoune-lsp-18.1.1/Cargo.lock new/kakoune-lsp-18.1.2/Cargo.lock --- old/kakoune-lsp-18.1.1/Cargo.lock 2024-12-21 01:25:45.000000000 +0100 +++ new/kakoune-lsp-18.1.2/Cargo.lock 2025-02-11 14:18:30.000000000 +0100 @@ -896,7 +896,7 @@ [[package]] name = "kak-lsp" -version = "18.1.1" +version = "18.1.2" dependencies = [ "clap", "crossbeam-channel", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kakoune-lsp-18.1.1/Cargo.toml new/kakoune-lsp-18.1.2/Cargo.toml --- old/kakoune-lsp-18.1.1/Cargo.toml 2024-12-21 01:25:45.000000000 +0100 +++ new/kakoune-lsp-18.1.2/Cargo.toml 2025-02-11 14:18:30.000000000 +0100 @@ -1,7 +1,7 @@ [package] name = "kak-lsp" description = "Kakoune Language Server Protocol Client" -version = "18.1.1" +version = "18.1.2" authors = ["Ruslan Prokopchuk <fer.ob...@gmail.com>", "Johannes Altmanninger <aclo...@gmail.com>"] edition = "2018" license = "Unlicense/MIT" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kakoune-lsp-18.1.1/README.asciidoc new/kakoune-lsp-18.1.2/README.asciidoc --- old/kakoune-lsp-18.1.1/README.asciidoc 2024-12-21 01:25:45.000000000 +0100 +++ new/kakoune-lsp-18.1.2/README.asciidoc 2025-02-11 14:18:30.000000000 +0100 @@ -36,12 +36,12 @@ [source,sh] ---- [ "$(uname -sm)" = 'Darwin arm64' ] && - curl -OL https://github.com/kakoune-lsp/kakoune-lsp/releases/download/v18.1.1/kakoune-lsp-v18.1.1-aarch64-apple-darwin.tar.gz + curl -OL https://github.com/kakoune-lsp/kakoune-lsp/releases/download/v18.1.2/kakoune-lsp-v18.1.2-aarch64-apple-darwin.tar.gz [ "$(uname -sm)" = 'Darwin x86_64' ] && - curl -OL https://github.com/kakoune-lsp/kakoune-lsp/releases/download/v18.1.1/kakoune-lsp-v18.1.1-x86_64-apple-darwin.tar.gz + curl -OL https://github.com/kakoune-lsp/kakoune-lsp/releases/download/v18.1.2/kakoune-lsp-v18.1.2-x86_64-apple-darwin.tar.gz [ "$(uname)" = Linux ] && - curl -OL https://github.com/kakoune-lsp/kakoune-lsp/releases/download/v18.1.1/kakoune-lsp-v18.1.1-x86_64-unknown-linux-musl.tar.gz -tar xzvf kakoune-lsp-v18.1.1-*.tar.gz + curl -OL https://github.com/kakoune-lsp/kakoune-lsp/releases/download/v18.1.2/kakoune-lsp-v18.1.2-x86_64-unknown-linux-musl.tar.gz +tar xzvf kakoune-lsp-v18.1.2-*.tar.gz # replace `~/.local/bin/` with something on your `$PATH` mv kak-lsp ~/.local/bin/ ---- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kakoune-lsp-18.1.1/rc/lsp.kak new/kakoune-lsp-18.1.2/rc/lsp.kak --- old/kakoune-lsp-18.1.1/rc/lsp.kak 2024-12-21 01:25:45.000000000 +0100 +++ new/kakoune-lsp-18.1.2/rc/lsp.kak 2025-02-11 14:18:30.000000000 +0100 @@ -83,7 +83,7 @@ } # Faces used by inline diagnostics. -set-face global DiagnosticError red +set-face global DiagnosticError red,,+c set-face global DiagnosticHint default set-face global DiagnosticInfo default set-face global DiagnosticWarning yellow @@ -1642,7 +1642,9 @@ define-command lsp-auto-hover-enable -docstring "enable auto-requesting hover info box for current position" %{ remove-hooks global lsp-auto-hover - hook -group lsp-auto-hover global NormalIdle .* %{ lsp-check-auto-hover lsp-hover } + hook -group lsp-auto-hover global NormalIdle .* %{ + lsp-check-auto-hover %{ try lsp-hover } + } } define-command lsp-auto-hover-disable -docstring "Disable auto-requesting hover info for current position" %{ @@ -1655,7 +1657,13 @@ This will continuously update the '*hover*' buffer, keeping it visible. Additionally, the buffer will be activated in the client referred to by the 'docsclient' option." %{ remove-hooks global lsp-auto-hover-buffer - hook -group lsp-auto-hover-buffer global NormalIdle .* %{ lsp-check-auto-hover %{lsp-hover-buffer %opt{docsclient}} } + hook -group lsp-auto-hover-buffer global NormalIdle .* %{ + lsp-check-auto-hover %{ + try %{ + lsp-hover-buffer %opt{docsclient} + } + } + } } define-command lsp-auto-hover-buffer-disable -docstring "Disable auto-requesting hover info in docsclient for current position" %{ @@ -1684,7 +1692,7 @@ } define-command lsp-auto-signature-help-enable -docstring "Enable auto-requesting signature help in insert mode" %{ - hook -group lsp-auto-signature-help global InsertIdle .* lsp-signature-help + hook -group lsp-auto-signature-help global InsertIdle .* %{ try lsp-signature-help } } define-command lsp-auto-signature-help-disable -docstring "Disable auto-requesting signature help in insert mode" %{ @@ -1693,9 +1701,9 @@ define-command lsp-inlay-hints-enable -params 1 -docstring "lsp-inlay-hints-enable <scope>: enable inlay hints for <scope>" %{ add-highlighter "%arg{1}/lsp_inlay_hints" replace-ranges lsp_inlay_hints - hook -group lsp-inlay-hints %arg{1} BufReload .* lsp-inlay-hints - hook -group lsp-inlay-hints %arg{1} NormalIdle .* lsp-inlay-hints - hook -group lsp-inlay-hints %arg{1} InsertIdle .* lsp-inlay-hints + hook -group lsp-inlay-hints %arg{1} BufReload .* %{ try lsp-inlay-hints } + hook -group lsp-inlay-hints %arg{1} NormalIdle .* %{ try lsp-inlay-hints } + hook -group lsp-inlay-hints %arg{1} InsertIdle .* %{ try lsp-inlay-hints } } -shell-script-candidates %{ printf '%s\n' buffer global window } define-command lsp-inlay-hints-disable -params 1 -docstring "lsp-inlay-hints-disable <scope>: disable inlay hints for <scope>" %{ @@ -1789,6 +1797,7 @@ remove-hooks buffer lsp lsp-unblock-in-buffer unset-option buffer lsp_modeline_code_actions + unset-option buffer lsp_inlay_hints } set-option global lsp_modeline_progress "" set-option global lsp_modeline_message_requests "" @@ -1861,9 +1870,6 @@ try %{ set-option -remove %arg{1} completers option=lsp_completions } remove-hooks %arg{1} lsp remove-hooks %arg{1} lsp-breadcrumbs - remove-hooks global lsp-auto-hover - remove-hooks global lsp-auto-hover-insert-mode - remove-hooks global lsp-auto-signature-help lsp-exit } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kakoune-lsp-18.1.1/rc/servers.kak new/kakoune-lsp-18.1.2/rc/servers.kak --- old/kakoune-lsp-18.1.1/rc/servers.kak 2024-12-21 01:25:45.000000000 +0100 +++ new/kakoune-lsp-18.1.2/rc/servers.kak 2025-02-11 14:18:30.000000000 +0100 @@ -642,7 +642,7 @@ ### Language ID ### -hook -group lsp-language-id global BufSetOption filetype=(.*) %{ +hook -group lsp-language-id global BufSetOption filetype=((?!javascript)(?!typescript).*) %{ set-option buffer lsp_language_id %val{hook_param_capture_1} } @@ -650,12 +650,13 @@ set-option buffer lsp_language_id c_cpp } hook -group lsp-language-id global BufSetOption filetype=javascript %{ - set-option buffer lsp_language_id javascript + try %{ + "lsp-nop-with-0%opt{lsp_language_id}" + set-option buffer lsp_language_id javascript + } } hook -group lsp-language-id global BufCreate .*[.]jsx %{ - hook -group lsp-language-id buffer BufSetOption filetype=javascript %{ - set-option buffer lsp_language_id javascriptreact - } + set-option buffer lsp_language_id javascriptreact } hook -group lsp-language-id global BufSetOption filetype=protobuf %{ set-option buffer lsp_language_id proto @@ -664,10 +665,11 @@ set-option buffer lsp_language_id shellscript } hook -group lsp-language-id global BufSetOption filetype=typescript %{ - set-option buffer lsp_language_id typescript + try %{ + "lsp-nop-with-0%opt{lsp_language_id}" + set-option buffer lsp_language_id typescript + } } hook -group lsp-language-id global BufCreate .*[.]tsx %{ - hook -group lsp-language-id buffer BufSetOption filetype=typescript %{ - set-option buffer lsp_language_id typescriptreact - } + set-option buffer lsp_language_id typescriptreact } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kakoune-lsp-18.1.1/src/main.rs new/kakoune-lsp-18.1.2/src/main.rs --- old/kakoune-lsp-18.1.1/src/main.rs 2024-12-21 01:25:45.000000000 +0100 +++ new/kakoune-lsp-18.1.2/src/main.rs 2025-02-11 14:18:30.000000000 +0100 @@ -79,6 +79,7 @@ #[cfg(feature = "crash-reporting")] use std::io::Read; #[cfg(feature = "crash-reporting")] +#[allow(deprecated)] use std::panic::PanicInfo; #[cfg(feature = "crash-reporting")] use std::sync::Arc; @@ -563,6 +564,7 @@ } #[cfg(feature = "crash-reporting")] +#[allow(deprecated)] pub fn report_crash( session: &SessionId, meta: EditorMeta, ++++++ registry.tar.zst ++++++ /work/SRC/openSUSE:Factory/kak-lsp/registry.tar.zst /work/SRC/openSUSE:Factory/.kak-lsp.new.19470/registry.tar.zst differ: char 385628, line 1529