Commit graph

37 commits

Author SHA1 Message Date
Myriad-Dreamin
d0a478929e
fix: don't export on entry change and first filesystem sync (#1854)
Some checks are pending
tinymist::ci / build-vscode-others (push) Blocked by required conditions
tinymist::ci / publish-vscode (push) Blocked by required conditions
tinymist::ci / build-vsc-assets (push) Blocked by required conditions
tinymist::ci / build-vscode (push) Blocked by required conditions
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / E2E Tests (darwin-arm64 on macos-latest) (push) Blocked by required conditions
tinymist::ci / E2E Tests (linux-x64 on ubuntu-22.04) (push) Blocked by required conditions
tinymist::ci / E2E Tests (linux-x64 on ubuntu-latest) (push) Blocked by required conditions
tinymist::ci / E2E Tests (win32-x64 on windows-2019) (push) Blocked by required conditions
tinymist::ci / E2E Tests (win32-x64 on windows-latest) (push) Blocked by required conditions
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / build-binary (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run
* fix: make real onSave export conditions

* fix: remove fix

* feat: pass export tests

* fix: revert bootstrap changes

* feat: reduce num of exports

* fix: diag tests
2025-06-29 21:54:05 +08:00
Myriad-Dreamin
7de64aefe5
fix: compile warnings (#1774) 2025-05-22 11:37:44 +08:00
Myriad-Dreamin
38974a3b5e
feat: autofix unknown variable: a and file not found (searched at a.typ) by code action (#1743)
* feat: check context

* feat: implement it

* fix: warnings

* test: update snapshot
2025-05-09 23:44:12 +08:00
Myriad-Dreamin
d6d3766b6f
feat: add command to profile the entire server (#1438)
* feat: declare and bind tinymist.profileServer command

* feat: editor bridge with the frontend

* feat: start and stop server profiling

* feat: add profile-server prototype (#1440)

* Add profile-server prototype

* fix: use branch

---------

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

* feat: make it good

* build: update cargo.lock

* dev: ls profile impl and hook

* test: update snapshot

---------

Co-authored-by: Derived Cat <hooyuser@outlook.com>
2025-05-09 15:29:24 +08:00
Myriad-Dreamin
4871cd3917
build: bump version to 0.13.12 (#1715)
* docs: update changelog

* build: bump version to 0.13.12

* build: bump assets  to v0.13.12
2025-04-30 14:45:23 +08:00
Myriad-Dreamin
0552d4bb4f
build: bump version to 0.13.12-rc6 (#1713)
* fix: sync-ls warnings

* build: bump version to 0.13.12-rc6

* fix: lint config bug

* build: fix assets ver

* feat: bump asset crate
2025-04-30 13:53:28 +08:00
Myriad-Dreamin
f4a6d2b271
build: bump version to 0.13.12-rc5 (#1710)
* build: bump version to 0.13.12-rc5

* build: bump assets to v0.13.12-rc5

* docs: edit changelog
2025-04-30 02:09:28 +08:00
Myriad-Dreamin
f503298f48
feat: model and make reset_read public (#1705) 2025-04-25 21:24:59 +08:00
Myriad-Dreamin
84569fb98c
refactor: update comments and refactor (#1694)
* docs: update comments

* docs: refactor
2025-04-21 18:48:25 +08:00
Myriad-Dreamin
bef0f839e2
feat: update docs and remove unnecessary shared access model (#1693) 2025-04-21 17:35:36 +08:00
Myriad-Dreamin
670f2713a5
docs: update sync-ls comments (#1689)
* docs: update `sync-ls` comments

* fix: fmt
2025-04-20 16:42:42 +08:00
Myriad-Dreamin
923155a2e2
build: bump version to 0.13.12-rc4 (#1680) 2025-04-18 02:40:51 +08:00
Myriad-Dreamin
8f4f07673f
build: bump version to 0.13.12-rc3 (#1676)
* build: bump version to 0.13.12-rc3

* build: update assets
2025-04-17 20:23:38 +08:00
Myriad-Dreamin
a3758038ee
build: bump version to 0.13.12-rc2 (#1674)
* build: bump version to v0.13.12-rc2

* build: update targets

* build: update assets

* fix: warning
2025-04-17 17:02:34 +08:00
Myriad-Dreamin
4d13734fed
feat: clean up log and watch lints (#1659) 2025-04-16 15:02:49 +08:00
Myriad-Dreamin
71116758ef
build: bump world crates to 0.13.12-rc1 (#1608)
* refactor: move `debug_loc`

* build: fix rev

* build: bump tinymist inner version

* build: bump tinymist world version

* build: bump world crates to 0.13.12-rc1

* fix: used bad patch

* fix: clippy errors
2025-03-31 16:01:51 +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
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
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
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
497c82588d
dev: log vfs on didChanged (#1311) (#1332) 2025-02-20 00:47:16 +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
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
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
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
a25d208124
dev: intentionally leak paths in vfs (#1186) 2025-01-19 09:50:13 +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