Commit graph

2553 commits

Author SHA1 Message Date
Patrick Förster
d80c436aef Bump version to v5.23.1
Some checks failed
CI / Build (armv7-unknown-linux-gnueabihf) (push) Failing after 2s
CI / Build (x86_64-unknown-linux-gnu) (push) Failing after 2s
CI / Build (x86_64-unknown-linux-musl) (push) Failing after 2s
CI / Build (aarch64-unknown-linux-gnu) (push) Failing after 3s
CI / Build (aarch64-apple-darwin) (push) Has been cancelled
CI / Build (x86_64-apple-darwin) (push) Has been cancelled
CI / Build (aarch64-pc-windows-msvc) (push) Has been cancelled
CI / Build (i686-pc-windows-msvc) (push) Has been cancelled
CI / Build (x86_64-pc-windows-msvc) (push) Has been cancelled
CI / MSRV (push) Has been cancelled
2025-06-24 21:01:16 +02:00
dependabot[bot]
540b33a251
Bump libc from 0.2.173 to 0.2.174 (#1424) 2025-06-24 18:50:08 +00:00
dependabot[bot]
cb5f30140e
Bump rustc-hash from 2.1.0 to 2.1.1 (#1337) 2025-06-24 18:44:01 +00:00
Patrick Förster
7f09abcd0f
Handle command definitions without curly braces (#1422)
Parse structures like \newcommand\foo{bar} correctly.
2025-06-24 20:08:42 +02:00
Patrick Förster
6013783776
Make sort order of workspace symbols deterministic (#1423) 2025-06-24 19:57:19 +02:00
Patrick Förster
7e32442f02 Bump version to v5.23.0
Some checks failed
CI / Build (aarch64-unknown-linux-gnu) (push) Failing after 4s
CI / Build (armv7-unknown-linux-gnueabihf) (push) Failing after 3s
CI / Build (x86_64-unknown-linux-gnu) (push) Failing after 3s
CI / Build (x86_64-unknown-linux-musl) (push) Failing after 3s
CI / Build (aarch64-apple-darwin) (push) Has been cancelled
CI / Build (x86_64-apple-darwin) (push) Has been cancelled
CI / Build (aarch64-pc-windows-msvc) (push) Has been cancelled
CI / Build (i686-pc-windows-msvc) (push) Has been cancelled
CI / Build (x86_64-pc-windows-msvc) (push) Has been cancelled
CI / MSRV (push) Has been cancelled
2025-06-14 13:19:29 +02:00
dependabot[bot]
0ed403dd0f
Bump shellexpand from 3.1.0 to 3.1.1 (#1415)
Some checks failed
CI / Build (aarch64-unknown-linux-gnu) (push) Failing after 5s
CI / Build (armv7-unknown-linux-gnueabihf) (push) Failing after 5s
CI / Build (x86_64-unknown-linux-gnu) (push) Failing after 3s
CI / Build (x86_64-unknown-linux-musl) (push) Failing after 4s
CI / Build (aarch64-apple-darwin) (push) Has been cancelled
CI / Build (x86_64-apple-darwin) (push) Has been cancelled
CI / Build (aarch64-pc-windows-msvc) (push) Has been cancelled
CI / Build (i686-pc-windows-msvc) (push) Has been cancelled
CI / Build (x86_64-pc-windows-msvc) (push) Has been cancelled
CI / MSRV (push) Has been cancelled
2025-06-14 09:40:09 +00:00
dependabot[bot]
ac70d2364e
Bump clap from 4.5.39 to 4.5.40 (#1417) 2025-06-14 09:38:21 +00:00
dependabot[bot]
64c0c3ba53
Bump thiserror from 2.0.11 to 2.0.12 (#1416) 2025-06-14 09:37:58 +00:00
dependabot[bot]
c0e0b81207
Bump multimap from 0.10.0 to 0.10.1 (#1418) 2025-06-14 09:37:35 +00:00
dependabot[bot]
237eda72a1
Bump parking_lot from 0.12.3 to 0.12.4 (#1412) 2025-06-14 09:34:22 +00:00
dependabot[bot]
8a6117f9f5
Bump libc from 0.2.171 to 0.2.173 (#1413) 2025-06-14 09:33:32 +00:00
Patrick Förster
28e952339f
Only return LoationLink if the client supports it (#1411) 2025-06-14 11:25:53 +02:00
Patrick Förster
b8c332c75b Update changelog 2025-06-14 11:18:26 +02:00
Patrick Förster
6d1a8cb0be
Handle local TEXINPUTS in latexmkrc (#1377)
Extract the context provided by latexmkrc to infer additions to TEXINPUTS and BIBINPUTS.

Fixes #1369.
2025-06-14 10:52:37 +02:00
dependabot[bot]
bdcbc1549a
Bump clap from 4.5.35 to 4.5.39 (#1403) 2025-06-14 08:51:39 +00:00
dependabot[bot]
8d01260044
Bump anyhow from 1.0.97 to 1.0.98 (#1387) 2025-06-14 08:51:28 +00:00
dependabot[bot]
fbb1b74781
Bump bstr from 1.11.3 to 1.12.0 (#1385) 2025-06-14 08:51:18 +00:00
dependabot[bot]
148356c185
Bump serde_repr from 0.1.19 to 0.1.20 (#1388) 2025-06-14 08:50:18 +00:00
dependabot[bot]
c5ceb7f47a
Bump chrono from 0.4.39 to 0.4.41 (#1397) 2025-06-14 08:50:10 +00:00
dependabot[bot]
bf02138141
Bump titlecase from 3.3.0 to 3.6.0 (#1407) 2025-06-14 08:50:01 +00:00
dependabot[bot]
fe91804342
Bump flate2 from 1.0.35 to 1.1.2 (#1408) 2025-06-14 08:49:51 +00:00
Lua 🌒
70435c4bd8
support latexmk version 4.86 (#1410)
Some checks failed
CI / Build (aarch64-unknown-linux-gnu) (push) Failing after 4s
CI / Build (armv7-unknown-linux-gnueabihf) (push) Failing after 4s
CI / Build (x86_64-unknown-linux-gnu) (push) Failing after 3s
CI / Build (x86_64-unknown-linux-musl) (push) Failing after 4s
CI / Build (aarch64-apple-darwin) (push) Has been cancelled
CI / Build (x86_64-apple-darwin) (push) Has been cancelled
CI / Build (aarch64-pc-windows-msvc) (push) Has been cancelled
CI / Build (i686-pc-windows-msvc) (push) Has been cancelled
CI / Build (x86_64-pc-windows-msvc) (push) Has been cancelled
CI / MSRV (push) Has been cancelled
Unfortunately, version 4.86 changed the string for -dir-report-only again, breaking the parser.
2025-06-13 16:34:22 +02:00
Henry Chu
d1f6f1c184
Recognize wide float environments in label parsing (#1404)
Some checks failed
CI / Build (aarch64-unknown-linux-gnu) (push) Failing after 4s
CI / Build (armv7-unknown-linux-gnueabihf) (push) Failing after 3s
CI / Build (x86_64-unknown-linux-gnu) (push) Failing after 2s
CI / Build (x86_64-unknown-linux-musl) (push) Failing after 2s
CI / Build (aarch64-apple-darwin) (push) Has been cancelled
CI / Build (x86_64-apple-darwin) (push) Has been cancelled
CI / Build (aarch64-pc-windows-msvc) (push) Has been cancelled
CI / Build (i686-pc-windows-msvc) (push) Has been cancelled
CI / Build (x86_64-pc-windows-msvc) (push) Has been cancelled
CI / MSRV (push) Has been cancelled
2025-06-08 12:45:02 +02:00
Jonáš Dujava
731bd890cd
Support more OldCommandDefinition-s (#1402)
Some checks failed
CI / Build (aarch64-unknown-linux-gnu) (push) Failing after 5s
CI / Build (armv7-unknown-linux-gnueabihf) (push) Failing after 3s
CI / Build (x86_64-unknown-linux-gnu) (push) Failing after 2s
CI / Build (x86_64-unknown-linux-musl) (push) Failing after 3s
CI / Build (aarch64-apple-darwin) (push) Has been cancelled
CI / Build (x86_64-apple-darwin) (push) Has been cancelled
CI / Build (aarch64-pc-windows-msvc) (push) Has been cancelled
CI / Build (i686-pc-windows-msvc) (push) Has been cancelled
CI / Build (x86_64-pc-windows-msvc) (push) Has been cancelled
CI / MSRV (push) Has been cancelled
Added some additional \def-like and \let-like macros.

Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
2025-06-01 09:03:39 +02:00
Jakub Charvat
86d5a3c9ad
Improve workspace/symbol filtering (#1396)
* Split symbol name for workspace_symbols keywords query

* Filter workspace_symbols query as substring of keyword instead of ==

* Add tests for workspace symbol name filtering
2025-04-26 09:08:57 +02:00
dependabot[bot]
c609974cfc
Bump crossbeam-channel from 0.5.14 to 0.5.15 (#1381) 2025-04-11 18:15:27 +00:00
Patrick Förster
d4cbeda64c
Fix cross compilation in CI pipeline (#1382) 2025-04-11 20:08:42 +02:00
Nolan
a1fb5ec807
Trigger diagnostics after distro loading (#1380)
After distro detection, calls update_workspace() to update diagnostics after bib files from $BIBINPUTS are read.
Notifies the client that it is still parsing dependencies.
2025-04-11 19:57:05 +02:00
dependabot[bot]
813d92646a
Bump serde_json from 1.0.137 to 1.0.140 (#1356) 2025-04-07 19:54:51 +00:00
dependabot[bot]
d084a0daff
Bump log from 0.4.25 to 0.4.27 (#1370) 2025-04-07 19:53:16 +00:00
dependabot[bot]
abc84d5f1e
Bump tempfile from 3.14.0 to 3.19.1 (#1368) 2025-04-07 19:48:48 +00:00
dependabot[bot]
b3932270d3
Bump anyhow from 1.0.95 to 1.0.97 (#1359) 2025-04-07 19:43:12 +00:00
dependabot[bot]
60a3a72a4f
Bump libc from 0.2.169 to 0.2.171 (#1363) 2025-04-07 19:40:48 +00:00
dependabot[bot]
dd6e103efd
Bump serde from 1.0.217 to 1.0.219 (#1357) 2025-04-07 19:39:21 +00:00
dependabot[bot]
968dd2caaa
Bump once_cell from 1.20.2 to 1.21.3 (#1372) 2025-04-07 19:39:12 +00:00
dependabot[bot]
1e506632c4
Bump clap from 4.5.27 to 4.5.35 (#1375) 2025-04-07 19:39:00 +00:00
Patrick Förster
6434de9634
Add one-based line number to inverse search (#1374)
- Add `--line0` and `--line1` command line arguments to texlab inverse-search
- For compatibility, `--line` stays an alias for `--line0`
2025-04-07 21:38:40 +02:00
Nolan
a3f4e074b4
Handle nested curly_group_word_list (#1373)
Fixes issue #1360

Modifies curly_group_word_list() to check for Token::LCurly and create a child curly_group_word_list node.
In cst.rs we change the CurlyGroupWordList::keys() function to check descendants instead of only checking children so that the label reference is not missed by the parser.
2025-04-05 08:57:26 +02:00
Henry Chu
c45c857851
Add bounds check to prevent panic in token_at_offset (#1367)
TexLab will panic if it receives a completion request with an invalid offset. This PR prevents the panic by checking if the offset is in range before passing it to `token_at_offset`.
2025-03-23 09:07:51 +01:00
Patrick Förster
1f08c3a2c8
Upgrade CI pipelines to Ubuntu 22.04 (#1341)
`ubuntu-20.04` is deprecated.
2025-02-12 18:18:16 +01:00
Johannes Altmanninger
1f2c9d7c47
Capabilities for LSP extensions (#1340)
Clients sending textDocument/build to a server that doesn't support
it may receive an error.  In a multi-server setup, users expect to
send the message only to servers that support it.  Add a capability
to enable this use case.

Closes #1328
2025-02-12 17:55:33 +01:00
hakan-demirli
29bdb931e8
Allow turning off diagnostics for specific regions
Add `% texlab: warnings off` and `% texlab: warnings on` magic comments.
2025-02-02 09:15:29 +01:00
Patrick Förster
eb694e66ff Fix year in changelog 2025-01-29 19:32:57 +01:00
Patrick Förster
c3fefaf277 Bump version to v5.22.1 2025-01-29 19:22:58 +01:00
Patrick Förster
209f55ed76 Update changelog 2025-01-29 19:22:43 +01:00
zefr0x
e01b909c6a
Use XDG_RUNTIME_DIR for texlab.sock in linux (#1331) 2025-01-29 19:22:27 +01:00
Patrick Förster
da6a6bbb9f Bump version to v5.22.0 2025-01-26 09:18:42 +01:00
Patrick Förster
7594cc346e
Bump url from 2.5.2 to 2.5.4 (#1326) 2025-01-26 09:17:15 +01:00
Patrick Förster
cdca6d60a5
Bump notify from 6.1.1 to 8.0.0 (#1324) 2025-01-21 20:54:50 +01:00