Ezekiel Warren
0201847a87
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
d81a20006e
windows: Add extension builder support ( #9791 )
...
Release Notes:
- N/A
2024-03-25 17:25:03 -04:00
Ezekiel Warren
d7c5ff34eb
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
3086da1f08
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
2606e29535
windows: User installed language server support ( #9606 )
...
Release Notes:
- N/A
2024-03-21 15:25:26 -07:00
Ezekiel Warren
56c48d622a
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
879a46f070
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
8a77d392bc
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
696ebbf257
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
8b0c4f4a77
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
9b9526559d
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
cb002a021d
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
dec5b73831
windows: credentials implementation ( #9385 )
...
Release Notes:
- N/A
2024-03-18 10:16:29 -07:00
Ezekiel Warren
73bd012c8c
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
cecca91456
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
f95a0c972a
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
693af58963
chore: cleanup more windows use ( #9376 )
2024-03-14 18:00:03 -07:00
Ezekiel Warren and Mikayla
c67ca35a0f
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
9b388bf01e
windows: cleanup window crate uses ( #9374 )
2024-03-14 16:42:53 -07:00
Ezekiel Warren
44f23ff8a0
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
477c951b73
prevent empty cwd in terminal view ( #8924 )
...
closes #8825
Release Notes:
- N/A
2024-03-06 11:26:16 -08:00
Ezekiel Warren
fbca87de23
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
ee36e81d45
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