- 21 Jun, 2016 1 commit
-
-
Mihai Moldovan authored
{nx-X11/programs/Xserver/hw/nxagent/{{Args,Handlers,Image,Options}.c,Options.h},nxcomp/{Loop,Misc}.cpp}: add configurable sleep delay if session is suspended.
-
- 12 Jun, 2016 2 commits
-
-
Mike Gabriel authored
nx-X11/programs/Xserver: Include nxcomp{,ext,shad} headers like one would do with system-wide shared libraries.
-
Mike Gabriel authored
nxcomp/Makefile.in: Only install MD5.h, NX.h, NXalert.h, NXpack.h, NXproto.h and NXvars.h as publicly available header files. * Also adapt debian/libxcomp-dev.install.in accordingly. * Also adapt nx-libs.spec accordingly.
-
- 31 May, 2016 2 commits
-
-
Nito Martinez authored
Fix debugging function for Loop.cpp. getDebugSpec was replaced by << operand in ChannelEndPoint.{h|cpp}, fixes #130
-
Nito Martinez authored
-
- 27 Apr, 2016 3 commits
-
-
Salvador Fandino authored
-
Mike Gabriel authored
-
Fernando Carvajal authored
This commit removes several warnings in nxcomp related to unused but set variables. It also replaces tempnam function with the more secure one mkstemp and there has been removed another warning related to setgid and setuid returning values not being checked. So these were the compiler warnings in nxcomp that have been fixed: Loop.cpp: In function ‘int ParseRemoteOptions(char*)’: Loop.cpp:9423:7: warning: variable ‘hasLimit’ set but not used [-Wunused-but-set-variable] int hasLimit = 0; ^ Loop.cpp:9424:7: warning: variable ‘hasRender’ set but not used [-Wunused-but-set-variable] int hasRender = 0; ^ Loop.cpp:9425:7: warning: variable ‘hasTaint’ set but not used [-Wunused-but-set-variable] int hasTaint = 0; ^ Loop.cpp:9427:7: warning: variable ‘hasStrict’ set but not used [-Wunused-but-set-variable] int hasStrict = 0; ^ Loop.cpp:9428:7: warning: variable ‘hasShseg’ set but not used [-Wunused-but-set-variable] int hasShseg = 0; ^ ServerChannel.cpp: In member function ‘virtual int ServerChannel::handleWrite(const unsigned char*, unsigned int)’: ServerChannel.cpp:2132:9: warning: variable ‘hit’ set but not used [-Wunused-but-set-variable] int hit; ^ Proxy.o: In function `Proxy::handleSaveAllStores(char const*) const': Proxy.cpp:(.text+0x2cac): warning: the use of `tempnam' is dangerous, better use `mkstemp' Pipe.cpp: In function ‘FILE* Popen(char* const*, const char*)’: Pipe.cpp:240:23: warning: ignoring return value of ‘int setgid(__gid_t)’, declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^ Pipe.cpp:241:23: warning: ignoring return value of ‘int setuid(__uid_t)’, declared with attribute warn_unused_result [-Wunused-result] setuid(getuid()); ^ There was also a hidden problem in the way Proxy::handleSaveAllStores was checking for an error in the returning value from the call to the virtual method handleSaveAllStores of the specific proxy class really being used (ClientProxy or ServerProxy). Former code was considering the value 0 as the returning value in case of an error whereas both subclasses return the value -1 when there is an error in their handleSaveAllStores method. This bug has been fixed in this commit taking advantage of the modification that was already being made to this method in order to replace tempnam function with the more secure one mkstemp. Fixes: ArcticaProject/nx-libs#103
-
- 20 Apr, 2016 1 commit
-
-
Salvador Fandino authored
It was GPL3 instead of GPL2! Fixes ArcticaProject/nx-libs#112
-
- 15 Apr, 2016 1 commit
-
-
Fernando Carvajal authored
This commit removes TextCompressor class references from ClientCache and ServerCache as it's no longer used after removing old protocol's compatibility code from nxcomp. It also removes the attribute textCache from both classes as it's no longer used either. Finally the header and source files associated with the TextCompressor class are also deleted and removed from the compilation process. Refs: ArcticaProject/nx-libs#108
-
- 12 Apr, 2016 2 commits
-
-
Fernando Carvajal authored
This commit removes obsolete compatibility files whose components were only used to handle compatibility with old protocol versions that are no longer supported. Refs: ArcticaProject/nx-libs#108
-
Fernando Carvajal authored
As a part of nxcomp's clean-up process, compatibility with old protocol versions has been set now at 3.5.0. This commit removes compatibility code from nxcomp so the minimum supported version changes from 1.5.0 (protocol step 6) to 3.5.0 (protocol step 10). At this moment the removal is not complete and it will be followed by some other commits, in order to get rid of several components and files that are no longer used as they were only needed to work with old protocol versions. Refs: ArcticaProject/nx-libs#108
-
- 22 Mar, 2016 1 commit
-
-
Mike Gabriel authored
Fixes ArcticaProject/nx-libs#104
-
- 02 Mar, 2016 1 commit
-
-
Nito Martinez authored
-
- 30 Dec, 2015 1 commit
-
-
Mike Gabriel authored
-
- 29 Dec, 2015 1 commit
-
-
Mike Gabriel authored
By design, when resuming a session, Xinerama can only be re-enabled by NX option parsing. Thus, this change introduces a "xinerama" NX option that can be loaded via an options file into NX agent when resuming a session. The new xinerame NX session option also allows switching on Xinerama at session startup via an option file. When implementing the new NX Xinerama support into clients (like TheQVD, X2Go Client, etc., this new xinerama NX option should be used for activating Xinerama in the NX / QVD / X2Go session.
-
- 28 Sep, 2015 5 commits
-
-
Mike Gabriel authored
-
Mike Gabriel authored
-
Ulrich Sibiller authored
-
Mihai Moldovan authored
-
Vadim Troshchinskiy authored
Problem fixed by adding a select() call to implement a timeout, and retrying writes if needed.
-
- 25 Aug, 2015 2 commits
-
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
-
- 14 Jul, 2015 1 commit
-
-
Mike Gabriel authored
-
- 13 Jul, 2015 1 commit
-
-
Mike Gabriel authored
-
- 12 Jul, 2015 1 commit
-
-
Ulrich Sibiller authored
-
- 16 Jun, 2015 1 commit
-
-
Mihai Moldovan authored
-
- 29 May, 2015 1 commit
-
-
Mike Gabriel authored
-
- 28 May, 2015 1 commit
-
-
Mihai Moldovan authored
-
- 26 May, 2015 1 commit
-
-
Mike Gabriel authored
* Update nxcomp/LICENSE. * Add nxcomp/README.on-retroactive-DXPC-license, giving a short overview of the flow of discussions * Add "modified or unmodified" to the license information printed out to stdout in nxcomp/Misc.cpp * Fix copyright year (2006->2003) for Gian Filippo Pinzari (and move him to the GPL-2 section). * Add the complete .mbox file of Debian bug #748565.
-
- 20 May, 2015 1 commit
-
-
Vadim Troshchinskiy authored
Problem fixed by adding a select() call to implement a timeout, and retrying writes if needed.
-
- 15 May, 2015 2 commits
-
-
Nito Martinez authored
Particularly the following macros have been tested -DTEST -DDEBUG -DDUMP -DFLUSH -DTOKEN -DSPLIT -DPING -DMIXED -DMATCH -DTIME
-
Nito Martinez authored
This patch allows to cleanup the nxcomp resources to allow for a second connection inside the same process, instead of a new process as is the nxproxy case. This involves creating a new API call void NXTransCleanupForReconnect(void); which basically cleans up the global state for the connection but does not exit the process. Background ========== This is needed for the IOS platform, where the nxproxy model of forking does not work. Also NX handles most of the errors with an "exit" call which in IOS cannot be easily handled.
-
- 25 Mar, 2015 1 commit
-
-
Mihai Moldovan authored
nxcomp{,ext,shad}: only use the first three numbers in the full version for current_version on OS X. ld(1) on 10.6 fails otherwise.
-
- 16 Mar, 2015 1 commit
-
-
Mihai Moldovan authored
-
- 15 Mar, 2015 3 commits
-
-
Clemens Lang authored
nxcomp{,ext,shad}: use the correct library naming scheme on OS X. It differs from other UNIX-based systems.
-
Clemens Lang authored
-
Clemens Lang authored
-
- 14 Feb, 2015 2 commits
-
-
Mike Gabriel authored
VERSION file: master VERSION file is in base folder, symlinked from nx*/VERSION and hw/nxagent/VERSION. This commit removes the debian/VERSION file at makes it now unnecessary to copy/symlink the VERSION file at build time. These build scripts got adapted: debian/roll-tarballs.sh debian/rules nx-libs.spec Furthermore, all NX component now use the main VERSION file as reference. typechange: nxcomp/VERSION typechange: nxcompext/VERSION typechange: nxcompshad/VERSION typechange: nxproxy/VERSION
-
Mike Gabriel authored
-