Commit log

b55acb6 Fix warning

Nathan Sobo created

af47ef9 Remove unused throttle module

Nathan Sobo created

358fad8 Replace the old worktree with the new one

Nathan Sobo created

5648c67 Perform path matching on Worktree snapshots

Click to expand commit body
We're going to need something that can be moved to a background thread. Worktree used to be easy to clone, but that's no longer really true. Instead we can take a snapshot.

Nathan Sobo created

e55abc4 Silence warning about binary name

Nathan Sobo created

0caf908 Remove unused timer module

Nathan Sobo created

3fa4e5a Fill out some missing parts of the new worktree module

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

4878bf8 Make EventStream interface more flexible

Click to expand commit body
Take a callback instead of an mpsc Sender. The
run method blocks and invokes the callback for
each batch of events. The caller controls the
threading. The callback can return false to terminate
the event stream.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

6d3dc85 Tweak fsevent flags

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

fbaab12 Add fsevent crate to workspace

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

497dedb Get file IO test passing on new worktree

Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Max Brunsfeld and Antonio Scandurra created

cefc753 Re-introduce fuzzy-matching on the new `WorkTree` implementation

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

070069d Ensure top of cursor stack is either empty or a leaf node

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>

Antonio Scandurra , Nathan Sobo , and Max Brunsfeld created

0bbff09 WIP

Antonio Scandurra created

db8cce9 Merge branch 'master' into rescan

Nathan Sobo created

d0ae44c Merge pull request #21 from zed-industries/self-hosted-runner

Click to expand commit body
Try to run our CI on a mac mini in my closet

Nathan Sobo created

da68bd6 Try to run our CI on a mac mini in my closet

Nathan Sobo created

3f71867 Improve styling of tabs

Click to expand commit body
* Enforce a min width per tab
* Center the title within tab, regardless of icon
* Render icon over the top of the tab title
* Ensure there is always a fixed minimum amount of filler to the right of all tabs

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

36699dc Avoid setting constrain min to infinity in Flex layout

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

f575296 Include constraints in element tree JSON debug output

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

36e6ed3 WIP

Nathan Sobo created

cbc1d83 Get worktree out of the way so we can try again

Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Nathan Sobo and Antonio Scandurra created

f4538e9 Generalize pasting when number of selections doesn't match clipboard's

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

ce7966d Merge pull request #16 from zed-industries/scoped-pool

Click to expand commit body
Replace easy-parallel with scoped-pool for path searches

Nathan Sobo created

e97ce4f Fix after method rename

Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Nathan Sobo and Antonio Scandurra created

4cef25e Replace easy-parallel with scoped-pool for path searches

Click to expand commit body
The easy-parallel crate spawned new threads on each call, which was resulting in way too many threads.

Co-Authored-By: Brooks Swinnerton <934497+bswinnerton@users.noreply.github.com>

Nathan Sobo and Brooks Swinnerton created

f455355 Merge pull request #20 from zed-industries/async-prompt-for-paths

Click to expand commit body
Prompt for paths asynchronously to avoid double borrow

Nathan Sobo created

cf23b0e Prompt for paths asynchronously to avoid double borrow

Antonio Scandurra created

29d2236 Merge pull request #19 from zed-industries/single-global-action-dispatch

Click to expand commit body
Dispatch global actions only once when triggering a menu item

Antonio Scandurra created

fb3a190 Merge pull request #18 from zed-industries/copy-paste

Click to expand commit body
Introduce cut/copy/paste support

Antonio Scandurra created

f755cbb Dispatch global actions only once when triggering a menu item

Click to expand commit body
Previously we would dispatch the same global action more than once
because we would invoke `dispatch_action_any` _and_
`dispatch_global_action_any`. However, the former already takes care of
going through the global action handlers when no entity in the dispatch
path handled the action.

Antonio Scandurra created

40980ed Merge branch 'master' into copy-paste

Antonio Scandurra created

a1053f7 :memo:

Antonio Scandurra created

6a181ac Add test for copying/cutting/pasting full lines

Antonio Scandurra created

4a39531 Handle paste correctly when there is only one full-line in the clipboard

Antonio Scandurra created

26f9127 Spawn worktree scanning on the scoped pool

Click to expand commit body
Co-Authored-By: Brooks Swinnerton <934497+bswinnerton@users.noreply.github.com>

Nathan Sobo and Brooks Swinnerton created

e4f41de Invert condition when opening entries

Click to expand commit body
Co-Authored-By: Brooks Swinnerton <934497+bswinnerton@users.noreply.github.com>

Nathan Sobo and Brooks Swinnerton created

e3fbb97 Throttle worktree state updates on the main thread

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

f3a0a11 WIP

Nathan Sobo created

bc34ff5 Add a failing test for detecting a file move

Nathan Sobo created

41f50cd Require a context when constructing a worktree

Nathan Sobo created

24cdfd2 Identify Worktree entries by their inode

Click to expand commit body
This will allow us to re-parent elements when re-scanning when the file system changes.

Nathan Sobo created

3c0bbe5 Store root entry id

Nathan Sobo created

cdfd613 Switch worktree entries to HashMap

Nathan Sobo created

3803eb8 Inline clone

Nathan Sobo created

0cc5e8f Replace easy-parallel with scoped-pool for path searches

Click to expand commit body
The easy-parallel crate spawned new threads on each call, which was resulting in way too many threads.

Co-Authored-By: Brooks Swinnerton <934497+bswinnerton@users.noreply.github.com>

Nathan Sobo and Brooks Swinnerton created

0a2d2aa Replace app/app_mut on contexts with AsRef/AsMut impls

Click to expand commit body
Co-Authored-By: Brooks Swinnerton <934497+bswinnerton@users.noreply.github.com>

Nathan Sobo and Brooks Swinnerton created

e082935 Handle 'full-line' clipboard items when pasting

Max Brunsfeld created

c83f02d Implement multi-selection copy/cut/paste

Max Brunsfeld created

13514aa Allow metadata to be associated with text written to clipboard

Click to expand commit body
Co-Authored-By: Max Brunsfeld <max@zed.dev>

Antonio Scandurra and Max Brunsfeld created