Commit Graph

205 Commits

Author SHA1 Message Date
Marc-André Lureau
9cd1267c55 qemu-rdp: add cursor shape support
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-10 14:44:15 +04:00
Marc-André Lureau
1e0aa2b772 qemu-rdp: add basic clipboard
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-10 14:44:15 +04:00
Marc-André Lureau
192ed89593 qemu-rdp: add SSLKEYLOGFILE support
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-10 14:26:56 +04:00
Marc-André Lureau
0a68e1e08d qemu-rdp: some ConsoleListner improvements
- use pixman-sys
- reuse self.update() for scanout
- save a RDP DesktopSize for future resize usage
- add some tracing

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-10 14:03:08 +04:00
Marc-André Lureau
187f680599 qemu-rdp: simplify logging
Drop the --log-file argument, simply log to std.

Adjust environment name to follow IRONRDP_LOG style.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-10 13:01:37 +04:00
Marc-André Lureau
726c893298 qemu-display: start a examples/server
This is meant for testing.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-10 12:57:24 +04:00
Marc-André Lureau
4395b41fd7 qemu-display: some extra derive
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-10 12:56:32 +04:00
Marc-André Lureau
fd67aa0277 qemu-display: bump deps
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-10 12:55:56 +04:00
Marc-André Lureau
79fa942b7a qemu-rdw: fix a clippy warning
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-10 12:14:51 +04:00
Bilal Elmoussaoui
504611a853 qemu-display: Add a MultiTouch interface implementation 2024-04-10 12:14:51 +04:00
Marc-André Lureau
912d39dc20 chore: commit Cargo.lock
This allows to track our working dependencies, and is now a recommended practice, even for lib

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-10 12:14:51 +04:00
Marc-André Lureau
e03f2d80a6 qemu-rdp: fix compilation with current IronRDP
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-10 12:14:51 +04:00
mihneabuz
8c3b5e7cba qemu-rdp: initial rdp server 2024-04-09 19:02:25 +04:00
Marc-André Lureau
a4b0394f27 qemu-rdw: minor code simplification
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-09 19:02:01 +04:00
Marc-André Lureau
142148e8db qemu-display: replace needless Arc with Rc
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-09 19:01:23 +04:00
Marc-André Lureau
9da1aa5aeb qemu-display: replace refcell with rwlock
To have Sync?

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-09 19:01:23 +04:00
Marc-André Lureau
29926a8df0 qemu-display: misc improvements
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-09 19:01:14 +04:00
Marc-André Lureau
3e2bb7985c Update to zbus 4
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-09 18:34:53 +04:00
Marc-André Lureau
a2185be540 qemu-rdw: use workspace deps
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-09 18:33:29 +04:00
Marc-André Lureau
abca0e48d5 qemu-vte: fix build, use workspace deps
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-09 18:33:26 +04:00
Marc-André Lureau
67b334e5bb qemu-vnc: fix build, use workspace deps
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-09 18:33:25 +04:00
Marc-André Lureau
aa10b12bcb qemu-display: update to current zbus git
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-09 18:32:55 +04:00
Marc-André Lureau
24cca85289 Cargo.toml: back to rdw.git
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-03-27 15:15:52 +04:00
Marc-André Lureau
86118de078 qemu-display: drop zbus xml feature
Although I expect it to be used later, we don't use it yet. (zbus_xml)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2023-08-30 12:58:53 +04:00
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