Commit log
901525b
Implement `FoldMap`'s folds using a `SumTree`
Click to expand commit body
This required passing a `Context` object to `Summary` and introducing a
new `SeekDimension` trait that allows comparing two dimensions and pass
an additional context object.
Antonio Scandurra
created
4 years ago
7fb7a6a
Add a `Summary` trait in preparation of passing a context struct
Antonio Scandurra
created
4 years ago
7717700
Implement Drop on AnyViewHandle
Click to expand commit body
This was a pretty bad oversight.
Nathan Sobo
created
4 years ago
6cb656d
Require window to have a root view and focused view
Click to expand commit body
This is possible now that the window doesn't need to own the view. We can create the root view before we create the window.
Nathan Sobo
created
4 years ago
45a01d1
Don't store views on windows
Click to expand commit body
Instead, store all views in a single top-level map that's keyed by window id and view id. This ensures we'll keep a view alive even if its window is gone, so long as we're holding a handle. This can happen with things like spawned tasks. We don't want to panic during a spawned task after we close the window.
Nathan Sobo
created
4 years ago
bf28aba
Restore Buffer::file field and workspace::Item trait
Max Brunsfeld
created
4 years ago
78a5d0a
Maintain workspace buffers state after saving untitled buffer
Max Brunsfeld
created
4 years ago
47d0349
Wait to update bufferview's file handle until save has completed
Max Brunsfeld
created
4 years ago
1fcbada
Add TestAppContext::simulate_new_path_selection
Max Brunsfeld
created
4 years ago
3f844bc
Fix crash when closing windows
Nathan Sobo
created
4 years ago
f7d8b6b
Merge pull request #39 from zed-industries/move-lines-folds
Click to expand commit body
Synchronize `FoldMap` with buffer's contents lazily
Antonio Scandurra
created
4 years ago
e771e70
Add test for moving lines up and down
Antonio Scandurra
created
4 years ago
10aef85
Merge branch 'master' into move-lines-folds
Antonio Scandurra
created
4 years ago
5fd084e
Start work on creating and saving new files
Max Brunsfeld
created
4 years ago
2ce9f27
Merge pull request #30 from zed-industries/bundle
Click to expand commit body
WIP: Create and upload application bundle in CI
Nathan Sobo
created
4 years ago
a0471a5
Add ~/.rustup to the list of cached paths
Click to expand commit body
And restore skipping of rust install if it hasn't changed.
Nathan Sobo
created
4 years ago
13e524d
Try to disable caching
Nathan Sobo
created
4 years ago
3604d7e
Try to fix target not being installed
Nathan Sobo
created
4 years ago
5cf65ed
Ad hoc code-sign the app bundle
Click to expand commit body
Apparently this is necessary to run on the M1 macs
Nathan Sobo
created
4 years ago
52a5777
Create the bundle as a "fat binary" supporting the M1
Nathan Sobo
created
4 years ago
1f06d21
Fix artifact name
Nathan Sobo
created
4 years ago
2dc1176
Create and upload a DMG
Nathan Sobo
created
4 years ago
8297f2a
Attempt to upload app bundle as an artifact
Nathan Sobo
created
4 years ago
898271e
Add script/bundle, which creates a macOS app bundle
Nathan Sobo
created
4 years ago
3d739b6
Merge pull request #34 from zed-industries/buffer-per-inode
Click to expand commit body
Only open one buffer per inode, but associate each buffer view with its own path
Max Brunsfeld
created
4 years ago
361bb83
Replace Workspace::open_path with simpler ::add_worktree method
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
2b9a97a
Fix hangs in workspace tests
Max Brunsfeld
created
4 years ago
05ab1bd
Synchronize `FoldMap` with buffer's contents lazily
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
c135c84
Use correct bias when calculating next_row_end
Antonio Scandurra
created
4 years ago
7bd192b
Add `FoldMap::chars_at` to randomized test
Antonio Scandurra
created
4 years ago
3ba4630
Test FoldMap `to_display_offset`, `to_display_point`, `to_buffer_point`
Antonio Scandurra
created
4 years ago
d326e80
Rework randomized test, ensuring order of folds is maintained correctly
Antonio Scandurra
created
4 years ago
a042866
Fix `folds_in_range` and add a test for it
Click to expand commit body
With the current ordering, a linear scan is required in order to
determine which folds intersect the given range.
Antonio Scandurra
created
4 years ago
5c392f9
Merge branch 'master' into buffer-per-inode
Nathan Sobo
created
4 years ago
8820df7
Rename WorkspaceView to Workspace and reorganize module
Nathan Sobo
created
4 years ago
366f8fc
Inline methods previously moved from Workspace
Nathan Sobo
created
4 years ago
ed28bd3
Combine Workspace and WorkspaceView
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
aa2a2ec
Merge pull request #37 from zed-industries/move-line-up-down
Click to expand commit body
Move line up and down
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
afb623b
Make Workspace::open_entry2, which returns a dyn ItemViewHandle
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
837f34a
Fix cases where new folds that end where existing folds start
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
189ee7c
Add failing unit test for adjacent folds
Max Brunsfeld
created
4 years ago
Antonio Scandurra
created
4 years ago
4c46575
Account for folds when moving selections up/down
Antonio Scandurra
created
4 years ago
49dc040
Use a more direct manipulation for moving lines up or down
Antonio Scandurra
created
4 years ago
76b454d
Push selections down correctly when moving a line down
Antonio Scandurra
created
4 years ago
8cd451f
Implement `move_line_up` and `move_line_down`
Click to expand commit body
This does not restore folds yet.
Antonio Scandurra
created
4 years ago
c01263b
Merge pull request #35 from zed-industries/move-to-prev-next-word-boundary
Click to expand commit body
Implement word boundary movement/selection/deletion
Antonio Scandurra
created
4 years ago
d499fb0
Merge pull request #36 from zed-industries/bind-backspace
Click to expand commit body
Bind `ctrl-h` to `backspace`
Antonio Scandurra
created
4 years ago
51ae37e
Bind `ctrl-h` to `backspace`
Antonio Scandurra
created
4 years ago
Page 25 of 33