aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Makefile: Run BuildIncludes and clean target in nx-X11/ with -j1.Mike Gabriel2018-04-251-2/+2
|
* Revert "debian/rules: Avoid dh_auto_build. It adds -Oline since 11.2 which ↵Mike Gabriel2018-04-251-5/+1
| | | | | | let's make choke in nx-X11/ subdir on the Makefiles target. Reason unknown." This reverts commit 94d77e27a7331cd54158ad0bd95f22df22e4dba1.
* Revert "debian/rules: Typo fix (NUMJOBS, not NUM_JOBS)."Mike Gabriel2018-04-251-1/+1
| | | | This reverts commit 190e3df418ff18e3e22eddaee5c15e0feccf5d9c.
* Makefile: Enforce -j1 for BuildDependsOnly target.Mike Gabriel2018-04-251-1/+1
|
* debian/rules: Typo fix (NUMJOBS, not NUM_JOBS).Mike Gabriel2018-04-251-1/+1
|
* debian/rules: Drop override_dh_clean. Makefile (et al.) removal in nx-X11/ ↵Mike Gabriel2018-04-251-65/+0
| | | | has now been moved to the distclean target.
* debian/rules: Avoid dh_auto_build. It adds -Oline since 11.2 which let's ↵Mike Gabriel2018-04-251-1/+5
| | | | make choke in nx-X11/ subdir on the Makefiles target. Reason unknown.
* Makefile targets: Rewriting and consolidating the target structure for ↵Mike Gabriel2018-04-252-90/+85
| | | | nx-X11/ subdir (except nx-X11/lib/).
* Makefile: Don't do a parallel clean-up of nx-X11. We have seen failures and ↵Mike Gabriel2018-04-201-1/+3
| | | | due to the upcoming switch to autotools, it is pointless to dive into fixing it in the Imakefile stack.
* release 3.5.99.163.5.99.16Mike Gabriel2018-03-166-9/+84
|
* Merge branch 'Ionic-feature/use-libtirpc' into 3.6.xMike Gabriel2018-03-156-19/+47
|\ | | | | | | Attributes GH PR #676: https://github.com/ArcticaProject/nx-libs/pull/676
| * nx-libs.spec: stop needlessly exporting variables that we pass down directly ↵Mihai Moldovan2018-03-151-3/+3
| | | | | | | | anyway.
| * nx-libs.spec: force usage of libtirpc on Fedora > 27 and OpenSuSE ↵Mihai Moldovan2018-03-151-3/+9
| | | | | | | | | | | | | | | | Tumbleweed+ (soon to be Leap 15). This utilizes IMAKE_DEFINES to pass down the value to UseTIRPC directly. Fixes: ArcticaProject/nx-libs#665
| * nx-X11/config/cf/README: document new UseTIRPC macro.Mihai Moldovan2018-03-151-0/+1
| |
| * nx-X11/programs/Xserver/{,os/}Imakefile: implement libtirpc forcing via ↵Mihai Moldovan2018-03-152-1/+17
| | | | | | | | UseTIRPC.
| * nx-X11/config/cf/Imake.tmpl: implement new UseTIRPC macro, defaulting to NO.Mihai Moldovan2018-03-151-0/+3
| |
| * nx-X11/programs/Xserver/Imakefile: move $(PIXMANLIB) to NXAGENTSYSLIBS, ↵Mihai Moldovan2018-03-151-2/+2
| | | | | | | | since libXcompext doesn't actually need it.
| * nx-X11/programs/Xserver/Imakefile: use printf with no trailing newline ↵Mihai Moldovan2018-03-151-1/+1
| | | | | | | | instead of echo for variable value.
| * Makefile: pass down IMAKE_DEFINES to nx-X11/programs/Xserver build system.Mihai Moldovan2018-03-151-4/+6
| |
| * nx-X11/programs/Xserver/Imakefile: drop system libraries out of target list ↵Mihai Moldovan2018-03-151-3/+3
| | | | | | | | | | | | | | | | | | | | for nxagent regeneration. Updating timestamps on object files and libraries used to compose nxagent is only meaningful for actual files within the buildroot. External dependencies would be ignored anyway, and worse, cause older GNU Make versions to fail if they contain special characters like a percent sign, which is typically interpreted as a wild card character.
| * nx-libs.spec: sync removed files with debian/rules.Mihai Moldovan2018-03-151-3/+3
|/
* nx-X11/programs/Xserver/hw/nxagent/Screen.c: do not try to set a NULL mode ↵Mihai Moldovan2018-03-151-5/+5
| | | | | | if the output was disconnected before. Fixes: ArcticaProject/nx-libs#677
* nx-X11/programs/Xserver/hw/nxagent/Screen.c: initialize pointers to NULL to ↵Mihai Moldovan2018-03-151-1/+1
| | | | avoid referencing random data.
* release 3.5.99.153.5.99.15Mike Gabriel2018-03-076-9/+95
|
* Merge branch ↵Mihai Moldovan2018-03-071-0/+2
|\ | | | | | | | | | | 'sunweaver-pr/saver-unvalidated-lengths-ProcScreenSaverUnsetAttributes' into 3.6.x Attributes GH PR #672: https://github.com/ArcticaProject/nx-libs/pull/672
| * Xserver/Xext/saver.c Unvalidated lengths (X.org CVE-2017-12185).Nathan Kidd2018-03-071-0/+2
|/ | | | | | | | | | | | | | | | | | | | | | | commit cad5a1050b7184d828aef9c1dd151c3ab649d37e Author: Nathan Kidd <nkidd@opentext.com> Date: Fri Jan 9 09:57:23 2015 -0500 Unvalidated lengths v2: Add overflow check and remove unnecessary check (Julien Cristau) This addresses: CVE-2017-12184 in XINERAMA CVE-2017-12185 in MIT-SCREEN-SAVER CVE-2017-12186 in X-Resource CVE-2017-12187 in RENDER Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Nathan Kidd <nkidd@opentext.com> Signed-off-by: Julien Cristau <jcristau@debian.org> Backported-to-NX-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* nxcompshad/configure.ac: blindly copy-pasting might not be the smartest ↵Mihai Moldovan2018-03-071-1/+1
| | | | idea; it's *COMPSHAD* here.
* Merge branch 'sunweaver-pr/xinerama-bbox-corner-cases' into 3.6.xUlrich Sibiller2018-03-071-32/+81
|\ | | | | | | Attributes GH PR #670: https://github.com/ArcticaProject/nx-libs/pull/670
| * Xserver/hw/nxagent/Screen.c: Drop commented out code. Functionality now ↵Mike Gabriel2018-03-071-16/+0
| | | | | | | | implemented in intersect_bb() function.
| * hw/nxagent/Screen.c: Cover Xinerama bounding box corner cases.Mike Gabriel2018-03-071-16/+81
|/ | | | | | | | | | | | | | | | | If the agent window is moved around on screen, it can happen that it is moved into an invisible area of the real Xserver, we calls this "beyond the bounding box". . If the agent window is partially beyond the bounding box, we don't want Xinerama to re-adjust the RandR parameters inside the agent. Near the bounding box, the session shall stay intact. . This means, desktop env wise, the desktop session control elements can be moved (with the agent window) into the invisible areas of the real Xserver and moved out again without RandR events arriving inside the agent session. Fixes ArcticaProject/nx-libs#662.
* nxcomp{,shad}/configure.ac: replace versionating non-portable sed construct ↵Mihai Moldovan2018-03-072-2/+2
| | | | with hopefully more portable awk construct.
* nx-X11/programs/Xserver/hw/nxagent/Init.c: disable DPMS support within nxagent.Mihai Moldovan2018-03-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keeping it enabled leads to nxagent consuming 100% of CPU resources after some time. Older code used three different timers for each DPMS mode (standby, suspend, off), with each timer checking that the elapsed idle time is strictly less than the DPMS mode timeout value. Newer code started merging DPMS and ScreenSaver timers into a single one, with checking DPMS modes and timeouts in a fall-through fashion. The code expects that, if a timeout is reached, the mode is set accordingly, so that the old timeout is disregarded next time. Since we stub out DPMSSetMode() in nxagent, this doesn't happen. In this case, the old DPMS timeout will be checked the next time around and we will be calculating DPMS_MODE_TIMEOUT - IDLE_TIME. If IDLE_TIME is bigger than DPMS_MODE_TIMEOUT, we run into problems with unsigned integers. What happens next will be *another* overflow once DoTimers() is executed and from that function SetTimers(), which will add the current timestamp to the timeout value. Later functions subtract the current timestamp again (which will be even higher since some time elapsed) and underflow the value again. It looks like this leads to consistent firing of the timer - something we do not want to have. For new, disable DPMS support in nxagent. We do not execute it on actual hardware that could change DPMS modes. At a later time, implementing a DPMS timeout/mode passthrough to the connected X server/display might be beneficial. Fixes: ArcticaProject/nx-libs#671
* Makefile: we don't need $(BINDIR)/bin.Mihai Moldovan2018-03-061-1/+1
|
* nxcomp{,shad}/configure.ac: pass more portable -E option to sed instead of -r.Mihai Moldovan2018-03-022-2/+2
|
* Merge branch 'mjtrangoni-WIP-travis' into 3.6.xMike Gabriel2018-03-014-3/+59
|\ | | | | | | Attributes GH PR #624: https://github.com/ArcticaProject/nx-libs/pull/624
| * README.md: Add travis badgeMario Trangoni2018-03-011-1/+1
| |
| * Fix clang error: ordered comparison between pointer and zero ("char *" and ↵Mario Trangoni2018-03-011-1/+1
| | | | | | | | "int")
| * Fix clang error: comparison of array authCookie not equal to a null pointer ↵Mario Trangoni2018-03-011-1/+1
| | | | | | | | is always true
| * Add travis yaml configuration fileMario Trangoni2018-03-011-0/+56
|/
* hw/nxagent/Screen.c: Settle down with 96 DPI as the default resolution, if ↵Simon Matter2018-03-011-1/+1
| | | | | | nothing better can be detected. Fixes ArcticaProject/nx-libs#668.
* release 3.5.99.143.5.99.14Mike Gabriel2018-02-286-12/+520
|
* Merge branch 'uli42-pr/fix_autodpi_in_usage' into 3.6.xMihai Moldovan2018-02-283-7/+10
|\ | | | | | | Attributes GH PR #667: https://github.com/ArcticaProject/nx-libs/pull/667
| * os: hide ttyxx optionUlrich Sibiller2018-02-282-3/+6
| | | | | | | | is used nowhere anyway
| * nxagent: rearrange nx options in usageUlrich Sibiller2018-02-281-4/+4
|/ | | | | make them appear in the nx section. Also separate the nx section from the other options by an extra emtpy line.
* Merge branch 'uli42-pr/update_xkb' into 3.6.xMihai Moldovan2018-02-2820-3214/+160
|\ | | | | | | Attributes GH PR #648: https://github.com/ArcticaProject/nx-libs/pull/648
| * Lift xkb to xorg-xserver-7.1/1.1.0 state - non-functional changes onlyUlrich Sibiller2018-02-289-15/+1
| |
| * Lift xkb to xorg-xserver-7.1/1.1.0 stateUlrich Sibiller2018-02-2819-3199/+159
|/ | | | | | | In XORG-7_1 xkbconfig.c had been dropped. We must keep this file because it is used by hw/nxagent/Keyboard.c to load the xkb configuration file. Maybe we should move the relevant code to there or drop xkb configuration file support from nxagent.
* Revert "nx-libs.spec: Starting with Fedora 28 / RHEL 8, SunRPC support is ↵Mike Gabriel2018-02-271-4/+0
| | | | | | being split out into a separate libraries (libtirpc)." This reverts commit 9f93e96ec81662e48f770bca7efc9e664576a7dc.
* nx-libs.spec: Starting with Fedora 28 / RHEL 8, SunRPC support is being ↵Mike Gabriel2018-02-271-0/+4
| | | | | | split out into a separate libraries (libtirpc). Fixes ArcticaProject/nx-libs#665.
* Merge branch 'sunweaver-pr/autodetect-dpi' into 3.6.xMihai Moldovan2018-02-277-7/+92
|\ | | | | | | Attributes GH PR #522: https://github.com/ArcticaProject/nx-libs/pull/522