aboutsummaryrefslogtreecommitdiff
path: root/nxcompshad
Commit message (Collapse)AuthorAgeFilesLines
* Update Copyright yearsUlrich Sibiller2023-04-2817-68/+68
| | | | Addresses ArcticaProject/nx-libs#985
* Add support for custom version stringUlrich Sibiller2020-01-051-0/+7
| | | | | | | | | | | Make nxproxy and nxagent print an arbitrary version number by running make NX_VERSION_CUSTOM="myvers". nxagent and nxproxy will then show this in addition to the original version number: NXPROXY - Version myvers (3.5.99.22) NXAGENT - Version myvers (3.5.99.22) Fixes ArcticaProject/nx-libs#606
* nxcompshad: delete trailing whitespaceUlrich Sibiller2019-09-292-8/+8
|
* nxcompshad: fix logging segfaultUlrich Sibiller2019-09-292-20/+8
| | | | | | | | | 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.
* Logger.h: remove pragma, correct attributesUlrich Sibiller2019-03-011-9/+4
| | | | | | | | | | | | 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".
* Logger.h: fix missing compiler attributeUlrich Sibiller2019-03-011-1/+1
|
* xcompshad: remove unused variablesUlrich Sibiller2019-03-011-4/+0
|
* Fix: clang does not know about gnu_printfUlrich Sibiller2019-03-011-4/+4
| | | | Found via Travis CI
* nxcompshad: fix spelling errors as reported by codespellUlrich Sibiller2018-05-243-4/+4
|
* nxcompshad/configure.ac: blindly copy-pasting might not be the smartest ↵Mihai Moldovan2018-03-071-1/+1
| | | | idea; it's *COMPSHAD* here.
* nxcomp{,shad}/configure.ac: replace versionating non-portable sed construct ↵Mihai Moldovan2018-03-071-1/+1
| | | | with hopefully more portable awk construct.
* nxcomp{,shad}/configure.ac: pass more portable -E option to sed instead of -r.Mihai Moldovan2018-03-021-1/+1
|
* Fix clang error: ordered comparison between pointer and zero ("char *" and ↵Mario Trangoni2018-03-011-1/+1
| | | | "int")
* nxcompshad: Regression fix for 990e61cc. Add missing $(NULL) in 'if ↵Mike Gabriel2018-02-251-0/+1
| | | | TARGET_ELF' clause.
* Merge branch 'Ionic-bugfix/FTBFS-non-ELF' into 3.6.xMike Gabriel2018-02-252-1/+7
|\ | | | | | | Attributes GH PR #663: https://github.com/ArcticaProject/nx-libs/pull/663
| * nxcompshad/{configure.ac,src/Makefile.am}: only enable new ELF dtags if ↵Mihai Moldovan2018-02-252-1/+7
| | | | | | | | target system actually is ELF-based.
* | nxcomp{,shad}/configure.ac: trailing whitespace removal only.Mihai Moldovan2018-02-251-1/+1
|/
* nxcompshad/src/Makefile.am: enable new ELF dtags to force RUNPATH creation ↵Mihai Moldovan2017-12-301-0/+1
| | | | for libXcompshad.
* nxcompshad/src/Makefile.am: implement libX11 RPATH/RUNPATH override.Mihai Moldovan2017-12-301-1/+5
| | | | | | | Same method as used in the previous commit, but easier done thanks to autotools and libtool. Fixes: ArcticaProject/nx-libs#610
* nxcompshad: silence GCC warningsUlrich Sibiller2017-12-282-4/+19
| | | | Fixes ArcticaProject/nx-libs#572
* nx{comp{,shad},proxy}: use dist-bzip2 instead of dist-xz.Mihai Moldovan2017-12-161-1/+1
| | | | | Automake older than version 1.11 does not support dist-xz. No workaround possible via a feature check, as far as I can tell.
* nxcompshad/Makefile.am: also correctly call aclocal here.Mihai Moldovan2017-12-151-0/+2
|
* Silence warning: "ar: 'u' modifier ignored since 'D' is the default"Ulrich Sibiller2017-12-111-0/+3
| | | | Fixes ArcticaProject/nx-libs#530
* nx{comp{,shad},proxy}: add configure flag --enable-cxx11 to enable and setup ↵Mihai Moldovan2017-10-273-0/+8
| | | | | | | | | | 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.
* .gitignore: Improve all .gitignore files, adapt to autotools build-flow and ↵Mike Gabriel2017-10-091-2/+0
| | | | its build cruft.
* nxcompshad: Drop Cygwin/Win32 support. Has been untested and unused for a ↵Mike Gabriel2017-08-278-1430/+0
| | | | | | | | 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.
* Convert nx-X11/lib/ build flow from imake to autotools.Mike Gabriel2017-08-251-1/+1
|
* nx*/configure.ac: Use newly introduced macro NX_DEFAULT_OPTIONS instead of ↵Mike Gabriel2017-08-111-1/+1
| | | | NX_COMPILER_FLAGS.
* nxcompshad: Rewrite Logger class methods to properly take advantage of the ↵Mike Gabriel2017-07-132-8/+20
| | | | 'gnu_printf' format attribute.
* nxcompshad: Prototype for NXShadowResetOptions() missing. Export it as ↵Mike Gabriel2017-07-131-0/+2
| | | | public symbol via Shadow.h."
* nxcompshad/src/Shadow.cpp: Drop duplicate prototype for ↵Mike Gabriel2017-07-131-2/+0
| | | | NXShadowRemoveAllUpdaters(). Already in Shadow.h.
* nxcompshad/src/Core.cpp: Don't redeclare (and shadow) curLine. Use ↵Mike Gabriel2017-07-131-21/+21
| | | | curWorkLine instead.
* nxcompshad/src/Regions.h: Avoid warning: ‘typedef’ was ignored in this ↵Mike Gabriel2017-07-131-1/+1
| | | | declaration. Drop typedef declaration from _XRegion struct.
* nxcompshad: Switch to autoreconf.Mike Gabriel2017-07-1331-798/+175
|
* Don't force root ownership of dirs when installingSalvador Fandiño2017-06-051-1/+1
| | | | | | | 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.
* nxcompshad/Shadow.cpp: Use EBADF instead of EBADFD (which is not portable to ↵Mike Gabriel2017-05-041-5/+5
| | | | | | | | | | 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.
* add .gitignore filesUlrich Sibiller2016-11-171-0/+2
|
* Per-file copyright notices: Update copyright information in file headers ↵Mike Gabriel2016-07-0621-151/+337
| | | | that NoMachine placed there own copyright statement in.
* NoMachine documentation files: Move to doc/_attic_/ folder.Mike Gabriel2016-07-051-404/+0
|
* LICENSE files: Have a main LICENSE file and one for nxcomp in the project's ↵Mike Gabriel2016-07-051-22/+0
| | | | | | base folder. Drop other LICENSE files added by NoMachine scattered all over the code tree.
* Drop multiple COPYING files contaning the GPL-2 license text.Mike Gabriel2016-07-051-339/+0
| | | | One COPYING file in the project's base folder is sufficient.
* finally drop libNX_XextUlrich Sibiller2016-07-011-1/+1
|
* remove shm code from libNX_XextUlrich Sibiller2016-07-011-1/+1
|
* OPTFLAGS: Properly propagate build option flags to nxcomp{,ext,shad} and the ↵Mike Gabriel2016-07-012-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* nx-X11/config/{imake,makedepend}: Use system-wide available imake and ↵Mike Gabriel2016-06-301-10/+0
| | | | makedepend tools.
* nx-X11/programs/Xserver: Include nxcomp{,ext,shad} headers like one would do ↵Mike Gabriel2016-06-131-1/+1
| | | | with system-wide shared libraries.
* nxcomshad/Makefile.in: Only install Shadow.h as publicly available header file.Mike Gabriel2016-06-131-1/+1
| | | | | * Also adapt debian/libxcompshad-dev.install.in accordingly. * Also adapt nx-libs.spec accordingly.
* library clean-up: Don't build libNX_Xtst anymore. Use system's libXtst ↵Mike Gabriel2015-12-293-2/+73
| | | | shared library. (Fixes ArcticaProject/nx-libs#32).
* nxcompshad/X11/include/Xdamage_nxcompshad.h: Update FIXME statement. ↵Mike Gabriel2015-12-281-1/+1
| | | | Work-around needs to persist until libX11 from X.Org gets used by nxagent.
* Clear header file namespace separation (<X11/...> vs. <nx-X11/...>).Mike Gabriel2015-12-2813-22/+194
| | | | | | | | | | | | | | | | | | | | 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.