| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Let it follow the same semantics as other optional features.
|
|
|
|
|
|
| |
There already exists variables for having different compile flags
depending on the build type. Let's use them instead of doing conditional
checks.
|
|
|
|
|
|
| |
Primarily because _FORTIFY_SOURCE throws warnings without any
optimizations enabled. But this should also make the development
experience a bit nicer.
|
|
|
|
|
| |
This is already enabled in Ubuntu and RPM builds, so we might as well
enable it everywhere so all developers and users see the same behaviour.
|
|
|
|
| |
Let's try to use something more proper for our unit tests.
|
|
|
|
|
|
|
|
| |
They weren't that well used, and were mostly just confusing special
functions anyway.
Allows us to move away from generic and ambigious headers such as
"util".
|
|
|
|
|
| |
We're not compatible with FLTK 1.4 yet, so let's try to inform users
early that this will not work.
|
| |
|
|
|
|
| |
If a feature is explicitly requested via the cmake command line, error out if necessary libraries are missing and do not silently disable the requested feature.
|
|
|
|
| |
The reason for this is to keep a consistency through out the project.
|
|
|
|
|
| |
It's not used for Windows or macOS builds, so don't show the setting
there.
|
|\ |
|
| |
| |
| |
| |
| | |
Use the library pwquality to check password complexity and improve security.
Additionally, optional enable support is also set in CMake.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Shadowing variable can easily lead to bugs, so let's enforce that this
is not allowed.
|
| | |
| | |
| | |
| | |
| | | |
It's a source of confusion and possibly bugs to reuse the same variable
name for multiple things.
|
| | |
| | |
| | |
| | | |
Make sure developers don't miss marking methods correctly.
|
| | |
| | |
| | |
| | |
| | | |
The compiler can help out in making sure we are consistent in our use of
nullptr rather than NULL.
|
| |/
| |
| |
| |
| |
| | |
It's rare we use a compiler that has anything older as a default, but it
does happen sometimes. So make sure to guarantee this so we can start
using more modern constructs.
|
|/ |
|
|
|
|
| |
This keep everything consistent.
|
|
|
|
|
| |
We don't need to look for this on Windows or macOS, and we need to be
able to gracefully handle systems without pkg-config.
|
|
|
|
|
|
|
|
|
|
| |
systemd can pass in sockets as file descriptors 3 and beyond. Allows
the server to use socket activation.
When triggered by systemd, no other listening sockets (e.g. rfbport) will
be activated.
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
|
|
|
|
|
| |
This should have been removed with the code using these defines in
03ca975.
|
|
|
|
|
| |
We might not have all the necessary information, e.g. all targets might
not exist yet, until we're done going through all CMakeLists.
|
|
|
|
|
|
|
|
| |
These are also useful warnings that tend to find real bugs, so let's
enable then.
The downside is they require us to mark certain things so the compiler
knows if they were on purpose or not.
|
|
|
|
|
| |
It's only the -Werror part we want to be conditional on being debug
builds.
|
| |
|
|
|
|
| |
Avoid having to update this manually.
|
| |
|
|
|
|
| |
We should scope these as narrowely as possible to avoid side effects.
|
|
|
|
|
|
| |
This is the standard method of finding it on Unix systems, so make sure
we use it. Still keep a fallback, though, for other systems, e.g.
Windows.
|
|
|
|
|
| |
FFMPEG is needed by the RFB library, so all the details about it should
only be applied there and not for other components.
|
|
|
|
|
|
| |
We need this function to deal with pkgconfig files properly, but
unfortunately it doesn't exist until CMake 3.13, and we need to support
CMake 3.10. So add a hacky compatibility function for older systems.
|
|
|
|
|
|
| |
Enable this automatically for developers so we increase the chance of
these problems getting caught. There is a risk of overhead though so
keep them disabled for release builds.
|
|
|
|
|
| |
The migration from 32-bit to 64-bit has long passed. Let's get rid of
all distinctions as native applications it the norm now.
|
| |
|
|
|
|
| |
Linux implementation using ffmpeg
|
| |
|
|
|
|
|
|
| |
It's difficult to support both old and new versions, so raise the
requirement to the oldest that is commonly used, which is CMake 3.10.2
on Ubuntu 18.04.
|
| |
|
|
|
|
|
| |
They define macros such as "check()" which causes our code to break as
we have methods with that name.
|
|
|
|
|
| |
Without this change I get CMake errors due to use of ${FLTK_INCLUDE_DIR}
and references to the non-existent vncviewer target.
|
|
|
|
|
| |
These are incompatible with functions such as gettext() as clang hasn't
implemented the function attribute function_arg.
|
| |
|
|
|
|
| |
It's just confusing when this is split over two directories.
|
|\ |
|
| |
| |
| |
| |
| | |
This is the current upstream so let's make use of it to get the latest
in features and fixes.
|
|/ |
|
|
|
|
|
| |
This makes our builds directly compatible with most distributions
without packagers/users having to specify extra flags.
|