Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Loop.cpp: create xServerAddrUNIX only if required | Ulrich Sibiller | 2017-12-29 | 1 | -4/+3 |
| | |||||
* | Loop.cpp: improve/fix usage of s(n)printf | Ulrich Sibiller | 2017-12-29 | 1 | -4/+6 |
| | |||||
* | Loop.cpp: some reformatting/simplification/FIXMEs | Ulrich Sibiller | 2017-12-29 | 1 | -5/+11 |
| | | | | (partially) fixes ArcticaProject/nx-libs#612 | ||||
* | Loop.cpp: delete passed object prior to overwriting it | Ulrich Sibiller | 2017-12-29 | 1 | -1/+4 |
| | |||||
* | ChannelEndPoint.cpp: re-scope/improve getSpec | Ulrich Sibiller | 2017-12-29 | 2 | -9/+21 |
| | |||||
* | Loop.cpp: delete structs when no longer required | Ulrich Sibiller | 2017-12-29 | 1 | -0/+2 |
| | | | | | | Fix another memleak (partially) fixes ArcticaProject/nx-libs#612 | ||||
* | Loop.cpp: always close testSocketFD | Ulrich Sibiller | 2017-12-29 | 1 | -1/+2 |
| | | | | | | was missing in the non-abstract code path (partially) fixes ArcticaProject/nx-libs#612 | ||||
* | Loop.cpp: free display before leaving SetupDisplaySocket() | Ulrich Sibiller | 2017-12-29 | 1 | -0/+5 |
| | | | | fixes a memory leak | ||||
* | Loop.cpp: Fix memset (size was 0) | Ulrich Sibiller | 2017-12-29 | 1 | -1/+1 |
| | | | | (partially) fixes ArcticaProject/nx-libs#612 | ||||
* | Merge branch 'uli42-pr/silence_nxcompshad_warnings' into 3.6.x | Mihai Moldovan | 2017-12-28 | 2 | -4/+19 |
|\ | | | | | | | Fixes: ArcticaProject/nx-libs#572 | ||||
| * | nxcompshad: silence GCC warnings | Ulrich Sibiller | 2017-12-28 | 2 | -4/+19 |
|/ | | | | Fixes ArcticaProject/nx-libs#572 | ||||
* | Merge branch 'uli42-pr/reduce_uninitialised' into 3.6.x | Mihai Moldovan | 2017-12-28 | 12 | -104/+86 |
|\ | |||||
| * | reduce usage of uninitialised bytes | Ulrich Sibiller | 2017-12-28 | 12 | -104/+86 |
|/ | | | | as reported by valgrind | ||||
* | nxcomp/src/Log.h: take a reference-type in generic has_newline() function. | Mihai Moldovan | 2017-12-27 | 1 | -1/+1 |
| | | | | Should avoid copy-constructing objects again. | ||||
* | nxcomp/src/Log.cpp: don't confuse users with useless warning messages in ↵ | Mihai Moldovan | 2017-12-27 | 1 | -8/+12 |
| | | | | case that a log line append operation was requested, but the message level has lower precedence than the current log filter. | ||||
* | nxcomp/src/Log.h: make sure we don't pass NULL pointers to strstr(). | Mihai Moldovan | 2017-12-27 | 1 | -1/+8 |
| | |||||
* | 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/Log.{cpp,h}: provide infrastructure for appending to already ↵ | Mihai Moldovan | 2017-12-25 | 2 | -23/+89 |
| | | | | | | | | | existing log lines. Also handle errors due to missing buffers gracefully. This error is surprisingly easy to trigger, so we should make sure that the program does not crash. | ||||
* | nxcomp/src/Log.h: NXLogStamp constructor should actually take a size_t-typed ↵ | Mihai Moldovan | 2017-12-25 | 1 | -1/+1 |
| | | | | line parameter. | ||||
* | nxcomp/src/Log.h: use initializer lists instead of initializing member ↵ | Mihai Moldovan | 2017-12-25 | 1 | -17/+4 |
| | | | | variables in-block. | ||||
* | nx-X11/programs/Xserver/hw/nxagent/Screen.c: re-enable normal error/warning ↵ | Mihai Moldovan | 2017-12-24 | 1 | -2/+2 |
| | | | | | | output. Was dropped erroneously in cec31e2f06b29b332ee78cfefeefa7bfa136be75. | ||||
* | nxcomp/src/ChannelEndPoint.cpp: don't use C-style casting in C++ code... | Mihai Moldovan | 2017-12-24 | 1 | -3/+3 |
| | |||||
* | nxcomp/src/Loop.cpp: fix small memory leak. | Mihai Moldovan | 2017-12-24 | 1 | -0/+2 |
| | |||||
* | testscripts/run-nxproxy2nx*: use more quotes, common variables and braces. | Mihai Moldovan | 2017-12-24 | 5 | -177/+163 |
| | |||||
* | testscripts/run-nxproxy2nx*: drop echo -ne "...\n". | Mihai Moldovan | 2017-12-24 | 5 | -19/+18 |
| | | | | | | Besides that being a useless construct to begin with, not all shells even support parameters to echo. Nuke that abomination from or^Wthe repository. | ||||
* | testscripts/*: fix "randlomly" typos. | Mihai Moldovan | 2017-12-24 | 5 | -5/+5 |
| | |||||
* | nx-X11/programs/Xserver/hw/nxagent/Screen.c: update screen size after ↵ | Mihai Moldovan | 2017-12-24 | 1 | -0/+7 |
| | | | | | | | modifying CRTC modes. This should get rid of the infamous "800x600 screen size" issue reproduced in X2Go whole display setups. | ||||
* | nx-libs.spec: make sure pass additional configure flags through, not discard ↵ | Mihai Moldovan | 2017-12-19 | 1 | -1/+2 |
| | | | | | | | | | them. Fixes RPM builds building libNX_X11 with poll() support, even though we explicitly disable it using --disable-poll in the main Makefile. Fixes: ArcticaProject/nx-libs#540 | ||||
* | nx-X11/extras/Mesa.patches_6.4.2/4002_no-special-glx-memfunctions.patch: ↵ | Mihai Moldovan | 2017-12-19 | 1 | -5/+6 |
| | | | | | | | include stdlib.h and string.h for memset, malloc and free prototypes. Without that they are only implicitly defined - leading to build failures on *SUSE. | ||||
* | mesa-quilt: drop debugging option erroneously committed. | Mihai Moldovan | 2017-12-19 | 1 | -2/+0 |
| | |||||
* | mesa-quilt: ignore user configuration file when applying MESA patches. | Mihai Moldovan | 2017-12-19 | 1 | -1/+10 |
| | |||||
* | nx-libs.spec: show compile calls during RPM-based builds. | Mihai Moldovan | 2017-12-19 | 1 | -1/+2 |
| | |||||
* | nx-libs.spec: re-add %{optflags} to CDEBUGFLAGS. | Mihai Moldovan | 2017-12-19 | 1 | -1/+1 |
| | | | | | | | | | I didn't mean to drop it in the first place in 07d308359995e07285b5c15d897c2617b52f0093 and 71bda0ed5c05e6bd75278ae7f88991f8ff35709e. Dropping the sed hack was fine - but we actually have to add these flags to CDEBUGFLAGS as well. | ||||
* | nxcomp/src/Loop.cpp: log message fixups only. | Mihai Moldovan | 2017-12-18 | 1 | -2/+2 |
| | |||||
* | Drop SHMNAME workaround again, it *is* defined in shmstr.h, which is ↵ | Mihai Moldovan | 2017-12-16 | 3 | -8/+2 |
| | | | | actually header I was searching for. | ||||
* | nx-X11/programs/Xserver/Xext/shape.c: avoid pulling in Xlib in legacy mode ↵ | Mihai Moldovan | 2017-12-16 | 1 | -0/+7 |
| | | | | via the _SHAPE_SERVER_ macro. | ||||
* | nx-X11/programs/Xserver/Xext/shape.c: pull in shapestr.h for legacy Xext ↵ | Mihai Moldovan | 2017-12-16 | 1 | -1/+1 |
| | | | | proto versions, since shape.h would pull in Xlib. | ||||
* | Handle SHAPE proto splitup gracefully for legacy Xext proto versions. | Mihai Moldovan | 2017-12-16 | 1 | -0/+4 |
| | |||||
* | zlib compatibility: whenever we want -I flags only, assume that the headers ↵ | Mihai Moldovan | 2017-12-16 | 2 | -3/+3 |
| | | | | | | are directly available. Especially don't add linking flags willy-nilly. | ||||
* | nx-X11/programs/Xserver/include/misc.h: add compat define for SHMNAME. | Mihai Moldovan | 2017-12-16 | 1 | -0/+6 |
| | |||||
* | Support building with legacy zlib versions that do not ship a pkg-config file. | Mihai Moldovan | 2017-12-16 | 5 | -5/+23 |
| | |||||
* | Support building with legacy (pre-7.1.0) Xext proto versions. | Mihai Moldovan | 2017-12-16 | 6 | -5/+36 |
| | | | | | Legacy Xext proto versions are automatically detected by the main Makefile. | ||||
* | Revert "nx-libs.spec: add xorg-x11-libXext-devel build dependency for older ↵ | Mihai Moldovan | 2017-12-16 | 1 | -1/+0 |
| | | | | | | | | | | *SUSE versions." This reverts commit cc47066b3520b6b5ce5f5e3da3e0e869b3e2379d. This package is actually already depended upon. shmproto.h must be in some other package. Investigating. | ||||
* | nx-libs.spec: add xorg-x11-libXext-devel build dependency for older *SUSE ↵ | Mihai Moldovan | 2017-12-16 | 1 | -0/+1 |
| | | | | versions. | ||||
* | nx{comp{,shad},proxy}: use dist-bzip2 instead of dist-xz. | Mihai Moldovan | 2017-12-16 | 3 | -3/+3 |
| | | | | | Automake older than version 1.11 does not support dist-xz. No workaround possible via a feature check, as far as I can tell. | ||||
* | debian/control: add dependencies needed for debian/compat.sh. | Mihai Moldovan | 2017-12-16 | 1 | -1/+4 |
| | |||||
* | Makefile: correctly quote variables when passing them down to other programs. | Mihai Moldovan | 2017-12-16 | 1 | -5/+5 |
| | | | | | | | | | | Avoids errors like these (and of course also is a good idea in general): [ 36s] make -C nx-X11 BuildIncludes FONT_DEFINES= -DLEGACY_XFONT1 [ 36s] make: invalid option -- D [ 36s] make: invalid option -- E [ 36s] make: invalid option -- G [ 36s] make: invalid option -- A [ 36s] Usage: make [options] [target] ... | ||||
* | nx-libs.spec: pixman is called libpixman-1-0 on older *SUSE versions. | Mihai Moldovan | 2017-12-16 | 1 | -1/+1 |
| |