Commit Graph

169 Commits (b3b41d312abc2e117cfdd318a98e551894298fd9)

Author SHA1 Message Date
Andri Yngvason b3b41d312a
Merge pull request #24 from johnae/master
Remove libuv header include
2020-03-24 09:03:07 +00:00
John Axel Eriksson d1c7402acd
Remove libuv header include 2020-03-24 07:04:05 +01:00
Andri Yngvason a77eb34fba Spawn as many workers as there are CPU cores 2020-03-21 17:27:30 +00:00
Andri Yngvason 9bf961992b README: Replace libuv with aml 2020-03-21 17:07:42 +00:00
Andri Yngvason be085c9a79 examples: Add signal handler and clean up resources 2020-03-21 16:59:10 +00:00
Andri Yngvason 76e721c4cd Replace libuv with aml 2020-03-21 16:59:10 +00:00
Andri Yngvason 3b7839e53b .gitignore: Add subprojects 2020-03-16 20:08:48 +00:00
Andri Yngvason bc0cea86ae Release 0.1.0 2020-02-21 23:04:19 +00:00
Andri Yngvason 992b4445ed tight: Add copyright notice 2020-02-09 12:03:14 +00:00
Andri Yngvason d2dc5ff91c Remove makefiles in favour of meson
I'd rather maintain a single set of build scripts
2020-02-09 11:53:47 +00:00
Andri Yngvason 3ecede86c3 Build examples using meson 2020-02-09 11:41:43 +00:00
Andri Yngvason 61efca48f0 damage: Increment/decrement reference count before/after check
This is prudent. The user might throw away these buffers before the
damage check finishes.
2020-01-29 21:33:13 +00:00
Andri Yngvason c29e747ecf bsd queue: Remove #include <sys/cdefs.h>
This fixes #17, failing compilation with musl
2020-01-29 19:59:14 +00:00
Andri Yngvason d0a92c2e8d COPYING: The year is 2020 2020-01-29 19:49:11 +00:00
Andri Yngvason 10473597c5 stream: Fix flushing when tls is disabled 2020-01-29 17:03:55 +00:00
Andri Yngvason 844645d63b
Merge pull request #15 from agners/example-fixes
Fix examples
2020-01-27 00:17:09 +00:00
Stefan Agner 965db59ecf use installed header file
Treat neatvnc as a proper library when using examples.
2020-01-26 23:24:09 +01:00
Stefan Agner 1e0612a81e Remove unused/unexisting include util.h
The header file util.h has been remvoed from the codebase with
commit caf9fe0130 ("Remove unused code"), remove it from pngfb.c as
well. This allows to build the examples again.
2020-01-26 12:45:06 +01:00
Andri Yngvason 993ad80b86 README: Add compatibility table 2020-01-25 20:26:31 +00:00
Andri Yngvason 32f953e3a2 README: Add gnutls to the dependency list 2020-01-25 20:00:17 +00:00
Andri Yngvason 7d2b295b4a server: Read messages straight into message buffer
This avoids extra copying and removes a possible error condition that
would cause the connection to be closed
2020-01-25 16:42:10 +00:00
Andri Yngvason 547387f549 server: Close after sending VeNCrypt failure message 2020-01-25 16:04:04 +00:00
Andri Yngvason b30a5516d3 server: Send the proper reason string on security handshake failure 2020-01-25 15:59:04 +00:00
Andri Yngvason 1687b8c701 server: Apply stream API change 2020-01-25 15:52:44 +00:00
Andri Yngvason fef9ca1d7c stream: Change api for stream_write 2020-01-25 15:46:52 +00:00
Andri Yngvason caf9fe0130 Remove unused code 2020-01-25 15:39:23 +00:00
Andri Yngvason 19e4e42036 Implement VeNCrypt with x509 plain authentication 2020-01-25 15:35:14 +00:00
Andri Yngvason 113f262115 Add some debug printout macros 2020-01-25 15:33:36 +00:00
Andri Yngvason 2f99659077 Create a network stream object with TLS support 2020-01-25 15:33:36 +00:00
Andri Yngvason f8d53635e4 Create a reference counted buffer 2020-01-25 15:29:25 +00:00
Andri Yngvason f9d1effb0d Add BSD queue 2020-01-25 15:22:01 +00:00
Andri Yngvason 01522559d6 zrle: Fix pixel conversion for bits-per-pixel < 32 2020-01-24 23:16:08 +00:00
Andri Yngvason 230acf0560 zrle: Remove unused variable 2020-01-24 23:02:47 +00:00
Andri Yngvason a387b6c589 Add missing copyright notice to header file 2020-01-24 22:30:07 +00:00
Andri Yngvason 4ebd60b8cc pixels: Delete useless code 2020-01-24 22:29:29 +00:00
Andri Yngvason 08587baf4d meson: Disable asserts in release builds 2020-01-22 22:09:47 +00:00
Andri Yngvason 64a205205c
Merge pull request #13 from soreau/master
Swap red and blue colors with tight encoding
2020-01-20 23:14:02 +00:00
Scott Moreau 1d897b2ba1 Swap red and blue colors with tight encoding 2020-01-20 14:29:02 -07:00
Andri Yngvason 450ea90306 pixels: Fix rfb_pixfmt_from_fourcc 2020-01-19 23:13:12 +00:00
Andri Yngvason a80b314eea server: Set the pixel format for the client if it hasn't specified one 2020-01-19 22:54:52 +00:00
Andri Yngvason 4e919c69ce Unbreak raw encoding 2020-01-19 21:31:55 +00:00
Andri Yngvason aa917decf3 pixels: Make it work for 4 bytes per cpixel 2020-01-19 21:30:49 +00:00
Andri Yngvason 7fa074e60b server: Close client if no frame encoding method is available 2020-01-19 21:27:17 +00:00
Andri Yngvason ebfe4382ee server: Use size_t for encoding indices 2020-01-19 19:17:15 +00:00
Andri Yngvason 5d264bbba1
Merge pull request #12 from soreau/master
Include sys/param.h for MIN definition
2020-01-19 19:02:14 +00:00
Scott Moreau db6c063aea Include sys/param.h for MIN definition
Fixes #11.
2020-01-19 12:00:18 -07:00
Andri Yngvason 6bb33622dc
Merge pull request #8 from jbeich/freebsd
Unbreak build on FreeBSD
2020-01-13 10:39:32 +00:00
Jan Beich 928d0c20ac Drop unused platform-specific header
../src/zrle.c:29:10: fatal error: 'endian.h' file not found
 #include <endian.h>
          ^~~~~~~~~~
2020-01-13 04:04:28 +00:00
Andri Yngvason 5e62175633 build: Remove -mfpu=neon argument for aarch64 build
This fixes issue #7
2020-01-11 13:20:37 +00:00
Andri Yngvason ad0ff6b27c Make Tight encoding optional 2019-12-31 10:13:21 +00:00