aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* nxcomp/src/Loop.cpp: fix whitespace errors on continued lines.Mihai Moldovan2017-10-271-810/+810
|
* Remove leading \n in NXTrans* loggingVadim Troshchinskiy2017-10-271-3/+3
|
* Fix whitespace and line splitting issues reported by ionicVadim Troshchinskiy2017-10-271-10/+19
|
* Conversion of Loop.cpp to the new log systemVadim Troshchinskiy2017-10-271-2560/+1285
|
* nxcomp: add basic logging_test utility in test subdirectory.Mihai Moldovan2017-10-276-1/+373
| | | | Needs more sophisticated features to actually test stuff correctly.
* nxcomp/src/Log.h: prepare for logger testing application.Mihai Moldovan2017-10-271-0/+4
| | | | DO NOT USE!
* nxcomp/src/Log.cpp: add PID to thread ID output if requested.Mihai Moldovan2017-10-271-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 Moldovan2017-10-271-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 Moldovan2017-10-272-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 Moldovan2017-10-272-1/+19
| | | | and use macro value in Log.cpp.
* nxcomp/Log.h: delete stream_ member before class object destruction.Mihai Moldovan2017-10-271-0/+4
|
* nxcomp/Log.h: also clear the buffer after setting it to an empty string.Mihai Moldovan2017-10-271-1/+2
|
* Set default log level to WARNINGVadim Troshchinskiy2017-10-271-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 implementationVadim Troshchinskiy2017-10-274-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 Moldovan2017-10-273-1/+494
|
* nx{comp{,shad},proxy}: add configure flag --enable-cxx11 to enable and setup ↵Mihai Moldovan2017-10-2711-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 Moldovan2017-10-271-1/+1
| | | | originally planned.
* README.md: add short Windows section and mention that using Cygwin tools is ↵Mihai Moldovan2017-10-201-1/+10
| | | | imperative when working with the git repository.
* nx-libs.spec: pass CDEBUGFLAGS and friends directly through via make command.Mihai Moldovan2017-10-161-1/+1
|
* nx-libs.spec: handle potentially undefined variables more gracefully.Mihai Moldovan2017-10-161-3/+3
|
* nx-libs.spec: drop ugly optsflag sed hack, hopefully obsoleted by passing ↵Mihai Moldovan2017-10-161-2/+0
| | | | CDEBUGFLAGS through.
* nx-libs.spec: add -mno-vxs to general C(XX)FLAGS on ppc64le.Mihai Moldovan2017-10-161-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.xMike Gabriel2017-10-103-11/+19
|\ | | | | | | Attributes GH PR #526: https://github.com/ArcticaProject/nx-libs/pull/526
| * Fix bug #525: PANIC! No port specified for multimedia connectionsVadim Troshchinskiy2017-10-103-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.xMike Gabriel2017-10-102-0/+4
|\ | | | | | | Attributes GH PR #524: https://github.com/ArcticaProject/nx-libs/pull/524
| * .gitignore: ignore vim swap files.Mihai Moldovan2017-10-101-0/+1
| |
| * **/.gitignore: add stray files.Mihai Moldovan2017-10-102-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.xMihai Moldovan2017-10-091-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 Matter2017-10-091-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 Gabriel2017-10-096-7/+22
| | | | its build cruft.
* nxcomp/src/Loop.cpp: whitespace fixes only.Mihai Moldovan2017-09-291-6/+6
|
* nxcomp/configure.ac: prettify AC_ARG_ENABLE() calls, use more quotes and ↵Mihai Moldovan2017-09-291-13/+13
| | | | AS_IF() where appropriate.
* nxproxy/src/Main.c: Silence compiler warning.Simon Matter2017-09-291-1/+2
| | | | Fixes ArcticaProject/nx-libs#506.
* Merge pull request #519 from theqvd/fix_nxagent_arg_parsingVadim Troshchinskiy2017-09-292-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 logicVadim Troshchinskiy2017-09-292-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 Gabriel2017-09-151-1/+1
|
* debian/control: Drop non-required B-D libxmltok1-dev.Mike Gabriel2017-09-151-1/+0
|
* release 3.5.99.103.5.99.10Mike Gabriel2017-09-156-9/+71
|
* Merge branch 'sunweaver-pr/assure-that-Mesa-includes-headers-from-libNX_X11' ↵Mihai Moldovan2017-09-142-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 Gabriel2017-09-132-0/+69
|/
* nx-X11/programs/Xserver/hw/nxagent/Render.c: use macros obtaining values ↵Mihai Moldovan2017-09-131-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.xMihai Moldovan2017-09-062-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 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.
* Mesa.patches: Shrink over-zealous 5001 patch. Only patch files that we use ↵Mike Gabriel2017-08-301-44/+0
| | | | during build.
* roll-tarball.sh: Drop m4/nx-xtrans.m4 from nx-libs-lite tarball.Mike Gabriel2017-08-301-0/+1
|
* roll-tarball.sh: Some more .gitignore files to remove.Mike Gabriel2017-08-301-0/+2
|
* roll-tarball.sh: Use -f with rm everywhere, also when tweaking the Mesa/ dir.Mike Gabriel2017-08-301-3/+3
|
* release 3.5.99.93.5.99.9Mike Gabriel2017-08-306-7/+388
|
* debian/rules: Strip static libraries before installing them into the ↵Mike Gabriel2017-08-301-1/+4
| | | | lib*.dev packages.
* Mesa.patches: Add 5001_nasty-typo-fixes.patch. Fix some nasty typos in ↵Mike Gabriel2017-08-302-0/+162
| | | | Mesa's code ending up in the nxagent binary.