Commit Graph

225 Commits

Author SHA1 Message Date
Thomas KEMKEMIAN 997cdc45f6 fix(lsp): prevent char index out of bounds panic in diagnostic positions
Convert byte indices to char indices before calculating positions in the
rope. The previous implementation passed byte offsets directly to char
indexing functions, causing a panic when the byte index exceeded the
character count.
2026-02-27 01:12:29 +01:00
Kat Marchán 268f3a2d00
chore: Release 2025-09-11 15:17:05 -07:00
Kat Marchán 8c6ffbdb6c
docs: update changelog 2025-09-11 15:16:12 -07:00
Kat Marchán e1727e7c28
feat(msrv): bump msrv 2025-09-11 15:14:02 -07:00
Kat Marchán e47ca9c683
fix(fmt+clippy): sigh 2025-09-11 15:07:59 -07:00
Kat Marchán fb9d725b06
chore: Release 2025-09-11 14:13:08 -07:00
Kat Marchán 5eeb5e8b73
docs: update changelog 2025-09-11 14:12:45 -07:00
Kat Marchán 4eaf926140
chore(deps): add Cargo.lock 2025-09-11 13:59:36 -07:00
adamnemecek 09c2c28688
chore: refactoring (#140) 2025-09-04 11:31:02 -07:00
Samuel Martineau 6656f7e986
fix(lockfile): commit cargo lock file (#126) 2025-09-04 10:53:58 -07:00
adamnemecek c95d6ba101
fix(clippy/fmt): ran clippy + cargo fmt (#129) 2025-09-04 10:49:59 -07:00
Koi to Coco 564d4aeead
fix(fmt): identifiers equal to a keyword are not quoted #132 (#137) 2025-09-04 10:49:05 -07:00
Dion Dokter 758bd63621
Assign document leading format to the first node instead (#138)
Fixes: https://github.com/kdl-org/kdl-rs/issues/136
2025-09-04 10:46:52 -07:00
Brooks Rady 439aa63bfc
feat(deps): Absolve `kdl-rs` of `syn` (#125)
This completes the removal of `syn` from `kdl-rs`s dependency tree!
2025-04-28 11:26:09 -07:00
James Munns c1680e8c04
docs: Mention comments and whitespace in `format` accessors (#124) 2025-04-08 02:46:47 -07:00
YOSHIOKA Takuma c904e025a2
fix(span): Enable span properly to fix build failure with `span` feature disabled (#120) 2025-03-30 14:37:56 -07:00
Michael Cooper 6e61b54fae
docs: Fix version number in KdlDocument::v2_to_v1 (#122) 2025-03-30 14:35:54 -07:00
Kat Marchán ce27425905
fix(v1-fallback): actually fall back. lol (#119) 2025-02-17 15:34:39 -08:00
Kat Marchán b7cf2ec6fd
chore: Release 2025-01-25 12:16:52 -08:00
Kat Marchán e28470a670
docs: update changelog 2025-01-25 12:16:34 -08:00
Kat Marchán acd7ccf800
fix(deps): bump winnow version to pull in new type
Fixes: https://github.com/kdl-org/kdl-rs/issues/117
2025-01-25 11:52:44 -08:00
Kat Marchán 2072c66f51
chore: Release 2025-01-16 19:49:06 -08:00
Kat Marchán 84b2678ac1
fix keyword 2025-01-16 19:48:34 -08:00
Kat Marchán 2e273f9314
chore: Release 2025-01-16 19:45:42 -08:00
Kat Marchán 54796b932e
docs: update changelog 2025-01-16 19:45:03 -08:00
Kat Marchán 266b462a19
feat(msrv): bump msrv to 1.71.1 2025-01-16 19:44:35 -08:00
Kat Marchán b6b67f62fa
feat(lsp): add LSP server (#115)
Fixes: https://github.com/kdl-org/kdl-rs/issues/113
2025-01-16 18:54:34 -08:00
Kat Marchán 50926ee6df
chore: Release kdl version 6.2.2 2025-01-02 16:35:05 -08:00
Kat Marchán 8cfae5abbb
docs: update changelog 2025-01-02 16:34:48 -08:00
Kat Marchán 82c1f1c076
fix(fallback): play around with fallback logic some more 2025-01-02 16:34:12 -08:00
Kat Marchán d697e45d05
chore: Release kdl version 6.2.1 2025-01-01 17:47:18 -08:00
Kat Marchán cde122eb18
docs: update changelog 2025-01-01 17:46:58 -08:00
Kat Marchán 7ec3992ceb
fix(fallback): uggghhhhh oops 2025-01-01 17:46:32 -08:00
Kat Marchán f1e3c15663
chore: Release kdl version 6.2.0 2025-01-01 15:39:55 -08:00
Kat Marchán 8db6e71500
docs: update readme and changelog 2025-01-01 15:39:19 -08:00
Kat Marchán 52a7c2cba1
fix(parser): various tests and bugfixes (#112)
Fixes: https://github.com/kdl-org/kdl-rs/issues/108
Fixes: https://github.com/kdl-org/kdl-rs/issues/109
2025-01-01 15:35:05 -08:00
Kat Marchán f5007fce44
feat(fallback): apply heuristics when doing fallbacks (#111) 2025-01-01 14:58:49 -08:00
Kat Marchán 4fee6b8b7b
chore: Release kdl version 6.1.0 2024-12-22 12:53:27 -08:00
Kat Marchán 9aaebe799a
docs: update changelog 2024-12-22 12:52:39 -08:00
Kat Marchán 99dec9fa2c
feat(api): unflagged ensure_v2 fns, and docsrs improvements 2024-12-22 12:40:13 -08:00
Kat Marchán 5aa81f8e15
chore: Release kdl version 6.0.0 2024-12-21 18:49:11 -08:00
Kat Marchán 38ae41c86a
docs: update readme and changelog 2024-12-21 18:48:38 -08:00
Kat Marchán 0c59b29a03
fix(fmt): cargo fmt 2024-12-21 17:55:06 -08:00
Kat Marchán b097c7e21b
fix(clippy): clippy fixes 2024-12-21 17:53:33 -08:00
Kat Marchán fef7c58b02
fix(v1): sigh. forgot to remove v1 from default features again 2024-12-21 17:49:08 -08:00
Kat Marchán 3e8b2f443a
feat(compliance): pull in final extra tests and change VT to newline 2024-12-21 17:47:47 -08:00
Kat Marchán b332eed4a0
feat(v1): add v2 -> v1 translation and fix translations to not autoformat 2024-12-21 17:37:01 -08:00
Kat Marchán ec73cdfa05
fix(misc): other tiny clippy/fmt issues 2024-12-20 02:10:48 -08:00
Kat Marchán 37255b0bf6
fix(autoformat): fix autoformatting of v1 -> v2 2024-12-20 02:05:33 -08:00
Kat Marchán 4cbc32246c
fix(clippy): clippy fixes 2024-12-20 01:34:34 -08:00