Commit graph

2566 commits

Author SHA1 Message Date
Patrick Förster
8a2399472c Use workspace dependencies everywhere 2025-11-02 21:06:37 +01:00
Patrick Förster
20ab73489b
Bump lsp-types from 0.95.1 to 0.97.0 (#1477) 2025-11-02 20:57:17 +01:00
Thibault de Villèle
1ad7e615c0
feat(glossaries): user glossary commands (#1475)
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 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 / MSRV (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
Allows user-defined glossary reference commands, as a server config.
This is stored under the 'experimental.glossaryReferenceCommands' key in
the server configuration (from the texlab crate, file server/options.rs)

Changed crates/files:
    texlab/src/server/options.rs: new 'glossary_reference_commands' key
        as a vector in the ExperimentalOptions struct ;
    texlab/src/util/from_proto.rs: extend the SyntaxConfig of the server
        configuration using the new 'glossary_reference_commands' key ;
    parser/src/config.rs: new 'glossary_reference_commands' key in the
        SyntaxConfig structure + the glossary reference commands from
	the latex/lexer/commands.rs file in the same crate have been
	moved to a static array here ;
    parser/src/latex/lexer/commands.rs: the classify() command now looks
        in the new 'config.glossary_reference_commands' for glossary
	references ;
2025-11-01 08:50:12 +01:00
Pierre Glaser
cdbe6a8f6a
fix multi-file project detection algorithm when using includefrom (#1465)
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 4s
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
`texlab` list of commands for including files within a latex document is missing the `includefrom` command defined by the `subimport` module, causing `texlab`'s project detection algorithm to break when using these files. This PR simply adds `includefrom` to this list.
2025-10-09 21:15:24 +02:00
dependabot[bot]
49364604b8
Bump lsp-server from 0.7.8 to 0.7.9 (#1437)
Some checks failed
CI / Build (aarch64-unknown-linux-gnu) (push) Failing after 6s
CI / Build (armv7-unknown-linux-gnueabihf) (push) Failing after 5s
CI / Build (x86_64-unknown-linux-gnu) (push) Failing after 6s
CI / Build (x86_64-unknown-linux-musl) (push) Failing after 11s
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-08-29 20:20:17 +00:00
dependabot[bot]
0936bb4608
Bump thiserror from 2.0.12 to 2.0.16 (#1452) 2025-08-29 20:11:17 +00:00
dependabot[bot]
78efb8b3d8
Bump libc from 0.2.174 to 0.2.175 (#1442) 2025-08-29 20:09:56 +00:00
Patrick Förster
995fedf9b6
Add command definitions to symbols (#1450) 2025-08-29 22:06:00 +02:00
Patrick Förster
08a0a9c08d
Allow turning off symbol preview for hover (#1451)
Add `texlab.hover.symbols` setting to allow turning off image preview for symbol-like commands
2025-08-29 21:42:09 +02:00
dependabot[bot]
2db3896f9c
Bump serde_json from 1.0.140 to 1.0.143 (#1445) 2025-08-29 18:16:07 +00:00
Patrick Förster
e291db570e
Upgrade to Rust 2024 edition (#1449) 2025-08-29 20:15:39 +02:00
Jonas Pleyer
fb268cb52a
replace 'map_or(false' with less verbose versions (#1447)
- use 'is_some_and(' for Option<T>
- use 'is_ok_and(' for Result<T>
2025-08-29 19:48:19 +02:00
Patrick Förster
36995ffd82
Bump MSRV to 1.89 (#1448) 2025-08-29 19:47:55 +02:00
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