Antonio Scandurra
d5a38f0bb1
Fix divergence bug in undo/redo
...
As part of #1405 , we changed the way we performed undo and redo to
support combining transactions that were not temporally adjacent for
IME purposes.
We introduced a bug with that release that caused divergence
when performing undo: the bug was caused by only changing the visibility
of fragments whose insertion id was contained in the undo operation. However,
an undo operation also affects deletions which we were mistakenly not
considering. Randomized tests caught this but I guess we didn't run enough
of them.
2022-08-17 11:30:04 +02:00
Antonio Scandurra
f90e604e43
Merge pull request #1526 from zed-industries/crash-on-file-prompt-with-japanese-keyboard-layout
...
Fix crash when attempting to show file prompt while using Japanese keyboard layout
2022-08-17 09:56:09 +02:00
Mikayla Maki
4e8b628cb5
Fix panic on main
2022-08-16 22:36:24 -07:00
Max Brunsfeld
9d24854df1
Fix crash when attempting to show file prompt while using Japanese keyboard layout
2022-08-16 17:44:58 -07:00
Max Brunsfeld
ed08f17dc6
remove http-auth-basic dependency
2022-08-16 12:58:53 -07:00
Mikayla Maki
98faaeb87f
Merge pull request #1520 from zed-industries/terminal-blink
...
Terminal cursor blinking
2022-08-15 18:39:23 -07:00
Mikayla Maki
b8f120b451
Added a hollow mode to the cursor rendering code, for terminal lost focus
2022-08-15 18:27:26 -07:00
Mikayla Maki
42b91c9dfa
Added cursor blink and settings
2022-08-15 18:05:07 -07:00
Max Brunsfeld
b54f8045b1
Merge pull request #1519 from zed-industries/go-to-def-link-font-size-change
...
Clear any stale go-to-definition link when resizing the buffer font
2022-08-15 17:40:00 -07:00
Max Brunsfeld
2b7509a3ca
Clear go-to-def link when deactivating the window
2022-08-15 17:30:41 -07:00
Mikayla Maki
c8897c74f7
Basic cursor blinking :)
2022-08-15 17:00:44 -07:00
Max Brunsfeld
55f66e9d5d
Clear stale go-to-def link when resizing buffer font
2022-08-15 16:15:20 -07:00
Mikayla Maki
c091f8a4b5
Merge pull request #1518 from zed-industries/add-terminal-focus
...
Added focus-in and focus-out behavior to terminal
2022-08-15 16:14:05 -07:00
Mikayla Maki
6d71a4688c
Fixed text rendering color based on focus
2022-08-15 16:05:03 -07:00
Mikayla Maki
6f3c61ef31
Added focus-in and focus-out behavior to terminal
2022-08-15 15:59:17 -07:00
Max Brunsfeld
1082d2d506
Ensure a deterministic order to project activity summaries
2022-08-15 15:23:12 -07:00
Max Brunsfeld
ad53de55a0
Add bootstrap script, avoid hard-coding zed team members
2022-08-15 13:25:31 -07:00
Antonio Scandurra
727960e990
Autoscroll to filename editor when creating or renaming entry
...
Also, autoscroll when a filename editor goes off-screen and the user
types or changes selections.
2022-08-15 15:14:42 +02:00
Antonio Scandurra
052ddcd4e0
Rename {project_panel,contacts_panel}::Toggle to ToggleFocus
2022-08-15 14:53:42 +02:00
Antonio Scandurra
1158264f24
Add zed::ToggleFullScreen bound to ctrl-cmd-f
2022-08-15 11:53:37 +02:00
ForLoveOfCats
d112ed4fc0
Don't scroll to cursor when performing file save
2022-08-12 11:20:18 -04:00
Mikayla Maki
f627bcfe14
Make clippy happy
2022-08-11 15:47:56 -07:00
Mikayla Maki
577e2559b3
Merge branch 'main' into ime-stuff
2022-08-11 15:35:42 -07:00
K Simmons
f2328c2f23
minor rustfmt fix
2022-08-11 11:35:11 -07:00
K Simmons
3dce18540e
clippy fixes for focus change
2022-08-10 16:51:01 -07:00
ForLoveOfCats and Mikayla
fbea44bc5c
One big cleanup pass of clippy lints
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2022-08-10 16:51:01 -07:00
Keith Simmons
4c746f43b5
Merge pull request #1422 from zed-industries/workspace-child-focus-pane-activation
...
Add on_child_focus and on_child_blur to View trait
2022-08-10 16:42:01 -07:00
K Simmons
562d389301
Fix workspace
2022-08-10 16:27:45 -07:00
K Simmons
07cab9f3c1
Fix failing tests
2022-08-10 16:26:53 -07:00
Mikayla Maki
8843ef5449
Added env toml so readme db instructions are correct
2022-08-10 15:07:02 -07:00
Julia
7f8c6fc87b
Merge pull request #1482 from zed-industries/click-goto-on-mouse-up
...
Handle Cmd/Shift + Click go-to action on mouse-up instead of mouse-down
2022-08-10 12:03:54 -04:00
K Simmons
3c4879ea84
fix up command palette
2022-08-09 17:15:54 -07:00
K Simmons
78244cf28a
Address picker issues
2022-08-09 17:15:54 -07:00
K Simmons
9fcea3e805
Pane focus working. Modals seem broken now
2022-08-09 17:15:54 -07:00
K Simmons
7c91050f23
build fix
2022-08-09 17:15:54 -07:00
K Simmons
b76bd98ed8
WIP compiling but failing with circular reference
2022-08-09 17:15:52 -07:00
K Simmons
98499db694
Switch action dispatch to use MutableAppContext parent utilities and delete parent map from presenter
2022-08-09 17:09:28 -07:00
K Simmons
20770e7240
Event dispatch moved to MutableAppContext. No longer dispatches from presenter. Not currently handling key presses properly
2022-08-09 17:09:16 -07:00
Mikayla Maki and Keith
0c0e66dbfc
changed name of subscription mapping and moved out to file
...
Co-authored-by: Keith <keith@zed.dev >
2022-08-09 16:59:13 -07:00
Mikayla Maki
774256b60e
checkpoint, no idea what's happening
2022-08-09 16:15:53 -07:00
ForLoveOfCats and Mikayla
f2ed63f6a3
Jankily adjust left padding on workspace title in fullscreen
...
This could seriously be done better
Co-authored-by: Mikayla <mikayla@zed.dev >
2022-08-09 19:03:32 -04:00
ForLoveOfCats and Mikayla
67baec6641
Invalidate view when entering/exiting fullscreen
...
This is required for `render_titlebar` to eventually adapt to
fullscreen status to affect the size of left padding on workspace
name to account for the traffic lights presence/absence
Co-authored-by: Mikayla <mikayla@zed.dev >
2022-08-09 19:03:32 -04:00
ForLoveOfCats and Mikayla
27a72ec951
Refactor notification/observation callback pattern in MutableAppContext
...
Pull out duplicate code and clarify some misc behavior. Some of this
existing API feels like it's probably incorrect but that needs more
thorough investigation
Co-authored-by: Mikayla <mikayla@zed.dev >
2022-08-09 19:03:25 -04:00
ForLoveOfCats and Mikayla
3e64a78d7e
Route whether or not a window is fullscreen down into GPUI
...
This still needs to be able to invalidate things to be useful
but it's a good first cut at just making the information available
to platform-agnostic code
Co-authored-by: Mikayla <mikayla@zed.dev >
2022-08-09 19:03:12 -04:00
ForLoveOfCats
b931136c84
Handle Cmd/Shift + Click go-to action on mouse-up instead of mouse-down
2022-08-08 15:59:33 -04:00
ForLoveOfCats
7a4db7e505
Automatically trigger project search to occur when deploying
2022-08-08 13:17:19 -04:00
Mikayla Maki
51f8bae91a
Fixed lack of scrolling
2022-08-05 09:18:24 -07:00
Mikayla Maki
d4ee886732
Merge branch 'main' of github.com:zed-industries/zed
2022-08-04 20:59:22 -07:00
Mikayla Maki
d5d2beeb03
Fixed terminal clear screen
2022-08-04 20:59:09 -07:00
Max Brunsfeld
ac140c478e
Handle RPC requests for type definitions on server and host
2022-08-04 15:10:46 -07:00