Commit Graph

343 Commits (screencopy-clip-regions)

Author SHA1 Message Date
Andri Yngvason 79070f0219 screencopy: Send buffer damage to the compositor
This tells the compositor that it doesn't need to fill in the regions outside
the clip region because those regions are already up to date.
2021-09-05 15:33:26 +00:00
Andri Yngvason b5c068545c buffer: Create a global buffer registry
This is used for tracking buffer damage, as opposed to frame damage.
2021-09-05 15:31:24 +00:00
Andri Yngvason 87c040c919 Align with nvnc_fb_pool API change 2021-09-05 00:47:34 +00:00
Andri Yngvason 6c3d9bbb9f Use new NeatVNC buffer submission API 2021-09-04 21:04:00 +00:00
Andri Yngvason 3b6a07a3b6
README: IRC channel has moved to libera.chat 2021-05-28 11:09:50 +00:00
Andri Yngvason 7a32cae4ac README: Update installation steps for archlinux
Wayvnc is now in the community repository
2021-04-10 12:45:03 +00:00
Ryan Farley 81192ac74d Support UNIX domain sockets
Makes use of the functionality added in
https://github.com/any1/neatvnc/pull/49 to support UNIX domain sockets
with a command line flag.
2021-04-06 14:19:28 +00:00
Andri Yngvason 7a60ab7db8 Display Patreon account on GitHub page 2021-01-31 12:17:00 +00:00
Andri Yngvason 13323a742f Release v0.4.0 2021-01-01 23:29:40 +00:00
Andri Yngvason 2dc16d2e07 Also exit on ECONNRESET 2020-12-31 13:28:15 +00:00
Andri Yngvason da52a28a75 README: Mention the GitHub discussion page 2020-12-31 13:25:07 +00:00
Andri Yngvason 0dd4840065 meson: Require xkbcommon >= 1.0.0
The 'xkb_keymap_key_get_mods_for_level' function was introduced in
v1.0.0 and it is needed for reverse keysym-keycode mapping.
2020-12-31 12:55:40 +00:00
Andri Yngvason e3af211523 keyboard: Show warning when multiple layouts are specified 2020-12-27 19:34:06 +00:00
Andri Yngvason 07f42ecb36 logging: Add warning log level 2020-12-27 19:29:01 +00:00
Andri Yngvason 0178c13627 keyboard: Always use layout index 0
Layout switching isn't supported anyhow. Better not to confuse things.
2020-12-27 19:26:54 +00:00
Andri Yngvason c1a5de76ea Document how to enable the compose key 2020-12-26 22:29:16 +00:00
Andri Yngvason 572e3138e3 Document xbk config options 2020-12-26 22:06:31 +00:00
Andri Yngvason b9142a94ae Add xkb config options 2020-12-26 21:32:06 +00:00
Andri Yngvason d0aa51aa6e keyboard: Pass struct xkb_rule_names to keyboard_init 2020-12-26 21:07:49 +00:00
Andri Yngvason 482ebaf168 keyboard: Match shift levels to keycodes when needed 2020-12-26 17:19:34 +00:00
Andri Yngvason 2957f6f3a2 keyboard: Split keyboard_feed_code() into more functions 2020-12-26 17:19:34 +00:00
Arnavion a9b2d93568 Don't free the front buffer if screencopy fails
It is possible for `screencopy_failed` to be called without
the front buffer ever being set, such as when the output is dpms-off.

Fixes #65
2020-12-19 12:53:33 +00:00
Andri Yngvason 5ae312c1b4 meson: Depend on neatvnc >=v0.4.0
This is required for qemu extended key events
2020-12-06 14:25:42 +00:00
Andri Yngvason d757e6db88 Add handler for raw key events 2020-11-29 20:50:39 +00:00
Andri Yngvason d978d94041 keyboard: Extract function 'keyboard_feed_code()' 2020-11-29 18:58:21 +00:00
Andri Yngvason 22562183db .gitignore: Add .vimrc 2020-11-15 12:49:40 +00:00
Andri Yngvason 7f5fbbf613 README: Add PAM to runtime dependency list 2020-11-03 23:35:53 +00:00
Andri Yngvason 9d0cc287a8 README: Trim down installation instructions 2020-11-03 23:33:23 +00:00
Andri Yngvason 457ed9c0b5 CONTRIBUTING: Fix markdown for links 2020-11-03 23:27:14 +00:00
Andri Yngvason a19cc2fa16 Add contributing guide 2020-11-03 23:24:51 +00:00
Aisha Tammy 4fc9493e2f make systemtap optional 2020-11-03 22:31:25 +00:00
NickSica 6a73f293fc Add PAM authentication 2020-11-03 22:18:46 +00:00
Andri Yngvason fa4dc0f169 Limit usage text to 80 characters per line 2020-10-17 18:16:12 +00:00
Andri Yngvason d923f212d0 man: Update description for --keyboard option 2020-10-17 18:13:46 +00:00
Flakebi 98d703bfa8 Fix de-neo layout
- Add possibility to specify layout variant with -k <layout>-<variant>
- Add ISO_Level5_Shift and ISO_Level5_Lock to modifier keys
2020-10-17 18:06:12 +00:00
Antonin Décimo 41f30bf7ca Fix use-after-free in error path 2020-10-01 09:57:14 +00:00
Antonin Décimo a9d9547930 Remove unused ALIGN_UP macro 2020-10-01 09:57:14 +00:00
Andri Yngvason 7624d3d22f Fix man page path 2020-09-28 20:37:30 +00:00
Andri Yngvason 18ab7bc60e Release v3.0.0 2020-09-28 19:54:48 +00:00
Andri Yngvason d235f9394b FAQ: Remove outdated Q 2020-09-28 19:35:40 +00:00
Andri Yngvason 15c6768f4f man-page: Fix wording 2020-09-28 19:34:52 +00:00
Andri Yngvason b93d55d068 Generate and install a man page 2020-09-26 14:43:46 +00:00
Andri Yngvason c20474604e Write a man page 2020-09-26 14:24:10 +00:00
Andri Yngvason 4a098e27f9 Don't init data_control if it's not supported by compositor 2020-09-22 20:08:10 +00:00
Andri Yngvason 30295bb715 data-control: Destroy data device on exit 2020-09-22 20:01:11 +00:00
Andri Yngvason 5c30d7752c data-control: Clean up whole receive context in aml_free_fn
This takes care of the case where wayvnc exits before the whole offer
has been processed.
2020-09-22 19:53:05 +00:00
Andri Yngvason 9a2f761a02 data-control: Don't free data-control-manager twice 2020-09-22 19:37:35 +00:00
Andri Yngvason 630e2e67bc data-control: Make offer handling asynchronous 2020-09-22 03:12:46 -06:00
Scott Moreau 3ee9aac35e Add basic clipboard support
Uses wlr-data-control-unstable-v1 protocol to interface with the clipboard
making copy/paste of text to/from host clipboard possible.
2020-09-22 03:11:03 -06:00
Andri Yngvason 8038e65597 Clean up aml on nvnc init failure 2020-08-23 13:25:45 +00:00