Commit graph

944 commits

Author SHA1 Message Date
Myriad-Dreamin
d003db776c
fix: make tinymist-cli's argument names unique (#1388) 2025-02-24 11:39:09 +08:00
Myriad-Dreamin
a5e210813a
fix: term math text as content instead of string (#1386) 2025-02-24 11:31:27 +08:00
Myriad-Dreamin
1589cdd5df
feat: print type representation of anonymous modules (#1385)
* feat: print type representation of anonymous modules

* test: update snapshot
2025-02-24 11:26:32 +08:00
LN Liberda
7c0d9130eb
fix: expose and default to no-content-hint in typlite (#1381) 2025-02-24 10:28:25 +08:00
Myriad-Dreamin
09b79330b8 build: bump version to 0.13.0 2025-02-23 18:49:52 +08:00
Myriad-Dreamin
213951aff6 dev: remove log 2025-02-22 22:04:19 +08:00
Myriad-Dreamin
2a67f1a153 chore: check stop all 2025-02-22 22:04:19 +08:00
Myriad-Dreamin
3db931a1bb fix: stop all will make it address change 2025-02-22 22:04:19 +08:00
Myriad-Dreamin
91ba33b274 chore: add log 2025-02-22 22:04:19 +08:00
Myriad-Dreamin
265a6f09c4 refactor: style 2025-02-22 22:04:19 +08:00
Myriad-Dreamin
8004ae646e
fix: remove diagnostics when removing a project (#1372) 2025-02-22 20:54:33 +08:00
Myriad-Dreamin
6130a0062c
fix: apply memory changes to dedicate instances (#1371) 2025-02-22 20:54:18 +08:00
Myriad-Dreamin
5278a9ef45
fix: share preview handler among states (#1370) 2025-02-22 20:53:57 +08:00
Myriad-Dreamin
9ad8722ac8
feat: iterating find dedicate instance is not needed (#1369) 2025-02-22 20:53:30 +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
5c56ade2c4
fix: simplify dependency features in cargo.toml (#1363) 2025-02-21 18:42:38 +08:00
Myriad-Dreamin
400dc7b722
fix: don't change focus main if is pinning by preview (#1357) 2025-02-21 14:18:44 +08:00
Myriad-Dreamin
b4a0957f6e
fix: add console diagnostics printing back for tinymist preview (#1359)
* fix: add console diagnostics printing back

* feat: print conditionally
2025-02-21 14:17:23 +08:00
Myriad-Dreamin
4ce4e79d4c
fix: loose and test origin checking of the preview server (#1353)
* fix: loose and test origin checking of the preview server

* feat: check scheme

* feat: check expected origin without hacking
2025-02-21 13:18:47 +08:00
Myriad-Dreamin
22ce78dd1e
fix: handle compile events in standalone preview server (#1349) 2025-02-21 11:44:36 +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
cdd9282c37
fix: log error on channel closed (#1347) 2025-02-20 20:45:44 +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
Myriad-Dreamin
d470cb061f
dev: remove some heavy logging (#1338) (#1340) 2025-02-20 01:48:42 +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
6d2de24a05
fix: respect that the port of the expected_origin can be zero (#1295) (#1337) 2025-02-20 01:04:33 +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
9904189910
fix: the path to join is shadowed by a local variable (#1322) (#1335)
* fix: the path to join is shadowed by a local variable

* fix: redact target uri
2025-02-20 00:50:10 +08:00
Myriad-Dreamin
cb51d67e7d
chore: remove a finished todo (#1320) (#1334) 2025-02-20 00:49:55 +08:00
Myriad-Dreamin
497c82588d
dev: log vfs on didChanged (#1311) (#1332) 2025-02-20 00:47:16 +08:00
Myriad-Dreamin
803cc1ffaf
feat: support more path types and add path parameters (#1312) (#1331)
* feat: support more path types and add path parameters added in typst … (#1312)

* feat: support more path types and add path parameters added in typst 0.13.0

* test: update snapshot

* test: update snapshot
2025-02-20 00:43:47 +08:00
Myriad-Dreamin
5b72f760bb
fix: set is compiling flag (#1293) (#1328) 2025-02-20 00:35:59 +08:00
Myriad-Dreamin
63e368c2bb
feat: disable logs in stable span2vec (#1291) (#1327) 2025-02-19 23:57:47 +08:00
Myriad-Dreamin
d3e7027d67
feat: add FromArc and ArcInto (#1288) (#1326) 2025-02-19 22:57:34 +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
Myriad-Dreamin
26fd50febf
fix: invalidate and increment revision in vfs correctly (#1292) (#1329)
* fix: invalid fs changes

* chore: print clean vfs state

* fix: increment revision in vfs correctly
2025-02-19 22:15:34 +08:00
Myriad-Dreamin
5920b1b671
feat: ensure main in compile function (#1287) (#1325) 2025-02-19 22:01:28 +08:00
Hong Jiarong
f5fb352a2a
fix(typlite): correct the wrong path (#1323)
* fix: wrong path

* fmt
2025-02-19 21:12:12 +08:00
Hong Jiarong
55f8392692
feat(typlite): render context block contextually (#1305)
* feat: render contexual node with environment at context

* fix: extend value check to include additional node types

* feat: add assets_path and assets_src_path, support render to external svg file

* fix: clippy

* fix

* fix test error

* fix: simplify write_error function

* refactor: rename 'pref' to 'prepend_code' for clarity; fix: wrong render_inner

* refactor: simplify file name generation for asset paths

* fix: use PathBuf instead of EcoString for path display

* fix: handle Hash

* fix: clippy

* tests: update test@annotate_docs_error.typ.snap
2025-02-19 12:04:05 +08:00
Myriad-Dreamin
7b8e275089
feat: browsing preview (#1234)
* feat: browsing preview

* feat: add browsing-preview command

* refactor: check pin status on main thread

* feat: preview without specifying main

* feat: implement tinymist.doStartBrowsingPreview

* test: update snapshot
2025-02-18 20:51:19 +08:00
Myriad-Dreamin
deb1425e74
feat: move less used codelens into a single "more" codelens (#1315)
* feat: move less used codelens into a single "more" codelens

* dev: update snapshot
2025-02-18 20:16:48 +08:00
Hong Jiarong
33df227b17
feat: embed Markdown codes (#1296)
* feat: directly output raw language 'typlite'

* docs: raw output
2025-02-18 10:14:17 +08:00
Hong Jiarong
b24a7fd497
feat: evaluate table and grid (#1300)
* feat: add table and grid functions evaluating

* fix: clippy

* refactor: simplify table and grid functions by extracting common logic

* fix: handle invalid columns argument and set default value; handle no header situation
2025-02-18 10:14:02 +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
c38a1a52ad
fix: consider interpret mode when classifying dot accesses (#1302)
* fix: consider interpret mode when classifying dot accesses

* chore: unwrap if

* test: cases mentioned in #1209

* test: more cases mentioned in #1209
2025-02-17 17:54:14 +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
4b5a99adcf
refactor: make variable names clear (#1274) 2025-02-08 15:15:55 +08:00