Commit Graph
5445 Commits
Author SHA1 Message Date
Mikayla Maki d823da05ee Added context menu to terminal 2022-08-04 11:22:09 -07:00
Mikayla Maki 907d3e4035 Checkpoint, not compiling 2022-08-04 10:16:26 -07:00
Mikayla Maki 314c26e4ec Removed icons 2022-08-04 08:42:42 -07:00
Mikayla Maki 96cc6d5ce5 Added icons to context menu 2022-08-03 16:47:41 -07:00
Mikayla Maki bf0ec13e65 New button 2022-08-03 15:59:25 -07:00
Mikayla Maki 8f9a736cc9 Merge pull request #1466 from zed-industries/alacritty-version-change
Alacritty version change
2022-08-03 15:08:48 -07:00
Mikayla Maki 10c28891dc Merge pull request #1465 from zed-industries/render-bug
Fix cell background rendering
2022-08-03 15:06:28 -07:00
Mikayla Maki c3f97b10f0 Grabbed cargo lock 2022-08-03 15:05:05 -07:00
Mikayla Maki 81b35c7819 Changed alacritty version 2022-08-03 15:04:48 -07:00
Mikayla Maki 59feb7ab04 Removed debugs 2022-08-03 15:03:03 -07:00
Mikayla Maki 82ecb5923e Much better rectangle fiddling 2022-08-03 14:54:45 -07:00
Mikayla Maki 3c468531ea Fixed cursor-over-大 bug 2022-08-03 14:17:25 -07:00
Mikayla Maki 9c3b287a61 Merge pull request #1464 from zed-industries/lower-latency
Lower terminal latency
2022-08-03 12:21:30 -07:00
Mikayla Maki 4126e977b6 Reworked loop to lower latency and continue throttling until it's out of events 2022-08-03 12:18:11 -07:00
Max Brunsfeld 6e76bd32da Merge pull request #1462 from zed-industries/crash-on-goto-diagnostic
Fix two crashes related to diagnostics and bugs in mouse-based columnar selection
2022-08-03 12:04:56 -07:00
Julia b0dc487fdf Merge pull request #1460 from zed-industries/insert-newline-below
Add `newline_below` action
2022-08-03 14:56:01 -04:00
Mikayla Maki edbe4474ab Merge pull request #1463 from zed-industries/fix-lockup-on-move
Fix lockup on move
2022-08-03 11:39:53 -07:00
Mikayla Maki ed3d339dec Implemented a much more dynamic render/event loop with Antonio 2022-08-03 11:27:36 -07:00
Mikayla Maki bb8263104c Pause and buffer 2022-08-03 10:29:03 -07:00
Mikayla Maki f34d686aa5 Merge pull request #1461 from zed-industries/touch-ups
Touch ups
2022-08-03 10:20:04 -07:00
Max Brunsfeld 096f4693d3 Fix crash and wrong columnar selection when mousing over block lines 2022-08-03 10:19:06 -07:00
Max Brunsfeld e1431ede36 Avoid crash when clicking the popover of a diagnostic that's been removed 2022-08-03 09:10:00 -07:00
ForLoveOfCats f9dc14be43 Add newline_below action 2022-08-03 11:34:40 -04:00
Antonio Scandurra 18f9fe3991 Merge pull request #1458 from zed-industries/macos-default-menu-items
Implement default macOS menu items
2022-08-03 15:20:30 +02:00
Antonio Scandurra 7cbf76ce80 Implement default macOS menu items
- `Zed -> Hide`, bound to `cmd-h`
- `Zed -> Hide Others`, bound to `alt-cmd-h`
- `Zed -> Show All`
- `Window -> Minimize`, bound to `cmd-m`
- `Window -> Zoom`
2022-08-03 15:13:30 +02:00
Antonio Scandurra dc9df64078 Merge pull request #1457 from zed-industries/fix-tab-size-hang
Prevent Zed from hanging when changing tab size
2022-08-03 14:00:24 +02:00
Antonio Scandurra 3174b08082 Update old snapshot when only the tab size changes 2022-08-03 12:23:02 +02:00
Antonio Scandurra 1e94eb74f4 Don't ignore new tab snapshot in WrapMap if only tab size changed 2022-08-03 12:16:46 +02:00
Antonio Scandurra 385d214b47 Enhance DisplayMap randomized test to change tab size
This removes the need for a unit test.
2022-08-03 12:01:26 +02:00
Antonio Scandurra d1f155337f Recompute layers above tab map entirely when tab size changes
Previously, we wouldn't generate any `TabEdit` when the tab size
changed, causing coordinate spaces in `WrapMap` and `BlockMap` to
become outdated.

