Commit graph

1244 commits

Author SHA1 Message Date
Myriad-Dreamin
67c4e6e24c
feat: bump cargo-dist to v0.28.0-tinymist.2 (#1555)
* feat: bump cargo-dist to 0.28.0-tinymist.2

* feat: upgrade tempfile to 3.19.1
2025-03-20 19:51:50 +08:00
Myriad-Dreamin
e33688336d
feat: forbid bad field access syntax in math mode (#1550) 2025-03-20 19:44:28 +08:00
Myriad-Dreamin
f555fc3840
test: add vscode e2e testing for export feature (#1553)
* test: add vscode e2e testing for export feature

* fix: tests
2025-03-20 19:21:29 +08:00
Myriad-Dreamin
92bb24b4ac
feat: configure word pattern to exclude -A like words (#1552) 2025-03-20 18:52:36 +08:00
Myriad-Dreamin
3ae8b01325
feat: use quick exports in code lens context (#1551)
* feat: move export commands to the module

* feat: use quick exports in code lens context
2025-03-20 18:31:04 +08:00
Myriad-Dreamin
d4f00b86b0
feat: export to format regardless of export target (#1549)
* feat: export to format regardless of export target

* chore: move todo comment
2025-03-20 17:11:55 +08:00
Myriad-Dreamin
fadf85e68a
feat: make all export available by commands (#1547) 2025-03-20 16:18:13 +08:00
Myriad-Dreamin
1039e6f4fe
feat: publish tinymist-l10n and use ubuntu-latest runner (#1543) 2025-03-20 15:48:09 +08:00
7mile
8d9a8f8bed
feat: fledge diagnostic hint patterns by updating 2 refiners (#1544)
* feat: support more diagnostic hint patterns about typst v0.13 deprecation

* feat: add out of root hint diagnostic refiner

* optimize multi-pattern search with `RegexSet`

* add "cannot spread content"

* fix test

* Revert "add "cannot spread content""

This reverts commit 7d6c981413.
2025-03-20 14:30:35 +08:00
Myriad-Dreamin
766a41f4d5
build: bump version to 0.13.10-rc1 (#1540)
* docs: edit changelog

* build: bump version to 0.13.10-rc1

* build: bump typst to 0.13.1

* build: pre-rc1

* build: build with l10n

* build: lock version
2025-03-19 17:14:53 +08:00
Myriad-Dreamin
fd7fa57925
test: a hard hint about missing binary for e2e tests (#1541) 2025-03-19 16:55:43 +08:00
7mile
57ce935f54
feat: add diagnostics refiner to provide extra hints from tinymist side (#1539)
* feat: add diagnostics refiner to provide extra information from tinymist side

* apply naming suggestion

* add note for caching

* fix the migration guide url

* reorganize tests

* fix clippy
2025-03-19 16:19:42 +08:00
Myriad-Dreamin
88eeef978d
feat: don't override single_file_support in tinymist.lua (#1524)
e35fd81524
2025-03-19 14:26:54 +08:00
Myriad-Dreamin
13fb22f4fa
feat: downgrade some config errors and show warnings (#1538) 2025-03-19 13:30:00 +08:00
Myriad-Dreamin
9b9a674118
fix: revert the explicit detection again (#1525)
* fix: revert the explicit detection again

* test: revert the snapshot

* test: add more tests
2025-03-19 13:07:10 +08:00
Myriad-Dreamin
5ebc7224e4
feat: add zed configuration (#1537)
* feat: add zed configuration

* feat: update linguist info
2025-03-19 12:58:21 +08:00
Myriad-Dreamin
c8c891fbc3
feat: pass tests if warnings happens (#1535) 2025-03-19 12:02:40 +08:00
Myriad-Dreamin
4bb16b5b93
feat: watch tests and print test information (#1534)
* feat: test watch support

* feat: terminal printer

* feat: print coverage

* feat: update docs
2025-03-18 16:13:08 +08:00
Myriad-Dreamin
4e8959851a
fix: example output (#1533) 2025-03-18 14:01:23 +08:00
Myriad-Dreamin
157703ef67
docs: update description about testing (#1532) 2025-03-18 00:11:13 +08:00
Myriad-Dreamin
b4e5f4ff62
feat: add test framework with coverage support (#1518)
* feat: test framework with coverage support

* feat: clean up

* fix: dangling else block

* feat: implement show set

* feat: implement show replace content

* feat: compare framework

* feat: preserve extension

* feat: exit 1 if failed testing

* docs: update docs about it

* docs: wording

* docs: wording

* docs: wording
2025-03-17 22:41:33 +08:00
Myriad-Dreamin
c67b2020e5
refactor: clean up the config crate (#1528)
* feat: clean up config crates

* refactor: reorder config items

* refactor: a bit
2025-03-17 20:04:25 +08:00
Myriad-Dreamin
6a5bea8bcf
feat: add instrument-based breakpoints support to dap (#1529)
* dev: clean up debug crate

* feat: instrument support

* feat: evaluate infra
2025-03-17 18:19:31 +08:00
Myriad-Dreamin
42fd5d3bc9
feat: use window/showDocument to show previewing document (#1450)
* feat: use `window/showDocument` to show previewing document

* feat: implement it

* feat: take focus
2025-03-17 17:52:59 +08:00
Myriad-Dreamin
c65b69be26
refactor: remove useless "feature" in the activate functions (#1526) 2025-03-17 16:35:38 +08:00
Myriad-Dreamin
7fb81604be
feat: paste uri smartly (#1500) 2025-03-17 16:00:11 +08:00
Myriad-Dreamin
8a8cac096e
feat: implement debugging console (#1445)
* feat: dap server parts

* dev: remove comments

* feat: dap client parts

* fix: test
2025-03-17 13:06:22 +08:00
Myriad-Dreamin
b5a629435a
feat: download font assets for compiling pdf docs (#1511)
* feat: download font assets for compiling pdf docs

* fix: gate
2025-03-17 12:51:02 +08:00
Myriad-Dreamin
1b5d4ac786
refactor: split testing feature code (#1523) 2025-03-17 12:06:38 +08:00
Andrew Voynov
47410c89e8
build: fix docs:typ using wrong root dir (#1522) 2025-03-17 10:54:50 +08:00
Andrew Voynov
1e9fea0337
docs: fix Neovim name casing everywhere (#1520) 2025-03-17 10:12:06 +08:00
Myriad-Dreamin
b2e9d7bbcd
feat: implements dap-server scaffold (#1517)
* feat: implements dap-server scaffold

* dev: revert

* fix: diagnostics is only available when typst is enabled

* feat: proper feature gating and testing

* feat: reduce dep and publish sync-ls

* docs: update readme

* fix: compile error

* fix: permission

* fix: examples

* fix: doc example
2025-03-17 09:33:59 +08:00
Myriad-Dreamin
520a26f088
feat: split config crate (#1516) 2025-03-16 17:33:41 +08:00
Myriad-Dreamin
ffb8ebd52f
chore: update workflow files (#1513) 2025-03-16 16:41:13 +08:00
Myriad-Dreamin
478842c6bc
feat: exit if compile errors happen (#1512) 2025-03-16 16:41:04 +08:00
Myriad-Dreamin
3d83885778
feat: improve the export error message (#1510) 2025-03-15 21:43:34 +08:00
Myriad-Dreamin
36bc5226ba
feat: improve the error formatting (#1509) 2025-03-15 14:31:17 +08:00
Myriad-Dreamin
bc5960ec39
feat: support l10n message with arguments (#1508)
* feat: support l10n message with arguments

* dev: edit message

* dev: edit message

* fix: message error
2025-03-15 12:50:50 +08:00
Myriad-Dreamin
75aa73ba69
feat: initialize locale as soon as possible (#1507) 2025-03-15 12:19:06 +08:00
Myriad-Dreamin
c96ea6d77f
feat: profile and visualize coverage of the current document (#1490)
* feat: draft

* feat: run coverage command in vscode

* feat: create and move location crate

* feat: run and visualize coverage

* feat: l10n
2025-03-15 11:49:51 +08:00
tmistele
99900b2c76
fix: cleanup CORS checks (v2) (#1382)
* fix: cleanup CORS checks

* Add back the warning on empty Origin header for websocket requests

* Don't accidentally revert change from other PR

* docs: edit comment

---------

Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2025-03-15 11:01:46 +08:00
Myriad-Dreamin
4cbe35a286
feat: employ l10n to tinymist-cli and vscode extension (#1505)
* feat: runtime translation

* feat: poc of rust translation

* feat: clean up implementation

* feat: initialize correctly

* dev: remove dirty log

* dev: rename l10nMsg

* fix: desc

* feat: update assets building

* feat: update assets building

* build: update cargo.lock

* fix: warnings

* fix: warnings

* dev: expose api

* fix: compile error

* fix: compile errors in scripts
2025-03-15 10:38:07 +08:00
Myriad-Dreamin
dc9013e253
feat: translate all tinymist config text using llm (#1504)
* feat: translate all tinymist config text using llm

* fix: bug translation
2025-03-14 09:43:07 +08:00
Myriad-Dreamin
1f22001cd3
feat: translate rest titles by deepseek v3 (#1503)
Co-authored-by: sinofine <i@sinofine.me>
2025-03-13 20:05:27 +08:00
Myriad-Dreamin
bcb6cf559a
docs: update readme for locales folder (#1502)
* docs: update readme for locales folder

* docs: update readme for locales folder
2025-03-13 18:19:20 +08:00
Myriad-Dreamin
7a78d039c2
feat: translate all tinymist commands using llm (#1501) 2025-03-13 17:45:46 +08:00
Myriad-Dreamin
e81a071a00
docs: update roadmap (#1499) 2025-03-13 16:00:54 +08:00
Myriad-Dreamin
be79119b61
build: bump version to 0.13.8 (#1498)
* build: update changelog

* build: bump version to 0.13.8

* build: bump assets to v0.13.8
2025-03-13 12:42:42 +08:00
Myriad-Dreamin
648523967c
fix: forbid some bad cases of dot access (#1497)
* fix: forbid some bad cases of dot access

* test: add a countercase

* fix: revert a case
2025-03-13 12:29:25 +08:00
Myriad-Dreamin
7399fccd5a
feat: detect explicit completion from vscode (#1496)
* fix: prevent completion list from showing on bad pos

* feat: detect explicit completion from vscode

* fix: cases

* test: update snapshot
2025-03-13 12:05:47 +08:00