Commit Graph
4892 Commits
Author SHA1 Message Date
Mikayla Maki cfa06351ed Fixed integration test 2022-07-07 14:38:21 -07:00
Mikayla Maki 3f9285a8c5 Added another minor test 2022-07-07 13:55:58 -07:00
Mikayla Maki 4fcb0457dc tidied up magic constants 2022-07-07 13:45:27 -07:00
Mikayla Maki e287d9bc00 Added a small integration test 2022-07-07 13:43:28 -07:00
Mikayla Maki 04a86a8013 Hoisted assert clipboard into TestAppContext 2022-07-07 13:29:58 -07:00
Mikayla Maki 2cc63a95cb Merge branch 'main' into terminal-selections 2022-07-07 13:20:23 -07:00
Mikayla Maki 19a4d3fb87 Added copying 2022-07-07 13:19:38 -07:00
Mikayla Maki 761a4a1e1f Merge pull request #1306 from zed-industries/fix-open-pane
Fixed terminal clone on split
2022-07-07 13:05:24 -07:00
Mikayla Maki f9726711ec Fixed terminal clone on split 2022-07-07 13:01:16 -07:00
Mikayla Maki d2f22628dc Merge pull request #1305 from zed-industries/fix-default-shell
Now defaults to using user's shell
2022-07-07 12:41:37 -07:00
Mikayla Maki a5dd1adafc Now defaults to using user's shell 2022-07-07 12:31:21 -07:00
Mikayla Maki 9ff649b781 Fixed default shell 2022-07-07 12:29:49 -07:00
Mikayla Maki 2f1a666aba Merge branch 'main' into terminal-selections 2022-07-07 12:17:58 -07:00
Mikayla Maki c58a0da252 Merge pull request #1304 from zed-industries/deploy-panic
Fixed working directory issues, added tests.
2022-07-07 12:14:57 -07:00
Mikayla Maki c5b8dcafbe Added a way to change the timeout with state 2022-07-07 12:04:17 -07:00
Mikayla Maki 7d9f73e9b9 Fixed working directory issues, added tests. Working on regression 2022-07-07 11:01:26 -07:00
Antonio Scandurra 0ead8e7b38 Merge pull request #1302 from zed-industries/external-formatting
Introduce support for formatting via an external command
2022-07-07 14:31:17 +02:00
Antonio Scandurra a1fadb916f Add integration test to exercise formatting via external command 2022-07-07 11:53:32 +02:00
Antonio Scandurra 13f036a864 Respond with a debug version of the error in rpc Client 2022-07-07 11:52:56 +02:00
Antonio Scandurra 3b345cba67 Allow providing an external format in format_on_save setting 2022-07-07 11:04:03 +02:00
Mikayla Maki febfb55e9e Added basic selections 2022-07-06 17:37:12 -07:00
Max Brunsfeld b00228cec4 Tweak navigation bar colors in theme
I meant to include this in #1297
2022-07-06 16:45:38 -07:00
Max Brunsfeld 6544bc34b1 Merge pull request #1297 from zed-industries/back-and-forward-buttons
Back and forward buttons
2022-07-06 16:43:31 -07:00
Max Brunsfeld 2fb2545b48 Give nav buttons a background on hover 2022-07-06 16:33:44 -07:00
Max Brunsfeld 4259f51c73 Add test for pane nav history covering notification of pane's toolbar 2022-07-06 16:29:11 -07:00
Max Brunsfeld 4adcffcc9f Enable and disable nav buttons based on pane's navigation stack
Also, make the `NavHistory` type private to the `workspace` crate.
Expose only the `ItemNavHistory` type, via a method on Pane called
`nav_history_for_item`.
2022-07-06 15:46:43 -07:00
Max Brunsfeld 53833d2e12 Add forward and backward navigation buttons to toolbar 2022-07-06 14:05:24 -07:00
Mikayla Maki 215d2d06f7 Began working on selections, refactored colors 2022-07-06 13:44:30 -07:00
Max Brunsfeld 61be6bb235 0.45 2022-07-06 11:32:21 -07:00
Max Brunsfeld 5bf9cf02a5 Merge pull request #1293 from zed-industries/autosave-focus-change-window-activate
Treat window deactivation as a focus change for the purpose of autosave
2022-07-06 11:30:51 -07:00
Max Brunsfeld db9354e8a8 Treat window deactivation as a focus change for the purpose of autosave 2022-07-06 11:20:29 -07:00
Max Brunsfeld d64433e78f Merge pull request #1291 from zed-industries/fix-autosave-on-close
Fix autosave when closing a tab
2022-07-06 10:54:44 -07:00
Max Brunsfeld 510530171f Merge pull request #1292 from zed-industries/paste-panic
Fix panic on paste when editing with auto-indent
2022-07-06 10:50:38 -07:00
Antonio ScandurraandMax Brunsfeld 6d573a2822 Normalize line endings when parsing completions
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2022-07-06 19:32:45 +02:00
Antonio Scandurra f94bfeb1cc Fix panic on paste when editing with auto-indent
Instead of accepting text as it's input by the user, we will read it
out of the edit operation after it gets sanitized by the buffer.
2022-07-06 19:00:11 +02:00
Antonio Scandurra 8ba44e5f47 Prevent autosave for deleted files 2022-07-06 17:25:33 +02:00
Antonio Scandurra 79f438ed97 Save item when closing it if autosave on focus change is enabled 2022-07-06 17:04:41 +02:00
Antonio Scandurra 6ff2f165a7 Move autosave tests down into Workspace 2022-07-06 16:55:05 +02:00
Antonio Scandurra f879f75a45 Move autosave logic up into Workspace and Pane 2022-07-06 16:33:22 +02:00
Antonio Scandurra dba2c284f6 Report whether a view was focused or blurred when observing focus 2022-07-06 15:53:40 +02:00
Antonio Scandurra a1c12562e9 v0.44.1 2022-07-06 12:42:41 +02:00
Antonio Scandurra 9c7ac692c0 Merge pull request #1288 from zed-industries/line-ending-fixes
Line ending fixes
2022-07-06 11:33:52 +02:00
Antonio Scandurra 0f77fd8b2d Replace lone carriage returns with newlines 2022-07-06 11:00:56 +02:00
Antonio Scandurra 862e11cc09 Don't slice midway through multi-byte char when detecting line ending 2022-07-06 10:21:30 +02:00
Max Brunsfeld 192155d977 0.44 2022-07-05 17:37:04 -07:00
Max Brunsfeld 5b4d940f08 Merge pull request #1287 from zed-industries/handle-carriage-returns-in-edits
Fix crash when pasting text with CRLF line endings
2022-07-05 17:35:38 -07:00
Max BrunsfeldandKeith Simmons e6c9549bbd Strip carriage returns from all text in text::Buffer
* Moving the logic from Rope to text::Buffer makes it easier
  to keep the Rope in sync with the fragment tree.
* Removing carriage return characters is lossier, but is much
  simpler than incrementally maintaining the invariant that
  there are no carriage returns followed by newlines. We may
  want to do something smarter in the future.

Co-authored-by: Keith Simmons <keith@zed.dev>
2022-07-05 17:25:09 -07:00
Mikayla Maki 7dd8f2289d Merge pull request #1286 from zed-industries/grid-renderer
Switch from line-and-character renderer to a direct grid renderer
2022-07-05 17:16:00 -07:00
Mikayla Maki ccab931a69 changed renderer 2022-07-05 17:10:01 -07:00
Keith Simmons 679122e7d1 Merge pull request #1271 from zed-industries/matching-bracket-highlights
Highlight matching bracket when newest selection head is on a bracket
2022-07-05 16:51:46 -07:00