Myriad-Dreamin
afc5d31377
fix: don't check context type of hash token ( #1432 )
2025-03-01 21:49:29 +08:00
Myriad-Dreamin
0cb12786b3
fix: don't allow type completion in string content ( #1420 )
2025-02-27 16:50:27 +08:00
Myriad-Dreamin
1fe422f963
fix: complete type of type having constructors ( #1419 )
...
* fix: complete type of type having constructors
* test: update snapshot
* test: update snapshot
2025-02-27 16:26:02 +08:00
Myriad-Dreamin
96cdab38f6
feat: match named arg parent in literals ( #1418 )
2025-02-27 14:48:57 +08:00
Myriad-Dreamin
ebfc93c104
feat: post check element types of array and dict ( #1417 )
2025-02-27 14:20:36 +08:00
Myriad-Dreamin
a191b7c852
feat: adjust builtin types for typst v0.13.0 ( #1416 )
...
* feat: adjust builtin types for typst v0.13.0
* todo
* test: update snapshot
* test: update snapshot
2025-02-27 13:28:35 +08:00
Myriad-Dreamin
4c06ffeaa9
fix: add more kind checking about MathText
( #1415 )
2025-02-27 11:41:30 +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
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
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
d470cb061f
dev: remove some heavy logging ( #1338 ) ( #1340 )
2025-02-20 01:48:42 +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
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
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
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
Myriad-Dreamin
d0188a768e
dev: make eval compat ( #1269 )
...
* fix: compile when preview feature is disabled
* build: update cargo.lock
* old
* old
* old
* back
2025-02-08 14:55:47 +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
85cb9096d2
perf: scatter-gather the editor diagnostics ( #1246 )
2025-02-02 14:56:55 +08:00
Myriad-Dreamin
88912bc12e
feat: prepublish tinymist-world ( #1248 )
2025-02-02 14:51:49 +08:00
Myriad-Dreamin
af47f578e4
dev: cleanup project creation ( #1227 )
2025-01-29 20:57:34 +08:00
Myriad-Dreamin
0f588c99d7
refactor: build and move comment and matcher crates to analysis crate ( #1223 )
2025-01-29 12:34:28 +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
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
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
40c176ccf6
fix: capture docs before check init ( #1195 )
2025-01-19 18:48: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
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
5659b0bc6c
dev: move package to reflexo_world part ( #1177 )
...
* dev: move package to reflexo_world part
fix: compile error
* dev: update the package.json
* fix: compile error
* dev: remove dry compile
2025-01-16 10:13:37 +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
faf807edb2
feat: prefer to select the previous token when cursor is before a marker ( #1175 )
...
* feat: prefer to select the previous token when cursor is before a marker
* test: update snapshot
2025-01-15 14:33:26 +08:00
Myriad-Dreamin
0aafee1d13
test: add more rename tests ( #1174 )
...
* test: add tests
* dev: add more tests
2025-01-15 13:05:32 +08:00
Myriad-Dreamin
f43a8e116c
feat: add depended_{paths,{source_,}files}
methods ( #1150 )
2025-01-11 17:44:23 +08:00
Myriad-Dreamin
fb717ef4d5
test: add completion tests about nodes in math calls ( #1139 )
2025-01-09 21:42:45 +08:00
Myriad-Dreamin
fcb9fec712
feat: identify identifier-like text as ident in math mode ( #1138 )
2025-01-09 18:50:03 +08:00
Myriad-Dreamin
d831d1183e
fix: identify mode as math in math call arguments ( #1137 )
...
* fix: identify mode as math in math call arguments
* fix: move spread kind
2025-01-09 18:25:26 +08:00
Myriad-Dreamin
b7feb5dcca
fix: correct order to insert definitions in scope ( #1116 )
2025-01-06 15:28:22 +08:00
Myriad-Dreamin
bb66b4b97a
feat: complete parameters by capture information ( #1114 )
...
* feat: complete parameters by capture information
* dev: wording
2025-01-06 06:33:49 +08:00
Myriad-Dreamin
fd33024915
feat: match param names for completion ( #1113 )
...
* feat: match param names for completion
* docs: update comment
* test: update snapshot
2025-01-06 01:07:46 +08:00
Myriad-Dreamin
975e4a27bf
feat: rearrange hover providers ( #1108 )
...
* feat: rearrange hover providers
* fix: warnings
* test: update snapshot
* test: update hover snapshot
2025-01-05 14:05:13 +08:00
Yifan Song
3d805e0511
test: testcases for resource include ( #1082 )
2024-12-28 14:58:06 +08:00
Myriad-Dreamin
98c61d0023
docs: add a few comments to completion ( #1084 )
2024-12-28 13:23:48 +08:00
Myriad-Dreamin
81d3ea64c2
refactor: split completion functions by topics ( #1083 )
2024-12-28 12:45:45 +08:00
Yifan Song
c5981b81db
feat: fold continue line comments ( #1043 )
...
* feat: fold continue line comments
* update e2e hash
* fix: duplicate comment add to fold
* add test
* test: update snapshot
* feat: remove a clone and assign comment kind folding range
* test: update snapshot
* move to hierachy
* refact hierachy
* add todo
* update collapsed text
* fix: format
* add todo
* refactor: to help review
* refactor: no need to return error
* feat: split `CommentGroupMatcher`
* dev: reimplement nodes checker
* update e2e hash
* test: update snapshot
---------
Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2024-12-28 12:17:34 +08:00
Yifan Song
978e4d6f4e
fix: check file paths on renaming files ( #1080 )
2024-12-28 09:56:11 +08:00
Myriad-Dreamin
ef4714c195
dev: make eco completion repr and reduce clones ( #1079 )
...
* dev: create pair
* dev: make eco completion repr
* dev: reduce some clones
2024-12-28 09:52:47 +08:00