Commit graph

944 commits

Author SHA1 Message Date
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
a5cf15a701
feat: remove do_reparse flag (#1185) 2025-01-19 09:50:03 +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
Myriad-Dreamin
a9437b2772
dev: remove unused deps (#1182) 2025-01-17 12:12:17 +08:00
Myriad-Dreamin
68f451715a
dev: change log level of diagnostics from info! to debug! (#1181)
* dev: change log level of diagnostics from `info` to `debug`

* dev: clean code

* dev: enable them again
2025-01-17 12:11:53 +08:00
Myriad-Dreamin
270734612d
dev: merge tinymist-project and tinymist-world crate (#1179)
* dev: merge tinymist-project and tinymist-world crate

* fix: warnings and errors
2025-01-17 11:24:36 +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
31b22d9333
dev: add send_event to the lsp client (#1176) 2025-01-15 17:14:24 +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
92f1d7fa18
dev: edit deps and features (#1168) 2025-01-14 19:09:01 +08:00
Myriad-Dreamin
8ceb78f699
feat: micro benchmark support (#1160)
* feat: init crityp

* feat: delete the dirty patch

* feat: clean up unwraps in the tool

* feat: split cli main function

* docs update readme

* docs update readme

* docs: add comments

* docs: lint code
2025-01-14 18:20:58 +08:00
Myriad-Dreamin
9cf5f294e9
fix: clean up the render actor a bit and fix the issue that editor_conn_sender is not used (#1159) 2025-01-13 11:27:11 +08:00
Myriad-Dreamin
18d37433b3
feat: remove the typst actor (#1156)
* feat: remove the typst actor

* feat: merge the editor server and the compile host

* feat: change the naming a bit
2025-01-13 10:36:46 +08:00
Myriad-Dreamin
8e918cb132
docs: documenting sync-lsp crate (#1155) 2025-01-11 18:09:45 +08:00
Myriad-Dreamin
0e2874a6c9
dev: update route model (#1154)
* dev: update route model

* build: update cargo.lock
2025-01-11 18:09:36 +08:00
Myriad-Dreamin
c0d8f0db1c
dev: change first arg of LockFile::update to workspace root (#1153) 2025-01-11 18:09:26 +08:00
Myriad-Dreamin
6fa10f63fc
feat: add more kinds of export task (#1152) 2025-01-11 18:09:15 +08:00
Myriad-Dreamin
da16d14d2d
feat: implement From<ResourcePath> for Id (#1151) 2025-01-11 17:44:50 +08:00
Myriad-Dreamin
f43a8e116c
feat: add depended_{paths,{source_,}files} methods (#1150) 2025-01-11 17:44:23 +08:00
Myriad-Dreamin
ec121070d8
fix: legalized unspecified document and task in lock file (#1149) 2025-01-11 17:42:03 +08:00
Myriad-Dreamin
5a23d41cb7
feat: allow server to set owned internal event handler (#1148)
* xx

* feat: allow server to set owned internal event handler

* fix: permission ext

* fix: strict permission
2025-01-11 17:30:47 +08:00
Myriad-Dreamin
30f242d393
feat: show main file in the status bar (#1147) 2025-01-11 17:16:03 +08:00
Myriad-Dreamin
c0e0e330c3
dev: remove tinymist-query dependency from sync-lsp crate (#1146)
* feat: remove tinymist-query dependency from sync-lsp crate

* build: update cargo.lock
2025-01-11 17:02:26 +08:00
Myriad-Dreamin
c2e8f6e5f6
dev: split tinymist-project crate (#1144)
* dev: split tinymist-project crate

* build: update cargo.lock
2025-01-11 16:02:01 +08:00
Myriad-Dreamin
bdfc1ed648
feat: generate declarative project lock file (#1133)
* build: update cargo.lock

* feat: generate declarative project lock file

* dev: clean up commands and naming

* dev: add preview task command and naming

* dev: lock and update lock file

* dev: experiment multiple tasks
2025-01-09 22:56:58 +08:00
Myriad-Dreamin
59390aced5
feat: copy flock implementation from cargo (#1140) 2025-01-09 22:30:20 +08:00
Myriad-Dreamin
c2aa453af4
build: bump version to 0.12.18 (#1141) 2025-01-09 22:27:00 +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
ce1d4f4f43
build: bump version to 0.12.18-rc2 (#1135) 2025-01-09 20:52:40 +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
6aa9138131
build: bump version to 0.12.18-rc1 (#1132)
* build: bump version to 0.12.18-rc1

* docs: update announcement
2025-01-08 19:47:02 +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
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
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
Myriad-Dreamin
451dc9dbdd
refactor: enclose contextual information in CompletionCursor (#1078)
* refactor: reduce some useless code

* refactor: move contextual things to a context

* refactor: force range calculation in place
2024-12-27 22:38:14 +08:00
Myriad-Dreamin
282b1d7b4d
refactor: merge some calculation stuff in completion worker (#1077) 2024-12-27 16:55:07 +08:00