Commit graph

2520 commits

Author SHA1 Message Date
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
Patrick Förster
1b8ca8eac3
Add tex-fmt as formatter option (#1321) 2025-01-21 20:43:01 +01:00
dependabot[bot]
b01b9b8d87
Bump serde_json from 1.0.135 to 1.0.137 (#1322) 2025-01-21 17:32:23 +00:00
dependabot[bot]
ef80c7af6b
Bump clap from 4.5.26 to 4.5.27 (#1323) 2025-01-21 17:32:16 +00:00
dependabot[bot]
bfbe0ee5f7
Bump lsp-server from 0.7.7 to 0.7.8 (#1318) 2025-01-21 17:12:16 +00:00
dependabot[bot]
ffd3c0a6d1
Bump dirs from 5.0.1 to 6.0.0 (#1316) 2025-01-19 21:07:53 +00:00
Patrick Förster
a319d60f51 Update changelog 2025-01-19 21:34:33 +01:00
dependabot[bot]
e73049138e
Bump log from 0.4.22 to 0.4.25 (#1315) 2025-01-18 22:16:31 +00:00
dependabot[bot]
19ee75dab7
Bump crossbeam-channel from 0.5.13 to 0.5.14 (#1319) 2025-01-18 22:16:26 +00:00
dependabot[bot]
8a9bd110b1
Bump chrono from 0.4.38 to 0.4.39 (#1317) 2025-01-18 22:08:59 +00:00
dependabot[bot]
3ee8ffa5cc
Bump serde_json from 1.0.133 to 1.0.135 (#1314) 2025-01-18 22:05:45 +00:00
dependabot[bot]
b705e32370
Bump expect-test from 1.5.0 to 1.5.1 (#1313) 2025-01-18 22:05:41 +00:00
Patrick Förster
55187bc16a
Add setting for custom label reference range cmds (#1312)
Add `texlab.experimental.labelReferenceRangeCommands`.

Fixes #1210.
2025-01-18 23:00:03 +01:00
dependabot[bot]
5916c5a485
Bump serde from 1.0.214 to 1.0.217 (#1302) 2025-01-18 21:51:30 +00:00
dependabot[bot]
f56d66a11c
Bump libc from 0.2.167 to 0.2.169 (#1300) 2025-01-18 21:51:05 +00:00
dependabot[bot]
3147d3967b
Bump logos from 0.14.2 to 0.15.0 (#1287) 2025-01-18 21:40:54 +00:00
dependabot[bot]
99fbc73536
Bump thiserror from 2.0.3 to 2.0.11 (#1308) 2025-01-18 21:39:56 +00:00
dependabot[bot]
5dc62b16d3
Bump fern from 0.7.0 to 0.7.1 (#1295) 2025-01-18 21:39:37 +00:00
dependabot[bot]
939a02bf25
Bump anyhow from 1.0.93 to 1.0.95 (#1299) 2025-01-18 21:39:27 +00:00
dependabot[bot]
3f78c820fa
Bump bstr from 1.11.0 to 1.11.3 (#1306) 2025-01-18 21:39:19 +00:00
dependabot[bot]
0fabb5cfb8
Bump clap from 4.5.21 to 4.5.26 (#1310) 2025-01-18 21:39:08 +00:00
Patrick Förster
d510c53f24
Allow user-defined document symbol environments (#1311)
Add `texlab.symbols.customEnvironments` setting.

Fixes #1292.
2025-01-18 22:38:43 +01:00
Johannes Altmanninger
0532115ce4
Improve error message when build.executable doesn't exist (#1303)
texlab outputs on standard error:

	ERROR - Failed to compile document "file:///path/to/test.tex":
	Unable to run compiler: No such file or directory (os error 2)

which is confusing because the actual issue is that "latexmk" was
not found.  Fix that by adding the program name.  This might not be
as appropriate for all possible io::Error kinds but it's probably
useful for a few of them.
2024-12-31 16:25:59 +01:00
Nolan
2f79d329bf
Fix parsing links with URL encoding (#1291)
Adds a HREF token to represent urls (and unit tests for the parser).
2024-12-14 21:56:43 +01:00
dependabot[bot]
e99406e065
Bump rustc-hash from 2.0.0 to 2.1.0 (#1281) 2024-12-03 19:14:53 +00:00
dependabot[bot]
79bb8bebe6
Bump pathdiff from 0.2.2 to 0.2.3 (#1282) 2024-12-03 19:07:18 +00:00
dependabot[bot]
9241257175
Bump flate2 from 1.0.34 to 1.0.35 (#1277) 2024-12-03 19:06:32 +00:00
dependabot[bot]
24f3e1293f
Bump libc from 0.2.162 to 0.2.167 (#1283) 2024-12-03 19:04:42 +00:00
dependabot[bot]
53b82b60cb
Bump clap from 4.5.20 to 4.5.21 (#1273) 2024-12-03 19:04:28 +00:00
dependabot[bot]
75f3372429
Bump serde_json from 1.0.132 to 1.0.133 (#1275) 2024-12-03 19:03:32 +00:00
dependabot[bot]
08389f1c33
Bump bstr from 1.10.0 to 1.11.0 (#1274) 2024-12-03 18:58:06 +00:00
Patrick Förster
dcd40b65b2
Fix named elided lifetime warning (#1285) 2024-12-03 19:57:15 +01:00
Patrick Förster
1454a554fc
Add hover handler for command symbols (#1271) 2024-11-16 08:33:01 +01:00
dependabot[bot]
732b5450db
Bump serde from 1.0.210 to 1.0.214 (#1259) 2024-11-11 19:29:41 +00:00