Commit Graph

62 Commits (f8f49196e87c370c3805a6c2724b509f41522d89)

Author SHA1 Message Date
Andri Yngvason 995d678e1e damage-refinery: Replace murmurhash with XXH3 2023-10-03 20:33:27 +00:00
Andri Yngvason 98f6930580 ws-handshake: Use own base64 and SHA1 implementations 2023-09-29 21:53:20 +00:00
Andri Yngvason 9507624cf3 Create dedicated RSA-AES stream
The message format isn't really within the domain of the cipher, so it
doesn't belong to the crypto interface.
2023-09-29 21:53:20 +00:00
Andri Yngvason c12c1c800a crypto: Add RSA and AES-EAX 2023-09-29 21:53:20 +00:00
Andri Yngvason 0c3a98483c Add abstract interface for low level crypto 2023-09-29 21:53:20 +00:00
Philipp Zabel 56f1c125fa meson: Fix Meson warning about missing check kwarg in run_command() calls
Fixes the following Meson warning:

  WARNING: You should add the boolean check kwarg to the run_command call.
           It currently defaults to false,
           but it will default to true in future releases of meson.
           See also: https://github.com/mesonbuild/meson/issues/9300

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
2023-07-05 10:30:55 +00:00
Andri Yngvason 58df7dfc5c meson: Ignore format-truncation warnings 2023-04-30 13:30:49 +00:00
Andri Yngvason 8847511596 Implement websocket 2023-04-07 12:47:49 +00:00
Andri Yngvason 979d10ce62 Turn stream into abstract interface class 2023-04-06 21:02:39 +00:00
Philipp Zabel e19c9ad600 Implement desktop resizing
Implement minimal support for ExtendedDesktopSize pseudo-encoding
and SetDesktopSize client message.

The opaque nvnc_desktop_layout structure contains all information
from the SetDesktopSize client message.
2023-02-25 11:03:44 +00:00
Andri Yngvason 8b3dc1ae60 Release v0.6.0 2023-01-22 13:06:36 +00:00
Andri Yngvason cdf990db75 meson: Require specific version of aml 2023-01-22 13:06:36 +00:00
Andri Yngvason bc87cbbb7d meson: Set default warning level to 2 2022-11-26 18:19:24 +00:00
Andri Yngvason 411530b5da meson: Ack aml API changes 2022-10-29 11:50:34 +00:00
Philipp Zabel 1b929afb2c Only set HAVE_LIBAVUTIL if libav is actually used
src/log.c uses av_log_set_level() and av_log_set_callback() from
libavutil if HAVE_LIBAVUTIL is set, so the libavutil dependence
must be added at the same time. Since libav logging is only used
by the h264 code, enable it all together for now.
2022-10-15 09:57:53 +00:00
Andri Yngvason 43684ec482 Release v0.5.1 2022-07-09 21:39:53 +00:00
Andri Yngvason f4f8f0bdb3 meson: Use partial_dependency() for libdrm cflags 2022-07-09 20:52:28 +00:00
Andri Yngvason 734e189c7f Release v0.5.0 2022-07-09 18:03:07 +00:00
Andri Yngvason 362918a8cf Integrate libav into logging framework 2022-07-09 17:15:35 +00:00
Andri Yngvason 45da0fc157 Add simple logging system 2022-06-25 16:15:32 +00:00
Andri Yngvason 1f043d6992 Add some unit tests for pixel conversions 2022-02-10 21:53:33 +00:00
Andri Yngvason 48baf74560 Implement client side cursor rendering 2022-02-06 16:33:46 +00:00
Andri Yngvason 5dc6a28828 h264-encoder: Automatically find a render node 2021-12-26 13:10:41 +00:00
Andri Yngvason 90f61f03c6 Plug open h264 2021-12-26 13:10:41 +00:00
Andri Yngvason a7241658b0 Create encoder abstraction 2021-12-11 21:03:18 +00:00
Andri Yngvason 26ff812ea6 Add damage refinery from wayvnc 2021-09-20 21:40:21 +00:00
Andri Yngvason 02559a7f7e Re-sample transformed framebuffers 2021-09-19 20:12:30 +00:00
Andri Yngvason cf42f76f56 Add gbm_bo nvnc_fb type 2021-09-12 18:51:22 +00:00
Andri Yngvason e8e4a9469a Remove damage checker
There's a much better one in wayvnc
2021-09-05 00:46:24 +00:00
Andri Yngvason 981256d8d5 Add a buffer pool 2021-09-04 21:21:23 +00:00
Marco Felsch d0cf1595af meson: Fix host leakage
Commit d2d2f32 ("Add libdrm include path to cflags") fixed the build for
FreeBSD but introduced host leakage which breaks cross-compile builds.
To fix this we need to specifying the include path by unsing '-I=' so
the compiler searches within the specified sysroot dir.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
2021-09-04 18:15:48 +00:00
Andri Yngvason d2d2f32f17 Add libdrm include path to cflags
This seems to be required for this to build on FreeBSD
2020-12-31 02:32:33 +00:00
Andri Yngvason b1d32694d0 Release v0.4.0 2020-12-06 14:02:50 +00:00
Andri Yngvason 1359b987a3 Translate XT keycodes to linux keycodes 2020-11-29 20:48:31 +00:00
Aisha Tammy 9a41f96ad0 add systemtap option for sys/std.h
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
2020-09-29 14:51:08 +00:00
Andri Yngvason e507a76d8d Release v0.3.2 2020-09-27 17:31:06 +00:00
Andri Yngvason 25a533e22b Add common utilities for encoders 2020-09-26 16:10:25 +00:00
Andri Yngvason addcc50483 Bake version info into library 2020-07-26 11:43:29 +00:00
Andri Yngvason 53db2b8c1b Remove optimisation flags
Let's leave it to the package maintainers
2020-07-26 11:43:29 +00:00
Jan Beich e862347ab5 meson: allow static linking 2020-07-22 21:15:49 +00:00
Andri Yngvason 33eda8c5d0 Always enable tight, encoding but allow disabling lossy tight encoding 2020-07-11 20:16:27 +00:00
Andri Yngvason 91bd49848f Build benchmarks again 2020-05-27 21:59:34 +00:00
Stefan Agner afbeae8410 add warning if a function is not declared
Add a warning if a function is not declared. Functions used only inside
a compile unit still can be used, but have to be declared with the
static keyword.
2020-05-21 17:44:31 +00:00
Andri Yngvason f3e09fd622 Prepare API for multi-display support
These changes are made now to make it possible to add multi-display
support in the future while keeping the public interface stable.
2020-04-12 18:16:19 +00:00
Andri Yngvason 97899ed045 meson: Set -DNDEBUG for all other build types than debug or debugoptimized 2020-04-12 14:25:49 +00:00
Andri Yngvason a0d49f774a meson: Let user choose x86_64 SIMD extension for release build 2020-04-10 12:35:05 +00:00
Andri Yngvason b44d1a1f58 Replace miniz with system provided zlib
miniz is simply broken, so I can't use it.
2020-04-03 22:39:55 +00:00
Andri Yngvason dc70f2b409 Add dtrace probe infrastructure 2020-04-01 22:49:58 +00:00
Andri Yngvason 76e721c4cd Replace libuv with aml 2020-03-21 16:59:10 +00:00
Andri Yngvason bc0cea86ae Release 0.1.0 2020-02-21 23:04:19 +00:00