Commit graph

130 commits

Author SHA1 Message Date
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
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
ffb8ebd52f
chore: update workflow files (#1513) 2025-03-16 16:41:13 +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
288243c2f5 feat: gen on ci 3 2025-03-11 11:16:35 +08:00
Myriad-Dreamin
732b1488f6 feat: gen on ci 2 2025-03-11 11:07:41 +08:00
Myriad-Dreamin
a572e3c5c0 feat: gen on ci 2025-03-11 10:56:02 +08:00
Myriad-Dreamin
ce90489017 feat: generate documentation in PDF format 2025-03-11 10:56:02 +08:00
Myriad-Dreamin
9acf9fbfa7
fix: nightly condition (#1437) 2025-03-02 15:20:28 +08:00
Myriad-Dreamin
7f0131c333
feat(ci): create release directly (#1436)
* feat(ci): create release directly

* fix: env position to read inputs

* fix: env position to read inputs

* fix: invalid word

* docs: update changelog

* fix: gh-token

* fix: grant permissions
2025-03-02 02:16:36 +08:00
Myriad-Dreamin
2c235a4259
fix: allow dirty to publish frontend assets (#1435)
* fix: allow dirty to publish frontend assets

* build: publish it
2025-03-01 23:23:32 +08:00
Myriad-Dreamin
5babd2b8f8
feat(ci): publish asset crate in CI (#1434)
* feat(ci): publish asset crate in CI

* feat: update name
2025-03-01 23:17:40 +08:00
Myriad-Dreamin
bbed728b82
feat: bump msrv and rust to v1.83 and v1.85 (#1407) 2025-02-26 14:40:23 +08:00
Myriad-Dreamin
208ce3dbad
feat(ci): use rust-toolchain.toml (#1406)
* feat(ci): use `rust-toolchain.toml`

* test: check toolchain

* fix: again

* fix: name
2025-02-26 14:33:30 +08:00
Myriad-Dreamin
3590774383
test(ci): test about completion script generation (#1387) 2025-02-24 11:59:47 +08:00
Myriad-Dreamin
fee3da7195 fix: disable hack feature when verifying publish of crates 2025-02-23 10:47:13 +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
0260bfb527
feat: don't bump rust toolchain in ci casually (#1348) 2025-02-21 01:42:16 +08:00
Myriad-Dreamin
25624baad3
feat: add release crates action (#1298) 2025-02-16 13:47:16 +08:00
Myriad-Dreamin
a4ac6780fe
fix(ci): clippy check default feature 2025-02-08 15:07:31 +08:00
Myriad-Dreamin
0eb6837fd6
fix(ci): use upload-pages-artifact and configure-pages (#1251) 2025-02-02 15:01:06 +08:00
Myriad-Dreamin
8aef1974db
fix(ci): use deploy-pages v4 (#1249) 2025-02-02 14:56:39 +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
25bb1b2fbc
fix(ci): broken script (#1171) 2025-01-14 20:39:04 +08:00
Myriad-Dreamin
17192ca9ae
ci: generate announcement (#1170)
* ci: generate announcement

* dev: delete comment
2025-01-14 20:32:56 +08:00
Myriad-Dreamin
d7dd2f30cf
feat: bootstrap lsp-free features in web (#1105)
* feat: bootstrap lsp-free features in web

* ci: update build script

* ci: update system build script

* dev: touch extension file in web

* dev: touch extension file in system

* fix: bug import

* fix: bug touch
2025-01-03 13:47:52 +08:00
Myriad-Dreamin
d32f6261f1
feat: build tinymist targeting web (#1102)
* feat: add web target

* dev: simple package rule

* dev: update web release

* dev: update workspace

* ci: setup wasm pack

* ci: correct path to upload

* ci: build artifact

* fix: update metadata and launch config
2025-01-03 10:30:38 +08:00
Myriad-Dreamin
dd67518248
chore: fix naming of universal platform (#1063) 2024-12-24 12:30:16 +08:00
Myriad-Dreamin
8f88f248a9
ci: build universe target vscode extension for other platforms (#1059)
* ci: build universe target vscode extension for other platforms

* chore: add comments
2024-12-23 20:21:24 +08:00
Myriad-Dreamin
b1bb3196b7
ci: build binaries for riscv64-linux-musl, loongarch64-linux-{musl,gnu} (#1014)
* dev: patch cargo-dist

* dev: patch cargo-dist 2
2024-12-17 15:53:34 +08:00
Myriad-Dreamin
83fe1e7987
ci: generate binaries using cargo-dist (#1009)
* ci: generate binaries using `cargo-dist`

* chore: clean script

* fix: checking

* dev: update dist workspace

* dev: fix script

* docs: move announcement
2024-12-17 01:55:54 +08:00
Myriad-Dreamin
9d93e3bb27
ci: check that the specified msrv is tested correctly (#1008) 2024-12-16 22:34:11 +08:00
Myriad-Dreamin
0ded9e7d79
test(ci): also run tests on windows (#925)
* test(ci): also runs tests on windows and macos

* dev: remove tests on macos
2024-12-02 20:28:51 +08:00
Myriad-Dreamin
d9717fffa2
test(ci): add fmt, clippy, doc, and msrv tests to CI (#926)
* test(ci): add fmt, clippy, doc, and msrv tests to CI

* test(ci): check and build typst-preview

* fix: checks
2024-12-02 20:28:29 +08:00
Myriad-Dreamin
e1848488f0
revert: undo "feat: add package related arguments to typstExtraArgs (#832 and #833)" (#891)
* Revert "fix: cross build with `vendor-openssl` feature and bump version to 0.12.4-rc2 (#884)"

This reverts commit 254c4ce087.

* Revert "feat: add package related arguments to `typstExtraArgs` (#833)"

This reverts commit 8e36f25cf2.

* Revert "feat: use typst-kit's package functions (#832)"

This reverts commit d2afe78fee.

* build: bump version to 0.12.4-rc3

* docs: update changelog
2024-11-23 14:17:40 +08:00
Myriad-Dreamin
254c4ce087
fix: cross build with vendor-openssl feature and bump version to 0.12.4-rc2 (#884)
* fix: cross build with `vendor-openssl` feature

* build: bump version to 0.12.4-rc2
2024-11-22 17:53:09 +08:00
Myriad-Dreamin
bdb127109f
dev(ci): upload log even if CI is failing (#787) 2024-11-09 22:07:48 +08:00
Myriad-Dreamin
c830048b61
chore: upload test snapshot for debugging (#760) 2024-11-02 14:52:34 +08:00
Myriad-Dreamin
2c38695b6f
docs: maintain readme and command docs (#733)
* docs: maintain readme and command docs

* docs: update inline images

* test: update snapshot

* test: update baseline

* test: update baseline
2024-10-26 22:47:12 +08:00
Myriad-Dreamin
7ed731b0e5
build: bump node version to 22 in gh_pages (#711) 2024-10-19 23:06:12 +08:00
Myriad-Dreamin
0a008c8cc5
fix: bad directories not found (#695) 2024-10-17 00:59:07 +08:00
Myriad-Dreamin
0bdaadbacd
fix: publish script with tests (#665)
* fix: publish script

* fix: publish script with tests

* dev: print env

* fix: guess reason

* fix: guess reason
2024-10-12 11:01:58 +08:00
Myriad-Dreamin
f5520691fa
build: bump node version to 22 (#654) 2024-10-10 11:39:48 +08:00
Myriad-Dreamin
471b2fd349 fix: publish script (#653) 2024-10-10 11:11:00 +08:00
Myriad-Dreamin
654a5d1aa5 feat: create new pull request rule (#650)
* feat: create new pull request rule

* fix: cargo.toml

* fix: package meta
2024-10-10 11:11:00 +08:00
Myriad-Dreamin
f3ccb4a186
build: bump version to 0.11.22 (#611)
* build: bump version to 0.11.22

* fix: bugs in package view

* feat: check release version for nightly releases
2024-09-28 07:38:25 +08:00
Myriad-Dreamin
a7951b3832
build: bump shiroa to 0.2.0-nightly4 (#574) 2024-08-27 19:31:41 +08:00
Myriad-Dreamin
96d5ba0c00
test: increase the difficulty of diagnostic testing (#457) 2024-07-25 20:04:03 +08:00
Myriad-Dreamin
7aca6a657f
test: add editor-side e2e testing (#441)
* test: first runnable editor e2e

* test: first smoke testing

* fix: a bug found by editor e2e

* test: add completion e2e testing

* test: add diagnostics and focus e2e testing

* feat: test extension in ci

* dev: remove one useless dependency

* dev: setup x server for testing

* dev: recover stable test

* test: add multiple preview e2e testing
2024-07-20 18:52:15 +08:00
Myriad-Dreamin
28899d801f build: bump version to v0.11.15-rc3 2024-07-14 20:43:20 +08:00