Commit Graph

588 Commits (56c38af25f80d725258889c5f8fb7dec1e64cbfe)

Author SHA1 Message Date
Andri Yngvason 56c38af25f buffer: Only include linux/dma-heap.h where available
This unbreaks the build on FreeBSD.
2024-03-30 17:04:53 +00:00
Andri Yngvason 333381326d test: integration: Disable multi-output test
It seems rather fragile and I don't have the time to make it more robust.
2024-03-30 16:39:33 +00:00
Andri Yngvason 17841f9ece FUNDING.yml: Add github sponsors 2024-03-26 10:35:30 +00:00
Andri Yngvason b292c086fe buffer: Align CMA buffers up to nearest multiple of 16 2024-03-16 22:33:09 +00:00
Andri Yngvason 54fb881aab util: Add ALIGN_UP macro 2024-03-16 16:46:14 +00:00
Andri Yngvason bd9daa85c3 buffer: Allocate DMA-BUFs via CMA where available 2024-03-10 17:57:34 +00:00
Jan Beich 5b01551673 ctl: Add missing header after 42494fbbe4
src/ctl-server.c:373:36: error: incomplete definition of type 'struct sockaddr_in'
                inet_ntop(addr->sa_family, &sa_in->sin_addr, dst, sz);
                                            ~~~~~^
src/ctl-server.c:368:9: note: forward declaration of 'struct sockaddr_in'
        struct sockaddr_in* sa_in = (struct sockaddr_in*)addr;
               ^
src/ctl-server.c:376:37: error: incomplete definition of type 'struct sockaddr_in6'
                inet_ntop(addr->sa_family, &sa_in6->sin6_addr, dst, sz);
                                            ~~~~~~^
src/ctl-server.c:369:9: note: forward declaration of 'struct sockaddr_in6'
        struct sockaddr_in6* sa_in6 = (struct sockaddr_in6*)addr;
               ^
2024-02-26 12:37:19 +00:00
Andri Yngvason d71bca5270 meson: Bump version to 0.9 2024-02-25 12:11:31 +00:00
Andri Yngvason 5d55944dab ctl: Emit event when output is added/removed 2024-02-11 22:17:50 +00:00
Andri Yngvason d819ca477c README: Use ECDSA instead of RSA 2024-01-10 22:43:05 +00:00
Andri Yngvason 42494fbbe4 ctl: Replace hostname with IP address 2023-12-31 18:06:35 +00:00
Andri Yngvason 5ef322701e main: Fix crashes with non-wlroots compositors 2023-12-26 15:10:29 +00:00
Andri Yngvason fb4c5c55a1 main: Pass error messages to control socket 2023-12-26 15:06:05 +00:00
Andri Yngvason a7ed782bb9 main: Fix ctl-server use after free 2023-12-10 19:03:26 +00:00
Andri Yngvason 830142701a pam_auth: Correct use of calloc() 2023-12-10 18:51:58 +00:00
Andri Yngvason fcfd4280b7 output-management: Clean up and init resources on destroy
If we leave these dangling valgrind will complain and thing will be left
in a bad state for re-attachment.
2023-12-10 18:29:06 +00:00
Andri Yngvason a34a2d1cb9 main: Remove wayland fd handler on detach 2023-12-10 18:14:24 +00:00
Andri Yngvason f2c9ab0fb5 output-management: Force normal transform on headless 2023-11-19 21:55:58 +00:00
Andri Yngvason 8dbce970c0 output: NOOP is another name for HEADLESS 2023-11-19 21:38:48 +00:00
Andri Yngvason 11a477f92e main: Only one client is allowed to resize 2023-11-19 21:17:15 +00:00
Consolatis 6e1d8aaddc Automatically resize headless outputs on client request 2023-11-19 21:06:41 +00:00
Consolatis ac907a07f3 Add wlr-output-management protocol 2023-11-19 21:01:45 +00:00
Andri Yngvason 64497d9388 Detach instead of exiting if all outputs go away 2023-11-19 20:47:39 +00:00
Andri Yngvason e0bdf98112 builds: archlinux: Add python cryptodomex
This is needed by vncdo
2023-11-19 20:47:39 +00:00
Andri Yngvason e71956769c examples: Add script to auto attach to any compositor 2023-11-19 20:47:39 +00:00
Andri Yngvason 27a8008edf Emit "detached" control event 2023-11-19 20:47:39 +00:00
Andri Yngvason 3af4851e4d Detach instead of exiting when compositor goes away 2023-11-19 20:47:39 +00:00
Andri Yngvason 9647d1089a Implement detached mode
This makes it possible to attach to a compositor at a later time and to
detach and re-attach.
2023-11-19 20:47:39 +00:00
Andri Yngvason 6470dfef5f Relax auth parameter sanitation
Since more authentication modes have been added, it's no longer a
requirement to have key files set.
2023-11-05 21:13:30 +00:00
Lucas Servén Marín b4c234b3fa man: document websocket flag
Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
2023-11-05 20:51:15 +00:00
Andri Yngvason a53ff1f769 Sanitise buffer damage from compositor
Some compositors fail to send properly bounded damage regions. Let's
not crash when that happens.
2023-11-02 22:42:17 +00:00
Andri Yngvason 27cd6351be ctl-server: Add null-check for info.seat 2023-10-14 10:43:08 +00:00
Christopher Snowhill 57fb350cfe Add null seat pointer checks 2023-10-14 10:40:57 +00:00
Andri Yngvason 1c489ad8e9 Fix copy-pasta from last commit 2023-10-11 09:21:53 +00:00
Andri Yngvason 301b4c0b53 Add transient seats 2023-10-10 22:38:58 +00:00
Andri Yngvason c1281dad60 Don't use tag for git version 2023-10-09 22:57:36 +00:00
Andri Yngvason b5128070ae meson: Bump Neat VNC version requirement 2023-10-04 22:56:17 +00:00
Andri Yngvason 10a8dbe167 Set version for next release 2023-10-04 22:47:04 +00:00
Andri Yngvason b827af6270 util: valgrind.sh: Find suppressions regardless of current dir 2023-10-03 22:19:22 +00:00
Andri Yngvason 9ff7ba61e2 main: Add rsa to command sanity checker 2023-10-02 22:01:21 +00:00
Andri Yngvason cdeefd0851 Allow use of absolute paths with config relative paths 2023-09-30 10:18:56 +00:00
Andri Yngvason 247dbb38bb README: Use relative paths in config examples 2023-09-29 21:53:29 +00:00
Andri Yngvason afec0e131c man: Document use_relative_paths parameter 2023-09-29 21:53:29 +00:00
Andri Yngvason 6d59ab8323 Add config option to make paths relative to config file 2023-09-29 21:53:29 +00:00
Andri Yngvason 16ff0fa11d README: Document RSA-AES 2023-09-29 21:53:29 +00:00
Andri Yngvason 89e4e8508f man: Add new auth config entries 2023-09-29 21:53:29 +00:00
Andri Yngvason f2c367f191 Use new Neat VNC authentication API 2023-09-29 21:53:29 +00:00
Andri Yngvason 8395f7b106 Add config parameter for RSA private key file 2023-09-29 21:53:29 +00:00
Andri Yngvason 3a01753a22 Add non-tls authentication 2023-09-29 21:53:29 +00:00
MazTheMan ec885cf23d get pixel size from fourcc to calculate pixel stride 2023-09-29 21:48:01 +00:00