Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nxcomp{,shad}/configure.ac: replace versionating non-portable sed construct ↵ | Mihai Moldovan | 2018-03-07 | 2 | -2/+2 |
| | | | | with hopefully more portable awk construct. | ||||
* | nx-X11/programs/Xserver/hw/nxagent/Init.c: disable DPMS support within nxagent. | Mihai Moldovan | 2018-03-07 | 1 | -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 Moldovan | 2018-03-06 | 1 | -1/+1 |
| | |||||
* | nxcomp{,shad}/configure.ac: pass more portable -E option to sed instead of -r. | Mihai Moldovan | 2018-03-02 | 2 | -2/+2 |
| | |||||
* | Merge branch 'mjtrangoni-WIP-travis' into 3.6.x | Mike Gabriel | 2018-03-01 | 4 | -3/+59 |
|\ | | | | | | | Attributes GH PR #624: https://github.com/ArcticaProject/nx-libs/pull/624 | ||||
| * | README.md: Add travis badge | Mario Trangoni | 2018-03-01 | 1 | -1/+1 |
| | | |||||
| * | Fix clang error: ordered comparison between pointer and zero ("char *" and ↵ | Mario Trangoni | 2018-03-01 | 1 | -1/+1 |
| | | | | | | | | "int") | ||||
| * | Fix clang error: comparison of array authCookie not equal to a null pointer ↵ | Mario Trangoni | 2018-03-01 | 1 | -1/+1 |
| | | | | | | | | is always true | ||||
| * | Add travis yaml configuration file | Mario Trangoni | 2018-03-01 | 1 | -0/+56 |
|/ | |||||
* | hw/nxagent/Screen.c: Settle down with 96 DPI as the default resolution, if ↵ | Simon Matter | 2018-03-01 | 1 | -1/+1 |
| | | | | | | nothing better can be detected. Fixes ArcticaProject/nx-libs#668. | ||||
* | release 3.5.99.143.5.99.14 | Mike Gabriel | 2018-02-28 | 6 | -12/+520 |
| | |||||
* | Merge branch 'uli42-pr/fix_autodpi_in_usage' into 3.6.x | Mihai Moldovan | 2018-02-28 | 3 | -7/+10 |
|\ | | | | | | | Attributes GH PR #667: https://github.com/ArcticaProject/nx-libs/pull/667 | ||||
| * | os: hide ttyxx option | Ulrich Sibiller | 2018-02-28 | 2 | -3/+6 |
| | | | | | | | | is used nowhere anyway | ||||
| * | nxagent: rearrange nx options in usage | Ulrich Sibiller | 2018-02-28 | 1 | -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.x | Mihai Moldovan | 2018-02-28 | 20 | -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 only | Ulrich Sibiller | 2018-02-28 | 9 | -15/+1 |
| | | |||||
| * | Lift xkb to xorg-xserver-7.1/1.1.0 state | Ulrich Sibiller | 2018-02-28 | 19 | -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 Gabriel | 2018-02-27 | 1 | -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 Gabriel | 2018-02-27 | 1 | -0/+4 |
| | | | | | | split out into a separate libraries (libtirpc). Fixes ArcticaProject/nx-libs#665. | ||||
* | Merge branch 'sunweaver-pr/autodetect-dpi' into 3.6.x | Mihai Moldovan | 2018-02-27 | 7 | -7/+92 |
|\ | | | | | | | Attributes GH PR #522: https://github.com/ArcticaProject/nx-libs/pull/522 | ||||
| * | nxagent: Also provide auto DPI feature via nx/nx option 'autodpi', taking ↵ | Mike Gabriel | 2018-02-27 | 5 | -1/+28 |
| | | | | | | | | only effect on session startups. | ||||
| * | nxagent: Auto-detect client-side DPI at session startup. | Simon Matter | 2018-02-27 | 4 | -6/+64 |
|/ | |||||
* | nxcomp/src/Loop.cpp: Harmonize log output. Uniformly, embrace port values by ↵ | Mike Gabriel | 2018-02-27 | 1 | -6/+6 |
| | | | | | | single quotes. Fixes ArcticaProject/nx-libs#617. | ||||
* | {nx-X11/programs/Xserver/hw/nxagent/man/nxagent.1,nxproxy/man/nxproxy.1}: ↵ | Mihai Moldovan | 2018-02-27 | 2 | -2/+2 |
| | | | | magicpixel takes a boolean argument for now. | ||||
* | nx-X11/programs/Xserver/hw/nxagent/man/nxagent.1: remove empty line on top ↵ | Mihai Moldovan | 2018-02-27 | 1 | -1/+0 |
| | | | | | | of file. Fixes: ArcticaProject/nx-libs#664 | ||||
* | nxcomp/src/Loop.cpp: Make know the agent option 'keyconv' to nxcomp and ↵ | Mike Gabriel | 2018-02-27 | 1 | -1/+2 |
| | | | | | | tolerate it as a valid option. Fixes ArcticaProject/nx-libs#630. | ||||
* | nx-X11/programs/Xserver/{include/globals.h,mi/miinitext.c}: remove DPSEXT ↵ | Mihai Moldovan | 2018-02-27 | 2 | -7/+0 |
| | | | | left-overs. | ||||
* | Merge branch 'uli42-pr/update_os' into 3.6.x | Mihai Moldovan | 2018-02-27 | 4 | -9/+7 |
|\ | | | | | | | Attributes GH PR #651: https://github.com/ArcticaProject/nx-libs/pull/651 | ||||
| * | Lift os to XORG-7_1 state - non-functional changes only | Ulrich Sibiller | 2018-02-27 | 1 | -0/+1 |
| | | |||||
| * | Lift os to XORG-7_1 state | Ulrich Sibiller | 2018-02-27 | 3 | -9/+6 |
|/ | |||||
* | Remove unused X11R4 DDX compatibility function miClipNotify. | Mihai Moldovan | 2018-02-27 | 2 | -84/+0 |
| | | | | | | | | | | | | Backported from X.org: commit 39ce5f1544029412f4060f3e89ce1d87222ef42b Author: Adam Jackson <ajax@nwnk.net> Date: Fri Jan 6 17:05:26 2006 +0000 Remove unused X11R4 DDX compatibility function miClipNotify. Backported-to-NX-by: Mihai Moldovan <ionic@ionic.de> | ||||
* | Merge branch 'uli42-pr/update_mi' into 3.6.x | Mihai Moldovan | 2018-02-27 | 11 | -75/+45 |
|\ | | | | | | | Attributes GH PR #650: https://github.com/ArcticaProject/nx-libs/pull/650 | ||||
| * | Lift mi to xorg-xserver-7.1/1.1.0 state - non-functional changes only | Ulrich Sibiller | 2018-02-27 | 2 | -2/+2 |
| | | |||||
| * | Lift mi to xorg-xserver-7.1/1.1.0 state | Ulrich Sibiller | 2018-02-27 | 8 | -72/+41 |
| | | | | | | | | I left out glx changes to miinitext.c for now. | ||||
| * | Lift miext to xorg-xserver-7.1/1.1.10 state | Ulrich Sibiller | 2018-02-27 | 2 | -1/+2 |
|/ | |||||
* | Merge branch 'uli42-pr/update_record' into 3.6.x | Mihai Moldovan | 2018-02-27 | 2 | -403/+76 |
|\ | | | | | | | Attributes GH PR #649: https://github.com/ArcticaProject/nx-libs/pull/649 | ||||
| * | Lift record to xorg-server-1.4.2 state | Ulrich Sibiller | 2018-02-27 | 1 | -4/+4 |
| | | |||||
| * | Lift record to xorg-server-1.2.0/xorg-server-1.3.0.0 state - non-functional ↵ | Ulrich Sibiller | 2018-02-27 | 1 | -53/+22 |
| | | | | | | | | changes only | ||||
| * | Lift record to xorg-server-1.2.0/xorg-server-1.3.0.0 state | Ulrich Sibiller | 2018-02-27 | 1 | -222/+0 |
| | | |||||
| * | Lift record to xorg-xserver-7.1/1.1.0 state - non-functional changes only | Ulrich Sibiller | 2018-02-27 | 1 | -115/+43 |
| | | |||||
| * | Lift record to xorg-xserver-7.1/1.1.0 state | Ulrich Sibiller | 2018-02-27 | 1 | -9/+7 |
|/ | |||||
* | Merge branch 'sunweaver-pr/version-cmdline-option' into 3.6.x | Mihai Moldovan | 2018-02-27 | 31 | -103/+124 |
|\ | | | | | | | | | | | | | Attributes GH PR #660: https://github.com/ArcticaProject/nx-libs/pull/660 Fixes: ArcticaProject/nx-libs#653 Fixes: ArcticaProject/nx-libs#639 | ||||
| * | hw/nxagent/: Stop using non-portable '__progname', set up our own ↵ | Mike Gabriel | 2018-02-26 | 3 | -7/+9 |
| | | | | | | | | 'nxagentProgName' instead and pass it around where needed. | ||||
| * | hw/nxagent/: Use <function>(void) rather than <function>(). | Mike Gabriel | 2018-02-26 | 28 | -94/+94 |
| | | |||||
| * | nxagent/Args.c: Mention new -options cmdline parameter in usage info. | Simon Matter | 2018-02-26 | 1 | -0/+1 |
| | | | | | | | | Fixes ArcticaProject/nx-libs#639 | ||||
| * | nxagent: Print correct application in usage message. | Simon Matter | 2018-02-26 | 1 | -0/+5 |
| | | | | | | | | Fixes ArcticaProject/nx-libs#639. | ||||
| * | nxagent: Add -version cmdline option. | Simon Matter | 2018-02-26 | 4 | -4/+17 |
|/ | | | | Fixes ArcticaProject/nx-libs#653. | ||||
* | nx-libs.spec: also package extensions/shapeconst.h in RPM packages. | Mihai Moldovan | 2018-02-26 | 1 | -0/+1 |
| | |||||
* | Merge branch 'uli42-pr/update_dbe' into 3.6.x | Mihai Moldovan | 2018-02-26 | 5 | -141/+72 |
|\ | | | | | | | Attribiutes GH PR #647: https://github.com/ArcticaProject/nx-libs/pull/647 | ||||
| * | dbe: add NXAGENT_SERVER guard for DixLookup | Ulrich Sibiller | 2018-02-26 | 2 | -0/+32 |
| | |