Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Loop.cpp: Fix memset (size was 0) | Ulrich Sibiller | 2017-12-29 | 1 | -1/+1 |
| | | | | (partially) fixes ArcticaProject/nx-libs#612 | ||||
* | nxcomp/src/Loop.cpp: whitespace in log messages only. | Mihai Moldovan | 2017-12-25 | 1 | -4/+4 |
| | |||||
* | nxcomp/src/Loop.cpp: use new log continuation mechanism. | Mihai Moldovan | 2017-12-25 | 1 | -18/+18 |
| | | | | | | | | | | | Especially don't flush data out mid-append. Doing so will lead to the next append operation failing. Should fix messages queuing up indefinitely (until they are discarded at program termination, at least) and missing messages in general. Fixes: ArcticaProject/nx-libs#577 Fixes: ArcticaProject/nx-libs#611 | ||||
* | nxcomp/src/Loop.cpp: whitespace only. | Mihai Moldovan | 2017-12-25 | 1 | -3/+3 |
| | |||||
* | nxcomp/src/Loop.cpp: fix small memory leak. | Mihai Moldovan | 2017-12-24 | 1 | -0/+2 |
| | |||||
* | nxcomp/src/Loop.cpp: log message fixups only. | Mihai Moldovan | 2017-12-18 | 1 | -2/+2 |
| | |||||
* | nxcomp: fix shadow warning | Ulrich Sibiller | 2017-12-11 | 1 | -2/+2 |
| | | | | | | | | | | | | | | Fixes this: CXX Loop.lo Loop.cpp: In function 'void handleCheckResultInLoop(int&, int&, int&, fd_set&, fd_set&, timeval&, timeval&)': Loop.cpp:14080:68: warning: declaration of 'startTs' shadows a global declaration [-Wshadow] struct timeval &startTs) ^ Loop.cpp:1020:13: note: shadowed declaration is here T_timestamp startTs; Fixes ArcticaProject/nx-libs#545 | ||||
* | nxcomp: use new macro SAFE_FREE(ptr) | Ulrich Sibiller | 2017-12-09 | 1 | -20/+13 |
| | | | | | Should be used instead of free() calls and will clear the pointer after calling free(). This can prevent double-free or use-after-free errors. | ||||
* | Loop.cpp: fix two memleaks | Ulrich Sibiller | 2017-12-09 | 1 | -4/+19 |
| | |||||
* | nxcomp: use lowercase abbreviations for seconds and milliseconds | Ulrich Sibiller | 2017-12-02 | 1 | -30/+30 |
| | |||||
* | nxcomp: remove unused return values | Ulrich Sibiller | 2017-12-02 | 1 | -19/+12 |
| | | | | Some functions' return values are never used anywhere, so drop them. | ||||
* | nxcomp: Fix setting of global tcpFD | Ulrich Sibiller | 2017-12-02 | 1 | -1/+2 |
| | | | | | | | This corrects a flaw that stayed undetected for 2.5 years, introduced via c5a2cf82f6baf7a9e64ec2328a5bac0dfee453ef Fixes ArcticaProject/nx-libs#573 | ||||
* | nxcomp/src/Loop.cpp: hardcode X11 and (legacy/xfs) font UNIX paths. | Mihai Moldovan | 2017-11-04 | 1 | -15/+7 |
| | | | | | | | | Fixes: ArcticaProject/nx-libs#536 Allowing overrides via NX_TEMP and TEMP breaks system using pam_tmpdir.so and most server infrastructure expects the location to be fixed anyway. | ||||
* | Regression fix for f855b3b6. Caused FTBFS with Loop.cpp:2669:0: error: ↵ | Mike Gabriel | 2017-10-27 | 1 | -1/+0 |
| | | | | unterminated #ifdef (#ifdef TIME). | ||||
* | nxcomp/src/Loop.cpp: fix whitespace errors on continued lines. | Mihai Moldovan | 2017-10-27 | 1 | -810/+810 |
| | |||||
* | Remove leading \n in NXTrans* logging | Vadim Troshchinskiy | 2017-10-27 | 1 | -3/+3 |
| | |||||
* | Fix whitespace and line splitting issues reported by ionic | Vadim Troshchinskiy | 2017-10-27 | 1 | -10/+19 |
| | |||||
* | Conversion of Loop.cpp to the new log system | Vadim Troshchinskiy | 2017-10-27 | 1 | -2560/+1285 |
| | |||||
* | New logging implementation | Vadim Troshchinskiy | 2017-10-27 | 1 | -0/+97 |
| | | | | | | | | Features: * Works without ifdefs * Configurable with commandline arguments * Log level configurable per file * Thread safe | ||||
* | Fix bug #525: PANIC! No port specified for multimedia connections | Vadim Troshchinskiy | 2017-10-10 | 1 | -11/+13 |
| | | | | | | | 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 | 1 | -57/+48 |
| | | | | | | | | | 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 | 1 | -0/+8 |
| | | | | | | 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/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/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 | 1 | -3/+3 |
| | |||||
* | nxcomp/src/Loop.cpp: Drop duplicate prototypes (which already exist in Misc.h). | Mike Gabriel | 2017-07-26 | 1 | -7/+2 |
| | |||||
* | 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 | 1 | -3/+3 |
| | | | | higher scope. | ||||
* | nxcomp: Switch to autoreconf. | Mike Gabriel | 2017-07-26 | 1 | -0/+16693 |