| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
different data type sizes between Xserver and Xlib.
While on the X server side we were expecting a 32bit value, the Xlib side in
nxcompext wrote a 64bit integer to the 32bit location, hence overwriting
"random" data on the stack (most notably the return adress.)
We can work around this by using the Xlib-based Window data type on the
server-side as well, but this problem is likely a more general one.
Calling functions from libcompext in nxagent sounds like a bad idea. Other code
locations might well be affected by issues alike to that as well.
In order to silence compiler warnings, use a "macro hack" for overriding the
"Window" type in NXlib.h.
|
|\|
| |
| |
| | |
Reviewed by Ulrich Sibiller <uli42@gmx.de>, approval given on Mon, 13 Jun 2016 02:49:19 -0700.
|
| |
| |
| |
| | |
with system-wide shared libraries.
|
| |
| |
| |
| |
| |
| |
| | |
and NXvars.h as publicly available header files.
* Also adapt debian/libxcomp-dev.install.in accordingly.
* Also adapt nx-libs.spec accordingly.
|
|/
|
|
|
| |
* Also adapt debian/libxcompshad-dev.install.in accordingly.
* Also adapt nx-libs.spec accordingly.
|
| |
|
|
|
|
|
|
| |
libXrandr and libXtst is not necessary for nxagent.
Fixes ArcticaProject/nx-libs#110.
|
|
|
|
|
|
| |
references to dropped X11 extension client libraries.
Fixes ArcticaProject/nx-libs#115.
|
|\
| |
| |
| |
| |
| | |
arctica-3.6.x
Attributes GH PR #106: https://github.com/ArcticaProject/nx-libs/pull/106
|
| | |
|
| |
| |
| |
| | |
extension.
|
| |
| |
| |
| | |
extension.
|
| | |
|
| |
| |
| |
| | |
extension.
|
| |
| |
| |
| | |
extension.
|
| | |
|
| | |
|
| |
| |
| |
| | |
extension.
|
| | |
|
| |
| |
| |
| | |
extension.
|
| | |
|
| |
| |
| |
| | |
extension.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
include/extensions: Xag.h, Xagsrv.h, Xagstr.h
Xserver/Xext: appgroup.c, appgroup.h
lib/Xext: XAppgroup.c
include/extensions: Xcup.h, Xcupstr.h,
Xserver/Xext: cup.c
lib/Xext: cup.c
include/extensions: Xdbe.h
Xserver/Xext: Xdbe.c
Xserver/Xext: dgaproc.h, xf86dga.c, xf86dga2.c, xf86dgaext.h
include/extensions: Xevie.h, Xeviestr.h
include/extensions: XEVI.h, XEVIstr.h
Xserver/Xext: EVI.c, EVIstruct.h, sampleEVI.c
lib/Xext: XEVI.c
include/extensions: fontcache.h, fontcacheP.h, fontcachstr.h
Xserver/Xext: fontcache.c
include/extensions: lbxbuf.h, lbxbufstr.h, lbxdeltastr.h, lbximage.h, lbxopts.h, lbxstr.h, lbxzlib.h
lib/Xext: XLbx.c
include/extensions: multibuf.h, multibufst.h
lib/Xext: XMultibuf.c
Xserver/Xext: mbuf.c, mbufbf.c, mbufpx.c
include/extensions: xf86vmode.h, xf86vmstr.h
Xserver/Xext: vidmodeproc.h, xf86vmode.c
lib/Xext: MITMisc.c
Xserver/Xext: mitmisc.c
Xserver/Xext: xf86misc.c, xf86miscproc.h
Xserver/XTrap: xf86XTrapModule.c, xtrapddmi.c, xtrapdi.c, xtrapdiswp.c, xtrapditbl.c
include/extensions: xtrapbits.h xtrapddmi.h xtrapdi.h xtrapemacros.h xtraplib.h xtraplibp.h xtrapproto.h
Fixes: ArcticaProject/nx-libs#116
X.org: https://cgit.freedesktop.org/xorg/xserver/commit/?id=cbc20d92de92aad5ca240310a9156ccf97c24a01
Plus: Drop various Imake'ish defines where not needed anymore.
|
|
|
|
| |
in ChannelEndPoint.{h|cpp}, fixes #130
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
function ReduceCompositeOp().
More or less just an optimization for more "trivial" composite operations
requiring less work, but syncs up the newer X.Org Server and nx-libs a bit
more.
|
| |
| |
| |
| | |
and define -DNXAGENT_SERVER while building the Composite extension to disable some code that depends upon a newer X.Org architecture.
|
| |
| |
| |
| | |
Composite 0.4 - with changes where neccessary and rough edges.
|
| |
| |
| |
| | |
lude/{colormap,window{,str}}.h}: backport features needed for Composite 0.4.
|
| | |
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| | |
function ReduceCompositeOp().
More or less just an optimization for more "trivial" composite operations
requiring less work, but syncs up the newer X.Org Server and nx-libs a bit
more.
|
| |
| |
| |
| | |
and define -DNXAGENT_SERVER while building the Composite extension to disable some code that depends upon a newer X.Org architecture.
|
| |
| |
| |
| | |
Composite 0.4 - with changes where neccessary and rough edges.
|
|/
|
|
| |
lude/{colormap,window{,str}}.h}: backport features needed for Composite 0.4.
|
|\
| |
| |
| | |
Attributes GH PR #102: https://github.com/ArcticaProject/nx-libs/pull/102
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Amends the following compiler warning
Display.c: In function ‘nxagentMakeIcon’:
Display.c:1949:18: warning: assignment from incompatible pointer type
agentIconData=x2goagentIconData;
^
Display.c:1954:18: warning: assignment from incompatible pointer type
agentIconData=nxagentIconData;
^
Display.c:2001:41: warning: passing argument 3 of ‘XpmCreatePixmapFromData’ from incompatible pointer type
agentIconData,
^
In file included from Icons.h:22:0,
from Display.c:67:
X11/include/xpm_nxagent.h:242:6: note: expected ‘char **’ but argument is of type ‘char *’
FUNC(XpmCreatePixmapFromData, int, (Display *display,
^
X11/include/xpm_nxagent.h:230:32: note: in definition of macro ‘FUNC’
#define FUNC(f, t, p) extern t f p
|
| |
| |
| |
| | |
(which includes hw/nxagent/X11/include/xpm_nxagent.h).
|
| |
| |
| |
| | |
hw/nxagent/X11/include/xpm_nxagent.h.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Amends the following compiler warnings:
```
NXmiexpose.c:904:18: warning: ‘newValues[2].ptr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
gcval[i++].ptr = newValues[TILE].ptr;
^
NXmiexpose.c:914:24: warning: ‘newValues[1].val’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if ( pGC->fgPixel != newValues[FOREGROUND].val) {
^
```
|
| |
| |
| |
| | |
expression.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
NoEventMask.
Amends the following compiler warning:
```
Window.c: In function ‘nxagentSetTopLevelEventMask’:
Window.c:3392:31: warning: ‘attributes.event_mask’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Mask tmp_mask = attributes.event_mask;
^
```
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
used later on.
Amends the following compiler warning:
```
Colormap.c: In function ‘nxagentReconnectAllColormap’:
Colormap.c:575:7: warning: variable ‘flexibility’ set but not used [-Wunused-but-set-variable]
int flexibility;
^
```
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Amends the following compiler warning:
```
GCOps.c: In function ‘nxagentCopyArea’:
GCOps.c:597:7: warning: variable ‘oldDstxyValue’ set but not used [-Wunused-but-set-variable]
int oldDstxyValue;
^
```
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
later on.
Amends the following compiler warning:
```
GC.c: In function ‘nxagentReconnectAllGCs’:
GC.c:1154:7: warning: variable ‘flexibility’ set but not used [-Wunused-but-set-variable]
int flexibility;
^
```
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
if compiled with -DTEST / -DDEBUG (plus drop commented out code).
Amends the following compiler warnings:
```
Events.c: In function ‘nxagentHandleClientMessageEvent’:
Events.c:2694:13: warning: variable ‘message_data’ set but not used [-Wunused-but-set-variable]
char *message_data;
^
Events.c: In function ‘nxagentClipAndSendExpose’:
Events.c:4313:10: warning: variable ‘box’ set but not used [-Wunused-but-set-variable]
BoxRec box;
^
```
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
not used later on.
Amends the following compiler warnings:
```
Display.c: In function ‘nxagentReconnectDisplay’:
Display.c:2449:19: warning: variable ‘packQuality’ set but not used [-Wunused-but-set-variable]
int packMethod, packQuality;
^
Display.c:2449:7: warning: variable ‘packMethod’ set but not used [-Wunused-but-set-variable]
int packMethod, packQuality;
^
```
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
used later on.
Amends the following compiler warning:
```
NXrender.c: In function ‘swapStops’:
NXrender.c:3036:13: warning: variable ‘colors’ set but not used [-Wunused-but-set-variable]
CARD16 *colors;
^
```
|
| |
| |
| |
| |
| | |
We don't define HAVE_STDINT_H anywhere and it should be more safe using
the system's definition of UINT32_MAX.
|