Ezekiel Warren
bfd9bb8a7c
Use shared text system on Linux and Windows ( #10098 )
...
closes #10129
closes #10269
Release Notes:
- N/A
2024-04-09 17:25:16 -07:00
Ezekiel Warren
9b62e461ed
windows: Add extension builder support ( #9791 )
...
Release Notes:
- N/A
2024-03-25 17:25:03 -04:00
Ezekiel Warren
00a8659491
More C++ path suffixes ( #9761 )
...
There is also `.C` and `.H` (capital), but I can't imagine they are very
popular and I'd be worried clashing with C.
Release Notes:
- Added more path suffixes recognized as C++
2024-03-25 15:23:09 -04:00
Ezekiel Warren
78dc458231
windows: Mouse wheel coordinates fix ( #9749 )
...
mouse scroll wasn't working unless the window was maximized or in the
top left corner because the Windows wheel events give screen coordinates
Release Notes:
- N/A
2024-03-25 11:14:51 -07:00
Ezekiel Warren
0f15fd37d6
windows: User installed language server support ( #9606 )
...
Release Notes:
- N/A
2024-03-21 15:25:26 -07:00
Ezekiel Warren
b6201a34b9
Check for user installed clangd ( #9605 )
...
Release Notes:
- Improved C/C++ support using user installed clangd when available
2024-03-21 10:50:42 -07:00
Ezekiel Warren
9b0949b6fb
Allow specifying no base keymap ( #9471 )
...
This PR is a bit of a shot in the dark. I'm not sure if this will be
acceptable and I understand if it gets rejected.
I've been trying to integrate Zed as my daily driver and the key
bindings have been a major hurdle for me. Mostly due to the
windows/linux keybindings being messed up, but also me wanting to have
more chained key bindings similar to helix or common in custom neovim
configurations.
I think having a `None` base keymap would allow someone to more easily
implement a new base keymap (#4642 ) and would make my daily use of Zed a
little nicer 😅 .
Also I am aware that there would need to be a little more work done in
this PR for the other base keymaps such as 'atom' since they assume the
'default' (vscode) base keymaps are loaded. I'm happy to do that work if
a 'none' base keymap is acceptable.
Release Notes:
- Added ability to specify no base keymap which allows for full
keybinding customization
2024-03-20 18:52:17 -06:00
Ezekiel Warren
d5e0817fbc
windows: Fix title bar height when maximized ( #9449 )
...
screenshots and description incoming
## title bar when window is maximized
| before | after |
| --- | --- |
|

|

|
## ~~caption buttons at 200%~~
~~buttons are now properly responsive at different scales~~
~~closes #9438~~
~~proper scale factor handling in follow up PR (possibly #9440 )~~
<details>
<summary>out of date image</summary>

</details>
should be fixed by https://github.com/zed-industries/zed/pull/9456
Release Notes:
- N/A
2024-03-19 20:54:00 -07:00
Ezekiel Warren
ac6c4f3ca8
windows: fix 'space' keystroke keydown event ( #9476 )
...
the space key was being reported as key " " which didn't allow it to be
used in keybindings
Release Notes:
- N/A
2024-03-19 10:35:28 -07:00
Ezekiel Warren and Mikayla Maki
e22d31b52d
windows: Respect "appears transparent" for title bar ( #9454 )
...
now respecting the 'appears transparent' titlebar option which is used
in the storybook crate. created for #9453
# storybook
running
```
cargo run -p storybook components/text
```
| before | after |
| --- | --- |
|

|

|
Release Notes:
- N/A
Co-authored-by: Mikayla Maki <mikayla@zed.dev >
2024-03-18 11:39:46 -07:00
Ezekiel Warren
31aaee9130
windows: Don't propagate window char message ( #9470 )
...
we were accidentally calling the input handler even when the keydown
event asked it not to be propagated
Release Notes:
- N/A
2024-03-18 11:02:15 -07:00
Ezekiel Warren
0e83b22583
windows: Dispatch missing foreground tasks ( #9469 )
...
Some foreground tasks were being missed causing some unresponsiveness in
Zed. The foreground tasks used to happen but it was changed in #9351
(here:
https://github.com/zed-industries/zed/pull/9351/files#diff-5b5e706f04c15d77efd23989ec5b1b1cf73d36144e2d066a074de165533ecaeaL227 )
Release Notes:
- N/A
2024-03-18 11:01:51 -07:00
Ezekiel Warren
4e17ce3b37
windows: credentials implementation ( #9385 )
...
Release Notes:
- N/A
2024-03-18 10:16:29 -07:00
Ezekiel Warren
9f96c43ff7
windows: Don't report 'shift' for certain keys ( #9479 )
...
allows keybindings for character such as `:`, `?`, etc. (important for
vim mode!)
alternative solution is here: #9478
Release Notes:
- N/A
2024-03-18 09:33:28 -06:00
Ezekiel Warren
ee50d22add
windows: Add manifest for storybook ( #9453 )
...
allows `cargo run -p storybook` to work on Windows
Release Notes:
- N/A
2024-03-18 10:14:01 -04:00
Ezekiel Warren
db43479be8
windows: active window implementation ( #9314 )
...
active window implementation - bonus vim mode works on windows now
Release Notes:
- N/A
2024-03-15 10:54:45 -07:00
Ezekiel Warren
f9b9123606
chore: cleanup more windows use ( #9376 )
2024-03-14 18:00:03 -07:00
Ezekiel Warren and Mikayla
948b3827c8
windows: better looking titlebar ( #9053 )
...
~~work in progress. not ready for review. made for visibility only, but
feel free to comment :)~~
TODO:
- [x] add close/min/max buttons (to be rendered with gpui)
- [x] snap layout support
- [x] fix issues with clicking items in titlebar
- [x] cleanup/document
Release Notes:
- Added custom windows titlebar

---------
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-03-14 17:20:30 -07:00
Ezekiel Warren
6bbc5e2efa
windows: cleanup window crate uses ( #9374 )
2024-03-14 16:42:53 -07:00
Ezekiel Warren
06035dadea
windows: more frequent frame requests ( #8921 )
...
Note rust analyzer running in background now without keyboard/mouse
movement.

Release Notes:
- Improved frame rate on Windows
2024-03-06 11:54:33 -08:00
Ezekiel Warren
a0fac3866a
prevent empty cwd in terminal view ( #8924 )
...
closes #8825
Release Notes:
- N/A
2024-03-06 11:26:16 -08:00
Ezekiel Warren
36c4831806
windows: mouse and keyboard ( #8791 )
...
Windows mouse and keyboard working! I also tweaked the message loop so
that it didn't get stuck. The peek message loop was almost never
returning for me during testing.
Release Notes:
- Added windows mouse and keyboard support

2024-03-05 08:35:07 -08:00
Ezekiel Warren
36d9b3d483
windows: get pid with win32 api ( #8785 )
...
While trying to get mouse/keyboard support in for Windows I ran into a
stack overflow issue related to the pid being `-1`. Getting the proper
process ID seems to fix it.
Release Notes:
- Fixed stack overflow on Windows
2024-03-03 11:42:36 -08:00