Commit graph

388 commits

Author SHA1 Message Date
Myriad-Dreamin
cbe6d3ec71
fix: two errors during refactoring (#370) 2024-07-06 14:48:49 +08:00
Myriad-Dreamin
a8d470222f
feat: support single-task preview commands (#368)
* refactor: adjust compat code

* refactor: extension side code

* dev: setup preview state

* refactor: lsp side code

* dev: first successful preview

* dev: respect compile reason

* dev: update snapshot

* dev: log a bit

* fix: refresh style

* dev: properly start and stop

* dev: throw error correctly

* dev: update deprecation note

* dev: remove preview cli input/font arguments

* build: don't ignore frontend file

* dev: polyfill non-text editions

* dev: clean some code

* dev: clean some code

* dev: eliminate preview html in tinymist extension

* dev: eliminate CompilationHandleImpl and CompileServer

* dev: stop browser preview correctly

* dev: update configuration
2024-07-06 13:27:17 +08:00
Myriad-Dreamin
39158070d7
fix: lsp should respond errors at tail (#367) 2024-07-04 00:51:44 +08:00
Myriad-Dreamin
d5456c05b0
dev: add cast method to lsp client (#366) 2024-07-03 23:53:51 +08:00
Myriad-Dreamin
1a5b146d36
refactor: combine typst-preview and tinymist extension code (#364)
* dev: move preview methods to compile handler

* dev: move preview code

* refactor: combine typst-preview and tinymist extension code

* fix: indent
2024-07-03 23:25:18 +08:00
Myriad-Dreamin
c51bc163c4 fix: vsce again 2024-07-02 21:00:33 +08:00
Myriad-Dreamin
194e8adeb0 fix: vsce 2024-07-02 16:07:06 +08:00
Myriad-Dreamin
4c949e8816
feat: fully concurrent lsp (#363)
* fix: dep hash

* dev: exp concurrent hash

* feat: fully concurrent lsp

* dev: disable concurrent compilation
2024-07-02 14:01:42 +08:00
Myriad-Dreamin
023513e085
build: bump version to 0.11.13 (#362)
* build: update changelog

* build: bump version to 0.11.13
2024-07-02 12:36:45 +08:00
Myriad-Dreamin
bc98d13eeb
fix: check main before compilation (#361) 2024-07-02 11:08:35 +08:00
Myriad-Dreamin
23a31df815
build: optimize release profile (#359)
* build: keep rust's default profiles untouched

* build: optimize release profile
2024-07-02 10:27:41 +08:00
Myriad-Dreamin
849f7a894d
feat: move sync-lsp crate (#358)
* feat: move sync-lsp crate

* fix: doc tests
2024-07-02 10:27:00 +08:00
Myriad-Dreamin
9aa7a22bd7
feat(ci): upgrade macos runner (#360) 2024-07-02 03:40:46 +08:00
Myriad-Dreamin
230b36de4b
fix: diagnostics is gone (#354) 2024-06-28 21:54:52 +08:00
Myriad-Dreamin
02437eb8af dev: update release script 2024-06-28 10:48:16 +08:00
Myriad-Dreamin
54b0207fe1
build: serve crate docs (#353)
* build: crate docs

* docs: update table of contents
2024-06-28 10:03:26 +08:00
Myriad-Dreamin
7f1de87765
build: bump version to 0.11.12 (#352)
* build: bump dependencies

* docs: update changelog

* build: bump version to 0.11.12

* chore: stupid patch
2024-06-28 09:08:09 +08:00
Myriad-Dreamin
ce8baa80b2
fix: completion in string context a bit (#351)
* fix: completion in string context a bit

* fix: side effect snapshot
2024-06-27 18:30:34 +08:00
Myriad-Dreamin
6967dc5a22
fix: bad early return in param_completions (#350)
* fix: bad early return in param_completions

* dev: update snapshot

* dev: filter result
2024-06-27 16:31:50 +08:00
Myriad-Dreamin
0a1c625397
fix: avoid duplicated method completion (#349) 2024-06-27 16:00:08 +08:00
Myriad-Dreamin
a3724bc87f
feat: remove cast completion (#348)
* feat: remove cast completion

* fix: update snapshot
2024-06-27 15:42:40 +08:00
Myriad-Dreamin
00ec24e18f
dev: terminate expression before math blocks (#347)
* docs: minor updates

* dev: terminate expression before math blocks
2024-06-26 18:14:04 +08:00
Myriad-Dreamin
7faf7973ef
feat: disable bracket colorization in markup mode (#346)
* docs: minor updates

* feat: disable bracket colorization in markup mode
2024-06-26 18:13:55 +08:00
Myriad-Dreamin
eccfe42d1a
docs: minor updates (#345) 2024-06-26 16:40:21 +08:00
Myriad-Dreamin
39d6c0affe
docs: add base documentation (#344) 2024-06-26 16:33:33 +08:00
Myriad-Dreamin
c7d0ebd3bd
feat: replace harness with sync_lsp (#343)
* feat: replace harness with sync_lsp

* dev: defer getting notification handlers

* fix: snapshot

* dev: add notes
2024-06-26 14:41:13 +08:00
Myriad-Dreamin
6fcad1c1c7
feat: prepare for parallelizing lsp requests (#342)
* feat: migrate steal_sync to snapshot_sync

* feat: correctly make world/analysis snapshot

* very rayon

* dev: recover async lsp request

* gg

* dev: pin

* fix: make server stable

* dev: disable concurrent server by default

* dev: very sync
2024-06-26 10:37:57 +08:00
Myriad-Dreamin
5e4e1e9877
refactor: pick state changes (#338)
* dev: make clippy happy

* refactor: pick state changes

---------

Co-authored-by: QuarticCat <QuarticCat@pm.me>
2024-06-23 12:31:03 +08:00
Myriad-Dreamin
7d65829ed7
refactor: combine typst-preview and tinymist compiler (#337)
* refactor: combine typst-preview and tinymist compiler

* dev: update link

* fix: bad changes

* dev: sync snapshot compiler
2024-06-22 15:06:42 +08:00
Myriad-Dreamin
b265dd49d6
refactor: combine typst-preview and tinymist binary (#332)
* refactor: combine typst-preview and tinymist binary

* dev: externalize assets

* dev: improve deps

* dev: bad deps
2024-06-21 19:23:31 +08:00
Myriad-Dreamin
82a9b3b8c3 build: publish tinymist-assets 2024-06-18 13:39:50 +08:00
Myriad-Dreamin
bb9f30fcdf
feat: move typst-preview to tinymist (#323)
* merge preview crates

Co-authored-by: mgt <mgt@oi-wiki.org>
Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
Co-authored-by: slanterns <slanterns.w@gmail.com>
Co-authored-by: Bubbleioa <1342130847@QQ.com>
Co-authored-by: 7mile <i@7li.moe>
Co-authored-by: 7sDream <7822577+7sDream@users.noreply.github.com>
Co-authored-by: Aldric.li <31800073+Parsifa1@users.noreply.github.com>
Co-authored-by: Andrew Voynov <37143421+Andrew15-5@users.noreply.github.com>
Co-authored-by: AsukaMinato <i@asukaminato.eu.org>
Co-authored-by: Banson <xzcxzcyy@126.com>
Co-authored-by: Kian-Meng Ang <kianmeng.ang@gmail.com>
Co-authored-by: Marlon Regenhardt <marlon.r@hotmail.de>
Co-authored-by: OrangeX4 <34951714+OrangeX4@users.noreply.github.com>
Co-authored-by: Severi Salminen <severi.salminen@iki.fi>
Co-authored-by: Wisha W <49518157+wishawa@users.noreply.github.com>
Co-authored-by: werifu <wohu1363195380@outlook.com>

* chore: minimize images

* feat: move typst-preview to tinymist

* build: merge npm dependencies

* build: merge npm dependencies 2

* build: use assets TYPST_PREVIEW_HTML

* build(ci): bundle typst-preview package

* dev: add convenient script for building

* build: update yarn.lock

---------

Co-authored-by: mgt <mgt@oi-wiki.org>
Co-authored-by: slanterns <slanterns.w@gmail.com>
Co-authored-by: Bubbleioa <1342130847@QQ.com>
Co-authored-by: 7mile <i@7li.moe>
Co-authored-by: 7sDream <7822577+7sDream@users.noreply.github.com>
Co-authored-by: Aldric.li <31800073+Parsifa1@users.noreply.github.com>
Co-authored-by: Andrew Voynov <37143421+Andrew15-5@users.noreply.github.com>
Co-authored-by: AsukaMinato <i@asukaminato.eu.org>
Co-authored-by: Banson <xzcxzcyy@126.com>
Co-authored-by: Kian-Meng Ang <kianmeng.ang@gmail.com>
Co-authored-by: Marlon Regenhardt <marlon.r@hotmail.de>
Co-authored-by: OrangeX4 <34951714+OrangeX4@users.noreply.github.com>
Co-authored-by: Severi Salminen <severi.salminen@iki.fi>
Co-authored-by: Wisha W <49518157+wishawa@users.noreply.github.com>
Co-authored-by: werifu <wohu1363195380@outlook.com>
2024-06-17 17:22:45 +08:00
7sDream
8784a07b2b
feat: add font list export panel in summary tool (#322)
* feat(vscode/summary): add font list export pannel

* feat: json/csv format,  export to file and state persistence
2024-06-17 17:17:11 +08:00
Myriad-Dreamin
1c653d5fd2
build: bump version to 0.11.11 (#331)
* docs: update changelog

* build: bump version to 0.11.11

* fix: wording
2024-06-17 13:36:40 +08:00
Wenzhuo Liu
a08ba75a49
chore: bump typstyle to v0.11.26 (#326) 2024-06-17 12:57:37 +08:00
Myriad-Dreamin
340410fe63
fix: accumulate export events correctly (#330)
* fix: accumulate export events correctly

* dev: rename a variable

* dev: improve readability

* dev: loose export condition
2024-06-17 12:57:22 +08:00
Myriad-Dreamin
a1bd1c6698
dev: accurate warn on out-of-bound conversion (#329) 2024-06-17 11:06:10 +08:00
Myriad-Dreamin
95a68d2559
feat: implements experimental/onEnter (#328)
* feat: implements `experimental/onEnter`

* docs: update readme

* dev: update snapshot

* dev: allow configuration
2024-06-16 17:33:46 +08:00
Myriad-Dreamin
8d753d8c56
fix: handle the conversion of offset at the EOF (#325)
* fix: handle the conversion of offset at the EOF

* fix: clippy error

* fix: snapshot
2024-06-15 03:37:39 +08:00
QuarticCat
27fa1beb26
refactor: simplify pin_entry (#320)
* refactor: simplify pin_entry

* fix: update self.pinning
2024-05-31 14:52:32 +08:00
Lars Wrenger
257a6bcb86
feat: generate names for destructuring closure params (#319) 2024-05-31 12:24:08 +08:00
QuarticCat
10b0fd7ea3
refactor: combine CompileClient and CompileClientActor (#318)
* refactor: combine CompileClient and CompileClientActor

* refactor: improve comment
2024-05-30 21:09:35 +08:00
Myriad-Dreamin
82e75f362a
feat: highlights all break points for that loop context (#317)
* feat: highlights all break points for that loop or block context

* docs: update readme

* dev: remove a debug logging

* QAQ
2024-05-26 17:44:32 +08:00
Myriad-Dreamin
eb12ef0671
build: bump version to 0.11.10 (#316)
* docs: update changelog

* build: bump version to 0.11.10

* docs: update changelog.md
2024-05-26 11:50:15 +08:00
Wenzhuo Liu
de610aa28b
chore: bump typstyle to v0.11.23 (#315)
* chore: bump typstyle to v0.11.22

* bump to v0.11.23
2024-05-26 11:14:04 +08:00
Myriad-Dreamin
9d4700aee3
dev: transparentize the typst icon's background (#313) 2024-05-23 20:03:01 +08:00
Myriad-Dreamin
933352b0ea
feat: make more consistent font configuration (#312)
* feat: more consistent font configuration

* dev: improve systemFonts config

* dev: remove system font argument to pass
2024-05-23 18:10:44 +08:00
Myriad-Dreamin
0e853363dd
feat: complete CSL paths (#310)
* feat: complete csl paths

* dev: update snapshot
2024-05-23 17:49:26 +08:00
Myriad-Dreamin
247c6d5848
feat: check and move the exactly single punctuation after the math equation to refactor (#306) 2024-05-19 16:17:58 +08:00
Myriad-Dreamin
49c665de66
build: bump version to 0.11.9 (#304)
* build: add changelog

* build: bump version to 0.11.9
2024-05-18 13:08:44 +08:00