Commit graph

344 commits

Author SHA1 Message Date
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
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
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
a68399c92e
build: bump version to 0.13.6 (#1492)
* build: bump version to 0.13.6

* build: update cargo.lock

* build: update assets

* build: update changelog
2025-03-13 06:16:09 +08:00
Myriad-Dreamin
a0140a6263
build: bump version to 0.13.6-rc2 (#1491)
* build: bump version to 0.13.6-rc2

* build: bump assets to v0.13.6-rc2
2025-03-12 16:27:13 +08:00
Myriad-Dreamin
3e3196baba docs: update changelog 2025-03-11 09:06:47 +08:00
Myriad-Dreamin
06971443d0 build: bump version to 0.13.6-rc1 2025-03-10 23:20:36 +08:00
Myriad-Dreamin
2ec7a26420
perf: parallelize font loading and sync wait it (#1470)
* x

* test memory fonts iter

* perf: impl par
2025-03-09 22:29:33 +08:00
Myriad-Dreamin
78b80d41e4
build: bump version to 0.13.4 (#1439)
* build: bump version to 0.13.4

* build: lock tinymist-assets
2025-03-02 23:10:26 +08:00
Myriad-Dreamin
7c78171987
build(pkg): bump version to 0.13.4-rc1 (#1433) 2025-03-01 23:17:54 +08:00
Myriad-Dreamin
5102017777
build: bump version to 0.13.2 (#1423) 2025-02-27 18:34:44 +08:00
Myriad-Dreamin
0c89cd82c7
build: bump version to 0.13.2-rc2 (#1421)
* build: bump version to 0.13.2-rc2

* build: update assets

* docs: update the date

* docs: revise changelog
2025-02-27 17:56:56 +08:00
Myriad-Dreamin
7faef58186
build: bump reflexo to v0.5.5-rc7 (#1414) 2025-02-27 11:41:45 +08:00
Myriad-Dreamin
8da796c8bc
build: bump typst-ansi-hl to v0.4.0 (#1412) 2025-02-27 02:32:01 +08:00
Myriad-Dreamin
4145139534
build: bump version to 0.13.2-rc1 (#1403)
* docs: update changelog

* build: bump version to 0.13.2-rc1

* fix: horrible prerelease

* fix: bump that in package.json
2025-02-26 14:42:10 +08:00
Myriad-Dreamin
15f2329bc1
fix: use new wasm renderer (#1398) 2025-02-25 14:47:54 +08:00
Myriad-Dreamin
0e9d8933af
test: TYPST_PACKAGE_CACHE_PATH should be applied on server start (#1391)
* g1

* test: `TYPST_PACKAGE_CACHE_PATH` should be applied on server start

* fix: update with lock
2025-02-24 17:27:05 +08:00
Myriad-Dreamin
c877c2bb9d build: lock typstyle to v0.13.0 2025-02-23 18:49:52 +08:00
Myriad-Dreamin
489d2b9595 build: lock reflexo to 0.5.5-rc6 2025-02-23 18:49:52 +08:00
Myriad-Dreamin
09b79330b8 build: bump version to 0.13.0 2025-02-23 18:49:52 +08:00
Myriad-Dreamin
af64fc13d9 build: set typst dep to tag v0.13.0 2025-02-23 02:52:39 +08:00
Myriad-Dreamin
876e402b26
build: bump version to 0.13.0-rc1 (#1361)
* build: bump version to 0.13.0-rc1

* build: update cargo.lock

* fix: weird dependencies
2025-02-22 17:11:53 +08:00
Myriad-Dreamin
d21ebc38dc
feat: bump typst to v0.13.0-rc1 (#1342)
* dev: use range type from lsp-types

* feat: add html document variant

* feat: use new-style bytes constructors

* fix: broken span usages

* fix: syntax kind is changed

* fix: label use pico str

* fix: bib element is changed

* fix: raw element is changed

* fix: typst use codex

* fix: package fn is removed from world trait

* feat: reflexo accept typst document

* docs: update changelog

* dev: cargo patch

* fix: typst pdf timestamp is changed

* fix: pattern is renamed to tiling

* dev: make eval compat

* test: update snapshots

* build: bump version to nightly 0.12.19-rc4

* build: bump version to 0.12.19-rc1 (#1164)

  * build update changelog

  * build: bump version to 0.12.19-rc1

* build: bump version to nightly 0.12.19-rc2 (#1221)

  * feat: update typst to `85d1778`

  * deps: lock git deps version

  * build: bump version to 0.12.19-rc2

  * docs: remove rc in changelog

  * fix: mathtext formatting of typstyle

  * fix: completion related to mathtext

  * build: update cargo.lock

* build: bump version to nightly 0.12.19-rc3 (#1232)

* build: bump version to nightly 0.12.19-rc4 (#1239)

* feat: add typst-html

* feat: add typst-html

* cargo patch

* fix: features doesn't take effect

* fix: casting

* fix: broken no-content-hint

* fix: snapshot

* fix: remove unnecessary `fs` feature

* fix: move system features feature

* feat: remove nightly shim

* test: update snapshot

* dev: nightly v0.12.21 (#1279)

* feat: update typst to `0ea6680`

feat: update typst to `0ea6680`

build: bump version to nightly 0.12.19 (#1261)

* fix: fix lint errors

* styl: fotmat

* fix: build web ci

* build: update cargo.toml

* build: bump version to nightly 0.12.21-rc1 (#1280)

* build: update typstyle & reflexo (#1336)

* build: update typstyle & reflexo

* dev: remove useless patches

---------

Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>

* build: update version

* fix: pdf gate were broken (#1285)

* fix: panic on convert_datetime (#1286)

* feat: run language sever with targeting html (#1284)

* dev: add some debug logging

* feat: html compilation

* fix: revert changes

* feat: adjust html interfaces

* feat: lock reflexo

* feat: provide exportTarget configuration

* feat: export html actions when target is html

* build: bump reflexo

* fix: system feature gate

* fix: feature gate 2

* fix: feature gate 3

* feat: make tinymist-world featured by lsp

* feat: text export over typst's HTML export (#1289)

* feat: add more doc, world, and task apis (#1290)

* feat: add num of pages method

* feat: add from_snapshot_inner method

* feat: add clear_dedicates method

* feat: more convertion traits

* feat: add doc_get_as_value method

* feat: add doc_get_as_value method

* feat: add cast_run method

* fix: set is compiling flag (#1293)

* feat: publish {tinymist-{derive,analysis,std,vfs,world,project},typlite,crityp} crates (#1310)

* build: bump version to 0.12.21-pre-rc1

* fix: deps

* build: set nightly in nightly branch

* docs: add readmes for publish

* feat: add release crates action

* dev: remove publish of sync-lsp

* dev: remove useless setup

* fix: remove readme

* fix: publish ignore errors

* fix: specify version for publish

* fix: specify version for publish

* feat: update tinymist-web version

* test: update snapshot

* fix: diverged deps

---------

Co-authored-by: ParaN3xus <136563585+ParaN3xus@users.noreply.github.com>
2025-02-21 03:18:04 +08:00
Myriad-Dreamin
f3329b8dc4
build: bump version to 0.12.20 (#1345)
* docs: editing changelog

* build: bump version to 0.12.20

* docs: update changelog

* build: bump dependencies

* fix: snapshot and compile error
2025-02-21 01:37:38 +08:00
Myriad-Dreamin
98c36483fc
build: bump version to 0.12.20-rc2 (#1341) 2025-02-20 02:36:34 +08:00
Myriad-Dreamin
82ed2a1aa5
build: bump version to 0.12.20-rc1 (#1339)
* docs: draft changelog

* build: bump version to 0.12.20-rc1
2025-02-20 01:53:53 +08:00
Yifan Song
5285da4ae0
build: upgrade typstyle to v0.12.15 (#1324)
* build: upgrade typstyle to v0.12.14

* update doc

* dev: change name

---------

Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2025-02-20 01:05:28 +08:00
Myriad-Dreamin
5a05d12fdd
fix: don't remove path mapping when invalidating vfs cache (#1316) (#1333)
* fix: don't remove path mapping when invalidating vfs cache (#1316)

* fix: don't clean path mapping when invalidate vfs cache

* fix: remove duplicated insert

* refactor: name

* fix: use correct path to ecow
2025-02-20 00:52:39 +08:00
Myriad-Dreamin
3799db6dd4
feat: split tinymist-task (#1277)
* feat: split tinymist-task

* cargo lock

* revert html changes

* Revert "revert html changes"

This reverts commit b82662e441.

* Revert "Revert "revert html changes""

This reverts commit b42643399c.

* fix: examples
2025-02-08 23:10:02 +08:00
Myriad-Dreamin
70d4d82cdb
feat: move snapshot structs to tinymist-world (#1275)
* feat: move snapshot structs to tinymist-world

* fix: new typst compile

* Revert "fix: new typst compile"

This reverts commit 1d181cd48d.

* Revert "Revert "fix: new typst compile""

This reverts commit 12fe1fbfb0.

* fix: broken link

* fix: broken example
2025-02-08 19:58:01 +08:00
Myriad-Dreamin
9864d438c9
feat: remove uses of CompileEnv and Compiler (#1272)
* feat: remove uses of `CompileEnv` and `Compiler`

* build: update cargo.lock

* fix: new typst

* Revert "fix: new typst"

This reverts commit ca624d391a.

* Revert "Revert "fix: new typst""

This reverts commit 012d3cff03.
2025-02-08 15:15:13 +08:00
Myriad-Dreamin
6b31d4418d
feat: store raw diag in error (#1271) 2025-02-08 15:11:48 +08:00
Myriad-Dreamin
d0188a768e dev: make eval compat (#1269)
* fix: compile when preview feature is disabled

* build: update cargo.lock

* old

* old

* old

* back
2025-02-08 14:55:47 +08:00
Myriad-Dreamin
a778c8c10c
build: upgrade typstyle to v0.12.14 (#1260)
* build: upgrade typstyle to 0.12.14

* typstyle version

* build: update cargo.lock

---------

Co-authored-by: ParaN3xus <paran3xus007@gmail.com>
2025-02-03 11:19:55 +08:00
Myriad-Dreamin
1178d4fbe9
build: update cc version (#1162) (#1258)
* build: lock `cc` version

* build: update cargo.lock

* docs: detailed comment

* build: remove the unneeded change

---------

Co-authored-by: ParaN3xus <paran3xus007@gmail.com>
2025-02-03 11:19:22 +08:00
Myriad-Dreamin
3bc5f19cf5
feat: convert TypstDocument to enum (#1256)
* feat: convert `TypstDocument` to enum

* fix: errors

* build: update cargo.lock

* fix: warnings

* fix: error

* html changes

* Revert "html changes"

This reverts commit f9fc0e4872.

* Revert "Revert "html changes""

This reverts commit 7dc554a9e4.

* use std typst docs

* span

* paged

* paged

* html change

* paged

* html change

* bytes

* paged

* paged

* paged

* html changes

* paged

* html changes

* paged
2025-02-03 11:17:58 +08:00
Myriad-Dreamin
88912bc12e
feat: prepublish tinymist-world (#1248) 2025-02-02 14:51:49 +08:00
Myriad-Dreamin
2b56e71435
feat: watch dependencies of multiple projects (#1231) 2025-01-30 01:44:57 +08:00
Myriad-Dreamin
0f588c99d7
refactor: build and move comment and matcher crates to analysis crate (#1223) 2025-01-29 12:34:28 +08:00
Myriad-Dreamin
1979469f28
refactor: move debug_loc crate to analysis crate (#1222) 2025-01-29 11:30:34 +08:00
Myriad-Dreamin
f1f88cb548
build: eliminate dependencies of tinymist-analysis (#1220) 2025-01-28 17:37:22 +08:00
Myriad-Dreamin
8ca6c8118c
feat: merge fs and std crate (#1203)
* feat: merge fs and std crate

* fix: errors
2025-01-20 23:00:31 +08:00
Myriad-Dreamin
04f688e122
feat: model and document project tasks (#1202)
* feat: model and document project tasks

* fix: compile error
2025-01-20 20:24:54 +08:00
Myriad-Dreamin
6d1e40d3a9
feat: resolve projects by lockDatabase (#1142)
* feat: implement lock-based project resolution

* feat: first working example
2025-01-20 14:51:09 +08:00
Myriad-Dreamin
e4bf2e9e46
feat: run project compilations on main thread (#1197)
* dev: handle compile interrupt

* dev: remove cache task use

* feat: create project crate again

dev: changes

feat: delete unused code

fix: errors

fix: errors

* feat: extra compilation is not needed

* dev: implement all todos

* fix: make event queue unbounded

* fix: make preview work again

* feat: event-driven recompilation

* feat: evict vfs cache

* feat: update evict strategy

* feat: remove lock update
2025-01-19 22:28:38 +08:00
Myriad-Dreamin
56714675b7
feat: encode and use workspace information into PackageSpec (#1187)
* feat: remove an unused API

* feat: encode workspace information into `PackageSpec`

* feat: remove unused real_path

* feat: remove unused mtime

* feat: add ResolveAccessModel

* feat: implement id overlay semantics

* feat: remove mtime checking in overlay model

* feat: remove mtime checking in notify model

* feat: format ids

* fix: cases

* feat: resolve root by world

* dev: add untitled root

* fix: warnings

* fix: a wrong usage

* fix: snapshots

* fix: tests
2025-01-19 11:51:00 +08:00
Myriad-Dreamin
1779209337
feat: build tinymist-world on web (#1184)
* feat: build tinymist-world on web

* fix: features

* dev: edit readme
2025-01-19 09:49:52 +08:00
Myriad-Dreamin
6180e343e0
feat: move world implementation (#1183)
* feat: move world implementation

* dev: remove vector ir

* fix: errors

* fix: clippy

* fix: don't build world in web

* fix: unused patches

* fix: fmt

* fix: docs example

* fix: doc examples
2025-01-19 08:25:35 +08:00
Myriad-Dreamin
a9437b2772
dev: remove unused deps (#1182) 2025-01-17 12:12:17 +08:00
Myriad-Dreamin
270734612d
dev: merge tinymist-project and tinymist-world crate (#1179)
* dev: merge tinymist-project and tinymist-world crate

* fix: warnings and errors
2025-01-17 11:24:36 +08:00