Antonio Scandurra
ce17cd83cf
Redesign history traversal
2023-07-31 11:39:41 +02:00
Antonio Scandurra
05ec6b89c2
WIP
2023-07-30 13:45:31 +02:00
Antonio Scandurra
93701f9c5d
Avoid incrementing operation id if it's unnecessary for causality
2023-07-30 12:15:34 +02:00
Antonio Scandurra
083bfc6cbc
Reify a History
struct
...
This has to be integrated still.
2023-07-30 11:57:02 +02:00
Antonio Scandurra
a084a93ef0
Make apply_operations
asynchronous
2023-07-29 15:36:52 +02:00
Antonio Scandurra
84bf6c5a16
Use pointer equality to detect changes to the repo snapshot
2023-07-29 11:54:13 +02:00
Antonio Scandurra
e99f82f855
Start on loading/saving revisions
2023-07-29 11:54:02 +02:00
Antonio Scandurra
ba3353d127
Allow loading and saving of ropes
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2023-07-28 19:58:31 +02:00
Antonio Scandurra
2887c4674d
Load fewer items in randomized tests for partially loaded trees
2023-07-28 19:57:03 +02:00
Antonio Scandurra
22e8a67498
Load branch from kv store if necessary
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2023-07-28 19:14:58 +02:00
Antonio Scandurra
4848ea8e62
Spawn a background task to save repo snapshots
2023-07-28 13:08:33 +02:00
Antonio Scandurra
3349f2147a
Force all changes to a repository to take place via Repo::update
2023-07-28 12:45:51 +02:00
Antonio Scandurra
103d5293be
Start on loading RepoSnapshot
s
2023-07-28 12:34:23 +02:00
Antonio Scandurra
1046b60fd2
Avoid cycling dependency between Client
and Checkout
2023-07-28 11:15:49 +02:00
Antonio Scandurra
d5932717f2
WIP
2023-07-27 19:41:56 +02:00
Antonio Scandurra
8eeaacdf0a
Pass a KvStore
to Client
and Server
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2023-07-27 18:03:55 +02:00
Antonio Scandurra
2de48f96d2
Simplify KvStore
trait
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2023-07-27 17:49:16 +02:00
Antonio Scandurra
ba42db7069
Fix test for slice
and summary
to account for partial trees
2023-07-27 13:01:01 +02:00
Antonio Scandurra
02946e1e8f
Merge branch 'main' into crdb
2023-07-27 12:41:12 +02:00
Antonio Scandurra
32c8eb2612
Correctly maintain cursor stack position when ascending in seek
2023-07-27 12:33:13 +02:00
Antonio Scandurra
d277e214bd
Re-enable randomized tests for cursor movement in partially-loaded trees
2023-07-27 12:32:07 +02:00
Antonio Scandurra
cbc5dc04ef
Avoid pushing empty leaves into the tree
2023-07-27 12:28:26 +02:00
Antonio Scandurra
198be71b6c
Fix panic due to accidentally descending into unloaded node in cursor
2023-07-27 09:53:31 +02:00
Antonio Scandurra
5eede853f6
Don't call push_tree_recursive
on leaf when appending unloaded node
2023-07-27 09:52:17 +02:00
Mikayla Maki
354c020612
Block extra drag events in original drag handlers
2023-07-26 14:57:46 -07:00
Kyle Caverly
ee66f99ce6
Parallel vector db ( #2792 )
...
Parallelize Vector Database calls for project semantic search.
Release Notes: (Preview-only)
- Parallelize Vector database calls for project semantic search. Cuts
query time by 2/3rds.
- Removed default keymap for old semantic search modal.
2023-07-26 17:17:59 -04:00
KCaverly
fbede4a5a3
removed old code
2023-07-26 17:11:30 -04:00
KCaverly
e2b38f7a31
remove unused imports
2023-07-26 17:01:44 -04:00
KCaverly
5c48729c7c
managed for small batch size edge case in semantic search
2023-07-26 16:56:41 -04:00
KCaverly
89bbcdfa4f
remove debug logging for project_search semantic search
2023-07-26 16:51:25 -04:00
KCaverly
98fde36834
batch search queries in the vector database
2023-07-26 16:36:39 -04:00
Joseph T. Lyons
40fcec1495
Follow naming convention for menu items
2023-07-26 14:35:23 -04:00
Joseph T. Lyons
6cd10f3d5e
v0.98.x dev
2023-07-26 13:27:55 -04:00
Derek Briggs
603387ace5
icon updates ( #2791 )
...
Updated app icon and icon system updates
2023-07-26 11:23:23 -06:00
Derek Briggs
9fc1ebcb5b
icon updates
2023-07-26 11:19:34 -06:00
Mikayla Maki
711073cf3c
Simple cascading split ( #2790 )
...
This PR cascades the split resizing to adjacent splits, if the current
split has already hit the minimum size. This PR also adds support for
detecting the end of a drag event to GPUI, via a bool on the dispatched
drag.
Release Notes:
- Made split resizing more flexible
2023-07-26 09:49:27 -07:00
Mikayla Maki
a58c9ed7d3
fmt
2023-07-26 09:39:35 -07:00
Mikayla Maki
56704c7c5f
Remove placeholders
2023-07-26 09:37:52 -07:00
Antonio Scandurra
7282629f93
Ensure that loading the full tree is equivalent to the reference items
2023-07-26 18:05:06 +02:00
Antonio Scandurra
517591bced
Load the relevant nodes before splicing in randomized test
2023-07-26 18:02:04 +02:00
Antonio Scandurra
4c5e248693
Start on a randomized test for persistence
2023-07-26 17:12:09 +02:00
Antonio Scandurra
b8066d444a
Allow keeping nodes in the tree when pruning
2023-07-26 17:11:58 +02:00
Antonio Scandurra
f8cf74f9e8
Introduce InMemoryKv
to test persistence
2023-07-26 16:50:28 +02:00
Antonio Scandurra
97cdad7f1a
Implement Sequence::prune
2023-07-26 16:41:45 +02:00
KCaverly
0b61c93a25
ensure semantic search is not enabled on stable
2023-07-26 10:22:33 -04:00
KCaverly
394a105639
fix warnings
2023-07-26 10:03:30 -04:00
Antonio Scandurra
1b803e498f
Implement Sequence::load
to selectively load subtrees
2023-07-26 15:57:49 +02:00
KCaverly
0ac919f6e0
catchup with main
2023-07-26 09:50:38 -04:00
Antonio Scandurra
7a851d42ad
Add a Sequence::from_root
function
2023-07-26 15:41:32 +02:00
KCaverly
ca6f7d8a80
add worktree previously indexed functionality to vector db
2023-07-26 09:17:04 -04:00