Creating a full-fledged terminal is flaky and causes tests to either
hang or outright panic. The only test that requires creating a terminal
was `test_terminal` but we think the value added by that test is not
worth the flakiness, so we're removing it.
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
71128d2
Compute diffs based on characters rather than lines
Click to expand commit body
Previously, a change on a given line would cause that whole line to be
replaced. In turn, this caused anchors on that line to go to the start
of that line because they would lie inside of a deleted region after applying
the diff.
By switching to a character-wise diff, we perform smaller edits to the buffer
which stabilizes anchor positions.
Antonio Scandurra
created
f7a3141
Merge pull request #1443 from zed-industries/non-functional-sign-in
Click to expand commit body
Allow signing in again if authentication is pending or was unsuccessful
Antonio Scandurra
created
25d47da
Fix tests assuming a certain execution order
Antonio Scandurra
created
a1d0d2c
Add tests for client authentication while a previous sign in is pending
Antonio Scandurra
created
aa09bc5
Allow signing in again if authentication is pending or was unsuccessful
Click to expand commit body
The local server that we spin up to receive OAuth callbacks isn't
called when an error occurs and it is non-trivial to do so with
next-auth. Besides, there could be cases where the user explicitly
closes the browser window before the callback can be invoked.
With this commit, the user can sign in even while an authentication
is still in progress. As opposed to waiting for at most 10 minutes
before killing the local HTTP server if we haven't received the callback,
we will repeatedly check for a response every second for 100 seconds.
This gives us a chance to determine whether a new authentication has started
in the meantime and, if so, abort the current authentication flow.
f2d92d6
Copy setting and keymap files from legacy config locations
Antonio Scandurra
created
5f6e4c7
Extract all zed config/cache paths into a `paths` module
Antonio Scandurra
created
cfe3ebd
Use XDG-compliant directories for config and cache files
Antonio Scandurra
created
a842016
Merge pull request #1418 from zed-industries/autoindent-on-paste
Click to expand commit body
Auto-indent improvements
Max Brunsfeld
created
868c460
:art: Rename and simplify some autoindent stuff
Max Brunsfeld
created
7a26fa1
Record start columns when writing to the clipboard from Zed
Max Brunsfeld
created
2d05f90
Start work on adjusting pasted text based on old start column
Max Brunsfeld
created
8471af5
Improved render performance implementation to use a fork of alacritty which includes the last # of bytes processed as a way of estimating throughput in cases where the terminal output is chanegd in place
Mikayla Maki
created
3a74290
Merge branch 'main' into autoindent-on-paste