Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | nxcomp: add basic logging_test utility in test subdirectory. | Mihai Moldovan | 2017-10-27 | 6 | -1/+373 |
| | | | | Needs more sophisticated features to actually test stuff correctly. | ||||
* | nxcomp/src/Log.h: prepare for logger testing application. | Mihai Moldovan | 2017-10-27 | 1 | -0/+4 |
| | | | | DO NOT USE! | ||||
* | nxcomp/src/Log.cpp: add PID to thread ID output if requested. | Mihai Moldovan | 2017-10-27 | 1 | -1/+2 |
| | | | | | | | | The default function we use (if a thread name is not specified explicitly) is pthread_self(). This function returns a number that is guaranteed to be unique for each thread within a process, but this assertion doesn't hold globally. Hence only using the thread ID is ambiguous when logging from multiple processes. | ||||
* | nxcomp/src/Log.h: block signals while writing out data. | Mihai Moldovan | 2017-10-27 | 1 | -0/+20 |
| | | | | | Prevents race conditions caused by signal handlers while flushing out our log queue. | ||||
* | nxcomp/src/Log.{cpp,h}: port to std::stack as internal buffer structure. | Mihai Moldovan | 2017-10-27 | 2 | -23/+37 |
| | | | | | | | | This has one drawback: after flushing log data to its underlying output, a new NXLogStamp object MUST be written to the NXLog object in order to create a new entry within the stack. This can be changed if necessary. For now I'd like to keep it as-is. | ||||
* | nxcomp/{configure.ac,Log.cpp}: implement configure-time std::put_time check ↵ | Mihai Moldovan | 2017-10-27 | 2 | -1/+19 |
| | | | | and use macro value in Log.cpp. | ||||
* | nxcomp/Log.h: delete stream_ member before class object destruction. | Mihai Moldovan | 2017-10-27 | 1 | -0/+4 |
| | |||||
* | 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 | 3 | -1/+494 |
| | |||||
* | nx{comp{,shad},proxy}: add configure flag --enable-cxx11 to enable and setup ↵ | Mihai Moldovan | 2017-10-27 | 11 | -0/+1045 |
| | | | | | | | | | | optional C++11 support. Use AX_CXX_COMPILE_STDCXX(_11) from autotools archive. Note: should only be used in tandem. Make sure that each component either uses the C++11 ABI or none uses it. Mixing and matching libraries and binaries with different C++ ABIs might lead to weird errors. | ||||
* | nxcomp/configure.ac: rename --{en,dis}able-info to --{en,dis}able-debug, as ↵ | Mihai Moldovan | 2017-10-27 | 1 | -1/+1 |
| | | | | originally planned. | ||||
* | README.md: add short Windows section and mention that using Cygwin tools is ↵ | Mihai Moldovan | 2017-10-20 | 1 | -1/+10 |
| | | | | imperative when working with the git repository. | ||||
* | nx-libs.spec: pass CDEBUGFLAGS and friends directly through via make command. | Mihai Moldovan | 2017-10-16 | 1 | -1/+1 |
| | |||||
* | nx-libs.spec: handle potentially undefined variables more gracefully. | Mihai Moldovan | 2017-10-16 | 1 | -3/+3 |
| | |||||
* | nx-libs.spec: drop ugly optsflag sed hack, hopefully obsoleted by passing ↵ | Mihai Moldovan | 2017-10-16 | 1 | -2/+0 |
| | | | | CDEBUGFLAGS through. | ||||
* | nx-libs.spec: add -mno-vxs to general C(XX)FLAGS on ppc64le. | Mihai Moldovan | 2017-10-16 | 1 | -0/+9 |
| | | | | | | Hopefully just a temporary workaround until https://bugzilla.redhat.com/show_bug.cgi?id=1489712 / https://bugs.centos.org/view.php?id=13779 are resolved. | ||||
* | Merge branch 'theqvd-media_argument_bugfix' into 3.6.x | Mike Gabriel | 2017-10-10 | 3 | -11/+19 |
|\ | | | | | | | Attributes GH PR #526: https://github.com/ArcticaProject/nx-libs/pull/526 | ||||
| * | 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 | ||||
* | Merge branch 'Ionic-add-stray-files-to-gitignore' into 3.6.x | Mike Gabriel | 2017-10-10 | 2 | -0/+4 |
|\ | | | | | | | Attributes GH PR #524: https://github.com/ArcticaProject/nx-libs/pull/524 | ||||
| * | .gitignore: ignore vim swap files. | Mihai Moldovan | 2017-10-10 | 1 | -0/+1 |
| | | |||||
| * | **/.gitignore: add stray files. | Mihai Moldovan | 2017-10-10 | 2 | -0/+3 |
| | | | | | | | | | | | | These are already cleaned up by the top-level Makefile. Fixes: ArcticaProject/nx-libs#523 | ||||
* | | Merge branch 'sunweaver-pr/nxcomp-tokensize-in-vpn-tunnels' into 3.6.x | Mihai Moldovan | 2017-10-09 | 1 | -2/+2 |
|\| | | | | | | | Attributes GH PR #521: https://github.com/ArcticaProject/nx-libs/pull/521 | ||||
| * | 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. | ||||
* | .gitignore: Improve all .gitignore files, adapt to autotools build-flow and ↵ | Mike Gabriel | 2017-10-09 | 6 | -7/+22 |
| | | | | its build cruft. | ||||
* | nxcomp/src/Loop.cpp: whitespace fixes only. | Mihai Moldovan | 2017-09-29 | 1 | -6/+6 |
| | |||||
* | nxcomp/configure.ac: prettify AC_ARG_ENABLE() calls, use more quotes and ↵ | Mihai Moldovan | 2017-09-29 | 1 | -13/+13 |
| | | | | AS_IF() where appropriate. | ||||
* | nxproxy/src/Main.c: Silence compiler warning. | Simon Matter | 2017-09-29 | 1 | -1/+2 |
| | | | | Fixes ArcticaProject/nx-libs#506. | ||||
* | Merge pull request #519 from theqvd/fix_nxagent_arg_parsing | Vadim Troshchinskiy | 2017-09-29 | 2 | -57/+51 |
|\ | | | | | | | | | | | | | | | Fix nxagent argument parsing logic This makes it so that slave=1 and media=1 work again as they should. The changes introduced earlier resulted in the unintentional requirement to specify the actual port number, breaking backwards compatibility. | ||||
| * | 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 | ||||
* | debian/control: Bump Standards-Version: to 4.1.0. No changes needed. | Mike Gabriel | 2017-09-15 | 1 | -1/+1 |
| | |||||
* | debian/control: Drop non-required B-D libxmltok1-dev. | Mike Gabriel | 2017-09-15 | 1 | -1/+0 |
| | |||||
* | release 3.5.99.103.5.99.10 | Mike Gabriel | 2017-09-15 | 6 | -9/+71 |
| | |||||
* | Merge branch 'sunweaver-pr/assure-that-Mesa-includes-headers-from-libNX_X11' ↵ | Mihai Moldovan | 2017-09-14 | 2 | -0/+69 |
|\ | | | | | | | | | | | into 3.6.x Attributes GH PR #513: https://github.com/ArcticaProject/nx-libs/pull/513 | ||||
| * | Assure that headers from libNX_X11 are always included from $(INCDIR)/nx-X11/. | Mike Gabriel | 2017-09-13 | 2 | -0/+69 |
|/ | |||||
* | nx-X11/programs/Xserver/hw/nxagent/Render.c: use macros obtaining values ↵ | Mihai Moldovan | 2017-09-13 | 1 | -10/+10 |
| | | | | | | | | | | | | | | | | from _XPrivDisplay instead of the other Display structure directly. Fixes: ArcticaProject/nx-libs#512 It's unclear to me why (Display*)(dpy)->bitmap_pad and (_XPrivDisplay)(dpy)->bitmap_pad produce different results. Technically, Display is referencing the _XDisplay/Display structure defined in Xlibint.h, while _XPrivDisplay is a typedef'd pointer to the (anonymous) structure defined in Xlib.h, since we're not defining the XLIB_ILLEGAL_ACCESS macro. The weird part is that both should be equal when it comes to its bitmap_pad, byte_order and bitmap_bit_order members. | ||||
* | Merge branch 'sunweaver-pr/sun-path-is-104-on-debian-kfreebsd' into 3.6.x | Mihai Moldovan | 2017-09-06 | 2 | -0/+16 |
|\ | | | | | | | | | | | Attributes GH PR #508: https://github.com/ArcticaProject/nx-libs/pull/508 Fixes: ArcticaProject/nx-libs#507 | ||||
| * | 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. | ||||
* | Mesa.patches: Shrink over-zealous 5001 patch. Only patch files that we use ↵ | Mike Gabriel | 2017-08-30 | 1 | -44/+0 |
| | | | | during build. | ||||
* | roll-tarball.sh: Drop m4/nx-xtrans.m4 from nx-libs-lite tarball. | Mike Gabriel | 2017-08-30 | 1 | -0/+1 |
| | |||||
* | roll-tarball.sh: Some more .gitignore files to remove. | Mike Gabriel | 2017-08-30 | 1 | -0/+2 |
| | |||||
* | roll-tarball.sh: Use -f with rm everywhere, also when tweaking the Mesa/ dir. | Mike Gabriel | 2017-08-30 | 1 | -3/+3 |
| | |||||
* | release 3.5.99.93.5.99.9 | Mike Gabriel | 2017-08-30 | 6 | -7/+388 |
| | |||||
* | debian/rules: Strip static libraries before installing them into the ↵ | Mike Gabriel | 2017-08-30 | 1 | -1/+4 |
| | | | | lib*.dev packages. | ||||
* | Mesa.patches: Add 5001_nasty-typo-fixes.patch. Fix some nasty typos in ↵ | Mike Gabriel | 2017-08-30 | 2 | -0/+162 |
| | | | | Mesa's code ending up in the nxagent binary. |