Commit log
110dcc4
Merge pull request #26 from zed-industries/stable-file-finder-results
Click to expand commit body
Improve file finder behavior when opening large directories like `~` or `/`
Max Brunsfeld
created
4 years ago
eec8a3b
Simplify file finder update_matches logic
Max Brunsfeld
created
4 years ago
75b8f74
Avoid redundant `sort_unstable_by` call on merged fuzzy matches
Max Brunsfeld
created
4 years ago
a59b75c
Keep results stable when using file-finder while scanning files
Max Brunsfeld
created
4 years ago
6882fdc
Avoid crash when running pane:activate_prev_item w/ no tabs open
Max Brunsfeld
created
4 years ago
eca9f49
Render a close tab button on tab hover
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
bb95d58
Relay hover events to tabs
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
3d1e44c
Capture hover events on tabs
Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo
and
Antonio Scandurra
created
4 years ago
2a1496b
Merge pull request #24 from zed-industries/fix-autoscroll-on-paste
Click to expand commit body
Autoscroll on paste
Antonio Scandurra
created
4 years ago
b52a3b5
Autoscroll on paste
Click to expand commit body
This also removes the `changed_selections` and moves the autoscroll
request inside of `update_selections`. This is nicer because it'll force
us to determine whether we want to autoscroll every time we update the
selections, so that we don't forget this in the future.
Antonio Scandurra
created
4 years ago
fc4b7e2
Introduce MouseEventHandler
Click to expand commit body
Still need to give elements the ability to re-render their parent view. Once that is in place, I think we can implement hoverable close tab buttons.
Nathan Sobo
created
4 years ago
a47b0b4
Add a mechanism for storing ephemeral values
Click to expand commit body
I'll use this in the mouse event handler to track hover and click state.
Nathan Sobo
created
4 years ago
d31f2de
Merge pull request #15 from zed-industries/rescan
Click to expand commit body
Update Worktrees when the file system changes
Nathan Sobo
created
4 years ago
f29f1b0
Preserve selected file finder path when Worktree changes
Nathan Sobo
created
4 years ago
55fcc58
Cancel outstanding fuzzy-matching calls before starting a new one
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
09f5c7c
Fix scrollwheel events in uniformlist
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
733dc15
Ignore .git directories
Max Brunsfeld
created
4 years ago
e7c5942
Fix handling of uppercase characters in fuzzy finding
Max Brunsfeld
created
4 years ago
870925e
Rerender tabs when buffers' file handles change
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Nathan Sobo
and
Nathan Sobo
created
4 years ago
9753e67
Update filehandle paths when renames occur
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
6535304
WIP: Start on updating file handles
Click to expand commit body
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
,
Max Brunsfeld
, and
Nathan Sobo
created
4 years ago
111d98d
Keep ignore status up-to-date as events are processed
Antonio Scandurra
created
4 years ago
f770a70
WIP: Maintain an IgnoreStack while scanning
Click to expand commit body
All ignore files associated with ancestors of the directory currently being scanned are included in the stack. This allows us to compute ignore status for each entry as we initially scan it. If we encounter an ignored directory, we replace the stack with an "ignore all" variant that simply ignores every descendant of the ignored directory.
This is incomplete. We still need to construct an ignore stack in an appropriate state when rescanning subtrees in response to events. It also doesn't deal with individual ignore files being added, removed, or changed. I think we could potentially use the ignore stack while reconstructing the tree for this purpose.
Nathan Sobo
created
4 years ago
9cd1d5e
Avoid cloning entry in `Snapshot::entry_for_path`
Antonio Scandurra
created
4 years ago
6a7308b
Avoid storing redundant copies of file paths
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
054203d
Fix fuzzy matching after removing root dirname from stored paths
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
ec2e1c3
Rename `PathSearch::Sibling` to `PathSearch::Successor`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
8f2fc07
Restructure Worktree to index entries by path
Antonio Scandurra
created
4 years ago
ae5f02d
Use getmntinfo(3) to list mounted volumes
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
b37b047
Start work on excluding separate mount dirs
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
3e44a0a
Avoid redundant clearing of descendants when scanning dirs
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
b2e7a2c
Log when there's an error while scanning a directory
Click to expand commit body
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
,
Max Brunsfeld
, and
Nathan Sobo
created
4 years ago
99f51c0
Simulate `.gitignore`s in the randomized test
Click to expand commit body
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
,
Max Brunsfeld
, and
Nathan Sobo
created
4 years ago
928ce0e
Clear descendants of existing children when scanning a directory
Click to expand commit body
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
,
Max Brunsfeld
, and
Nathan Sobo
created
4 years ago
9723e46
Replace linear scan of entries with a custom `FileIter`
Antonio Scandurra
created
4 years ago
c429a93
Remove `is_ignored` from `PathEntry` and lean more on the tree instead
Antonio Scandurra
created
4 years ago
f3b663e
Ignore `.git` folder
Antonio Scandurra
created
4 years ago
19a2856
Let ignore edits batch naturally without imposing a max batch len
Antonio Scandurra
created
4 years ago
af3bc23
Recompute ignore status when .gitignore changes or for new entries
Antonio Scandurra
created
4 years ago
499e55e
Start work on handling changes to gitignore files
Click to expand commit body
* Use the published ignore crate
* Store ignore objects on snapshot, and use them to compute
files' ignored status dynamically, instead of storing the
ignored status on the file.
Max Brunsfeld
created
4 years ago
427930c
wip - gitignore handling on rescan
Max Brunsfeld
created
4 years ago
8e0ca20
Store paths as strings on PathMatch structs
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
955268e
Check worktree invariants in randomized test
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
ce28dc3
Fix missing insert in populate_dir
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
56b48c8
WIP: Establish new invariant-maintaining API for mutating worktree snapshots
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
fd8125b
Re-enable file finder test and bind `menu:select-{next-prev}`
Antonio Scandurra
created
4 years ago
Page 46 of 52