aboutsummaryrefslogtreecommitdiff
path: root/nxcomp
Commit message (Collapse)AuthorAgeFilesLines
* nxcomp/src/{Loop,Proxy}.cpp: On Debian/kFreeBSD (and other *BSD variants) ↵Mike Gabriel2017-09-062-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.
* nx*/configure.ac: Use newly introduced macro NX_DEFAULT_OPTIONS instead of ↵Mike Gabriel2017-08-111-1/+1
| | | | NX_COMPILER_FLAGS.
* nxcomp/configure.ac: fix copy-and-paste typo (nxcompshad.pc.)Mihai Moldovan2017-08-091-1/+1
|
* nxcomp/configure.ac: we don't need to specify empty optional parameters.Mihai Moldovan2017-08-091-2/+2
|
* nxcomp/configure.ac: Don't rely on pkg-config alone when it comes to testing ↵Mike Gabriel2017-08-081-4/+4
| | | | | | | | | | for presence of libjpeg shared lib and header files. Especially systems still using the IJG libjpeg implementation are likely to lack the libjpeg.pc file. . So this adds some alternative way of detecting if all libjpeg related build-dependencies are in place.
* nxcomp: Add __attribute__((noreturn)) to more functions where appropriate.Mike Gabriel2017-07-263-4/+4
|
* nxcomp/src/Loop.cpp: Don't mix using global proxyFD and a local p(roxy)FD ↵Mike Gabriel2017-07-261-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 Gabriel2017-07-261-4/+4
| | | | handleLogReopenInLoop().
* nxcomp/src/Loop.cpp: Drop global variable diffTs, declare it in every ↵Mike Gabriel2017-07-261-5/+2
| | | | funtion where it is needed.
* nxcomp/src/Transport.cpp: Don't redeclare local variable if it can be reused.Mike Gabriel2017-07-261-1/+1
|
* nxcomp/src/Loop.cpp: Don't reuse global variable names as function ↵Mike Gabriel2017-07-261-18/+18
| | | | parameters in SetupDisplaySocket().
* nxcomp/src/Loop.cpp: Rename local variable 'handler' to 'signalHandler'.Mike Gabriel2017-07-262-5/+5
|
* nxcomp/src/Loop.cpp: Drop duplicate prototypes (which already exist in Misc.h).Mike Gabriel2017-07-261-7/+2
|
* nxcomp/src/Proxy.cpp: Fix index usage of nested loops.Mike Gabriel2017-07-261-5/+5
|
* nxcomp/src/Loop.cpp: Avoid duplicate usage of proxyFD (global variable) and ↵Mike Gabriel2017-07-261-19/+19
| | | | *proxyFD (function parameter).
* nxcomp: Trivially fix local variables shadowing variables of same name from ↵Mike Gabriel2017-07-264-77/+77
| | | | higher scope.
* nxcomp/configure.ac,m4/nx-macros.m4,nxcomp/src/Socket.h: Use AC_CHECK_TYPES ↵Mike Gabriel2017-07-262-9/+11
| | | | to detect if type 'in_addr_t' is available.
* nxcomp/configure.ac: Re-add previously available configure options ↵Mike Gabriel2017-07-261-0/+14
| | | | --with-valgrind and --with-info as renamed options --enable-valgrind and --enable-debug.
* nxcomp: Switch to autoreconf.Mike Gabriel2017-07-26241-1020/+710
|
* nxcomp: Set TokenSize to 1536 for link type ADSL and WAN. Improving ↵Oleksandr Shneyder2017-06-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | non-xrender based browser scrolling behaviour when link type is set to ADSL or WAN. In the 40-ies (talking about release version numbers), Firefox started using the Skia library [1] for client-side rendering of browser content. With current versions of Firefox you can switch between libXrender based rendering (esp. of Fonts) and Skia based rendering: gfx.xrender.enabled = true|false Some time around Firefox 52, the default for the gfx.xrender.enabled setting got changed by Firefox upstream from true to false. So nowadays, Firefox uses Skia by default. However, it turns out that Skia scales really badly on remote X11 connections. Scrolling of long web pages becomes really jolty. Something similar could be observed earlier already when using Chrome or Chromium (which also has been using Skia for some time now). This change in nxcomp works around those issues and greatly improves scrolling and general browser experience on medium throughput networks (like cable modem, ADSL, HDSPA, slow LTE). [1] https://en.wikipedia.org/wiki/Skia_Graphics_Engine Fixes ArcticaProject/nx-libs#443.
* nxcomp/Children.cpp: Don't generate warnings with duplicated NX paths.Mike Gabriel2017-04-211-61/+70
| | | | Fixes ArcticaProject/nx-libs#370.
* nxcomp/Loop.cpp: Fix server/client mode info cerr printing in ↵Mike Gabriel2017-04-071-1/+1
| | | | PrintProcessInfo().
* Remove EMX (MS-DOS & OS/2) supportMike DePaulo2017-03-292-19/+0
|
* Cygwin nxcomp: Use Cygwin un.hMike DePaulo2017-03-292-7/+2
| | | | | Cygwin has modified it over the years. Fixes FTBFS #394
* nxcomp/ChannelEndPoint.cpp: we're not really testing for a character, but a ↵Mihai Moldovan2017-03-091-1/+1
| | | | | | pointer. Fixes: ArcticaProject/nxlibs#389.
* nxcomp/Loop.cpp: Allow nx/nx:<disp> as DISPLAY variable (i.e. an empty nx/nx ↵Mike Gabriel2017-03-021-1/+2
| | | | options string.
* nxcomp/Loop.cpp: Ignore, options= nx/nx parameter, if file options path ↵Mike Gabriel2017-03-021-1/+1
| | | | | | starts with /dev/, /proc/, or /sys/. Partially resolved ArcticaProject/nx-libs#51.
* nxcomp: Fix artifacts in copyright headers.Mike Gabriel2016-12-203-11/+0
|
* Make nxagent only bind to loopback when requestedVadim Troshchinskiy2016-12-141-4/+8
|
* Fix reversed logic in acceptHost settingVadim Troshchinskiy2016-12-131-2/+2
|
* add .gitignore filesUlrich Sibiller2016-11-171-0/+2
|
* nxcomp: remove unused Utils.cppUlrich Sibiller2016-11-021-43/+0
|
* Add description of NX_SLAVE_CMD to man and helpVadim Troshchinskiy2016-10-281-0/+7
|
* Slave channel implementationVadim Troshchinskiy2016-10-283-34/+156
| | | | | | | | When enabled and a connection is made to the port, launches the process specified in NX_SLAVE_CMD on the other side, and connects stdin and stdout to the socket. This is used for VM/client and client/VM communication.
* Loop.cpp: Fix output of SetCore()Ulrich Sibiller2016-10-201-3/+3
|
* nxcomp/{Client|}Proxy.cpp: Typo fix in error messages.Mike Gabriel2016-10-132-6/+6
|
* nxcomp: Fix typo in usage message.Ulrich Sibiller2016-10-131-1/+1
|
* Fix nxproxy hostname parsing.Vadim Troshchinskiyddd2016-10-071-3/+3
| | | | | Fixes ArcticaProject/nx-libs#207 Closes ArcticaProject/nx-libs#216
* Check if unixPath is NULL before accessing it; this fixes crashing of ↵Vadim Troshchinskiy2016-10-071-1/+1
| | | | | | | nxagent when TEST is enabled. Fixes ArcticaProject/nx-libs#217. Closes ArcticaProject/nx-libs#218.
* nxcomp/Loop.cpp: We have PrintVersionInfo(), why not use it? Use endl ↵Mike Gabriel2016-08-261-6/+9
| | | | instead of \n for EOLs when streaming application's preamble to stderr.
* nxcomp/Loop.cpp: Mention DXPC copyright holders on application (i.e. ↵Mike Gabriel2016-08-261-0/+3
| | | | nxproxy) start-up.
* nxcomp/Loop.cpp: We have GetCopyrightInfo() in Misc.cpp, so why not use it? ↵Mike Gabriel2016-08-241-2/+2
| | | | Also: point to ArcticaProject/nx-libs namespace on Github for further information.
* nxcomp/Misc.cpp: Display new list of copyright holders when launching ↵Mike Gabriel2016-08-241-8/+16
| | | | nxproxy / nxagent.
* nxcomp/*.c: Update copyright headers, use new list of copyright holders like ↵Mike Gabriel2016-08-242-14/+30
| | | | for the .cpp files.
* nxcomp/Loop.cpp: Refer to Github namespace of Arctica Project as location to ↵Mike Gabriel2016-08-241-1/+1
| | | | | | search for software updates. Fixes ArcticaProject/190
* {nx-X11/programs/Xserver/hw/nxagent/{Args.c,Options.{c,h}},nxcomp/{Loop,Misc ↵Mihai Moldovan2016-07-282-2/+5
| | | | }.cpp}: add tolerancechecks parameter as an nx/nx option and ReconnectTolerance as an nxagentOption.
* Per-file copyright notices: Update copyright information in file headers ↵Mike Gabriel2016-07-06229-1614/+3464
| | | | that NoMachine placed there own copyright statement in.
* nxcomp/Misc.cpp: The clipboard nx/nx option is a string option, not int.Mike Gabriel2016-07-051-1/+1
|
* nxcomp licensing: Move README.on-retroactive-DXPC-license to doc/nxcomp/ folder.Mike Gabriel2016-07-051-269/+0
|
* NoMachine documentation files: Move to doc/_attic_/ folder.Mike Gabriel2016-07-053-3820/+0
|