Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nxcomp/Log.h: also clear the buffer after setting it to an empty string. | Mihai Moldovan | 2017-10-27 | 1 | -1/+2 |
| | |||||
* | Set default log level to WARNING | Vadim Troshchinskiy | 2017-10-27 | 1 | -1/+1 |
| | | | | | This is to ensure the log output is the same as previous releases, which didn't have INFO defined by default. | ||||
* | New logging implementation | Vadim Troshchinskiy | 2017-10-27 | 4 | -0/+719 |
| | | | | | | | | Features: * Works without ifdefs * Configurable with commandline arguments * Log level configurable per file * Thread safe | ||||
* | nxcomp: add AX_PTHREAD code from autoconf-archive and check for pthread support. | Mihai Moldovan | 2017-10-27 | 1 | -1/+7 |
| | |||||
* | Fix bug #525: PANIC! No port specified for multimedia connections | Vadim Troshchinskiy | 2017-10-10 | 3 | -11/+19 |
| | | | | | | | Commit 5f1eb0dc3eb89e84a3b146975e147b995fb7673f introduced a regression that made the use of the multimedia port mandatory. Fixes ArcticaProject/nx-libs#525 | ||||
* | nxcomp/src/Loop.cpp: Reduce control->TokenSize slightly again in order to ↵ | Simon Matter | 2017-10-09 | 1 | -2/+2 |
| | | | | fix fragmentation of packages when on VPN (or otherwise encapsulated) connections. | ||||
* | nxcomp/src/Loop.cpp: whitespace fixes only. | Mihai Moldovan | 2017-09-29 | 1 | -6/+6 |
| | |||||
* | Fix nxagent argument parsing logic | Vadim Troshchinskiy | 2017-09-29 | 2 | -57/+51 |
| | | | | | | | | | This makes it so that slave=1 works again as it should. The changes introduced earlier resulted in the unintentional requirement to specify the actual port number, breaking backwards compatibility. Fixes: ArcticaProject/nx-libs#518 | ||||
* | nxcomp/src/{Loop,Proxy}.cpp: On Debian/kFreeBSD (and other *BSD variants) ↵ | Mike Gabriel | 2017-09-06 | 2 | -0/+16 |
| | | | | | | the sockaddr_un.sun_path property is 104 chars long, not 108. Hard-coding Unix domain sockets in nxcomp the string length 104. Fixes ArcticaProject/nx-libs#507. | ||||
* | nxcomp: Add __attribute__((noreturn)) to more functions where appropriate. | Mike Gabriel | 2017-07-26 | 3 | -4/+4 |
| | |||||
* | nxcomp/src/Loop.cpp: Don't mix using global proxyFD and a local p(roxy)FD ↵ | Mike Gabriel | 2017-07-26 | 1 | -16/+16 |
| | | | | variable (in WaitForRemote() and ConnectToRemote()). Rename local variable name. | ||||
* | nxcomp/src/Loop.cpp: Don't use global variables as function paramters in ↵ | Mike Gabriel | 2017-07-26 | 1 | -4/+4 |
| | | | | handleLogReopenInLoop(). | ||||
* | nxcomp/src/Loop.cpp: Drop global variable diffTs, declare it in every ↵ | Mike Gabriel | 2017-07-26 | 1 | -5/+2 |
| | | | | funtion where it is needed. | ||||
* | nxcomp/src/Transport.cpp: Don't redeclare local variable if it can be reused. | Mike Gabriel | 2017-07-26 | 1 | -1/+1 |
| | |||||
* | nxcomp/src/Loop.cpp: Don't reuse global variable names as function ↵ | Mike Gabriel | 2017-07-26 | 1 | -18/+18 |
| | | | | parameters in SetupDisplaySocket(). | ||||
* | nxcomp/src/Loop.cpp: Rename local variable 'handler' to 'signalHandler'. | Mike Gabriel | 2017-07-26 | 2 | -5/+5 |
| | |||||
* | nxcomp/src/Loop.cpp: Drop duplicate prototypes (which already exist in Misc.h). | Mike Gabriel | 2017-07-26 | 1 | -7/+2 |
| | |||||
* | nxcomp/src/Proxy.cpp: Fix index usage of nested loops. | Mike Gabriel | 2017-07-26 | 1 | -5/+5 |
| | |||||
* | nxcomp/src/Loop.cpp: Avoid duplicate usage of proxyFD (global variable) and ↵ | Mike Gabriel | 2017-07-26 | 1 | -19/+19 |
| | | | | *proxyFD (function parameter). | ||||
* | nxcomp: Trivially fix local variables shadowing variables of same name from ↵ | Mike Gabriel | 2017-07-26 | 4 | -77/+77 |
| | | | | higher scope. | ||||
* | nxcomp/configure.ac,m4/nx-macros.m4,nxcomp/src/Socket.h: Use AC_CHECK_TYPES ↵ | Mike Gabriel | 2017-07-26 | 1 | -0/+10 |
| | | | | to detect if type 'in_addr_t' is available. | ||||
* | nxcomp: Switch to autoreconf. | Mike Gabriel | 2017-07-26 | 226 | -0/+103325 |