- 07 May, 2020 27 commits
-
-
Ulrich Sibiller authored
(from nxagent changelog)
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
It is better to create the values array once and not on every iteration..
-
Ulrich Sibiller authored
Does not require two parameters. It could be replaced by RegionDestroy() entirely but we leave it to have a match to nxagentCreateRegion().
-
Ulrich Sibiller authored
Now all cleanup code at the end of the function is gone so there's no need for the gotos anymore. Just return directly.
-
Ulrich Sibiller authored
move common code into helper function that also takes care of the ugly alloc/free stuff.
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
Otherwise we will never be able to free the list because we do not know if free() is allowed or not.
-
Ulrich Sibiller authored
add else clauses, improve debugging, add comments
-
Ulrich Sibiller authored
not a real memleak since it is followed by a FatalError...
-
Ulrich Sibiller authored
The FIXME just described what the following function actually implements...
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
-
Mike Gabriel authored
Attributes GH PR #922: https://github.com/ArcticaProject/nx-libs/pull/922
-
Ulrich Sibiller authored
if neither NX_CLIENT ist provided nor /usr/NX/bin/nxclient is existing try /usr/bin/nxdialog. Currently the path is hardcoded.
-
Mike Gabriel authored
Attributes GH PR #917: https://github.com/ArcticaProject/nx-libs/pull/917
-
Ulrich Sibiller authored
The changes are either applied in the current version or the affected file is no longer existing.
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
We have never built nxwin within this tree. And we never shipped it. So drop the according logic. We have also removed CYGWIN stuff in the past so nxwin probably would not compile/work anyway...
-
Mike Gabriel authored
Attributes GH PR #899: https://github.com/ArcticaProject/nx-libs/pull/899
-
- 07 Apr, 2020 4 commits
-
-
Ulrich Sibiller authored
We have no hardware that could blank the screen for us. So let nxagentSaveScreen return False in some situations to let dix do the default action.
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
we moved the auto-disconnect feature to an own timer so there's no need for a special treatment in screen saver stuff anymore.
-
Ulrich Sibiller authored
Option -timeout used the screensaver facility. This patch changes that to an own timer that is independent. This effectly means we can drop most of the derived screensaving stuff in a follow-up commit.
-
- 30 Jan, 2020 4 commits
-
-
Mike Gabriel authored
-
Mike Gabriel authored
-
Mike Gabriel authored
-
Mike Gabriel authored
Attributes GH PR #895: https://github.com/ArcticaProject/nx-libs/pull/895
-
- 25 Jan, 2020 2 commits
-
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
This was removed by mistake in 39866f5c. Fixes ArcticaProject/nx-libs#904
-
- 09 Jan, 2020 3 commits
-
-
Ulrich Sibiller authored
Clean.c: In function ‘CleanZImage’: Clean.c:141:23: warning: declaration of ‘j’ shadows a previous local [-Wshadow=local] register int i, j; ^ Clean.c:88:16: note: shadowed declaration is here unsigned int j; ^ Clean.c: In function ‘CopyAndCleanImage’: Clean.c:239:22: warning: declaration of ‘i’ shadows a previous local [-Wshadow=compatible-local] register int i; ^ Clean.c:192:16: note: shadowed declaration is here register int i; ^ Clean.c:324:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow=compatible-local] int i; ^ Clean.c:192:16: note: shadowed declaration is here register int i; ^
-
Ulrich Sibiller authored
commit 08d0481e299c28b64a0db9bb0782ba2b551028fd Author: Keith Packard <keithp@keithp.com> Date: Sun Dec 15 01:12:22 2013 -0800 os: Fix -Wshadow errors Rename variables to avoid shadowing globals Signed-off-by:
Keith Packard <keithp@keithp.com> Reviewed-by:
Eric Anholt <eric@anholt.net>
-
Ulrich Sibiller authored
Based on the following commit. But for mispans.c I think the first contained fix is wrong (nested loop with variable i) so I took another approach. commit f02e27e4fcc34413b2051e5a01edc92172fa8612 Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Date: Tue Oct 16 02:16:17 2012 -0500 mi: fix shadow warnings mibitblt.c: In function 'miGetImage': mibitblt.c:617:20: warning: declaration of 'pt' shadows a previous local mibitblt.c:609:17: warning: shadowed declaration is here mispans.c: In function 'miFillUniqueSpanGroup': mispans.c:456:33: warning: declaration of 'i' shadows a previous local mispans.c:382:9: warning: shadowed declaration is here mispans.c:488:17: warning: declaration of 'i' shadows a previous local mispans.c:382:9: warning: shadowed declaration is here Signed-off-by:
Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net> Fixes these warnings: mi/mispans.c: fix shadowed vars mispans.c: In function ‘miFillUniqueSpanGroup’: mispans.c:465:12: warning: declaration of ‘i’ shadows a previous local [-Wshadow=compatible-local] int i; ^ mispans.c:387:21: note: shadowed declaration is here register int i; ^ mispans.c:497:10: warning: declaration of ‘i’ shadows a previous local [-Wshadow=compatible-local] int i; ^ mispans.c:387:21: note: shadowed declaration is here register int i; ^ mibitblt.c: In function ‘miGetImage’: mibitblt.c:669:13: warning: declaration of ‘pt’ shadows a previous local [-Wshadow=compatible-local] xPoint pt; ^~ mibitblt.c:659:18: note: shadowed declaration is here DDXPointRec pt = {0, 0}; ^~
-