From 8b4f3d222ce065bb51619b0acbf1a981fe04ddac4d9b4e0b0ce5cdb348361c41 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Wed, 29 May 2024 23:28:41 +0000 Subject: [PATCH] - Update to version 5.16.1. Changes since then: * Don't treat `\label{}` and `\ref{}` with macro parameter as label commands * Fix parsing `latexmkrc` for `latexmk` versions older than `v4.8.4` * Remove unused `texlab.rootDirectory` setting from documentation * Add `texlab.experimental.labelDefinitionCommands` setting to customize the list of `\label`-like commands * Extend list of commands treated as command definitions and environment definitions * Allow the server to trigger the forward search in an editor-agnostic way: Running `texlab inverse-search --input --line ` will open the specified document in the editor if the client supports it * Fix detection of log dir when using `latexmkrc` (use `$aux_dir` instead of `$out_dir`) * Fix extracting `$aux_dir` and `$out_dir` from `latexmkrc` * Add support for extracting `$aux_dir` and `$out_dir` from `latexmk >= v4.85` * Improve log file change detection under Windows * Cleanup diagnostics of deleted files * Let `\declaretheorem` accept a list of environment names instead of just a single name * Use configured directories if not set explicitly by `latexmkrc` file * Replace tilde (`~`), environment variables, `${userHome}`, `${workspaceFolder}` in options * Replace tidle (`~`) and environment variables in `\include`-like commands * Add "Go To Definition" support for user-defined commands with `\def` and `\let` * Add "Find all References" for commands * Support more macros for defining commands * Avoid panicking when malformed URIs are sent to the server * Don't report errors for citations with macro arguments * Fix parsing `\label` with options (for example, when using `cleverref`) * Fix detecting project root if the home directory contains a `.latexmkrc` file * Improve support for handling `Tectonic.toml` projects * Cache results of project detection to improve performance * Triggering completion inside `\label{...}` will suggest undefined labels * Add snippets for `\( ... \)`, `\[ ... \]` and `\{ ... \}` * Don't return document symbol with empty name if `\item[]` is encountered * Fix extracting label numbers inside theorems defined by `ntheorem` package OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlab?expand=0&rev=61 --- texlab-5.12.3.tar.gz | 3 --- texlab-5.16.1.tar.gz | 3 +++ texlab.changes | 42 ++++++++++++++++++++++++++++++++++++++++++ texlab.spec | 6 +++--- vendor.tar.zst | 4 ++-- 5 files changed, 50 insertions(+), 8 deletions(-) delete mode 100644 texlab-5.12.3.tar.gz create mode 100644 texlab-5.16.1.tar.gz diff --git a/texlab-5.12.3.tar.gz b/texlab-5.12.3.tar.gz deleted file mode 100644 index b89e759..0000000 --- a/texlab-5.12.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:13bb412563cfae9e7f9bd6199bf029058a59ebc286f9809ce66bcbd43f3f9b92 -size 7490395 diff --git a/texlab-5.16.1.tar.gz b/texlab-5.16.1.tar.gz new file mode 100644 index 0000000..0e2be2d --- /dev/null +++ b/texlab-5.16.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f9bdf5511b184bca41610be6d5eef74fb8042b758b2ecf79bce266085d8bc045 +size 7498462 diff --git a/texlab.changes b/texlab.changes index 9196276..7be066e 100644 --- a/texlab.changes +++ b/texlab.changes @@ -1,3 +1,45 @@ +------------------------------------------------------------------- +Wed May 29 15:52:22 UTC 2024 - Soc Virnyl Estela + +- Update to version 5.16.1. Changes since then: + * Don't treat `\label{}` and `\ref{}` with macro parameter as label commands + * Fix parsing `latexmkrc` for `latexmk` versions older than `v4.8.4` + * Remove unused `texlab.rootDirectory` setting from documentation + * Add `texlab.experimental.labelDefinitionCommands` setting to customize the list of `\label`-like commands + * Extend list of commands treated as command definitions and environment definitions + * Allow the server to trigger the forward search in an editor-agnostic way: + Running `texlab inverse-search --input --line ` will open the specified document in the editor if the client supports it + * Fix detection of log dir when using `latexmkrc` (use `$aux_dir` instead of `$out_dir`) + * Fix extracting `$aux_dir` and `$out_dir` from `latexmkrc` + * Add support for extracting `$aux_dir` and `$out_dir` from `latexmk >= v4.85` + * Improve log file change detection under Windows + * Cleanup diagnostics of deleted files + * Let `\declaretheorem` accept a list of environment names instead of just a single name + * Use configured directories if not set explicitly by `latexmkrc` file + * Replace tilde (`~`), environment variables, `${userHome}`, `${workspaceFolder}` in options + * Replace tidle (`~`) and environment variables in `\include`-like commands + * Add "Go To Definition" support for user-defined commands with `\def` and `\let` + * Add "Find all References" for commands + * Support more macros for defining commands + * Avoid panicking when malformed URIs are sent to the server + * Don't report errors for citations with macro arguments + * Fix parsing `\label` with options (for example, when using `cleverref`) + * Fix detecting project root if the home directory contains a `.latexmkrc` file + * Improve support for handling `Tectonic.toml` projects + * Cache results of project detection to improve performance + * Triggering completion inside `\label{...}` will suggest undefined labels + * Add snippets for `\( ... \)`, `\[ ... \]` and `\{ ... \}` + * Don't return document symbol with empty name if `\item[]` is encountered + * Fix extracting label numbers inside theorems defined by `ntheorem` package + * Fix clearing stale diagnostics reported by the server + * Speed up reading bibliographies with many string definitions + * Add experimental `texlab.experimental.labelReferenceCommands` setting to customize the list of `\ref`-like commands + * Don't report diagnostics for files that are part of the TeX distro + * When `workspace/didChangeConfiguration` contains the configuration of multiple LSP servers, `texlab` will try + to extract the `texlab` configuration instead of falling back to the default settings + * Keep filtering completion lists server-side if prefix matcher is set + * Allow brackets and parentheses in label names and similar constructs + ------------------------------------------------------------------- Thu Feb 15 15:47:41 UTC 2024 - Soc Virnyl Estela diff --git a/texlab.spec b/texlab.spec index 510d6d1..6ced5e0 100644 --- a/texlab.spec +++ b/texlab.spec @@ -17,7 +17,7 @@ Name: texlab -Version: 5.12.3 +Version: 5.16.1 Release: 0 Summary: Implementation of the Language Server Protocol for LaTeX License: ( 0BSD OR MIT OR Apache-2.0 ) AND ( Apache-2.0 OR BSL-1.0 ) AND ( Apache-2.0 OR MIT ) AND ( Apache-2.0 OR Apache-2.0 OR MIT ) AND ( CC0-1.0 OR Artistic-2.0 ) AND ( MIT OR Apache-2.0 OR Zlib ) AND ( MIT OR Zlib OR Apache-2.0 ) AND ( Unlicense OR MIT ) AND ( Zlib OR Apache-2.0 OR MIT ) AND Apache-2.0 AND BSD-3-Clause AND GPL-3.0 AND GPL-3.0+ AND ISC AND MIT AND MPL-2.0 AND MPL-2.0+ AND GPL-3.0 @@ -39,14 +39,14 @@ The server may be used with any editor that implements the Language Server Proto %autosetup -a1 %build -%{cargo_build} --all-features +%{cargo_build} --all-features --frozen --locked %install mkdir -p %{buildroot}%{_bindir} install -m 0755 %{_builddir}/%{name}-%{version}/target/release/%{name} %{buildroot}%{_bindir}/%{name} %check -%{cargo_test} --all-features +%{cargo_test} --all-features --frozen --locked %files %{_bindir}/texlab diff --git a/vendor.tar.zst b/vendor.tar.zst index 294fd33..2ae1bc0 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5bf4f94ff39397c7f47cd7050447c6c7a23a710d2b5dbcd9381259f1213b50ad -size 20634498 +oid sha256:9758c290dd5d170c7ad1130bbfc8df7e508f5eda1880a3f5fe300b59207cf6dd +size 22631810