Commit Graph

181 Commits

Author SHA1 Message Date
Marc-André Lureau
77de690912 qemu-display: export zbus
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2023-08-28 14:26:35 +04:00
Marc-André Lureau
39bf79d2c0 Merge branch 'update' into 'master'
Update to latest crates

See merge request marcandre.lureau/qemu-display!2
2023-08-28 10:14:28 +00:00
Marc-André Lureau
c874f813c1 Update to latest crates 2023-08-28 14:13:22 +04:00
Marc-André Lureau
da6dc72432 qemu-rdw: update to RDW API changes
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2023-05-15 15:10:11 +04:00
Marc-André Lureau
eb21285e92 qemu-rdw: adapt to the previous 2 qemu-display API changes
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2023-05-12 16:48:43 +04:00
Marc-André Lureau
e642e14d5a qemu-display: add Interfaces to ConsoleListener
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2023-05-11 23:27:14 +04:00
Marc-André Lureau
5ab24ab8a8 Split win32-specific qemu-display listeners
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2023-05-11 23:20:07 +04:00
Marc-André Lureau
39ee45661b qemu-vnc: add missing listener disable()
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2023-05-11 22:39:44 +04:00
Marc-André Lureau
8b9a70505b Implement experimental D3D Texture2D sharing
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2023-05-09 12:37:43 +04:00
Marc-André Lureau
4126bd092c qemu-rdw: debug->trace spammy events, like motion and scanout
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2023-05-09 12:34:30 +04:00
Marc-André Lureau
b659c5ff84 qemu-display: add missing Disable stubs
The display should learn to do something sensible, like write some text?

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2023-05-09 12:34:30 +04:00
Marc-André Lureau
e5748eb17d Fix clippy warnings
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2023-05-09 12:34:30 +04:00
Marc-André Lureau
205f86ac50 Fix build with glib-rs update
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2023-05-09 12:34:15 +04:00
Marc-André Lureau
fb86c7d1fe qemu-display/src/chardev: export register() on !unix 2023-04-03 15:15:57 +04:00
Marc-André Lureau
47c27c9ce9 Bump zbus to 3.11 2023-03-27 17:42:38 +04:00
Marc-André Lureau
a742cee632 Update README.md 2023-03-21 09:55:40 +00:00
Marc-André Lureau
544a407561 rdw: fix run-time panic because we are not on MainContext
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2023-01-17 18:26:35 +04:00
Marc-André Lureau
3712905ec1 win32: add shared scanout map handling
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2023-01-17 14:54:18 +04:00
Marc-André Lureau
f33c9c4659 qemu-display: update windows deps
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2023-01-17 14:54:18 +04:00
Marc-André Lureau
12d7cd59c3 Remove DMABUF handler functions on !unix 2023-01-17 14:54:18 +04:00
Marc-André Lureau
16e20d7b4a qemu-display: return errors for DMABUF on !unix
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2023-01-17 14:54:18 +04:00
Marc-André Lureau
bb9b4df587 rdw: round relative mouse motion
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2023-01-17 14:54:18 +04:00
Marc-André Lureau
71e0d57efb Fix a unused import warning
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2023-01-17 14:54:08 +04:00
Marc-André Lureau
543de41f89 qemu-rdw: lookup keymap from rdw
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-11-15 23:19:59 +04:00
Marc-André Lureau
788987acce qemu-rdw: make mouse relative by default
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-11-15 14:42:06 +04:00
Marc-André Lureau
9fd90c70c8 qemu-display: avoid sending absolute position if unsupported
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-11-15 14:37:47 +04:00
Marc-André Lureau
d78a324502 zbus: stick to 3.3, until !596 is fixed 2022-11-15 14:37:47 +04:00
Marc-André Lureau
7708016f72 qemu-display: prepare for new_qmp() on unix
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-11-15 14:37:47 +04:00
Marc-André Lureau
721962af92 Update to gtk4 0.5
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-11-15 11:36:27 +04:00
Marc-André Lureau
bb87cfc1fc qemu-display: bump zbus to 3.3
<3.2 had regressions
2022-10-25 16:46:07 +04:00
Marc-André Lureau
e7b1548361 qemu-rdw: connect to default org.qemu instance
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-10-21 18:18:06 +04:00
Marc-André Lureau
91a8549b70 Add basic windows support 2022-10-21 18:17:50 +04:00
Marc-André Lureau
817d44e17a qemu-rdw: add some setup tracing
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-10-21 18:17:25 +04:00
Marc-André Lureau
18f887f111 Add a new qmp feature and Display::new_qmp
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-10-19 11:44:12 +04:00
Marc-André Lureau
8f70feb2e5 Fix clippy warnings
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-10-17 17:35:08 +04:00
Marc-André Lureau
e75fbd1539 qemu-display: add simple win32-test
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-10-17 17:30:10 +04:00
Marc-André Lureau
0728a62a58 qemu-display: allow to connect p2p, without destination
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-10-17 17:30:10 +04:00
Marc-André Lureau
2ed1174df6 qemu-display: pass sockets with win32
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-10-17 17:30:10 +04:00
Marc-André Lureau
5b428adace Bump zbus & clap
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-09-28 18:32:17 +04:00
Marc-André Lureau
1a24e051d0 qemu-display: start win32 support 2022-08-30 16:19:38 +04:00
Marc-André Lureau
ecbeb857c5 Fix bad show-error signal return type
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-06-23 14:25:18 +04:00
Marc-André Lureau
e5e1443292 keycodemap: bump phf 2022-01-18 23:10:36 +04:00
Marc-André Lureau
fc56b9fcb8 Bump gtk/glib/rdw deps
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-01-18 23:08:46 +04:00
Marc-André Lureau
2c007d8c4c Follow zbus upstream
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-12-21 16:35:13 +04:00
Marc-André Lureau
13db197622 WIP: reconnect 2021-12-17 18:22:30 +04:00
Marc-André Lureau
5bee9ea7f3 demo: add an option to --wait for VM
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-12-16 23:43:15 +04:00
Marc-André Lureau
e4df821fc2 Update to current zbus
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-12-16 19:25:37 +04:00
Marc-André Lureau
5f0279eb1f demo: teach to connect to a different bus
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-11-05 02:40:19 +04:00
Marc-André Lureau
cbe0cf891c qemu-rdw: use the shared library
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-11-02 17:02:50 +04:00
Marc-André Lureau
8c5fa2a4f9 qd: replace RefCell with async mutex
Avoid potential run-time borrowing errors across async points.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-10-12 11:39:01 +04:00