Commit Graph
11144 Commits
Author SHA1 Message Date
Petros AmoiridisandMikayla 2ab6dea074 Create files passed as args to CLI
Co-Authored-by: Mikayla <mikayla@zed.dev>
2023-01-19 19:38:05 +02:00
Julia c1b0ef4842 Add in-window on-move-out mouse handler concept 2023-01-19 12:34:13 -05:00
Petros AmoiridisandMikayla e5ac6598b1 Add date to the log format
Co-Authored-By: Mikayla <mikayla@zed.dev>
2023-01-19 19:05:17 +02:00
Antonio Scandurra 75272163ec Merge pull request #2047 from zed-industries/optimize-large-multi-buffers
Avoid stalling the UI thread when running large searches
2023-01-19 17:31:14 +01:00
Antonio Scandurra f1479c3e74 Document RopeFingerprint 2023-01-19 17:25:59 +01:00
Antonio Scandurra 1c277c3bcd Fix tests 2023-01-19 16:26:27 +01:00
Antonio Scandurra 89ccd53f33 Merge branch 'main' into optimize-large-multi-buffers 2023-01-19 16:18:21 +01:00
Antonio Scandurra 33f4c816d5 Add test for stream_excerpts_with_context_lines 2023-01-19 15:54:32 +01:00
Antonio Scandurra f6c378366f Introduce MultiBuffer::stream_excerpts_with_context_lines
This allows us to push excerpts in a streaming fashion without blocking
the main thread.
2023-01-19 15:42:14 +01:00
Max Brunsfeld b144719f9c Merge pull request #2046 from zed-industries/line-breaks-in-outline-items
Prevent outline items from accidentally spanning multiple lines
2023-01-18 16:46:45 -08:00
Max Brunsfeld 30863cf803 Prevent outline items from accidentally spanning multiple lines 2023-01-18 16:43:18 -08:00
Max Brunsfeld 0e7be77827 Update comments in Pane::close_items 2023-01-18 15:17:44 -08:00
Max Brunsfeld d7ecc78a26 Merge pull request #2045 from zed-industries/fewer-unsaved-prompts
Avoid prompting to save when closing an untitled buffer that is still open elsewhere
2023-01-18 15:10:19 -08:00
Max Brunsfeld cad6460a7c Fix workspace tests after changing Item trait 2023-01-18 15:00:40 -08:00
Mikayla Maki f2791e2713 collab 0.5.3 2023-01-18 12:52:58 -08:00
Mikayla Maki 6aa698f2a1 v0.71.x dev 2023-01-18 12:39:38 -08:00
Petros Amoiridis 803ec646c3 Merge pull request #2042 from zed-industries/fix-pasting-files
Allow pasting the same entry more than once in project panel
2023-01-18 18:37:31 +02:00
Petros AmoiridisandAntonio Scandurra cbe314d2f3 Allow pasting the same entry more than once in project panel
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2023-01-18 17:35:21 +02:00
Petros Amoiridis 3624467ab4 Merge pull request #2041 from zed-industries/fix-renaming-file
Fix mouse interrupting file/dir editing in project panel
2023-01-18 15:53:08 +02:00
Antonio Scandurra 55492f577c Don't starve the main thread adding too many search excerpts at once 2023-01-18 14:22:23 +01:00
Petros AmoiridisandAntonio Scandurra 3aa41f7cc5 Fix mouse interrupting file/dir editing in project panel
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2023-01-18 15:22:20 +02:00
Antonio Scandurra 06e86cbc3f Fix compile errors 2023-01-18 13:58:01 +01:00
Antonio ScandurraandPetros Amoiridis 28e547e774 WIP: Avoid converting RopeFingerprint into a string
Co-Authored-By: Petros Amoiridis <petros@zed.dev>
2023-01-18 12:22:08 +01:00
Joseph Lyons 66a3aadccc WIP 2023-01-18 00:12:52 -05:00
Kay Simmons 4379d9b544 Merge pull request #2039 from zed-industries/vim-mode-single-line-editors
disable vim mode in non full editors
2023-01-17 18:43:16 -08:00
Max Brunsfeld 49d4c4eaa7 Set up fake project paths correctly in tests 2023-01-17 17:40:34 -08:00
Kay Simmons 1fee7b61bb fix broken test 2023-01-17 17:35:39 -08:00
Kay Simmons 0f8319e799 disable vim mode in non full editors 2023-01-17 17:32:10 -08:00
Kay Simmons bb69f6e7f1 Merge pull request #2038 from zed-industries/fix-sidebar-width-with-dock
Fix issue with sidebars resizing themselves when dock is toggled
2023-01-17 17:22:24 -08:00
Max Brunsfeld cd50f04dee Make workspace items expose their underlying models, remove file-related methods 2023-01-17 17:21:06 -08:00
Kay SimmonsandMikayla ee63ee0663 Change sidebars to use the window width as a max width rather than participating in the flex
co-authored-by: Mikayla <mikayla@zed.dev>
2023-01-17 16:58:55 -08:00
Max Brunsfeld c0730db60e Replace MultiBuffer::files with ::for_each_buffer 2023-01-17 16:16:44 -08:00
Joseph T. Lyons af2da0f2f3 Add users to mailing list when using an invite link 2023-01-17 16:46:01 -05:00
Max Brunsfeld bc327d0bc4 Merge pull request #2034 from zed-industries/tab-focus-search
Use tab instead of command-f to move focus from the search editor to the main editor
2023-01-17 10:25:04 -08:00
Max Brunsfeld 85ba7d512a Merge pull request #2035 from zed-industries/always-auto-indent-block-on-paste
Always auto-indent in block-wise mode when pasting
2023-01-17 10:24:41 -08:00
Antonio Scandurra df87c500f6 Merge pull request #2036 from zed-industries/spurious-modified-buffers
Fix buffers appearing as modified when guest joined after buffer had been saved
2023-01-17 18:21:21 +01:00
Antonio Scandurra 3610b5a9f0 Fix assertions 2023-01-17 18:09:45 +01:00
Julia 6d9eb0f410 Merge pull request #2037 from zed-industries/go-to-fit
Utilize fit autoscroll for various go-to actions
2023-01-17 10:49:22 -05:00
Antonio Scandurra eea91cb8bb Verify saved_version, saved_version_fingerprint and saved_mtime 2023-01-17 16:46:06 +01:00
Julia c357d1e848 Utilize fit autoscroll for various go-to actions 2023-01-17 10:42:53 -05:00
Antonio Scandurra 9bccb5bfdf Bump protocol version 2023-01-17 16:32:54 +01:00
Antonio Scandurra e2ecfdc72d Relay saved version metadata to ensure buffers modified state converges 2023-01-17 16:32:54 +01:00
Antonio Scandurra f0e5ce7b2c Ensure Buffer::{is_dirty,has_conflict} converge in randomized test 2023-01-17 16:32:51 +01:00
Antonio Scandurra 26e3920cbd Include saved mtime and fingerprint when serializing buffers
This still doesn't include:

- An assertion in the randomized test to ensure buffers are not spuriously
marked as modified
- Sending an update when synchronizing buffers after a reconnection
2023-01-17 10:46:19 +01:00
Max Brunsfeld d6cf69a56c Add a test for block-wise auto-indent without original indent info 2023-01-16 18:06:58 -08:00
Max Brunsfeld ab5c9fb038 Always auto-indent in block-wise mode when pasting
If the text was copied outside of Zed, so the original indent column is unknown,
then act as if the first line was copied in its entirety.
2023-01-16 17:42:06 -08:00
Max Brunsfeld 6f359cb02e Merge pull request #2022 from zed-industries/restart-lsp-after-invalid-version-reported
Fix crash when restarting a language server after it reports an unknown buffer version
2023-01-16 16:26:50 -08:00
Max Brunsfeld dd89a37f1f Remove tree-sitter dependency from gpui 2023-01-16 16:11:13 -08:00
Max Brunsfeld 3bb49785f8 Move focus back from buffer search using tab, not cmd-f 2023-01-16 16:01:15 -08:00
Max Brunsfeld acdef270bb Add '>' child operator in keymap context predicates 2023-01-16 16:00:46 -08:00