This commit generates a synthetic edit that covers the entire `TabMap`
to ensure layers above are synchronized.
2022-08-03 11:06:17 +02:00
Mikayla Maki 86406153bd fixed styles 2022-08-02 17:31:40 -07:00
Mikayla Maki 2a5eafcc61 Added cell styles 2022-08-02 17:20:28 -07:00
Max Brunsfeld 039c94c829 🎨 Editor::tab 2022-08-02 17:02:25 -07:00
Mikayla Maki b87805a0d1 Added key binding 2022-08-02 16:37:14 -07:00
Mikayla Maki 541c373d53 Merge pull request #1408 from zed-industries/rendering-performance
Tracking PR for Terminal rendering performance bugs
2022-08-02 16:16:23 -07:00
Julia 8115c1ab24 Merge pull request #1451 from zed-industries/tab-auto-indent
Auto-indent on tab for cursors left of the suggested indent level
2022-08-02 15:52:12 -04:00
Mikayla Maki ffffe7890f Attempting to do throttling again 2022-08-02 12:15:04 -07:00
Mikayla Maki 8277b98104 Fixed bel bug 2022-08-02 11:58:24 -07:00
Mikayla Maki 937cd582e8 Merged main and branch 2022-08-02 11:44:59 -07:00
Max BrunsfeldandJulia Risley 2533648419 Fix selection positions in tab w/ multiple non-empty selections on the same line
Co-authored-by: Julia Risley <floc@unpromptedtirade.com>
2022-08-02 11:42:23 -07:00
Max BrunsfeldandJulia Risley c87eb16ad9 Restructure tab command to treat each cursor individually
Co-authored-by: Julia Risley <floc@unpromptedtirade.com>
2022-08-02 11:08:49 -07:00
Antonio Scandurra 0851524889 Merge pull request #1444 from zed-industries/smaller-diffs
Compute diffs based on characters rather than lines
2022-08-02 19:17:54 +02:00
Antonio Scandurra c2275e5e9a Merge pull request #1449 from zed-industries/fix-terminal-test-flakiness
Remove terminal integration test
2022-08-02 19:17:40 +02:00
Antonio ScandurraandMikayla Maki 42db566ff6 Remove terminal integration test
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>
2022-08-02 19:09:34 +02:00
Antonio Scandurra fc14100134 Fix tests 2022-08-02 18:48:17 +02:00
Mikayla Maki 7111576986 Merge main into branch 2022-08-02 09:25:52 -07:00
Antonio Scandurra 71128d2ee6 Compute diffs based on characters rather than lines
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.
2022-08-02 16:52:37 +02:00
Antonio Scandurra f7a3141576 Merge pull request #1443 from zed-industries/non-functional-sign-in
Allow signing in again if authentication is pending or was unsuccessful
2022-08-02 14:56:14 +02:00
Antonio Scandurra 25d47daad6 Fix tests assuming a certain execution order 2022-08-02 14:40:46 +02:00
Antonio Scandurra a1d0d2ccc4 Add tests for client authentication while a previous sign in is pending 2022-08-02 14:28:47 +02:00