| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
One cannot simply pass down a va_list to another function that expects
variable arguments ("..."). The prototype of the called functions must
expect a va_list argument instead.
This fixes segfaults that happen e.g. after compiling X11.cpp with
TEST and effectively reverts 59e829f3647005a6c93662adfbcea36e27a993d8.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of using a pragma which will be valid for the whole file this
only affects the functions where it is actually required and supresses
"format string is not a string literal" warnings.
According to GCC documentation the second attribute parameter should
be 0:
"For functions where the arguments are not available to be checked
(such as vprintf), specify the third parameter as zero".
|
| |
|
| |
|
|
|
|
| |
Found via Travis CI
|
| |
|
|
|
|
| |
idea; it's *COMPSHAD* here.
|
|
|
|
| |
with hopefully more portable awk construct.
|
| |
|
|
|
|
| |
"int")
|
|
|
|
| |
TARGET_ELF' clause.
|
|\
| |
| |
| | |
Attributes GH PR #663: https://github.com/ArcticaProject/nx-libs/pull/663
|
| |
| |
| |
| | |
target system actually is ELF-based.
|
|/ |
|
|
|
|
| |
for libXcompshad.
|
|
|
|
|
|
|
| |
Same method as used in the previous commit, but easier done thanks to
autotools and libtool.
Fixes: ArcticaProject/nx-libs#610
|
|
|
|
| |
Fixes ArcticaProject/nx-libs#572
|
|
|
|
|
| |
Automake older than version 1.11 does not support dist-xz. No workaround
possible via a feature check, as far as I can tell.
|
| |
|
|
|
|
| |
Fixes ArcticaProject/nx-libs#530
|
|
|
|
|
|
|
|
|
|
| |
optional C++11 support.
Use AX_CXX_COMPILE_STDCXX(_11) from autotools archive.
Note: should only be used in tandem. Make sure that each component
either uses the C++11 ABI or none uses it. Mixing and matching libraries
and binaries with different C++ ABIs might lead to weird errors.
|
|
|
|
| |
its build cruft.
|
|
|
|
|
|
|
|
| |
long time.
This code can be reactivated any time in the future once
some potential maintainer turns up and makes this work
on the MS Windows / Cygwin platform.
|
| |
|
|
|
|
| |
NX_COMPILER_FLAGS.
|
|
|
|
| |
'gnu_printf' format attribute.
|
|
|
|
| |
public symbol via Shadow.h."
|
|
|
|
| |
NXShadowRemoveAllUpdaters(). Already in Shadow.h.
|
|
|
|
| |
curWorkLine instead.
|
|
|
|
| |
declaration. Drop typedef declaration from _XRegion struct.
|
| |
|
|
|
|
|
|
|
| |
When installing nxcompshad, directory user and group ownership were
forced to be root. That precluded installations by non-root users.
Now, they are not forced.
|
|
|
|
|
|
|
|
|
|
| |
GNU/Hurd and GNU/kFreeBSD).
We use the error code (and its underlying message for
generating log errors and their textual messages. So,
in theory, we could use any error code here. Thus,
choosing the once closest to EBADFD while being
portable to non-Linux systems.
|
| |
|
|
|
|
| |
that NoMachine placed there own copyright statement in.
|
| |
|
|
|
|
|
|
| |
base folder.
Drop other LICENSE files added by NoMachine scattered all over the code tree.
|
|
|
|
| |
One COPYING file in the project's base folder is sufficient.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
nx-X11 build scripts.
Note:
- The "normal" way to inject CFLAGS (and CPPFLAGS) into nx-X11 builds is copying those
options over into the variable CDEBUGFLAGS.
- LDFLAGS have to be handed to nx-X11 via LOCAL_LDFLAGS.
This change also includes a slight change in the nx-X11 build order.
Old build order:
Main Makefile:
- [...]
- libNX_X11
+ implicitly building nxcomp
+ implicitly building nxcompext
- [...]
- nxagent
+ implicitly building nxcompshad
- [...]
New build ordner:
Main Makefile:
- [...]
- nxcomp
- setup nx-X11 build env
+ cd nx-X11 && make BuildEnv
- nx-X11/lib/*
- nxcompext
- nxcompshad
- [...]
- nxagent
- [...]
Fixes ArcticaProject/nx-libs#141
Fixes X2GoBTS#84
|
|
|
|
| |
makedepend tools.
|
|
|
|
| |
with system-wide shared libraries.
|
|
|
|
|
| |
* Also adapt debian/libxcompshad-dev.install.in accordingly.
* Also adapt nx-libs.spec accordingly.
|
|
|
|
| |
shared library. (Fixes ArcticaProject/nx-libs#32).
|
|
|
|
| |
Work-around needs to persist until libX11 from X.Org gets used by nxagent.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the process of building nxagent against more and more system-wide installed
X.org libraries, we come to the limit of including structs from this (bundled
nx-X11) and that (system-wide X.Org) library.
This commit introduces a clear namespace separation of headers provided by
nx-X11 and headers provided by X.Org. This approach is only temporary as we
want to drop all nx-X11 bundled libraries from nx-libs.
However, for a while we need to make this separation clear and also ship
some reduced fake X.Org headers that avoid pulling in libX* and libNX_X*
symbols at the same time.
This patch has been tested on Debian jessie and unstable and requires no
overall testing on various distros and distro versions, as we finally will
drop all libNX_X* libraries and build against X.org's client libs.
For now, this hack eases our development / cleanup process.
|
|\
| |
| | |
Various fixes for pkgconfig file creation.
|
| | |
|