Kay Simmons
62967ade28
Merge pull request #1944 from zed-industries/vim-page-movement
...
Add scroll commands to vim mode
2022-12-08 14:58:19 -08:00
Kay Simmons
0a29b85759
notify views when hover finishes in tooltip wrapper
2022-12-08 11:26:46 -08:00
Kay Simmons
acac7d292d
Refactor editor scrolling and implement scroll commands from vim mode
2022-12-07 16:39:32 -08:00
Antonio Scandurra
b5ede1d2d9
Merge branch 'main' into reconnections-2
2022-12-05 19:18:40 +01:00
Mikayla Maki and
6c0a41919b
Distributed database pattern built.
...
Co-Authored-By: kay@zed.dev
2022-12-03 16:06:01 -08:00
K Simmons
7d11a3b37f
WIP
2022-12-03 16:04:10 -08:00
Antonio Scandurra
3fac823050
Merge branch 'main' into reconnections-2
2022-12-02 19:09:33 +01:00
Antonio Scandurra
871add9d65
Capture runnable backtraces only when detecting nondeterminism
2022-11-28 19:35:33 +01:00
Antonio Scandurra
7d91ae8d03
Introduce a new detect_nondeterminism = true attribute to gpui::test
2022-11-28 19:01:28 +01:00
Kay Simmons
fe47176544
address issue where mouse down events weren't getting captured after the multiple handlers change
2022-11-18 13:04:27 -08:00
Julia and Kay Simmons
c15de20671
Allow having multiple mouse event handlers of the same kind
...
Co-Authored-By: Kay Simmons <kay@zed.dev >
2022-11-17 17:01:34 -05:00
Mikayla Maki
470afffc89
Fix unscaled scrolling when using an imprecise mouse wheel
2022-11-16 10:44:13 -08:00
Antonio Scandurra
735347ffc1
Don't focus incoming call and project shared notification windows
2022-11-02 14:17:16 +01:00
K Simmons
915bc6afe2
remove unnecessary comment
2022-10-27 13:29:57 -07:00
K Simmons
395e073298
upgrade existing test to match new expected behavior
2022-10-27 13:28:49 -07:00
K Simmons
fa8f180406
minor tweak to keymap code
2022-10-27 12:36:53 -07:00
K Simmons
726cc8aca6
fixed binding fallback
2022-10-27 12:33:51 -07:00
Mikayla Maki
b67c414bc3
WIP: Change to matches to vec
2022-10-27 11:27:26 -07:00
K Simmons
1a47c16255
Disallow new keybindings when there are any pending
2022-10-26 16:57:23 -07:00
K Simmons
ed0c2b9854
wip
2022-10-26 15:57:42 -07:00
Antonio Scandurra
6c28b49edd
Log instead of panicking when we can't retrieve a drawable
2022-10-26 14:30:48 +02:00
Antonio Scandurra
99113fcc8c
Convert window frame rect to screen coordinates
2022-10-26 14:27:53 +02:00
Antonio Scandurra
3d4906f002
Add the ability to open a window on a given screen
...
This is done by supplying the screen in the `WindowOptions` struct.
Note that it's optional, and we will let the operating system choose
which screen to show the window on when `screen` is not provided, as
we did before this change.
2022-10-26 12:04:45 +02:00
Antonio Scandurra and Max Brunsfeld
f05363b45c
Maintain scroll position in contacts list
...
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2022-10-25 18:36:33 +02:00
Antonio Scandurra
5138c263a6
Rename height to z-index
2022-10-25 13:47:12 +02:00
Antonio Scandurra
85ce4d083a
Allow specifying a custom height for stacking contexts
2022-10-25 13:41:47 +02:00
Antonio Scandurra
b355e5e875
💄
2022-10-25 12:19:25 +02:00
Antonio Scandurra
bbcd8d4df9
Rename depth to height when referring to stacking contexts
2022-10-25 12:18:23 +02:00
Antonio Scandurra
dd6447cbbb
Create a SceneBuilder and sort stacking contexts when calling build
2022-10-25 12:16:09 +02:00
Kay Simmons
c577cc3f29
Merge pull request #1792 from zed-industries/fn-modifier
...
Add fn modifier
2022-10-25 00:35:00 -07:00
K Simmons
d6ce5e5da9
remove derive_more
2022-10-25 00:06:43 -07:00
K Simmons
a092dda8cd
Add fn modifier to modifier keys in gpui and refactor platform events to use a single modifiers struct
2022-10-24 23:50:39 -07:00
K Simmons
f2c8c85358
tweak drop target overlay color and make stack fully constraint children by the first child
...
's size
2022-10-24 23:47:43 -07:00
K Simmons
6a082e0e87
remove unnecessary Move branch in dispatch_events
2022-10-24 23:32:01 -07:00
K Simmons
e83b6e9379
remove more notify on moves
2022-10-24 23:32:01 -07:00
K Simmons
c2ee248dd5
remove mouse position from render params
2022-10-24 23:32:01 -07:00
K Simmons
d81ab40524
roll back mouse position in mouse_state struct in favor of using the dragged element position
2022-10-24 23:32:01 -07:00
K Simmons
c216270cc7
extract dragged item target
2022-10-24 23:32:00 -07:00
K Simmons
bcb83ec7fc
fix issue where empty pane is created
2022-10-24 23:32:00 -07:00
K Simmons
6ae3c4446c
Add pane splitting by dragged item. Works, but the overlay doesn't clear quite right
2022-10-24 23:31:58 -07:00
K Simmons
48dbd2465a
add mouse region handler bool for adding the handler above the child
2022-10-24 23:30:35 -07:00
Julia and Kay Simmons
d842dc1259
Handle tab drag end on pane items to insert after active item
...
Co-Authored-By: Kay Simmons <kay@zed.dev >
2022-10-24 23:30:35 -07:00
Antonio Scandurra
75a35cabc4
Allow opening shared screen via the contacts popover
2022-10-24 10:47:47 +02:00
Antonio Scandurra
231fc0f698
Merge branch 'main' into screen-sharing
...
# Conflicts:
# crates/collab/src/integration_tests.rs
# crates/collab/src/main.rs
# styles/src/styleTree/workspace.ts
2022-10-21 14:29:45 +02:00
Nathan Sobo
22770aa942
Apply a slight stylistic tweak
2022-10-20 18:38:27 -06:00
K Simmons
a03d4d9802
catch keymap string only modifiers and no key
2022-10-20 16:30:07 -07:00
Antonio Scandurra
5126184bfb
Merge remote-tracking branch 'origin/main' into screen-sharing
2022-10-19 10:04:56 +02:00
Nathan Sobo
e74039336d
Merge pull request #1764 from zed-industries/gpui-events
...
Eliminate dispatch_event on Element trait
2022-10-18 15:24:13 -06:00
Max Brunsfeld
02d91a5a83
Scroll horizontal flex lists by whichever scroll delta dimension is greater
2022-10-18 12:59:04 -07:00
Antonio Scandurra
e7830b4c33
Render remote participant's screen preserving aspect ratio
2022-10-18 14:16:19 +02:00