Myriad-Dreamin
e4a4fc568f
fix: correct rename on unix platforms caused by pathdiff#8 ( #1587 )
...
* fix: correct rename on unix platforms caused by pathdiff#8
* fix: ensure all calls to pathdiff
* fix: names
* fix: file path on windows
2025-03-26 12:46:33 +08:00
Myriad-Dreamin
10ec787cc9
dev: stateful requests now accept snapshot ( #1581 )
...
* dev: stateful requests now accept snapshot
* dev: add some convenient methods
* dev: remove unused latest_doc state
* dev: use graph
* docs: comment
* fix: bad flag
2025-03-25 16:28:00 +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
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
478842c6bc
feat: exit if compile errors happen ( #1512 )
2025-03-16 16:41:04 +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
7c78171987
build(pkg): bump version to 0.13.4-rc1 ( #1433 )
2025-03-01 23:17:54 +08:00
Myriad-Dreamin
6130a0062c
fix: apply memory changes to dedicate instances ( #1371 )
2025-02-22 20:54:18 +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
d470cb061f
dev: remove some heavy logging ( #1338 ) ( #1340 )
2025-02-20 01:48:42 +08:00
Myriad-Dreamin
497c82588d
dev: log vfs on didChanged ( #1311 ) ( #1332 )
2025-02-20 00:47:16 +08:00
Myriad-Dreamin
0c64bea89e
fix: emit latest status and artifact with correct signals ( #1294 ) ( #1330 )
...
* fix: emit latest compiled artifact with correct signals
* fix: bad guard
2025-02-19 22:34:11 +08:00
Hong Jiarong
47fff57cbb
fix: add tinymist-task/no-content-hint to tinymist-project ( #1297 )
2025-02-17 20:20:05 +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
5b2b34ee9e
fix: make preview feature gate work
2025-02-08 14:55:47 +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
36d07464c1
refactor: tail log error that is ignorable ( #1244 )
2025-02-02 13:59:55 +08:00
Myriad-Dreamin
2b56e71435
feat: watch dependencies of multiple projects ( #1231 )
2025-01-30 01:44:57 +08:00
Myriad-Dreamin
8d588c1057
fix: correct impl WorldProvider::entry for CompileOnceArgs ( #1230 )
2025-01-30 00:26:12 +08:00
Myriad-Dreamin
0451a1089d
dev: handle compilation notifications for multiple projects ( #1229 )
...
* dev: handle multiple-project notifications
* dev: remove todo
2025-01-30 00:25:59 +08:00
Myriad-Dreamin
af47f578e4
dev: cleanup project creation ( #1227 )
2025-01-29 20:57:34 +08:00
Myriad-Dreamin
7647d807ec
feat: replace diag_group id with project_id ( #1224 )
2025-01-29 19:40:31 +08:00
Myriad-Dreamin
0b4014be80
feat: CLI generate shell build script ( #1219 )
...
* feat: CLI generate shell build script
* dev: update build script sample
2025-01-28 15:13:59 +08:00
Myriad-Dreamin
b541daf50e
feat: CLI compile documents with lock updates ( #1218 )
2025-01-28 13:57:27 +08:00
Myriad-Dreamin
1b80d8c31d
feat: execute export and query on the task model ( #1214 )
...
* feat: extract id and doc id from config
* dev: merge `TaskWhen` and move `PathPattern`
* g
* dev: let it compile
* dev: rename a bit
* dev: finish cmd conversions
* dev: configure server
* dev: run export
* dev: clean code
* dev: parse gap on export
* fix: when test
2025-01-27 13:14:17 +08:00
Myriad-Dreamin
86d3b912d4
fix: try getting font index which is hit by comemo ( #1213 )
2025-01-27 09:58:24 +08:00
Myriad-Dreamin
0a91f0d2b4
refactor: rearrange state crates ( #1205 )
...
* refactor: rearrange states
* feat: remove MemoryFileMeta
* feat: split server.rs
2025-01-21 01:32:19 +08:00
Myriad-Dreamin
ac25cc1365
refactor: rearrangement and document about tinymist-project ( #1204 )
...
* refactor: rearrangement and document about tinymist-project
* refactor: more rearrangement and document about tinymist-project
2025-01-21 00:56:30 +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
89c178295a
feat: initiate lockDatabase project resolution ( #1201 )
...
* feat: create a configuration
* docs: edit description
* docs: edit description
* feat: add lock update
* test: make configuration work
2025-01-20 12:45:23 +08:00
Myriad-Dreamin
d5ecf052d4
feat: detect compilation-related vfs changes ( #1199 )
2025-01-20 01:38:40 +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
1f01ec1f6c
feat: track fine-grained revisions of font, registry, entry, and vfs ( #1192 )
...
* feat: set flag to indicate whether we are compiling files
g1
dev: stateless compile
dev: vfs revise apis
g1
feat: bump revision on state changes
feat: track font and package changes
dev: some cases that can change state of cache
changes
* feat: implement shared source cache
* fix: take db state
* dev: update take state location
* fix: example
2025-01-19 18:23:41 +08:00
Myriad-Dreamin
8481b77e3c
perf: remove meta watch ( #1191 )
...
* dev: remove meta watch
* feat: watch.rs changes
* dev: remove `is_file` checking
* dev: remove `is_file` checking (cont.)
2025-01-19 12:40:06 +08:00
Myriad-Dreamin
884a4b50e7
perf: reduce size of the watch entry ( #1190 )
...
* dev: reduce size of the watch entry
* feat: watch.rs changes
2025-01-19 12:26:57 +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
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
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
Myriad-Dreamin
448ce484d8
fix: clippy error in rust 1.84 and deny warnings in CI ( #1178 )
...
* fix: clippy error in 1.84
* fix: deny warnings
* fix: clippy warnings and doc errors
* fix: warnings
* fix: warnings
* fix: warnings
* fix: compile error
2025-01-15 20:26:34 +08:00
Myriad-Dreamin
0e2874a6c9
dev: update route model ( #1154 )
...
* dev: update route model
* build: update cargo.lock
2025-01-11 18:09:36 +08:00
Myriad-Dreamin
c0d8f0db1c
dev: change first arg of LockFile::update to workspace root ( #1153 )
2025-01-11 18:09:26 +08:00
Myriad-Dreamin
6fa10f63fc
feat: add more kinds of export task ( #1152 )
2025-01-11 18:09:15 +08:00
Myriad-Dreamin
da16d14d2d
feat: implement From<ResourcePath> for Id ( #1151 )
2025-01-11 17:44:50 +08:00