aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* debian/nxproxy.docs: Fix FTBFS due to missing documentation files (moved out ↵Mike Gabriel2016-07-051-3/+1
| | | | of the way with recent commits).
* documentation: Move README-VALGRIND out of doc/_attic_/ folder to doc/nxproxy/.Mike Gabriel2016-07-051-0/+0
|
* Merge branch 'sunweaver-pr/no-more-type-casting-in-writetoclient' into 3.6.xMike Gabriel2016-07-0574-323/+325
|\ | | | | | | | | Attributes GH PR #178: https://github.com/ArcticaProject/nx-libs/pull/178 Reviewed by: Vadim Troshchinskiy <vadim@qindel.com> -- Tue, 05 Jul 2016 02:37:08 -0700
| * Remove unneccesary casts from WriteToClient callsAlan Coopersmith2016-07-0571-317/+317
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Casting return to (void) was used to tell lint that you intended to ignore the return value, so it didn't warn you about it. Casting the third argument to (char *) was used as the most generic pointer type in the days before compilers supported C89 (void *) (except for a couple places it's used for byte-sized pointer math). Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Keith Packard <keithp@keithp.com> Tested-by: Daniel Stone <daniel@fooishbar.org> Backport to nx-libs: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
| * Make WriteToClient take a const void * like any decent IO write function.Kristian Høgsberg2016-07-053-6/+8
|/ | | | | Enough with the casting. Doesn't break API or even ABI, but does make a lot of silly casts superfluos.
* nxcomp/Misc.cpp: The clipboard nx/nx option is a string option, not int.Mike Gabriel2016-07-051-1/+1
|
* Xserver.man: Drop original and old Xserver man page. Relevant parts have now ↵Mike Gabriel2016-07-052-792/+0
| | | | been added to nxagent.1 man page.
* man pages: Greatly improve man pages nxagent.1 and nxproxy.1.Mike Gabriel2016-07-052-30/+1347
|
* File permission fixes: No executable bit on Imakefile files, *.c and *.h files.Mike Gabriel2016-07-0540-0/+0
|
* X2Go remnants: Drop x2goagent.1 man page. Shipped in X2Go Server sources ↵Mike Gabriel2016-07-051-35/+0
| | | | nowadays.
* nxcomp licensing: Move README.on-retroactive-DXPC-license to doc/nxcomp/ folder.Mike Gabriel2016-07-051-0/+0
|
* NoMachine documentation files: Move to doc/_attic_/ folder.Mike Gabriel2016-07-0512-0/+0
|
* LICENSE files: Have a main LICENSE file and one for nxcomp in the project's ↵Mike Gabriel2016-07-056-105/+0
| | | | | | base folder. Drop other LICENSE files added by NoMachine scattered all over the code tree.
* X.org 6.9 documentation files: Move into doc/_attic_/.Mike Gabriel2016-07-0511-0/+0
|
* Drop multiple COPYING files contaning the GPL-2 license text.Mike Gabriel2016-07-056-2034/+0
| | | | One COPYING file in the project's base folder is sufficient.
* doc/_attic_/: Introduce an "_attic_" folder. Move diffs between NoMachine's ↵Mike Gabriel2016-07-0592-10346/+0
| | | | nx-X11 3.5 and X.org 6.9 here.
* doc/ folder: Have one sub-folder per nx-libs component.Mike Gabriel2016-07-055-0/+10346
|
* test scripts: Move to top folder "testscripts/" in source tree.Mike Gabriel2016-07-054-0/+0
|
* Merge branch 'sunweaver-pr/rpm-packaging-updates' into 3.6.xMike Gabriel2016-07-051-6/+51
|\ | | | | | | | | Attributes GH PR #181: https://github.com/ArcticaProject/nx-libs/pull/181 Self-reviewed: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> -- Tue, 05 Jul 2016 10:08:48 +0200
| * nx-libs.spec: Add Conflicts: fields for removed shared library bin:packages.Mike Gabriel2016-07-051-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libNX_Xcomposite1 < 3.5.99.1 libNX_Xcomposite1%{?_isa} < 3.5.99.1 libNX_Xdamage1 < 3.5.99.1 libNX_Xdamage1%{?_isa} < 3.5.99.1 libNX_Xdmcp6 < 3.5.99.1 libNX_Xdmcp6%{?_isa} < 3.5.99.1 libNX_Xext6 < 3.5.99.1 libNX_Xext6%{?_isa} < 3.5.99.1 libNX_Xfixes3 < 3.5.99.1 libNX_Xfixes3%{?_isa} < 3.5.99.1 libNX_Xinerama1 < 3.5.99.1 libNX_Xinerama1%{?_isa} < 3.5.99.1 libNX_Xpm4 < 3.5.99.1 libNX_Xpm4%{?_isa} < 3.5.99.1 libNX_Xrandr2 < 3.5.99.1 libNX_Xrandr2%{?_isa} < 3.5.99.1 libNX_Xrender1 < 3.5.99.1 libNX_Xrender1%{?_isa} < 3.5.99.1 libNX_Xtst6 < 3.5.99.1 libNX_Xtst6%{?_isa} < 3.5.99.1 Fixes ArcticaProject/nx-libs#70.
| * nx-libs.spec: Let libNX_X11-6 and libNX_X11-devel conflict with deprecated ↵Mike Gabriel2016-07-051-0/+4
| | | | | | | | libXau6 and libXau-devel.
| * nx-libs.spec: Let nxagent conflict with nxauth, which is not provided anymore.Mike Gabriel2016-07-051-0/+2
| |
| * nx-libs.spec: Add correct Obsoletes:/Provides: fields for lib* bin:packages.Mike Gabriel2016-07-051-4/+16
| |
| * nx-libs.spec: Fix various issues since last testing the RPM builds of nx-libs:Mike Gabriel2016-07-051-2/+9
|/ | | | | | | - Inject LIBDIR rather than USRLIBDIR into nx-libs's main Makefile - Install include files Xauth.h into libNX_X11-devel. - Install hi-jacking libX11 library symlinks. - Install VERSION.nx* files into nxagent / nxproxy packages.
* debian/control: Add some hard and exact-versioned dependencies for our ↵Mike Gabriel2016-07-051-0/+8
| | | | bin:packages. Assure that no old share lib packages with the same set of symbols remain on the system when upgrading.
* Merge branch 'sunweaver-pr/writeeventstoclients-no-sequencenumber' into 3.6.xMike Gabriel2016-07-0516-68/+24
|\ | | | | | | | | Attributes GH PR #177: https://github.com/ArcticaProject/nx-libs/pull/177 Reviewed by: Vadim Troshchinskiy <vadim@qindel.com> -- Tue, 05 Jul 2016 00:02:17 -0700
| * Set event sequence number in WriteEventsToClient instead of at callers.Jamey Sharp2016-07-0514-41/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | TryClientEvents already did this; this commit just moves the assignment one level down so that no event source has to worry about sequence numbers. ...No event source, that is, except XKB, which inexplicably calls WriteToClient directly for several events. Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Adam Jackson <ajax@redhat.com> Backport to nx-libs: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
| * Make WriteEventsToClient/WriteToClient no-op on fake or dead clients.Jamey Sharp2016-07-059-30/+20
|/ | | | | | | | | | | | | | | | | | This matches the test in TryClientEvents, and is a superset of tests done by the callers of these functions. The consequence of forgetting these tests is a server crash, so they're always desirable. In my opinion, it's better to not require the callers to remember to do these checks. For callers that don't do very much work before calling WriteToClient or WriteEventsToClient, I've removed the redundant checks. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=27497 Signed-off-by: Jamey Sharp <jamey@minilop.net> Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Adam Jackson <ajax@redhat.com> Backport to nx-libs: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* Merge branch 'sunweaver-pr/silencing-compiler-warnings' into 3.6.xMike Gabriel2016-07-0551-2553/+148
|\ | | | | | | | | Attributes GH PR #168: https://github.com/ArcticaProject/nx-libs/pull/168 Reviewed by: Vadim Troshchinskiy <vadim@qindel.com> -- Mon, 04 Jul 2016 11:15:20 -0700
| * Replace INITARGS with voidTomas Carnecky2016-07-0517-67/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | INITARGS was a hardcoded define to void. Since knowing the function signature for your extensions is kinda useful, just replace it with a hardcoded void, but leave the define there for API compatibility. Signed-off-by: Tomas Carnecky <tom@dbservice.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Cyril Brulebois <kibi@debian.org> Reviewed-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Keith Packard <keithp@keithp.com> Backport to nx-libs: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
| * nx-X11/lib/X11/XKBMisc.c: Avoid warning about maybe non-assigned variables ↵Mike Gabriel2016-07-051-5/+5
| | | | | | | | (mask, newMask).
| * Remove INITARGS braindamage, change to void; add XkbExtensionInit prototype ↵Daniel Stone2016-07-052-2/+4
| | | | | | | | to xkb.h. Explicitly initialise nTypes in xkb.c.
| * Xserver/Xext/xres.c: Drop unused REQUEST macro call (for xXResQueryVersionReq).Keith Packard2016-07-051-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backported from X.org: commit a1cb69dc28fdbfbdfaf954e0bec221f759462399 Author: Keith Packard <keithp@keithp.com> Date: Fri Nov 15 22:05:44 2013 +0900 Xext: Clean up warnings GC funcs and ops are const. Remove unused variables. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Backport to nx-libs: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
| * Xserver: Post-REGION-macros-to-inline-funcs clean-up.Mike Gabriel2016-07-056-23/+0
| |
| * Xserver/mi/mizerarc.c: Initialize oddPtrs as NULL before using it (in ↵Mike Gabriel2016-07-051-1/+1
| | | | | | | | miZeroPolyArc).
| * Xserver/mi/miarc.c: Initialize dashRemaining with 0 before using it.Mike Gabriel2016-07-051-1/+1
| |
| * Xserver/os/xdmauth.c: Avoid compiler warnings due to -Wswitch being enabled. ↵Mike Gabriel2016-07-051-6/+2
| | | | | | | | | | | | | | | | | | | | Use if statement rather than switch. Backported from X.org. Found in commit... commit 7deaaa797cf8e7ca71e9b34fa6f413d1ed2b3dab Author: Adam Jackson <ajax@nwnk.net> Date: Tue Mar 28 01:21:00 2006 +0000
| * Xserver/os/log.c: Make sure strlcpy is defined in log.c. Immitate what is ↵Mike Gabriel2016-07-052-0/+8
| | | | | | | | done in X.org.
| * Restore compression of duplicate log file entries.Adam Jackson2016-07-051-10/+0
| | | | | | | | This undoes the workaround for X.org bug #964, which was an Xprintism.
| * os: Make sure that writing our pid to the lock file actually workedKeith Packard2016-07-051-1/+3
| | | | | | | | | | | | | | | | | | There's no sense verifying that we can create the lock file and then ignoring the return value from write. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Jamey Sharp <jamey@minilop.net> Backport to nx-libs: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
| * Xserver/os/connection.c: Drop unused variable 'restore_trans_conn' from ↵Mike Gabriel2016-07-051-1/+0
| | | | | | | | ClientAuthorized().
| * Xserver/os/connection.c: Only define XSERV_t, TRANS_SERVER and TRANS_REOPEN ↵Mike Gabriel2016-07-051-3/+9
| | | | | | | | if not yet defined.
| * nx-X11/lib/X11/imTrX.c: Fix warning ‘len’ may be used uninitialized in ↵Mike Gabriel2016-07-051-1/+1
| | | | | | | | this function (_XimRead).
| * nx-X11/lib/X11/imInsClbk.c: Fix warning 'right-hand operand of comma ↵Mike Gabriel2016-07-051-1/+1
| | | | | | | | expression has no effect' in _XimFilterPropertyNotify.
| * nx-X11/lib/X11/lcFile.c: Drop conditional always evaluating as True.Mike Gabriel2016-07-051-2/+1
| | | | | | | | | | | | | | | | Backported from X.org, patch found in janitor cleanup commit... commit 8ba0ca32a63c532f128bdca7f1bf982cab8e12be Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> Date: Wed Jan 28 20:31:42 2009 -0200
| * nx-X11/lib/X11/XKBMisc.c: Drop conditional always evaluating as True.Mike Gabriel2016-07-051-1/+1
| | | | | | | | | | | | | | | | Backported from X.org, patch found in janitor cleanup commit... commit 8ba0ca32a63c532f128bdca7f1bf982cab8e12be Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> Date: Wed Jan 28 20:31:42 2009 -0200
| * nx-X11/lib/X11/LiHosts.c: Drop unused variable (in XListHosts).Mike Gabriel2016-07-051-4/+0
| |
| * Avoid 'siAddr' maybe being used uninitialized in XAddHost and XRemoveHost.Mike Gabriel2016-07-051-47/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backported from X.org (libX11). Host.c has mainly been copied over from libX11, contaning 7db7451 as the top commit (which also contains the greatest change and silences the resp. compiler warning. commit 7db74514e454d3fc4ff70aa08ddac66bfffda4dd Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Jul 23 22:18:46 2013 -0700 Refactor common code from XAddHost & XRemoveHost into single function On the Xlib side, the only real difference is the mode flag we send to the server with the address, so just make that an argument to the function with the common code for packing the address into the request. (Aside from labels, gcc 4.7.2 generates identical code before & after this change due to inlining, verified via diff of gcc -S output.) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
| * hw/nxagent/Exrensions.c: Post-RandR 1.5 update fix. Properly set rrProvider ↵Mike Gabriel2016-07-051-3/+3
| | | | | | | | hook functions to NULL.
| * hw/nxagent/Args.c: Fix fprintf placeholder (%u -> %lu).Mike Gabriel2016-07-051-2/+2
| |