| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
free() can handle NULL so there's no need to check this ourselves
|
| |
|
| |
|
|
|
|
|
|
| |
Commit 3f7b3001988bf921e6cd860f03a6256b1451ee3d was incomplete: the
options parameter was not parsed as a string on reconnect. It was
always assumed to be a filename.
|
| |
|
|
|
|
|
| |
This change make the code more similar to upstream Xorg which helps
when merging in changes from later Xorg releases.
|
|
|
|
|
|
|
| |
This has also been done in Xorg 7.1
This also fixes a little flaw for the swapped case: a check for
glXRenderLarge was missing.
|
|
|
|
|
| |
delete trailing whitespace, break long lines, always emphasize nxagent
and nxproxy, emphassize options identcially everywhere
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
libNX_Xrender's formerly removed XRenderGlyphsCleanup().
|
| |
|
| |
|
|
|
|
| |
Fixes ArcticaProject/nx-libs#500
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change improves the situation in nxagent for the following
issue:
```
"XRenderCompositeTrapezoids builds RenderTrapezoids requests to composite the
specified list of trapezoids to dst. XRenderCompositeTrapezoids will split
the list of trapezoids to build requests no larger than the maximum request
size supported by the server. This can create rendering artifacts as the
precompositing done by RenderTrapezoids when a maskFormat is specified
cannot span multiple requests."
```
For more information see:
https://lists.freedesktop.org/archives/xorg/2008-June/036124.html
Fixes ArcticaProject/nx-libs#336.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This way one can easily pass options to nxagent run as Xnest
replacement without having to create a temporary options file. Please
note that it is not of much use for normal sessions. Options passed
like this cannot be changed after startup so a reconnect may not work
as expected.
Fixes ArcticaProject/nx-libs#476
|
| |
|
|
|
|
| |
Do not use global variables where it is not necessary.
|
|
|
|
| |
Fixes ArcticaProject/nx-libs#486
|
| |
|
|
|
|
| |
feature can be enabled by the cmdline options -reportwids and -reportprivatewids.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In nxagent sessions, all X11 clients have a representation of their NX
session-side window object on the real X-Server side.
The window object gets stored in the new NX_REAL_WINDOW window property
immediately after window creation. This mapping is created in
nxagentCreateWindow().
On session resumption, the client side window IDs normally change. Thus,
during session resumption, all NX_REAL_WINDOW properties require being
updated. This happens in nxagentReconnectWindow().
While a session is suspended, the NX_REAL_WINDOW property does not
exist. It gets removed during nxagentDisconnectWindow().
|
|
|
|
| |
statically defined in Utils.h. Thus including it for DEBUG builds.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
commit 1af15aaf278edcf6f6de94774350e34a80883c24
Author: Olivier Fourdan <ofourdan@redhat.com>
Date: Fri Apr 10 10:07:38 2015 +0200
dix: Fix image byte order on big endian hardware
Make sure X_BIG_ENDIAN/X_LITTLE_ENDIAN are defined before actually using
them.
Otherwise, image byte order could be wrong on big endian hardware even
though endianess detection is correct.
Reported-by: Tim Waugh <twaugh@redhat.com>
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
commit 4302484ef2e67b2e05756c7ee0834dce938f1b44
Author: Adam Jackson <ajax@redhat.com>
Date: Mon Jul 21 10:06:53 2014 -0400
dix: Remove arch awareness from servermd.h (v2)
At this point we have no architectures where image byte order is
different from bitmap bit order, or where either of those two are not
also the native word endianness. Hooray, one more place where we don't
have to worry about enabling new CPU architectures.
v2: Rebase to master to handle the addition of ppc64le, arc, and xtensa,
and use autoconf's endianness detection instead of gcc predefines.
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
commit f6469f1910c72add358b7263d69bd116b4450ece
Author: Adam Jackson <ajax@redhat.com>
Date: Mon Jul 21 10:06:46 2014 -0400
dix: Remove some XFree86 3.x leftovers
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
commit 5aaacb501ff26bad391664cc7367bfe5164f72c7
Author: Adam Jackson <ajax@redhat.com>
Date: Mon Jul 21 10:06:45 2014 -0400
dix: Remove an ancient IBM configuration
Whatever unix this was meant to be is either no longer in circulation,
or is AIX, which we don't claim to support anyway.
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
commit 446fe9eecddd1337f9d5164dd7c301e1ba3dfe32
Author: Daniel Stone <daniel@fooishbar.org>
Date: Thu Jul 17 21:37:50 2008 +0300
Dead code removal
Remove a whole bunch of code that was never built, be it entire files or
just dead ifdefs.
Backported-to-NX-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
|
|
|
|
| |
in via git subtree.
|
|
|
|
| |
This fixes ArcticaProject/nx-libs#465
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to using XGetKeyboardMapping()."
This reverts commit efc0dae0519aa0ef1fabea6a64919475fd916347.
Recent test revealed keyboard hangs on high latency connections. These
hangs are not happening in 3.5.0 releases if the nx-libs.
The commit above is responsible for them so we take that back.
Interestingly nxcomp has special treatment for XGetKeyboardMapping()
so it should normally speed up things but it results in the opposite
for us. Needs further examination.
This fixes ArcticaProject/nx-libs#450
|
|
|
|
| |
-L../../../nx-X11/exports/lib when linking nxagent. As -L../../exports/lib is already present and points to the same location.
|
|
|
|
| |
components get mentioned first in the nxagent linker command.
|
|
|
|
| |
Fixes ArcticaProject/nx-libs#383.
|
|
|
|
|
|
|
|
|
|
|
|
| |
issue anymore nowadays."
This reverts commit 6c8c950258cf0da0cf24c5e80c2216914ac282a4.
Fixes ArcticaProject/nx-libs#433.
This patch is still a candidate for being re-implemented without extending the
_PictSolidFill struct, but for now, we'll have to re-introduce commit db8705
for the sake of having fonts readable after resumption of remote NX sessions.
|
| |
|
|
|
|
| |
cmdline option.
|
|
|
|
| |
are given, use the explicit display number as a starting point for auto-detecting the next available display number.
|
|
|
|
| |
(machine-parseable) text when -displayfd is set to STDERR.
|
| |
|
| |
|
| |
|
|
|
|
| |
"nx-X11 Agent" looks and sounds ugly.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
starter '/*'.
|
| |
|