Commit 6ae091cc authored by Mihai Moldovan's avatar Mihai Moldovan

debian/patches: refresh all patches.

Removes some fuzziness and adds the -p diff option to show the C function name in hunk headers.
parent a4fb30f8
...@@ -36,6 +36,9 @@ nx-libs (2:3.5.0.33-0x2go1) UNRELEASED; urgency=low ...@@ -36,6 +36,9 @@ nx-libs (2:3.5.0.33-0x2go1) UNRELEASED; urgency=low
Fixes: #1160. Fixes: #1160.
Backported from Arctica GH 3.6.x branch. Backported from Arctica GH 3.6.x branch.
v2: backport to nx-libs 3.5.0.x (Mihai Moldovan) v2: backport to nx-libs 3.5.0.x (Mihai Moldovan)
* debian/patches:
- Refresh all patches. Removes some fuzziness and adds the -p diff option
to show the C function name in hunk headers.
[ Mike Gabriel ] [ Mike Gabriel ]
* debian/libxinerama1.postinst.in: * debian/libxinerama1.postinst.in:
......
...@@ -8,7 +8,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -8,7 +8,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Last-Update: 2011-12-31 Last-Update: 2011-12-31
--- a/nxcompshad/Makefile.in --- a/nxcompshad/Makefile.in
+++ b/nxcompshad/Makefile.in +++ b/nxcompshad/Makefile.in
@@ -48,7 +48,7 @@ @@ -48,7 +48,7 @@ CCINCLUDES =
CCDEFINES = CCDEFINES =
LDFLAGS = @LDFLAGS@ LDFLAGS = @LDFLAGS@
...@@ -17,7 +17,7 @@ Last-Update: 2011-12-31 ...@@ -17,7 +17,7 @@ Last-Update: 2011-12-31
# #
# Only if THREADS is defined. # Only if THREADS is defined.
@@ -162,7 +162,7 @@ @@ -162,7 +162,7 @@ $(LIBDLL): $(LIBARCHIVE)
-Wl,--enable-auto-import \ -Wl,--enable-auto-import \
-Wl,--whole-archive ${LIBARCHIVE} \ -Wl,--whole-archive ${LIBARCHIVE} \
-Wl,--no-whole-archive \ -Wl,--no-whole-archive \
...@@ -28,7 +28,7 @@ Last-Update: 2011-12-31 ...@@ -28,7 +28,7 @@ Last-Update: 2011-12-31
# $(CC) $(CCFLAGS) -o $@ $(MOBJ) $(MLIBS) # $(CC) $(CCFLAGS) -o $@ $(MOBJ) $(MLIBS)
--- a/nxcompshad/configure.in --- a/nxcompshad/configure.in
+++ b/nxcompshad/configure.in +++ b/nxcompshad/configure.in
@@ -19,7 +19,7 @@ @@ -19,7 +19,7 @@ dnl Prefer headers and libraries from nx
if test -d "../nx-X11/exports/include" ; then if test -d "../nx-X11/exports/include" ; then
CXXFLAGS="$CXXFLAGS -I../nx-X11/exports/include" CXXFLAGS="$CXXFLAGS -I../nx-X11/exports/include"
......
...@@ -7,7 +7,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -7,7 +7,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Last-Update: 2011-12-31 Last-Update: 2011-12-31
--- a/nx-X11/programs/Xserver/Imakefile --- a/nx-X11/programs/Xserver/Imakefile
+++ b/nx-X11/programs/Xserver/Imakefile +++ b/nx-X11/programs/Xserver/Imakefile
@@ -1047,7 +1047,7 @@ @@ -1047,7 +1047,7 @@ $(NX_XSHADOWLIBTARGET): $(NX_XSHADOWCONF
#else #else
$(NX_XSHADOWLIBTARGET): $(NX_XSHADOWCONFIGTARGET) $(NX_XSHADOWLIBTARGET): $(NX_XSHADOWCONFIGTARGET)
cd $(NX_XSHADOWLIBDIR) && \ cd $(NX_XSHADOWLIBDIR) && \
......
...@@ -5,8 +5,8 @@ Description: gcc43 fix ...@@ -5,8 +5,8 @@ Description: gcc43 fix
Forwarded: not-yet Forwarded: not-yet
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Last-Update: 2011-12-31 Last-Update: 2011-12-31
--- a/nxcomp/Message.cpp 2012-03-01 03:46:39.220943822 +0100 --- a/nxcomp/Message.cpp
+++ b/nxcomp/Message.cpp 2012-03-01 03:47:27.605712530 +0100 +++ b/nxcomp/Message.cpp
@@ -15,9 +15,9 @@ @@ -15,9 +15,9 @@
/* */ /* */
/**************************************************************************/ /**************************************************************************/
...@@ -19,8 +19,8 @@ Last-Update: 2011-12-31 ...@@ -19,8 +19,8 @@ Last-Update: 2011-12-31
#include <algorithm> #include <algorithm>
--- a/nxcomp/Misc.cpp 2012-03-01 03:46:39.220943822 +0100 --- a/nxcomp/Misc.cpp
+++ b/nxcomp/Misc.cpp 2012-03-01 03:47:27.605712530 +0100 +++ b/nxcomp/Misc.cpp
@@ -15,11 +15,11 @@ @@ -15,11 +15,11 @@
/* */ /* */
/**************************************************************************/ /**************************************************************************/
...@@ -37,8 +37,8 @@ Last-Update: 2011-12-31 ...@@ -37,8 +37,8 @@ Last-Update: 2011-12-31
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
--- a/nxcomp/Misc.h 2012-03-01 03:46:39.220943822 +0100 --- a/nxcomp/Misc.h
+++ b/nxcomp/Misc.h 2012-03-01 03:47:27.605712530 +0100 +++ b/nxcomp/Misc.h
@@ -21,8 +21,8 @@ @@ -21,8 +21,8 @@
#include <iostream> #include <iostream>
#include <fstream> #include <fstream>
...@@ -50,8 +50,8 @@ Last-Update: 2011-12-31 ...@@ -50,8 +50,8 @@ Last-Update: 2011-12-31
#ifdef __sun #ifdef __sun
--- a/nxcomp/Proxy.cpp 2012-03-01 03:46:39.224943897 +0100 --- a/nxcomp/Proxy.cpp
+++ b/nxcomp/Proxy.cpp 2012-03-01 03:47:27.605712530 +0100 +++ b/nxcomp/Proxy.cpp
@@ -15,9 +15,9 @@ @@ -15,9 +15,9 @@
/* */ /* */
/**************************************************************************/ /**************************************************************************/
...@@ -64,8 +64,8 @@ Last-Update: 2011-12-31 ...@@ -64,8 +64,8 @@ Last-Update: 2011-12-31
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
--- a/nxcomp/Split.cpp 2012-03-01 03:46:39.224943897 +0100 --- a/nxcomp/Split.cpp
+++ b/nxcomp/Split.cpp 2012-03-01 03:47:27.605712530 +0100 +++ b/nxcomp/Split.cpp
@@ -16,7 +16,7 @@ @@ -16,7 +16,7 @@
/**************************************************************************/ /**************************************************************************/
......
...@@ -12,9 +12,9 @@ Description: Fix building against libpng 1.5. ...@@ -12,9 +12,9 @@ Description: Fix building against libpng 1.5.
Forwarded: pending... Forwarded: pending...
Author: Fedora packagers of NX Author: Fedora packagers of NX
Last-Update: 2012-02-06 Last-Update: 2012-02-06
--- a/nxcomp/Pgn.cpp 2010-03-01 19:18:59.000000000 +0200 --- a/nxcomp/Pgn.cpp
+++ b/nxcomp/Pgn.cpp 2011-09-13 16:35:12.000000000 +0300 +++ b/nxcomp/Pgn.cpp
@@ -414,7 +414,7 @@ @@ -414,7 +414,7 @@ int DecompressPng16(unsigned char *compr
png_read_info(pngPtr, infoPtr); png_read_info(pngPtr, infoPtr);
...@@ -23,7 +23,7 @@ Last-Update: 2012-02-06 ...@@ -23,7 +23,7 @@ Last-Update: 2012-02-06
{ {
png_set_expand(pngPtr); png_set_expand(pngPtr);
} }
@@ -565,7 +565,7 @@ @@ -565,7 +565,7 @@ int DecompressPng24(unsigned char *compr
png_read_info( pngPtr, infoPtr ) ; png_read_info( pngPtr, infoPtr ) ;
...@@ -32,7 +32,7 @@ Last-Update: 2012-02-06 ...@@ -32,7 +32,7 @@ Last-Update: 2012-02-06
{ {
png_set_expand(pngPtr); png_set_expand(pngPtr);
} }
@@ -709,7 +709,7 @@ @@ -709,7 +709,7 @@ int DecompressPng32(unsigned char *compr
png_read_info(pngPtr, infoPtr) ; png_read_info(pngPtr, infoPtr) ;
......
...@@ -6,7 +6,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -6,7 +6,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Last-Update: 2012-12-31 Last-Update: 2012-12-31
--- a/nxcompshad/Makefile.in --- a/nxcompshad/Makefile.in
+++ b/nxcompshad/Makefile.in +++ b/nxcompshad/Makefile.in
@@ -185,7 +185,7 @@ @@ -185,7 +185,7 @@ install.bin:
install.man: install.man:
clean: clean:
......
...@@ -5,7 +5,7 @@ Author: Alexander Morozov ...@@ -5,7 +5,7 @@ Author: Alexander Morozov
Last-Update: 2012-02-07 Last-Update: 2012-02-07
--- a/nxcomp/Loop.cpp --- a/nxcomp/Loop.cpp
+++ b/nxcomp/Loop.cpp +++ b/nxcomp/Loop.cpp
@@ -5884,20 +5884,9 @@ @@ -5884,20 +5884,9 @@ void InstallSignal(int signal, int actio
struct sigaction newAction; struct sigaction newAction;
...@@ -28,7 +28,7 @@ Last-Update: 2012-02-07 ...@@ -28,7 +28,7 @@ Last-Update: 2012-02-07
sigemptyset(&(newAction.sa_mask)); sigemptyset(&(newAction.sa_mask));
@@ -6509,13 +6498,9 @@ @@ -6509,13 +6498,9 @@ void SetTimer(int value)
struct sigaction action; struct sigaction action;
......
...@@ -72,7 +72,7 @@ Last-Update: 2012-12-31 ...@@ -72,7 +72,7 @@ Last-Update: 2012-12-31
file locks before proceeding. Use this option only to clean up stale locks. file locks before proceeding. Use this option only to clean up stale locks.
.SH COMMANDS .SH COMMANDS
The following commands may be used to manipulate authority files: The following commands may be used to manipulate authority files:
@@ -157,14 +157,14 @@ @@ -157,14 +157,14 @@ Authorization entries matching the speci
authority file. authority file.
.TP 8 .TP 8
.B "source \fIfilename" .B "source \fIfilename"
...@@ -89,7 +89,7 @@ Last-Update: 2012-12-31 ...@@ -89,7 +89,7 @@ Last-Update: 2012-12-31
is printed on the standard output. is printed on the standard output.
.TP 8 .TP 8
.B "exit" .B "exit"
@@ -194,12 +194,12 @@ @@ -194,12 +194,12 @@ referred to as \fIhostname\fP/unix:\fIdi
local entries for different machines may be stored in one authority file. local entries for different machines may be stored in one authority file.
.SH EXAMPLE .SH EXAMPLE
.PP .PP
...@@ -104,7 +104,7 @@ Last-Update: 2012-12-31 ...@@ -104,7 +104,7 @@ Last-Update: 2012-12-31
.fi .fi
.PP .PP
.sp .sp
@@ -207,10 +207,10 @@ @@ -207,10 +207,10 @@ The following command contacts the serve
authorization using the MIT-MAGIC-COOKIE-1 protocol. Clients that authorization using the MIT-MAGIC-COOKIE-1 protocol. Clients that
connect with this authorization will be untrusted. connect with this authorization will be untrusted.
.nf .nf
......
...@@ -10,7 +10,7 @@ Author: Jan Engelhardt <jengelh@medozas.de> ...@@ -10,7 +10,7 @@ Author: Jan Engelhardt <jengelh@medozas.de>
Last-Update: 2012-02-14 Last-Update: 2012-02-14
--- a/nxcomp/Makefile.in --- a/nxcomp/Makefile.in
+++ b/nxcomp/Makefile.in +++ b/nxcomp/Makefile.in
@@ -64,10 +64,15 @@ @@ -64,10 +64,15 @@ exec_prefix = @exec_prefix@
bindir = @bindir@ bindir = @bindir@
man1dir = @mandir@/man1 man1dir = @mandir@/man1
VPATH = @srcdir@ VPATH = @srcdir@
...@@ -26,7 +26,7 @@ Last-Update: 2012-02-14 ...@@ -26,7 +26,7 @@ Last-Update: 2012-02-14
# #
# This should be autodetected. # This should be autodetected.
@@ -264,12 +269,44 @@ @@ -264,12 +269,44 @@ depend.status:
fi fi
touch depend.status touch depend.status
......
...@@ -10,7 +10,7 @@ Author: Jan Engelhardt <jengelh@medozas.de> ...@@ -10,7 +10,7 @@ Author: Jan Engelhardt <jengelh@medozas.de>
Last-Update: 2012-02-14 Last-Update: 2012-02-14
--- a/nxcompext/Makefile.in --- a/nxcompext/Makefile.in
+++ b/nxcompext/Makefile.in +++ b/nxcompext/Makefile.in
@@ -56,11 +56,15 @@ @@ -56,11 +56,15 @@ exec_prefix = @exec_prefix@
bindir = @bindir@ bindir = @bindir@
man1dir = @mandir@/man1 man1dir = @mandir@/man1
VPATH = @srcdir@ VPATH = @srcdir@
...@@ -27,7 +27,7 @@ Last-Update: 2012-02-14 ...@@ -27,7 +27,7 @@ Last-Update: 2012-02-14
# #
# This should be autodetected. # This should be autodetected.
# #
@@ -147,12 +151,35 @@ @@ -147,12 +151,35 @@ depend.status:
fi fi
touch depend.status touch depend.status
......
...@@ -10,7 +10,7 @@ Author: Jan Engelhardt <jengelh@medozas.de> ...@@ -10,7 +10,7 @@ Author: Jan Engelhardt <jengelh@medozas.de>
Last-Update: 2012-02-14 Last-Update: 2012-02-14
--- a/nxcompshad/Makefile.in --- a/nxcompshad/Makefile.in
+++ b/nxcompshad/Makefile.in +++ b/nxcompshad/Makefile.in
@@ -74,10 +74,17 @@ @@ -74,10 +74,17 @@ exec_prefix = @exec_prefix@
bindir = @bindir@ bindir = @bindir@
man1dir = @mandir@/man1 man1dir = @mandir@/man1
VPATH = @srcdir@ VPATH = @srcdir@
...@@ -28,7 +28,7 @@ Last-Update: 2012-02-14 ...@@ -28,7 +28,7 @@ Last-Update: 2012-02-14
# #
# This should be autodetected. # This should be autodetected.
@@ -178,12 +185,38 @@ @@ -178,12 +185,38 @@ depend.status:
fi fi
touch depend.status touch depend.status
......
...@@ -5,7 +5,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -5,7 +5,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Last-Update: 2011-12-31 Last-Update: 2011-12-31
--- a/nxproxy/Makefile.in --- a/nxproxy/Makefile.in
+++ b/nxproxy/Makefile.in +++ b/nxproxy/Makefile.in
@@ -41,6 +41,8 @@ @@ -41,6 +41,8 @@ VPATH = @srcdir@
INSTALL = @INSTALL@ INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
...@@ -14,7 +14,7 @@ Last-Update: 2011-12-31 ...@@ -14,7 +14,7 @@ Last-Update: 2011-12-31
# #
# This should be autodetected. # This should be autodetected.
@@ -87,11 +89,20 @@ @@ -87,11 +89,20 @@ depend.status:
install: install.bin install.man install: install.bin install.man
install.bin: $(PROGRAM) install.bin: $(PROGRAM)
......
...@@ -6,7 +6,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -6,7 +6,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Last-Update: 2012-12-31 Last-Update: 2012-12-31
--- a/nx-X11/config/cf/Imake.tmpl --- a/nx-X11/config/cf/Imake.tmpl
+++ b/nx-X11/config/cf/Imake.tmpl +++ b/nx-X11/config/cf/Imake.tmpl
@@ -820,12 +820,12 @@ @@ -820,12 +820,12 @@ TCLIBDIR = TclLibDir
#ifndef UsrLibDir #ifndef UsrLibDir
#ifdef ProjectRoot #ifdef ProjectRoot
...@@ -21,7 +21,7 @@ Last-Update: 2012-12-31 ...@@ -21,7 +21,7 @@ Last-Update: 2012-12-31
#ifndef AlternateUsrLibDir #ifndef AlternateUsrLibDir
#define AlternateUsrLibDir NO #define AlternateUsrLibDir NO
#endif #endif
@@ -863,7 +863,7 @@ @@ -863,7 +863,7 @@ TCLIBDIR = TclLibDir
#endif #endif
#ifndef IncRoot #ifndef IncRoot
#ifdef ProjectRoot #ifdef ProjectRoot
...@@ -32,7 +32,7 @@ Last-Update: 2012-12-31 ...@@ -32,7 +32,7 @@ Last-Update: 2012-12-31
#endif #endif
--- a/nx-X11/config/cf/X11.rules --- a/nx-X11/config/cf/X11.rules
+++ b/nx-X11/config/cf/X11.rules +++ b/nx-X11/config/cf/X11.rules
@@ -36,17 +36,17 @@ @@ -36,17 +36,17 @@ XCOMM $XFree86: xc/config/cf/X11.rules,v
#endif #endif
#if defined(X11ProjectRoot) #if defined(X11ProjectRoot)
...@@ -54,7 +54,7 @@ Last-Update: 2012-12-31 ...@@ -54,7 +54,7 @@ Last-Update: 2012-12-31
#endif #endif
#ifdef UsrLibDirPath #ifdef UsrLibDirPath
# undef UsrLibDirPath # undef UsrLibDirPath
@@ -60,7 +60,7 @@ @@ -60,7 +60,7 @@ XCOMM $XFree86: xc/config/cf/X11.rules,v
#if ImportX11 #if ImportX11
# define XLdPreLibs -L$(LIBSRC) # define XLdPreLibs -L$(LIBSRC)
#elif defined(UseInstalledX11) && defined(X11ProjectRoot) #elif defined(UseInstalledX11) && defined(X11ProjectRoot)
...@@ -63,7 +63,7 @@ Last-Update: 2012-12-31 ...@@ -63,7 +63,7 @@ Last-Update: 2012-12-31
#else #else
# define XLdPreLibs /**/ # define XLdPreLibs /**/
#endif #endif
@@ -70,7 +70,7 @@ @@ -70,7 +70,7 @@ XCOMM $XFree86: xc/config/cf/X11.rules,v
#define LdPreLibs LdPreLib XLdPreLibs #define LdPreLibs LdPreLib XLdPreLibs
#ifdef X11ProjectRoot #ifdef X11ProjectRoot
...@@ -72,7 +72,7 @@ Last-Update: 2012-12-31 ...@@ -72,7 +72,7 @@ Last-Update: 2012-12-31
#else #else
# define XLdPostLibs /**/ # define XLdPostLibs /**/
#endif #endif
@@ -86,7 +86,7 @@ @@ -86,7 +86,7 @@ XCOMM $XFree86: xc/config/cf/X11.rules,v
# define TopXInclude -I$(TOP)/exports/include # define TopXInclude -I$(TOP)/exports/include
#else #else
# ifdef X11ProjectRoot # ifdef X11ProjectRoot
...@@ -81,7 +81,7 @@ Last-Update: 2012-12-31 ...@@ -81,7 +81,7 @@ Last-Update: 2012-12-31
# else # else
# define TopXInclude /**/ # define TopXInclude /**/
# endif # endif
@@ -98,7 +98,7 @@ @@ -98,7 +98,7 @@ XCOMM $XFree86: xc/config/cf/X11.rules,v
#define TopIncludes TopInclude $(TOP_X_INCLUDES) #define TopIncludes TopInclude $(TOP_X_INCLUDES)
#if UseInstalledX11 && defined(X11ProjectRoot) #if UseInstalledX11 && defined(X11ProjectRoot)
...@@ -92,7 +92,7 @@ Last-Update: 2012-12-31 ...@@ -92,7 +92,7 @@ Last-Update: 2012-12-31
#elif ImportX11 #elif ImportX11
--- a/nx-X11/config/cf/X11.tmpl --- a/nx-X11/config/cf/X11.tmpl
+++ b/nx-X11/config/cf/X11.tmpl +++ b/nx-X11/config/cf/X11.tmpl
@@ -1401,7 +1401,7 @@ @@ -1401,7 +1401,7 @@ FCHOWN_DEFINES = -DHAS_FCHOWN
#ifndef BinDir #ifndef BinDir
#ifdef ProjectRoot #ifdef ProjectRoot
...@@ -101,7 +101,7 @@ Last-Update: 2012-12-31 ...@@ -101,7 +101,7 @@ Last-Update: 2012-12-31
#else #else
#define BinDir /usr/bin/X11 #define BinDir /usr/bin/X11
#endif #endif
@@ -1461,7 +1461,7 @@ @@ -1461,7 +1461,7 @@ FCHOWN_DEFINES = -DHAS_FCHOWN
#endif #endif
#ifndef LibDir #ifndef LibDir
# ifdef ProjectRoot # ifdef ProjectRoot
...@@ -112,7 +112,7 @@ Last-Update: 2012-12-31 ...@@ -112,7 +112,7 @@ Last-Update: 2012-12-31
# endif # endif
--- a/nx-X11/config/cf/linux.cf --- a/nx-X11/config/cf/linux.cf
+++ b/nx-X11/config/cf/linux.cf +++ b/nx-X11/config/cf/linux.cf
@@ -1054,7 +1054,7 @@ @@ -1054,7 +1054,7 @@ InstallNamedTargetNoClobber(install,file
#if HaveLib64 #if HaveLib64
# ifndef LibDirName # ifndef LibDirName
...@@ -123,7 +123,7 @@ Last-Update: 2012-12-31 ...@@ -123,7 +123,7 @@ Last-Update: 2012-12-31
# define SystemUsrLibDir /usr/lib64 # define SystemUsrLibDir /usr/lib64
--- a/nx-X11/config/cf/site.def --- a/nx-X11/config/cf/site.def
+++ b/nx-X11/config/cf/site.def +++ b/nx-X11/config/cf/site.def
@@ -72,7 +72,7 @@ @@ -72,7 +72,7 @@ XCOMM site: $XFree86: xc/config/cf/site
#ifdef AfterVendorCF #ifdef AfterVendorCF
#ifndef ProjectRoot #ifndef ProjectRoot
...@@ -132,7 +132,7 @@ Last-Update: 2012-12-31 ...@@ -132,7 +132,7 @@ Last-Update: 2012-12-31
#endif #endif
/* /*
@@ -87,7 +87,7 @@ @@ -87,7 +87,7 @@ XCOMM site: $XFree86: xc/config/cf/site
* ProjectRoot rather than in /etc/X11. See also HasVarDirectory, * ProjectRoot rather than in /etc/X11. See also HasVarDirectory,
* UseEtcX11 and UseSeparateConfDir. * UseEtcX11 and UseSeparateConfDir.
* *
...@@ -143,7 +143,7 @@ Last-Update: 2012-12-31 ...@@ -143,7 +143,7 @@ Last-Update: 2012-12-31
--- a/nxproxy/Makefile.in --- a/nxproxy/Makefile.in
+++ b/nxproxy/Makefile.in +++ b/nxproxy/Makefile.in
@@ -33,7 +33,7 @@ @@ -33,7 +33,7 @@ LIBS = @LIBS@
srcdir = @srcdir@ srcdir = @srcdir@
prefix = @prefix@ prefix = @prefix@
......
...@@ -3,7 +3,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -3,7 +3,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
--- a/nxcomp/Makefile.in --- a/nxcomp/Makefile.in
+++ b/nxcomp/Makefile.in +++ b/nxcomp/Makefile.in
@@ -313,4 +313,4 @@ @@ -313,4 +313,4 @@ clean:
distclean: clean distclean: clean
-rm -rf autom4te.cache config.status config.log \ -rm -rf autom4te.cache config.status config.log \
...@@ -11,7 +11,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -11,7 +11,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+ config.cache depend.status Makefile tags configure + config.cache depend.status Makefile tags configure
--- a/nxproxy/Makefile.in --- a/nxproxy/Makefile.in
+++ b/nxproxy/Makefile.in +++ b/nxproxy/Makefile.in
@@ -109,4 +109,4 @@ @@ -109,4 +109,4 @@ clean:
$(PROGRAM) $(PROGRAM).exe $(LIBFULL) $(LIBLOAD) $(LIBSHARED) $(LIBARCHIVE) $(PROGRAM) $(PROGRAM).exe $(LIBFULL) $(LIBLOAD) $(LIBSHARED) $(LIBARCHIVE)
distclean: clean distclean: clean
......
...@@ -5,7 +5,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -5,7 +5,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Last-Update: 2012-10-19 Last-Update: 2012-10-19
--- a/nx-X11/Makefile --- a/nx-X11/Makefile
+++ b/nx-X11/Makefile +++ b/nx-X11/Makefile
@@ -138,6 +138,7 @@ @@ -138,6 +138,7 @@ Makefile::
xmakefile: Imakefile xmakefile: Imakefile
$(RM) xmakefile $(RM) xmakefile
...@@ -13,7 +13,7 @@ Last-Update: 2012-10-19 ...@@ -13,7 +13,7 @@ Last-Update: 2012-10-19
$(IMAKE_CMD) -s xmakefile -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) $(IMAKE_CMD) -s xmakefile -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
World.Win32: World.Win32:
@@ -197,11 +198,16 @@ @@ -197,11 +198,16 @@ World.OS2:
# a copy of every rule that might be invoked at top level # a copy of every rule that might be invoked at top level
clean: clean:
...@@ -34,7 +34,7 @@ Last-Update: 2012-10-19 ...@@ -34,7 +34,7 @@ Last-Update: 2012-10-19
$(MAKE_CMD) $@ $(MAKE_CMD) $@
--- a/nxcompext/Makefile.in --- a/nxcompext/Makefile.in
+++ b/nxcompext/Makefile.in +++ b/nxcompext/Makefile.in
@@ -185,5 +185,5 @@ @@ -185,5 +185,5 @@ clean:
@ALL@ @ALL@
distclean: clean distclean: clean
...@@ -43,7 +43,7 @@ Last-Update: 2012-10-19 ...@@ -43,7 +43,7 @@ Last-Update: 2012-10-19
config.cache depend.status Makefile tags config.cache depend.status Makefile tags
--- a/nxcompshad/Makefile.in --- a/nxcompshad/Makefile.in
+++ b/nxcompshad/Makefile.in +++ b/nxcompshad/Makefile.in
@@ -222,4 +222,4 @@ @@ -222,4 +222,4 @@ clean:
$(LIBFULL) $(LIBLOAD) $(LIBSHARED) $(LIBARCHIVE) $(LIBDLL) $(LIBDLLSTATIC) $(PROGRAM) $(PROGRAM).exe $(LIBFULL) $(LIBLOAD) $(LIBSHARED) $(LIBARCHIVE) $(LIBDLL) $(LIBDLLSTATIC) $(PROGRAM) $(PROGRAM).exe
distclean: clean distclean: clean
......
Description: Fix FTBFS when built against libjpeg9a Description: Fix FTBFS when built against libjpeg9a
Author: Gabriel Marcano <gabemarcano@yahoo.com> Author: Gabriel Marcano <gabemarcano@yahoo.com>
--- a/nxcomp/Jpeg.cpp 2014-08-19 22:23:36.139072400 -0400 --- a/nxcomp/Jpeg.cpp
+++ b/nxcomp/Jpeg.cpp 2014-08-19 22:25:24.323182800 -0400 +++ b/nxcomp/Jpeg.cpp
@@ -440,7 +440,7 @@ @@ -440,7 +440,7 @@ int DecompressJpeg16(unsigned char *comp
JpegSetSrcManager(&cinfo, compressedData, compressedLen); JpegSetSrcManager(&cinfo, compressedData, compressedLen);
...@@ -11,7 +11,7 @@ Author: Gabriel Marcano <gabemarcano@yahoo.com> ...@@ -11,7 +11,7 @@ Author: Gabriel Marcano <gabemarcano@yahoo.com>
if (jpegError) goto AbortDecompressJpeg16; if (jpegError) goto AbortDecompressJpeg16;
@@ -581,7 +581,7 @@ @@ -581,7 +581,7 @@ int DecompressJpeg24(unsigned char *comp
JpegSetSrcManager(&cinfo, compressedData, compressedLen); JpegSetSrcManager(&cinfo, compressedData, compressedLen);
...@@ -20,7 +20,7 @@ Author: Gabriel Marcano <gabemarcano@yahoo.com> ...@@ -20,7 +20,7 @@ Author: Gabriel Marcano <gabemarcano@yahoo.com>
if (jpegError) goto AbortDecompressJpeg24; if (jpegError) goto AbortDecompressJpeg24;
@@ -718,7 +718,7 @@ @@ -718,7 +718,7 @@ int DecompressJpeg32(unsigned char *comp
JpegSetSrcManager(&cinfo, compressedData, compressedLen); JpegSetSrcManager(&cinfo, compressedData, compressedLen);
...@@ -29,7 +29,7 @@ Author: Gabriel Marcano <gabemarcano@yahoo.com> ...@@ -29,7 +29,7 @@ Author: Gabriel Marcano <gabemarcano@yahoo.com>
if (jpegError) goto AbortDecompressJpeg32; if (jpegError) goto AbortDecompressJpeg32;
@@ -833,7 +833,7 @@ @@ -833,7 +833,7 @@ static boolean JpegFillInputBuffer(j_dec
jpegSrcManager.bytes_in_buffer = jpegBufferLen; jpegSrcManager.bytes_in_buffer = jpegBufferLen;
jpegSrcManager.next_input_byte = (JOCTET *)jpegBufferPtr; jpegSrcManager.next_input_byte = (JOCTET *)jpegBufferPtr;
......
Description: Honour compiler/linker option flags Description: Honour compiler/linker option flags
Forwarded: pending Forwarded: pending
Author: Orion Poplawski <orion@cora.nwra.com> Author: Orion Poplawski <orion@cora.nwra.com>
diff -up a/nxcomp/configure.in b/nxcomp/configure.in --- a/nxcomp/configure.in
--- a/nxcomp/configure.in 2012-11-10 06:40:55.000000000 -0700 +++ b/nxcomp/configure.in
+++ b/nxcomp/configure.in 2012-12-11 13:13:19.390229196 -0700
@@ -7,8 +7,8 @@ AC_PREREQ(2.13) @@ -7,8 +7,8 @@ AC_PREREQ(2.13)
dnl Set our default compilation flags. dnl Set our default compilation flags.
...@@ -15,9 +14,8 @@ diff -up a/nxcomp/configure.in b/nxcomp/configure.in ...@@ -15,9 +14,8 @@ diff -up a/nxcomp/configure.in b/nxcomp/configure.in
dnl Reset default linking directives. dnl Reset default linking directives.
diff -up a/nxproxy/configure.in b/nxproxy/configure.in --- a/nxproxy/configure.in
--- a/nxproxy/configure.in 2012-11-10 06:40:55.000000000 -0700 +++ b/nxproxy/configure.in
+++ b/nxproxy/configure.in 2012-12-11 13:16:19.955301045 -0700
@@ -7,8 +7,8 @@ AC_PREREQ(2.13) @@ -7,8 +7,8 @@ AC_PREREQ(2.13)
dnl Reset default compilation flags. dnl Reset default compilation flags.
......
Description: Honour compiler/linker option flags Description: Honour compiler/linker option flags
Forwarded: pending Forwarded: pending
Author: Orion Poplawski <orion@cora.nwra.com> Author: Orion Poplawski <orion@cora.nwra.com>
diff -up a/nxcompext/configure.in b/nxcompext/configure.in --- a/nxcompext/configure.in
--- a/nxcompext/configure.in 2012-11-10 06:40:55.000000000 -0700 +++ b/nxcompext/configure.in
+++ b/nxcompext/configure.in 2012-12-11 13:15:26.712576302 -0700
@@ -7,8 +7,8 @@ AC_PREREQ(2.13) @@ -7,8 +7,8 @@ AC_PREREQ(2.13)
dnl Reset default compilation flags. dnl Reset default compilation flags.
......
Description: Honour compiler/linker option flags Description: Honour compiler/linker option flags
Forwarded: pending Forwarded: pending
Author: Orion Poplawski <orion@cora.nwra.com> Author: Orion Poplawski <orion@cora.nwra.com>
diff -up a/nxcompshad/configure.in b/nxcompshad/configure.in --- a/nxcompshad/configure.in
--- a/nxcompshad/configure.in 2012-11-10 06:40:56.000000000 -0700 +++ b/nxcompshad/configure.in
+++ b/nxcompshad/configure.in 2012-12-11 13:13:25.915196300 -0700
@@ -7,8 +7,8 @@ AC_PREREQ(2.13) @@ -7,8 +7,8 @@ AC_PREREQ(2.13)
dnl Reset default compilation flags. dnl Reset default compilation flags.
......
Description: Add X11 abstract socket support to nxcomp/nxproxy Description: Add X11 abstract socket support to nxcomp/nxproxy
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
diff --git a/nxcomp/Loop.cpp b/nxcomp/Loop.cpp
index 92b6fc2..d86809d 100644
--- a/nxcomp/Loop.cpp --- a/nxcomp/Loop.cpp
+++ b/nxcomp/Loop.cpp +++ b/nxcomp/Loop.cpp
@@ -4250,6 +4250,39 @@ int SetupDisplaySocket(int &xServerAddrFamily, sockaddr *&xServerAddr, @@ -4250,6 +4250,39 @@ int SetupDisplaySocket(int &xServerAddrF
// where the socket will be created. // where the socket will be created.
// //
...@@ -45,7 +43,7 @@ index 92b6fc2..d86809d 100644 ...@@ -45,7 +43,7 @@ index 92b6fc2..d86809d 100644
struct stat statInfo; struct stat statInfo;
char unixSocketDir[DEFAULT_STRING_LENGTH]; char unixSocketDir[DEFAULT_STRING_LENGTH];
@@ -4322,6 +4355,11 @@ int SetupDisplaySocket(int &xServerAddrFamily, sockaddr *&xServerAddr, @@ -4322,6 +4355,11 @@ int SetupDisplaySocket(int &xServerAddrF
xServerAddr = (sockaddr *) xServerAddrUNIX; xServerAddr = (sockaddr *) xServerAddrUNIX;
xServerAddrLength = sizeof(sockaddr_un); xServerAddrLength = sizeof(sockaddr_un);
......
...@@ -5,7 +5,7 @@ Abstract: ...@@ -5,7 +5,7 @@ Abstract:
--- a/nx-X11/lib/xtrans/Xtranssock.c --- a/nx-X11/lib/xtrans/Xtranssock.c
+++ b/nx-X11/lib/xtrans/Xtranssock.c +++ b/nx-X11/lib/xtrans/Xtranssock.c
@@ -172,6 +172,8 @@ @@ -172,6 +172,8 @@ static int IBMsockInit = 0;
sock_init();\ sock_init();\
IBMsockInit = 1;\ IBMsockInit = 1;\
} }
...@@ -14,7 +14,7 @@ Abstract: ...@@ -14,7 +14,7 @@ Abstract:
#undef EINTR #undef EINTR
#define EINTR SOCEINTR #define EINTR SOCEINTR
#undef EINVAL #undef EINVAL
@@ -192,6 +194,10 @@ @@ -192,6 +194,10 @@ static int IBMsockInit = 0;
#define SocketInitOnce() /**/ #define SocketInitOnce() /**/
#endif #endif
...@@ -25,7 +25,7 @@ Abstract: ...@@ -25,7 +25,7 @@ Abstract:
#define MIN_BACKLOG 128 #define MIN_BACKLOG 128
#ifdef SOMAXCONN #ifdef SOMAXCONN
#if SOMAXCONN > MIN_BACKLOG #if SOMAXCONN > MIN_BACKLOG
@@ -532,7 +538,7 @@ @@ -532,7 +538,7 @@ static char *_NXGetOldUnixPath(char *pat
void TRANS(SocketRejectConnection) (XtransConnInfo ciptr) void TRANS(SocketRejectConnection) (XtransConnInfo ciptr)
{ {
...@@ -34,7 +34,7 @@ Abstract: ...@@ -34,7 +34,7 @@ Abstract:
struct sockaddr sa; struct sockaddr sa;
fd_set fs; fd_set fs;
struct timeval t; struct timeval t;
@@ -914,9 +920,11 @@ @@ -914,9 +920,11 @@ TRANS(SocketINETGetAddr) (XtransConnInfo
struct sockaddr_in socknamev4; struct sockaddr_in socknamev4;
void *socknamePtr; void *socknamePtr;
#if defined(SVR4) || defined(__SCO__) #if defined(SVR4) || defined(__SCO__)
...@@ -47,7 +47,7 @@ Abstract: ...@@ -47,7 +47,7 @@ Abstract:
#endif #endif
PRMSG (3,"SocketINETGetAddr(%p)\n", ciptr, 0, 0); PRMSG (3,"SocketINETGetAddr(%p)\n", ciptr, 0, 0);
@@ -935,7 +943,7 @@ @@ -935,7 +943,7 @@ TRANS(SocketINETGetAddr) (XtransConnInfo
} }
if (getsockname (ciptr->fd,(struct sockaddr *) socknamePtr, if (getsockname (ciptr->fd,(struct sockaddr *) socknamePtr,
...@@ -56,7 +56,7 @@ Abstract: ...@@ -56,7 +56,7 @@ Abstract:
{ {
#ifdef WIN32 #ifdef WIN32
errno = WSAGetLastError(); errno = WSAGetLastError();
@@ -1477,23 +1485,28 @@ @@ -1477,23 +1485,28 @@ TRANS(SocketSetOption) (XtransConnInfo c
#ifdef UNIXCONN #ifdef UNIXCONN
static int static int
...@@ -95,7 +95,7 @@ Abstract: ...@@ -95,7 +95,7 @@ Abstract:
return 0; return 0;
} }
#endif #endif
@@ -1726,6 +1739,12 @@ @@ -1726,6 +1739,12 @@ TRANS(SocketUNIXCreateListener) (XtransC
int oldUmask; int oldUmask;
int status; int status;
unsigned int mode; unsigned int mode;
...@@ -108,7 +108,7 @@ Abstract: ...@@ -108,7 +108,7 @@ Abstract:
PRMSG (2, "SocketUNIXCreateListener(%s)\n", PRMSG (2, "SocketUNIXCreateListener(%s)\n",
port ? port : "NULL", 0, 0); port ? port : "NULL", 0, 0);
@@ -1741,11 +1760,11 @@ @@ -1741,11 +1760,11 @@ TRANS(SocketUNIXCreateListener) (XtransC
mode = 0777; mode = 0777;
#endif #endif
#ifdef NX_TRANS_SOCKET #ifdef NX_TRANS_SOCKET
...@@ -122,7 +122,7 @@ Abstract: ...@@ -122,7 +122,7 @@ Abstract:
PRMSG (1, "SocketUNIXCreateListener: mkdir(%s) failed, errno = %d\n", PRMSG (1, "SocketUNIXCreateListener: mkdir(%s) failed, errno = %d\n",
UNIX_DIR, errno, 0); UNIX_DIR, errno, 0);
#endif #endif
@@ -1754,13 +1773,18 @@ @@ -1754,13 +1773,18 @@ TRANS(SocketUNIXCreateListener) (XtransC
} }
#endif #endif
...@@ -143,7 +143,7 @@ Abstract: ...@@ -143,7 +143,7 @@ Abstract:
#endif #endif
PRMSG (1, "SocketUNIXCreateListener: path too long\n", 0, 0, 0); PRMSG (1, "SocketUNIXCreateListener: path too long\n", 0, 0, 0);
return TRANS_CREATE_LISTENER_FAILED; return TRANS_CREATE_LISTENER_FAILED;
@@ -1784,7 +1808,12 @@ @@ -1784,7 +1808,12 @@ TRANS(SocketUNIXCreateListener) (XtransC
fprintf(stderr, "SocketUNIXCreateListener: Unlinking path [%s] for ciptr at [%p].\n", fprintf(stderr, "SocketUNIXCreateListener: Unlinking path [%s] for ciptr at [%p].\n",
sockname.sun_path, (void *) ciptr); sockname.sun_path, (void *) ciptr);
#endif #endif
...@@ -157,7 +157,7 @@ Abstract: ...@@ -157,7 +157,7 @@ Abstract:
if ((status = TRANS(SocketCreateListener) (ciptr, if ((status = TRANS(SocketCreateListener) (ciptr,
(struct sockaddr *) &sockname, namelen, flags)) < 0) (struct sockaddr *) &sockname, namelen, flags)) < 0)
@@ -1814,6 +1843,9 @@ @@ -1814,6 +1843,9 @@ TRANS(SocketUNIXCreateListener) (XtransC
return TRANS_CREATE_LISTENER_FAILED; return TRANS_CREATE_LISTENER_FAILED;
} }
...@@ -167,7 +167,7 @@ Abstract: ...@@ -167,7 +167,7 @@ Abstract:
ciptr->family = sockname.sun_family; ciptr->family = sockname.sun_family;
ciptr->addrlen = namelen; ciptr->addrlen = namelen;
memcpy (ciptr->addr, &sockname, ciptr->addrlen); memcpy (ciptr->addr, &sockname, ciptr->addrlen);
@@ -1823,7 +1855,6 @@ @@ -1823,7 +1855,6 @@ TRANS(SocketUNIXCreateListener) (XtransC
return 0; return 0;
} }
...@@ -175,7 +175,7 @@ Abstract: ...@@ -175,7 +175,7 @@ Abstract:
static int static int
TRANS(SocketUNIXResetListener) (XtransConnInfo ciptr) TRANS(SocketUNIXResetListener) (XtransConnInfo ciptr)
@@ -1836,15 +1867,20 @@ @@ -1836,15 +1867,20 @@ TRANS(SocketUNIXResetListener) (XtransCo
struct stat statb; struct stat statb;
int status = TRANS_RESET_NOOP; int status = TRANS_RESET_NOOP;
unsigned int mode; unsigned int mode;
...@@ -198,7 +198,7 @@ Abstract: ...@@ -198,7 +198,7 @@ Abstract:
#endif #endif
{ {
int oldUmask = umask (0); int oldUmask = umask (0);
@@ -2034,6 +2070,11 @@ @@ -2034,6 +2070,11 @@ TRANS(SocketUNIXAccept) (XtransConnInfo
} }
...@@ -210,7 +210,7 @@ Abstract: ...@@ -210,7 +210,7 @@ Abstract:
newciptr->addrlen = ciptr->addrlen; newciptr->addrlen = ciptr->addrlen;
memcpy (newciptr->addr, ciptr->addr, newciptr->addrlen); memcpy (newciptr->addr, ciptr->addr, newciptr->addrlen);
@@ -2626,6 +2667,12 @@ @@ -2626,6 +2667,12 @@ TRANS(SocketUNIXConnect) (XtransConnInfo
struct sockaddr_un sockname; struct sockaddr_un sockname;
int namelen; int namelen;
...@@ -223,7 +223,7 @@ Abstract: ...@@ -223,7 +223,7 @@ Abstract:
#if defined(hpux) && defined(X11_t) #if defined(hpux) && defined(X11_t)
struct sockaddr_un old_sockname; struct sockaddr_un old_sockname;
int old_namelen; int old_namelen;
@@ -2674,9 +2721,9 @@ @@ -2674,9 +2721,9 @@ TRANS(SocketUNIXConnect) (XtransConnInfo
sockname.sun_family = AF_UNIX; sockname.sun_family = AF_UNIX;
#ifdef NX_TRANS_SOCKET #ifdef NX_TRANS_SOCKET
...@@ -235,7 +235,7 @@ Abstract: ...@@ -235,7 +235,7 @@ Abstract:
#endif #endif
PRMSG (1, "SocketUNIXConnect: path too long\n", 0, 0, 0); PRMSG (1, "SocketUNIXConnect: path too long\n", 0, 0, 0);
return TRANS_CONNECT_FAILED; return TRANS_CONNECT_FAILED;
@@ -2722,6 +2769,14 @@ @@ -2722,6 +2769,14 @@ TRANS(SocketUNIXConnect) (XtransConnInfo
#endif #endif
/* /*
...@@ -250,7 +250,7 @@ Abstract: ...@@ -250,7 +250,7 @@ Abstract:
* Do the connect() * Do the connect()
*/ */
@@ -2757,12 +2812,18 @@ @@ -2757,12 +2812,18 @@ TRANS(SocketUNIXConnect) (XtransConnInfo
* should try again. * should try again.
*/ */
...@@ -274,7 +274,7 @@ Abstract: ...@@ -274,7 +274,7 @@ Abstract:
PRMSG (2,"SocketUNIXConnect: Can't connect: errno = %d\n", PRMSG (2,"SocketUNIXConnect: Can't connect: errno = %d\n",
EGET(),0, 0); EGET(),0, 0);
@@ -2791,6 +2852,9 @@ @@ -2791,6 +2852,9 @@ SocketUNIXConnectPost:
return TRANS_CONNECT_FAILED; return TRANS_CONNECT_FAILED;
} }
...@@ -284,7 +284,7 @@ Abstract: ...@@ -284,7 +284,7 @@ Abstract:
ciptr->family = AF_UNIX; ciptr->family = AF_UNIX;
ciptr->addrlen = namelen; ciptr->addrlen = namelen;
ciptr->peeraddrlen = namelen; ciptr->peeraddrlen = namelen;
@@ -3323,7 +3387,11 @@ @@ -3323,7 +3387,11 @@ Xtransport TRANS(SocketINET6Funcs) =
Xtransport TRANS(SocketLocalFuncs) = { Xtransport TRANS(SocketLocalFuncs) = {
/* Socket Interface */ /* Socket Interface */
"local", "local",
...@@ -296,7 +296,7 @@ Abstract: ...@@ -296,7 +296,7 @@ Abstract:
#ifdef TRANS_CLIENT #ifdef TRANS_CLIENT
TRANS(SocketOpenCOTSClient), TRANS(SocketOpenCOTSClient),
#endif /* TRANS_CLIENT */ #endif /* TRANS_CLIENT */
@@ -3369,7 +3437,7 @@ @@ -3369,7 +3437,7 @@ static char* unix_nolisten[] = { "local"
Xtransport TRANS(SocketUNIXFuncs) = { Xtransport TRANS(SocketUNIXFuncs) = {
/* Socket Interface */ /* Socket Interface */
"unix", "unix",
...@@ -307,7 +307,7 @@ Abstract: ...@@ -307,7 +307,7 @@ Abstract:
0, 0,
--- a/nx-X11/lib/xtrans/Xtransint.h --- a/nx-X11/lib/xtrans/Xtransint.h
+++ b/nx-X11/lib/xtrans/Xtransint.h +++ b/nx-X11/lib/xtrans/Xtransint.h
@@ -374,9 +374,10 @@ @@ -374,9 +374,10 @@ typedef struct _Xtransport_table {
#define TRANS_DISABLED (1<<2) /* Don't open this one */ #define TRANS_DISABLED (1<<2) /* Don't open this one */
#define TRANS_NOLISTEN (1<<3) /* Don't listen on this one */ #define TRANS_NOLISTEN (1<<3) /* Don't listen on this one */
#define TRANS_NOUNLINK (1<<4) /* Dont unlink transport endpoints */ #define TRANS_NOUNLINK (1<<4) /* Dont unlink transport endpoints */
......
...@@ -3,7 +3,7 @@ Author: Mihai Moldovan <ionic@ionic.de> ...@@ -3,7 +3,7 @@ Author: Mihai Moldovan <ionic@ionic.de>
--- a/nxcomp/Loop.cpp --- a/nxcomp/Loop.cpp
+++ b/nxcomp/Loop.cpp +++ b/nxcomp/Loop.cpp
@@ -6832,9 +6832,9 @@ @@ -6832,9 +6832,9 @@ int WaitForRemote(int portNum)
{ {
sockaddr_in newAddr; sockaddr_in newAddr;
......
...@@ -8,8 +8,6 @@ Last-Update: 2012-02-14 ...@@ -8,8 +8,6 @@ Last-Update: 2012-02-14
nx-X11/programs/Xserver/Imakefile | 4 +++- nx-X11/programs/Xserver/Imakefile | 4 +++-
2 files changed, 7 insertions(+), 2 deletions(-) 2 files changed, 7 insertions(+), 2 deletions(-)
Index: nx-X11/lib/X11/Imakefile
===================================================================
--- a/nx-X11/lib/X11/Imakefile --- a/nx-X11/lib/X11/Imakefile
+++ b/nx-X11/lib/X11/Imakefile +++ b/nx-X11/lib/X11/Imakefile
@@ -1147,15 +1147,17 @@ ks_tables.h: $(XINCLUDESRC)/keysymdef.h @@ -1147,15 +1147,17 @@ ks_tables.h: $(XINCLUDESRC)/keysymdef.h
...@@ -32,8 +30,6 @@ Index: nx-X11/lib/X11/Imakefile ...@@ -32,8 +30,6 @@ Index: nx-X11/lib/X11/Imakefile
#ifdef SunArchitecture #ifdef SunArchitecture
$(NX_XCOMPLIBTARGET): $(NX_XCOMPCONFIGTARGET) $(NX_XCOMPLIBTARGET): $(NX_XCOMPCONFIGTARGET)
Index: nx-X11/programs/Xserver/Imakefile
===================================================================
--- a/nx-X11/programs/Xserver/Imakefile --- a/nx-X11/programs/Xserver/Imakefile
+++ b/nx-X11/programs/Xserver/Imakefile +++ b/nx-X11/programs/Xserver/Imakefile
@@ -1036,9 +1036,11 @@ NX_XSHADOWLIBDIR = $(XTOP)/../nxcomps @@ -1036,9 +1036,11 @@ NX_XSHADOWLIBDIR = $(XTOP)/../nxcomps
......
...@@ -15,7 +15,7 @@ Last-Update: 2012-01-26 22:29:13.993994227 +0100 ...@@ -15,7 +15,7 @@ Last-Update: 2012-01-26 22:29:13.993994227 +0100
--- a/nx-X11/Makefile --- a/nx-X11/Makefile
+++ b/nx-X11/Makefile +++ b/nx-X11/Makefile
@@ -32,8 +32,8 @@ @@ -32,8 +32,8 @@ VERSSRC = $(CONFIGSRC)/util/printver.c
VERSPROG = $(CONFIGSRC)/util/printver.exe VERSPROG = $(CONFIGSRC)/util/printver.exe
all: all:
...@@ -26,7 +26,7 @@ Last-Update: 2012-01-26 22:29:13.993994227 +0100 ...@@ -26,7 +26,7 @@ Last-Update: 2012-01-26 22:29:13.993994227 +0100
all-initial: all-initial:
@echo Please use make World, or on NT use nmake World.Win32. @echo Please use make World, or on NT use nmake World.Win32.
@@ -57,8 +57,8 @@ @@ -57,8 +57,8 @@ World:
@date @date
@echo "" @echo ""
@if [ -f xmakefile ]; then \ @if [ -f xmakefile ]; then \
...@@ -37,7 +37,7 @@ Last-Update: 2012-01-26 22:29:13.993994227 +0100 ...@@ -37,7 +37,7 @@ Last-Update: 2012-01-26 22:29:13.993994227 +0100
$(RM) xmakefile; \ $(RM) xmakefile; \
fi fi
@if [ ! -f $(IRULESRC)/host.def ]; then \ @if [ ! -f $(IRULESRC)/host.def ]; then \
@@ -84,14 +84,14 @@ @@ -84,14 +84,14 @@ World:
# fi # fi
cd $(IMAKESRC) && $(MAKE) $(FLAGS) clean cd $(IMAKESRC) && $(MAKE) $(FLAGS) clean
$(MAKE) $(MFLAGS) Makefile.boot $(MAKE) $(MFLAGS) Makefile.boot
...@@ -59,7 +59,7 @@ Last-Update: 2012-01-26 22:29:13.993994227 +0100 ...@@ -59,7 +59,7 @@ Last-Update: 2012-01-26 22:29:13.993994227 +0100
@echo "" @echo ""
@date @date
@echo "" @echo ""
@@ -154,15 +154,15 @@ @@ -154,15 +154,15 @@ World.Win32:
-if exist xmakefile.bak del xmakefile.bak -if exist xmakefile.bak del xmakefile.bak
-if exist xmakefile ren xmakefile xmakefile.bak -if exist xmakefile ren xmakefile xmakefile.bak
$(IMAKE:/=\) -s xmakefile -I$(IRULESRC) $(IMAKE_DEFINES) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) $(IMAKE:/=\) -s xmakefile -I$(IRULESRC) $(IMAKE_DEFINES) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
...@@ -81,7 +81,7 @@ Last-Update: 2012-01-26 22:29:13.993994227 +0100 ...@@ -81,7 +81,7 @@ Last-Update: 2012-01-26 22:29:13.993994227 +0100
@echo : @echo :
@echo : @echo :
@echo Full build of $(RELEASE) complete. @echo Full build of $(RELEASE) complete.
@@ -198,38 +198,38 @@ @@ -198,38 +198,38 @@ World.OS2:
# a copy of every rule that might be invoked at top level # a copy of every rule that might be invoked at top level
clean: clean:
...@@ -137,7 +137,7 @@ Last-Update: 2012-01-26 22:29:13.993994227 +0100 ...@@ -137,7 +137,7 @@ Last-Update: 2012-01-26 22:29:13.993994227 +0100
+ ${MAKE} ${MAKE_OPTS} $@ + ${MAKE} ${MAKE_OPTS} $@
--- a/nx-X11/config/imake/Makefile.ini --- a/nx-X11/config/imake/Makefile.ini
+++ b/nx-X11/config/imake/Makefile.ini +++ b/nx-X11/config/imake/Makefile.ini
@@ -21,7 +21,6 @@ @@ -21,7 +21,6 @@ IMAKEMDEP_CROSSCOMPILE = -DCROSSCOMPILE_
SHELL = /bin/sh SHELL = /bin/sh
RM = rm -f RM = rm -f
MV = mv MV = mv
...@@ -147,7 +147,7 @@ Last-Update: 2012-01-26 22:29:13.993994227 +0100 ...@@ -147,7 +147,7 @@ Last-Update: 2012-01-26 22:29:13.993994227 +0100
NPROC = 1 NPROC = 1
--- a/nx-X11/lib/X11/Imakefile --- a/nx-X11/lib/X11/Imakefile
+++ b/nx-X11/lib/X11/Imakefile +++ b/nx-X11/lib/X11/Imakefile
@@ -1161,25 +1161,23 @@ @@ -1161,25 +1161,23 @@ $(NX_XCOMPEXTCONFIGTARGET):
#ifdef SunArchitecture #ifdef SunArchitecture
$(NX_XCOMPLIBTARGET): $(NX_XCOMPCONFIGTARGET) $(NX_XCOMPLIBTARGET): $(NX_XCOMPCONFIGTARGET)
...@@ -183,7 +183,7 @@ Last-Update: 2012-01-26 22:29:13.993994227 +0100 ...@@ -183,7 +183,7 @@ Last-Update: 2012-01-26 22:29:13.993994227 +0100
--- a/nx-X11/programs/Xserver/Imakefile --- a/nx-X11/programs/Xserver/Imakefile
+++ b/nx-X11/programs/Xserver/Imakefile +++ b/nx-X11/programs/Xserver/Imakefile
@@ -1045,11 +1045,11 @@ @@ -1045,11 +1045,11 @@ $(NX_XSHADOWCONFIGTARGET):
#ifdef SunArchitecture #ifdef SunArchitecture
$(NX_XSHADOWLIBTARGET): $(NX_XSHADOWCONFIGTARGET) $(NX_XSHADOWLIBTARGET): $(NX_XSHADOWCONFIGTARGET)
cd $(NX_XSHADOWLIBDIR) && \ cd $(NX_XSHADOWLIBDIR) && \
...@@ -197,4 +197,3 @@ Last-Update: 2012-01-26 22:29:13.993994227 +0100 ...@@ -197,4 +197,3 @@ Last-Update: 2012-01-26 22:29:13.993994227 +0100
#endif #endif
ServerTarget(nxagent,$(NX_XSHADOWLIBTARGET) $(NXAGENTDIRS),$(NXAGENTOBJS), \ ServerTarget(nxagent,$(NX_XSHADOWLIBTARGET) $(NXAGENTDIRS),$(NXAGENTOBJS), \
...@@ -17,7 +17,7 @@ Date: Tue Jun 23 16:09:50 2015 +0200 ...@@ -17,7 +17,7 @@ Date: Tue Jun 23 16:09:50 2015 +0200
--- a/nx-X11/lib/Xrender/Color.c --- a/nx-X11/lib/Xrender/Color.c
+++ b/nx-X11/lib/Xrender/Color.c +++ b/nx-X11/lib/Xrender/Color.c
@@ -85,8 +85,8 @@ XRenderParseColor(Display *dpy, char *spec, XRenderColor *def) @@ -85,8 +85,8 @@ XRenderParseColor(Display *dpy, char *sp
def->blue = coreColor.blue; def->blue = coreColor.blue;
def->alpha = 0xffff; def->alpha = 0xffff;
} }
......
...@@ -15,7 +15,7 @@ Author: Mihai Moldovan <ionic@ionic.de> ...@@ -15,7 +15,7 @@ Author: Mihai Moldovan <ionic@ionic.de>
--- a/nxcomp/Agent.h --- a/nxcomp/Agent.h
+++ b/nxcomp/Agent.h +++ b/nxcomp/Agent.h
@@ -149,30 +149,38 @@ @@ -149,30 +149,38 @@ class Agent
int remoteCanRead(const fd_set * const readSet) int remoteCanRead(const fd_set * const readSet)
{ {
...@@ -60,7 +60,7 @@ Author: Mihai Moldovan <ionic@ionic.de> ...@@ -60,7 +60,7 @@ Author: Mihai Moldovan <ionic@ionic.de>
transport_ -> queuable() != 0 && transport_ -> queuable() != 0 &&
canRead_ == 1); canRead_ == 1);
} }
@@ -203,13 +211,17 @@ @@ -203,13 +211,17 @@ class Agent
int proxyCanRead(const fd_set * const readSet) int proxyCanRead(const fd_set * const readSet)
{ {
......
...@@ -3,7 +3,7 @@ Author: Mihai Moldovan <ionic@ionic.de> ...@@ -3,7 +3,7 @@ Author: Mihai Moldovan <ionic@ionic.de>
--- a/nxcomp/Auth.cpp --- a/nxcomp/Auth.cpp
+++ b/nxcomp/Auth.cpp +++ b/nxcomp/Auth.cpp
@@ -217,22 +217,31 @@ @@ -217,22 +217,31 @@ int Auth::getCookie()
// //
// Use the nxauth command on Windows and the Mac, xauth // Use the nxauth command on Windows and the Mac, xauth
......
Description: Avoid building libXcomp.so.1 (which is identical to libXcomp.so.3) Description: Avoid building libXcomp.so.1 (which is identical to libXcomp.so.3)
Author: Orion Poplawski <orion@cora.nwra.com> Author: Orion Poplawski <orion@cora.nwra.com>
--- a/nx-X11/lib/X11/Imakefile 2013-01-04 05:25:49.000000000 -0700 --- a/nx-X11/lib/X11/Imakefile
+++ b/nx-X11/lib/X11/Imakefile 2013-01-15 15:26:07.969167259 -0700 +++ b/nx-X11/lib/X11/Imakefile
@@ -63,7 +63,6 @@ NX_XCOMPLIBDIR = $(XTOP)/../nxcomp @@ -63,7 +63,6 @@ NX_XCOMPLIBDIR = $(XTOP)/../nxcomp
NX_XCOMPLIBLINK = Xcomp NX_XCOMPLIBLINK = Xcomp
NX_XCOMPLIBTARGET = $(NX_XCOMPLIBDIR)/$(NX_XCOMPLIBNAME) NX_XCOMPLIBTARGET = $(NX_XCOMPLIBDIR)/$(NX_XCOMPLIBNAME)
......
Description: Fix FTBFS on ppc64 architecture Description: Fix FTBFS on ppc64 architecture
Author: Orion Poplawski <orion@cora.nwra.com> Author: Orion Poplawski <orion@cora.nwra.com>
diff -up a/nx-X11/lib/GL/mesa/main/Imakefile.inc b/nx-X11/lib/GL/mesa/main/Imakefile.inc --- a/nx-X11/lib/GL/mesa/main/Imakefile.inc
--- a/nx-X11/lib/GL/mesa/main/Imakefile.inc 2014-01-04 13:39:35.000000000 -0700 +++ b/nx-X11/lib/GL/mesa/main/Imakefile.inc
+++ b/nx-X11/lib/GL/mesa/main/Imakefile.inc 2014-01-24 12:04:00.085272615 -0700
@@ -1,5 +1,8 @@ @@ -1,5 +1,8 @@
XCOMM $XFree86: xc/lib/GL/mesa/src/Imakefile.inc,v 1.7tsi Exp $ XCOMM $XFree86: xc/lib/GL/mesa/src/Imakefile.inc,v 1.7tsi Exp $
......
Description: Fix FTBFS when compiled with -Werror=format-security Description: Fix FTBFS when compiled with -Werror=format-security
Author: Orion Poplawski <orion@cora.nwra.com> Author: Orion Poplawski <orion@cora.nwra.com>
diff -up a/nx-X11/config/imake/imake.c b/nx-X11/config/imake/imake.c --- a/nx-X11/config/imake/imake.c
--- a/nx-X11/config/imake/imake.c 2014-01-04 13:39:35.000000000 -0700 +++ b/nx-X11/config/imake/imake.c
+++ b/nx-X11/config/imake/imake.c 2014-01-24 13:55:53.940697330 -0700
@@ -7,8 +7,6 @@ @@ -7,8 +7,6 @@
* be passed to the template file. * * be passed to the template file. *
* * * *
......
...@@ -6,7 +6,7 @@ Abstract: ...@@ -6,7 +6,7 @@ Abstract:
idea why. idea why.
--- a/nx-X11/lib/xtrans/Xtransint.h --- a/nx-X11/lib/xtrans/Xtransint.h
+++ b/nx-X11/lib/xtrans/Xtransint.h +++ b/nx-X11/lib/xtrans/Xtransint.h
@@ -444,7 +444,7 @@ @@ -444,7 +444,7 @@ static int trans_mkdir (
int hack= 0, saveerrno=errno; \ int hack= 0, saveerrno=errno; \
struct timeval tp;\ struct timeval tp;\
gettimeofday(&tp,0); \ gettimeofday(&tp,0); \
...@@ -15,7 +15,7 @@ Abstract: ...@@ -15,7 +15,7 @@ Abstract:
ErrorF(x+hack,a,b,c); \ ErrorF(x+hack,a,b,c); \
ErrorF("timestamp (ms): %d\n",tp.tv_sec*1000+tp.tv_usec/1000); \ ErrorF("timestamp (ms): %d\n",tp.tv_sec*1000+tp.tv_usec/1000); \
errno=saveerrno; \ errno=saveerrno; \
@@ -454,7 +454,7 @@ @@ -454,7 +454,7 @@ static int trans_mkdir (
int hack= 0, saveerrno=errno; \ int hack= 0, saveerrno=errno; \
struct timeval tp;\ struct timeval tp;\
gettimeofday(&tp,0); \ gettimeofday(&tp,0); \
...@@ -24,7 +24,7 @@ Abstract: ...@@ -24,7 +24,7 @@ Abstract:
fprintf(stderr, x+hack,a,b,c); fflush(stderr); \ fprintf(stderr, x+hack,a,b,c); fflush(stderr); \
fprintf(stderr, "timestamp (ms): %d\n",tp.tv_sec*1000+tp.tv_usec/1000); \ fprintf(stderr, "timestamp (ms): %d\n",tp.tv_sec*1000+tp.tv_usec/1000); \
fflush(stderr); \ fflush(stderr); \
@@ -466,14 +466,14 @@ @@ -466,14 +466,14 @@ static int trans_mkdir (
/* Use ErrorF() for the X server */ /* Use ErrorF() for the X server */
#define PRMSG(lvl,x,a,b,c) if (lvl <= XTRANSDEBUG){ \ #define PRMSG(lvl,x,a,b,c) if (lvl <= XTRANSDEBUG){ \
int hack= 0, saveerrno=errno; \ int hack= 0, saveerrno=errno; \
...@@ -43,7 +43,7 @@ Abstract: ...@@ -43,7 +43,7 @@ Abstract:
} else ((void)0) } else ((void)0)
--- a/nx-X11/programs/nxauth/process.c --- a/nx-X11/programs/nxauth/process.c
+++ b/nx-X11/programs/nxauth/process.c +++ b/nx-X11/programs/nxauth/process.c
@@ -974,7 +974,7 @@ @@ -974,7 +974,7 @@ fprintfhex(register FILE *fp, int len, c
char *hex; char *hex;
hex = bintohex(len, cp); hex = bintohex(len, cp);
...@@ -54,7 +54,7 @@ Abstract: ...@@ -54,7 +54,7 @@ Abstract:
--- a/nx-X11/programs/Xserver/GL/glx/glximports.c --- a/nx-X11/programs/Xserver/GL/glx/glximports.c
+++ b/nx-X11/programs/Xserver/GL/glx/glximports.c +++ b/nx-X11/programs/Xserver/GL/glx/glximports.c
@@ -110,12 +110,12 @@ @@ -110,12 +110,12 @@ void *__glXImpRealloc(__GLcontext *gc, v
void __glXImpWarning(__GLcontext *gc, char *msg) void __glXImpWarning(__GLcontext *gc, char *msg)
{ {
...@@ -71,7 +71,7 @@ Abstract: ...@@ -71,7 +71,7 @@ Abstract:
--- a/nx-X11/programs/Xserver/hw/nxagent/Error.c --- a/nx-X11/programs/Xserver/hw/nxagent/Error.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Error.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Error.c
@@ -232,7 +232,7 @@ @@ -232,7 +232,7 @@ static int nxagentPrintError(dpy, event,
int nxagentExitHandler(const char *message) int nxagentExitHandler(const char *message)
{ {
...@@ -82,7 +82,7 @@ Abstract: ...@@ -82,7 +82,7 @@ Abstract:
} }
--- a/nx-X11/programs/Xserver/hw/nxagent/Init.c --- a/nx-X11/programs/Xserver/hw/nxagent/Init.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Init.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Init.c
@@ -481,7 +481,7 @@ @@ -481,7 +481,7 @@ void OsVendorVErrorFFunction(const char
nxagentStartRedirectToClientsLog(); nxagentStartRedirectToClientsLog();
...@@ -93,7 +93,7 @@ Abstract: ...@@ -93,7 +93,7 @@ Abstract:
} }
--- a/nx-X11/programs/Xserver/os/log.c --- a/nx-X11/programs/Xserver/os/log.c
+++ b/nx-X11/programs/Xserver/os/log.c +++ b/nx-X11/programs/Xserver/os/log.c
@@ -692,9 +692,9 @@ @@ -692,9 +692,9 @@ Error(char *str)
return; return;
sprintf(err, "%s: ", str); sprintf(err, "%s: ", str);
strcat(err, strerror(saveErrno)); strcat(err, strerror(saveErrno));
......
...@@ -18,7 +18,7 @@ Abstract: ...@@ -18,7 +18,7 @@ Abstract:
--- a/nx-X11/programs/Xserver/hw/nxagent/Window.c --- a/nx-X11/programs/Xserver/hw/nxagent/Window.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Window.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Window.c
@@ -327,7 +327,10 @@ @@ -327,7 +327,10 @@ FIXME: We need to set save under on the
if (mask & CWEventMask) if (mask & CWEventMask)
{ {
...@@ -30,7 +30,7 @@ Abstract: ...@@ -30,7 +30,7 @@ Abstract:
} }
#ifdef WARNING #ifdef WARNING
else else
@@ -2891,7 +2894,10 @@ @@ -2891,7 +2894,10 @@ FIXME: Do we need to set save unders att
if (mask & CWEventMask) if (mask & CWEventMask)
{ {
...@@ -42,7 +42,7 @@ Abstract: ...@@ -42,7 +42,7 @@ Abstract:
} }
#ifdef WARNING #ifdef WARNING
else else
@@ -3352,7 +3358,10 @@ @@ -3352,7 +3358,10 @@ void nxagentSetTopLevelEventMask(pWin)
if (nxagentOption(Rootless) && nxagentWindowTopLevel(pWin)) if (nxagentOption(Rootless) && nxagentWindowTopLevel(pWin))
{ {
...@@ -56,7 +56,7 @@ Abstract: ...@@ -56,7 +56,7 @@ Abstract:
} }
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c --- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -1665,7 +1665,10 @@ @@ -1665,7 +1665,10 @@ N/A
attributes.background_pixel = nxagentBlackPixel; attributes.background_pixel = nxagentBlackPixel;
......
...@@ -8,7 +8,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -8,7 +8,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Last-Update: 2012-01-12 Last-Update: 2012-01-12
--- a/nx-X11/programs/Xserver/os/oscolor.c --- a/nx-X11/programs/Xserver/os/oscolor.c
+++ b/nx-X11/programs/Xserver/os/oscolor.c +++ b/nx-X11/programs/Xserver/os/oscolor.c
@@ -53,7 +53,7 @@ @@ -53,7 +53,7 @@ SOFTWARE.
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
......
...@@ -8,7 +8,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -8,7 +8,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Last-Update: 2012-01-12 Last-Update: 2012-01-12
--- a/nx-X11/programs/Xserver/Xext/security.c --- a/nx-X11/programs/Xserver/Xext/security.c
+++ b/nx-X11/programs/Xserver/Xext/security.c +++ b/nx-X11/programs/Xserver/Xext/security.c
@@ -86,7 +86,7 @@ @@ -86,7 +86,7 @@ extern unsigned char LbxReqCode;
#ifdef NXAGENT_SERVER #ifdef NXAGENT_SERVER
......
...@@ -8,7 +8,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -8,7 +8,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Last-Update: 2012-01-12 Last-Update: 2012-01-12
--- a/nx-X11/programs/Xserver/Xext/security.c --- a/nx-X11/programs/Xserver/Xext/security.c
+++ b/nx-X11/programs/Xserver/Xext/security.c +++ b/nx-X11/programs/Xserver/Xext/security.c
@@ -86,7 +86,7 @@ @@ -86,7 +86,7 @@ extern unsigned char LbxReqCode;
#ifdef NXAGENT_SERVER #ifdef NXAGENT_SERVER
......
...@@ -8,7 +8,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -8,7 +8,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Last-Update: 2011-12-31 Last-Update: 2011-12-31
--- a/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c --- a/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
@@ -136,7 +136,7 @@ @@ -136,7 +136,7 @@ extern Status XkbGetContro
#define XKB_ALTERNATE_BASE_DIRECTORY "/usr/X11R6/lib/X11/xkb" #define XKB_ALTERNATE_BASE_DIRECTORY "/usr/X11R6/lib/X11/xkb"
#endif #endif
#ifndef XKB_CONFIG_FILE #ifndef XKB_CONFIG_FILE
...@@ -17,7 +17,7 @@ Last-Update: 2011-12-31 ...@@ -17,7 +17,7 @@ Last-Update: 2011-12-31
#endif #endif
#ifndef XKB_DFLT_RULES_FILE #ifndef XKB_DFLT_RULES_FILE
#define XKB_DFLT_RULES_FILE "xfree86" #define XKB_DFLT_RULES_FILE "xfree86"
@@ -985,8 +985,7 @@ @@ -985,8 +985,7 @@ XkbError:
XkbGetControls(nxagentDisplay, XkbAllControlsMask, xkb); XkbGetControls(nxagentDisplay, XkbAllControlsMask, xkb);
...@@ -27,7 +27,7 @@ Last-Update: 2011-12-31 ...@@ -27,7 +27,7 @@ Last-Update: 2011-12-31
nxagentXkbConfigFilePath = malloc((nxagentXkbConfigFilePathSize + 1) * sizeof(char)); nxagentXkbConfigFilePath = malloc((nxagentXkbConfigFilePathSize + 1) * sizeof(char));
@@ -995,9 +994,7 @@ @@ -995,9 +994,7 @@ XkbError:
FatalError("nxagentKeyboardProc: malloc failed."); FatalError("nxagentKeyboardProc: malloc failed.");
} }
......
...@@ -8,7 +8,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -8,7 +8,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Last-Update: 2011-12-31 Last-Update: 2011-12-31
--- a/nx-X11/programs/Xserver/hw/nxagent/Error.c --- a/nx-X11/programs/Xserver/hw/nxagent/Error.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Error.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Error.c
@@ -497,7 +497,7 @@ @@ -497,7 +497,7 @@ char *nxagentGetRootPath(void)
return rootPath; return rootPath;
} }
...@@ -19,7 +19,7 @@ Last-Update: 2011-12-31 ...@@ -19,7 +19,7 @@ Last-Update: 2011-12-31
char *rootPath; char *rootPath;
--- a/nx-X11/programs/Xserver/hw/nxagent/Error.h --- a/nx-X11/programs/Xserver/hw/nxagent/Error.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Error.h +++ b/nx-X11/programs/Xserver/hw/nxagent/Error.h
@@ -34,4 +34,6 @@ @@ -34,4 +34,6 @@ void nxagentStartRedirectToClientsLog(vo
void nxagentEndRedirectToClientsLog(void); void nxagentEndRedirectToClientsLog(void);
...@@ -28,7 +28,7 @@ Last-Update: 2011-12-31 ...@@ -28,7 +28,7 @@ Last-Update: 2011-12-31
#endif /* __Error_H__ */ #endif /* __Error_H__ */
--- a/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c --- a/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
@@ -52,6 +52,7 @@ @@ -52,6 +52,7 @@ is" without express or implied warranty.
#include "Keyboard.h" #include "Keyboard.h"
#include "Events.h" #include "Events.h"
#include "Options.h" #include "Options.h"
...@@ -36,7 +36,7 @@ Last-Update: 2011-12-31 ...@@ -36,7 +36,7 @@ Last-Update: 2011-12-31
#include "NXlib.h" #include "NXlib.h"
@@ -72,6 +73,8 @@ @@ -72,6 +73,8 @@ is" without express or implied warranty.
#include "Xatom.h" #include "Xatom.h"
...@@ -45,7 +45,7 @@ Last-Update: 2011-12-31 ...@@ -45,7 +45,7 @@ Last-Update: 2011-12-31
static int nxagentXkbGetNames(char **rules, char **model, char **layout, static int nxagentXkbGetNames(char **rules, char **model, char **layout,
char **variant, char **options); char **variant, char **options);
@@ -1790,6 +1793,48 @@ @@ -1790,6 +1793,48 @@ void nxagentKeycodeConversionSetup(void)
} }
#endif #endif
......
...@@ -7,7 +7,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -7,7 +7,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Last-Update: 2011-12-31 Last-Update: 2011-12-31
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c --- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -166,7 +166,9 @@ @@ -166,7 +166,9 @@ Bool nxagentValidServerTargets(Atom targ
if (target == XA_STRING) return True; if (target == XA_STRING) return True;
if (target == serverTEXT) return True; if (target == serverTEXT) return True;
...@@ -18,7 +18,7 @@ Last-Update: 2011-12-31 ...@@ -18,7 +18,7 @@ Last-Update: 2011-12-31
return False; return False;
} }
@@ -402,7 +404,12 @@ @@ -402,7 +404,12 @@ FIXME: Do we need this?
lastServerProperty = X->xselectionrequest.property; lastServerProperty = X->xselectionrequest.property;
lastServerRequestor = X->xselectionrequest.requestor; lastServerRequestor = X->xselectionrequest.requestor;
lastServerTarget = X->xselectionrequest.target; lastServerTarget = X->xselectionrequest.target;
...@@ -32,7 +32,7 @@ Last-Update: 2011-12-31 ...@@ -32,7 +32,7 @@ Last-Update: 2011-12-31
x.u.u.type = SelectionRequest; x.u.u.type = SelectionRequest;
x.u.selectionRequest.time = GetTimeInMillis(); x.u.selectionRequest.time = GetTimeInMillis();
@@ -424,11 +431,12 @@ @@ -424,11 +431,12 @@ FIXME: Do we need this?
x.u.selectionRequest.selection = CurrentSelections[i].selection; x.u.selectionRequest.selection = CurrentSelections[i].selection;
......
...@@ -7,7 +7,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -7,7 +7,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Last-Update: 2011-12-31 Last-Update: 2011-12-31
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c --- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -1226,10 +1226,11 @@ @@ -1226,10 +1226,11 @@ int nxagentConvertSelection(ClientPtr cl
Atom xa_STRING[4]; Atom xa_STRING[4];
xEvent x; xEvent x;
...@@ -24,7 +24,7 @@ Last-Update: 2011-12-31 ...@@ -24,7 +24,7 @@ Last-Update: 2011-12-31
property, property,
--- a/nx-X11/programs/Xserver/hw/nxagent/Image.c --- a/nx-X11/programs/Xserver/hw/nxagent/Image.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Image.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Image.c
@@ -644,6 +644,10 @@ @@ -644,6 +644,10 @@ FIXME: Should use these.
pDrawable -> depth != 1 && pDrawable -> depth != 1 &&
nxagentOption(DeferLevel) >= 1) nxagentOption(DeferLevel) >= 1)
{ {
...@@ -35,7 +35,7 @@ Last-Update: 2011-12-31 ...@@ -35,7 +35,7 @@ Last-Update: 2011-12-31
#ifdef TEST #ifdef TEST
fprintf(stderr, "nxagentPutImage: WARNING! Prevented operation on region [%d,%d,%d,%d] " fprintf(stderr, "nxagentPutImage: WARNING! Prevented operation on region [%d,%d,%d,%d] "
"for drawable at [%p] with drawable pixmap.\n", pRegion -> extents.x1, "for drawable at [%p] with drawable pixmap.\n", pRegion -> extents.x1,
@@ -654,6 +658,9 @@ @@ -654,6 +658,9 @@ FIXME: Should use these.
nxagentMarkCorruptedRegion(pDrawable, pRegion); nxagentMarkCorruptedRegion(pDrawable, pRegion);
goto nxagentPutImageEnd; goto nxagentPutImageEnd;
......
...@@ -7,7 +7,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -7,7 +7,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Last-Update: 2011-12-31 Last-Update: 2011-12-31
--- a/nx-X11/programs/Xserver/hw/nxagent/Window.c --- a/nx-X11/programs/Xserver/hw/nxagent/Window.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Window.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Window.c
@@ -176,6 +176,14 @@ @@ -176,6 +176,14 @@ static void nxagentReconfigureWindow(poi
static int nxagentForceExposure(WindowPtr pWin, pointer ptr); static int nxagentForceExposure(WindowPtr pWin, pointer ptr);
...@@ -22,7 +22,7 @@ Last-Update: 2011-12-31 ...@@ -22,7 +22,7 @@ Last-Update: 2011-12-31
/* /*
* This is currently unused. * This is currently unused.
*/ */
@@ -1861,6 +1869,17 @@ @@ -1861,6 +1869,17 @@ Bool nxagentRealizeWindow(WindowPtr pWin
nxagentAddConfiguredWindow(pWin, CWStackingOrder); nxagentAddConfiguredWindow(pWin, CWStackingOrder);
nxagentAddConfiguredWindow(pWin, CW_Shape); nxagentAddConfiguredWindow(pWin, CW_Shape);
...@@ -40,7 +40,7 @@ Last-Update: 2011-12-31 ...@@ -40,7 +40,7 @@ Last-Update: 2011-12-31
#ifdef SHAPE #ifdef SHAPE
/* /*
@@ -1907,6 +1926,17 @@ @@ -1907,6 +1926,17 @@ Bool nxagentUnrealizeWindow(pWin)
return True; return True;
} }
......
...@@ -18,7 +18,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -18,7 +18,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Last-Update: 2011-12-31 Last-Update: 2011-12-31
--- a/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c --- a/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c +++ b/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
@@ -1973,6 +1973,23 @@ @@ -1973,6 +1973,23 @@ ProcCreatePixmap(client)
client->errorValue = 0; client->errorValue = 0;
return BadValue; return BadValue;
} }
......
...@@ -9,7 +9,7 @@ Author: Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de> ...@@ -9,7 +9,7 @@ Author: Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de>
Last-Update: 2012-01-11 Last-Update: 2012-01-11
--- a/nx-X11/programs/Xserver/hw/nxagent/Init.c --- a/nx-X11/programs/Xserver/hw/nxagent/Init.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Init.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Init.c
@@ -177,6 +177,29 @@ @@ -177,6 +177,29 @@ int nxagentSaveUnder;
int nxagentDoFullGeneration = 1; int nxagentDoFullGeneration = 1;
...@@ -39,7 +39,7 @@ Last-Update: 2012-01-11 ...@@ -39,7 +39,7 @@ Last-Update: 2012-01-11
/* /*
* Called at X server's initialization. * Called at X server's initialization.
*/ */
@@ -193,6 +216,11 @@ @@ -193,6 +216,11 @@ void InitOutput(ScreenInfo *screenInfo,
#endif #endif
/* /*
...@@ -53,7 +53,7 @@ Last-Update: 2012-01-11 ...@@ -53,7 +53,7 @@ Last-Update: 2012-01-11
--- a/nx-X11/programs/Xserver/hw/nxagent/Init.h --- a/nx-X11/programs/Xserver/hw/nxagent/Init.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Init.h +++ b/nx-X11/programs/Xserver/hw/nxagent/Init.h
@@ -37,6 +37,8 @@ @@ -37,6 +37,8 @@ extern int nxagentDoFullGeneration;
extern int nxagentBackingStore; extern int nxagentBackingStore;
extern int nxagentSaveUnder; extern int nxagentSaveUnder;
......
...@@ -6,7 +6,7 @@ Author: Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de> ...@@ -6,7 +6,7 @@ Author: Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de>
Last-Update: 2012-01-11 Last-Update: 2012-01-11
--- a/nx-X11/programs/Xserver/hw/nxagent/Display.c --- a/nx-X11/programs/Xserver/hw/nxagent/Display.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Display.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Display.c
@@ -77,6 +77,7 @@ @@ -77,6 +77,7 @@ is" without express or implied warranty.
#include "NXlib.h" #include "NXlib.h"
#include NXAGENT_ICON_NAME #include NXAGENT_ICON_NAME
...@@ -14,7 +14,7 @@ Last-Update: 2012-01-11 ...@@ -14,7 +14,7 @@ Last-Update: 2012-01-11
/* /*
* Set here the required log level. * Set here the required log level.
@@ -1941,12 +1942,29 @@ @@ -1941,12 +1942,29 @@ Bool nxagentMakeIcon(Display *display, P
Bool success = False; Bool success = False;
XlibPixmap IconPixmap; XlibPixmap IconPixmap;
XlibPixmap IconShape; XlibPixmap IconShape;
...@@ -46,7 +46,7 @@ Last-Update: 2012-01-11 ...@@ -46,7 +46,7 @@ Last-Update: 2012-01-11
if (icon_fp != NULL) if (icon_fp != NULL)
{ {
@@ -1985,7 +2003,7 @@ @@ -1985,7 +2003,7 @@ Bool nxagentMakeIcon(Display *display, P
{ {
status = XpmCreatePixmapFromData(display, status = XpmCreatePixmapFromData(display,
DefaultRootWindow(display), DefaultRootWindow(display),
......
...@@ -9,7 +9,7 @@ Author: Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de> ...@@ -9,7 +9,7 @@ Author: Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de>
Last-Update: 2012-01-13 Last-Update: 2012-01-13
--- a/nx-X11/config/cf/host.def --- a/nx-X11/config/cf/host.def
+++ b/nx-X11/config/cf/host.def +++ b/nx-X11/config/cf/host.def
@@ -686,7 +686,7 @@ @@ -686,7 +686,7 @@ XCOMM $XFree86: xc/config/cf/xf86site.de
* *
#define BuildXinerama NO #define BuildXinerama NO
*/ */
...@@ -20,7 +20,7 @@ Last-Update: 2012-01-13 ...@@ -20,7 +20,7 @@ Last-Update: 2012-01-13
* If you don't want to build support for the GLX extension, uncomment this. * If you don't want to build support for the GLX extension, uncomment this.
--- a/nx-X11/config/cf/X11.tmpl --- a/nx-X11/config/cf/X11.tmpl
+++ b/nx-X11/config/cf/X11.tmpl +++ b/nx-X11/config/cf/X11.tmpl
@@ -456,7 +456,7 @@ @@ -456,7 +456,7 @@ XORGRELSTRING = XorgManVersionString
#define BuildXinerama NO #define BuildXinerama NO
#endif #endif
#ifndef BuildXineramaLibrary #ifndef BuildXineramaLibrary
...@@ -31,7 +31,7 @@ Last-Update: 2012-01-13 ...@@ -31,7 +31,7 @@ Last-Update: 2012-01-13
#define BuildDmxDevelTools NO #define BuildDmxDevelTools NO
--- a/nx-X11/lib/Xinerama/Xinerama.c --- a/nx-X11/lib/Xinerama/Xinerama.c
+++ b/nx-X11/lib/Xinerama/Xinerama.c +++ b/nx-X11/lib/Xinerama/Xinerama.c
@@ -34,7 +34,7 @@ @@ -34,7 +34,7 @@ Equipment Corporation.
#include <X11/extensions/panoramiXext.h> #include <X11/extensions/panoramiXext.h>
#include <X11/extensions/panoramiXproto.h> #include <X11/extensions/panoramiXproto.h>
#include <X11/extensions/Xinerama.h> #include <X11/extensions/Xinerama.h>
...@@ -40,7 +40,7 @@ Last-Update: 2012-01-13 ...@@ -40,7 +40,7 @@ Last-Update: 2012-01-13
static XExtensionInfo _panoramiX_ext_info_data; static XExtensionInfo _panoramiX_ext_info_data;
static XExtensionInfo *panoramiX_ext_info = &_panoramiX_ext_info_data; static XExtensionInfo *panoramiX_ext_info = &_panoramiX_ext_info_data;
@@ -249,6 +249,16 @@ @@ -249,6 +249,16 @@ Bool XineramaIsActive(Display *dpy)
xXineramaIsActiveReq *req; xXineramaIsActiveReq *req;
XExtDisplayInfo *info = find_display (dpy); XExtDisplayInfo *info = find_display (dpy);
...@@ -57,7 +57,7 @@ Last-Update: 2012-01-13 ...@@ -57,7 +57,7 @@ Last-Update: 2012-01-13
if(!XextHasExtension(info)) if(!XextHasExtension(info))
return False; /* server doesn't even have the extension */ return False; /* server doesn't even have the extension */
@@ -266,7 +276,6 @@ @@ -266,7 +276,6 @@ Bool XineramaIsActive(Display *dpy)
return rep.state; return rep.state;
} }
...@@ -65,7 +65,7 @@ Last-Update: 2012-01-13 ...@@ -65,7 +65,7 @@ Last-Update: 2012-01-13
XineramaScreenInfo * XineramaScreenInfo *
XineramaQueryScreens( XineramaQueryScreens(
@@ -279,39 +288,72 @@ @@ -279,39 +288,72 @@ XineramaQueryScreens(
xXineramaQueryScreensReq *req; xXineramaQueryScreensReq *req;
XineramaScreenInfo *scrnInfo = NULL; XineramaScreenInfo *scrnInfo = NULL;
...@@ -166,7 +166,7 @@ Last-Update: 2012-01-13 ...@@ -166,7 +166,7 @@ Last-Update: 2012-01-13
--- a/nx-X11/programs/Xserver/hw/nxagent/Imakefile --- a/nx-X11/programs/Xserver/hw/nxagent/Imakefile
+++ b/nx-X11/programs/Xserver/hw/nxagent/Imakefile +++ b/nx-X11/programs/Xserver/hw/nxagent/Imakefile
@@ -206,7 +206,7 @@ @@ -206,7 +206,7 @@ DEFINES = -g $(OS_DEFINES) $(EXT_DEFINES
-UNX_DEBUG_INPUT \ -UNX_DEBUG_INPUT \
-DRANDR_10_INTERFACE \ -DRANDR_10_INTERFACE \
-DRANDR_12_INTERFACE \ -DRANDR_12_INTERFACE \
...@@ -177,7 +177,7 @@ Last-Update: 2012-01-13 ...@@ -177,7 +177,7 @@ Last-Update: 2012-01-13
all:: $(OBJS) all:: $(OBJS)
--- a/nx-X11/programs/Xserver/hw/nxagent/X/NXxvdisp.c --- a/nx-X11/programs/Xserver/hw/nxagent/X/NXxvdisp.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/X/NXxvdisp.c +++ b/nx-X11/programs/Xserver/hw/nxagent/X/NXxvdisp.c
@@ -275,17 +275,19 @@ @@ -275,17 +275,19 @@ ProcXvDispatch(ClientPtr client)
case xv_PutVideo: case xv_PutVideo:
#ifdef PANORAMIX #ifdef PANORAMIX
if(!noPanoramiXExtension) if(!noPanoramiXExtension)
...@@ -201,7 +201,7 @@ Last-Update: 2012-01-13 ...@@ -201,7 +201,7 @@ Last-Update: 2012-01-13
case xv_GetVideo: result = (ProcXvGetVideo(client)); break; case xv_GetVideo: result = (ProcXvGetVideo(client)); break;
case xv_GetStill: result = (ProcXvGetStill(client)); break; case xv_GetStill: result = (ProcXvGetStill(client)); break;
case xv_GrabPort: result = (ProcXvGrabPort(client)); break; case xv_GrabPort: result = (ProcXvGrabPort(client)); break;
@@ -295,35 +297,39 @@ @@ -295,35 +297,39 @@ ProcXvDispatch(ClientPtr client)
case xv_StopVideo: case xv_StopVideo:
#ifdef PANORAMIX #ifdef PANORAMIX
if(!noPanoramiXExtension) if(!noPanoramiXExtension)
...@@ -251,7 +251,7 @@ Last-Update: 2012-01-13 ...@@ -251,7 +251,7 @@ Last-Update: 2012-01-13
case xv_ListImageFormats: result = (ProcXvListImageFormats(client)); break; case xv_ListImageFormats: result = (ProcXvListImageFormats(client)); break;
--- a/nx-X11/programs/Xserver/Imakefile --- a/nx-X11/programs/Xserver/Imakefile
+++ b/nx-X11/programs/Xserver/Imakefile +++ b/nx-X11/programs/Xserver/Imakefile
@@ -1021,7 +1021,7 @@ @@ -1021,7 +1021,7 @@ NXAGENTNXLIBS = -L ../../../nxcomp -L ..
#else #else
NXAGENTNXLIBS = -L ../../../nxcomp -L ../../../nxcompext -L ../../../nxcompshad \ NXAGENTNXLIBS = -L ../../../nxcomp -L ../../../nxcompext -L ../../../nxcompshad \
-lXcomp -lXcompext -lXcompshad -lXrender -lX11 -lXext -lXfixes \ -lXcomp -lXcompext -lXcompshad -lXrender -lX11 -lXext -lXfixes \
...@@ -262,7 +262,7 @@ Last-Update: 2012-01-13 ...@@ -262,7 +262,7 @@ Last-Update: 2012-01-13
#endif #endif
--- a/nx-X11/programs/Xserver/Xext/panoramiX.c --- a/nx-X11/programs/Xserver/Xext/panoramiX.c
+++ b/nx-X11/programs/Xserver/Xext/panoramiX.c +++ b/nx-X11/programs/Xserver/Xext/panoramiX.c
@@ -1045,16 +1045,7 @@ @@ -1045,16 +1045,7 @@ ProcXineramaIsActive(ClientPtr client)
rep.type = X_Reply; rep.type = X_Reply;
rep.length = 0; rep.length = 0;
rep.sequenceNumber = client->sequence; rep.sequenceNumber = client->sequence;
...@@ -281,7 +281,7 @@ Last-Update: 2012-01-13 ...@@ -281,7 +281,7 @@ Last-Update: 2012-01-13
swaps (&rep.sequenceNumber, n); swaps (&rep.sequenceNumber, n);
--- a/nx-X11/programs/Xserver/Xext/panoramiX.h --- a/nx-X11/programs/Xserver/Xext/panoramiX.h
+++ b/nx-X11/programs/Xserver/Xext/panoramiX.h +++ b/nx-X11/programs/Xserver/Xext/panoramiX.h
@@ -44,7 +44,7 @@ @@ -44,7 +44,7 @@ Equipment Corporation.
#define _PANORAMIX_H_ #define _PANORAMIX_H_
#include <X11/extensions/panoramiXext.h> #include <X11/extensions/panoramiXext.h>
......
...@@ -3,7 +3,7 @@ Author: Oleksandr Shneyder <o.schneyder@phoca-gmbh.de> ...@@ -3,7 +3,7 @@ Author: Oleksandr Shneyder <o.schneyder@phoca-gmbh.de>
--- a/nx-X11/programs/Xserver/hw/nxagent/Args.c --- a/nx-X11/programs/Xserver/hw/nxagent/Args.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Args.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Args.c
@@ -672,6 +672,12 @@ @@ -672,6 +672,12 @@ int ddxProcessArgument(int argc, char *a
return 1; return 1;
} }
...@@ -16,7 +16,7 @@ Author: Oleksandr Shneyder <o.schneyder@phoca-gmbh.de> ...@@ -16,7 +16,7 @@ Author: Oleksandr Shneyder <o.schneyder@phoca-gmbh.de>
if (!strcmp(argv[i], "-noonce")) if (!strcmp(argv[i], "-noonce"))
{ {
nxagentOnce = False; nxagentOnce = False;
@@ -1855,6 +1861,7 @@ @@ -1855,6 +1861,7 @@ void ddxUseMsg()
ErrorF("The NX system adds the following arguments:\n"); ErrorF("The NX system adds the following arguments:\n");
ErrorF("-forcenx force use of NX protocol messages assuming communication through nxproxy\n"); ErrorF("-forcenx force use of NX protocol messages assuming communication through nxproxy\n");
ErrorF("-timeout int auto-disconnect timeout in seconds (minimum allowed: 60)\n"); ErrorF("-timeout int auto-disconnect timeout in seconds (minimum allowed: 60)\n");
...@@ -26,7 +26,7 @@ Author: Oleksandr Shneyder <o.schneyder@phoca-gmbh.de> ...@@ -26,7 +26,7 @@ Author: Oleksandr Shneyder <o.schneyder@phoca-gmbh.de>
ErrorF("-nocomposite disable the use of the composite extension\n"); ErrorF("-nocomposite disable the use of the composite extension\n");
--- a/nx-X11/programs/Xserver/hw/nxagent/Handlers.c --- a/nx-X11/programs/Xserver/hw/nxagent/Handlers.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Handlers.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Handlers.c
@@ -219,7 +219,7 @@ @@ -219,7 +219,7 @@ void nxagentBlockHandler(pointer data, s
if (nxagentOption(Rootless) && if (nxagentOption(Rootless) &&
nxagentLastWindowDestroyed && nxagentRootlessDialogPid == 0 && nxagentLastWindowDestroyed && nxagentRootlessDialogPid == 0 &&
...@@ -37,7 +37,7 @@ Author: Oleksandr Shneyder <o.schneyder@phoca-gmbh.de> ...@@ -37,7 +37,7 @@ Author: Oleksandr Shneyder <o.schneyder@phoca-gmbh.de>
fprintf(stderr, "nxagentBlockHandler: No application running. Closing the session.\n"); fprintf(stderr, "nxagentBlockHandler: No application running. Closing the session.\n");
--- a/nx-X11/programs/Xserver/hw/nxagent/Options.c --- a/nx-X11/programs/Xserver/hw/nxagent/Options.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Options.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Options.c
@@ -56,6 +56,7 @@ @@ -56,6 +56,7 @@ void nxagentInitOptions()
nxagentOptions.Persistent = 1; nxagentOptions.Persistent = 1;
nxagentOptions.Rootless = UNDEFINED; nxagentOptions.Rootless = UNDEFINED;
nxagentOptions.Fullscreen = UNDEFINED; nxagentOptions.Fullscreen = UNDEFINED;
...@@ -47,7 +47,7 @@ Author: Oleksandr Shneyder <o.schneyder@phoca-gmbh.de> ...@@ -47,7 +47,7 @@ Author: Oleksandr Shneyder <o.schneyder@phoca-gmbh.de>
nxagentOptions.Y = 0; nxagentOptions.Y = 0;
--- a/nx-X11/programs/Xserver/hw/nxagent/Options.h --- a/nx-X11/programs/Xserver/hw/nxagent/Options.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Options.h +++ b/nx-X11/programs/Xserver/hw/nxagent/Options.h
@@ -381,6 +381,13 @@ @@ -381,6 +381,13 @@ typedef struct _AgentOptions
int ImageRateLimit; int ImageRateLimit;
......
Description: Fix repainting of SolidFill pictures with libcairo > 1.12.x Description: Fix repainting of SolidFill pictures with libcairo > 1.12.x
Author: Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de> Author: Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de>
diff -rupN a/nx-X11/programs/Xserver/hw/nxagent/Render.c b/nx-X11/programs/Xserver/hw/nxagent/Render.c --- a/nx-X11/programs/Xserver/hw/nxagent/Render.c
--- a/nx-X11/programs/Xserver/hw/nxagent/Render.c 2012-05-16 18:05:07.000000000 +0200 +++ b/nx-X11/programs/Xserver/hw/nxagent/Render.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Render.c 2012-09-20 20:53:37.893459269 +0200
@@ -2689,11 +2689,17 @@ void nxagentReconnectPicture(pointer p0, @@ -2689,11 +2689,17 @@ void nxagentReconnectPicture(pointer p0,
#endif #endif
} }
...@@ -25,9 +24,8 @@ diff -rupN a/nx-X11/programs/Xserver/hw/nxagent/Render.c b/nx-X11/programs/Xserv ...@@ -25,9 +24,8 @@ diff -rupN a/nx-X11/programs/Xserver/hw/nxagent/Render.c b/nx-X11/programs/Xserv
} }
#ifdef TEST #ifdef TEST
diff -rupN a/nx-X11/programs/Xserver/hw/nxagent/X/NXpicture.c b/nx-X11/programs/Xserver/hw/nxagent/X/NXpicture.c --- a/nx-X11/programs/Xserver/hw/nxagent/X/NXpicture.c
--- a/nx-X11/programs/Xserver/hw/nxagent/X/NXpicture.c 2010-11-11 21:18:00.000000000 +0100 +++ b/nx-X11/programs/Xserver/hw/nxagent/X/NXpicture.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/X/NXpicture.c 2012-09-20 20:54:50.209817849 +0200
@@ -1137,6 +1137,10 @@ CreateSolidPicture (Picture pid, xRender @@ -1137,6 +1137,10 @@ CreateSolidPicture (Picture pid, xRender
} }
pPicture->pSourcePict->type = SourcePictTypeSolidFill; pPicture->pSourcePict->type = SourcePictTypeSolidFill;
...@@ -39,9 +37,8 @@ diff -rupN a/nx-X11/programs/Xserver/hw/nxagent/X/NXpicture.c b/nx-X11/programs/ ...@@ -39,9 +37,8 @@ diff -rupN a/nx-X11/programs/Xserver/hw/nxagent/X/NXpicture.c b/nx-X11/programs/
return pPicture; return pPicture;
} }
diff -rupN a/nx-X11/programs/Xserver/hw/nxagent/X/NXpicturestr.h b/nx-X11/programs/Xserver/hw/nxagent/X/NXpicturestr.h --- a/nx-X11/programs/Xserver/hw/nxagent/X/NXpicturestr.h
--- a/nx-X11/programs/Xserver/hw/nxagent/X/NXpicturestr.h 2010-10-22 16:04:24.000000000 +0200 +++ b/nx-X11/programs/Xserver/hw/nxagent/X/NXpicturestr.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/X/NXpicturestr.h 2012-09-20 20:55:31.106020653 +0200
@@ -95,6 +95,7 @@ typedef struct _PictTransform { @@ -95,6 +95,7 @@ typedef struct _PictTransform {
typedef struct _PictSolidFill { typedef struct _PictSolidFill {
unsigned int type; unsigned int type;
...@@ -50,4 +47,3 @@ diff -rupN a/nx-X11/programs/Xserver/hw/nxagent/X/NXpicturestr.h b/nx-X11/progra ...@@ -50,4 +47,3 @@ diff -rupN a/nx-X11/programs/Xserver/hw/nxagent/X/NXpicturestr.h b/nx-X11/progra
} PictSolidFill, *PictSolidFillPtr; } PictSolidFill, *PictSolidFillPtr;
typedef struct _PictGradientStop { typedef struct _PictGradientStop {
Description: Fix refresh errors on Win2012 RDP connections with speed=ADSL Description: Fix refresh errors on Win2012 RDP connections with speed=ADSL
Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
diff -rupN a/nx-X11/programs/Xserver/hw/nxagent/Render.c b/nx-X11/programs/Xserver/hw/nxagent/GCOps.c --- a/nx-X11/programs/Xserver/hw/nxagent/GCOps.c
--- a/nx-X11/programs/Xserver/hw/nxagent/GCOps.c 2014-05-06 12:52:35.082288455 +0200 +++ b/nx-X11/programs/Xserver/hw/nxagent/GCOps.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/GCOps.c 2014-05-06 12:54:00.258710819 +0200
@@ -339,7 +339,7 @@ FIXME: The popup could be synchronized w @@ -339,7 +339,7 @@ FIXME: The popup could be synchronized w
*/ */
......
...@@ -3,7 +3,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -3,7 +3,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
--- a/nx-X11/programs/Xserver/hw/nxagent/Args.c --- a/nx-X11/programs/Xserver/hw/nxagent/Args.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Args.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Args.c
@@ -984,7 +984,7 @@ @@ -984,7 +984,7 @@ int ddxProcessArgument(int argc, char *a
if (!strcmp(argv[i], "-clipboard")) if (!strcmp(argv[i], "-clipboard"))
{ {
...@@ -12,7 +12,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -12,7 +12,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
{ {
nxagentChangeOption(Clipboard, ClipboardBoth); nxagentChangeOption(Clipboard, ClipboardBoth);
} }
@@ -996,7 +996,7 @@ @@ -996,7 +996,7 @@ int ddxProcessArgument(int argc, char *a
{ {
nxagentChangeOption(Clipboard, ClipboardServer); nxagentChangeOption(Clipboard, ClipboardServer);
} }
...@@ -21,7 +21,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -21,7 +21,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
{ {
nxagentChangeOption(Clipboard, ClipboardNone); nxagentChangeOption(Clipboard, ClipboardNone);
} }
@@ -1255,6 +1255,29 @@ @@ -1255,6 +1255,29 @@ static void nxagentParseOptions(char *na
return; return;
} }
......
...@@ -8,11 +8,9 @@ Abstract: ...@@ -8,11 +8,9 @@ Abstract:
#585. #585.
Author: Ulrich Sibiller <uli42@gmx.de> Author: Ulrich Sibiller <uli42@gmx.de>
Index: nx-libs/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c --- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
=================================================================== +++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
--- nx-libs.orig/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c 2014-11-04 22:42:50.893569624 +0100 @@ -1556,10 +1556,14 @@ int nxagentInitClipboard(WindowPtr pWin)
+++ nx-libs/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c 2014-11-04 22:42:50.893569624 +0100
@@ -1556,10 +1556,14 @@
fprintf(stderr, "nxagentInitClipboard: Registering for XFixesSelectionNotify events.\n"); fprintf(stderr, "nxagentInitClipboard: Registering for XFixesSelectionNotify events.\n");
#endif #endif
......
...@@ -3,7 +3,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> ...@@ -3,7 +3,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
--- a/nx-X11/programs/Xserver/hw/nxagent/Args.c --- a/nx-X11/programs/Xserver/hw/nxagent/Args.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Args.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Args.c
@@ -60,6 +60,7 @@ @@ -60,6 +60,7 @@ is" without express or implied warranty.
#endif #endif
#include "Handlers.h" #include "Handlers.h"
#include "Error.h" #include "Error.h"
...@@ -11,7 +11,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> ...@@ -11,7 +11,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
/* /*
* NX includes and definitions. * NX includes and definitions.
@@ -1090,6 +1091,11 @@ @@ -1090,6 +1091,11 @@ static void nxagentParseOptions(char *na
return; return;
} }
...@@ -23,7 +23,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> ...@@ -23,7 +23,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
else if (!strcmp(name, "fullscreen")) else if (!strcmp(name, "fullscreen"))
{ {
if (nxagentReconnectTrap == True) if (nxagentReconnectTrap == True)
@@ -1369,6 +1375,11 @@ @@ -1369,6 +1375,11 @@ void nxagentProcessOptionsFile()
validateString(nxagentOptionFile)); validateString(nxagentOptionFile));
#endif #endif
...@@ -37,7 +37,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> ...@@ -37,7 +37,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
return; return;
--- a/nx-X11/programs/Xserver/hw/nxagent/Init.c --- a/nx-X11/programs/Xserver/hw/nxagent/Init.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Init.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Init.c
@@ -63,7 +63,7 @@ @@ -63,7 +63,7 @@ is" without express or implied warranty.
#include "NX.h" #include "NX.h"
#include "NXlib.h" #include "NXlib.h"
...@@ -46,7 +46,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> ...@@ -46,7 +46,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
/* /*
* Set here the required log level. * Set here the required log level.
*/ */
@@ -233,6 +233,7 @@ @@ -233,6 +233,7 @@ void InitOutput(ScreenInfo *screenInfo,
fprintf(stderr, "Info: Agent running with pid '%d'.\n", getpid()); fprintf(stderr, "Info: Agent running with pid '%d'.\n", getpid());
fprintf(stderr, "Session: Starting session at '%s'.\n", GetTimeAsString()); fprintf(stderr, "Session: Starting session at '%s'.\n", GetTimeAsString());
...@@ -56,7 +56,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> ...@@ -56,7 +56,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
/* /*
--- a/nx-X11/programs/Xserver/hw/nxagent/Reconnect.c --- a/nx-X11/programs/Xserver/hw/nxagent/Reconnect.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Reconnect.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Reconnect.c
@@ -118,6 +118,33 @@ @@ -118,6 +118,33 @@ void *reconnectLossyLevel[STEP_NONE];
static enum RECONNECTION_STEP failedStep; static enum RECONNECTION_STEP failedStep;
...@@ -90,7 +90,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> ...@@ -90,7 +90,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
int nxagentHandleConnectionStates(void) int nxagentHandleConnectionStates(void)
{ {
#ifdef TEST #ifdef TEST
@@ -211,6 +238,7 @@ @@ -211,6 +238,7 @@ TODO: This should be reset only when
fprintf(stderr, "Session: Display failure detected at '%s'.\n", GetTimeAsString()); fprintf(stderr, "Session: Display failure detected at '%s'.\n", GetTimeAsString());
fprintf(stderr, "Session: Suspending session at '%s'.\n", GetTimeAsString()); fprintf(stderr, "Session: Suspending session at '%s'.\n", GetTimeAsString());
...@@ -98,7 +98,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> ...@@ -98,7 +98,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
} }
nxagentDisconnectSession(); nxagentDisconnectSession();
@@ -265,6 +293,7 @@ @@ -265,6 +293,7 @@ TODO: This should be reset only when
fprintf(stderr, "Session: Session suspended at '%s'.\n", GetTimeAsString()); fprintf(stderr, "Session: Session suspended at '%s'.\n", GetTimeAsString());
#endif #endif
} }
...@@ -106,7 +106,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> ...@@ -106,7 +106,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
nxagentResetDisplayHandlers(); nxagentResetDisplayHandlers();
@@ -622,6 +651,7 @@ @@ -622,6 +651,7 @@ Bool nxagentReconnectSession(void)
#else #else
fprintf(stderr, "Session: Session resumed at '%s'.\n", GetTimeAsString()); fprintf(stderr, "Session: Session resumed at '%s'.\n", GetTimeAsString());
#endif #endif
...@@ -114,7 +114,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> ...@@ -114,7 +114,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
nxagentRemoveSplashWindow(NULL); nxagentRemoveSplashWindow(NULL);
@@ -785,12 +815,14 @@ @@ -785,12 +815,14 @@ void nxagentHandleConnectionChanges()
if (nxagentSessionState == SESSION_GOING_DOWN) if (nxagentSessionState == SESSION_GOING_DOWN)
{ {
fprintf(stderr, "Session: Suspending session at '%s'.\n", GetTimeAsString()); fprintf(stderr, "Session: Suspending session at '%s'.\n", GetTimeAsString());
...@@ -129,7 +129,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> ...@@ -129,7 +129,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
if (nxagentReconnectSession()) if (nxagentReconnectSession())
{ {
@@ -803,6 +835,7 @@ @@ -803,6 +835,7 @@ void nxagentHandleConnectionChanges()
fprintf(stderr, "Session: Display failure detected at '%s'.\n", GetTimeAsString()); fprintf(stderr, "Session: Display failure detected at '%s'.\n", GetTimeAsString());
fprintf(stderr, "Session: Suspending session at '%s'.\n", GetTimeAsString()); fprintf(stderr, "Session: Suspending session at '%s'.\n", GetTimeAsString());
...@@ -139,7 +139,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> ...@@ -139,7 +139,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
} }
--- a/nx-X11/programs/Xserver/hw/nxagent/Reconnect.h --- a/nx-X11/programs/Xserver/hw/nxagent/Reconnect.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Reconnect.h +++ b/nx-X11/programs/Xserver/hw/nxagent/Reconnect.h
@@ -34,6 +34,8 @@ @@ -34,6 +34,8 @@ void nxagentInitReconnector(void);
Bool nxagentReconnectSession(void); Bool nxagentReconnectSession(void);
int nxagentHandleConnectionStates(void); int nxagentHandleConnectionStates(void);
void nxagentHandleConnectionChanges(void); void nxagentHandleConnectionChanges(void);
...@@ -150,7 +150,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> ...@@ -150,7 +150,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
{ {
--- a/nx-X11/programs/Xserver/hw/nxagent/X/NXdispatch.c --- a/nx-X11/programs/Xserver/hw/nxagent/X/NXdispatch.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/X/NXdispatch.c +++ b/nx-X11/programs/Xserver/hw/nxagent/X/NXdispatch.c
@@ -609,6 +609,7 @@ @@ -609,6 +609,7 @@ Reply Total Cached Bits In Bits Out
#endif #endif
nxagentSessionState = SESSION_UP; nxagentSessionState = SESSION_UP;
...@@ -158,7 +158,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> ...@@ -158,7 +158,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
} }
#ifdef BLOCKS #ifdef BLOCKS
@@ -823,6 +824,7 @@ @@ -823,6 +824,7 @@ Reply Total Cached Bits In Bits Out
*/ */
fprintf(stderr, "Session: Terminating session at '%s'.\n", GetTimeAsString()); fprintf(stderr, "Session: Terminating session at '%s'.\n", GetTimeAsString());
...@@ -166,7 +166,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> ...@@ -166,7 +166,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
nxagentWaitDisplay(); nxagentWaitDisplay();
@@ -833,6 +835,7 @@ @@ -833,6 +835,7 @@ Reply Total Cached Bits In Bits Out
{ {
NXShadowDestroy(); NXShadowDestroy();
} }
......
...@@ -3,7 +3,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> ...@@ -3,7 +3,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
--- a/nxcomp/Loop.cpp --- a/nxcomp/Loop.cpp
+++ b/nxcomp/Loop.cpp +++ b/nxcomp/Loop.cpp
@@ -8872,7 +8872,8 @@ @@ -8872,7 +8872,8 @@ int ParseEnvironmentOptions(const char *
} }
else if (strcasecmp(name, "defer") == 0 || else if (strcasecmp(name, "defer") == 0 ||
strcasecmp(name, "tile") == 0 || strcasecmp(name, "tile") == 0 ||
......
...@@ -3,7 +3,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> ...@@ -3,7 +3,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
--- a/nxcomp/Loop.cpp --- a/nxcomp/Loop.cpp
+++ b/nxcomp/Loop.cpp +++ b/nxcomp/Loop.cpp
@@ -8328,8 +8328,8 @@ @@ -8328,8 +8328,8 @@ int ParseEnvironmentOptions(const char *
cerr << "Error" << ": Can't identify 'link' option in string '" cerr << "Error" << ": Can't identify 'link' option in string '"
<< value << "'.\n"; << value << "'.\n";
...@@ -14,7 +14,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> ...@@ -14,7 +14,7 @@ Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
} }
} }
else if (strcasecmp(name, "limit") == 0) else if (strcasecmp(name, "limit") == 0)
@@ -8783,8 +8783,8 @@ @@ -8783,8 +8783,8 @@ int ParseEnvironmentOptions(const char *
cerr << "Error" << ": Can't identify pack method for string '" cerr << "Error" << ": Can't identify pack method for string '"
<< value << "'.\n"; << value << "'.\n";
......
...@@ -15,7 +15,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android ...@@ -15,7 +15,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android
#include <zlib.h> #include <zlib.h>
--- a/nxcomp/Loop.cpp --- a/nxcomp/Loop.cpp
+++ b/nxcomp/Loop.cpp +++ b/nxcomp/Loop.cpp
@@ -4187,7 +4187,7 @@ @@ -4187,7 +4187,7 @@ int SetupDisplaySocket(int &xServerAddrF
#endif #endif
...@@ -24,7 +24,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android ...@@ -24,7 +24,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android
if ((separator == NULL) || !isdigit(*(separator + 1))) if ((separator == NULL) || !isdigit(*(separator + 1)))
{ {
@@ -8240,7 +8240,7 @@ @@ -8240,7 +8240,7 @@ int ParseEnvironmentOptions(const char *
char *name; char *name;
char *value; char *value;
...@@ -33,7 +33,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android ...@@ -33,7 +33,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android
if (value != NULL) if (value != NULL)
{ {
@@ -11010,7 +11010,7 @@ @@ -11010,7 +11010,7 @@ int ParsePackOption(const char *opt)
packMethod == PACK_LOSSLESS || packMethod == PACK_LOSSLESS ||
packMethod == PACK_ADAPTIVE) packMethod == PACK_ADAPTIVE)
{ {
...@@ -42,7 +42,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android ...@@ -42,7 +42,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android
if (dash != NULL && strlen(dash) == 2 && if (dash != NULL && strlen(dash) == 2 &&
*(dash + 1) >= '0' && *(dash + 1) <= '9') *(dash + 1) >= '0' && *(dash + 1) <= '9')
@@ -12275,6 +12275,10 @@ @@ -12275,6 +12275,10 @@ int SetShmem()
control -> ShmemServer = 0; control -> ShmemServer = 0;
} }
...@@ -53,7 +53,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android ...@@ -53,7 +53,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android
return 1; return 1;
} }
@@ -13525,7 +13529,7 @@ @@ -13525,7 +13529,7 @@ int ParseHostOption(const char *opt, cha
int newPort = port; int newPort = port;
...@@ -112,7 +112,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android ...@@ -112,7 +112,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android
#include <X11/X.h> #include <X11/X.h>
#include <X11/Xatom.h> #include <X11/Xatom.h>
@@ -1079,7 +1081,6 @@ @@ -1079,7 +1081,6 @@ int ServerChannel::handleRead(EncodeBuff
priority_++; priority_++;
} }
...@@ -120,7 +120,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android ...@@ -120,7 +120,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android
// //
// Account this data to the original opcode. // Account this data to the original opcode.
// //
@@ -1500,7 +1501,6 @@ @@ -1500,7 +1501,6 @@ int ServerChannel::handleRead(EncodeBuff
continue; continue;
} }
} }
...@@ -128,7 +128,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android ...@@ -128,7 +128,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android
// //
// Check if user pressed the CTRL+ALT+SHIFT+ESC key // Check if user pressed the CTRL+ALT+SHIFT+ESC key
// sequence because was unable to kill the session // sequence because was unable to kill the session
@@ -5475,7 +5475,7 @@ @@ -5475,7 +5475,7 @@ int ServerChannel::handleColormap(unsign
*logofs << "handleColormap: Dumping colormap entries:\n" *logofs << "handleColormap: Dumping colormap entries:\n"
<< logofs_flush; << logofs_flush;
...@@ -137,7 +137,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android ...@@ -137,7 +137,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android
for (unsigned int i = 0; i < unpackState_[resource] -> for (unsigned int i = 0; i < unpackState_[resource] ->
colormap -> entries; i++) colormap -> entries; i++)
@@ -7100,7 +7100,12 @@ @@ -7100,7 +7100,12 @@ int ServerChannel::handleShmemReply(Enco
{ {
encodeBuffer.encodeValue(stage, 2); encodeBuffer.encodeValue(stage, 2);
...@@ -150,7 +150,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android ...@@ -150,7 +150,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android
shmemState_ -> opcode = *(buffer + 9); shmemState_ -> opcode = *(buffer + 9);
shmemState_ -> event = *(buffer + 10); shmemState_ -> event = *(buffer + 10);
shmemState_ -> error = *(buffer + 11); shmemState_ -> error = *(buffer + 11);
@@ -7128,7 +7133,12 @@ @@ -7128,7 +7133,12 @@ int ServerChannel::handleShmemReply(Enco
cerr << "Info" << ": Using shared memory parameters 1/" cerr << "Info" << ": Using shared memory parameters 1/"
<< (shmemState_ -> size / 1024) << "K.\n"; << (shmemState_ -> size / 1024) << "K.\n";
...@@ -163,7 +163,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android ...@@ -163,7 +163,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android
encodeBuffer.encodeBoolValue(1); encodeBuffer.encodeBoolValue(1);
} }
@@ -7241,7 +7251,7 @@ @@ -7241,7 +7251,7 @@ int ServerChannel::handleShmemRequest(De
// memory support is disabled by the // memory support is disabled by the
// user. // user.
// //
...@@ -172,7 +172,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android ...@@ -172,7 +172,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android
if (control -> ShmemServer == 1 && if (control -> ShmemServer == 1 &&
control -> ShmemServerSize > 0 && control -> ShmemServerSize > 0 &&
enableServer == 1) enableServer == 1)
@@ -7252,8 +7262,12 @@ @@ -7252,8 +7262,12 @@ int ServerChannel::handleShmemRequest(De
{ {
memcpy(buffer + 8, "NO-MIT-", 7); memcpy(buffer + 8, "NO-MIT-", 7);
} }
...@@ -186,7 +186,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android ...@@ -186,7 +186,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android
opcodeStore_ -> getShmemParameters, stage); opcodeStore_ -> getShmemParameters, stage);
// //
@@ -7289,9 +7303,13 @@ @@ -7289,9 +7303,13 @@ int ServerChannel::handleShmemRequest(De
shmemState_ -> size = control -> ShmemServerSize; shmemState_ -> size = control -> ShmemServerSize;
...@@ -201,7 +201,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android ...@@ -201,7 +201,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android
if (shmemState_ -> id >= 0) if (shmemState_ -> id >= 0)
{ {
#if defined(TEST) || defined(INFO) #if defined(TEST) || defined(INFO)
@@ -7302,8 +7320,12 @@ @@ -7302,8 +7320,12 @@ int ServerChannel::handleShmemRequest(De
#endif #endif
...@@ -215,7 +215,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android ...@@ -215,7 +215,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android
if (shmemState_ -> address != NULL) if (shmemState_ -> address != NULL)
{ {
#ifdef TEST #ifdef TEST
@@ -7437,6 +7459,10 @@ @@ -7437,6 +7459,10 @@ int ServerChannel::handleShmem(unsigned
return 0; return 0;
} }
...@@ -226,7 +226,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android ...@@ -226,7 +226,7 @@ Description: Fix FTBFS of nxproxy/nxcomp on Android
// //
// Ignore null requests and requests that will not result // Ignore null requests and requests that will not result
@@ -8054,14 +8080,22 @@ @@ -8054,14 +8080,22 @@ void ServerChannel::handleShmemStateRemo
{ {
if (shmemState_ != NULL) if (shmemState_ != NULL)
{ {
......
...@@ -2,7 +2,7 @@ Description: Force NX proxy to bind to loopback devices only (loopback option) ...@@ -2,7 +2,7 @@ Description: Force NX proxy to bind to loopback devices only (loopback option)
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
--- a/nxcomp/Loop.cpp --- a/nxcomp/Loop.cpp
+++ b/nxcomp/Loop.cpp +++ b/nxcomp/Loop.cpp
@@ -952,6 +952,7 @@ @@ -952,6 +952,7 @@ static char listenHost[DEFAULT_STRING_LE
static char displayHost[DEFAULT_STRING_LENGTH] = { 0 }; static char displayHost[DEFAULT_STRING_LENGTH] = { 0 };
static char authCookie[DEFAULT_STRING_LENGTH] = { 0 }; static char authCookie[DEFAULT_STRING_LENGTH] = { 0 };
...@@ -10,7 +10,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -10,7 +10,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
static int proxyPort = DEFAULT_NX_PROXY_PORT; static int proxyPort = DEFAULT_NX_PROXY_PORT;
static int xPort = DEFAULT_NX_X_PORT; static int xPort = DEFAULT_NX_X_PORT;
@@ -3959,7 +3960,14 @@ @@ -3959,7 +3960,14 @@ int SetupTcpSocket()
tcpAddr.sin_family = AF_INET; tcpAddr.sin_family = AF_INET;
tcpAddr.sin_port = htons(proxyPortTCP); tcpAddr.sin_port = htons(proxyPortTCP);
...@@ -26,7 +26,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -26,7 +26,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
if (bind(tcpFD, (sockaddr *) &tcpAddr, sizeof(tcpAddr)) == -1) if (bind(tcpFD, (sockaddr *) &tcpAddr, sizeof(tcpAddr)) == -1)
{ {
@@ -4550,7 +4558,14 @@ @@ -4550,7 +4558,14 @@ int ListenConnection(int port, const cha
tcpAddr.sin_family = AF_INET; tcpAddr.sin_family = AF_INET;
tcpAddr.sin_port = htons(portTCP); tcpAddr.sin_port = htons(portTCP);
...@@ -42,7 +42,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -42,7 +42,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
if (bind(newFD, (sockaddr *) &tcpAddr, sizeof(tcpAddr)) == -1) if (bind(newFD, (sockaddr *) &tcpAddr, sizeof(tcpAddr)) == -1)
{ {
@@ -6718,7 +6733,14 @@ @@ -6718,7 +6733,14 @@ int WaitForRemote(int portNum)
#ifdef __APPLE__ #ifdef __APPLE__
...@@ -58,7 +58,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -58,7 +58,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
#else #else
@@ -8397,6 +8419,10 @@ @@ -8397,6 +8419,10 @@ int ParseEnvironmentOptions(const char *
listenPort = ValidateArg("local", name, value); listenPort = ValidateArg("local", name, value);
} }
...@@ -69,7 +69,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -69,7 +69,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
else if (strcasecmp(name, "accept") == 0) else if (strcasecmp(name, "accept") == 0)
{ {
if (*connectHost != '\0') if (*connectHost != '\0')
@@ -13778,7 +13804,14 @@ @@ -13778,7 +13804,14 @@ int ParseListenOption(int &address)
} }
else else
{ {
...@@ -102,7 +102,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -102,7 +102,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
// TCP port offset applied to any NX port specification. // TCP port offset applied to any NX port specification.
// //
@@ -137,6 +145,8 @@ @@ -137,6 +145,8 @@ static const char UsageInfo[] =
\n\ \n\
listen=n Local port used for accepting the proxy connection.\n\ listen=n Local port used for accepting the proxy connection.\n\
\n\ \n\
...@@ -113,7 +113,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -113,7 +113,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
connect=s Name or IP of host that the proxy will connect to.\n\ connect=s Name or IP of host that the proxy will connect to.\n\
--- a/nxcomp/Misc.h --- a/nxcomp/Misc.h
+++ b/nxcomp/Misc.h +++ b/nxcomp/Misc.h
@@ -90,6 +90,14 @@ @@ -90,6 +90,14 @@ extern const int DEFAULT_NX_SLAVE_PORT_C
extern const int DEFAULT_NX_SLAVE_PORT_SERVER_OFFSET; extern const int DEFAULT_NX_SLAVE_PORT_SERVER_OFFSET;
// //
......
...@@ -15,7 +15,7 @@ Author: Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de> ...@@ -15,7 +15,7 @@ Author: Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de>
Last-Update: 2012-01-11 Last-Update: 2012-01-11
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c --- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -1762,6 +1762,42 @@ @@ -1762,6 +1762,42 @@ N/A
nxagentDefaultWindows[pScreen->myNum]); nxagentDefaultWindows[pScreen->myNum]);
#endif #endif
......
...@@ -17,8 +17,6 @@ Last-Update: 2012-02-14 ...@@ -17,8 +17,6 @@ Last-Update: 2012-02-14
nx-X11/programs/nxauth/Imakefile | 2 +- nx-X11/programs/nxauth/Imakefile | 2 +-
3 files changed, 10 insertions(+), 9 deletions(-) 3 files changed, 10 insertions(+), 9 deletions(-)
Index: nx-X11/config/cf/host.def
===================================================================
--- a/nx-X11/config/cf/host.def --- a/nx-X11/config/cf/host.def
+++ b/nx-X11/config/cf/host.def +++ b/nx-X11/config/cf/host.def
@@ -138,7 +138,7 @@ XCOMM $XFree86: xc/config/cf/xf86site.de @@ -138,7 +138,7 @@ XCOMM $XFree86: xc/config/cf/xf86site.de
...@@ -68,8 +66,6 @@ Index: nx-X11/config/cf/host.def ...@@ -68,8 +66,6 @@ Index: nx-X11/config/cf/host.def
#endif #endif
#if !defined(NXZaurusXServer) && defined(NXiPAQXServer) #if !defined(NXZaurusXServer) && defined(NXiPAQXServer)
Index: nx-X11/programs/Xserver/Imakefile
===================================================================
--- a/nx-X11/programs/Xserver/Imakefile --- a/nx-X11/programs/Xserver/Imakefile
+++ b/nx-X11/programs/Xserver/Imakefile +++ b/nx-X11/programs/Xserver/Imakefile
@@ -1013,15 +1013,15 @@ $(NXAGENTOBJS) $(NXAGENTLIBS) $(NXAGENTS @@ -1013,15 +1013,15 @@ $(NXAGENTOBJS) $(NXAGENTLIBS) $(NXAGENTS
...@@ -91,8 +87,6 @@ Index: nx-X11/programs/Xserver/Imakefile ...@@ -91,8 +87,6 @@ Index: nx-X11/programs/Xserver/Imakefile
#endif #endif
#endif #endif
Index: nx-X11/programs/nxauth/Imakefile
===================================================================
--- a/nx-X11/programs/nxauth/Imakefile --- a/nx-X11/programs/nxauth/Imakefile
+++ b/nx-X11/programs/nxauth/Imakefile +++ b/nx-X11/programs/nxauth/Imakefile
@@ -26,7 +26,7 @@ XCOMM $XFree86: xc/programs/xauth/Imakef @@ -26,7 +26,7 @@ XCOMM $XFree86: xc/programs/xauth/Imakef
......
...@@ -6,7 +6,7 @@ Abstract: ...@@ -6,7 +6,7 @@ Abstract:
instead. instead.
--- a/nx-X11/programs/Xserver/xkb/ddxLoad.c --- a/nx-X11/programs/Xserver/xkb/ddxLoad.c
+++ b/nx-X11/programs/Xserver/xkb/ddxLoad.c +++ b/nx-X11/programs/Xserver/xkb/ddxLoad.c
@@ -180,7 +180,7 @@ @@ -180,7 +180,7 @@ Win32System(const char *cmdline)
#define NX_XKB_BASE_DIRECTORY "/usr/lib/X11/xkb" #define NX_XKB_BASE_DIRECTORY "/usr/lib/X11/xkb"
#define NX_XKB_ALTERNATE_BASE_DIRECTORY "/usr/share/X11/xkb" #define NX_XKB_ALTERNATE_BASE_DIRECTORY "/usr/share/X11/xkb"
...@@ -15,7 +15,7 @@ Abstract: ...@@ -15,7 +15,7 @@ Abstract:
#define NX_ALT_XKBCOMP_PATH "/usr/bin" #define NX_ALT_XKBCOMP_PATH "/usr/bin"
static char _NXXkbBasePath[PATH_MAX]; static char _NXXkbBasePath[PATH_MAX];
@@ -189,43 +189,43 @@ @@ -189,43 +189,43 @@ static char _NXXkbCompPath[PATH_MAX];
static int NXVerifyXkbBaseDirectory(const char *dirPath) static int NXVerifyXkbBaseDirectory(const char *dirPath)
{ {
int size; int size;
...@@ -73,7 +73,7 @@ Abstract: ...@@ -73,7 +73,7 @@ Abstract:
return 0; return 0;
} }
@@ -235,7 +235,7 @@ @@ -235,7 +235,7 @@ static int NXVerifyXkbBaseDirectory(cons
dirPath); dirPath);
#endif #endif
......
...@@ -10,7 +10,7 @@ Author: Nito Martinez <Nito@Qindel.ES> ...@@ -10,7 +10,7 @@ Author: Nito Martinez <Nito@Qindel.ES>
#include "NXpack.h" #include "NXpack.h"
#include "Control.h" #include "Control.h"
@@ -594,44 +595,17 @@ @@ -594,44 +595,17 @@ Control::Control()
RemoteVersionMajor = -1; RemoteVersionMajor = -1;
RemoteVersionMinor = -1; RemoteVersionMinor = -1;
RemoteVersionPatch = -1; RemoteVersionPatch = -1;
...@@ -63,7 +63,7 @@ Author: Nito Martinez <Nito@Qindel.ES> ...@@ -63,7 +63,7 @@ Author: Nito Martinez <Nito@Qindel.ES>
*logofs << "Control: Major version is " << LocalVersionMajor *logofs << "Control: Major version is " << LocalVersionMajor
--- a/nxcomp/Control.h --- a/nxcomp/Control.h
+++ b/nxcomp/Control.h +++ b/nxcomp/Control.h
@@ -299,17 +299,26 @@ @@ -299,17 +299,26 @@ class Control
// Version number of local and remote proxy. // Version number of local and remote proxy.
// //
...@@ -92,7 +92,7 @@ Author: Nito Martinez <Nito@Qindel.ES> ...@@ -92,7 +92,7 @@ Author: Nito Martinez <Nito@Qindel.ES>
// Which unpack methods are implemented in proxy? // Which unpack methods are implemented in proxy?
--- a/nxcomp/Loop.cpp --- a/nxcomp/Loop.cpp
+++ b/nxcomp/Loop.cpp +++ b/nxcomp/Loop.cpp
@@ -14250,7 +14250,8 @@ @@ -14250,7 +14250,8 @@ void PrintVersionInfo()
cerr << "NXPROXY - " << "Version " cerr << "NXPROXY - " << "Version "
<< control -> LocalVersionMajor << "." << control -> LocalVersionMajor << "."
<< control -> LocalVersionMinor << "." << control -> LocalVersionMinor << "."
...@@ -104,7 +104,7 @@ Author: Nito Martinez <Nito@Qindel.ES> ...@@ -104,7 +104,7 @@ Author: Nito Martinez <Nito@Qindel.ES>
} }
--- a/nxcomp/Makefile.in --- a/nxcomp/Makefile.in
+++ b/nxcomp/Makefile.in +++ b/nxcomp/Makefile.in
@@ -105,7 +105,8 @@ @@ -105,7 +105,8 @@ MSRC =
CSRC = MD5.c \ CSRC = MD5.c \
Pack.c \ Pack.c \
...@@ -116,7 +116,7 @@ Author: Nito Martinez <Nito@Qindel.ES> ...@@ -116,7 +116,7 @@ Author: Nito Martinez <Nito@Qindel.ES>
Children.cpp \ Children.cpp \
--- a/nxcomp/NX.h --- a/nxcomp/NX.h
+++ b/nxcomp/NX.h +++ b/nxcomp/NX.h
@@ -442,6 +442,12 @@ @@ -442,6 +442,12 @@ extern int NXTransParseEnvironment(const
extern void NXTransCleanup(void) __attribute__((noreturn)); extern void NXTransCleanup(void) __attribute__((noreturn));
......
...@@ -54,7 +54,7 @@ Last-Update: 2012-02-15 ...@@ -54,7 +54,7 @@ Last-Update: 2012-02-15
--- a/nx-X11/config/cf/Imake.rules --- a/nx-X11/config/cf/Imake.rules
+++ b/nx-X11/config/cf/Imake.rules +++ b/nx-X11/config/cf/Imake.rules
@@ -2124,9 +2124,9 @@ @@ -2124,9 +2124,9 @@ LintLibReferences(varname,libname,libsou
*/ */
#ifndef ProjectUnsharedFontLibReferences #ifndef ProjectUnsharedFontLibReferences
#define ProjectUnsharedFontLibReferences() @@\ #define ProjectUnsharedFontLibReferences() @@\
...@@ -67,7 +67,7 @@ Last-Update: 2012-02-15 ...@@ -67,7 +67,7 @@ Last-Update: 2012-02-15
#endif #endif
/* /*
@@ -2142,9 +2142,9 @@ @@ -2142,9 +2142,9 @@ LintLibReferences(XFONT,Xfont,$(FONTLIBS
#ifndef SharedFontLibReferences #ifndef SharedFontLibReferences
#define SharedFontLibReferences() @@\ #define SharedFontLibReferences() @@\
SOFONTREV = SharedFontRev @@\ SOFONTREV = SharedFontRev @@\
...@@ -82,7 +82,7 @@ Last-Update: 2012-02-15 ...@@ -82,7 +82,7 @@ Last-Update: 2012-02-15
/* /*
--- a/nx-X11/config/cf/X11.tmpl --- a/nx-X11/config/cf/X11.tmpl
+++ b/nx-X11/config/cf/X11.tmpl +++ b/nx-X11/config/cf/X11.tmpl
@@ -1835,9 +1835,9 @@ @@ -1835,9 +1835,9 @@ VENDORSUPPORTDEFS = VendorSupportDefines
#ifndef SharedX11Rev #ifndef SharedX11Rev
#define SharedX11Rev 6.2 #define SharedX11Rev 6.2
#endif #endif
...@@ -94,7 +94,7 @@ Last-Update: 2012-02-15 ...@@ -94,7 +94,7 @@ Last-Update: 2012-02-15
#endif #endif
/* Common alternate spellings */ /* Common alternate spellings */
DEPXLIBONLY = $(DEPXONLYLIB) DEPXLIBONLY = $(DEPXONLYLIB)
@@ -2466,9 +2466,9 @@ @@ -2466,9 +2466,9 @@ ProjectUnsharedLibReferences(XONLY,X11,$
#ifndef SharedXextRev #ifndef SharedXextRev
#define SharedXextRev 6.4 #define SharedXextRev 6.4
#endif #endif
...@@ -106,7 +106,7 @@ Last-Update: 2012-02-15 ...@@ -106,7 +106,7 @@ Last-Update: 2012-02-15
#endif #endif
LINTEXTENSIONLIB = $(LINTEXTENSION) LINTEXTENSIONLIB = $(LINTEXTENSION)
DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB) DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB)
@@ -2480,9 +2480,9 @@ @@ -2480,9 +2480,9 @@ LINTEXTENSIONLIB = $(LINTEXTENSION)
#ifndef SharedXssRev #ifndef SharedXssRev
#define SharedXssRev 1.0 #define SharedXssRev 1.0
#endif #endif
...@@ -118,7 +118,7 @@ Last-Update: 2012-02-15 ...@@ -118,7 +118,7 @@ Last-Update: 2012-02-15
#endif #endif
XXF86MISCLIBSRC = $(LIBSRC)/Xxf86misc XXF86MISCLIBSRC = $(LIBSRC)/Xxf86misc
@@ -2490,9 +2490,9 @@ @@ -2490,9 +2490,9 @@ ProjectUnsharedLibReferences(XSS,Xss,$(X
#ifndef SharedXxf86miscRev #ifndef SharedXxf86miscRev
#define SharedXxf86miscRev 1.1 #define SharedXxf86miscRev 1.1
#endif #endif
...@@ -130,7 +130,7 @@ Last-Update: 2012-02-15 ...@@ -130,7 +130,7 @@ Last-Update: 2012-02-15
#endif #endif
XXF86VMLIBSRC = $(LIBSRC)/Xxf86vm XXF86VMLIBSRC = $(LIBSRC)/Xxf86vm
@@ -2500,9 +2500,9 @@ @@ -2500,9 +2500,9 @@ ProjectUnsharedLibReferences(XXF86MISC,X
#ifndef SharedXxf86vmRev #ifndef SharedXxf86vmRev
#define SharedXxf86vmRev 1.0 #define SharedXxf86vmRev 1.0
#endif #endif
...@@ -142,7 +142,7 @@ Last-Update: 2012-02-15 ...@@ -142,7 +142,7 @@ Last-Update: 2012-02-15
#endif #endif
XXF86DGALIBSRC = $(LIBSRC)/Xxf86dga XXF86DGALIBSRC = $(LIBSRC)/Xxf86dga
@@ -2510,9 +2510,9 @@ @@ -2510,9 +2510,9 @@ ProjectUnsharedLibReferences(XXF86VM,Xxf
#ifndef SharedXxf86dgaRev #ifndef SharedXxf86dgaRev
#define SharedXxf86dgaRev 1.0 #define SharedXxf86dgaRev 1.0
#endif #endif
...@@ -154,7 +154,7 @@ Last-Update: 2012-02-15 ...@@ -154,7 +154,7 @@ Last-Update: 2012-02-15
#endif #endif
#if BuildDmxLibrary #if BuildDmxLibrary
@@ -2544,9 +2544,9 @@ @@ -2544,9 +2544,9 @@ ProjectUnsharedLibReferences(XXF86DGA,Xx
#ifndef SharedXxf86rushRev #ifndef SharedXxf86rushRev
#define SharedXxf86rushRev 1.0 #define SharedXxf86rushRev 1.0
#endif #endif
...@@ -166,7 +166,7 @@ Last-Update: 2012-02-15 ...@@ -166,7 +166,7 @@ Last-Update: 2012-02-15
#endif #endif
@@ -2555,9 +2555,9 @@ @@ -2555,9 +2555,9 @@ ProjectUnsharedLibReferences(XXF86RUSH,X
#ifndef SharedXvRev #ifndef SharedXvRev
#define SharedXvRev 1.0 #define SharedXvRev 1.0
#endif #endif
...@@ -178,7 +178,7 @@ Last-Update: 2012-02-15 ...@@ -178,7 +178,7 @@ Last-Update: 2012-02-15
#endif #endif
@@ -2566,9 +2566,9 @@ @@ -2566,9 +2566,9 @@ ProjectUnsharedLibReferences(XV,Xv,$(XVL
#ifndef SharedXvMCRev #ifndef SharedXvMCRev
#define SharedXvMCRev 1.0 #define SharedXvMCRev 1.0
#endif #endif
...@@ -190,7 +190,7 @@ Last-Update: 2012-02-15 ...@@ -190,7 +190,7 @@ Last-Update: 2012-02-15
#endif #endif
XINERAMALIBSRC = $(LIBSRC)/Xinerama XINERAMALIBSRC = $(LIBSRC)/Xinerama
@@ -2576,9 +2576,9 @@ @@ -2576,9 +2576,9 @@ ProjectUnsharedLibReferences(XVMC,XvMC,$
#ifndef SharedXineramaRev #ifndef SharedXineramaRev
#define SharedXineramaRev 1.0 #define SharedXineramaRev 1.0
#endif #endif
...@@ -202,7 +202,7 @@ Last-Update: 2012-02-15 ...@@ -202,7 +202,7 @@ Last-Update: 2012-02-15
#endif #endif
XRESLIBSRC = $(LIBSRC)/XRes XRESLIBSRC = $(LIBSRC)/XRes
@@ -2586,9 +2586,9 @@ @@ -2586,9 +2586,9 @@ ProjectUnsharedLibReferences(XINERAMA,Xi
#ifndef SharedXResRev #ifndef SharedXResRev
#define SharedXResRev 1.0 #define SharedXResRev 1.0
#endif #endif
...@@ -214,7 +214,7 @@ Last-Update: 2012-02-15 ...@@ -214,7 +214,7 @@ Last-Update: 2012-02-15
#endif #endif
DMXLIBSRC = $(LIBSRC)/dmx DMXLIBSRC = $(LIBSRC)/dmx
@@ -2596,9 +2596,9 @@ @@ -2596,9 +2596,9 @@ ProjectUnsharedLibReferences(XRES,XRes,$
#ifndef SharedDmxRev #ifndef SharedDmxRev
#define SharedDmxRev 1.0 #define SharedDmxRev 1.0
#endif #endif
...@@ -226,7 +226,7 @@ Last-Update: 2012-02-15 ...@@ -226,7 +226,7 @@ Last-Update: 2012-02-15
#endif #endif
DPSLIBSRC = $(LIBSRC)/dps DPSLIBSRC = $(LIBSRC)/dps
@@ -2606,9 +2606,9 @@ @@ -2606,9 +2606,9 @@ ProjectUnsharedLibReferences(DMX,dmx,$(D
#ifndef SharedDpsRev #ifndef SharedDpsRev
#define SharedDpsRev 1.0 #define SharedDpsRev 1.0
#endif #endif
...@@ -238,7 +238,7 @@ Last-Update: 2012-02-15 ...@@ -238,7 +238,7 @@ Last-Update: 2012-02-15
#endif #endif
DPSTKLIBSRC = $(LIBSRC)/dpstk DPSTKLIBSRC = $(LIBSRC)/dpstk
@@ -2616,9 +2616,9 @@ @@ -2616,9 +2616,9 @@ ProjectUnsharedLibReferences(DPS,dps,$(D
#ifndef SharedDpsTkRev #ifndef SharedDpsTkRev
#define SharedDpsTkRev 1.0 #define SharedDpsTkRev 1.0
#endif #endif
...@@ -250,7 +250,7 @@ Last-Update: 2012-02-15 ...@@ -250,7 +250,7 @@ Last-Update: 2012-02-15
#endif #endif
PSRESLIBSRC = $(LIBSRC)/psres PSRESLIBSRC = $(LIBSRC)/psres
@@ -2626,9 +2626,9 @@ @@ -2626,9 +2626,9 @@ ProjectUnsharedLibReferences(DPSTK,dpstk
#ifndef SharedPSResRev #ifndef SharedPSResRev
#define SharedPSResRev 1.0 #define SharedPSResRev 1.0
#endif #endif
...@@ -262,7 +262,7 @@ Last-Update: 2012-02-15 ...@@ -262,7 +262,7 @@ Last-Update: 2012-02-15
#endif #endif
GLULIBSRC = $(LIBSRC)/GLU GLULIBSRC = $(LIBSRC)/GLU
@@ -2636,9 +2636,9 @@ @@ -2636,9 +2636,9 @@ ProjectUnsharedLibReferences(PSRES,psres
#ifndef SharedGluRev #ifndef SharedGluRev
#define SharedGluRev 1.3 #define SharedGluRev 1.3
#endif #endif
...@@ -274,7 +274,7 @@ Last-Update: 2012-02-15 ...@@ -274,7 +274,7 @@ Last-Update: 2012-02-15
#endif #endif
GLXLIBSRC = $(LIBSRC)/GL GLXLIBSRC = $(LIBSRC)/GL
@@ -2646,18 +2646,18 @@ @@ -2646,18 +2646,18 @@ ProjectUnsharedLibReferences(GLU,GLU,$(G
#ifndef SharedGlxRev #ifndef SharedGlxRev
#define SharedGlxRev 1.2 #define SharedGlxRev 1.2
#endif #endif
...@@ -297,7 +297,7 @@ Last-Update: 2012-02-15 ...@@ -297,7 +297,7 @@ Last-Update: 2012-02-15
#endif #endif
XRENDERLIBSRC = $(LIBSRC)/Xrender XRENDERLIBSRC = $(LIBSRC)/Xrender
@@ -2665,9 +2665,9 @@ @@ -2665,9 +2665,9 @@ ProjectUnsharedLibReferences(GLW,GLw,$(G
#ifndef SharedXrenderRev #ifndef SharedXrenderRev
#define SharedXrenderRev 1.2.2 #define SharedXrenderRev 1.2.2
#endif #endif
...@@ -309,7 +309,7 @@ Last-Update: 2012-02-15 ...@@ -309,7 +309,7 @@ Last-Update: 2012-02-15
#endif #endif
XRANDRLIBSRC = $(LIBSRC)/Xrandr XRANDRLIBSRC = $(LIBSRC)/Xrandr
@@ -2675,9 +2675,9 @@ @@ -2675,9 +2675,9 @@ ProjectUnsharedLibReferences(XRENDER,Xre
#ifndef SharedXrandrRev #ifndef SharedXrandrRev
#define SharedXrandrRev 2.0 #define SharedXrandrRev 2.0
#endif #endif
...@@ -321,7 +321,7 @@ Last-Update: 2012-02-15 ...@@ -321,7 +321,7 @@ Last-Update: 2012-02-15
#endif #endif
XFIXESLIBSRC = $(LIBSRC)/Xfixes XFIXESLIBSRC = $(LIBSRC)/Xfixes
@@ -2685,9 +2685,9 @@ @@ -2685,9 +2685,9 @@ ProjectUnsharedLibReferences(XRANDR,Xran
#ifndef SharedXfixesRev #ifndef SharedXfixesRev
#define SharedXfixesRev 3.0 #define SharedXfixesRev 3.0
#endif #endif
...@@ -333,7 +333,7 @@ Last-Update: 2012-02-15 ...@@ -333,7 +333,7 @@ Last-Update: 2012-02-15
#endif #endif
XDAMAGELIBSRC = $(LIBSRC)/Xdamage XDAMAGELIBSRC = $(LIBSRC)/Xdamage
@@ -2695,9 +2695,9 @@ @@ -2695,9 +2695,9 @@ ProjectUnsharedLibReferences(XFIXES,Xfix
#ifndef SharedXdamageRev #ifndef SharedXdamageRev
#define SharedXdamageRev 1.0 #define SharedXdamageRev 1.0
#endif #endif
...@@ -345,7 +345,7 @@ Last-Update: 2012-02-15 ...@@ -345,7 +345,7 @@ Last-Update: 2012-02-15
#endif #endif
XCOMPOSITELIBSRC = $(LIBSRC)/Xcomposite XCOMPOSITELIBSRC = $(LIBSRC)/Xcomposite
@@ -2705,9 +2705,9 @@ @@ -2705,9 +2705,9 @@ XCOMPOSITELIBSRC = $(LIBSRC)/Xcomposite
#ifndef SharedXcompositeRev #ifndef SharedXcompositeRev
#define SharedXcompositeRev 1.0 #define SharedXcompositeRev 1.0
#endif #endif
...@@ -357,7 +357,7 @@ Last-Update: 2012-02-15 ...@@ -357,7 +357,7 @@ Last-Update: 2012-02-15
#endif #endif
XEVIELIBSRC = $(LIBSRC)/Xevie XEVIELIBSRC = $(LIBSRC)/Xevie
@@ -2715,9 +2715,9 @@ @@ -2715,9 +2715,9 @@ XEVIELIBSRC = $(LIBSRC)/Xevie
#ifndef SharedXevieRev #ifndef SharedXevieRev
#define SharedXevieRev 1.0 #define SharedXevieRev 1.0
#endif #endif
...@@ -369,7 +369,7 @@ Last-Update: 2012-02-15 ...@@ -369,7 +369,7 @@ Last-Update: 2012-02-15
#endif #endif
XCURSORLIBSRC = $(LIBSRC)/Xcursor XCURSORLIBSRC = $(LIBSRC)/Xcursor
@@ -2725,9 +2725,9 @@ @@ -2725,9 +2725,9 @@ ProjectUnsharedLibReferences(XEVIE,Xevie
#ifndef SharedXcursorRev #ifndef SharedXcursorRev
#define SharedXcursorRev 1.0.2 #define SharedXcursorRev 1.0.2
#endif #endif
...@@ -381,7 +381,7 @@ Last-Update: 2012-02-15 ...@@ -381,7 +381,7 @@ Last-Update: 2012-02-15
#endif #endif
APPLEWMLIBSRC = $(LIBSRC)/apple APPLEWMLIBSRC = $(LIBSRC)/apple
@@ -2735,9 +2735,9 @@ @@ -2735,9 +2735,9 @@ ProjectUnsharedLibReferences(XCURSOR,Xcu
#ifndef SharedAppleWMRev #ifndef SharedAppleWMRev
#define SharedAppleWMRev 1.0 #define SharedAppleWMRev 1.0
#endif #endif
...@@ -393,7 +393,7 @@ Last-Update: 2012-02-15 ...@@ -393,7 +393,7 @@ Last-Update: 2012-02-15
#endif #endif
WINDOWSWMLIBSRC = $(LIBSRC)/windows WINDOWSWMLIBSRC = $(LIBSRC)/windows
@@ -2745,9 +2745,9 @@ @@ -2745,9 +2745,9 @@ ProjectUnsharedLibReferences(APPLEWM,App
#ifndef SharedWindowsWMRev #ifndef SharedWindowsWMRev
#define SharedWindowsWMRev 1.0 #define SharedWindowsWMRev 1.0
#endif #endif
...@@ -405,7 +405,7 @@ Last-Update: 2012-02-15 ...@@ -405,7 +405,7 @@ Last-Update: 2012-02-15
#endif #endif
# ifndef SharedLibXfontcache # ifndef SharedLibXfontcache
@@ -2768,9 +2768,9 @@ @@ -2768,9 +2768,9 @@ ProjectUnsharedLibReferences(WINDOWSWM,W
#ifndef SharedXfontcacheRev #ifndef SharedXfontcacheRev
#define SharedXfontcacheRev 1.2 #define SharedXfontcacheRev 1.2
#endif #endif
...@@ -417,7 +417,7 @@ Last-Update: 2012-02-15 ...@@ -417,7 +417,7 @@ Last-Update: 2012-02-15
#endif #endif
#ifndef SharedLibXau #ifndef SharedLibXau
@@ -2790,12 +2790,12 @@ @@ -2790,12 +2790,12 @@ ProjectUnsharedLibReferences(XFONTCACHE,
#ifndef SharedXauRev #ifndef SharedXauRev
#define SharedXauRev 6.0 #define SharedXauRev 6.0
#endif #endif
...@@ -433,7 +433,7 @@ Last-Update: 2012-02-15 ...@@ -433,7 +433,7 @@ Last-Update: 2012-02-15
#endif #endif
#endif #endif
@@ -2816,12 +2816,12 @@ @@ -2816,12 +2816,12 @@ ProjectUnsharedLibReferences(XAUTH,Xau,$
#ifndef SharedXdmcpRev #ifndef SharedXdmcpRev
#define SharedXdmcpRev 6.0 #define SharedXdmcpRev 6.0
#endif #endif
...@@ -449,7 +449,7 @@ Last-Update: 2012-02-15 ...@@ -449,7 +449,7 @@ Last-Update: 2012-02-15
#endif #endif
#endif #endif
@@ -2842,9 +2842,9 @@ @@ -2842,9 +2842,9 @@ ProjectUnsharedLibReferences(XDMCP,Xdmcp
#ifndef SharedXmuRev #ifndef SharedXmuRev
#define SharedXmuRev 6.2 #define SharedXmuRev 6.2
#endif #endif
...@@ -461,7 +461,7 @@ Last-Update: 2012-02-15 ...@@ -461,7 +461,7 @@ Last-Update: 2012-02-15
#endif #endif
#ifndef SharedLibXmuu #ifndef SharedLibXmuu
@@ -2864,9 +2864,9 @@ @@ -2864,9 +2864,9 @@ ProjectUnsharedLibReferences(XMU,Xmu,$(X
#ifndef SharedXmuuRev #ifndef SharedXmuuRev
#define SharedXmuuRev 1.0 #define SharedXmuuRev 1.0
#endif #endif
...@@ -473,7 +473,7 @@ Last-Update: 2012-02-15 ...@@ -473,7 +473,7 @@ Last-Update: 2012-02-15
#endif #endif
#ifndef SharedOldX #ifndef SharedOldX
@@ -2886,9 +2886,9 @@ @@ -2886,9 +2886,9 @@ ProjectUnsharedLibReferences(XMUU,Xmuu,$
#ifndef SharedOldXRev #ifndef SharedOldXRev
#define SharedOldXRev 6.0 #define SharedOldXRev 6.0
#endif #endif
...@@ -485,7 +485,7 @@ Last-Update: 2012-02-15 ...@@ -485,7 +485,7 @@ Last-Update: 2012-02-15
#endif #endif
#ifndef SharedLibXp #ifndef SharedLibXp
@@ -2908,9 +2908,9 @@ @@ -2908,9 +2908,9 @@ ProjectUnsharedLibReferences(OLDX,oldX,$
#ifndef SharedXpRev #ifndef SharedXpRev
#define SharedXpRev 6.2 #define SharedXpRev 6.2
#endif #endif
...@@ -497,7 +497,7 @@ Last-Update: 2012-02-15 ...@@ -497,7 +497,7 @@ Last-Update: 2012-02-15
#endif #endif
#ifndef SharedLibXt #ifndef SharedLibXt
@@ -2930,9 +2930,9 @@ @@ -2930,9 +2930,9 @@ ProjectUnsharedLibReferences(XP,Xp,$(XPL
#ifndef SharedXtRev #ifndef SharedXtRev
#define SharedXtRev 6.0 #define SharedXtRev 6.0
#endif #endif
...@@ -509,7 +509,7 @@ Last-Update: 2012-02-15 ...@@ -509,7 +509,7 @@ Last-Update: 2012-02-15
#endif #endif
DEPXTOOLLIB = $(DEPXTOOLONLYLIB) $(DEPSMLIB) $(DEPICELIB) DEPXTOOLLIB = $(DEPXTOOLONLYLIB) $(DEPSMLIB) $(DEPICELIB)
XTOOLLIB = $(XTOOLONLYLIB) $(SMLIB) $(ICELIB) XTOOLLIB = $(XTOOLONLYLIB) $(SMLIB) $(ICELIB)
@@ -2956,9 +2956,9 @@ @@ -2956,9 +2956,9 @@ ProjectUnsharedLibReferences(XTOOLONLY,X
#ifndef SharedXaRev #ifndef SharedXaRev
#define SharedXaRev 1.0 #define SharedXaRev 1.0
#endif #endif
...@@ -521,7 +521,7 @@ Last-Update: 2012-02-15 ...@@ -521,7 +521,7 @@ Last-Update: 2012-02-15
#endif #endif
#ifndef BuildXaw #ifndef BuildXaw
@@ -2985,9 +2985,9 @@ @@ -2985,9 +2985,9 @@ UnsharedLibReferences(XA,Xa,$(XALIBSRC))
#ifndef SharedXawRev #ifndef SharedXawRev
#define SharedXawRev 8.0 #define SharedXawRev 8.0
#endif #endif
...@@ -533,7 +533,7 @@ Last-Update: 2012-02-15 ...@@ -533,7 +533,7 @@ Last-Update: 2012-02-15
#endif #endif
#endif #endif
@@ -3013,14 +3013,14 @@ @@ -3013,14 +3013,14 @@ ProjectUnsharedLibReferences(XAW,Xaw,$(A
#ifndef SharedXaw7Rev #ifndef SharedXaw7Rev
#define SharedXaw7Rev 7.0 #define SharedXaw7Rev 7.0
#endif #endif
...@@ -552,7 +552,7 @@ Last-Update: 2012-02-15 ...@@ -552,7 +552,7 @@ Last-Update: 2012-02-15
#endif #endif
#endif #endif
#endif #endif
@@ -3048,14 +3048,14 @@ @@ -3048,14 +3048,14 @@ ProjectUnsharedLibReferences(XAW,Xaw,$(A
#ifndef SharedXaw6Rev #ifndef SharedXaw6Rev
#define SharedXaw6Rev 6.1 #define SharedXaw6Rev 6.1
#endif #endif
...@@ -571,7 +571,7 @@ Last-Update: 2012-02-15 ...@@ -571,7 +571,7 @@ Last-Update: 2012-02-15
#endif #endif
#endif #endif
#endif #endif
@@ -3077,9 +3077,9 @@ @@ -3077,9 +3077,9 @@ ProjectUnsharedLibReferences(XAW,Xaw,$(A
#ifndef SharedXiRev #ifndef SharedXiRev
#define SharedXiRev 6.0 #define SharedXiRev 6.0
#endif #endif
...@@ -583,7 +583,7 @@ Last-Update: 2012-02-15 ...@@ -583,7 +583,7 @@ Last-Update: 2012-02-15
#endif #endif
#ifndef SharedLibXtst #ifndef SharedLibXtst
@@ -3099,12 +3099,12 @@ @@ -3099,12 +3099,12 @@ ProjectUnsharedLibReferences(XI,Xi,$(XIL
#ifndef SharedXtstRev #ifndef SharedXtstRev
#define SharedXtstRev 6.1 #define SharedXtstRev 6.1
#endif #endif
...@@ -599,7 +599,7 @@ Last-Update: 2012-02-15 ...@@ -599,7 +599,7 @@ Last-Update: 2012-02-15
#ifndef SharedLibICE #ifndef SharedLibICE
#define SharedLibICE HasSharedLibraries #define SharedLibICE HasSharedLibraries
@@ -3123,9 +3123,9 @@ @@ -3123,9 +3123,9 @@ ProjectUnsharedLibReferences(XBSD,Xbsd,$
#ifndef SharedICERev #ifndef SharedICERev
#define SharedICERev 6.4 #define SharedICERev 6.4
#endif #endif
...@@ -611,7 +611,7 @@ Last-Update: 2012-02-15 ...@@ -611,7 +611,7 @@ Last-Update: 2012-02-15
#endif #endif
#ifndef SharedLibSM #ifndef SharedLibSM
@@ -3145,9 +3145,9 @@ @@ -3145,9 +3145,9 @@ ProjectUnsharedLibReferences(ICE,ICE,$(I
#ifndef SharedSMRev #ifndef SharedSMRev
#define SharedSMRev 6.0 #define SharedSMRev 6.0
#endif #endif
...@@ -623,7 +623,7 @@ Last-Update: 2012-02-15 ...@@ -623,7 +623,7 @@ Last-Update: 2012-02-15
#endif #endif
#ifndef SharedLibXkey #ifndef SharedLibXkey
@@ -3167,9 +3167,9 @@ @@ -3167,9 +3167,9 @@ ProjectUnsharedLibReferences(SM,SM,$(SMS
#ifndef SharedXkeyRev #ifndef SharedXkeyRev
#define SharedXkeyRev 6.0 #define SharedXkeyRev 6.0
#endif #endif
...@@ -635,7 +635,7 @@ Last-Update: 2012-02-15 ...@@ -635,7 +635,7 @@ Last-Update: 2012-02-15
#endif #endif
#ifndef SharedLibFS #ifndef SharedLibFS
@@ -3189,9 +3189,9 @@ @@ -3189,9 +3189,9 @@ ProjectUnsharedLibReferences(XKEY,Xkey,$
#ifndef SharedFSRev #ifndef SharedFSRev
#define SharedFSRev 6.0 #define SharedFSRev 6.0
#endif #endif
...@@ -647,7 +647,7 @@ Last-Update: 2012-02-15 ...@@ -647,7 +647,7 @@ Last-Update: 2012-02-15
#endif #endif
#ifndef SharedLibFont #ifndef SharedLibFont
@@ -3212,14 +3212,14 @@ @@ -3212,14 +3212,14 @@ ProjectUnsharedLibReferences(FS,FS,$(FSL
#define SharedFontRev 1.5 #define SharedFontRev 1.5
#endif #endif
SharedFontLibReferences() SharedFontLibReferences()
...@@ -665,7 +665,7 @@ Last-Update: 2012-02-15 ...@@ -665,7 +665,7 @@ Last-Update: 2012-02-15
DEPFONTLIB = $(DEPXFONTLIB) $(DEPFONTSTUBLIB) DEPFONTLIB = $(DEPXFONTLIB) $(DEPFONTSTUBLIB)
FONTLIB = $(XFONTLIB) $(FONTSTUBLIB) $(FREETYPE2LIB) FONTLIB = $(XFONTLIB) $(FONTSTUBLIB) $(FREETYPE2LIB)
@@ -3241,9 +3241,9 @@ @@ -3241,9 +3241,9 @@ ProjectUnsharedLibReferences(FONTSTUB,fn
#ifndef SharedFontEncRev #ifndef SharedFontEncRev
#define SharedFontEncRev 1.0 #define SharedFontEncRev 1.0
#endif #endif
...@@ -677,7 +677,7 @@ Last-Update: 2012-02-15 ...@@ -677,7 +677,7 @@ Last-Update: 2012-02-15
#endif #endif
#ifndef SharedLibXpm #ifndef SharedLibXpm
@@ -3263,9 +3263,9 @@ @@ -3263,9 +3263,9 @@ ProjectUnsharedLibReferences(XFONTENC,fo
#ifndef SharedXpmRev #ifndef SharedXpmRev
#define SharedXpmRev 4.11 #define SharedXpmRev 4.11
#endif #endif
...@@ -689,7 +689,7 @@ Last-Update: 2012-02-15 ...@@ -689,7 +689,7 @@ Last-Update: 2012-02-15
#endif #endif
#if UseFreetype2 #if UseFreetype2
@@ -3313,9 +3313,9 @@ @@ -3313,9 +3313,9 @@ ProjectUnsharedLibReferences(XPM,Xpm,$(X
#define SharedFreetype2Rev 9.0 #define SharedFreetype2Rev 9.0
#endif #endif
#endif #endif
...@@ -701,7 +701,7 @@ Last-Update: 2012-02-15 ...@@ -701,7 +701,7 @@ Last-Update: 2012-02-15
#endif #endif
#ifdef UseInstalled #ifdef UseInstalled
@@ -3470,9 +3470,9 @@ @@ -3470,9 +3470,9 @@ MOTIFINCLUDES = -I$(MOTIFINCDIR)
#define SharedExpatRev 4.0 #define SharedExpatRev 4.0
#endif #endif
#endif #endif
...@@ -713,7 +713,7 @@ Last-Update: 2012-02-15 ...@@ -713,7 +713,7 @@ Last-Update: 2012-02-15
#endif #endif
#if UseExpat #if UseExpat
@@ -3552,9 +3552,9 @@ @@ -3552,9 +3552,9 @@ EXPATDEFINES = -DEXPAT
#ifndef SharedXft1Rev #ifndef SharedXft1Rev
#define SharedXft1Rev 1.1 #define SharedXft1Rev 1.1
#endif #endif
...@@ -725,7 +725,7 @@ Last-Update: 2012-02-15 ...@@ -725,7 +725,7 @@ Last-Update: 2012-02-15
#endif #endif
#ifndef Xft1ClientDepLibs #ifndef Xft1ClientDepLibs
@@ -3589,9 +3589,9 @@ @@ -3589,9 +3589,9 @@ ProjectUnsharedLibReferences(XFT1,Xft,$(
#ifndef SharedXftRev #ifndef SharedXftRev
#define SharedXftRev 2.1.2 #define SharedXftRev 2.1.2
#endif #endif
...@@ -737,7 +737,7 @@ Last-Update: 2012-02-15 ...@@ -737,7 +737,7 @@ Last-Update: 2012-02-15
#endif #endif
#ifndef XftClientDepLibs #ifndef XftClientDepLibs
@@ -3622,9 +3622,9 @@ @@ -3622,9 +3622,9 @@ ProjectUnsharedLibReferences(XFT,Xft,$(X
#ifndef SharedFontconfigRev #ifndef SharedFontconfigRev
#define SharedFontconfigRev 1.0.4 #define SharedFontconfigRev 1.0.4
#endif #endif
...@@ -749,7 +749,7 @@ Last-Update: 2012-02-15 ...@@ -749,7 +749,7 @@ Last-Update: 2012-02-15
#endif #endif
#ifdef UseInstalled #ifdef UseInstalled
@@ -3827,9 +3827,9 @@ @@ -3827,9 +3827,9 @@ LIBPNGLIB = -L$(LIBPNGLIBDIR) LinkerRunt
# ifndef SharedxkbfileRev # ifndef SharedxkbfileRev
# define SharedxkbfileRev 1.0 # define SharedxkbfileRev 1.0
# endif # endif
...@@ -761,7 +761,7 @@ Last-Update: 2012-02-15 ...@@ -761,7 +761,7 @@ Last-Update: 2012-02-15
#endif #endif
#if BuildXKBlib #if BuildXKBlib
@@ -3899,9 +3899,9 @@ @@ -3899,9 +3899,9 @@ ProjectUnsharedLibReferences(XKBFILE,xkb
# ifndef SharedxkbuiRev # ifndef SharedxkbuiRev
# define SharedxkbuiRev 1.0 # define SharedxkbuiRev 1.0
# endif # endif
...@@ -773,7 +773,7 @@ Last-Update: 2012-02-15 ...@@ -773,7 +773,7 @@ Last-Update: 2012-02-15
#endif #endif
#ifndef XkbuiLibs #ifndef XkbuiLibs
@@ -3974,9 +3974,9 @@ @@ -3974,9 +3974,9 @@ EXTRAXAWCLIENTLIBS = ExtraXawClientLibs
#ifndef SharedXTrapRev #ifndef SharedXTrapRev
#define SharedXTrapRev 6.4 #define SharedXTrapRev 6.4
#endif #endif
...@@ -787,7 +787,7 @@ Last-Update: 2012-02-15 ...@@ -787,7 +787,7 @@ Last-Update: 2012-02-15
#ifndef NeedDefaultDepLibs #ifndef NeedDefaultDepLibs
--- a/nx-X11/config/cf/lnxLib.rules --- a/nx-X11/config/cf/lnxLib.rules
+++ b/nx-X11/config/cf/lnxLib.rules +++ b/nx-X11/config/cf/lnxLib.rules
@@ -389,7 +389,7 @@ @@ -389,7 +389,7 @@ JUMP_LDLIBS_libc = `$(CC) --print-libgcc
XCOMM libX11.so (X11, SM, ICE) XCOMM libX11.so (X11, SM, ICE)
JUMP_ROOT_X11 = $(XLIBSRC) JUMP_ROOT_X11 = $(XLIBSRC)
JUMP_IS_HOST_X11 = YES JUMP_IS_HOST_X11 = YES
...@@ -796,7 +796,7 @@ Last-Update: 2012-02-15 ...@@ -796,7 +796,7 @@ Last-Update: 2012-02-15
JUMP_SIBDIRS_X11 = $(JUMP_ROOT_SM) $(JUMP_ROOT_ICE) JUMP_SIBDIRS_X11 = $(JUMP_ROOT_SM) $(JUMP_ROOT_ICE)
JUMP_DIR_X11 = $(JUMP_ROOT_X11)/shared JUMP_DIR_X11 = $(JUMP_ROOT_X11)/shared
JUMP_DEFS_X11 = $(XDMAUTHDEFS) $(XKB_DEFINES) JUMP_DEFS_X11 = $(XDMAUTHDEFS) $(XKB_DEFINES)
@@ -400,9 +400,9 @@ @@ -400,9 +400,9 @@ JUMP_EXPORT_X11 = $(JUMP_DIR_X11)/jump.v
JUMP_ADDRESS_X11 = 0x60200000 JUMP_ADDRESS_X11 = 0x60200000
JUMP_JUMPTABLESIZE_X11 = 0x4000 JUMP_JUMPTABLESIZE_X11 = 0x4000
JUMP_GOTSIZE_X11 = 4096 JUMP_GOTSIZE_X11 = 4096
...@@ -808,7 +808,7 @@ Last-Update: 2012-02-15 ...@@ -808,7 +808,7 @@ Last-Update: 2012-02-15
JUMP_LDLIBS_X11 = $(JUMP_SIBARS_X11) $(JUMP_LDLIBS_libc) JUMP_LDLIBS_X11 = $(JUMP_SIBARS_X11) $(JUMP_LDLIBS_libc)
XCOMM libSM (part of libX11.so) XCOMM libSM (part of libX11.so)
@@ -435,9 +435,9 @@ @@ -435,9 +435,9 @@ JUMP_JUMPTABLESIZE_Xt = 0x4000
JUMP_GOTSIZE_Xt = 4096 JUMP_GOTSIZE_Xt = 4096
JUMP_STUBNAMES_Xt = libXt libXmu libXext libXi libXtst libXp JUMP_STUBNAMES_Xt = libXt libXmu libXext libXi libXtst libXp
JUMP_STUBS_IMPORT_Xt = $(JUMP_STUBS_IMPORT_X11) JUMP_STUBS_IMPORT_Xt = $(JUMP_STUBS_IMPORT_X11)
...@@ -821,7 +821,7 @@ Last-Update: 2012-02-15 ...@@ -821,7 +821,7 @@ Last-Update: 2012-02-15
XCOMM libXmu (part of libXt.so) XCOMM libXmu (part of libXt.so)
JUMP_ROOT_Xmu = $(XMUSRC) JUMP_ROOT_Xmu = $(XMUSRC)
@@ -485,8 +485,8 @@ @@ -485,8 +485,8 @@ JUMP_JUMPTABLESIZE_Xaw = 0x4000
JUMP_GOTSIZE_Xaw = 4096 JUMP_GOTSIZE_Xaw = 4096
JUMP_STUBNAMES_Xaw = libXaw JUMP_STUBNAMES_Xaw = libXaw
JUMP_STUBS_IMPORT_Xaw = $(JUMP_STUBS_IMPORT_X11) JUMP_STUBS_IMPORT_Xaw = $(JUMP_STUBS_IMPORT_X11)
...@@ -834,7 +834,7 @@ Last-Update: 2012-02-15 ...@@ -834,7 +834,7 @@ Last-Update: 2012-02-15
# endif /* !UseInstalled */ # endif /* !UseInstalled */
--- a/nx-X11/config/cf/lnxLib.tmpl --- a/nx-X11/config/cf/lnxLib.tmpl
+++ b/nx-X11/config/cf/lnxLib.tmpl +++ b/nx-X11/config/cf/lnxLib.tmpl
@@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@ XCOMM $XFree86: xc/config/cf/lnxLib.tmpl
#ifndef FixupLibReferences #ifndef FixupLibReferences
#define FixupLibReferences() @@\ #define FixupLibReferences() @@\
...@@ -843,7 +843,7 @@ Last-Update: 2012-02-15 ...@@ -843,7 +843,7 @@ Last-Update: 2012-02-15
XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB) XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
#endif #endif
@@ -66,7 +66,7 @@ @@ -66,7 +66,7 @@ XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLI
#ifndef FixupLibReferences #ifndef FixupLibReferences
#define FixupLibReferences() @@\ #define FixupLibReferences() @@\
...@@ -854,7 +854,7 @@ Last-Update: 2012-02-15 ...@@ -854,7 +854,7 @@ Last-Update: 2012-02-15
#endif /* UseElfFormat */ #endif /* UseElfFormat */
--- a/nx-X11/lib/X11/Imakefile --- a/nx-X11/lib/X11/Imakefile
+++ b/nx-X11/lib/X11/Imakefile +++ b/nx-X11/lib/X11/Imakefile
@@ -82,7 +82,7 @@ @@ -82,7 +82,7 @@ NX_XCOMPEXTCONFIGTARGET = $(NX_XCOMPEXTL
#define DoExtraLib SharedLibX11 #define DoExtraLib SharedLibX11
#define DoDebugLib DebugLibX11 #define DoDebugLib DebugLibX11
#define DoProfileLib ProfileLibX11 #define DoProfileLib ProfileLibX11
...@@ -865,7 +865,7 @@ Last-Update: 2012-02-15 ...@@ -865,7 +865,7 @@ Last-Update: 2012-02-15
#define IncSubdir X11 #define IncSubdir X11
--- a/nx-X11/lib/XRes/Imakefile --- a/nx-X11/lib/XRes/Imakefile
+++ b/nx-X11/lib/XRes/Imakefile +++ b/nx-X11/lib/XRes/Imakefile
@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@ XCOMM $XFree86: xc/lib/XRes/Imakefile,v
#define DoSharedLib SharedLibXRes #define DoSharedLib SharedLibXRes
#define DoDebugLib DebugLibXRes #define DoDebugLib DebugLibXRes
#define DoProfileLib ProfileLibXRes #define DoProfileLib ProfileLibXRes
...@@ -876,7 +876,7 @@ Last-Update: 2012-02-15 ...@@ -876,7 +876,7 @@ Last-Update: 2012-02-15
--- a/nx-X11/lib/Xau/Imakefile --- a/nx-X11/lib/Xau/Imakefile
+++ b/nx-X11/lib/Xau/Imakefile +++ b/nx-X11/lib/Xau/Imakefile
@@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@ XCOMM $XFree86: xc/lib/Xau/Imakefile,v 3
#define DoExtraLib SharedLibXau #define DoExtraLib SharedLibXau
#define DoDebugLib DebugLibXau #define DoDebugLib DebugLibXau
#define DoProfileLib ProfileLibXau #define DoProfileLib ProfileLibXau
...@@ -887,7 +887,7 @@ Last-Update: 2012-02-15 ...@@ -887,7 +887,7 @@ Last-Update: 2012-02-15
--- a/nx-X11/lib/Xcomposite/Imakefile --- a/nx-X11/lib/Xcomposite/Imakefile
+++ b/nx-X11/lib/Xcomposite/Imakefile +++ b/nx-X11/lib/Xcomposite/Imakefile
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@ SOXCOMPOSITEREV=1.0.0
#define DoDebugLib DebugLibXcomposite #define DoDebugLib DebugLibXcomposite
#define DoProfileLib ProfileLibXcomposite #define DoProfileLib ProfileLibXcomposite
...@@ -898,7 +898,7 @@ Last-Update: 2012-02-15 ...@@ -898,7 +898,7 @@ Last-Update: 2012-02-15
#define IncSubSubdir extensions #define IncSubSubdir extensions
--- a/nx-X11/lib/Xcomposite/xcomposite.pc.in --- a/nx-X11/lib/Xcomposite/xcomposite.pc.in
+++ b/nx-X11/lib/Xcomposite/xcomposite.pc.in +++ b/nx-X11/lib/Xcomposite/xcomposite.pc.in
@@ -7,4 +7,4 @@ @@ -7,4 +7,4 @@ Name: Xcomposite
Description: X Composite Library Description: X Composite Library
Version: @VERSION@ Version: @VERSION@
Cflags: -I${includedir} @XCOMPOSITE_CFLAGS@ @X_CFLAGS@ Cflags: -I${includedir} @XCOMPOSITE_CFLAGS@ @X_CFLAGS@
...@@ -906,7 +906,7 @@ Last-Update: 2012-02-15 ...@@ -906,7 +906,7 @@ Last-Update: 2012-02-15
+Libs: -L${libdir} -lNX_Xcomposite @XCOMPOSITE_LIBS@ @X_LIBS@ +Libs: -L${libdir} -lNX_Xcomposite @XCOMPOSITE_LIBS@ @X_LIBS@
--- a/nx-X11/lib/Xcursor/Imakefile --- a/nx-X11/lib/Xcursor/Imakefile
+++ b/nx-X11/lib/Xcursor/Imakefile +++ b/nx-X11/lib/Xcursor/Imakefile
@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@ SOXCURSORREV=1.0.2
#define DoDebugLib DebugLibXcursor #define DoDebugLib DebugLibXcursor
#define DoProfileLib ProfileLibXcursor #define DoProfileLib ProfileLibXcursor
...@@ -917,7 +917,7 @@ Last-Update: 2012-02-15 ...@@ -917,7 +917,7 @@ Last-Update: 2012-02-15
#define IncSubSubdir Xcursor #define IncSubSubdir Xcursor
--- a/nx-X11/lib/Xcursor/xcursor.pc.in --- a/nx-X11/lib/Xcursor/xcursor.pc.in
+++ b/nx-X11/lib/Xcursor/xcursor.pc.in +++ b/nx-X11/lib/Xcursor/xcursor.pc.in
@@ -12,4 +12,4 @@ @@ -12,4 +12,4 @@ Description: X Cursor Library
Version: @VERSION@ Version: @VERSION@
Requires: xrender Requires: xrender
Cflags: -I${includedir} ${xrendercflags} ${xcflags} Cflags: -I${includedir} ${xrendercflags} ${xcflags}
...@@ -925,7 +925,7 @@ Last-Update: 2012-02-15 ...@@ -925,7 +925,7 @@ Last-Update: 2012-02-15
+Libs: -L${libdir} -lNX_Xcursor ${xrenderlibs} ${xlibs} +Libs: -L${libdir} -lNX_Xcursor ${xrenderlibs} ${xlibs}
--- a/nx-X11/lib/Xdamage/Imakefile --- a/nx-X11/lib/Xdamage/Imakefile
+++ b/nx-X11/lib/Xdamage/Imakefile +++ b/nx-X11/lib/Xdamage/Imakefile
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@ SOXDAMAGEREV=1.0.1
#define DoDebugLib DebugLibXdamage #define DoDebugLib DebugLibXdamage
#define DoProfileLib ProfileLibXdamage #define DoProfileLib ProfileLibXdamage
...@@ -936,7 +936,7 @@ Last-Update: 2012-02-15 ...@@ -936,7 +936,7 @@ Last-Update: 2012-02-15
#define IncSubSubdir extensions #define IncSubSubdir extensions
--- a/nx-X11/lib/Xdamage/xdamage.pc.in --- a/nx-X11/lib/Xdamage/xdamage.pc.in
+++ b/nx-X11/lib/Xdamage/xdamage.pc.in +++ b/nx-X11/lib/Xdamage/xdamage.pc.in
@@ -7,4 +7,4 @@ @@ -7,4 +7,4 @@ Name: Xdamage
Description: X Damage Library Description: X Damage Library
Version: @VERSION@ Version: @VERSION@
Cflags: -I${includedir} @XDAMAGE_CFLAGS@ @X_CFLAGS@ Cflags: -I${includedir} @XDAMAGE_CFLAGS@ @X_CFLAGS@
...@@ -944,7 +944,7 @@ Last-Update: 2012-02-15 ...@@ -944,7 +944,7 @@ Last-Update: 2012-02-15
+Libs: -L${libdir} -lNX_Xdamage @XDAMAGE_LIBS@ @X_LIBS@ +Libs: -L${libdir} -lNX_Xdamage @XDAMAGE_LIBS@ @X_LIBS@
--- a/nx-X11/lib/Xdmcp/Imakefile --- a/nx-X11/lib/Xdmcp/Imakefile
+++ b/nx-X11/lib/Xdmcp/Imakefile +++ b/nx-X11/lib/Xdmcp/Imakefile
@@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@ XCOMM $XFree86: xc/lib/Xdmcp/Imakefile,v
#define DoExtraLib SharedLibXdmcp #define DoExtraLib SharedLibXdmcp
#define DoDebugLib DebugLibXdmcp #define DoDebugLib DebugLibXdmcp
#define DoProfileLib ProfileLibXdmcp #define DoProfileLib ProfileLibXdmcp
...@@ -955,7 +955,7 @@ Last-Update: 2012-02-15 ...@@ -955,7 +955,7 @@ Last-Update: 2012-02-15
--- a/nx-X11/lib/Xext/Imakefile --- a/nx-X11/lib/Xext/Imakefile
+++ b/nx-X11/lib/Xext/Imakefile +++ b/nx-X11/lib/Xext/Imakefile
@@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@ XCOMM $XFree86: xc/lib/Xext/Imakefile,v
#define DoExtraLib SharedLibXext #define DoExtraLib SharedLibXext
#define DoDebugLib DebugLibXext #define DoDebugLib DebugLibXext
#define DoProfileLib ProfileLibXext #define DoProfileLib ProfileLibXext
...@@ -966,7 +966,7 @@ Last-Update: 2012-02-15 ...@@ -966,7 +966,7 @@ Last-Update: 2012-02-15
--- a/nx-X11/lib/Xfixes/Imakefile --- a/nx-X11/lib/Xfixes/Imakefile
+++ b/nx-X11/lib/Xfixes/Imakefile +++ b/nx-X11/lib/Xfixes/Imakefile
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@ SOXFIXESREV=3.0.0
#define DoDebugLib DebugLibXfixes #define DoDebugLib DebugLibXfixes
#define DoProfileLib ProfileLibXfixes #define DoProfileLib ProfileLibXfixes
...@@ -977,7 +977,7 @@ Last-Update: 2012-02-15 ...@@ -977,7 +977,7 @@ Last-Update: 2012-02-15
#define IncSubSubdir extensions #define IncSubSubdir extensions
--- a/nx-X11/lib/Xfixes/xfixes.pc.in --- a/nx-X11/lib/Xfixes/xfixes.pc.in
+++ b/nx-X11/lib/Xfixes/xfixes.pc.in +++ b/nx-X11/lib/Xfixes/xfixes.pc.in
@@ -7,4 +7,4 @@ @@ -7,4 +7,4 @@ Name: Xfixes
Description: X Fixes Library Description: X Fixes Library
Version: @VERSION@ Version: @VERSION@
Cflags: -I${includedir} @X_CFLAGS@ Cflags: -I${includedir} @X_CFLAGS@
...@@ -985,7 +985,7 @@ Last-Update: 2012-02-15 ...@@ -985,7 +985,7 @@ Last-Update: 2012-02-15
+Libs: -L${libdir} -lNX_Xfixes @X_LIBS@ +Libs: -L${libdir} -lNX_Xfixes @X_LIBS@
--- a/nx-X11/lib/Xinerama/Imakefile --- a/nx-X11/lib/Xinerama/Imakefile
+++ b/nx-X11/lib/Xinerama/Imakefile +++ b/nx-X11/lib/Xinerama/Imakefile
@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@ XCOMM $XFree86: xc/lib/Xinerama/Imakefil
#define DoSharedLib SharedLibXinerama #define DoSharedLib SharedLibXinerama
#define DoDebugLib DebugLibXinerama #define DoDebugLib DebugLibXinerama
#define DoProfileLib ProfileLibXinerama #define DoProfileLib ProfileLibXinerama
...@@ -996,7 +996,7 @@ Last-Update: 2012-02-15 ...@@ -996,7 +996,7 @@ Last-Update: 2012-02-15
--- a/nx-X11/lib/Xpm/Imakefile --- a/nx-X11/lib/Xpm/Imakefile
+++ b/nx-X11/lib/Xpm/Imakefile +++ b/nx-X11/lib/Xpm/Imakefile
@@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ XCOMM $XFree86: xc/lib/Xpm/Imakefile,v 1
#define DoDebugLib DebugLibXpm #define DoDebugLib DebugLibXpm
#define DoProfileLib ProfileLibXpm #define DoProfileLib ProfileLibXpm
#define HasSharedData NO #define HasSharedData NO
...@@ -1007,7 +1007,7 @@ Last-Update: 2012-02-15 ...@@ -1007,7 +1007,7 @@ Last-Update: 2012-02-15
--- a/nx-X11/lib/Xrandr/Imakefile --- a/nx-X11/lib/Xrandr/Imakefile
+++ b/nx-X11/lib/Xrandr/Imakefile +++ b/nx-X11/lib/Xrandr/Imakefile
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@ XCOMM $XdotOrg: xc/lib/Xrandr/Imakefile,
#define DoSharedLib SharedLibXrandr #define DoSharedLib SharedLibXrandr
#define DoDebugLib DebugLibXrandr #define DoDebugLib DebugLibXrandr
#define DoProfileLib ProfileLibXrandr #define DoProfileLib ProfileLibXrandr
...@@ -1018,7 +1018,7 @@ Last-Update: 2012-02-15 ...@@ -1018,7 +1018,7 @@ Last-Update: 2012-02-15
#define IncSubSubdir extensions #define IncSubSubdir extensions
--- a/nx-X11/lib/Xrender/Imakefile --- a/nx-X11/lib/Xrender/Imakefile
+++ b/nx-X11/lib/Xrender/Imakefile +++ b/nx-X11/lib/Xrender/Imakefile
@@ -74,7 +74,7 @@ @@ -74,7 +74,7 @@ clean::
#define DoSharedLib SharedLibXrender #define DoSharedLib SharedLibXrender
#define DoDebugLib DebugLibXrender #define DoDebugLib DebugLibXrender
#define DoProfileLib ProfileLibXrender #define DoProfileLib ProfileLibXrender
...@@ -1029,7 +1029,7 @@ Last-Update: 2012-02-15 ...@@ -1029,7 +1029,7 @@ Last-Update: 2012-02-15
#ifdef XBuildIncDir #ifdef XBuildIncDir
--- a/nx-X11/lib/Xrender/xrender.pc.in --- a/nx-X11/lib/Xrender/xrender.pc.in
+++ b/nx-X11/lib/Xrender/xrender.pc.in +++ b/nx-X11/lib/Xrender/xrender.pc.in
@@ -8,4 +8,4 @@ @@ -8,4 +8,4 @@ Description: X Render Library
Version: @VERSION@ Version: @VERSION@
Requires: @X_REQUIRES@ Requires: @X_REQUIRES@
Cflags: -I${includedir} @RENDER_CFLAGS@ @X_NON_PKG_CFLAGS@ Cflags: -I${includedir} @RENDER_CFLAGS@ @X_NON_PKG_CFLAGS@
...@@ -1037,7 +1037,7 @@ Last-Update: 2012-02-15 ...@@ -1037,7 +1037,7 @@ Last-Update: 2012-02-15
+Libs: -L${libdir} -lNX_Xrender @X_NON_PKG_LIBS@ +Libs: -L${libdir} -lNX_Xrender @X_NON_PKG_LIBS@
--- a/nx-X11/lib/Xtst/Imakefile --- a/nx-X11/lib/Xtst/Imakefile
+++ b/nx-X11/lib/Xtst/Imakefile +++ b/nx-X11/lib/Xtst/Imakefile
@@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@ XCOMM $XFree86: xc/lib/Xtst/Imakefile,v
#define DoExtraLib SharedLibXtst #define DoExtraLib SharedLibXtst
#define DoDebugLib DebugLibXtst #define DoDebugLib DebugLibXtst
#define DoProfileLib ProfileLibXtst #define DoProfileLib ProfileLibXtst
...@@ -1048,7 +1048,7 @@ Last-Update: 2012-02-15 ...@@ -1048,7 +1048,7 @@ Last-Update: 2012-02-15
--- a/nx-X11/lib/font/Imakefile --- a/nx-X11/lib/font/Imakefile
+++ b/nx-X11/lib/font/Imakefile +++ b/nx-X11/lib/font/Imakefile
@@ -31,7 +31,7 @@ @@ -31,7 +31,7 @@ XCOMM $XFree86: xc/lib/font/Imakefile,v
STUBDIRS = stubs STUBDIRS = stubs
#endif #endif
...@@ -1059,7 +1059,7 @@ Last-Update: 2012-02-15 ...@@ -1059,7 +1059,7 @@ Last-Update: 2012-02-15
#ifndef SeparateSharedCompile #ifndef SeparateSharedCompile
--- a/nx-X11/lib/oldX/Imakefile --- a/nx-X11/lib/oldX/Imakefile
+++ b/nx-X11/lib/oldX/Imakefile +++ b/nx-X11/lib/oldX/Imakefile
@@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@ XCOMM $XFree86: xc/lib/oldX/Imakefile,v
#define DoExtraLib SharedOldX #define DoExtraLib SharedOldX
#define DoDebugLib DebugOldX #define DoDebugLib DebugOldX
#define DoProfileLib ProfileOldX #define DoProfileLib ProfileOldX
...@@ -1070,7 +1070,7 @@ Last-Update: 2012-02-15 ...@@ -1070,7 +1070,7 @@ Last-Update: 2012-02-15
--- a/nx-X11/lib/xkbfile/Imakefile --- a/nx-X11/lib/xkbfile/Imakefile
+++ b/nx-X11/lib/xkbfile/Imakefile +++ b/nx-X11/lib/xkbfile/Imakefile
@@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ XCOMM $XFree86: xc/lib/xkbfile/Imakefile
#define DoDebugLib DebugLibxkbfile #define DoDebugLib DebugLibxkbfile
#define DoProfileLib ProfileLibxkbfile #define DoProfileLib ProfileLibxkbfile
#define HasSharedData NO #define HasSharedData NO
...@@ -1081,7 +1081,7 @@ Last-Update: 2012-02-15 ...@@ -1081,7 +1081,7 @@ Last-Update: 2012-02-15
#define IncSubSubdir extensions #define IncSubSubdir extensions
--- a/nx-X11/lib/xkbui/Imakefile --- a/nx-X11/lib/xkbui/Imakefile
+++ b/nx-X11/lib/xkbui/Imakefile +++ b/nx-X11/lib/xkbui/Imakefile
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@ XCOMM $XFree86: xc/lib/xkbui/Imakefile,v
#define DoDebugLib DebugLibxkbui #define DoDebugLib DebugLibxkbui
#define DoProfileLib ProfileLibxkbui #define DoProfileLib ProfileLibxkbui
#define HasSharedData NO #define HasSharedData NO
...@@ -1092,7 +1092,7 @@ Last-Update: 2012-02-15 ...@@ -1092,7 +1092,7 @@ Last-Update: 2012-02-15
#define IncSubSubdir extensions #define IncSubSubdir extensions
--- a/nx-X11/programs/Xserver/Imakefile --- a/nx-X11/programs/Xserver/Imakefile
+++ b/nx-X11/programs/Xserver/Imakefile +++ b/nx-X11/programs/Xserver/Imakefile
@@ -313,7 +313,7 @@ @@ -313,7 +313,7 @@ XPFBLIBS = dix/LibraryTargetName(xpstubs
FONTBASE = $(FONTLIBSRC)/fontbase.o \ FONTBASE = $(FONTLIBSRC)/fontbase.o \
$(FONTLIBSRC)/LibraryTargetName(fontbase) $(FONTLIBSRC)/LibraryTargetName(fontbase)
#if XserverStaticFontLib #if XserverStaticFontLib
...@@ -1101,7 +1101,7 @@ Last-Update: 2012-02-15 ...@@ -1101,7 +1101,7 @@ Last-Update: 2012-02-15
#else #else
FONT = $(LDPRELIB) $(XFONTLIB) $(FREETYPE2LIB) FONT = $(LDPRELIB) $(XFONTLIB) $(FREETYPE2LIB)
#endif #endif
@@ -994,7 +994,7 @@ @@ -994,7 +994,7 @@ NXAGENTOBJS = hw/nxagent/miinitext.o
dix/main.o dix/main.o
#endif #endif
...@@ -1110,7 +1110,7 @@ Last-Update: 2012-02-15 ...@@ -1110,7 +1110,7 @@ Last-Update: 2012-02-15
NXAGENT = hw/nxagent/LibraryTargetName(nxagent) NXAGENT = hw/nxagent/LibraryTargetName(nxagent)
NXAGENTLIBS = PreFbLibs $(NXAGENT) FbPostFbLibs $(NXAGENT) $(MI) NXAGENTLIBS = PreFbLibs $(NXAGENT) FbPostFbLibs $(NXAGENT) $(MI)
NXAGENTSYSLIBS = $(FONTLIBS) $(LDPRELIBS) $(XLIB) $(SYSLIBS) $(XPMLIB) NXAGENTSYSLIBS = $(FONTLIBS) $(LDPRELIBS) $(XLIB) $(SYSLIBS) $(XPMLIB)
@@ -1012,18 +1012,18 @@ @@ -1012,18 +1012,18 @@ $(NXAGENTOBJS) $(NXAGENTLIBS) $(NXAGENTS
#if defined(SunArchitecture) #if defined(SunArchitecture)
NXAGENTNXLIBS = -L ../../../nxcomp -L ../../../nxcompext -L ../../../nxcompshad \ NXAGENTNXLIBS = -L ../../../nxcomp -L ../../../nxcompext -L ../../../nxcompshad \
...@@ -1135,7 +1135,7 @@ Last-Update: 2012-02-15 ...@@ -1135,7 +1135,7 @@ Last-Update: 2012-02-15
`pkg-config --libs libxml-2.0` `pkg-config --libs libxml-2.0`
#endif #endif
@@ -1078,7 +1078,7 @@ @@ -1078,7 +1078,7 @@ nxagent_static_nolibs: nxagent
else exit 0; fi else exit 0; fi
$(CCLINK) -o nxagent_static_nolibs -Wl,-Bstatic $(LDOPTIONS) $(NXAGENTOBJS) \ $(CCLINK) -o nxagent_static_nolibs -Wl,-Bstatic $(LDOPTIONS) $(NXAGENTOBJS) \
$(NXAGENTLIBS) $(LOADABLEEXTS) $(LIBCWRAPPER) $(LDLIBS) $(FONTLIBS) \ $(NXAGENTLIBS) $(LOADABLEEXTS) $(LIBCWRAPPER) $(LDLIBS) $(FONTLIBS) \
...@@ -1146,7 +1146,7 @@ Last-Update: 2012-02-15 ...@@ -1146,7 +1146,7 @@ Last-Update: 2012-02-15
#if defined(XnonServer) && XnonServer #if defined(XnonServer) && XnonServer
--- a/nxcompext/Makefile.in --- a/nxcompext/Makefile.in
+++ b/nxcompext/Makefile.in +++ b/nxcompext/Makefile.in
@@ -42,12 +42,12 @@ @@ -42,12 +42,12 @@ CCINCLUDES = -I. -I../nxcomp
CCDEFINES = CCDEFINES =
LDFLAGS = @LDFLAGS@ -L../nxcomp LDFLAGS = @LDFLAGS@ -L../nxcomp
...@@ -1163,7 +1163,7 @@ Last-Update: 2012-02-15 ...@@ -1163,7 +1163,7 @@ Last-Update: 2012-02-15
srcdir = @srcdir@ srcdir = @srcdir@
--- a/nxcompshad/Makefile.in --- a/nxcompshad/Makefile.in
+++ b/nxcompshad/Makefile.in +++ b/nxcompshad/Makefile.in
@@ -48,7 +48,7 @@ @@ -48,7 +48,7 @@ CCINCLUDES =
CCDEFINES = CCDEFINES =
LDFLAGS = @LDFLAGS@ LDFLAGS = @LDFLAGS@
...@@ -1172,7 +1172,7 @@ Last-Update: 2012-02-15 ...@@ -1172,7 +1172,7 @@ Last-Update: 2012-02-15
# #
# Only if THREADS is defined. # Only if THREADS is defined.
@@ -139,7 +139,7 @@ @@ -139,7 +139,7 @@ all: depend $(LIBARCHIVE) $(LIBDLL)
else else
......
...@@ -15,7 +15,7 @@ Abstract: ...@@ -15,7 +15,7 @@ Abstract:
--- a/nx-X11/config/cf/host.def --- a/nx-X11/config/cf/host.def
+++ b/nx-X11/config/cf/host.def +++ b/nx-X11/config/cf/host.def
@@ -311,6 +311,7 @@ @@ -311,6 +311,7 @@ XCOMM $XFree86: xc/config/cf/xf86site.de
* *
#define BuildFreeType NO #define BuildFreeType NO
*/ */
...@@ -23,7 +23,7 @@ Abstract: ...@@ -23,7 +23,7 @@ Abstract:
/* /*
* To set non-default build options for the underlying FreeType libraries, * To set non-default build options for the underlying FreeType libraries,
@@ -892,7 +893,7 @@ @@ -892,7 +893,7 @@ XCOMM $XFree86: xc/config/cf/xf86site.de
* *
#define HasFreetype2 NO #define HasFreetype2 NO
*/ */
...@@ -32,7 +32,7 @@ Abstract: ...@@ -32,7 +32,7 @@ Abstract:
/* /*
* To use a FreeType library already installed outside the default search * To use a FreeType library already installed outside the default search
@@ -909,7 +910,7 @@ @@ -909,7 +910,7 @@ XCOMM $XFree86: xc/config/cf/xf86site.de
* *
#define HasFontconfig NO #define HasFontconfig NO
*/ */
...@@ -41,7 +41,7 @@ Abstract: ...@@ -41,7 +41,7 @@ Abstract:
/* /*
* To use a Fontconfig library already installed outside the default search * To use a Fontconfig library already installed outside the default search
@@ -925,7 +926,7 @@ @@ -925,7 +926,7 @@ XCOMM $XFree86: xc/config/cf/xf86site.de
* *
#define HasExpat NO #define HasExpat NO
*/ */
...@@ -50,7 +50,7 @@ Abstract: ...@@ -50,7 +50,7 @@ Abstract:
/* /*
* To use a Expat library already installed outside the default search * To use a Expat library already installed outside the default search
@@ -961,7 +962,7 @@ @@ -961,7 +962,7 @@ XCOMM $XFree86: xc/config/cf/xf86site.de
#define SharedLibXdmcp YES #define SharedLibXdmcp YES
...@@ -59,7 +59,7 @@ Abstract: ...@@ -59,7 +59,7 @@ Abstract:
#else /* #if !defined(NXZaurusXServer) && !defined(NXiPAQXServer) && !defined(DarwinArchitecture) */ #else /* #if !defined(NXZaurusXServer) && !defined(NXiPAQXServer) && !defined(DarwinArchitecture) */
@@ -1019,3 +1020,11 @@ @@ -1019,3 +1020,11 @@ XCOMM $XFree86: xc/config/cf/xf86site.de
#endif #endif
#endif /* #if !defined(NXZaurusXServer) && !defined(NXiPAQXServer) && !defined(DarwinArchitecture) */ #endif /* #if !defined(NXZaurusXServer) && !defined(NXiPAQXServer) && !defined(DarwinArchitecture) */
...@@ -82,7 +82,7 @@ Abstract: ...@@ -82,7 +82,7 @@ Abstract:
all:: all::
--- a/nx-X11/lib/Imakefile --- a/nx-X11/lib/Imakefile
+++ b/nx-X11/lib/Imakefile +++ b/nx-X11/lib/Imakefile
@@ -213,14 +213,8 @@ @@ -213,14 +213,8 @@ XEXTLIBDIR = Xext
#if BuildLibraries #if BuildLibraries
OLDXLIBDIR = oldX OLDXLIBDIR = oldX
......
...@@ -12,8 +12,6 @@ Abstract: ...@@ -12,8 +12,6 @@ Abstract:
https://www.securecoding.cert.org/confluence/display/seccode/POS36-C.+Observe+correct+revocation+order+while+relinquishing+privileges https://www.securecoding.cert.org/confluence/display/seccode/POS36-C.+Observe+correct+revocation+order+while+relinquishing+privileges
. .
This patch adds initgroups() calls to the code to initialize the supplemental group list. This patch adds initgroups() calls to the code to initialize the supplemental group list.
diff --git a/nx-X11/programs/Xserver/os/utils.c b/nx-X11/programs/Xserver/os/utils.c
index 7e62654..9b2431a 100644
--- a/nx-X11/programs/Xserver/os/utils.c --- a/nx-X11/programs/Xserver/os/utils.c
+++ b/nx-X11/programs/Xserver/os/utils.c +++ b/nx-X11/programs/Xserver/os/utils.c
@@ -112,6 +112,9 @@ OR PERFORMANCE OF THIS SOFTWARE. @@ -112,6 +112,9 @@ OR PERFORMANCE OF THIS SOFTWARE.
...@@ -44,8 +42,6 @@ index 7e62654..9b2431a 100644 ...@@ -44,8 +42,6 @@ index 7e62654..9b2431a 100644
if (setgid(getgid()) == -1) if (setgid(getgid()) == -1)
_exit(127); _exit(127);
if (setuid(getuid()) == -1) if (setuid(getuid()) == -1)
diff --git a/nxcomp/Pipe.cpp b/nxcomp/Pipe.cpp
index 7238d0c..aacbbae 100644
--- a/nxcomp/Pipe.cpp --- a/nxcomp/Pipe.cpp
+++ b/nxcomp/Pipe.cpp +++ b/nxcomp/Pipe.cpp
@@ -21,6 +21,7 @@ @@ -21,6 +21,7 @@
...@@ -56,7 +52,7 @@ index 7238d0c..aacbbae 100644 ...@@ -56,7 +52,7 @@ index 7238d0c..aacbbae 100644
#include "Pipe.h" #include "Pipe.h"
#include "Misc.h" #include "Misc.h"
@@ -234,6 +235,8 @@ FILE *Popen(char * const parameters[], const char *type) @@ -234,6 +235,8 @@ FILE *Popen(char * const parameters[], c
// Child. // Child.
// //
......
Description: Handle some serious compilation warnings Description: Handle some serious compilation warnings
Author: Mirraz Mirraz <mirraz1@rambler.ru> Author: Mirraz Mirraz <mirraz1@rambler.ru>
--- a/nx-X11/extras/Mesa/src/mesa/shader/arbprogparse.c 2013-08-30 20:18:40.000000000 +0600 --- a/nx-X11/extras/Mesa/src/mesa/shader/arbprogparse.c
+++ b/nx-X11/extras/Mesa/src/mesa/shader/arbprogparse.c 2013-09-30 18:39:42.357560169 +0600 +++ b/nx-X11/extras/Mesa/src/mesa/shader/arbprogparse.c
@@ -3259,7 +3259,6 @@ @@ -3259,7 +3259,6 @@ parse_vp_instruction (GLcontext * ctx, G
vp->SrcReg[0].Swizzle = SWIZZLE_NOOP; vp->SrcReg[0].Swizzle = SWIZZLE_NOOP;
vp->SrcReg[1].Swizzle = SWIZZLE_NOOP; vp->SrcReg[1].Swizzle = SWIZZLE_NOOP;
vp->SrcReg[2].Swizzle = SWIZZLE_NOOP; vp->SrcReg[2].Swizzle = SWIZZLE_NOOP;
...@@ -10,9 +10,9 @@ Author: Mirraz Mirraz <mirraz1@rambler.ru> ...@@ -10,9 +10,9 @@ Author: Mirraz Mirraz <mirraz1@rambler.ru>
vp->DstReg.WriteMask = 0xf; vp->DstReg.WriteMask = 0xf;
switch (type) { switch (type) {
--- a/nx-X11/lib/X11/imLcPrs.c 2013-08-30 20:18:40.000000000 +0600 --- a/nx-X11/lib/X11/imLcPrs.c
+++ b/nx-X11/lib/X11/imLcPrs.c 2013-09-30 19:02:56.925125678 +0600 +++ b/nx-X11/lib/X11/imLcPrs.c
@@ -589,7 +589,7 @@ @@ -589,7 +589,7 @@ parseline(
l = _Xmbstoutf8(local_utf8_buf, rhs_string_mb, LOCAL_UTF8_BUFSIZE - 1); l = _Xmbstoutf8(local_utf8_buf, rhs_string_mb, LOCAL_UTF8_BUFSIZE - 1);
if (l == LOCAL_UTF8_BUFSIZE - 1) { if (l == LOCAL_UTF8_BUFSIZE - 1) {
...@@ -21,9 +21,9 @@ Author: Mirraz Mirraz <mirraz1@rambler.ru> ...@@ -21,9 +21,9 @@ Author: Mirraz Mirraz <mirraz1@rambler.ru>
} }
if( (rhs_string_utf8 = (char *)Xmalloc(l + 1)) == NULL ) { if( (rhs_string_utf8 = (char *)Xmalloc(l + 1)) == NULL ) {
Xfree( rhs_string_wc ); Xfree( rhs_string_wc );
--- a/nx-X11/programs/Xserver/xkb/ddxLoad.c 2013-08-30 20:18:40.000000000 +0600 --- a/nx-X11/programs/Xserver/xkb/ddxLoad.c
+++ b/nx-X11/programs/Xserver/xkb/ddxLoad.c 2013-09-30 18:56:27.358995920 +0600 +++ b/nx-X11/programs/Xserver/xkb/ddxLoad.c
@@ -37,6 +37,12 @@ @@ -37,6 +37,12 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <errno.h> #include <errno.h>
#include <stdio.h> #include <stdio.h>
#include <ctype.h> #include <ctype.h>
......
...@@ -13,9 +13,9 @@ Abstract: ...@@ -13,9 +13,9 @@ Abstract:
The attached patch fixes these compilation issues by not overriding the The attached patch fixes these compilation issues by not overriding the
clear() method when compiling against libc++, since the libc++ headers clear() method when compiling against libc++, since the libc++ headers
seem to do essentially the same as the overriden method. seem to do essentially the same as the overriden method.
--- a/nxcomp/Types.h 2013-11-05 01:35:22.000000000 +0100 --- a/nxcomp/Types.h
+++ b/nxcomp/Types.h 2013-11-05 01:37:30.000000000 +0100 +++ b/nxcomp/Types.h
@@ -55,6 +55,9 @@ @@ -55,6 +55,9 @@ class T_data : public vector < unsigned
return &*(vector < unsigned char >::begin()); return &*(vector < unsigned char >::begin());
} }
...@@ -25,7 +25,7 @@ Abstract: ...@@ -25,7 +25,7 @@ Abstract:
void clear() void clear()
{ {
#if defined(__STL_USE_STD_ALLOCATORS) || defined(__GLIBCPP_INTERNAL_VECTOR_H) #if defined(__STL_USE_STD_ALLOCATORS) || defined(__GLIBCPP_INTERNAL_VECTOR_H)
@@ -95,12 +98,16 @@ @@ -95,12 +98,16 @@ class T_data : public vector < unsigned
#endif /* #if defined(__STL_USE_STD_ALLOCATORS) || defined(__GLIBCPP_INTERNAL_VECTOR_H) */ #endif /* #if defined(__STL_USE_STD_ALLOCATORS) || defined(__GLIBCPP_INTERNAL_VECTOR_H) */
} }
...@@ -42,7 +42,7 @@ Abstract: ...@@ -42,7 +42,7 @@ Abstract:
void clear() void clear()
{ {
#if defined(__STL_USE_STD_ALLOCATORS) || defined(__GLIBCPP_INTERNAL_VECTOR_H) #if defined(__STL_USE_STD_ALLOCATORS) || defined(__GLIBCPP_INTERNAL_VECTOR_H)
@@ -141,6 +148,7 @@ @@ -141,6 +148,7 @@ class T_messages : public vector < Messa
#endif /* #if defined(__STL_USE_STD_ALLOCATORS) || defined(__GLIBCPP_INTERNAL_VECTOR_H) */ #endif /* #if defined(__STL_USE_STD_ALLOCATORS) || defined(__GLIBCPP_INTERNAL_VECTOR_H) */
} }
......
...@@ -2,7 +2,7 @@ Description: Provide build support for aarch64 architecture ...@@ -2,7 +2,7 @@ Description: Provide build support for aarch64 architecture
Author: Orion Poplawski <orion@cora.nwra.com> Author: Orion Poplawski <orion@cora.nwra.com>
--- a/nx-X11/config/cf/Imake.cf --- a/nx-X11/config/cf/Imake.cf
+++ b/nx-X11/config/cf/Imake.cf +++ b/nx-X11/config/cf/Imake.cf
@@ -908,6 +908,9 @@ @@ -908,6 +908,9 @@ XCOMM Keep cpp from replacing path eleme
# endif # endif
# undef __ARMEB__ # undef __ARMEB__
# endif # endif
...@@ -14,7 +14,7 @@ Author: Orion Poplawski <orion@cora.nwra.com> ...@@ -14,7 +14,7 @@ Author: Orion Poplawski <orion@cora.nwra.com>
# undef mc68000 # undef mc68000
--- a/nx-X11/config/cf/linux.cf --- a/nx-X11/config/cf/linux.cf
+++ b/nx-X11/config/cf/linux.cf +++ b/nx-X11/config/cf/linux.cf
@@ -844,6 +844,16 @@ @@ -844,6 +844,16 @@ InstallNamedTargetNoClobber(install,file
# define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines # define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines
#endif /* Arm32Achitecture */ #endif /* Arm32Achitecture */
...@@ -33,7 +33,7 @@ Author: Orion Poplawski <orion@cora.nwra.com> ...@@ -33,7 +33,7 @@ Author: Orion Poplawski <orion@cora.nwra.com>
# define LinuxMachineDefines -D__hppa__ # define LinuxMachineDefines -D__hppa__
--- a/nx-X11/config/cf/Imake.tmpl --- a/nx-X11/config/cf/Imake.tmpl
+++ b/nx-X11/config/cf/Imake.tmpl +++ b/nx-X11/config/cf/Imake.tmpl
@@ -526,6 +526,10 @@ @@ -526,6 +526,10 @@ XCOMM the platform-specific parameters -
#define ByteOrder X_BIG_ENDIAN #define ByteOrder X_BIG_ENDIAN
#elif defined(Arm32Architecture) #elif defined(Arm32Architecture)
#define ByteOrder X_LITTLE_ENDIAN #define ByteOrder X_LITTLE_ENDIAN
...@@ -46,7 +46,7 @@ Author: Orion Poplawski <orion@cora.nwra.com> ...@@ -46,7 +46,7 @@ Author: Orion Poplawski <orion@cora.nwra.com>
#elif defined(PpcArchitecture) || defined(Ppc64Architecture) #elif defined(PpcArchitecture) || defined(Ppc64Architecture)
--- a/nx-X11/programs/Xserver/include/servermd.h --- a/nx-X11/programs/Xserver/include/servermd.h
+++ b/nx-X11/programs/Xserver/include/servermd.h +++ b/nx-X11/programs/Xserver/include/servermd.h
@@ -154,6 +154,28 @@ @@ -154,6 +154,28 @@ SOFTWARE.
#endif /* __arm32__ */ #endif /* __arm32__ */
......
...@@ -3,7 +3,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -3,7 +3,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
--- a/nxcomp/Loop.cpp --- a/nxcomp/Loop.cpp
+++ b/nxcomp/Loop.cpp +++ b/nxcomp/Loop.cpp
@@ -4183,7 +4183,7 @@ @@ -4183,7 +4183,7 @@ int SetupDisplaySocket(int &xServerAddrF
#ifdef __APPLE__ #ifdef __APPLE__
......
...@@ -2,11 +2,9 @@ Description: Link to libdl to fix undefined references to 'dlopen' and 'dlsym'. ...@@ -2,11 +2,9 @@ Description: Link to libdl to fix undefined references to 'dlopen' and 'dlsym'.
Author: Bernard Cafarelli <voyageur@gentoo.org> Author: Bernard Cafarelli <voyageur@gentoo.org>
v2: generally link to libdl in all of nx-X11. (Mike Gabriel) v2: generally link to libdl in all of nx-X11. (Mike Gabriel)
diff --git a/nx-X11/config/cf/lnxLib.tmpl b/nx-X11/config/cf/lnxLib.tmpl
index 788733c..be1fa14 100644
--- a/nx-X11/config/cf/lnxLib.tmpl --- a/nx-X11/config/cf/lnxLib.tmpl
+++ b/nx-X11/config/cf/lnxLib.tmpl +++ b/nx-X11/config/cf/lnxLib.tmpl
@@ -17,7 +17,7 @@ XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB) @@ -17,7 +17,7 @@ XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLI
#define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWCLIENTLIBS) $(XLIB) #define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWCLIENTLIBS) $(XLIB)
#endif #endif
......
...@@ -3,7 +3,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -3,7 +3,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
--- a/nx-X11/config/cf/lnxLib.tmpl --- a/nx-X11/config/cf/lnxLib.tmpl
+++ b/nx-X11/config/cf/lnxLib.tmpl +++ b/nx-X11/config/cf/lnxLib.tmpl
@@ -61,6 +61,9 @@ XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB) @@ -61,6 +61,9 @@ XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLI
#define SharedXxf86vmReqs $(LDPRELIB) $(XLIB) #define SharedXxf86vmReqs $(LDPRELIB) $(XLIB)
#define SharedxkbfileReqs $(LDPRELIB) $(XONLYLIB) #define SharedxkbfileReqs $(LDPRELIB) $(XONLYLIB)
#define SharedxkbuiReqs $(LDPRELIB) $(XKBFILELIB) $(XONLYLIB) #define SharedxkbuiReqs $(LDPRELIB) $(XKBFILELIB) $(XONLYLIB)
......
...@@ -3,7 +3,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -3,7 +3,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
--- a/nxcomp/CHANGELOG --- a/nxcomp/CHANGELOG
+++ b/nxcomp/CHANGELOG +++ b/nxcomp/CHANGELOG
@@ -668,7 +668,7 @@ @@ -668,7 +668,7 @@ nxcomp-2.0.0-70
nxcomp-2.0.0-69 nxcomp-2.0.0-69
...@@ -14,7 +14,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -14,7 +14,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
old version of the library. old version of the library.
--- a/nxcomp/ClientReadBuffer.cpp --- a/nxcomp/ClientReadBuffer.cpp
+++ b/nxcomp/ClientReadBuffer.cpp +++ b/nxcomp/ClientReadBuffer.cpp
@@ -29,7 +29,7 @@ @@ -29,7 +29,7 @@ unsigned int ClientReadBuffer::suggested
// //
// Even if the pending data is not // Even if the pending data is not
// enough to make a complete message, // enough to make a complete message,
...@@ -25,7 +25,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -25,7 +25,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
--- a/nxcomp/EncodeBuffer.cpp --- a/nxcomp/EncodeBuffer.cpp
+++ b/nxcomp/EncodeBuffer.cpp +++ b/nxcomp/EncodeBuffer.cpp
@@ -505,12 +505,12 @@ @@ -505,12 +505,12 @@ void EncodeBuffer::growBuffer(unsigned i
{ {
#ifdef PANIC #ifdef PANIC
*logofs << "EncodeBuffer: PANIC! Error in context [C] " *logofs << "EncodeBuffer: PANIC! Error in context [C] "
...@@ -42,7 +42,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -42,7 +42,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
HandleAbort(); HandleAbort();
--- a/nxcomp/GenericChannel.cpp --- a/nxcomp/GenericChannel.cpp
+++ b/nxcomp/GenericChannel.cpp +++ b/nxcomp/GenericChannel.cpp
@@ -210,7 +210,7 @@ @@ -210,7 +210,7 @@ int GenericChannel::handleRead(EncodeBuf
// All data has been read from the read buffer. // All data has been read from the read buffer.
// We still need to mark the end of the encode // We still need to mark the end of the encode
// buffer just before sending the frame. This // buffer just before sending the frame. This
...@@ -53,7 +53,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -53,7 +53,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
--- a/nxcomp/ProxyReadBuffer.cpp --- a/nxcomp/ProxyReadBuffer.cpp
+++ b/nxcomp/ProxyReadBuffer.cpp +++ b/nxcomp/ProxyReadBuffer.cpp
@@ -50,7 +50,7 @@ @@ -50,7 +50,7 @@ unsigned int ProxyReadBuffer::suggestedL
// //
// Even if the readable data is not // Even if the readable data is not
// enough to make a complete message, // enough to make a complete message,
...@@ -64,7 +64,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -64,7 +64,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
--- a/nxcomp/ServerReadBuffer.cpp --- a/nxcomp/ServerReadBuffer.cpp
+++ b/nxcomp/ServerReadBuffer.cpp +++ b/nxcomp/ServerReadBuffer.cpp
@@ -46,7 +46,7 @@ @@ -46,7 +46,7 @@ unsigned int ServerReadBuffer::suggested
// //
// Even if the readable data is not // Even if the readable data is not
// enough to make a complete message, // enough to make a complete message,
...@@ -75,7 +75,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -75,7 +75,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
--- a/nxcomp/Transport.h --- a/nxcomp/Transport.h
+++ b/nxcomp/Transport.h +++ b/nxcomp/Transport.h
@@ -226,7 +226,7 @@ @@ -226,7 +226,7 @@ class Transport
protected: protected:
// //
...@@ -86,7 +86,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -86,7 +86,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
--- a/nxcomp/Types.h --- a/nxcomp/Types.h
+++ b/nxcomp/Types.h +++ b/nxcomp/Types.h
@@ -179,7 +179,7 @@ @@ -179,7 +179,7 @@ typedef set < File *, T_older > T_files;
typedef list < int > T_list; typedef list < int > T_list;
// //
......
...@@ -3,7 +3,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -3,7 +3,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
--- a/nx-X11/extras/Mesa/src/mesa/main/debug.c --- a/nx-X11/extras/Mesa/src/mesa/main/debug.c
+++ b/nx-X11/extras/Mesa/src/mesa/main/debug.c +++ b/nx-X11/extras/Mesa/src/mesa/main/debug.c
@@ -43,7 +43,7 @@ @@ -43,7 +43,7 @@ const char *_mesa_prim_name[GL_POLYGON+4
"GL_QUAD_STRIP", "GL_QUAD_STRIP",
"GL_POLYGON", "GL_POLYGON",
"outside begin/end", "outside begin/end",
...@@ -14,7 +14,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -14,7 +14,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
--- a/nx-X11/extras/Mesa/src/mesa/shader/arbprogparse.c --- a/nx-X11/extras/Mesa/src/mesa/shader/arbprogparse.c
+++ b/nx-X11/extras/Mesa/src/mesa/shader/arbprogparse.c +++ b/nx-X11/extras/Mesa/src/mesa/shader/arbprogparse.c
@@ -4106,7 +4106,7 @@ @@ -4106,7 +4106,7 @@ _mesa_parse_arb_program (GLcontext * ctx
if (*inst++ != REVISION) { if (*inst++ != REVISION) {
_mesa_set_program_error (ctx, 0, "Grammar version mismatch"); _mesa_set_program_error (ctx, 0, "Grammar version mismatch");
_mesa_error(ctx, GL_INVALID_OPERATION, _mesa_error(ctx, GL_INVALID_OPERATION,
...@@ -25,7 +25,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -25,7 +25,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
else { else {
--- a/nx-X11/ChangeLog.X.org --- a/nx-X11/ChangeLog.X.org
+++ b/nx-X11/ChangeLog.X.org +++ b/nx-X11/ChangeLog.X.org
@@ -12733,7 +12733,7 @@ @@ -12733,7 +12733,7 @@ Mon Jan 3 12:45:10 2005 Søren Sandman
* programs/xkill/xkill.c: (get_window_id): * programs/xkill/xkill.c: (get_window_id):
Changed cursor for the 'kill' action from XC_draped_box to Changed cursor for the 'kill' action from XC_draped_box to
XC_Pirate. If you don't like it we can change it back XC_Pirate. If you don't like it we can change it back
......
...@@ -11,8 +11,6 @@ Particularly the following macros have been tested -DTEST -DDEBUG -DDUMP -DFLUSH ...@@ -11,8 +11,6 @@ Particularly the following macros have been tested -DTEST -DDEBUG -DDUMP -DFLUSH
nxcomp/Proxy.cpp | 2 +- nxcomp/Proxy.cpp | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-) 3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/nxcomp/Agent.h b/nxcomp/Agent.h
index ded344d..2c5badf 100644
--- a/nxcomp/Agent.h --- a/nxcomp/Agent.h
+++ b/nxcomp/Agent.h +++ b/nxcomp/Agent.h
@@ -217,7 +217,7 @@ class Agent @@ -217,7 +217,7 @@ class Agent
...@@ -24,11 +22,9 @@ index ded344d..2c5badf 100644 ...@@ -24,11 +22,9 @@ index ded344d..2c5badf 100644
<< ".\n" << logofs_flush; << ".\n" << logofs_flush;
#endif #endif
diff --git a/nxcomp/ClearArea.cpp b/nxcomp/ClearArea.cpp
index 223a3b3..83b7281 100644
--- a/nxcomp/ClearArea.cpp --- a/nxcomp/ClearArea.cpp
+++ b/nxcomp/ClearArea.cpp +++ b/nxcomp/ClearArea.cpp
@@ -92,7 +92,7 @@ void ClearAreaStore::dumpIdentity(const Message *message) const @@ -92,7 +92,7 @@ void ClearAreaStore::dumpIdentity(const
ClearAreaMessage *clearArea = (ClearAreaMessage *) message; ClearAreaMessage *clearArea = (ClearAreaMessage *) message;
...@@ -37,11 +33,9 @@ index 223a3b3..83b7281 100644 ...@@ -37,11 +33,9 @@ index 223a3b3..83b7281 100644
<< ", window " << clearArea -> window << ", x " << clearArea -> x << ", window " << clearArea -> window << ", x " << clearArea -> x
<< ", y " << clearArea -> y << ", width " << clearArea -> width << ", y " << clearArea -> y << ", width " << clearArea -> width
<< ", height " << clearArea -> height << ", size " << clearArea -> size_ << ", height " << clearArea -> height << ", size " << clearArea -> size_
diff --git a/nxcomp/Proxy.cpp b/nxcomp/Proxy.cpp
index 9b38661..4eb99cf 100644
--- a/nxcomp/Proxy.cpp --- a/nxcomp/Proxy.cpp
+++ b/nxcomp/Proxy.cpp +++ b/nxcomp/Proxy.cpp
@@ -5176,7 +5176,7 @@ char *Proxy::handleSaveAllStores(const char *savePath) const @@ -5176,7 +5176,7 @@ char *Proxy::handleSaveAllStores(const c
*(cacheDumpName + DEFAULT_STRING_LENGTH - 1) = '\0'; *(cacheDumpName + DEFAULT_STRING_LENGTH - 1) = '\0';
......
...@@ -17,7 +17,7 @@ Last-Update: 2012-01-11 ...@@ -17,7 +17,7 @@ Last-Update: 2012-01-11
/* /*
* Set here the required log level. * Set here the required log level.
@@ -53,6 +54,7 @@ @@ -53,6 +54,7 @@ int nxagentLogoDepth;
int nxagentLogoWhite; int nxagentLogoWhite;
int nxagentLogoRed; int nxagentLogoRed;
int nxagentLogoBlack; int nxagentLogoBlack;
...@@ -25,7 +25,7 @@ Last-Update: 2012-01-11 ...@@ -25,7 +25,7 @@ Last-Update: 2012-01-11
void nxagentPaintLogo(Window win, GC gc, int scale, int width, int height); void nxagentPaintLogo(Window win, GC gc, int scale, int width, int height);
@@ -166,6 +168,15 @@ @@ -166,6 +168,15 @@ void nxagentPaintLogo(Window win, GC gc,
XPoint m[12]; XPoint m[12];
int w, h, c, w2, h2; int w, h, c, w2, h2;
...@@ -41,7 +41,7 @@ Last-Update: 2012-01-11 ...@@ -41,7 +41,7 @@ Last-Update: 2012-01-11
#ifdef DEBUG #ifdef DEBUG
fprintf(stderr, "nxagenShowtLogo: Got called.\n"); fprintf(stderr, "nxagenShowtLogo: Got called.\n");
#endif #endif
@@ -218,75 +229,146 @@ @@ -218,75 +229,146 @@ void nxagentPaintLogo(Window win, GC gc,
XSetForeground(nxagentDisplay, gc, nxagentLogoRed); XSetForeground(nxagentDisplay, gc, nxagentLogoRed);
XSetBackground(nxagentDisplay, gc, nxagentLogoWhite); XSetBackground(nxagentDisplay, gc, nxagentLogoWhite);
...@@ -230,7 +230,7 @@ Last-Update: 2012-01-11 ...@@ -230,7 +230,7 @@ Last-Update: 2012-01-11
#ifdef NXAGENT_LOGO_DEBUG #ifdef NXAGENT_LOGO_DEBUG
--- a/nx-X11/programs/Xserver/hw/nxagent/Display.c --- a/nx-X11/programs/Xserver/hw/nxagent/Display.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Display.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Display.c
@@ -1430,22 +1430,10 @@ @@ -1430,22 +1430,10 @@ FIXME: Use of nxagentParentWindow is str
g = pV.green_mask; g = pV.green_mask;
b = pV.blue_mask; b = pV.blue_mask;
...@@ -257,7 +257,7 @@ Last-Update: 2012-01-11 ...@@ -257,7 +257,7 @@ Last-Update: 2012-01-11
#ifdef WATCH #ifdef WATCH
@@ -2696,22 +2684,10 @@ @@ -2696,22 +2684,10 @@ Bool nxagentReconnectDisplay(void *p0)
g = pV.green_mask; g = pV.green_mask;
b = pV.blue_mask; b = pV.blue_mask;
...@@ -286,7 +286,7 @@ Last-Update: 2012-01-11 ...@@ -286,7 +286,7 @@ Last-Update: 2012-01-11
--- a/nx-X11/programs/Xserver/hw/nxagent/Splash.h --- a/nx-X11/programs/Xserver/hw/nxagent/Splash.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Splash.h +++ b/nx-X11/programs/Xserver/hw/nxagent/Splash.h
@@ -33,6 +33,7 @@ @@ -33,6 +33,7 @@ extern int nxagentLogoDepth;
extern int nxagentLogoWhite; extern int nxagentLogoWhite;
extern int nxagentLogoRed; extern int nxagentLogoRed;
extern int nxagentLogoBlack; extern int nxagentLogoBlack;
...@@ -296,7 +296,7 @@ Last-Update: 2012-01-11 ...@@ -296,7 +296,7 @@ Last-Update: 2012-01-11
--- a/nx-X11/programs/Xserver/os/oscolor.c --- a/nx-X11/programs/Xserver/os/oscolor.c
+++ b/nx-X11/programs/Xserver/os/oscolor.c +++ b/nx-X11/programs/Xserver/os/oscolor.c
@@ -53,7 +53,19 @@ @@ -53,7 +53,19 @@ SOFTWARE.
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
...@@ -319,7 +319,7 @@ Last-Update: 2012-01-11 ...@@ -319,7 +319,7 @@ Last-Update: 2012-01-11
#endif #endif
--- a/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c --- a/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
@@ -62,6 +62,7 @@ @@ -62,6 +62,7 @@ is" without express or implied warranty.
#include "globals.h" #include "globals.h"
#include "property.h" #include "property.h"
...@@ -327,7 +327,7 @@ Last-Update: 2012-01-11 ...@@ -327,7 +327,7 @@ Last-Update: 2012-01-11
#include <X11/extensions/XKB.h> #include <X11/extensions/XKB.h>
@@ -138,8 +139,11 @@ @@ -138,8 +139,11 @@ extern Status XkbGetContro
#ifndef XKB_ALTERNATE_BASE_DIRECTORY #ifndef XKB_ALTERNATE_BASE_DIRECTORY
#define XKB_ALTERNATE_BASE_DIRECTORY "/usr/X11R6/lib/X11/xkb" #define XKB_ALTERNATE_BASE_DIRECTORY "/usr/X11R6/lib/X11/xkb"
#endif #endif
...@@ -341,7 +341,7 @@ Last-Update: 2012-01-11 ...@@ -341,7 +341,7 @@ Last-Update: 2012-01-11
#endif #endif
#ifndef XKB_DFLT_RULES_FILE #ifndef XKB_DFLT_RULES_FILE
#define XKB_DFLT_RULES_FILE "xfree86" #define XKB_DFLT_RULES_FILE "xfree86"
@@ -988,7 +992,10 @@ @@ -988,7 +992,10 @@ XkbError:
XkbGetControls(nxagentDisplay, XkbAllControlsMask, xkb); XkbGetControls(nxagentDisplay, XkbAllControlsMask, xkb);
...@@ -353,7 +353,7 @@ Last-Update: 2012-01-11 ...@@ -353,7 +353,7 @@ Last-Update: 2012-01-11
nxagentXkbConfigFilePath = malloc((nxagentXkbConfigFilePathSize + 1) * sizeof(char)); nxagentXkbConfigFilePath = malloc((nxagentXkbConfigFilePathSize + 1) * sizeof(char));
@@ -997,7 +1004,10 @@ @@ -997,7 +1004,10 @@ XkbError:
FatalError("nxagentKeyboardProc: malloc failed."); FatalError("nxagentKeyboardProc: malloc failed.");
} }
......
...@@ -11,8 +11,6 @@ Subject: [PATCH 01/40] LZW decompress: fix for CVE-2011-2895 From ...@@ -11,8 +11,6 @@ Subject: [PATCH 01/40] LZW decompress: fix for CVE-2011-2895 From
nx-X11/lib/font/fontfile/decompress.c | 2 ++ nx-X11/lib/font/fontfile/decompress.c | 2 ++
1 file changed, 2 insertions(+) 1 file changed, 2 insertions(+)
diff --git a/nx-X11/lib/font/fontfile/decompress.c b/nx-X11/lib/font/fontfile/decompress.c
index a4c5468..553b315 100644
--- a/nx-X11/lib/font/fontfile/decompress.c --- a/nx-X11/lib/font/fontfile/decompress.c
+++ b/nx-X11/lib/font/fontfile/decompress.c +++ b/nx-X11/lib/font/fontfile/decompress.c
@@ -261,6 +261,8 @@ BufCompressedFill (BufFilePtr f) @@ -261,6 +261,8 @@ BufCompressedFill (BufFilePtr f)
...@@ -24,6 +22,3 @@ index a4c5468..553b315 100644 ...@@ -24,6 +22,3 @@ index a4c5468..553b315 100644
*stackp++ = file->tab_suffix[code]; *stackp++ = file->tab_suffix[code];
code = file->tab_prefix[code]; code = file->tab_prefix[code];
} }
--
2.1.4
...@@ -11,8 +11,6 @@ file. ...@@ -11,8 +11,6 @@ file.
nx-X11/programs/Xserver/os/utils.c | 2 +- nx-X11/programs/Xserver/os/utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nx-X11/programs/Xserver/os/utils.c b/nx-X11/programs/Xserver/os/utils.c
index 9b2431a..79e49d5 100644
--- a/nx-X11/programs/Xserver/os/utils.c --- a/nx-X11/programs/Xserver/os/utils.c
+++ b/nx-X11/programs/Xserver/os/utils.c +++ b/nx-X11/programs/Xserver/os/utils.c
@@ -483,7 +483,7 @@ LockServer(void) @@ -483,7 +483,7 @@ LockServer(void)
...@@ -24,6 +22,3 @@ index 9b2431a..79e49d5 100644 ...@@ -24,6 +22,3 @@ index 9b2431a..79e49d5 100644
if (lfd < 0) { if (lfd < 0) {
unlink(tmp); unlink(tmp);
FatalError("Can't read lock file %s\n", LockFile); FatalError("Can't read lock file %s\n", LockFile);
--
2.1.4
...@@ -31,7 +31,7 @@ v3: backport v2 to nx-libs 3.5.0.x (Mihai Moldovan) ...@@ -31,7 +31,7 @@ v3: backport v2 to nx-libs 3.5.0.x (Mihai Moldovan)
--- a/nx-X11/programs/Xserver/dix/dixfonts.c --- a/nx-X11/programs/Xserver/dix/dixfonts.c
+++ b/nx-X11/programs/Xserver/dix/dixfonts.c +++ b/nx-X11/programs/Xserver/dix/dixfonts.c
@@ -1559,6 +1559,7 @@ doImageText(ClientPtr client, register ITclosurePtr c) @@ -1559,6 +1559,7 @@ doImageText(ClientPtr client, register I
GC *pGC; GC *pGC;
unsigned char *data; unsigned char *data;
ITclosurePtr new_closure; ITclosurePtr new_closure;
...@@ -39,7 +39,7 @@ v3: backport v2 to nx-libs 3.5.0.x (Mihai Moldovan) ...@@ -39,7 +39,7 @@ v3: backport v2 to nx-libs 3.5.0.x (Mihai Moldovan)
/* We're putting the client to sleep. We need to /* We're putting the client to sleep. We need to
save some state. Similar problem to that handled save some state. Similar problem to that handled
@@ -1571,6 +1572,7 @@ doImageText(ClientPtr client, register ITclosurePtr c) @@ -1571,6 +1572,7 @@ doImageText(ClientPtr client, register I
err = BadAlloc; err = BadAlloc;
goto bail; goto bail;
} }
...@@ -47,7 +47,7 @@ v3: backport v2 to nx-libs 3.5.0.x (Mihai Moldovan) ...@@ -47,7 +47,7 @@ v3: backport v2 to nx-libs 3.5.0.x (Mihai Moldovan)
*new_closure = *c; *new_closure = *c;
c = new_closure; c = new_closure;
@@ -1578,6 +1580,7 @@ doImageText(ClientPtr client, register ITclosurePtr c) @@ -1578,6 +1580,7 @@ doImageText(ClientPtr client, register I
if (!data) if (!data)
{ {
xfree(c); xfree(c);
...@@ -55,7 +55,7 @@ v3: backport v2 to nx-libs 3.5.0.x (Mihai Moldovan) ...@@ -55,7 +55,7 @@ v3: backport v2 to nx-libs 3.5.0.x (Mihai Moldovan)
err = BadAlloc; err = BadAlloc;
goto bail; goto bail;
} }
@@ -1589,6 +1592,7 @@ doImageText(ClientPtr client, register ITclosurePtr c) @@ -1589,6 +1592,7 @@ doImageText(ClientPtr client, register I
{ {
xfree(c->data); xfree(c->data);
xfree(c); xfree(c);
...@@ -63,7 +63,7 @@ v3: backport v2 to nx-libs 3.5.0.x (Mihai Moldovan) ...@@ -63,7 +63,7 @@ v3: backport v2 to nx-libs 3.5.0.x (Mihai Moldovan)
err = BadAlloc; err = BadAlloc;
goto bail; goto bail;
} }
@@ -1602,6 +1606,7 @@ doImageText(ClientPtr client, register ITclosurePtr c) @@ -1602,6 +1606,7 @@ doImageText(ClientPtr client, register I
FreeScratchGC(pGC); FreeScratchGC(pGC);
xfree(c->data); xfree(c->data);
xfree(c); xfree(c);
...@@ -73,7 +73,7 @@ v3: backport v2 to nx-libs 3.5.0.x (Mihai Moldovan) ...@@ -73,7 +73,7 @@ v3: backport v2 to nx-libs 3.5.0.x (Mihai Moldovan)
} }
--- a/nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c --- a/nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c +++ b/nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c
@@ -1711,6 +1711,7 @@ doImageText(ClientPtr client, register ITclosurePtr c) @@ -1711,6 +1711,7 @@ doImageText(client, c)
GC *pGC; GC *pGC;
unsigned char *data; unsigned char *data;
ITclosurePtr new_closure; ITclosurePtr new_closure;
...@@ -81,7 +81,7 @@ v3: backport v2 to nx-libs 3.5.0.x (Mihai Moldovan) ...@@ -81,7 +81,7 @@ v3: backport v2 to nx-libs 3.5.0.x (Mihai Moldovan)
/* We're putting the client to sleep. We need to /* We're putting the client to sleep. We need to
save some state. Similar problem to that handled save some state. Similar problem to that handled
@@ -1723,6 +1724,7 @@ doImageText(ClientPtr client, register ITclosurePtr c) @@ -1723,6 +1724,7 @@ doImageText(client, c)
err = BadAlloc; err = BadAlloc;
goto bail; goto bail;
} }
...@@ -89,7 +89,7 @@ v3: backport v2 to nx-libs 3.5.0.x (Mihai Moldovan) ...@@ -89,7 +89,7 @@ v3: backport v2 to nx-libs 3.5.0.x (Mihai Moldovan)
*new_closure = *c; *new_closure = *c;
c = new_closure; c = new_closure;
@@ -1730,6 +1732,7 @@ doImageText(ClientPtr client, register ITclosurePtr c) @@ -1730,6 +1732,7 @@ doImageText(client, c)
if (!data) if (!data)
{ {
xfree(c); xfree(c);
...@@ -97,7 +97,7 @@ v3: backport v2 to nx-libs 3.5.0.x (Mihai Moldovan) ...@@ -97,7 +97,7 @@ v3: backport v2 to nx-libs 3.5.0.x (Mihai Moldovan)
err = BadAlloc; err = BadAlloc;
goto bail; goto bail;
} }
@@ -1741,6 +1744,7 @@ doImageText(ClientPtr client, register ITclosurePtr c) @@ -1741,6 +1744,7 @@ doImageText(client, c)
{ {
xfree(c->data); xfree(c->data);
xfree(c); xfree(c);
...@@ -105,7 +105,7 @@ v3: backport v2 to nx-libs 3.5.0.x (Mihai Moldovan) ...@@ -105,7 +105,7 @@ v3: backport v2 to nx-libs 3.5.0.x (Mihai Moldovan)
err = BadAlloc; err = BadAlloc;
goto bail; goto bail;
} }
@@ -1759,6 +1763,7 @@ doImageText(ClientPtr client, register ITclosurePtr c) @@ -1759,6 +1763,7 @@ doImageText(client, c)
FreeScratchGC(pGC); FreeScratchGC(pGC);
xfree(c->data); xfree(c->data);
xfree(c); xfree(c);
......
...@@ -12,11 +12,9 @@ Fixes cppcheck warning: ...@@ -12,11 +12,9 @@ Fixes cppcheck warning:
nx-X11/lib/font/bitmap/bdfread.c | 2 +- nx-X11/lib/font/bitmap/bdfread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nx-X11/lib/font/bitmap/bdfread.c b/nx-X11/lib/font/bitmap/bdfread.c
index a6f0c1e..bccabd7 100644
--- a/nx-X11/lib/font/bitmap/bdfread.c --- a/nx-X11/lib/font/bitmap/bdfread.c
+++ b/nx-X11/lib/font/bitmap/bdfread.c +++ b/nx-X11/lib/font/bitmap/bdfread.c
@@ -344,7 +344,7 @@ bdfReadCharacters(FontFilePtr file, FontPtr pFont, bdfFileState *pState, @@ -344,7 +344,7 @@ bdfReadCharacters(FontFilePtr file, Font
char charName[100]; char charName[100];
int ignore; int ignore;
...@@ -25,6 +23,3 @@ index a6f0c1e..bccabd7 100644 ...@@ -25,6 +23,3 @@ index a6f0c1e..bccabd7 100644
bdfError("bad character name in BDF file\n"); bdfError("bad character name in BDF file\n");
goto BAILOUT; /* bottom of function, free and return error */ goto BAILOUT; /* bottom of function, free and return error */
} }
--
2.1.4
...@@ -22,11 +22,9 @@ int used to store the size. ...@@ -22,11 +22,9 @@ int used to store the size.
nx-X11/lib/font/fontfile/fontdir.c | 5 +++++ nx-X11/lib/font/fontfile/fontdir.c | 5 +++++
1 file changed, 5 insertions(+) 1 file changed, 5 insertions(+)
diff --git a/nx-X11/lib/font/fontfile/fontdir.c b/nx-X11/lib/font/fontfile/fontdir.c
index 8f75d8b..899ff05 100644
--- a/nx-X11/lib/font/fontfile/fontdir.c --- a/nx-X11/lib/font/fontfile/fontdir.c
+++ b/nx-X11/lib/font/fontfile/fontdir.c +++ b/nx-X11/lib/font/fontfile/fontdir.c
@@ -185,6 +185,11 @@ FontFileAddEntry(FontTablePtr table, FontEntryPtr prototype) @@ -185,6 +185,11 @@ FontFileAddEntry(FontTablePtr table, Fon
if (table->sorted) if (table->sorted)
return (FontEntryPtr) 0; /* "cannot" happen */ return (FontEntryPtr) 0; /* "cannot" happen */
if (table->used == table->size) { if (table->used == table->size) {
...@@ -38,6 +36,3 @@ index 8f75d8b..899ff05 100644 ...@@ -38,6 +36,3 @@ index 8f75d8b..899ff05 100644
newsize = table->size + 100; newsize = table->size + 100;
entry = (FontEntryPtr) xrealloc(table->entries, entry = (FontEntryPtr) xrealloc(table->entries,
newsize * sizeof(FontEntryRec)); newsize * sizeof(FontEntryRec));
--
2.1.4
...@@ -19,11 +19,9 @@ free issues. ...@@ -19,11 +19,9 @@ free issues.
nx-X11/lib/font/fontfile/dirfile.c | 4 ++++ nx-X11/lib/font/fontfile/dirfile.c | 4 ++++
1 file changed, 4 insertions(+) 1 file changed, 4 insertions(+)
diff --git a/nx-X11/lib/font/fontfile/dirfile.c b/nx-X11/lib/font/fontfile/dirfile.c
index f390391..3a2fead 100644
--- a/nx-X11/lib/font/fontfile/dirfile.c --- a/nx-X11/lib/font/fontfile/dirfile.c
+++ b/nx-X11/lib/font/fontfile/dirfile.c +++ b/nx-X11/lib/font/fontfile/dirfile.c
@@ -45,6 +45,7 @@ in this Software without prior written authorization from The Open Group. @@ -45,6 +45,7 @@ in this Software without prior written a
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>
...@@ -41,6 +39,3 @@ index f390391..3a2fead 100644 ...@@ -41,6 +39,3 @@ index f390391..3a2fead 100644
nsize = tokenSize ? (tokenSize << 1) : 64; nsize = tokenSize ? (tokenSize << 1) : 64;
nbuf = (char *) xrealloc(tokenBuf, nsize); nbuf = (char *) xrealloc(tokenBuf, nsize);
if (!nbuf) if (!nbuf)
--
2.1.4
...@@ -19,11 +19,9 @@ v2: use xfree() instead of free() for nx-libs 3.6.x (Mihai Moldovan) ...@@ -19,11 +19,9 @@ v2: use xfree() instead of free() for nx-libs 3.6.x (Mihai Moldovan)
nx-X11/lib/font/fc/fserve.c | 21 ++++++++++++++++++--- nx-X11/lib/font/fc/fserve.c | 21 ++++++++++++++++++---
1 file changed, 18 insertions(+), 3 deletions(-) 1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/nx-X11/lib/font/fc/fserve.c b/nx-X11/lib/font/fc/fserve.c
index 0d792c7..86b5753 100644
--- a/nx-X11/lib/font/fc/fserve.c --- a/nx-X11/lib/font/fc/fserve.c
+++ b/nx-X11/lib/font/fc/fserve.c +++ b/nx-X11/lib/font/fc/fserve.c
@@ -2985,7 +2985,7 @@ _fs_recv_conn_setup (FSFpePtr conn) @@ -2782,7 +2782,7 @@ _fs_recv_conn_setup (FSFpePtr conn)
int ret; int ret;
fsConnSetup *setup; fsConnSetup *setup;
FSFpeAltPtr alts; FSFpeAltPtr alts;
...@@ -32,7 +30,7 @@ index 0d792c7..86b5753 100644 ...@@ -32,7 +30,7 @@ index 0d792c7..86b5753 100644
int setup_len; int setup_len;
char *alt_save, *alt_names; char *alt_save, *alt_names;
@@ -3012,9 +3012,9 @@ _fs_recv_conn_setup (FSFpePtr conn) @@ -2809,9 +2809,9 @@ _fs_recv_conn_setup (FSFpePtr conn)
} }
if (setup->num_alternates) if (setup->num_alternates)
{ {
...@@ -44,7 +42,7 @@ index 0d792c7..86b5753 100644 ...@@ -44,7 +42,7 @@ index 0d792c7..86b5753 100644
if (alts) if (alts)
{ {
alt_names = (char *) (setup + 1); alt_names = (char *) (setup + 1);
@@ -3023,10 +3023,25 @@ _fs_recv_conn_setup (FSFpePtr conn) @@ -2820,10 +2820,25 @@ _fs_recv_conn_setup (FSFpePtr conn)
{ {
alts[i].subset = alt_names[0]; alts[i].subset = alt_names[0];
alt_len = alt_names[1]; alt_len = alt_names[1];
...@@ -70,6 +68,3 @@ index 0d792c7..86b5753 100644 ...@@ -70,6 +68,3 @@ index 0d792c7..86b5753 100644
alt_names += _fs_pad_length (alt_len + 2); alt_names += _fs_pad_length (alt_len + 2);
} }
conn->numAlts = setup->num_alternates; conn->numAlts = setup->num_alternates;
--
2.1.4
...@@ -9,11 +9,9 @@ Subject: [PATCH 08/40] Don't crash when we receive an FS_Error from the font ...@@ -9,11 +9,9 @@ Subject: [PATCH 08/40] Don't crash when we receive an FS_Error from the font
nx-X11/lib/font/fc/fserve.c | 2 +- nx-X11/lib/font/fc/fserve.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nx-X11/lib/font/fc/fserve.c b/nx-X11/lib/font/fc/fserve.c
index 0fdcc1d..c159b2b 100644
--- a/nx-X11/lib/font/fc/fserve.c --- a/nx-X11/lib/font/fc/fserve.c
+++ b/nx-X11/lib/font/fc/fserve.c +++ b/nx-X11/lib/font/fc/fserve.c
@@ -2366,7 +2366,7 @@ fs_read_list_info(FontPathElementPtr fpe, FSBlockDataPtr blockrec) @@ -2366,7 +2366,7 @@ fs_read_list_info(FontPathElementPtr fpe
_fs_free_props (&binfo->info); _fs_free_props (&binfo->info);
rep = (fsListFontsWithXInfoReply *) fs_get_reply (conn, &ret); rep = (fsListFontsWithXInfoReply *) fs_get_reply (conn, &ret);
...@@ -22,6 +20,3 @@ index 0fdcc1d..c159b2b 100644 ...@@ -22,6 +20,3 @@ index 0fdcc1d..c159b2b 100644
{ {
if (ret == FSIO_BLOCK) if (ret == FSIO_BLOCK)
return StillWorking; return StillWorking;
--
2.1.4
...@@ -12,11 +12,9 @@ that the reply was at least as long as the struct being cast to. ...@@ -12,11 +12,9 @@ that the reply was at least as long as the struct being cast to.
nx-X11/lib/font/fc/fserve.c | 44 ++++++++++++++++++++++++++++++++++++++------ nx-X11/lib/font/fc/fserve.c | 44 ++++++++++++++++++++++++++++++++++++++------
1 file changed, 38 insertions(+), 6 deletions(-) 1 file changed, 38 insertions(+), 6 deletions(-)
diff --git a/nx-X11/lib/font/fc/fserve.c b/nx-X11/lib/font/fc/fserve.c
index c159b2b..ca10aa4 100644
--- a/nx-X11/lib/font/fc/fserve.c --- a/nx-X11/lib/font/fc/fserve.c
+++ b/nx-X11/lib/font/fc/fserve.c +++ b/nx-X11/lib/font/fc/fserve.c
@@ -94,6 +94,12 @@ in this Software without prior written authorization from The Open Group. @@ -94,6 +94,12 @@ in this Software without prior written a
(pci)->descent || \ (pci)->descent || \
(pci)->characterWidth) (pci)->characterWidth)
...@@ -29,7 +27,7 @@ index c159b2b..ca10aa4 100644 ...@@ -29,7 +27,7 @@ index c159b2b..ca10aa4 100644
extern void ErrorF(const char *f, ...); extern void ErrorF(const char *f, ...);
static int fs_read_glyphs ( FontPathElementPtr fpe, FSBlockDataPtr blockrec ); static int fs_read_glyphs ( FontPathElementPtr fpe, FSBlockDataPtr blockrec );
@@ -209,9 +215,22 @@ _fs_add_rep_log (FSFpePtr conn, fsGenericReply *rep) @@ -209,9 +215,22 @@ _fs_add_rep_log (FSFpePtr conn, fsGeneri
rep->sequenceNumber, rep->sequenceNumber,
conn->reqbuffer[i].opcode); conn->reqbuffer[i].opcode);
} }
...@@ -52,7 +50,7 @@ index c159b2b..ca10aa4 100644 ...@@ -52,7 +50,7 @@ index c159b2b..ca10aa4 100644
#endif #endif
static Bool static Bool
@@ -693,13 +712,15 @@ fs_read_open_font(FontPathElementPtr fpe, FSBlockDataPtr blockrec) @@ -693,13 +712,15 @@ fs_read_open_font(FontPathElementPtr fpe
int ret; int ret;
rep = (fsOpenBitmapFontReply *) fs_get_reply (conn, &ret); rep = (fsOpenBitmapFontReply *) fs_get_reply (conn, &ret);
...@@ -69,7 +67,7 @@ index c159b2b..ca10aa4 100644 ...@@ -69,7 +67,7 @@ index c159b2b..ca10aa4 100644
return BadFontName; return BadFontName;
} }
@@ -835,13 +856,15 @@ fs_read_query_info(FontPathElementPtr fpe, FSBlockDataPtr blockrec) @@ -835,13 +856,15 @@ fs_read_query_info(FontPathElementPtr fp
int ret; int ret;
rep = (fsQueryXInfoReply *) fs_get_reply (conn, &ret); rep = (fsQueryXInfoReply *) fs_get_reply (conn, &ret);
...@@ -86,7 +84,7 @@ index c159b2b..ca10aa4 100644 ...@@ -86,7 +84,7 @@ index c159b2b..ca10aa4 100644
return BadFontName; return BadFontName;
} }
@@ -962,13 +985,15 @@ fs_read_extent_info(FontPathElementPtr fpe, FSBlockDataPtr blockrec) @@ -962,13 +985,15 @@ fs_read_extent_info(FontPathElementPtr f
FontInfoRec *fi = &bfont->pfont->info; FontInfoRec *fi = &bfont->pfont->info;
rep = (fsQueryXExtents16Reply *) fs_get_reply (conn, &ret); rep = (fsQueryXExtents16Reply *) fs_get_reply (conn, &ret);
...@@ -103,7 +101,7 @@ index c159b2b..ca10aa4 100644 ...@@ -103,7 +101,7 @@ index c159b2b..ca10aa4 100644
return BadFontName; return BadFontName;
} }
@@ -1833,13 +1858,15 @@ fs_read_glyphs(FontPathElementPtr fpe, FSBlockDataPtr blockrec) @@ -1833,13 +1858,15 @@ fs_read_glyphs(FontPathElementPtr fpe, F
unsigned long minchar, maxchar; unsigned long minchar, maxchar;
rep = (fsQueryXBitmaps16Reply *) fs_get_reply (conn, &ret); rep = (fsQueryXBitmaps16Reply *) fs_get_reply (conn, &ret);
...@@ -120,7 +118,7 @@ index c159b2b..ca10aa4 100644 ...@@ -120,7 +118,7 @@ index c159b2b..ca10aa4 100644
goto bail; goto bail;
} }
@@ -2243,12 +2270,14 @@ fs_read_list(FontPathElementPtr fpe, FSBlockDataPtr blockrec) @@ -2243,12 +2270,14 @@ fs_read_list(FontPathElementPtr fpe, FSB
int err; int err;
rep = (fsListFontsReply *) fs_get_reply (conn, &ret); rep = (fsListFontsReply *) fs_get_reply (conn, &ret);
...@@ -136,7 +134,7 @@ index c159b2b..ca10aa4 100644 ...@@ -136,7 +134,7 @@ index c159b2b..ca10aa4 100644
return AllocError; return AllocError;
} }
data = (char *) rep + SIZEOF (fsListFontsReply); data = (char *) rep + SIZEOF (fsListFontsReply);
@@ -2366,12 +2395,15 @@ fs_read_list_info(FontPathElementPtr fpe, FSBlockDataPtr blockrec) @@ -2366,12 +2395,15 @@ fs_read_list_info(FontPathElementPtr fpe
_fs_free_props (&binfo->info); _fs_free_props (&binfo->info);
rep = (fsListFontsWithXInfoReply *) fs_get_reply (conn, &ret); rep = (fsListFontsWithXInfoReply *) fs_get_reply (conn, &ret);
...@@ -153,6 +151,3 @@ index c159b2b..ca10aa4 100644 ...@@ -153,6 +151,3 @@ index c159b2b..ca10aa4 100644
goto done; goto done;
} }
/* /*
--
2.1.4
...@@ -24,11 +24,9 @@ font server trying to feed us more than (the somewhat arbitrary) ...@@ -24,11 +24,9 @@ font server trying to feed us more than (the somewhat arbitrary)
nx-X11/lib/font/fc/fserve.c | 18 ++++++++++++++++++ nx-X11/lib/font/fc/fserve.c | 18 ++++++++++++++++++
1 file changed, 18 insertions(+) 1 file changed, 18 insertions(+)
diff --git a/nx-X11/lib/font/fc/fserve.c b/nx-X11/lib/font/fc/fserve.c
index ca10aa4..7762653 100644
--- a/nx-X11/lib/font/fc/fserve.c --- a/nx-X11/lib/font/fc/fserve.c
+++ b/nx-X11/lib/font/fc/fserve.c +++ b/nx-X11/lib/font/fc/fserve.c
@@ -100,6 +100,9 @@ in this Software without prior written authorization from The Open Group. @@ -100,6 +100,9 @@ in this Software without prior written a
*/ */
#define LENGTHOF(r) (SIZEOF(r) >> 2) #define LENGTHOF(r) (SIZEOF(r) >> 2)
...@@ -60,6 +58,3 @@ index ca10aa4..7762653 100644 ...@@ -60,6 +58,3 @@ index ca10aa4..7762653 100644
ret = _fs_start_read (conn, rep->length << 2, &buf); ret = _fs_start_read (conn, rep->length << 2, &buf);
if (ret != FSIO_READY) if (ret != FSIO_READY)
{ {
--
2.1.4
...@@ -16,11 +16,9 @@ v2: apply correctly on nx-libs 3.6.x (Mihai Moldovan) ...@@ -16,11 +16,9 @@ v2: apply correctly on nx-libs 3.6.x (Mihai Moldovan)
nx-X11/lib/font/fc/fserve.c | 43 +++++++++++++++++++++++++++++++++++++++--- nx-X11/lib/font/fc/fserve.c | 43 +++++++++++++++++++++++++++++++++++++++---
2 files changed, 54 insertions(+), 8 deletions(-) 2 files changed, 54 insertions(+), 8 deletions(-)
diff --git a/nx-X11/lib/font/fc/fsconvert.c b/nx-X11/lib/font/fc/fsconvert.c
index 9a5e194..afa2c32 100644
--- a/nx-X11/lib/font/fc/fsconvert.c --- a/nx-X11/lib/font/fc/fsconvert.c
+++ b/nx-X11/lib/font/fc/fsconvert.c +++ b/nx-X11/lib/font/fc/fsconvert.c
@@ -123,6 +123,10 @@ _fs_convert_props(fsPropInfo *pi, fsPropOffset *po, pointer pd, @@ -123,6 +123,10 @@ _fs_convert_props(fsPropInfo *pi, fsProp
for (i = 0; i < nprops; i++, dprop++, is_str++) for (i = 0; i < nprops; i++, dprop++, is_str++)
{ {
memcpy(&local_off, off_adr, SIZEOF(fsPropOffset)); memcpy(&local_off, off_adr, SIZEOF(fsPropOffset));
...@@ -31,7 +29,7 @@ index 9a5e194..afa2c32 100644 ...@@ -31,7 +29,7 @@ index 9a5e194..afa2c32 100644
dprop->name = MakeAtom(&pdc[local_off.name.position], dprop->name = MakeAtom(&pdc[local_off.name.position],
local_off.name.length, 1); local_off.name.length, 1);
if (local_off.type != PropTypeString) { if (local_off.type != PropTypeString) {
@@ -130,15 +134,20 @@ _fs_convert_props(fsPropInfo *pi, fsPropOffset *po, pointer pd, @@ -130,15 +134,20 @@ _fs_convert_props(fsPropInfo *pi, fsProp
dprop->value = local_off.value.position; dprop->value = local_off.value.position;
} else { } else {
*is_str = TRUE; *is_str = TRUE;
...@@ -57,11 +55,9 @@ index 9a5e194..afa2c32 100644 ...@@ -57,11 +55,9 @@ index 9a5e194..afa2c32 100644
} }
} }
off_adr += SIZEOF(fsPropOffset); off_adr += SIZEOF(fsPropOffset);
diff --git a/nx-X11/lib/font/fc/fserve.c b/nx-X11/lib/font/fc/fserve.c
index 9e652d2..75cabdd 100644
--- a/nx-X11/lib/font/fc/fserve.c --- a/nx-X11/lib/font/fc/fserve.c
+++ b/nx-X11/lib/font/fc/fserve.c +++ b/nx-X11/lib/font/fc/fserve.c
@@ -866,6 +866,7 @@ fs_read_query_info(FontPathElementPtr fpe, FSBlockDataPtr blockrec) @@ -865,6 +865,7 @@ fs_read_query_info(FontPathElementPtr fp
FSFpePtr conn = (FSFpePtr) fpe->private; FSFpePtr conn = (FSFpePtr) fpe->private;
fsQueryXInfoReply *rep; fsQueryXInfoReply *rep;
char *buf; char *buf;
...@@ -69,7 +65,7 @@ index 9e652d2..75cabdd 100644 ...@@ -69,7 +65,7 @@ index 9e652d2..75cabdd 100644
fsPropInfo *pi; fsPropInfo *pi;
fsPropOffset *po; fsPropOffset *po;
pointer pd; pointer pd;
@@ -896,7 +897,10 @@ fs_read_query_info(FontPathElementPtr fpe, FSBlockDataPtr blockrec) @@ -895,7 +896,10 @@ fs_read_query_info(FontPathElementPtr fp
buf = (char *) rep; buf = (char *) rep;
buf += SIZEOF(fsQueryXInfoReply); buf += SIZEOF(fsQueryXInfoReply);
...@@ -81,7 +77,7 @@ index 9e652d2..75cabdd 100644 ...@@ -81,7 +77,7 @@ index 9e652d2..75cabdd 100644
/* move the data over */ /* move the data over */
fsUnpack_XFontInfoHeader(rep, pInfo); fsUnpack_XFontInfoHeader(rep, pInfo);
@@ -904,19 +908,52 @@ fs_read_query_info(FontPathElementPtr fpe, FSBlockDataPtr blockrec) @@ -903,19 +907,52 @@ fs_read_query_info(FontPathElementPtr fp
_fs_init_fontinfo(conn, pInfo); _fs_init_fontinfo(conn, pInfo);
/* Compute offsets into the reply */ /* Compute offsets into the reply */
...@@ -136,6 +132,3 @@ index 9e652d2..75cabdd 100644 ...@@ -136,6 +132,3 @@ index 9e652d2..75cabdd 100644
if (ret == -1) if (ret == -1)
{ {
fs_cleanup_bfont (bfont); fs_cleanup_bfont (bfont);
--
2.1.4
...@@ -13,11 +13,9 @@ calculation which can lead to memory corruption. ...@@ -13,11 +13,9 @@ calculation which can lead to memory corruption.
nx-X11/lib/font/fc/fserve.c | 12 +++++++++++- nx-X11/lib/font/fc/fserve.c | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-) 1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/nx-X11/lib/font/fc/fserve.c b/nx-X11/lib/font/fc/fserve.c
index 2a6f6c9..639964c 100644
--- a/nx-X11/lib/font/fc/fserve.c --- a/nx-X11/lib/font/fc/fserve.c
+++ b/nx-X11/lib/font/fc/fserve.c +++ b/nx-X11/lib/font/fc/fserve.c
@@ -73,6 +73,7 @@ in this Software without prior written authorization from The Open Group. @@ -73,6 +73,7 @@ in this Software without prior written a
#include "fservestr.h" #include "fservestr.h"
#include <X11/fonts/fontutil.h> #include <X11/fonts/fontutil.h>
#include <errno.h> #include <errno.h>
...@@ -25,7 +23,7 @@ index 2a6f6c9..639964c 100644 ...@@ -25,7 +23,7 @@ index 2a6f6c9..639964c 100644
#include <time.h> #include <time.h>
#define Time_t time_t #define Time_t time_t
@@ -1060,7 +1061,16 @@ fs_read_extent_info(FontPathElementPtr fpe, FSBlockDataPtr blockrec) @@ -1061,7 +1062,16 @@ fs_read_extent_info(FontPathElementPtr f
numInfos *= 2; numInfos *= 2;
haveInk = TRUE; haveInk = TRUE;
} }
...@@ -43,6 +41,3 @@ index 2a6f6c9..639964c 100644 ...@@ -43,6 +41,3 @@ index 2a6f6c9..639964c 100644
if (!pCI) if (!pCI)
{ {
--
2.1.4
...@@ -11,11 +11,9 @@ which can cause memory corruption. ...@@ -11,11 +11,9 @@ which can cause memory corruption.
nx-X11/lib/font/fc/fsconvert.c | 7 ++++++- nx-X11/lib/font/fc/fsconvert.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-) 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/nx-X11/lib/font/fc/fsconvert.c b/nx-X11/lib/font/fc/fsconvert.c
index d41e0b8..afa2c32 100644
--- a/nx-X11/lib/font/fc/fsconvert.c --- a/nx-X11/lib/font/fc/fsconvert.c
+++ b/nx-X11/lib/font/fc/fsconvert.c +++ b/nx-X11/lib/font/fc/fsconvert.c
@@ -762,7 +762,12 @@ fs_alloc_glyphs (FontPtr pFont, int size) @@ -762,7 +762,12 @@ fs_alloc_glyphs (FontPtr pFont, int size
FSGlyphPtr glyphs; FSGlyphPtr glyphs;
FSFontPtr fsfont = (FSFontPtr) pFont->fontPrivate; FSFontPtr fsfont = (FSFontPtr) pFont->fontPrivate;
...@@ -29,6 +27,3 @@ index d41e0b8..afa2c32 100644 ...@@ -29,6 +27,3 @@ index d41e0b8..afa2c32 100644
glyphs->next = fsfont->glyphs; glyphs->next = fsfont->glyphs;
fsfont->glyphs = glyphs; fsfont->glyphs = glyphs;
return (pointer) (glyphs + 1); return (pointer) (glyphs + 1);
--
2.1.4
...@@ -12,11 +12,9 @@ the specified reply length. ...@@ -12,11 +12,9 @@ the specified reply length.
nx-X11/lib/font/fc/fserve.c | 10 ++++++++++ nx-X11/lib/font/fc/fserve.c | 10 ++++++++++
1 file changed, 10 insertions(+) 1 file changed, 10 insertions(+)
diff --git a/nx-X11/lib/font/fc/fserve.c b/nx-X11/lib/font/fc/fserve.c
index 639964c..79de4f3 100644
--- a/nx-X11/lib/font/fc/fserve.c --- a/nx-X11/lib/font/fc/fserve.c
+++ b/nx-X11/lib/font/fc/fserve.c +++ b/nx-X11/lib/font/fc/fserve.c
@@ -1069,6 +1069,16 @@ fs_read_extent_info(FontPathElementPtr fpe, FSBlockDataPtr blockrec) @@ -1070,6 +1070,16 @@ fs_read_extent_info(FontPathElementPtr f
#endif #endif
pCI = NULL; pCI = NULL;
} }
...@@ -33,6 +31,3 @@ index 639964c..79de4f3 100644 ...@@ -33,6 +31,3 @@ index 639964c..79de4f3 100644
else else
pCI = malloc(sizeof(CharInfoRec) * numInfos); pCI = malloc(sizeof(CharInfoRec) * numInfos);
--
2.1.4
...@@ -13,11 +13,9 @@ bitmaps in the reply. ...@@ -13,11 +13,9 @@ bitmaps in the reply.
nx-X11/lib/font/fc/fserve.c | 29 ++++++++++++++++++++++++++++- nx-X11/lib/font/fc/fserve.c | 29 ++++++++++++++++++++++++++++-
1 file changed, 28 insertions(+), 1 deletion(-) 1 file changed, 28 insertions(+), 1 deletion(-)
diff --git a/nx-X11/lib/font/fc/fserve.c b/nx-X11/lib/font/fc/fserve.c
index 79de4f3..26218e5 100644
--- a/nx-X11/lib/font/fc/fserve.c --- a/nx-X11/lib/font/fc/fserve.c
+++ b/nx-X11/lib/font/fc/fserve.c +++ b/nx-X11/lib/font/fc/fserve.c
@@ -1916,6 +1916,7 @@ fs_read_glyphs(FontPathElementPtr fpe, FSBlockDataPtr blockrec) @@ -1917,6 +1917,7 @@ fs_read_glyphs(FontPathElementPtr fpe, F
FontInfoPtr pfi = &pfont->info; FontInfoPtr pfi = &pfont->info;
fsQueryXBitmaps16Reply *rep; fsQueryXBitmaps16Reply *rep;
char *buf; char *buf;
...@@ -25,7 +23,7 @@ index 79de4f3..26218e5 100644 ...@@ -25,7 +23,7 @@ index 79de4f3..26218e5 100644
fsOffset32 *ppbits; fsOffset32 *ppbits;
fsOffset32 local_off; fsOffset32 local_off;
char *off_adr; char *off_adr;
@@ -1947,9 +1948,33 @@ fs_read_glyphs(FontPathElementPtr fpe, FSBlockDataPtr blockrec) @@ -1948,9 +1949,33 @@ fs_read_glyphs(FontPathElementPtr fpe, F
buf = (char *) rep; buf = (char *) rep;
buf += SIZEOF (fsQueryXBitmaps16Reply); buf += SIZEOF (fsQueryXBitmaps16Reply);
...@@ -59,7 +57,7 @@ index 79de4f3..26218e5 100644 ...@@ -59,7 +57,7 @@ index 79de4f3..26218e5 100644
pbitmaps = (pointer ) buf; pbitmaps = (pointer ) buf;
if (blockrec->type == FS_LOAD_GLYPHS) if (blockrec->type == FS_LOAD_GLYPHS)
@@ -2007,7 +2032,9 @@ fs_read_glyphs(FontPathElementPtr fpe, FSBlockDataPtr blockrec) @@ -2008,7 +2033,9 @@ fs_read_glyphs(FontPathElementPtr fpe, F
*/ */
if (NONZEROMETRICS(&fsdata->encoding[minchar].metrics)) if (NONZEROMETRICS(&fsdata->encoding[minchar].metrics))
{ {
...@@ -70,6 +68,3 @@ index 79de4f3..26218e5 100644 ...@@ -70,6 +68,3 @@ index 79de4f3..26218e5 100644
{ {
bits = allbits; bits = allbits;
allbits += local_off.length; allbits += local_off.length;
--
2.1.4
...@@ -13,11 +13,9 @@ over the strings in the reply. ...@@ -13,11 +13,9 @@ over the strings in the reply.
nx-X11/lib/font/fc/fserve.c | 15 +++++++++++++++ nx-X11/lib/font/fc/fserve.c | 15 +++++++++++++++
1 file changed, 15 insertions(+) 1 file changed, 15 insertions(+)
diff --git a/nx-X11/lib/font/fc/fserve.c b/nx-X11/lib/font/fc/fserve.c
index 26218e5..60d9017 100644
--- a/nx-X11/lib/font/fc/fserve.c --- a/nx-X11/lib/font/fc/fserve.c
+++ b/nx-X11/lib/font/fc/fserve.c +++ b/nx-X11/lib/font/fc/fserve.c
@@ -2365,6 +2365,7 @@ fs_read_list(FontPathElementPtr fpe, FSBlockDataPtr blockrec) @@ -2366,6 +2366,7 @@ fs_read_list(FontPathElementPtr fpe, FSB
FSBlockedListPtr blist = (FSBlockedListPtr) blockrec->data; FSBlockedListPtr blist = (FSBlockedListPtr) blockrec->data;
fsListFontsReply *rep; fsListFontsReply *rep;
char *data; char *data;
...@@ -25,7 +23,7 @@ index 26218e5..60d9017 100644 ...@@ -25,7 +23,7 @@ index 26218e5..60d9017 100644
int length, int length,
i, i,
ret; ret;
@@ -2382,16 +2383,30 @@ fs_read_list(FontPathElementPtr fpe, FSBlockDataPtr blockrec) @@ -2383,16 +2384,30 @@ fs_read_list(FontPathElementPtr fpe, FSB
return AllocError; return AllocError;
} }
data = (char *) rep + SIZEOF (fsListFontsReply); data = (char *) rep + SIZEOF (fsListFontsReply);
...@@ -56,6 +54,3 @@ index 26218e5..60d9017 100644 ...@@ -56,6 +54,3 @@ index 26218e5..60d9017 100644
} }
_fs_done_read (conn, rep->length << 2); _fs_done_read (conn, rep->length << 2);
return err; return err;
--
2.1.4
...@@ -13,11 +13,9 @@ bound reads when looping over these items in the reply. ...@@ -13,11 +13,9 @@ bound reads when looping over these items in the reply.
nx-X11/lib/font/fc/fserve.c | 56 ++++++++++++++++++++++++++++++++++++++++++++- nx-X11/lib/font/fc/fserve.c | 56 ++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 55 insertions(+), 1 deletion(-) 1 file changed, 55 insertions(+), 1 deletion(-)
diff --git a/nx-X11/lib/font/fc/fserve.c b/nx-X11/lib/font/fc/fserve.c
index 60d9017..6ba3ad4 100644
--- a/nx-X11/lib/font/fc/fserve.c --- a/nx-X11/lib/font/fc/fserve.c
+++ b/nx-X11/lib/font/fc/fserve.c +++ b/nx-X11/lib/font/fc/fserve.c
@@ -2500,6 +2500,7 @@ fs_read_list_info(FontPathElementPtr fpe, FSBlockDataPtr blockrec) @@ -2501,6 +2501,7 @@ fs_read_list_info(FontPathElementPtr fpe
FSBlockedListInfoPtr binfo = (FSBlockedListInfoPtr) blockrec->data; FSBlockedListInfoPtr binfo = (FSBlockedListInfoPtr) blockrec->data;
fsListFontsWithXInfoReply *rep; fsListFontsWithXInfoReply *rep;
char *buf; char *buf;
...@@ -25,7 +23,7 @@ index 60d9017..6ba3ad4 100644 ...@@ -25,7 +23,7 @@ index 60d9017..6ba3ad4 100644
FSFpePtr conn = (FSFpePtr) fpe->private; FSFpePtr conn = (FSFpePtr) fpe->private;
fsPropInfo *pi; fsPropInfo *pi;
fsPropOffset *po; fsPropOffset *po;
@@ -2536,7 +2537,8 @@ fs_read_list_info(FontPathElementPtr fpe, FSBlockDataPtr blockrec) @@ -2537,7 +2538,8 @@ fs_read_list_info(FontPathElementPtr fpe
} }
buf = (char *) rep + SIZEOF (fsListFontsWithXInfoReply); buf = (char *) rep + SIZEOF (fsListFontsWithXInfoReply);
...@@ -35,7 +33,7 @@ index 60d9017..6ba3ad4 100644 ...@@ -35,7 +33,7 @@ index 60d9017..6ba3ad4 100644
/* /*
* The original FS implementation didn't match * The original FS implementation didn't match
* the spec, version 1 was respecified to match the FS. * the spec, version 1 was respecified to match the FS.
@@ -2544,19 +2546,71 @@ fs_read_list_info(FontPathElementPtr fpe, FSBlockDataPtr blockrec) @@ -2545,19 +2547,71 @@ fs_read_list_info(FontPathElementPtr fpe
*/ */
if (conn->fsMajorVersion <= 1) if (conn->fsMajorVersion <= 1)
{ {
...@@ -107,6 +105,3 @@ index 60d9017..6ba3ad4 100644 ...@@ -107,6 +105,3 @@ index 60d9017..6ba3ad4 100644
} }
#ifdef DEBUG #ifdef DEBUG
--
2.1.4
...@@ -23,8 +23,6 @@ Conflicts: ...@@ -23,8 +23,6 @@ Conflicts:
nx-X11/programs/Xserver/os/rpcauth.c | 4 ++++ nx-X11/programs/Xserver/os/rpcauth.c | 4 ++++
1 file changed, 4 insertions(+) 1 file changed, 4 insertions(+)
diff --git a/nx-X11/programs/Xserver/os/rpcauth.c b/nx-X11/programs/Xserver/os/rpcauth.c
index 3c5cb59..a12931e 100644
--- a/nx-X11/programs/Xserver/os/rpcauth.c --- a/nx-X11/programs/Xserver/os/rpcauth.c
+++ b/nx-X11/programs/Xserver/os/rpcauth.c +++ b/nx-X11/programs/Xserver/os/rpcauth.c
@@ -78,6 +78,10 @@ authdes_ezdecode(char *inmsg, int len) @@ -78,6 +78,10 @@ authdes_ezdecode(char *inmsg, int len)
...@@ -38,6 +36,3 @@ index 3c5cb59..a12931e 100644 ...@@ -38,6 +36,3 @@ index 3c5cb59..a12931e 100644
memmove(temp_inmsg, inmsg, len); memmove(temp_inmsg, inmsg, len);
memset((char *)&msg, 0, sizeof(msg)); memset((char *)&msg, 0, sizeof(msg));
--
2.1.4
...@@ -40,7 +40,7 @@ Conflicts: ...@@ -40,7 +40,7 @@ Conflicts:
return BadLength; return BadLength;
--- a/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c --- a/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c +++ b/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
@@ -2630,7 +2630,9 @@ ProcPutImage(register ClientPtr client) @@ -2630,7 +2630,9 @@ ProcPutImage(client)
tmpImage = (char *)&stuff[1]; tmpImage = (char *)&stuff[1];
lengthProto = length; lengthProto = length;
......
...@@ -25,8 +25,6 @@ Conflicts: ...@@ -25,8 +25,6 @@ Conflicts:
nx-X11/programs/Xserver/os/access.c | 6 ++++++ nx-X11/programs/Xserver/os/access.c | 6 ++++++
1 file changed, 6 insertions(+) 1 file changed, 6 insertions(+)
diff --git a/nx-X11/programs/Xserver/os/access.c b/nx-X11/programs/Xserver/os/access.c
index b6a70a7..532a2f8 100644
--- a/nx-X11/programs/Xserver/os/access.c --- a/nx-X11/programs/Xserver/os/access.c
+++ b/nx-X11/programs/Xserver/os/access.c +++ b/nx-X11/programs/Xserver/os/access.c
@@ -1719,6 +1719,10 @@ GetHosts ( @@ -1719,6 +1719,10 @@ GetHosts (
...@@ -49,6 +47,3 @@ index b6a70a7..532a2f8 100644 ...@@ -49,6 +47,3 @@ index b6a70a7..532a2f8 100644
((xHostEntry *)ptr)->family = host->family; ((xHostEntry *)ptr)->family = host->family;
((xHostEntry *)ptr)->length = len; ((xHostEntry *)ptr)->length = len;
ptr += sizeof(xHostEntry); ptr += sizeof(xHostEntry);
--
2.1.4
...@@ -24,8 +24,6 @@ Conflicts: ...@@ -24,8 +24,6 @@ Conflicts:
nx-X11/programs/Xserver/mi/miregion.c | 39 ++++++++++++++++++++--------- nx-X11/programs/Xserver/mi/miregion.c | 39 ++++++++++++++++++++---------
2 files changed, 34 insertions(+), 15 deletions(-) 2 files changed, 34 insertions(+), 15 deletions(-)
diff --git a/nx-X11/programs/Xserver/include/regionstr.h b/nx-X11/programs/Xserver/include/regionstr.h
index 000bf3f..cf41170 100644
--- a/nx-X11/programs/Xserver/include/regionstr.h --- a/nx-X11/programs/Xserver/include/regionstr.h
+++ b/nx-X11/programs/Xserver/include/regionstr.h +++ b/nx-X11/programs/Xserver/include/regionstr.h
@@ -53,6 +53,9 @@ SOFTWARE. @@ -53,6 +53,9 @@ SOFTWARE.
...@@ -60,8 +58,6 @@ index 000bf3f..cf41170 100644 ...@@ -60,8 +58,6 @@ index 000bf3f..cf41170 100644
{ \ { \
(_pReg)->data->size = (_size); \ (_pReg)->data->size = (_size); \
(_pReg)->data->numRects = 0; \ (_pReg)->data->numRects = 0; \
diff --git a/nx-X11/programs/Xserver/mi/miregion.c b/nx-X11/programs/Xserver/mi/miregion.c
index df33248..5ec4ec5 100644
--- a/nx-X11/programs/Xserver/mi/miregion.c --- a/nx-X11/programs/Xserver/mi/miregion.c
+++ b/nx-X11/programs/Xserver/mi/miregion.c +++ b/nx-X11/programs/Xserver/mi/miregion.c
@@ -172,7 +172,6 @@ Equipment Corporation. @@ -172,7 +172,6 @@ Equipment Corporation.
...@@ -72,7 +68,7 @@ index df33248..5ec4ec5 100644 ...@@ -72,7 +68,7 @@ index df33248..5ec4ec5 100644
#define xfreeData(reg) if ((reg)->data && (reg)->data->size) xfree((reg)->data) #define xfreeData(reg) if ((reg)->data && (reg)->data->size) xfree((reg)->data)
#define RECTALLOC_BAIL(pReg,n,bail) \ #define RECTALLOC_BAIL(pReg,n,bail) \
@@ -209,8 +208,9 @@ if (!(pReg)->data || (((pReg)->data->numRects + (n)) > (pReg)->data->size)) \ @@ -209,8 +208,9 @@ if (!(pReg)->data || (((pReg)->data->num
#define DOWNSIZE(reg,numRects) \ #define DOWNSIZE(reg,numRects) \
if (((numRects) < ((reg)->data->size >> 1)) && ((reg)->data->size > 50)) \ if (((numRects) < ((reg)->data->size >> 1)) && ((reg)->data->size > 50)) \
{ \ { \
...@@ -200,6 +196,3 @@ index df33248..5ec4ec5 100644 ...@@ -200,6 +196,3 @@ index df33248..5ec4ec5 100644
if (!dst->data) if (!dst->data)
return miRegionBreak (dst); return miRegionBreak (dst);
} }
--
2.1.4
...@@ -18,8 +18,6 @@ v3: backport to nx-libs 3.6.x (Mike DePaulo) ...@@ -18,8 +18,6 @@ v3: backport to nx-libs 3.6.x (Mike DePaulo)
nx-X11/programs/Xserver/include/dix.h | 5 ++++- nx-X11/programs/Xserver/include/dix.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-) 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/nx-X11/programs/Xserver/include/dix.h b/nx-X11/programs/Xserver/include/dix.h
index 1b8fc42..d82979c 100644
--- a/nx-X11/programs/Xserver/include/dix.h --- a/nx-X11/programs/Xserver/include/dix.h
+++ b/nx-X11/programs/Xserver/include/dix.h +++ b/nx-X11/programs/Xserver/include/dix.h
@@ -50,6 +50,8 @@ SOFTWARE. @@ -50,6 +50,8 @@ SOFTWARE.
...@@ -41,6 +39,3 @@ index 1b8fc42..d82979c 100644 ...@@ -41,6 +39,3 @@ index 1b8fc42..d82979c 100644
return(BadLength) return(BadLength)
#define LEGAL_NEW_RESOURCE(id,client)\ #define LEGAL_NEW_RESOURCE(id,client)\
--
2.1.4
...@@ -27,8 +27,6 @@ Conflicts: ...@@ -27,8 +27,6 @@ Conflicts:
nx-X11/programs/Xserver/dbe/dbe.c | 11 ++++++++--- nx-X11/programs/Xserver/dbe/dbe.c | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-) 1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/nx-X11/programs/Xserver/dbe/dbe.c b/nx-X11/programs/Xserver/dbe/dbe.c
index c0d6131..5a1e9b0 100644
--- a/nx-X11/programs/Xserver/dbe/dbe.c --- a/nx-X11/programs/Xserver/dbe/dbe.c
+++ b/nx-X11/programs/Xserver/dbe/dbe.c +++ b/nx-X11/programs/Xserver/dbe/dbe.c
@@ -725,8 +725,8 @@ ProcDbeSwapBuffers(client) @@ -725,8 +725,8 @@ ProcDbeSwapBuffers(client)
...@@ -75,6 +73,3 @@ index c0d6131..5a1e9b0 100644 ...@@ -75,6 +73,3 @@ index c0d6131..5a1e9b0 100644
if (stuff->n != 0) if (stuff->n != 0)
{ {
--
2.1.4
...@@ -45,8 +45,6 @@ Conflicts: ...@@ -45,8 +45,6 @@ Conflicts:
nx-X11/programs/Xserver/include/dix.h | 4 ++++ nx-X11/programs/Xserver/include/dix.h | 4 ++++
4 files changed, 11 insertions(+), 2 deletions(-) 4 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/nx-X11/programs/Xserver/Xi/chgdctl.c b/nx-X11/programs/Xserver/Xi/chgdctl.c
index 63a3c9c..144a51e 100644
--- a/nx-X11/programs/Xserver/Xi/chgdctl.c --- a/nx-X11/programs/Xserver/Xi/chgdctl.c
+++ b/nx-X11/programs/Xserver/Xi/chgdctl.c +++ b/nx-X11/programs/Xserver/Xi/chgdctl.c
@@ -87,7 +87,7 @@ SProcXChangeDeviceControl(client) @@ -87,7 +87,7 @@ SProcXChangeDeviceControl(client)
...@@ -67,8 +65,6 @@ index 63a3c9c..144a51e 100644 ...@@ -67,8 +65,6 @@ index 63a3c9c..144a51e 100644
len = stuff->length - (sizeof(xChangeDeviceControlReq) >>2); len = stuff->length - (sizeof(xChangeDeviceControlReq) >>2);
dev = LookupDeviceIntRec (stuff->deviceid); dev = LookupDeviceIntRec (stuff->deviceid);
diff --git a/nx-X11/programs/Xserver/Xi/chgfctl.c b/nx-X11/programs/Xserver/Xi/chgfctl.c
index fe8bd1f..3ffac39 100644
--- a/nx-X11/programs/Xserver/Xi/chgfctl.c --- a/nx-X11/programs/Xserver/Xi/chgfctl.c
+++ b/nx-X11/programs/Xserver/Xi/chgfctl.c +++ b/nx-X11/programs/Xserver/Xi/chgfctl.c
@@ -160,6 +160,8 @@ ProcXChangeFeedbackControl(client) @@ -160,6 +160,8 @@ ProcXChangeFeedbackControl(client)
...@@ -80,8 +76,6 @@ index fe8bd1f..3ffac39 100644 ...@@ -80,8 +76,6 @@ index fe8bd1f..3ffac39 100644
swaps(&f->num_keysyms,n); swaps(&f->num_keysyms,n);
} }
if (len != ((sizeof(xStringFeedbackCtl)>>2) + f->num_keysyms)) if (len != ((sizeof(xStringFeedbackCtl)>>2) + f->num_keysyms))
diff --git a/nx-X11/programs/Xserver/Xi/sendexev.c b/nx-X11/programs/Xserver/Xi/sendexev.c
index 9b441f2..0b2a701 100644
--- a/nx-X11/programs/Xserver/Xi/sendexev.c --- a/nx-X11/programs/Xserver/Xi/sendexev.c
+++ b/nx-X11/programs/Xserver/Xi/sendexev.c +++ b/nx-X11/programs/Xserver/Xi/sendexev.c
@@ -154,6 +154,9 @@ ProcXSendExtensionEvent (client) @@ -154,6 +154,9 @@ ProcXSendExtensionEvent (client)
...@@ -94,8 +88,6 @@ index 9b441f2..0b2a701 100644 ...@@ -94,8 +88,6 @@ index 9b441f2..0b2a701 100644
/* The client's event type must be one defined by an extension. */ /* The client's event type must be one defined by an extension. */
first = ((xEvent *) &stuff[1]); first = ((xEvent *) &stuff[1]);
diff --git a/nx-X11/programs/Xserver/include/dix.h b/nx-X11/programs/Xserver/include/dix.h
index d82979c..9fe575e 100644
--- a/nx-X11/programs/Xserver/include/dix.h --- a/nx-X11/programs/Xserver/include/dix.h
+++ b/nx-X11/programs/Xserver/include/dix.h +++ b/nx-X11/programs/Xserver/include/dix.h
@@ -73,6 +73,10 @@ SOFTWARE. @@ -73,6 +73,10 @@ SOFTWARE.
...@@ -109,6 +101,3 @@ index d82979c..9fe575e 100644 ...@@ -109,6 +101,3 @@ index d82979c..9fe575e 100644
#define REQUEST_FIXED_SIZE(req, n)\ #define REQUEST_FIXED_SIZE(req, n)\
if (((sizeof(req) >> 2) > client->req_len) || \ if (((sizeof(req) >> 2) > client->req_len) || \
((n >> 2) >= client->req_len) || \ ((n >> 2) >= client->req_len) || \
--
2.1.4
...@@ -12,8 +12,6 @@ Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> ...@@ -12,8 +12,6 @@ Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
nx-X11/programs/Xserver/Xext/xcmisc.c | 1 + nx-X11/programs/Xserver/Xext/xcmisc.c | 1 +
1 file changed, 1 insertion(+) 1 file changed, 1 insertion(+)
diff --git a/nx-X11/programs/Xserver/Xext/xcmisc.c b/nx-X11/programs/Xserver/Xext/xcmisc.c
index c7bb72d..0a9a090 100644
--- a/nx-X11/programs/Xserver/Xext/xcmisc.c --- a/nx-X11/programs/Xserver/Xext/xcmisc.c
+++ b/nx-X11/programs/Xserver/Xext/xcmisc.c +++ b/nx-X11/programs/Xserver/Xext/xcmisc.c
@@ -228,6 +228,7 @@ SProcXCMiscGetXIDList(client) @@ -228,6 +228,7 @@ SProcXCMiscGetXIDList(client)
...@@ -24,6 +22,3 @@ index c7bb72d..0a9a090 100644 ...@@ -24,6 +22,3 @@ index c7bb72d..0a9a090 100644
swaps(&stuff->length, n); swaps(&stuff->length, n);
swapl(&stuff->count, n); swapl(&stuff->count, n);
--
2.1.4
...@@ -107,7 +107,7 @@ Conflicts: ...@@ -107,7 +107,7 @@ Conflicts:
swaps(&stuff->length, n); swaps(&stuff->length, n);
swapl(&stuff->port, n); swapl(&stuff->port, n);
swapl(&stuff->drawable, n); swapl(&stuff->drawable, n);
@@ -1529,6 +1540,7 @@ SProcXvSelectVideoNotify(ClientPtr client) @@ -1529,6 +1540,7 @@ SProcXvSelectVideoNotify(ClientPtr clien
{ {
register char n; register char n;
REQUEST(xvSelectVideoNotifyReq); REQUEST(xvSelectVideoNotifyReq);
...@@ -115,7 +115,7 @@ Conflicts: ...@@ -115,7 +115,7 @@ Conflicts:
swaps(&stuff->length, n); swaps(&stuff->length, n);
swapl(&stuff->drawable, n); swapl(&stuff->drawable, n);
return ProcXvSelectVideoNotify(client); return ProcXvSelectVideoNotify(client);
@@ -1539,6 +1551,7 @@ SProcXvSelectPortNotify(ClientPtr client) @@ -1539,6 +1551,7 @@ SProcXvSelectPortNotify(ClientPtr client
{ {
register char n; register char n;
REQUEST(xvSelectPortNotifyReq); REQUEST(xvSelectPortNotifyReq);
...@@ -131,7 +131,7 @@ Conflicts: ...@@ -131,7 +131,7 @@ Conflicts:
swaps(&stuff->length, n); swaps(&stuff->length, n);
swapl(&stuff->port, n); swapl(&stuff->port, n);
swapl(&stuff->drawable, n); swapl(&stuff->drawable, n);
@@ -1560,6 +1574,7 @@ SProcXvSetPortAttribute(ClientPtr client) @@ -1560,6 +1574,7 @@ SProcXvSetPortAttribute(ClientPtr client
{ {
register char n; register char n;
REQUEST(xvSetPortAttributeReq); REQUEST(xvSetPortAttributeReq);
...@@ -139,7 +139,7 @@ Conflicts: ...@@ -139,7 +139,7 @@ Conflicts:
swaps(&stuff->length, n); swaps(&stuff->length, n);
swapl(&stuff->port, n); swapl(&stuff->port, n);
swapl(&stuff->attribute, n); swapl(&stuff->attribute, n);
@@ -1571,6 +1586,7 @@ SProcXvGetPortAttribute(ClientPtr client) @@ -1571,6 +1586,7 @@ SProcXvGetPortAttribute(ClientPtr client
{ {
register char n; register char n;
REQUEST(xvGetPortAttributeReq); REQUEST(xvGetPortAttributeReq);
...@@ -155,7 +155,7 @@ Conflicts: ...@@ -155,7 +155,7 @@ Conflicts:
swaps(&stuff->length, n); swaps(&stuff->length, n);
swapl(&stuff->port, n); swapl(&stuff->port, n);
swaps(&stuff->vid_w, n); swaps(&stuff->vid_w, n);
@@ -1596,6 +1613,7 @@ SProcXvQueryPortAttributes(ClientPtr client) @@ -1596,6 +1613,7 @@ SProcXvQueryPortAttributes(ClientPtr cli
{ {
register char n; register char n;
REQUEST(xvQueryPortAttributesReq); REQUEST(xvQueryPortAttributesReq);
...@@ -163,7 +163,7 @@ Conflicts: ...@@ -163,7 +163,7 @@ Conflicts:
swaps(&stuff->length, n); swaps(&stuff->length, n);
swapl(&stuff->port, n); swapl(&stuff->port, n);
return ProcXvQueryPortAttributes(client); return ProcXvQueryPortAttributes(client);
@@ -1606,6 +1624,7 @@ SProcXvQueryImageAttributes(ClientPtr client) @@ -1606,6 +1624,7 @@ SProcXvQueryImageAttributes(ClientPtr cl
{ {
register char n; register char n;
REQUEST(xvQueryImageAttributesReq); REQUEST(xvQueryImageAttributesReq);
...@@ -171,7 +171,7 @@ Conflicts: ...@@ -171,7 +171,7 @@ Conflicts:
swaps(&stuff->length, n); swaps(&stuff->length, n);
swapl(&stuff->id, n); swapl(&stuff->id, n);
swaps(&stuff->width, n); swaps(&stuff->width, n);
@@ -1618,6 +1637,7 @@ SProcXvListImageFormats(ClientPtr client) @@ -1618,6 +1637,7 @@ SProcXvListImageFormats(ClientPtr client
{ {
register char n; register char n;
REQUEST(xvListImageFormatsReq); REQUEST(xvListImageFormatsReq);
...@@ -269,7 +269,7 @@ Conflicts: ...@@ -269,7 +269,7 @@ Conflicts:
swaps(&stuff->length, n); swaps(&stuff->length, n);
swapl(&stuff->port, n); swapl(&stuff->port, n);
swapl(&stuff->drawable, n); swapl(&stuff->drawable, n);
@@ -1583,6 +1594,7 @@ SProcXvSelectVideoNotify(ClientPtr client) @@ -1583,6 +1594,7 @@ SProcXvSelectVideoNotify(ClientPtr clien
{ {
register char n; register char n;
REQUEST(xvSelectVideoNotifyReq); REQUEST(xvSelectVideoNotifyReq);
...@@ -277,7 +277,7 @@ Conflicts: ...@@ -277,7 +277,7 @@ Conflicts:
swaps(&stuff->length, n); swaps(&stuff->length, n);
swapl(&stuff->drawable, n); swapl(&stuff->drawable, n);
return ProcXvSelectVideoNotify(client); return ProcXvSelectVideoNotify(client);
@@ -1593,6 +1605,7 @@ SProcXvSelectPortNotify(ClientPtr client) @@ -1593,6 +1605,7 @@ SProcXvSelectPortNotify(ClientPtr client
{ {
register char n; register char n;
REQUEST(xvSelectPortNotifyReq); REQUEST(xvSelectPortNotifyReq);
...@@ -293,7 +293,7 @@ Conflicts: ...@@ -293,7 +293,7 @@ Conflicts:
swaps(&stuff->length, n); swaps(&stuff->length, n);
swapl(&stuff->port, n); swapl(&stuff->port, n);
swapl(&stuff->drawable, n); swapl(&stuff->drawable, n);
@@ -1614,6 +1628,7 @@ SProcXvSetPortAttribute(ClientPtr client) @@ -1614,6 +1628,7 @@ SProcXvSetPortAttribute(ClientPtr client
{ {
register char n; register char n;
REQUEST(xvSetPortAttributeReq); REQUEST(xvSetPortAttributeReq);
...@@ -301,7 +301,7 @@ Conflicts: ...@@ -301,7 +301,7 @@ Conflicts:
swaps(&stuff->length, n); swaps(&stuff->length, n);
swapl(&stuff->port, n); swapl(&stuff->port, n);
swapl(&stuff->attribute, n); swapl(&stuff->attribute, n);
@@ -1625,6 +1640,7 @@ SProcXvGetPortAttribute(ClientPtr client) @@ -1625,6 +1640,7 @@ SProcXvGetPortAttribute(ClientPtr client
{ {
register char n; register char n;
REQUEST(xvGetPortAttributeReq); REQUEST(xvGetPortAttributeReq);
...@@ -317,7 +317,7 @@ Conflicts: ...@@ -317,7 +317,7 @@ Conflicts:
swaps(&stuff->length, n); swaps(&stuff->length, n);
swapl(&stuff->port, n); swapl(&stuff->port, n);
swaps(&stuff->vid_w, n); swaps(&stuff->vid_w, n);
@@ -1650,6 +1667,7 @@ SProcXvQueryPortAttributes(ClientPtr client) @@ -1650,6 +1667,7 @@ SProcXvQueryPortAttributes(ClientPtr cli
{ {
register char n; register char n;
REQUEST(xvQueryPortAttributesReq); REQUEST(xvQueryPortAttributesReq);
...@@ -325,7 +325,7 @@ Conflicts: ...@@ -325,7 +325,7 @@ Conflicts:
swaps(&stuff->length, n); swaps(&stuff->length, n);
swapl(&stuff->port, n); swapl(&stuff->port, n);
return ProcXvQueryPortAttributes(client); return ProcXvQueryPortAttributes(client);
@@ -1660,6 +1678,7 @@ SProcXvQueryImageAttributes(ClientPtr client) @@ -1660,6 +1678,7 @@ SProcXvQueryImageAttributes(ClientPtr cl
{ {
register char n; register char n;
REQUEST(xvQueryImageAttributesReq); REQUEST(xvQueryImageAttributesReq);
...@@ -333,7 +333,7 @@ Conflicts: ...@@ -333,7 +333,7 @@ Conflicts:
swaps(&stuff->length, n); swaps(&stuff->length, n);
swapl(&stuff->id, n); swapl(&stuff->id, n);
swaps(&stuff->width, n); swaps(&stuff->width, n);
@@ -1672,6 +1691,7 @@ SProcXvListImageFormats(ClientPtr client) @@ -1672,6 +1691,7 @@ SProcXvListImageFormats(ClientPtr client
{ {
register char n; register char n;
REQUEST(xvListImageFormatsReq); REQUEST(xvListImageFormatsReq);
......
...@@ -15,11 +15,9 @@ Conflicts: ...@@ -15,11 +15,9 @@ Conflicts:
nx-X11/programs/Xserver/xfixes/select.c | 1 + nx-X11/programs/Xserver/xfixes/select.c | 1 +
1 file changed, 1 insertion(+) 1 file changed, 1 insertion(+)
diff --git a/nx-X11/programs/Xserver/xfixes/select.c b/nx-X11/programs/Xserver/xfixes/select.c
index c72e19e..4b8bd01 100755
--- a/nx-X11/programs/Xserver/xfixes/select.c --- a/nx-X11/programs/Xserver/xfixes/select.c
+++ b/nx-X11/programs/Xserver/xfixes/select.c +++ b/nx-X11/programs/Xserver/xfixes/select.c
@@ -216,6 +216,7 @@ SProcXFixesSelectSelectionInput (ClientPtr client) @@ -216,6 +216,7 @@ SProcXFixesSelectSelectionInput (ClientP
register int n; register int n;
REQUEST(xXFixesSelectSelectionInputReq); REQUEST(xXFixesSelectSelectionInputReq);
...@@ -27,6 +25,3 @@ index c72e19e..4b8bd01 100755 ...@@ -27,6 +25,3 @@ index c72e19e..4b8bd01 100755
swaps(&stuff->length, n); swaps(&stuff->length, n);
swapl(&stuff->window, n); swapl(&stuff->window, n);
swapl(&stuff->selection, n); swapl(&stuff->selection, n);
--
2.1.4
...@@ -12,8 +12,6 @@ Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> ...@@ -12,8 +12,6 @@ Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
nx-X11/programs/Xserver/randr/rrsdispatch.c | 3 +++ nx-X11/programs/Xserver/randr/rrsdispatch.c | 3 +++
1 file changed, 3 insertions(+) 1 file changed, 3 insertions(+)
diff --git a/nx-X11/programs/Xserver/randr/rrsdispatch.c b/nx-X11/programs/Xserver/randr/rrsdispatch.c
index 80d16b7..c4425ec 100644
--- a/nx-X11/programs/Xserver/randr/rrsdispatch.c --- a/nx-X11/programs/Xserver/randr/rrsdispatch.c
+++ b/nx-X11/programs/Xserver/randr/rrsdispatch.c +++ b/nx-X11/programs/Xserver/randr/rrsdispatch.c
@@ -28,6 +28,7 @@ SProcRRQueryVersion (ClientPtr client) @@ -28,6 +28,7 @@ SProcRRQueryVersion (ClientPtr client)
...@@ -40,6 +38,3 @@ index 80d16b7..c4425ec 100644 ...@@ -40,6 +38,3 @@ index 80d16b7..c4425ec 100644
swaps(&stuff->length, n); swaps(&stuff->length, n);
swapl(&stuff->window, n); swapl(&stuff->window, n);
swaps(&stuff->enable, n); swaps(&stuff->enable, n);
--
2.1.4
...@@ -27,11 +27,9 @@ fixup swaps ...@@ -27,11 +27,9 @@ fixup swaps
nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c | 4 ++-- nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-) 2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/nx-X11/programs/Xserver/GL/glx/glxcmds.c b/nx-X11/programs/Xserver/GL/glx/glxcmds.c
index ca5eee8..02f3ba7 100644
--- a/nx-X11/programs/Xserver/GL/glx/glxcmds.c --- a/nx-X11/programs/Xserver/GL/glx/glxcmds.c
+++ b/nx-X11/programs/Xserver/GL/glx/glxcmds.c +++ b/nx-X11/programs/Xserver/GL/glx/glxcmds.c
@@ -1484,7 +1484,7 @@ int __glXRender(__GLXclientState *cl, GLbyte *pc) @@ -1484,7 +1484,7 @@ int __glXRender(__GLXclientState *cl, GL
/* variable size command */ /* variable size command */
extra = (*entry->varsize)(pc + __GLX_RENDER_HDR_SIZE, False); extra = (*entry->varsize)(pc + __GLX_RENDER_HDR_SIZE, False);
if (extra < 0) { if (extra < 0) {
...@@ -40,7 +38,7 @@ index ca5eee8..02f3ba7 100644 ...@@ -40,7 +38,7 @@ index ca5eee8..02f3ba7 100644
} }
if (cmdlen != __GLX_PAD(entry->bytes + extra)) { if (cmdlen != __GLX_PAD(entry->bytes + extra)) {
return BadLength; return BadLength;
@@ -1601,7 +1601,7 @@ int __glXRenderLarge(__GLXclientState *cl, GLbyte *pc) @@ -1601,7 +1601,7 @@ int __glXRenderLarge(__GLXclientState *c
*/ */
extra = (*entry->varsize)(pc + __GLX_RENDER_LARGE_HDR_SIZE, False); extra = (*entry->varsize)(pc + __GLX_RENDER_LARGE_HDR_SIZE, False);
if (extra < 0) { if (extra < 0) {
...@@ -49,11 +47,9 @@ index ca5eee8..02f3ba7 100644 ...@@ -49,11 +47,9 @@ index ca5eee8..02f3ba7 100644
} }
/* large command's header is 4 bytes longer, so add 4 */ /* large command's header is 4 bytes longer, so add 4 */
if (cmdlen != __GLX_PAD(entry->bytes + 4 + extra)) { if (cmdlen != __GLX_PAD(entry->bytes + 4 + extra)) {
diff --git a/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c b/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c
index 595e814..027cba7 100644
--- a/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c --- a/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c
+++ b/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c +++ b/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c
@@ -535,7 +535,7 @@ int __glXSwapRender(__GLXclientState *cl, GLbyte *pc) @@ -535,7 +535,7 @@ int __glXSwapRender(__GLXclientState *cl
/* variable size command */ /* variable size command */
extra = (*entry->varsize)(pc + __GLX_RENDER_HDR_SIZE, True); extra = (*entry->varsize)(pc + __GLX_RENDER_HDR_SIZE, True);
if (extra < 0) { if (extra < 0) {
...@@ -62,7 +58,7 @@ index 595e814..027cba7 100644 ...@@ -62,7 +58,7 @@ index 595e814..027cba7 100644
} }
if (cmdlen != __GLX_PAD(entry->bytes + extra)) { if (cmdlen != __GLX_PAD(entry->bytes + extra)) {
return BadLength; return BadLength;
@@ -659,7 +659,7 @@ int __glXSwapRenderLarge(__GLXclientState *cl, GLbyte *pc) @@ -659,7 +659,7 @@ int __glXSwapRenderLarge(__GLXclientStat
*/ */
extra = (*entry->varsize)(pc + __GLX_RENDER_LARGE_HDR_SIZE, True); extra = (*entry->varsize)(pc + __GLX_RENDER_LARGE_HDR_SIZE, True);
if (extra < 0) { if (extra < 0) {
...@@ -71,6 +67,3 @@ index 595e814..027cba7 100644 ...@@ -71,6 +67,3 @@ index 595e814..027cba7 100644
} }
/* large command's header is 4 bytes longer, so add 4 */ /* large command's header is 4 bytes longer, so add 4 */
if (cmdlen != __GLX_PAD(entry->bytes + 4 + extra)) { if (cmdlen != __GLX_PAD(entry->bytes + 4 + extra)) {
--
2.1.4
...@@ -24,11 +24,9 @@ Signed-off-by: Dave Airlie <airlied@redhat.com> ...@@ -24,11 +24,9 @@ Signed-off-by: Dave Airlie <airlied@redhat.com>
nx-X11/programs/Xserver/GL/glx/singlepixswap.c | 14 +++++++------- nx-X11/programs/Xserver/GL/glx/singlepixswap.c | 14 +++++++-------
2 files changed, 14 insertions(+), 14 deletions(-) 2 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/nx-X11/programs/Xserver/GL/glx/singlepix.c b/nx-X11/programs/Xserver/GL/glx/singlepix.c
index 845c46a..be804d8 100644
--- a/nx-X11/programs/Xserver/GL/glx/singlepix.c --- a/nx-X11/programs/Xserver/GL/glx/singlepix.c
+++ b/nx-X11/programs/Xserver/GL/glx/singlepix.c +++ b/nx-X11/programs/Xserver/GL/glx/singlepix.c
@@ -70,7 +70,7 @@ int __glXDisp_ReadPixels(__GLXclientState *cl, GLbyte *pc) @@ -70,7 +70,7 @@ int __glXDisp_ReadPixels(__GLXclientStat
swapBytes = *(GLboolean *)(pc + 24); swapBytes = *(GLboolean *)(pc + 24);
lsbFirst = *(GLboolean *)(pc + 25); lsbFirst = *(GLboolean *)(pc + 25);
compsize = __glReadPixels_size(format,type,width,height); compsize = __glReadPixels_size(format,type,width,height);
...@@ -37,7 +35,7 @@ index 845c46a..be804d8 100644 ...@@ -37,7 +35,7 @@ index 845c46a..be804d8 100644
glPixelStorei(GL_PACK_SWAP_BYTES, swapBytes); glPixelStorei(GL_PACK_SWAP_BYTES, swapBytes);
glPixelStorei(GL_PACK_LSB_FIRST, lsbFirst); glPixelStorei(GL_PACK_LSB_FIRST, lsbFirst);
@@ -130,7 +130,7 @@ int __glXDisp_GetTexImage(__GLXclientState *cl, GLbyte *pc) @@ -130,7 +130,7 @@ int __glXDisp_GetTexImage(__GLXclientSta
* are illegal, but then width, height, and depth would still be zero anyway. * are illegal, but then width, height, and depth would still be zero anyway.
*/ */
compsize = __glGetTexImage_size(target,level,format,type,width,height,depth); compsize = __glGetTexImage_size(target,level,format,type,width,height,depth);
...@@ -46,7 +44,7 @@ index 845c46a..be804d8 100644 ...@@ -46,7 +44,7 @@ index 845c46a..be804d8 100644
glPixelStorei(GL_PACK_SWAP_BYTES, swapBytes); glPixelStorei(GL_PACK_SWAP_BYTES, swapBytes);
__GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1); __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1);
@@ -227,7 +227,7 @@ int __glXDisp_GetSeparableFilter(__GLXclientState *cl, GLbyte *pc) @@ -227,7 +227,7 @@ int __glXDisp_GetSeparableFilter(__GLXcl
compsize = __glGetTexImage_size(target,1,format,type,width,1,1); compsize = __glGetTexImage_size(target,1,format,type,width,1,1);
compsize2 = __glGetTexImage_size(target,1,format,type,height,1,1); compsize2 = __glGetTexImage_size(target,1,format,type,height,1,1);
...@@ -55,7 +53,7 @@ index 845c46a..be804d8 100644 ...@@ -55,7 +53,7 @@ index 845c46a..be804d8 100644
if (compsize2 < 0) compsize2 = 0; if (compsize2 < 0) compsize2 = 0;
compsize = __GLX_PAD(compsize); compsize = __GLX_PAD(compsize);
compsize2 = __GLX_PAD(compsize2); compsize2 = __GLX_PAD(compsize2);
@@ -291,7 +291,7 @@ int __glXDisp_GetConvolutionFilter(__GLXclientState *cl, GLbyte *pc) @@ -291,7 +291,7 @@ int __glXDisp_GetConvolutionFilter(__GLX
* are illegal, but then width and height would still be zero anyway. * are illegal, but then width and height would still be zero anyway.
*/ */
compsize = __glGetTexImage_size(target,1,format,type,width,height,1); compsize = __glGetTexImage_size(target,1,format,type,width,height,1);
...@@ -64,7 +62,7 @@ index 845c46a..be804d8 100644 ...@@ -64,7 +62,7 @@ index 845c46a..be804d8 100644
glPixelStorei(GL_PACK_SWAP_BYTES, swapBytes); glPixelStorei(GL_PACK_SWAP_BYTES, swapBytes);
__GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1); __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1);
@@ -346,7 +346,7 @@ int __glXDisp_GetHistogram(__GLXclientState *cl, GLbyte *pc) @@ -346,7 +346,7 @@ int __glXDisp_GetHistogram(__GLXclientSt
* are illegal, but then width would still be zero anyway. * are illegal, but then width would still be zero anyway.
*/ */
compsize = __glGetTexImage_size(target,1,format,type,width,1,1); compsize = __glGetTexImage_size(target,1,format,type,width,1,1);
...@@ -73,7 +71,7 @@ index 845c46a..be804d8 100644 ...@@ -73,7 +71,7 @@ index 845c46a..be804d8 100644
glPixelStorei(GL_PACK_SWAP_BYTES, swapBytes); glPixelStorei(GL_PACK_SWAP_BYTES, swapBytes);
__GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1); __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1);
@@ -389,7 +389,7 @@ int __glXDisp_GetMinmax(__GLXclientState *cl, GLbyte *pc) @@ -389,7 +389,7 @@ int __glXDisp_GetMinmax(__GLXclientState
reset = *(GLboolean *)(pc + 13); reset = *(GLboolean *)(pc + 13);
compsize = __glGetTexImage_size(target,1,format,type,2,1,1); compsize = __glGetTexImage_size(target,1,format,type,2,1,1);
...@@ -82,7 +80,7 @@ index 845c46a..be804d8 100644 ...@@ -82,7 +80,7 @@ index 845c46a..be804d8 100644
glPixelStorei(GL_PACK_SWAP_BYTES, swapBytes); glPixelStorei(GL_PACK_SWAP_BYTES, swapBytes);
__GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1); __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1);
@@ -436,7 +436,7 @@ int __glXDisp_GetColorTable(__GLXclientState *cl, GLbyte *pc) @@ -436,7 +436,7 @@ int __glXDisp_GetColorTable(__GLXclientS
* are illegal, but then width would still be zero anyway. * are illegal, but then width would still be zero anyway.
*/ */
compsize = __glGetTexImage_size(target,1,format,type,width,1,1); compsize = __glGetTexImage_size(target,1,format,type,width,1,1);
...@@ -91,11 +89,9 @@ index 845c46a..be804d8 100644 ...@@ -91,11 +89,9 @@ index 845c46a..be804d8 100644
glPixelStorei(GL_PACK_SWAP_BYTES, swapBytes); glPixelStorei(GL_PACK_SWAP_BYTES, swapBytes);
__GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1); __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1);
diff --git a/nx-X11/programs/Xserver/GL/glx/singlepixswap.c b/nx-X11/programs/Xserver/GL/glx/singlepixswap.c
index ff68ece..cdc6f16 100644
--- a/nx-X11/programs/Xserver/GL/glx/singlepixswap.c --- a/nx-X11/programs/Xserver/GL/glx/singlepixswap.c
+++ b/nx-X11/programs/Xserver/GL/glx/singlepixswap.c +++ b/nx-X11/programs/Xserver/GL/glx/singlepixswap.c
@@ -79,7 +79,7 @@ int __glXDispSwap_ReadPixels(__GLXclientState *cl, GLbyte *pc) @@ -79,7 +79,7 @@ int __glXDispSwap_ReadPixels(__GLXclient
swapBytes = *(GLboolean *)(pc + 24); swapBytes = *(GLboolean *)(pc + 24);
lsbFirst = *(GLboolean *)(pc + 25); lsbFirst = *(GLboolean *)(pc + 25);
compsize = __glReadPixels_size(format,type,width,height); compsize = __glReadPixels_size(format,type,width,height);
...@@ -104,7 +100,7 @@ index ff68ece..cdc6f16 100644 ...@@ -104,7 +100,7 @@ index ff68ece..cdc6f16 100644
glPixelStorei(GL_PACK_SWAP_BYTES, !swapBytes); glPixelStorei(GL_PACK_SWAP_BYTES, !swapBytes);
glPixelStorei(GL_PACK_LSB_FIRST, lsbFirst); glPixelStorei(GL_PACK_LSB_FIRST, lsbFirst);
@@ -148,7 +148,7 @@ int __glXDispSwap_GetTexImage(__GLXclientState *cl, GLbyte *pc) @@ -148,7 +148,7 @@ int __glXDispSwap_GetTexImage(__GLXclien
* are illegal, but then width, height, and depth would still be zero anyway. * are illegal, but then width, height, and depth would still be zero anyway.
*/ */
compsize = __glGetTexImage_size(target,level,format,type,width,height,depth); compsize = __glGetTexImage_size(target,level,format,type,width,height,depth);
...@@ -113,7 +109,7 @@ index ff68ece..cdc6f16 100644 ...@@ -113,7 +109,7 @@ index ff68ece..cdc6f16 100644
glPixelStorei(GL_PACK_SWAP_BYTES, !swapBytes); glPixelStorei(GL_PACK_SWAP_BYTES, !swapBytes);
__GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1); __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1);
@@ -257,7 +257,7 @@ int __glXDispSwap_GetSeparableFilter(__GLXclientState *cl, GLbyte *pc) @@ -257,7 +257,7 @@ int __glXDispSwap_GetSeparableFilter(__G
compsize = __glGetTexImage_size(target,1,format,type,width,1,1); compsize = __glGetTexImage_size(target,1,format,type,width,1,1);
compsize2 = __glGetTexImage_size(target,1,format,type,height,1,1); compsize2 = __glGetTexImage_size(target,1,format,type,height,1,1);
...@@ -122,7 +118,7 @@ index ff68ece..cdc6f16 100644 ...@@ -122,7 +118,7 @@ index ff68ece..cdc6f16 100644
if (compsize2 < 0) compsize2 = 0; if (compsize2 < 0) compsize2 = 0;
compsize = __GLX_PAD(compsize); compsize = __GLX_PAD(compsize);
compsize2 = __GLX_PAD(compsize2); compsize2 = __GLX_PAD(compsize2);
@@ -328,7 +328,7 @@ int __glXDispSwap_GetConvolutionFilter(__GLXclientState *cl, GLbyte *pc) @@ -328,7 +328,7 @@ int __glXDispSwap_GetConvolutionFilter(_
* are illegal, but then width and height would still be zero anyway. * are illegal, but then width and height would still be zero anyway.
*/ */
compsize = __glGetTexImage_size(target,1,format,type,width,height,1); compsize = __glGetTexImage_size(target,1,format,type,width,height,1);
...@@ -131,7 +127,7 @@ index ff68ece..cdc6f16 100644 ...@@ -131,7 +127,7 @@ index ff68ece..cdc6f16 100644
glPixelStorei(GL_PACK_SWAP_BYTES, !swapBytes); glPixelStorei(GL_PACK_SWAP_BYTES, !swapBytes);
__GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1); __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1);
@@ -390,7 +390,7 @@ int __glXDispSwap_GetHistogram(__GLXclientState *cl, GLbyte *pc) @@ -390,7 +390,7 @@ int __glXDispSwap_GetHistogram(__GLXclie
* are illegal, but then width would still be zero anyway. * are illegal, but then width would still be zero anyway.
*/ */
compsize = __glGetTexImage_size(target,1,format,type,width,1,1); compsize = __glGetTexImage_size(target,1,format,type,width,1,1);
...@@ -140,7 +136,7 @@ index ff68ece..cdc6f16 100644 ...@@ -140,7 +136,7 @@ index ff68ece..cdc6f16 100644
glPixelStorei(GL_PACK_SWAP_BYTES, !swapBytes); glPixelStorei(GL_PACK_SWAP_BYTES, !swapBytes);
__GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1); __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1);
@@ -439,7 +439,7 @@ int __glXDispSwap_GetMinmax(__GLXclientState *cl, GLbyte *pc) @@ -439,7 +439,7 @@ int __glXDispSwap_GetMinmax(__GLXclientS
reset = *(GLboolean *)(pc + 13); reset = *(GLboolean *)(pc + 13);
compsize = __glGetTexImage_size(target,1,format,type,2,1,1); compsize = __glGetTexImage_size(target,1,format,type,2,1,1);
...@@ -149,7 +145,7 @@ index ff68ece..cdc6f16 100644 ...@@ -149,7 +145,7 @@ index ff68ece..cdc6f16 100644
glPixelStorei(GL_PACK_SWAP_BYTES, !swapBytes); glPixelStorei(GL_PACK_SWAP_BYTES, !swapBytes);
__GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1); __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1);
@@ -491,7 +491,7 @@ int __glXDispSwap_GetColorTable(__GLXclientState *cl, GLbyte *pc) @@ -491,7 +491,7 @@ int __glXDispSwap_GetColorTable(__GLXcli
* are illegal, but then width would still be zero anyway. * are illegal, but then width would still be zero anyway.
*/ */
compsize = __glGetTexImage_size(target,1,format,type,width,1,1); compsize = __glGetTexImage_size(target,1,format,type,width,1,1);
...@@ -158,6 +154,3 @@ index ff68ece..cdc6f16 100644 ...@@ -158,6 +154,3 @@ index ff68ece..cdc6f16 100644
glPixelStorei(GL_PACK_SWAP_BYTES, !swapBytes); glPixelStorei(GL_PACK_SWAP_BYTES, !swapBytes);
__GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1); __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1);
--
2.1.4
...@@ -22,8 +22,6 @@ Signed-off-by: Dave Airlie <airlied@redhat.com> ...@@ -22,8 +22,6 @@ Signed-off-by: Dave Airlie <airlied@redhat.com>
nx-X11/programs/Xserver/GL/glx/unpack.h | 3 ++- nx-X11/programs/Xserver/GL/glx/unpack.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-) 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/nx-X11/programs/Xserver/GL/glx/unpack.h b/nx-X11/programs/Xserver/GL/glx/unpack.h
index 723fb85..94bdae8 100644
--- a/nx-X11/programs/Xserver/GL/glx/unpack.h --- a/nx-X11/programs/Xserver/GL/glx/unpack.h
+++ b/nx-X11/programs/Xserver/GL/glx/unpack.h +++ b/nx-X11/programs/Xserver/GL/glx/unpack.h
@@ -89,7 +89,8 @@ extern xGLXSingleReply __glXReply; @@ -89,7 +89,8 @@ extern xGLXSingleReply __glXReply;
...@@ -36,6 +34,3 @@ index 723fb85..94bdae8 100644 ...@@ -36,6 +34,3 @@ index 723fb85..94bdae8 100644
int bump; \ int bump; \
if ((cl)->returnBufSize < (size)+(align)) { \ if ((cl)->returnBufSize < (size)+(align)) { \
(cl)->returnBuf = (GLbyte*)Xrealloc((cl)->returnBuf, \ (cl)->returnBuf = (GLbyte*)Xrealloc((cl)->returnBuf, \
--
2.1.4
...@@ -32,8 +32,6 @@ Signed-off-by: Dave Airlie <airlied@redhat.com> ...@@ -32,8 +32,6 @@ Signed-off-by: Dave Airlie <airlied@redhat.com>
nx-X11/programs/Xserver/GL/glx/glxserver.h | 41 ++++++++++++++++++++++++++++++ nx-X11/programs/Xserver/GL/glx/glxserver.h | 41 ++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+) 1 file changed, 41 insertions(+)
diff --git a/nx-X11/programs/Xserver/GL/glx/glxserver.h b/nx-X11/programs/Xserver/GL/glx/glxserver.h
index e8449b2..4047574 100644
--- a/nx-X11/programs/Xserver/GL/glx/glxserver.h --- a/nx-X11/programs/Xserver/GL/glx/glxserver.h
+++ b/nx-X11/programs/Xserver/GL/glx/glxserver.h +++ b/nx-X11/programs/Xserver/GL/glx/glxserver.h
@@ -54,6 +54,7 @@ @@ -54,6 +54,7 @@
...@@ -44,7 +42,7 @@ index e8449b2..4047574 100644 ...@@ -44,7 +42,7 @@ index e8449b2..4047574 100644
/* /*
** The X header misc.h defines these math functions. ** The X header misc.h defines these math functions.
*/ */
@@ -223,6 +224,46 @@ extern void glxSwapQueryServerStringReply(ClientPtr client, @@ -223,6 +224,46 @@ extern void glxSwapQueryServerStringRepl
/* /*
* Routines for computing the size of variably-sized rendering commands. * Routines for computing the size of variably-sized rendering commands.
*/ */
...@@ -91,6 +89,3 @@ index e8449b2..4047574 100644 ...@@ -91,6 +89,3 @@ index e8449b2..4047574 100644
extern int __glXTypeSize(GLenum enm); extern int __glXTypeSize(GLenum enm);
extern int __glXImageSize(GLenum format, GLenum type, extern int __glXImageSize(GLenum format, GLenum type,
--
2.1.4
...@@ -23,11 +23,9 @@ Signed-off-by: Dave Airlie <airlied@redhat.com> ...@@ -23,11 +23,9 @@ Signed-off-by: Dave Airlie <airlied@redhat.com>
nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c | 20 ++++++++++---------- nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c | 20 ++++++++++----------
2 files changed, 20 insertions(+), 20 deletions(-) 2 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/nx-X11/programs/Xserver/GL/glx/glxcmds.c b/nx-X11/programs/Xserver/GL/glx/glxcmds.c
index 02f3ba7..831c65b 100644
--- a/nx-X11/programs/Xserver/GL/glx/glxcmds.c --- a/nx-X11/programs/Xserver/GL/glx/glxcmds.c
+++ b/nx-X11/programs/Xserver/GL/glx/glxcmds.c +++ b/nx-X11/programs/Xserver/GL/glx/glxcmds.c
@@ -1443,7 +1443,7 @@ int __glXRender(__GLXclientState *cl, GLbyte *pc) @@ -1443,7 +1443,7 @@ int __glXRender(__GLXclientState *cl, GL
left = (req->length << 2) - sz_xGLXRenderReq; left = (req->length << 2) - sz_xGLXRenderReq;
while (left > 0) { while (left > 0) {
__GLXrenderSizeData *entry; __GLXrenderSizeData *entry;
...@@ -36,7 +34,7 @@ index 02f3ba7..831c65b 100644 ...@@ -36,7 +34,7 @@ index 02f3ba7..831c65b 100644
void (* proc)(GLbyte *); void (* proc)(GLbyte *);
/* /*
@@ -1454,6 +1454,9 @@ int __glXRender(__GLXclientState *cl, GLbyte *pc) @@ -1454,6 +1454,9 @@ int __glXRender(__GLXclientState *cl, GL
cmdlen = hdr->length; cmdlen = hdr->length;
opcode = hdr->opcode; opcode = hdr->opcode;
...@@ -46,7 +44,7 @@ index 02f3ba7..831c65b 100644 ...@@ -46,7 +44,7 @@ index 02f3ba7..831c65b 100644
/* /*
** Check for core opcodes and grab entry data. ** Check for core opcodes and grab entry data.
*/ */
@@ -1480,22 +1483,19 @@ int __glXRender(__GLXclientState *cl, GLbyte *pc) @@ -1480,22 +1483,19 @@ int __glXRender(__GLXclientState *cl, GL
client->errorValue = commandsDone; client->errorValue = commandsDone;
return __glXBadRenderRequest; return __glXBadRenderRequest;
} }
...@@ -75,11 +73,9 @@ index 02f3ba7..831c65b 100644 ...@@ -75,11 +73,9 @@ index 02f3ba7..831c65b 100644
return BadLength; return BadLength;
} }
diff --git a/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c b/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c
index 027cba7..7174fda 100644
--- a/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c --- a/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c
+++ b/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c +++ b/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c
@@ -498,7 +498,7 @@ int __glXSwapRender(__GLXclientState *cl, GLbyte *pc) @@ -498,7 +498,7 @@ int __glXSwapRender(__GLXclientState *cl
left = (req->length << 2) - sz_xGLXRenderReq; left = (req->length << 2) - sz_xGLXRenderReq;
while (left > 0) { while (left > 0) {
__GLXrenderSizeData *entry; __GLXrenderSizeData *entry;
...@@ -88,7 +84,7 @@ index 027cba7..7174fda 100644 ...@@ -88,7 +84,7 @@ index 027cba7..7174fda 100644
void (* proc)(GLbyte *); void (* proc)(GLbyte *);
/* /*
@@ -511,6 +511,9 @@ int __glXSwapRender(__GLXclientState *cl, GLbyte *pc) @@ -511,6 +511,9 @@ int __glXSwapRender(__GLXclientState *cl
cmdlen = hdr->length; cmdlen = hdr->length;
opcode = hdr->opcode; opcode = hdr->opcode;
...@@ -98,7 +94,7 @@ index 027cba7..7174fda 100644 ...@@ -98,7 +94,7 @@ index 027cba7..7174fda 100644
if ( (opcode >= __GLX_MIN_RENDER_OPCODE) && if ( (opcode >= __GLX_MIN_RENDER_OPCODE) &&
(opcode <= __GLX_MAX_RENDER_OPCODE) ) { (opcode <= __GLX_MAX_RENDER_OPCODE) ) {
entry = &__glXRenderSizeTable[opcode]; entry = &__glXRenderSizeTable[opcode];
@@ -531,22 +534,19 @@ int __glXSwapRender(__GLXclientState *cl, GLbyte *pc) @@ -531,22 +534,19 @@ int __glXSwapRender(__GLXclientState *cl
client->errorValue = commandsDone; client->errorValue = commandsDone;
return __glXBadRenderRequest; return __glXBadRenderRequest;
} }
...@@ -127,6 +123,3 @@ index 027cba7..7174fda 100644 ...@@ -127,6 +123,3 @@ index 027cba7..7174fda 100644
return BadLength; return BadLength;
} }
--
2.1.4
...@@ -24,11 +24,9 @@ Signed-off-by: Dave Airlie <airlied@redhat.com> ...@@ -24,11 +24,9 @@ Signed-off-by: Dave Airlie <airlied@redhat.com>
nx-X11/programs/Xserver/GL/glx/rensize.c | 68 +++++++++++++++++--------------- nx-X11/programs/Xserver/GL/glx/rensize.c | 68 +++++++++++++++++---------------
1 file changed, 37 insertions(+), 31 deletions(-) 1 file changed, 37 insertions(+), 31 deletions(-)
diff --git a/nx-X11/programs/Xserver/GL/glx/rensize.c b/nx-X11/programs/Xserver/GL/glx/rensize.c
index 7ab02d2..9bf0d00 100644
--- a/nx-X11/programs/Xserver/GL/glx/rensize.c --- a/nx-X11/programs/Xserver/GL/glx/rensize.c
+++ b/nx-X11/programs/Xserver/GL/glx/rensize.c +++ b/nx-X11/programs/Xserver/GL/glx/rensize.c
@@ -167,16 +167,10 @@ int __glXTexEnvivReqSize(GLbyte *pc, Bool swap ) @@ -167,16 +167,10 @@ int __glXTexEnvivReqSize(GLbyte *pc, Boo
return __glXTexEnvfvReqSize( pc, swap ); return __glXTexEnvfvReqSize( pc, swap );
} }
...@@ -46,7 +44,7 @@ index 7ab02d2..9bf0d00 100644 ...@@ -46,7 +44,7 @@ index 7ab02d2..9bf0d00 100644
target = *(GLenum*) (pc + 16); target = *(GLenum*) (pc + 16);
order = *(GLint*) (pc + 20); order = *(GLint*) (pc + 20);
@@ -184,14 +178,15 @@ int __glXMap1dReqSize(GLbyte *pc, Bool swap ) @@ -184,14 +178,15 @@ int __glXMap1dReqSize(GLbyte *pc, Bool s
target = SWAPL( target ); target = SWAPL( target );
order = SWAPL( order ); order = SWAPL( order );
} }
...@@ -65,7 +63,7 @@ index 7ab02d2..9bf0d00 100644 ...@@ -65,7 +63,7 @@ index 7ab02d2..9bf0d00 100644
target = *(GLenum *)(pc + 0); target = *(GLenum *)(pc + 0);
order = *(GLint *)(pc + 12); order = *(GLint *)(pc + 12);
@@ -199,20 +194,21 @@ int __glXMap1fReqSize(GLbyte *pc, Bool swap ) @@ -199,20 +194,21 @@ int __glXMap1fReqSize(GLbyte *pc, Bool s
target = SWAPL( target ); target = SWAPL( target );
order = SWAPL( order ); order = SWAPL( order );
} }
...@@ -92,7 +90,7 @@ index 7ab02d2..9bf0d00 100644 ...@@ -92,7 +90,7 @@ index 7ab02d2..9bf0d00 100644
target = *(GLenum *)(pc + 32); target = *(GLenum *)(pc + 32);
uorder = *(GLint *)(pc + 36); uorder = *(GLint *)(pc + 36);
@@ -222,14 +218,13 @@ int __glXMap2dReqSize(GLbyte *pc, Bool swap ) @@ -222,14 +218,13 @@ int __glXMap2dReqSize(GLbyte *pc, Bool s
uorder = SWAPL( uorder ); uorder = SWAPL( uorder );
vorder = SWAPL( vorder ); vorder = SWAPL( vorder );
} }
...@@ -109,7 +107,7 @@ index 7ab02d2..9bf0d00 100644 ...@@ -109,7 +107,7 @@ index 7ab02d2..9bf0d00 100644
target = *(GLenum *)(pc + 0); target = *(GLenum *)(pc + 0);
uorder = *(GLint *)(pc + 12); uorder = *(GLint *)(pc + 12);
@@ -239,8 +234,7 @@ int __glXMap2fReqSize(GLbyte *pc, Bool swap ) @@ -239,8 +234,7 @@ int __glXMap2fReqSize(GLbyte *pc, Bool s
uorder = SWAPL( uorder ); uorder = SWAPL( uorder );
vorder = SWAPL( vorder ); vorder = SWAPL( vorder );
} }
...@@ -119,7 +117,7 @@ index 7ab02d2..9bf0d00 100644 ...@@ -119,7 +117,7 @@ index 7ab02d2..9bf0d00 100644
} }
int __glXPixelMapfvReqSize(GLbyte *pc, Bool swap ) int __glXPixelMapfvReqSize(GLbyte *pc, Bool swap )
@@ -315,13 +309,16 @@ int __glXImageSize( GLenum format, GLenum type, GLenum target, @@ -315,13 +309,16 @@ int __glXImageSize( GLenum format, GLenu
GLint bytesPerElement, elementsPerGroup, groupsPerRow; GLint bytesPerElement, elementsPerGroup, groupsPerRow;
GLint groupSize, rowSize, padding, imageSize; GLint groupSize, rowSize, padding, imageSize;
...@@ -137,7 +135,7 @@ index 7ab02d2..9bf0d00 100644 ...@@ -137,7 +135,7 @@ index 7ab02d2..9bf0d00 100644
switch( target ) { switch( target ) {
case GL_PROXY_TEXTURE_1D: case GL_PROXY_TEXTURE_1D:
case GL_PROXY_TEXTURE_2D: case GL_PROXY_TEXTURE_2D:
@@ -338,6 +335,12 @@ int __glXImageSize( GLenum format, GLenum type, GLenum target, @@ -338,6 +335,12 @@ int __glXImageSize( GLenum format, GLenu
return 0; return 0;
} }
...@@ -150,7 +148,7 @@ index 7ab02d2..9bf0d00 100644 ...@@ -150,7 +148,7 @@ index 7ab02d2..9bf0d00 100644
if (type == GL_BITMAP) { if (type == GL_BITMAP) {
if (rowLength > 0) { if (rowLength > 0) {
groupsPerRow = rowLength; groupsPerRow = rowLength;
@@ -345,11 +348,13 @@ int __glXImageSize( GLenum format, GLenum type, GLenum target, @@ -345,11 +348,13 @@ int __glXImageSize( GLenum format, GLenu
groupsPerRow = w; groupsPerRow = w;
} }
rowSize = (groupsPerRow + 7) >> 3; rowSize = (groupsPerRow + 7) >> 3;
...@@ -165,7 +163,7 @@ index 7ab02d2..9bf0d00 100644 ...@@ -165,7 +163,7 @@ index 7ab02d2..9bf0d00 100644
} else { } else {
switch(format) { switch(format) {
case GL_COLOR_INDEX: case GL_COLOR_INDEX:
@@ -430,23 +435,25 @@ int __glXImageSize( GLenum format, GLenum type, GLenum target, @@ -430,23 +435,25 @@ int __glXImageSize( GLenum format, GLenu
default: default:
return -1; return -1;
} }
...@@ -198,7 +196,7 @@ index 7ab02d2..9bf0d00 100644 ...@@ -198,7 +196,7 @@ index 7ab02d2..9bf0d00 100644
} }
} }
@@ -873,10 +880,9 @@ int __glXSeparableFilter2DReqSize(GLbyte *pc, Bool swap ) @@ -873,10 +880,9 @@ int __glXSeparableFilter2DReqSize(GLbyte
/* XXX Should rowLength be used for either or both image? */ /* XXX Should rowLength be used for either or both image? */
image1size = __glXImageSize( format, type, 0, w, 1, 1, image1size = __glXImageSize( format, type, 0, w, 1, 1,
0, rowLength, 0, 0, alignment ); 0, rowLength, 0, 0, alignment );
...@@ -210,6 +208,3 @@ index 7ab02d2..9bf0d00 100644 ...@@ -210,6 +208,3 @@ index 7ab02d2..9bf0d00 100644
} }
--
2.1.4
...@@ -18,11 +18,9 @@ Signed-off-by: Dave Airlie <airlied@redhat.com> ...@@ -18,11 +18,9 @@ Signed-off-by: Dave Airlie <airlied@redhat.com>
nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c | 4 ++++ nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c | 4 ++++
1 file changed, 4 insertions(+) 1 file changed, 4 insertions(+)
diff --git a/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c b/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c
index 7174fda..2685355 100644
--- a/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c --- a/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c
+++ b/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c +++ b/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c
@@ -797,10 +797,12 @@ int __glXSwapRenderLarge(__GLXclientState *cl, GLbyte *pc) @@ -797,10 +797,12 @@ int __glXSwapRenderLarge(__GLXclientStat
int __glXSwapVendorPrivate(__GLXclientState *cl, GLbyte *pc) int __glXSwapVendorPrivate(__GLXclientState *cl, GLbyte *pc)
{ {
...@@ -35,7 +33,7 @@ index 7174fda..2685355 100644 ...@@ -35,7 +33,7 @@ index 7174fda..2685355 100644
req = (xGLXVendorPrivateReq *) pc; req = (xGLXVendorPrivateReq *) pc;
__GLX_SWAP_SHORT(&req->length); __GLX_SWAP_SHORT(&req->length);
@@ -835,10 +837,12 @@ int __glXSwapVendorPrivate(__GLXclientState *cl, GLbyte *pc) @@ -835,10 +837,12 @@ int __glXSwapVendorPrivate(__GLXclientSt
int __glXSwapVendorPrivateWithReply(__GLXclientState *cl, GLbyte *pc) int __glXSwapVendorPrivateWithReply(__GLXclientState *cl, GLbyte *pc)
{ {
...@@ -48,6 +46,3 @@ index 7174fda..2685355 100644 ...@@ -48,6 +46,3 @@ index 7174fda..2685355 100644
req = (xGLXVendorPrivateWithReplyReq *) pc; req = (xGLXVendorPrivateWithReplyReq *) pc;
__GLX_SWAP_SHORT(&req->length); __GLX_SWAP_SHORT(&req->length);
--
2.1.4
...@@ -30,8 +30,6 @@ fix safe_Add ...@@ -30,8 +30,6 @@ fix safe_Add
nx-X11/programs/Xserver/GL/glx/singlepixswap.c | 17 ++++++++++++----- nx-X11/programs/Xserver/GL/glx/singlepixswap.c | 17 ++++++++++++-----
4 files changed, 52 insertions(+), 20 deletions(-) 4 files changed, 52 insertions(+), 20 deletions(-)
diff --git a/nx-X11/programs/Xserver/GL/glx/single2.c b/nx-X11/programs/Xserver/GL/glx/single2.c
index 9fee5ff..10152c3 100644
--- a/nx-X11/programs/Xserver/GL/glx/single2.c --- a/nx-X11/programs/Xserver/GL/glx/single2.c
+++ b/nx-X11/programs/Xserver/GL/glx/single2.c +++ b/nx-X11/programs/Xserver/GL/glx/single2.c
@@ -48,11 +48,14 @@ @@ -48,11 +48,14 @@
...@@ -49,7 +47,7 @@ index 9fee5ff..10152c3 100644 ...@@ -49,7 +47,7 @@ index 9fee5ff..10152c3 100644
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) { if (!cx) {
return error; return error;
@@ -78,10 +81,12 @@ int __glXDisp_FeedbackBuffer(__GLXclientState *cl, GLbyte *pc) @@ -78,10 +81,12 @@ int __glXDisp_FeedbackBuffer(__GLXclient
int __glXDisp_SelectBuffer(__GLXclientState *cl, GLbyte *pc) int __glXDisp_SelectBuffer(__GLXclientState *cl, GLbyte *pc)
{ {
...@@ -62,7 +60,7 @@ index 9fee5ff..10152c3 100644 ...@@ -62,7 +60,7 @@ index 9fee5ff..10152c3 100644
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) { if (!cx) {
return error; return error;
@@ -106,7 +111,7 @@ int __glXDisp_SelectBuffer(__GLXclientState *cl, GLbyte *pc) @@ -106,7 +111,7 @@ int __glXDisp_SelectBuffer(__GLXclientSt
int __glXDisp_RenderMode(__GLXclientState *cl, GLbyte *pc) int __glXDisp_RenderMode(__GLXclientState *cl, GLbyte *pc)
{ {
...@@ -71,7 +69,7 @@ index 9fee5ff..10152c3 100644 ...@@ -71,7 +69,7 @@ index 9fee5ff..10152c3 100644
xGLXRenderModeReply reply; xGLXRenderModeReply reply;
__GLXcontext *cx; __GLXcontext *cx;
GLint nitems=0, retBytes=0, retval, newModeCheck; GLint nitems=0, retBytes=0, retval, newModeCheck;
@@ -114,6 +119,8 @@ int __glXDisp_RenderMode(__GLXclientState *cl, GLbyte *pc) @@ -114,6 +119,8 @@ int __glXDisp_RenderMode(__GLXclientStat
GLenum newMode; GLenum newMode;
int error; int error;
...@@ -80,7 +78,7 @@ index 9fee5ff..10152c3 100644 ...@@ -80,7 +78,7 @@ index 9fee5ff..10152c3 100644
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) { if (!cx) {
return error; return error;
@@ -188,7 +195,6 @@ int __glXDisp_RenderMode(__GLXclientState *cl, GLbyte *pc) @@ -188,7 +195,6 @@ int __glXDisp_RenderMode(__GLXclientStat
** selection array, as per the API for glRenderMode itself. ** selection array, as per the API for glRenderMode itself.
*/ */
noChangeAllowed:; noChangeAllowed:;
...@@ -88,7 +86,7 @@ index 9fee5ff..10152c3 100644 ...@@ -88,7 +86,7 @@ index 9fee5ff..10152c3 100644
reply.length = nitems; reply.length = nitems;
reply.type = X_Reply; reply.type = X_Reply;
reply.sequenceNumber = client->sequence; reply.sequenceNumber = client->sequence;
@@ -204,9 +210,11 @@ int __glXDisp_RenderMode(__GLXclientState *cl, GLbyte *pc) @@ -204,9 +210,11 @@ int __glXDisp_RenderMode(__GLXclientStat
int __glXDisp_Flush(__GLXclientState *cl, GLbyte *pc) int __glXDisp_Flush(__GLXclientState *cl, GLbyte *pc)
{ {
...@@ -100,7 +98,7 @@ index 9fee5ff..10152c3 100644 ...@@ -100,7 +98,7 @@ index 9fee5ff..10152c3 100644
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) { if (!cx) {
return error; return error;
@@ -219,10 +227,11 @@ int __glXDisp_Flush(__GLXclientState *cl, GLbyte *pc) @@ -219,10 +227,11 @@ int __glXDisp_Flush(__GLXclientState *cl
int __glXDisp_Finish(__GLXclientState *cl, GLbyte *pc) int __glXDisp_Finish(__GLXclientState *cl, GLbyte *pc)
{ {
...@@ -113,7 +111,7 @@ index 9fee5ff..10152c3 100644 ...@@ -113,7 +111,7 @@ index 9fee5ff..10152c3 100644
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) { if (!cx) {
return error; return error;
@@ -233,7 +242,6 @@ int __glXDisp_Finish(__GLXclientState *cl, GLbyte *pc) @@ -233,7 +242,6 @@ int __glXDisp_Finish(__GLXclientState *c
__GLX_NOTE_FLUSHED_CMDS(cx); __GLX_NOTE_FLUSHED_CMDS(cx);
/* Send empty reply packet to indicate finish is finished */ /* Send empty reply packet to indicate finish is finished */
...@@ -121,7 +119,7 @@ index 9fee5ff..10152c3 100644 ...@@ -121,7 +119,7 @@ index 9fee5ff..10152c3 100644
__GLX_BEGIN_REPLY(0); __GLX_BEGIN_REPLY(0);
__GLX_SEND_HEADER(); __GLX_SEND_HEADER();
return Success; return Success;
@@ -302,7 +310,7 @@ char *__glXcombine_strings(const char *cext_string, const char *sext_string) @@ -302,7 +310,7 @@ char *__glXcombine_strings(const char *c
int DoGetString(__GLXclientState *cl, GLbyte *pc, GLboolean need_swap) int DoGetString(__GLXclientState *cl, GLbyte *pc, GLboolean need_swap)
{ {
...@@ -130,7 +128,7 @@ index 9fee5ff..10152c3 100644 ...@@ -130,7 +128,7 @@ index 9fee5ff..10152c3 100644
__GLXcontext *cx; __GLXcontext *cx;
GLenum name; GLenum name;
const char *string; const char *string;
@@ -311,6 +319,8 @@ int DoGetString(__GLXclientState *cl, GLbyte *pc, GLboolean need_swap) @@ -311,6 +319,8 @@ int DoGetString(__GLXclientState *cl, GL
char *buf = NULL, *buf1 = NULL; char *buf = NULL, *buf1 = NULL;
GLint length = 0; GLint length = 0;
...@@ -139,7 +137,7 @@ index 9fee5ff..10152c3 100644 ...@@ -139,7 +137,7 @@ index 9fee5ff..10152c3 100644
/* If the client has the opposite byte order, swap the contextTag and /* If the client has the opposite byte order, swap the contextTag and
* the name. * the name.
*/ */
@@ -327,7 +337,6 @@ int DoGetString(__GLXclientState *cl, GLbyte *pc, GLboolean need_swap) @@ -327,7 +337,6 @@ int DoGetString(__GLXclientState *cl, GL
pc += __GLX_SINGLE_HDR_SIZE; pc += __GLX_SINGLE_HDR_SIZE;
name = *(GLenum *)(pc + 0); name = *(GLenum *)(pc + 0);
string = (const char *)glGetString(name); string = (const char *)glGetString(name);
...@@ -147,8 +145,6 @@ index 9fee5ff..10152c3 100644 ...@@ -147,8 +145,6 @@ index 9fee5ff..10152c3 100644
/* /*
** Restrict extensions to those that are supported by both the ** Restrict extensions to those that are supported by both the
diff --git a/nx-X11/programs/Xserver/GL/glx/single2swap.c b/nx-X11/programs/Xserver/GL/glx/single2swap.c
index dab98ad..4b8541b 100644
--- a/nx-X11/programs/Xserver/GL/glx/single2swap.c --- a/nx-X11/programs/Xserver/GL/glx/single2swap.c
+++ b/nx-X11/programs/Xserver/GL/glx/single2swap.c +++ b/nx-X11/programs/Xserver/GL/glx/single2swap.c
@@ -48,12 +48,14 @@ @@ -48,12 +48,14 @@
...@@ -166,7 +162,7 @@ index dab98ad..4b8541b 100644 ...@@ -166,7 +162,7 @@ index dab98ad..4b8541b 100644
__GLX_SWAP_INT(&((xGLXSingleReq *)pc)->contextTag); __GLX_SWAP_INT(&((xGLXSingleReq *)pc)->contextTag);
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) { if (!cx) {
@@ -82,11 +84,13 @@ int __glXDispSwap_FeedbackBuffer(__GLXclientState *cl, GLbyte *pc) @@ -82,11 +84,13 @@ int __glXDispSwap_FeedbackBuffer(__GLXcl
int __glXDispSwap_SelectBuffer(__GLXclientState *cl, GLbyte *pc) int __glXDispSwap_SelectBuffer(__GLXclientState *cl, GLbyte *pc)
{ {
...@@ -180,7 +176,7 @@ index dab98ad..4b8541b 100644 ...@@ -180,7 +176,7 @@ index dab98ad..4b8541b 100644
__GLX_SWAP_INT(&((xGLXSingleReq *)pc)->contextTag); __GLX_SWAP_INT(&((xGLXSingleReq *)pc)->contextTag);
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) { if (!cx) {
@@ -113,7 +117,7 @@ int __glXDispSwap_SelectBuffer(__GLXclientState *cl, GLbyte *pc) @@ -113,7 +117,7 @@ int __glXDispSwap_SelectBuffer(__GLXclie
int __glXDispSwap_RenderMode(__GLXclientState *cl, GLbyte *pc) int __glXDispSwap_RenderMode(__GLXclientState *cl, GLbyte *pc)
{ {
...@@ -189,7 +185,7 @@ index dab98ad..4b8541b 100644 ...@@ -189,7 +185,7 @@ index dab98ad..4b8541b 100644
__GLXcontext *cx; __GLXcontext *cx;
xGLXRenderModeReply reply; xGLXRenderModeReply reply;
GLint nitems=0, retBytes=0, retval, newModeCheck; GLint nitems=0, retBytes=0, retval, newModeCheck;
@@ -123,6 +127,8 @@ int __glXDispSwap_RenderMode(__GLXclientState *cl, GLbyte *pc) @@ -123,6 +127,8 @@ int __glXDispSwap_RenderMode(__GLXclient
__GLX_DECLARE_SWAP_ARRAY_VARIABLES; __GLX_DECLARE_SWAP_ARRAY_VARIABLES;
int error; int error;
...@@ -198,7 +194,7 @@ index dab98ad..4b8541b 100644 ...@@ -198,7 +194,7 @@ index dab98ad..4b8541b 100644
__GLX_SWAP_INT(&((xGLXSingleReq *)pc)->contextTag); __GLX_SWAP_INT(&((xGLXSingleReq *)pc)->contextTag);
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) { if (!cx) {
@@ -201,7 +207,6 @@ int __glXDispSwap_RenderMode(__GLXclientState *cl, GLbyte *pc) @@ -201,7 +207,6 @@ int __glXDispSwap_RenderMode(__GLXclient
** selection array, as per the API for glRenderMode itself. ** selection array, as per the API for glRenderMode itself.
*/ */
noChangeAllowed:; noChangeAllowed:;
...@@ -206,7 +202,7 @@ index dab98ad..4b8541b 100644 ...@@ -206,7 +202,7 @@ index dab98ad..4b8541b 100644
reply.length = nitems; reply.length = nitems;
reply.type = X_Reply; reply.type = X_Reply;
reply.sequenceNumber = client->sequence; reply.sequenceNumber = client->sequence;
@@ -222,10 +227,12 @@ int __glXDispSwap_RenderMode(__GLXclientState *cl, GLbyte *pc) @@ -222,10 +227,12 @@ int __glXDispSwap_RenderMode(__GLXclient
int __glXDispSwap_Flush(__GLXclientState *cl, GLbyte *pc) int __glXDispSwap_Flush(__GLXclientState *cl, GLbyte *pc)
{ {
...@@ -219,7 +215,7 @@ index dab98ad..4b8541b 100644 ...@@ -219,7 +215,7 @@ index dab98ad..4b8541b 100644
__GLX_SWAP_INT(&((xGLXSingleReq *)pc)->contextTag); __GLX_SWAP_INT(&((xGLXSingleReq *)pc)->contextTag);
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) { if (!cx) {
@@ -239,11 +246,12 @@ int __glXDispSwap_Flush(__GLXclientState *cl, GLbyte *pc) @@ -239,11 +246,12 @@ int __glXDispSwap_Flush(__GLXclientState
int __glXDispSwap_Finish(__GLXclientState *cl, GLbyte *pc) int __glXDispSwap_Finish(__GLXclientState *cl, GLbyte *pc)
{ {
...@@ -233,7 +229,7 @@ index dab98ad..4b8541b 100644 ...@@ -233,7 +229,7 @@ index dab98ad..4b8541b 100644
__GLX_SWAP_INT(&((xGLXSingleReq *)pc)->contextTag); __GLX_SWAP_INT(&((xGLXSingleReq *)pc)->contextTag);
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) { if (!cx) {
@@ -255,7 +263,6 @@ int __glXDispSwap_Finish(__GLXclientState *cl, GLbyte *pc) @@ -255,7 +263,6 @@ int __glXDispSwap_Finish(__GLXclientStat
__GLX_NOTE_FLUSHED_CMDS(cx); __GLX_NOTE_FLUSHED_CMDS(cx);
/* Send empty reply packet to indicate finish is finished */ /* Send empty reply packet to indicate finish is finished */
...@@ -241,11 +237,9 @@ index dab98ad..4b8541b 100644 ...@@ -241,11 +237,9 @@ index dab98ad..4b8541b 100644
__GLX_BEGIN_REPLY(0); __GLX_BEGIN_REPLY(0);
__GLX_PUT_RETVAL(0); __GLX_PUT_RETVAL(0);
__GLX_SWAP_REPLY_HEADER(); __GLX_SWAP_REPLY_HEADER();
diff --git a/nx-X11/programs/Xserver/GL/glx/singlepix.c b/nx-X11/programs/Xserver/GL/glx/singlepix.c
index be804d8..a156db5 100644
--- a/nx-X11/programs/Xserver/GL/glx/singlepix.c --- a/nx-X11/programs/Xserver/GL/glx/singlepix.c
+++ b/nx-X11/programs/Xserver/GL/glx/singlepix.c +++ b/nx-X11/programs/Xserver/GL/glx/singlepix.c
@@ -57,6 +57,8 @@ int __glXDisp_ReadPixels(__GLXclientState *cl, GLbyte *pc) @@ -57,6 +57,8 @@ int __glXDisp_ReadPixels(__GLXclientStat
int error; int error;
char *answer, answerBuffer[200]; char *answer, answerBuffer[200];
...@@ -254,7 +248,7 @@ index be804d8..a156db5 100644 ...@@ -254,7 +248,7 @@ index be804d8..a156db5 100644
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) { if (!cx) {
return error; return error;
@@ -108,6 +110,7 @@ int __glXDisp_GetTexImage(__GLXclientState *cl, GLbyte *pc) @@ -108,6 +110,7 @@ int __glXDisp_GetTexImage(__GLXclientSta
char *answer, answerBuffer[200]; char *answer, answerBuffer[200];
GLint width=0, height=0, depth=1; GLint width=0, height=0, depth=1;
...@@ -262,7 +256,7 @@ index be804d8..a156db5 100644 ...@@ -262,7 +256,7 @@ index be804d8..a156db5 100644
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) { if (!cx) {
return error; return error;
@@ -204,6 +207,7 @@ int __glXDisp_GetSeparableFilter(__GLXclientState *cl, GLbyte *pc) @@ -204,6 +207,7 @@ int __glXDisp_GetSeparableFilter(__GLXcl
char *answer, answerBuffer[200]; char *answer, answerBuffer[200];
GLint width=0, height=0; GLint width=0, height=0;
...@@ -270,7 +264,7 @@ index be804d8..a156db5 100644 ...@@ -270,7 +264,7 @@ index be804d8..a156db5 100644
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) { if (!cx) {
return error; return error;
@@ -227,13 +231,11 @@ int __glXDisp_GetSeparableFilter(__GLXclientState *cl, GLbyte *pc) @@ -227,13 +231,11 @@ int __glXDisp_GetSeparableFilter(__GLXcl
compsize = __glGetTexImage_size(target,1,format,type,width,1,1); compsize = __glGetTexImage_size(target,1,format,type,width,1,1);
compsize2 = __glGetTexImage_size(target,1,format,type,height,1,1); compsize2 = __glGetTexImage_size(target,1,format,type,height,1,1);
...@@ -287,7 +281,7 @@ index be804d8..a156db5 100644 ...@@ -287,7 +281,7 @@ index be804d8..a156db5 100644
__glXClearErrorOccured(); __glXClearErrorOccured();
glGetSeparableFilter( glGetSeparableFilter(
*(GLenum *)(pc + 0), *(GLenum *)(pc + 0),
@@ -269,6 +271,7 @@ int __glXDisp_GetConvolutionFilter(__GLXclientState *cl, GLbyte *pc) @@ -269,6 +271,7 @@ int __glXDisp_GetConvolutionFilter(__GLX
char *answer, answerBuffer[200]; char *answer, answerBuffer[200];
GLint width=0, height=0; GLint width=0, height=0;
...@@ -295,7 +289,7 @@ index be804d8..a156db5 100644 ...@@ -295,7 +289,7 @@ index be804d8..a156db5 100644
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) { if (!cx) {
return error; return error;
@@ -328,6 +331,8 @@ int __glXDisp_GetHistogram(__GLXclientState *cl, GLbyte *pc) @@ -328,6 +331,8 @@ int __glXDisp_GetHistogram(__GLXclientSt
char *answer, answerBuffer[200]; char *answer, answerBuffer[200];
GLint width=0; GLint width=0;
...@@ -304,7 +298,7 @@ index be804d8..a156db5 100644 ...@@ -304,7 +298,7 @@ index be804d8..a156db5 100644
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) { if (!cx) {
return error; return error;
@@ -376,6 +381,8 @@ int __glXDisp_GetMinmax(__GLXclientState *cl, GLbyte *pc) @@ -376,6 +381,8 @@ int __glXDisp_GetMinmax(__GLXclientState
int error; int error;
char *answer, answerBuffer[200]; char *answer, answerBuffer[200];
...@@ -313,7 +307,7 @@ index be804d8..a156db5 100644 ...@@ -313,7 +307,7 @@ index be804d8..a156db5 100644
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) { if (!cx) {
return error; return error;
@@ -419,6 +426,8 @@ int __glXDisp_GetColorTable(__GLXclientState *cl, GLbyte *pc) @@ -419,6 +426,8 @@ int __glXDisp_GetColorTable(__GLXclientS
char *answer, answerBuffer[200]; char *answer, answerBuffer[200];
GLint width=0; GLint width=0;
...@@ -322,11 +316,9 @@ index be804d8..a156db5 100644 ...@@ -322,11 +316,9 @@ index be804d8..a156db5 100644
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) { if (!cx) {
return error; return error;
diff --git a/nx-X11/programs/Xserver/GL/glx/singlepixswap.c b/nx-X11/programs/Xserver/GL/glx/singlepixswap.c
index cdc6f16..24f2e76 100644
--- a/nx-X11/programs/Xserver/GL/glx/singlepixswap.c --- a/nx-X11/programs/Xserver/GL/glx/singlepixswap.c
+++ b/nx-X11/programs/Xserver/GL/glx/singlepixswap.c +++ b/nx-X11/programs/Xserver/GL/glx/singlepixswap.c
@@ -58,6 +58,8 @@ int __glXDispSwap_ReadPixels(__GLXclientState *cl, GLbyte *pc) @@ -58,6 +58,8 @@ int __glXDispSwap_ReadPixels(__GLXclient
int error; int error;
char *answer, answerBuffer[200]; char *answer, answerBuffer[200];
...@@ -335,7 +327,7 @@ index cdc6f16..24f2e76 100644 ...@@ -335,7 +327,7 @@ index cdc6f16..24f2e76 100644
__GLX_SWAP_INT(&((xGLXSingleReq *)pc)->contextTag); __GLX_SWAP_INT(&((xGLXSingleReq *)pc)->contextTag);
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) { if (!cx) {
@@ -120,6 +122,7 @@ int __glXDispSwap_GetTexImage(__GLXclientState *cl, GLbyte *pc) @@ -120,6 +122,7 @@ int __glXDispSwap_GetTexImage(__GLXclien
char *answer, answerBuffer[200]; char *answer, answerBuffer[200];
GLint width=0, height=0, depth=1; GLint width=0, height=0, depth=1;
...@@ -343,7 +335,7 @@ index cdc6f16..24f2e76 100644 ...@@ -343,7 +335,7 @@ index cdc6f16..24f2e76 100644
__GLX_SWAP_INT(&((xGLXSingleReq *)pc)->contextTag); __GLX_SWAP_INT(&((xGLXSingleReq *)pc)->contextTag);
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) { if (!cx) {
@@ -190,6 +193,7 @@ int __glXDispSwap_GetPolygonStipple(__GLXclientState *cl, GLbyte *pc) @@ -190,6 +193,7 @@ int __glXDispSwap_GetPolygonStipple(__GL
char *answer; char *answer;
__GLX_DECLARE_SWAP_VARIABLES; __GLX_DECLARE_SWAP_VARIABLES;
...@@ -351,7 +343,7 @@ index cdc6f16..24f2e76 100644 ...@@ -351,7 +343,7 @@ index cdc6f16..24f2e76 100644
__GLX_SWAP_INT(&((xGLXSingleReq *)pc)->contextTag); __GLX_SWAP_INT(&((xGLXSingleReq *)pc)->contextTag);
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) { if (!cx) {
@@ -230,6 +234,7 @@ int __glXDispSwap_GetSeparableFilter(__GLXclientState *cl, GLbyte *pc) @@ -230,6 +234,7 @@ int __glXDispSwap_GetSeparableFilter(__G
char *answer, answerBuffer[200]; char *answer, answerBuffer[200];
GLint width=0, height=0; GLint width=0, height=0;
...@@ -359,7 +351,7 @@ index cdc6f16..24f2e76 100644 ...@@ -359,7 +351,7 @@ index cdc6f16..24f2e76 100644
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) { if (!cx) {
return error; return error;
@@ -257,13 +262,11 @@ int __glXDispSwap_GetSeparableFilter(__GLXclientState *cl, GLbyte *pc) @@ -257,13 +262,11 @@ int __glXDispSwap_GetSeparableFilter(__G
compsize = __glGetTexImage_size(target,1,format,type,width,1,1); compsize = __glGetTexImage_size(target,1,format,type,width,1,1);
compsize2 = __glGetTexImage_size(target,1,format,type,height,1,1); compsize2 = __glGetTexImage_size(target,1,format,type,height,1,1);
...@@ -376,7 +368,7 @@ index cdc6f16..24f2e76 100644 ...@@ -376,7 +368,7 @@ index cdc6f16..24f2e76 100644
__glXClearErrorOccured(); __glXClearErrorOccured();
glGetSeparableFilter( glGetSeparableFilter(
*(GLenum *)(pc + 0), *(GLenum *)(pc + 0),
@@ -302,6 +305,7 @@ int __glXDispSwap_GetConvolutionFilter(__GLXclientState *cl, GLbyte *pc) @@ -302,6 +305,7 @@ int __glXDispSwap_GetConvolutionFilter(_
char *answer, answerBuffer[200]; char *answer, answerBuffer[200];
GLint width=0, height=0; GLint width=0, height=0;
...@@ -384,7 +376,7 @@ index cdc6f16..24f2e76 100644 ...@@ -384,7 +376,7 @@ index cdc6f16..24f2e76 100644
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) { if (!cx) {
return error; return error;
@@ -368,6 +372,7 @@ int __glXDispSwap_GetHistogram(__GLXclientState *cl, GLbyte *pc) @@ -368,6 +372,7 @@ int __glXDispSwap_GetHistogram(__GLXclie
char *answer, answerBuffer[200]; char *answer, answerBuffer[200];
GLint width=0; GLint width=0;
...@@ -392,7 +384,7 @@ index cdc6f16..24f2e76 100644 ...@@ -392,7 +384,7 @@ index cdc6f16..24f2e76 100644
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) { if (!cx) {
return error; return error;
@@ -422,6 +427,7 @@ int __glXDispSwap_GetMinmax(__GLXclientState *cl, GLbyte *pc) @@ -422,6 +427,7 @@ int __glXDispSwap_GetMinmax(__GLXclientS
__GLX_DECLARE_SWAP_VARIABLES; __GLX_DECLARE_SWAP_VARIABLES;
char *answer, answerBuffer[200]; char *answer, answerBuffer[200];
...@@ -400,7 +392,7 @@ index cdc6f16..24f2e76 100644 ...@@ -400,7 +392,7 @@ index cdc6f16..24f2e76 100644
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) { if (!cx) {
return error; return error;
@@ -470,6 +476,7 @@ int __glXDispSwap_GetColorTable(__GLXclientState *cl, GLbyte *pc) @@ -470,6 +476,7 @@ int __glXDispSwap_GetColorTable(__GLXcli
char *answer, answerBuffer[200]; char *answer, answerBuffer[200];
GLint width=0; GLint width=0;
...@@ -408,6 +400,3 @@ index cdc6f16..24f2e76 100644 ...@@ -408,6 +400,3 @@ index cdc6f16..24f2e76 100644
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) { if (!cx) {
return error; return error;
--
2.1.4
...@@ -27,11 +27,9 @@ fixup swap ...@@ -27,11 +27,9 @@ fixup swap
nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c | 59 +++++++++++++++++----------- nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c | 59 +++++++++++++++++-----------
2 files changed, 71 insertions(+), 46 deletions(-) 2 files changed, 71 insertions(+), 46 deletions(-)
diff --git a/nx-X11/programs/Xserver/GL/glx/glxcmds.c b/nx-X11/programs/Xserver/GL/glx/glxcmds.c
index 831c65b..20c12f3 100644
--- a/nx-X11/programs/Xserver/GL/glx/glxcmds.c --- a/nx-X11/programs/Xserver/GL/glx/glxcmds.c
+++ b/nx-X11/programs/Xserver/GL/glx/glxcmds.c +++ b/nx-X11/programs/Xserver/GL/glx/glxcmds.c
@@ -1535,6 +1535,8 @@ int __glXRenderLarge(__GLXclientState *cl, GLbyte *pc) @@ -1535,6 +1535,8 @@ int __glXRenderLarge(__GLXclientState *c
** duplicated there. ** duplicated there.
*/ */
...@@ -40,7 +38,7 @@ index 831c65b..20c12f3 100644 ...@@ -40,7 +38,7 @@ index 831c65b..20c12f3 100644
req = (xGLXRenderLargeReq *) pc; req = (xGLXRenderLargeReq *) pc;
glxc = __glXForceCurrent(cl, req->contextTag, &error); glxc = __glXForceCurrent(cl, req->contextTag, &error);
if (!glxc) { if (!glxc) {
@@ -1542,12 +1544,15 @@ int __glXRenderLarge(__GLXclientState *cl, GLbyte *pc) @@ -1542,12 +1544,15 @@ int __glXRenderLarge(__GLXclientState *c
__glXResetLargeCommandStatus(cl); __glXResetLargeCommandStatus(cl);
return error; return error;
} }
...@@ -57,7 +55,7 @@ index 831c65b..20c12f3 100644 ...@@ -57,7 +55,7 @@ index 831c65b..20c12f3 100644
client->errorValue = req->length; client->errorValue = req->length;
/* Reset in case this isn't 1st request. */ /* Reset in case this isn't 1st request. */
__glXResetLargeCommandStatus(cl); __glXResetLargeCommandStatus(cl);
@@ -1557,7 +1562,7 @@ int __glXRenderLarge(__GLXclientState *cl, GLbyte *pc) @@ -1557,7 +1562,7 @@ int __glXRenderLarge(__GLXclientState *c
if (cl->largeCmdRequestsSoFar == 0) { if (cl->largeCmdRequestsSoFar == 0) {
__GLXrenderSizeData *entry; __GLXrenderSizeData *entry;
...@@ -66,7 +64,7 @@ index 831c65b..20c12f3 100644 ...@@ -66,7 +64,7 @@ index 831c65b..20c12f3 100644
/* /*
** This is the first request of a multi request command. ** This is the first request of a multi request command.
** Make enough space in the buffer, then copy the entire request. ** Make enough space in the buffer, then copy the entire request.
@@ -1567,9 +1572,13 @@ int __glXRenderLarge(__GLXclientState *cl, GLbyte *pc) @@ -1567,9 +1572,13 @@ int __glXRenderLarge(__GLXclientState *c
return __glXBadLargeRequest; return __glXBadLargeRequest;
} }
...@@ -81,7 +79,7 @@ index 831c65b..20c12f3 100644 ...@@ -81,7 +79,7 @@ index 831c65b..20c12f3 100644
/* /*
** Check for core opcodes and grab entry data. ** Check for core opcodes and grab entry data.
@@ -1603,16 +1612,13 @@ int __glXRenderLarge(__GLXclientState *cl, GLbyte *pc) @@ -1603,16 +1612,13 @@ int __glXRenderLarge(__GLXclientState *c
if (extra < 0) { if (extra < 0) {
return BadLength; return BadLength;
} }
...@@ -104,7 +102,7 @@ index 831c65b..20c12f3 100644 ...@@ -104,7 +102,7 @@ index 831c65b..20c12f3 100644
/* /*
** Make enough space in the buffer, then copy the entire request. ** Make enough space in the buffer, then copy the entire request.
*/ */
@@ -1641,6 +1647,7 @@ int __glXRenderLarge(__GLXclientState *cl, GLbyte *pc) @@ -1641,6 +1647,7 @@ int __glXRenderLarge(__GLXclientState *c
** We are receiving subsequent (i.e. not the first) requests of a ** We are receiving subsequent (i.e. not the first) requests of a
** multi request command. ** multi request command.
*/ */
...@@ -112,7 +110,7 @@ index 831c65b..20c12f3 100644 ...@@ -112,7 +110,7 @@ index 831c65b..20c12f3 100644
/* /*
** Check the request number and the total request count. ** Check the request number and the total request count.
@@ -1659,7 +1666,13 @@ int __glXRenderLarge(__GLXclientState *cl, GLbyte *pc) @@ -1659,7 +1666,13 @@ int __glXRenderLarge(__GLXclientState *c
/* /*
** Check that we didn't get too much data. ** Check that we didn't get too much data.
*/ */
...@@ -127,7 +125,7 @@ index 831c65b..20c12f3 100644 ...@@ -127,7 +125,7 @@ index 831c65b..20c12f3 100644
client->errorValue = dataBytes; client->errorValue = dataBytes;
__glXResetLargeCommandStatus(cl); __glXResetLargeCommandStatus(cl);
return __glXBadLargeRequest; return __glXBadLargeRequest;
@@ -1673,17 +1686,16 @@ int __glXRenderLarge(__GLXclientState *cl, GLbyte *pc) @@ -1673,17 +1686,16 @@ int __glXRenderLarge(__GLXclientState *c
** This is the last request; it must have enough bytes to complete ** This is the last request; it must have enough bytes to complete
** the command. ** the command.
*/ */
...@@ -154,11 +152,9 @@ index 831c65b..20c12f3 100644 ...@@ -154,11 +152,9 @@ index 831c65b..20c12f3 100644
client->errorValue = dataBytes; client->errorValue = dataBytes;
__glXResetLargeCommandStatus(cl); __glXResetLargeCommandStatus(cl);
return __glXBadLargeRequest; return __glXBadLargeRequest;
diff --git a/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c b/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c
index 2685355..2e228c0 100644
--- a/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c --- a/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c
+++ b/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c +++ b/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c
@@ -587,6 +587,8 @@ int __glXSwapRenderLarge(__GLXclientState *cl, GLbyte *pc) @@ -587,6 +587,8 @@ int __glXSwapRenderLarge(__GLXclientStat
** duplicated there. ** duplicated there.
*/ */
...@@ -167,7 +163,7 @@ index 2685355..2e228c0 100644 ...@@ -167,7 +163,7 @@ index 2685355..2e228c0 100644
req = (xGLXRenderLargeReq *) pc; req = (xGLXRenderLargeReq *) pc;
__GLX_SWAP_SHORT(&req->length); __GLX_SWAP_SHORT(&req->length);
__GLX_SWAP_INT(&req->contextTag); __GLX_SWAP_INT(&req->contextTag);
@@ -599,12 +601,15 @@ int __glXSwapRenderLarge(__GLXclientState *cl, GLbyte *pc) @@ -599,12 +601,15 @@ int __glXSwapRenderLarge(__GLXclientStat
__glXResetLargeCommandStatus(cl); __glXResetLargeCommandStatus(cl);
return error; return error;
} }
...@@ -184,7 +180,7 @@ index 2685355..2e228c0 100644 ...@@ -184,7 +180,7 @@ index 2685355..2e228c0 100644
client->errorValue = req->length; client->errorValue = req->length;
/* Reset in case this isn't 1st request. */ /* Reset in case this isn't 1st request. */
__glXResetLargeCommandStatus(cl); __glXResetLargeCommandStatus(cl);
@@ -614,7 +619,7 @@ int __glXSwapRenderLarge(__GLXclientState *cl, GLbyte *pc) @@ -614,7 +619,7 @@ int __glXSwapRenderLarge(__GLXclientStat
if (cl->largeCmdRequestsSoFar == 0) { if (cl->largeCmdRequestsSoFar == 0) {
__GLXrenderSizeData *entry; __GLXrenderSizeData *entry;
...@@ -193,7 +189,7 @@ index 2685355..2e228c0 100644 ...@@ -193,7 +189,7 @@ index 2685355..2e228c0 100644
size_t cmdlen; size_t cmdlen;
/* /*
** This is the first request of a multi request command. ** This is the first request of a multi request command.
@@ -624,12 +629,17 @@ int __glXSwapRenderLarge(__GLXclientState *cl, GLbyte *pc) @@ -624,12 +629,17 @@ int __glXSwapRenderLarge(__GLXclientStat
client->errorValue = req->requestNumber; client->errorValue = req->requestNumber;
return __glXBadLargeRequest; return __glXBadLargeRequest;
} }
...@@ -212,7 +208,7 @@ index 2685355..2e228c0 100644 ...@@ -212,7 +208,7 @@ index 2685355..2e228c0 100644
if ( (opcode >= __GLX_MIN_RENDER_OPCODE) && if ( (opcode >= __GLX_MIN_RENDER_OPCODE) &&
(opcode <= __GLX_MAX_RENDER_OPCODE) ) { (opcode <= __GLX_MAX_RENDER_OPCODE) ) {
entry = &__glXRenderSizeTable[opcode]; entry = &__glXRenderSizeTable[opcode];
@@ -661,16 +671,12 @@ int __glXSwapRenderLarge(__GLXclientState *cl, GLbyte *pc) @@ -661,16 +671,12 @@ int __glXSwapRenderLarge(__GLXclientStat
if (extra < 0) { if (extra < 0) {
return BadLength; return BadLength;
} }
...@@ -234,7 +230,7 @@ index 2685355..2e228c0 100644 ...@@ -234,7 +230,7 @@ index 2685355..2e228c0 100644
/* /*
** Make enough space in the buffer, then copy the entire request. ** Make enough space in the buffer, then copy the entire request.
*/ */
@@ -698,6 +704,7 @@ int __glXSwapRenderLarge(__GLXclientState *cl, GLbyte *pc) @@ -698,6 +704,7 @@ int __glXSwapRenderLarge(__GLXclientStat
** We are receiving subsequent (i.e. not the first) requests of a ** We are receiving subsequent (i.e. not the first) requests of a
** multi request command. ** multi request command.
*/ */
...@@ -242,7 +238,7 @@ index 2685355..2e228c0 100644 ...@@ -242,7 +238,7 @@ index 2685355..2e228c0 100644
/* /*
** Check the request number and the total request count. ** Check the request number and the total request count.
@@ -716,7 +723,13 @@ int __glXSwapRenderLarge(__GLXclientState *cl, GLbyte *pc) @@ -716,7 +723,13 @@ int __glXSwapRenderLarge(__GLXclientStat
/* /*
** Check that we didn't get too much data. ** Check that we didn't get too much data.
*/ */
...@@ -257,7 +253,7 @@ index 2685355..2e228c0 100644 ...@@ -257,7 +253,7 @@ index 2685355..2e228c0 100644
client->errorValue = dataBytes; client->errorValue = dataBytes;
__glXResetLargeCommandStatus(cl); __glXResetLargeCommandStatus(cl);
return __glXBadLargeRequest; return __glXBadLargeRequest;
@@ -730,17 +743,17 @@ int __glXSwapRenderLarge(__GLXclientState *cl, GLbyte *pc) @@ -730,17 +743,17 @@ int __glXSwapRenderLarge(__GLXclientStat
** This is the last request; it must have enough bytes to complete ** This is the last request; it must have enough bytes to complete
** the command. ** the command.
*/ */
...@@ -285,6 +281,3 @@ index 2685355..2e228c0 100644 ...@@ -285,6 +281,3 @@ index 2685355..2e228c0 100644
client->errorValue = dataBytes; client->errorValue = dataBytes;
__glXResetLargeCommandStatus(cl); __glXResetLargeCommandStatus(cl);
return __glXBadLargeRequest; return __glXBadLargeRequest;
--
2.1.4
...@@ -24,11 +24,9 @@ Signed-off-by: Dave Airlie <airlied@redhat.com> ...@@ -24,11 +24,9 @@ Signed-off-by: Dave Airlie <airlied@redhat.com>
nx-X11/programs/Xserver/GL/glx/rensize.c | 125 ++++++++++++++------------- nx-X11/programs/Xserver/GL/glx/rensize.c | 125 ++++++++++++++-------------
4 files changed, 121 insertions(+), 107 deletions(-) 4 files changed, 121 insertions(+), 107 deletions(-)
diff --git a/nx-X11/programs/Xserver/GL/glx/glxcmds.c b/nx-X11/programs/Xserver/GL/glx/glxcmds.c
index 20c12f3..a1bb259 100644
--- a/nx-X11/programs/Xserver/GL/glx/glxcmds.c --- a/nx-X11/programs/Xserver/GL/glx/glxcmds.c
+++ b/nx-X11/programs/Xserver/GL/glx/glxcmds.c +++ b/nx-X11/programs/Xserver/GL/glx/glxcmds.c
@@ -1490,7 +1490,7 @@ int __glXRender(__GLXclientState *cl, GLbyte *pc) @@ -1490,7 +1490,7 @@ int __glXRender(__GLXclientState *cl, GL
if (entry->varsize) { if (entry->varsize) {
/* variable size command */ /* variable size command */
...@@ -37,7 +35,7 @@ index 20c12f3..a1bb259 100644 ...@@ -37,7 +35,7 @@ index 20c12f3..a1bb259 100644
if (extra < 0) { if (extra < 0) {
return BadLength; return BadLength;
} }
@@ -1563,6 +1563,7 @@ int __glXRenderLarge(__GLXclientState *cl, GLbyte *pc) @@ -1563,6 +1563,7 @@ int __glXRenderLarge(__GLXclientState *c
if (cl->largeCmdRequestsSoFar == 0) { if (cl->largeCmdRequestsSoFar == 0) {
__GLXrenderSizeData *entry; __GLXrenderSizeData *entry;
int extra = 0, cmdlen; int extra = 0, cmdlen;
...@@ -45,7 +43,7 @@ index 20c12f3..a1bb259 100644 ...@@ -45,7 +43,7 @@ index 20c12f3..a1bb259 100644
/* /*
** This is the first request of a multi request command. ** This is the first request of a multi request command.
** Make enough space in the buffer, then copy the entire request. ** Make enough space in the buffer, then copy the entire request.
@@ -1608,7 +1609,8 @@ int __glXRenderLarge(__GLXclientState *cl, GLbyte *pc) @@ -1608,7 +1609,8 @@ int __glXRenderLarge(__GLXclientState *c
** be computed from its parameters), all the parameters needed ** be computed from its parameters), all the parameters needed
** will be in the 1st request, so it's okay to do this. ** will be in the 1st request, so it's okay to do this.
*/ */
...@@ -55,11 +53,9 @@ index 20c12f3..a1bb259 100644 ...@@ -55,11 +53,9 @@ index 20c12f3..a1bb259 100644
if (extra < 0) { if (extra < 0) {
return BadLength; return BadLength;
} }
diff --git a/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c b/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c
index 2e228c0..33a748a 100644
--- a/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c --- a/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c
+++ b/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c +++ b/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c
@@ -541,7 +541,8 @@ int __glXSwapRender(__GLXclientState *cl, GLbyte *pc) @@ -541,7 +541,8 @@ int __glXSwapRender(__GLXclientState *cl
if (entry->varsize) { if (entry->varsize) {
/* variable size command */ /* variable size command */
...@@ -69,7 +65,7 @@ index 2e228c0..33a748a 100644 ...@@ -69,7 +65,7 @@ index 2e228c0..33a748a 100644
if (extra < 0) { if (extra < 0) {
return BadLength; return BadLength;
} }
@@ -620,6 +621,7 @@ int __glXSwapRenderLarge(__GLXclientState *cl, GLbyte *pc) @@ -620,6 +621,7 @@ int __glXSwapRenderLarge(__GLXclientStat
if (cl->largeCmdRequestsSoFar == 0) { if (cl->largeCmdRequestsSoFar == 0) {
__GLXrenderSizeData *entry; __GLXrenderSizeData *entry;
int extra = 0; int extra = 0;
...@@ -77,7 +73,7 @@ index 2e228c0..33a748a 100644 ...@@ -77,7 +73,7 @@ index 2e228c0..33a748a 100644
size_t cmdlen; size_t cmdlen;
/* /*
** This is the first request of a multi request command. ** This is the first request of a multi request command.
@@ -667,7 +669,8 @@ int __glXSwapRenderLarge(__GLXclientState *cl, GLbyte *pc) @@ -667,7 +669,8 @@ int __glXSwapRenderLarge(__GLXclientStat
** be computed from its parameters), all the parameters needed ** be computed from its parameters), all the parameters needed
** will be in the 1st request, so it's okay to do this. ** will be in the 1st request, so it's okay to do this.
*/ */
...@@ -87,8 +83,6 @@ index 2e228c0..33a748a 100644 ...@@ -87,8 +83,6 @@ index 2e228c0..33a748a 100644
if (extra < 0) { if (extra < 0) {
return BadLength; return BadLength;
} }
diff --git a/nx-X11/programs/Xserver/GL/glx/glxserver.h b/nx-X11/programs/Xserver/GL/glx/glxserver.h
index 4047574..193ebcb 100644
--- a/nx-X11/programs/Xserver/GL/glx/glxserver.h --- a/nx-X11/programs/Xserver/GL/glx/glxserver.h
+++ b/nx-X11/programs/Xserver/GL/glx/glxserver.h +++ b/nx-X11/programs/Xserver/GL/glx/glxserver.h
@@ -179,7 +179,7 @@ extern __GLXprocPtr __glXProcTable[]; @@ -179,7 +179,7 @@ extern __GLXprocPtr __glXProcTable[];
...@@ -100,7 +94,7 @@ index 4047574..193ebcb 100644 ...@@ -100,7 +94,7 @@ index 4047574..193ebcb 100644
} __GLXrenderSizeData; } __GLXrenderSizeData;
extern __GLXrenderSizeData __glXRenderSizeTable[]; extern __GLXrenderSizeData __glXRenderSizeTable[];
extern __GLXrenderSizeData __glXRenderSizeTable_EXT[]; extern __GLXrenderSizeData __glXRenderSizeTable_EXT[];
@@ -271,48 +271,48 @@ extern int __glXImageSize(GLenum format, GLenum type, @@ -271,48 +271,48 @@ extern int __glXImageSize(GLenum format,
GLint imageHeight, GLint rowLength, GLint skipImages, GLint skipRows, GLint imageHeight, GLint rowLength, GLint skipImages, GLint skipRows,
GLint alignment); GLint alignment);
...@@ -191,7 +185,7 @@ index 4047574..193ebcb 100644 ...@@ -191,7 +185,7 @@ index 4047574..193ebcb 100644
/* /*
* Routines for computing the size of returned data. * Routines for computing the size of returned data.
@@ -322,7 +322,7 @@ extern int __glXConvolutionParameterfvSize(GLenum pname); @@ -322,7 +322,7 @@ extern int __glXConvolutionParameterfvSi
extern int __glXColorTableParameterfvSize(GLenum pname); extern int __glXColorTableParameterfvSize(GLenum pname);
extern int __glXColorTableParameterivSize(GLenum pname); extern int __glXColorTableParameterivSize(GLenum pname);
...@@ -201,8 +195,6 @@ index 4047574..193ebcb 100644 ...@@ -201,8 +195,6 @@ index 4047574..193ebcb 100644
+extern int __glXPointParameterivReqSize(GLbyte *pc, Bool swap, int reqlen); +extern int __glXPointParameterivReqSize(GLbyte *pc, Bool swap, int reqlen);
#endif /* !__GLX_server_h__ */ #endif /* !__GLX_server_h__ */
diff --git a/nx-X11/programs/Xserver/GL/glx/rensize.c b/nx-X11/programs/Xserver/GL/glx/rensize.c
index 9bf0d00..dc3475e 100644
--- a/nx-X11/programs/Xserver/GL/glx/rensize.c --- a/nx-X11/programs/Xserver/GL/glx/rensize.c
+++ b/nx-X11/programs/Xserver/GL/glx/rensize.c +++ b/nx-X11/programs/Xserver/GL/glx/rensize.c
@@ -48,7 +48,7 @@ @@ -48,7 +48,7 @@
...@@ -214,7 +206,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -214,7 +206,7 @@ index 9bf0d00..dc3475e 100644
{ {
GLsizei n = *(GLsizei *)(pc + 0); GLsizei n = *(GLsizei *)(pc + 0);
GLenum type = *(GLenum *)(pc + 4); GLenum type = *(GLenum *)(pc + 4);
@@ -60,7 +60,7 @@ int __glXCallListsReqSize(GLbyte *pc, Bool swap ) @@ -60,7 +60,7 @@ int __glXCallListsReqSize(GLbyte *pc, Bo
return n * __glCallLists_size( type ); return n * __glCallLists_size( type );
} }
...@@ -223,7 +215,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -223,7 +215,7 @@ index 9bf0d00..dc3475e 100644
{ {
GLenum pname = *(GLenum *)(pc + 0); GLenum pname = *(GLenum *)(pc + 0);
if (swap) { if (swap) {
@@ -69,12 +69,12 @@ int __glXFogivReqSize(GLbyte *pc, Bool swap ) @@ -69,12 +69,12 @@ int __glXFogivReqSize(GLbyte *pc, Bool s
return 4 * __glFogiv_size( pname ); /* defined in samplegl lib */ return 4 * __glFogiv_size( pname ); /* defined in samplegl lib */
} }
...@@ -239,7 +231,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -239,7 +231,7 @@ index 9bf0d00..dc3475e 100644
{ {
GLenum pname = *(GLenum *)(pc + 4); GLenum pname = *(GLenum *)(pc + 4);
if (swap) { if (swap) {
@@ -83,12 +83,12 @@ int __glXLightfvReqSize(GLbyte *pc, Bool swap ) @@ -83,12 +83,12 @@ int __glXLightfvReqSize(GLbyte *pc, Bool
return 4 * __glLightfv_size( pname ); /* defined in samplegl lib */ return 4 * __glLightfv_size( pname ); /* defined in samplegl lib */
} }
...@@ -255,7 +247,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -255,7 +247,7 @@ index 9bf0d00..dc3475e 100644
{ {
GLenum pname = *(GLenum *)(pc + 0); GLenum pname = *(GLenum *)(pc + 0);
if (swap) { if (swap) {
@@ -97,12 +97,12 @@ int __glXLightModelfvReqSize(GLbyte *pc, Bool swap ) @@ -97,12 +97,12 @@ int __glXLightModelfvReqSize(GLbyte *pc,
return 4 * __glLightModelfv_size( pname ); /* defined in samplegl lib */ return 4 * __glLightModelfv_size( pname ); /* defined in samplegl lib */
} }
...@@ -271,7 +263,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -271,7 +263,7 @@ index 9bf0d00..dc3475e 100644
{ {
GLenum pname = *(GLenum *)(pc + 4); GLenum pname = *(GLenum *)(pc + 4);
if (swap) { if (swap) {
@@ -111,12 +111,12 @@ int __glXMaterialfvReqSize(GLbyte *pc, Bool swap ) @@ -111,12 +111,12 @@ int __glXMaterialfvReqSize(GLbyte *pc, B
return 4 * __glMaterialfv_size( pname ); /* defined in samplegl lib */ return 4 * __glMaterialfv_size( pname ); /* defined in samplegl lib */
} }
...@@ -287,7 +279,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -287,7 +279,7 @@ index 9bf0d00..dc3475e 100644
{ {
GLenum pname = *(GLenum *)(pc + 4); GLenum pname = *(GLenum *)(pc + 4);
if (swap) { if (swap) {
@@ -125,7 +125,7 @@ int __glXTexGendvReqSize(GLbyte *pc, Bool swap ) @@ -125,7 +125,7 @@ int __glXTexGendvReqSize(GLbyte *pc, Boo
return 8 * __glTexGendv_size( pname ); /* defined in samplegl lib */ return 8 * __glTexGendv_size( pname ); /* defined in samplegl lib */
} }
...@@ -296,7 +288,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -296,7 +288,7 @@ index 9bf0d00..dc3475e 100644
{ {
GLenum pname = *(GLenum *)(pc + 4); GLenum pname = *(GLenum *)(pc + 4);
if (swap) { if (swap) {
@@ -134,12 +134,12 @@ int __glXTexGenfvReqSize(GLbyte *pc, Bool swap ) @@ -134,12 +134,12 @@ int __glXTexGenfvReqSize(GLbyte *pc, Boo
return 4 * __glTexGenfv_size( pname ); /* defined in samplegl lib */ return 4 * __glTexGenfv_size( pname ); /* defined in samplegl lib */
} }
...@@ -312,7 +304,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -312,7 +304,7 @@ index 9bf0d00..dc3475e 100644
{ {
GLenum pname = *(GLenum *)(pc + 4); GLenum pname = *(GLenum *)(pc + 4);
if (swap) { if (swap) {
@@ -148,12 +148,12 @@ int __glXTexParameterfvReqSize(GLbyte *pc, Bool swap ) @@ -148,12 +148,12 @@ int __glXTexParameterfvReqSize(GLbyte *p
return 4 * __glTexParameterfv_size( pname ); /* defined in samplegl lib */ return 4 * __glTexParameterfv_size( pname ); /* defined in samplegl lib */
} }
...@@ -328,7 +320,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -328,7 +320,7 @@ index 9bf0d00..dc3475e 100644
{ {
GLenum pname = *(GLenum *)(pc + 4); GLenum pname = *(GLenum *)(pc + 4);
if (swap) { if (swap) {
@@ -162,12 +162,12 @@ int __glXTexEnvfvReqSize(GLbyte *pc, Bool swap ) @@ -162,12 +162,12 @@ int __glXTexEnvfvReqSize(GLbyte *pc, Boo
return 4 * __glTexEnvfv_size( pname ); /* defined in samplegl lib */ return 4 * __glTexEnvfv_size( pname ); /* defined in samplegl lib */
} }
...@@ -344,7 +336,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -344,7 +336,7 @@ index 9bf0d00..dc3475e 100644
{ {
GLenum target; GLenum target;
GLint order; GLint order;
@@ -183,7 +183,7 @@ int __glXMap1dReqSize(GLbyte *pc, Bool swap ) @@ -183,7 +183,7 @@ int __glXMap1dReqSize(GLbyte *pc, Bool s
return safe_mul(8, safe_mul(__glMap1d_size(target), order)); return safe_mul(8, safe_mul(__glMap1d_size(target), order));
} }
...@@ -353,7 +345,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -353,7 +345,7 @@ index 9bf0d00..dc3475e 100644
{ {
GLenum target; GLenum target;
GLint order; GLint order;
@@ -205,7 +205,7 @@ static int Map2Size(int k, int majorOrder, int minorOrder) @@ -205,7 +205,7 @@ static int Map2Size(int k, int majorOrde
return safe_mul(k, safe_mul(majorOrder, minorOrder)); return safe_mul(k, safe_mul(majorOrder, minorOrder));
} }
...@@ -362,7 +354,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -362,7 +354,7 @@ index 9bf0d00..dc3475e 100644
{ {
GLenum target; GLenum target;
GLint uorder, vorder; GLint uorder, vorder;
@@ -221,7 +221,7 @@ int __glXMap2dReqSize(GLbyte *pc, Bool swap ) @@ -221,7 +221,7 @@ int __glXMap2dReqSize(GLbyte *pc, Bool s
return safe_mul(8, Map2Size(__glMap2d_size(target), uorder, vorder)); return safe_mul(8, Map2Size(__glMap2d_size(target), uorder, vorder));
} }
...@@ -371,7 +363,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -371,7 +363,7 @@ index 9bf0d00..dc3475e 100644
{ {
GLenum target; GLenum target;
GLint uorder, vorder; GLint uorder, vorder;
@@ -237,7 +237,7 @@ int __glXMap2fReqSize(GLbyte *pc, Bool swap ) @@ -237,7 +237,7 @@ int __glXMap2fReqSize(GLbyte *pc, Bool s
return safe_mul(4, Map2Size(__glMap2f_size(target), uorder, vorder)); return safe_mul(4, Map2Size(__glMap2f_size(target), uorder, vorder));
} }
...@@ -380,7 +372,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -380,7 +372,7 @@ index 9bf0d00..dc3475e 100644
{ {
GLint mapsize; GLint mapsize;
mapsize = *(GLint *)(pc + 4); mapsize = *(GLint *)(pc + 4);
@@ -247,12 +247,12 @@ int __glXPixelMapfvReqSize(GLbyte *pc, Bool swap ) @@ -247,12 +247,12 @@ int __glXPixelMapfvReqSize(GLbyte *pc, B
return 4 * mapsize; return 4 * mapsize;
} }
...@@ -396,7 +388,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -396,7 +388,7 @@ index 9bf0d00..dc3475e 100644
{ {
GLint mapsize; GLint mapsize;
mapsize = *(GLint *)(pc + 4); mapsize = *(GLint *)(pc + 4);
@@ -458,7 +458,7 @@ int __glXImageSize( GLenum format, GLenum type, GLenum target, @@ -458,7 +458,7 @@ int __glXImageSize( GLenum format, GLenu
} }
...@@ -405,7 +397,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -405,7 +397,7 @@ index 9bf0d00..dc3475e 100644
{ {
__GLXdispatchDrawPixelsHeader *hdr = (__GLXdispatchDrawPixelsHeader *) pc; __GLXdispatchDrawPixelsHeader *hdr = (__GLXdispatchDrawPixelsHeader *) pc;
GLenum format = hdr->format; GLenum format = hdr->format;
@@ -482,7 +482,7 @@ int __glXDrawPixelsReqSize(GLbyte *pc, Bool swap ) @@ -482,7 +482,7 @@ int __glXDrawPixelsReqSize(GLbyte *pc, B
0, rowLength, 0, skipRows, alignment ); 0, rowLength, 0, skipRows, alignment );
} }
...@@ -414,7 +406,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -414,7 +406,7 @@ index 9bf0d00..dc3475e 100644
{ {
__GLXdispatchBitmapHeader *hdr = (__GLXdispatchBitmapHeader *) pc; __GLXdispatchBitmapHeader *hdr = (__GLXdispatchBitmapHeader *) pc;
GLint w = hdr->width; GLint w = hdr->width;
@@ -502,7 +502,7 @@ int __glXBitmapReqSize(GLbyte *pc, Bool swap ) @@ -502,7 +502,7 @@ int __glXBitmapReqSize(GLbyte *pc, Bool
0, rowLength, 0, skipRows, alignment ); 0, rowLength, 0, skipRows, alignment );
} }
...@@ -423,7 +415,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -423,7 +415,7 @@ index 9bf0d00..dc3475e 100644
{ {
__GLXdispatchTexImageHeader *hdr = (__GLXdispatchTexImageHeader *) pc; __GLXdispatchTexImageHeader *hdr = (__GLXdispatchTexImageHeader *) pc;
GLenum target = hdr->target; GLenum target = hdr->target;
@@ -531,7 +531,7 @@ int __glXTexImage1DReqSize(GLbyte *pc, Bool swap ) @@ -531,7 +531,7 @@ int __glXTexImage1DReqSize(GLbyte *pc, B
0, rowLength, 0, skipRows, alignment ); 0, rowLength, 0, skipRows, alignment );
} }
...@@ -448,7 +440,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -448,7 +440,7 @@ index 9bf0d00..dc3475e 100644
int i; int i;
if (swap) { if (swap) {
@@ -593,6 +594,13 @@ int __glXDrawArraysSize( GLbyte *pc, Bool swap ) @@ -593,6 +594,13 @@ int __glXDrawArraysSize( GLbyte *pc, Boo
} }
pc += sizeof(__GLXdispatchDrawArraysHeader); pc += sizeof(__GLXdispatchDrawArraysHeader);
...@@ -462,7 +454,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -462,7 +454,7 @@ index 9bf0d00..dc3475e 100644
compHeader = (__GLXdispatchDrawArraysComponentHeader *) pc; compHeader = (__GLXdispatchDrawArraysComponentHeader *) pc;
for (i=0; i<numComponents; i++) { for (i=0; i<numComponents; i++) {
@@ -636,23 +644,24 @@ int __glXDrawArraysSize( GLbyte *pc, Bool swap ) @@ -636,23 +644,24 @@ int __glXDrawArraysSize( GLbyte *pc, Boo
return -1; return -1;
} }
...@@ -492,7 +484,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -492,7 +484,7 @@ index 9bf0d00..dc3475e 100644
{ {
__GLXdispatchTexSubImageHeader *hdr = (__GLXdispatchTexSubImageHeader *) pc; __GLXdispatchTexSubImageHeader *hdr = (__GLXdispatchTexSubImageHeader *) pc;
GLenum format = hdr->format; GLenum format = hdr->format;
@@ -674,7 +683,7 @@ int __glXTexSubImage1DReqSize(GLbyte *pc, Bool swap ) @@ -674,7 +683,7 @@ int __glXTexSubImage1DReqSize(GLbyte *pc
0, rowLength, 0, skipRows, alignment ); 0, rowLength, 0, skipRows, alignment );
} }
...@@ -501,7 +493,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -501,7 +493,7 @@ index 9bf0d00..dc3475e 100644
{ {
__GLXdispatchTexSubImageHeader *hdr = (__GLXdispatchTexSubImageHeader *) pc; __GLXdispatchTexSubImageHeader *hdr = (__GLXdispatchTexSubImageHeader *) pc;
GLenum format = hdr->format; GLenum format = hdr->format;
@@ -698,7 +707,7 @@ int __glXTexSubImage2DReqSize(GLbyte *pc, Bool swap ) @@ -698,7 +707,7 @@ int __glXTexSubImage2DReqSize(GLbyte *pc
0, rowLength, 0, skipRows, alignment ); 0, rowLength, 0, skipRows, alignment );
} }
...@@ -510,7 +502,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -510,7 +502,7 @@ index 9bf0d00..dc3475e 100644
{ {
__GLXdispatchTexImage3DHeader *hdr = (__GLXdispatchTexImage3DHeader *) pc; __GLXdispatchTexImage3DHeader *hdr = (__GLXdispatchTexImage3DHeader *) pc;
GLenum target = hdr->target; GLenum target = hdr->target;
@@ -735,7 +744,7 @@ int __glXTexImage3DReqSize(GLbyte *pc, Bool swap ) @@ -735,7 +744,7 @@ int __glXTexImage3DReqSize(GLbyte *pc, B
} }
} }
...@@ -519,7 +511,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -519,7 +511,7 @@ index 9bf0d00..dc3475e 100644
{ {
__GLXdispatchTexSubImage3DHeader *hdr = __GLXdispatchTexSubImage3DHeader *hdr =
(__GLXdispatchTexSubImage3DHeader *) pc; (__GLXdispatchTexSubImage3DHeader *) pc;
@@ -772,7 +781,7 @@ int __glXTexSubImage3DReqSize(GLbyte *pc, Bool swap ) @@ -772,7 +781,7 @@ int __glXTexSubImage3DReqSize(GLbyte *pc
} }
} }
...@@ -528,7 +520,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -528,7 +520,7 @@ index 9bf0d00..dc3475e 100644
{ {
__GLXdispatchConvolutionFilterHeader *hdr = __GLXdispatchConvolutionFilterHeader *hdr =
(__GLXdispatchConvolutionFilterHeader *) pc; (__GLXdispatchConvolutionFilterHeader *) pc;
@@ -795,7 +804,7 @@ int __glXConvolutionFilter1DReqSize(GLbyte *pc, Bool swap ) @@ -795,7 +804,7 @@ int __glXConvolutionFilter1DReqSize(GLby
0, rowLength, 0, 0, alignment ); 0, rowLength, 0, 0, alignment );
} }
...@@ -537,7 +529,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -537,7 +529,7 @@ index 9bf0d00..dc3475e 100644
{ {
__GLXdispatchConvolutionFilterHeader *hdr = __GLXdispatchConvolutionFilterHeader *hdr =
(__GLXdispatchConvolutionFilterHeader *) pc; (__GLXdispatchConvolutionFilterHeader *) pc;
@@ -841,7 +850,7 @@ int __glXConvolutionParameterfvSize(GLenum pname) @@ -841,7 +850,7 @@ int __glXConvolutionParameterfvSize(GLen
return __glXConvolutionParameterivSize(pname); return __glXConvolutionParameterivSize(pname);
} }
...@@ -546,7 +538,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -546,7 +538,7 @@ index 9bf0d00..dc3475e 100644
{ {
GLenum pname = *(GLenum *)(pc + 4); GLenum pname = *(GLenum *)(pc + 4);
if (swap) { if (swap) {
@@ -850,12 +859,12 @@ int __glXConvolutionParameterivReqSize(GLbyte *pc, Bool swap ) @@ -850,12 +859,12 @@ int __glXConvolutionParameterivReqSize(G
return 4 * __glXConvolutionParameterivSize( pname ); return 4 * __glXConvolutionParameterivSize( pname );
} }
...@@ -562,7 +554,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -562,7 +554,7 @@ index 9bf0d00..dc3475e 100644
{ {
__GLXdispatchConvolutionFilterHeader *hdr = __GLXdispatchConvolutionFilterHeader *hdr =
(__GLXdispatchConvolutionFilterHeader *) pc; (__GLXdispatchConvolutionFilterHeader *) pc;
@@ -904,7 +913,7 @@ int __glXColorTableParameterivSize(GLenum pname) @@ -904,7 +913,7 @@ int __glXColorTableParameterivSize(GLenu
return __glXColorTableParameterfvSize(pname); return __glXColorTableParameterfvSize(pname);
} }
...@@ -571,7 +563,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -571,7 +563,7 @@ index 9bf0d00..dc3475e 100644
{ {
__GLXdispatchColorTableHeader *hdr = __GLXdispatchColorTableHeader *hdr =
(__GLXdispatchColorTableHeader *) pc; (__GLXdispatchColorTableHeader *) pc;
@@ -939,7 +948,7 @@ int __glXColorTableReqSize(GLbyte *pc, Bool swap ) @@ -939,7 +948,7 @@ int __glXColorTableReqSize(GLbyte *pc, B
0, rowLength, 0, 0, alignment ); 0, rowLength, 0, 0, alignment );
} }
...@@ -580,7 +572,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -580,7 +572,7 @@ index 9bf0d00..dc3475e 100644
{ {
__GLXdispatchColorSubTableHeader *hdr = __GLXdispatchColorSubTableHeader *hdr =
(__GLXdispatchColorSubTableHeader *) pc; (__GLXdispatchColorSubTableHeader *) pc;
@@ -962,7 +971,7 @@ int __glXColorSubTableReqSize(GLbyte *pc, Bool swap ) @@ -962,7 +971,7 @@ int __glXColorSubTableReqSize(GLbyte *pc
0, rowLength, 0, 0, alignment ); 0, rowLength, 0, 0, alignment );
} }
...@@ -589,7 +581,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -589,7 +581,7 @@ index 9bf0d00..dc3475e 100644
{ {
GLenum pname = *(GLenum *)(pc + 4); GLenum pname = *(GLenum *)(pc + 4);
if (swap) { if (swap) {
@@ -971,13 +980,13 @@ int __glXColorTableParameterfvReqSize(GLbyte *pc, Bool swap ) @@ -971,13 +980,13 @@ int __glXColorTableParameterfvReqSize(GL
return 4 * __glXColorTableParameterfvSize(pname); return 4 * __glXColorTableParameterfvSize(pname);
} }
...@@ -606,7 +598,7 @@ index 9bf0d00..dc3475e 100644 ...@@ -606,7 +598,7 @@ index 9bf0d00..dc3475e 100644
{ {
GLenum pname = *(GLenum *)(pc + 0); GLenum pname = *(GLenum *)(pc + 0);
if (swap) { if (swap) {
@@ -986,8 +995,8 @@ int __glXPointParameterfvARBReqSize(GLbyte *pc, Bool swap ) @@ -986,8 +995,8 @@ int __glXPointParameterfvARBReqSize(GLby
return 4 * __glPointParameterfvEXT_size( pname ); return 4 * __glPointParameterfvEXT_size( pname );
} }
...@@ -617,6 +609,3 @@ index 9bf0d00..dc3475e 100644 ...@@ -617,6 +609,3 @@ index 9bf0d00..dc3475e 100644
- return __glXPointParameterfvARBReqSize(pc, swap); - return __glXPointParameterfvARBReqSize(pc, swap);
+ return __glXPointParameterfvARBReqSize(pc, swap, reqlen); + return __glXPointParameterfvARBReqSize(pc, swap, reqlen);
} }
--
2.1.4
...@@ -8,11 +8,9 @@ Subject: [PATCH 01/02] nx-X11/lib/font/fc/fserve.c: initialize remaining ...@@ -8,11 +8,9 @@ Subject: [PATCH 01/02] nx-X11/lib/font/fc/fserve.c: initialize remaining
nx-X11/lib/font/fc/fserve.c | 4 ++-- nx-X11/lib/font/fc/fserve.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-) 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nx-X11/lib/font/fc/fserve.c b/nx-X11/lib/font/fc/fserve.c
index 86b5753..6bbb8c2 100644
--- a/nx-X11/lib/font/fc/fserve.c --- a/nx-X11/lib/font/fc/fserve.c
+++ b/nx-X11/lib/font/fc/fserve.c +++ b/nx-X11/lib/font/fc/fserve.c
@@ -1917,7 +1917,7 @@ fs_read_glyphs(FontPathElementPtr fpe, FSBlockDataPtr blockrec) @@ -1917,7 +1917,7 @@ fs_read_glyphs(FontPathElementPtr fpe, F
FontInfoPtr pfi = &pfont->info; FontInfoPtr pfi = &pfont->info;
fsQueryXBitmaps16Reply *rep; fsQueryXBitmaps16Reply *rep;
char *buf; char *buf;
...@@ -21,7 +19,7 @@ index 86b5753..6bbb8c2 100644 ...@@ -21,7 +19,7 @@ index 86b5753..6bbb8c2 100644
fsOffset32 *ppbits; fsOffset32 *ppbits;
fsOffset32 local_off; fsOffset32 local_off;
char *off_adr; char *off_adr;
@@ -2501,7 +2501,7 @@ fs_read_list_info(FontPathElementPtr fpe, FSBlockDataPtr blockrec) @@ -2501,7 +2501,7 @@ fs_read_list_info(FontPathElementPtr fpe
FSBlockedListInfoPtr binfo = (FSBlockedListInfoPtr) blockrec->data; FSBlockedListInfoPtr binfo = (FSBlockedListInfoPtr) blockrec->data;
fsListFontsWithXInfoReply *rep; fsListFontsWithXInfoReply *rep;
char *buf; char *buf;
...@@ -30,6 +28,3 @@ index 86b5753..6bbb8c2 100644 ...@@ -30,6 +28,3 @@ index 86b5753..6bbb8c2 100644
FSFpePtr conn = (FSFpePtr) fpe->private; FSFpePtr conn = (FSFpePtr) fpe->private;
fsPropInfo *pi; fsPropInfo *pi;
fsPropOffset *po; fsPropOffset *po;
--
2.1.4
...@@ -16,11 +16,9 @@ Reviewed-by: Tomas Hoger <thoger@redhat.com> ...@@ -16,11 +16,9 @@ Reviewed-by: Tomas Hoger <thoger@redhat.com>
nx-X11/lib/font/fontfile/decompress.c | 31 +++++++++++++++++-------------- nx-X11/lib/font/fontfile/decompress.c | 31 +++++++++++++++++--------------
1 file changed, 17 insertions(+), 14 deletions(-) 1 file changed, 17 insertions(+), 14 deletions(-)
diff --git a/nx-X11/lib/font/fontfile/decompress.c b/nx-X11/lib/font/fontfile/decompress.c
index 553b315..c7e649f 100644
--- a/nx-X11/lib/font/fontfile/decompress.c --- a/nx-X11/lib/font/fontfile/decompress.c
+++ b/nx-X11/lib/font/fontfile/decompress.c +++ b/nx-X11/lib/font/fontfile/decompress.c
@@ -99,7 +99,7 @@ static char_type magic_header[] = { "\037\235" }; /* 1F 9D */ @@ -99,7 +99,7 @@ static char_type magic_header[] = { "\03
#define FIRST 257 /* first free entry */ #define FIRST 257 /* first free entry */
#define CLEAR 256 /* table clear output code */ #define CLEAR 256 /* table clear output code */
...@@ -105,6 +103,3 @@ index 553b315..c7e649f 100644 ...@@ -105,6 +103,3 @@ index 553b315..c7e649f 100644
file->tab_prefix[code] = (unsigned short)oldcode; file->tab_prefix[code] = (unsigned short)oldcode;
file->tab_suffix[code] = finchar; file->tab_suffix[code] = finchar;
file->free_ent = code+1; file->free_ent = code+1;
--
2.1.4
...@@ -9,8 +9,6 @@ the CVE-2015-0255 fix (Mike DePaulo) ...@@ -9,8 +9,6 @@ the CVE-2015-0255 fix (Mike DePaulo)
nx-X11/programs/Xserver/xkb/xkb.c | 22 +++++++++++++++++++--- nx-X11/programs/Xserver/xkb/xkb.c | 22 +++++++++++++++++++---
1 file changed, 19 insertions(+), 3 deletions(-) 1 file changed, 19 insertions(+), 3 deletions(-)
diff --git a/nx-X11/programs/Xserver/xkb/xkb.c b/nx-X11/programs/Xserver/xkb/xkb.c
index 2405090..2561c89 100644
--- a/nx-X11/programs/Xserver/xkb/xkb.c --- a/nx-X11/programs/Xserver/xkb/xkb.c
+++ b/nx-X11/programs/Xserver/xkb/xkb.c +++ b/nx-X11/programs/Xserver/xkb/xkb.c
@@ -4794,9 +4794,20 @@ char * wire; @@ -4794,9 +4794,20 @@ char * wire;
...@@ -58,6 +56,3 @@ index 2405090..2561c89 100644 ...@@ -58,6 +56,3 @@ index 2405090..2561c89 100644
} }
if (req->nColors!=geom->num_colors) { if (req->nColors!=geom->num_colors) {
client->errorValue= _XkbErrCode3(0x05,req->nColors,geom->num_colors); client->errorValue= _XkbErrCode3(0x05,req->nColors,geom->num_colors);
--
1.9.1
...@@ -24,8 +24,6 @@ Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> ...@@ -24,8 +24,6 @@ Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
nx-X11/programs/Xserver/include/misc.h | 30 ++++++++++++++++++++++++++++++ nx-X11/programs/Xserver/include/misc.h | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+) 1 file changed, 30 insertions(+)
diff --git a/nx-X11/programs/Xserver/include/misc.h b/nx-X11/programs/Xserver/include/misc.h
index 5944a42..849f1b5 100644
--- a/nx-X11/programs/Xserver/include/misc.h --- a/nx-X11/programs/Xserver/include/misc.h
+++ b/nx-X11/programs/Xserver/include/misc.h +++ b/nx-X11/programs/Xserver/include/misc.h
@@ -193,6 +193,36 @@ typedef struct _xReq *xReqPtr; @@ -193,6 +193,36 @@ typedef struct _xReq *xReqPtr;
...@@ -65,6 +63,3 @@ index 5944a42..849f1b5 100644 ...@@ -65,6 +63,3 @@ index 5944a42..849f1b5 100644
/* some macros to help swap requests, replies, and events */ /* some macros to help swap requests, replies, and events */
#define LengthRestB(stuff) \ #define LengthRestB(stuff) \
--
1.9.1
...@@ -30,8 +30,6 @@ index 2405090..7db0959 100644 ...@@ -30,8 +30,6 @@ index 2405090..7db0959 100644
nx-X11/programs/Xserver/xkb/xkb.c | 35 +++++++++++++++++++---------------- nx-X11/programs/Xserver/xkb/xkb.c | 35 +++++++++++++++++++----------------
1 file changed, 19 insertions(+), 16 deletions(-) 1 file changed, 19 insertions(+), 16 deletions(-)
diff --git a/nx-X11/programs/Xserver/xkb/xkb.c b/nx-X11/programs/Xserver/xkb/xkb.c
index 2561c89..d8b5b2c 100644
--- a/nx-X11/programs/Xserver/xkb/xkb.c --- a/nx-X11/programs/Xserver/xkb/xkb.c
+++ b/nx-X11/programs/Xserver/xkb/xkb.c +++ b/nx-X11/programs/Xserver/xkb/xkb.c
@@ -4441,15 +4441,14 @@ static char * @@ -4441,15 +4441,14 @@ static char *
...@@ -110,6 +108,3 @@ index 2561c89..d8b5b2c 100644 ...@@ -110,6 +108,3 @@ index 2561c89..d8b5b2c 100644
doodad->text.color_ndx= dWire->text.colorNdx; doodad->text.color_ndx= dWire->text.colorNdx;
doodad->text.text= _GetCountedString(&wire,client->swapped); doodad->text.text= _GetCountedString(&wire,client->swapped);
doodad->text.font= _GetCountedString(&wire,client->swapped); doodad->text.font= _GetCountedString(&wire,client->swapped);
--
1.9.1
...@@ -19,8 +19,6 @@ Signed-off-by: Julien Cristau <jcristau@debian.org> ...@@ -19,8 +19,6 @@ Signed-off-by: Julien Cristau <jcristau@debian.org>
nx-X11/programs/Xserver/xkb/xkb.c | 66 ++++++++++++++++++++++++--------------- nx-X11/programs/Xserver/xkb/xkb.c | 66 ++++++++++++++++++++++++---------------
1 file changed, 41 insertions(+), 25 deletions(-) 1 file changed, 41 insertions(+), 25 deletions(-)
diff --git a/nx-X11/programs/Xserver/xkb/xkb.c b/nx-X11/programs/Xserver/xkb/xkb.c
index d8b5b2c..778269f 100644
--- a/nx-X11/programs/Xserver/xkb/xkb.c --- a/nx-X11/programs/Xserver/xkb/xkb.c
+++ b/nx-X11/programs/Xserver/xkb/xkb.c +++ b/nx-X11/programs/Xserver/xkb/xkb.c
@@ -4437,26 +4437,30 @@ ProcXkbGetGeometry(ClientPtr client) @@ -4437,26 +4437,30 @@ ProcXkbGetGeometry(ClientPtr client)
...@@ -143,6 +141,3 @@ index d8b5b2c..778269f 100644 ...@@ -143,6 +141,3 @@ index d8b5b2c..778269f 100644
if (!XkbAddGeomColor(geom,name,geom->num_colors)) { if (!XkbAddGeomColor(geom,name,geom->num_colors)) {
xfree(name); xfree(name);
return BadAlloc; return BadAlloc;
--
1.9.1
...@@ -30,7 +30,7 @@ Date: Fri May 1 13:09:24 2015 +0200 ...@@ -30,7 +30,7 @@ Date: Fri May 1 13:09:24 2015 +0200
if (((((lengthProto * stuff->height) + (unsigned)3) >> 2) + if (((((lengthProto * stuff->height) + (unsigned)3) >> 2) +
--- a/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c --- a/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c +++ b/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
@@ -2630,7 +2630,7 @@ ProcPutImage(register ClientPtr client) @@ -2630,7 +2630,7 @@ ProcPutImage(client)
tmpImage = (char *)&stuff[1]; tmpImage = (char *)&stuff[1];
lengthProto = length; lengthProto = length;
......
...@@ -16,8 +16,6 @@ Date: Mon Jul 9 19:12:42 2012 -0700 ...@@ -16,8 +16,6 @@ Date: Mon Jul 9 19:12:42 2012 -0700
v2: backport to nx-libs 3.6.x (Ulrich Sibiller) v2: backport to nx-libs 3.6.x (Ulrich Sibiller)
v3: backport to nx-libs 3.5.0.x (Mihai Moldovan) v3: backport to nx-libs 3.5.0.x (Mihai Moldovan)
diff --git a/nx-X11/programs/Xserver/randr/rroutput.c b/nx-X11/programs/Xserver/randr/rroutput.c
index 1ecde31..693f5a5 100644
--- a/nx-X11/programs/Xserver/randr/rroutput.c --- a/nx-X11/programs/Xserver/randr/rroutput.c
+++ b/nx-X11/programs/Xserver/randr/rroutput.c +++ b/nx-X11/programs/Xserver/randr/rroutput.c
@@ -456,6 +456,7 @@ ProcRRGetOutputInfo (ClientPtr client) @@ -456,6 +456,7 @@ ProcRRGetOutputInfo (ClientPtr client)
......
...@@ -12,8 +12,6 @@ Date: Wed Sep 10 13:11:09 2008 +0800 ...@@ -12,8 +12,6 @@ Date: Wed Sep 10 13:11:09 2008 +0800
v2: backport to nx-libs 3.6.x (Ulrich Sibiller) v2: backport to nx-libs 3.6.x (Ulrich Sibiller)
v3: backport to nx-libs 3.5.0.x (Mihai Moldovan) v3: backport to nx-libs 3.5.0.x (Mihai Moldovan)
diff --git a/nx-X11/programs/Xserver/randr/rrmode.c b/nx-X11/programs/Xserver/randr/rrmode.c
index 62c0148..09c0113 100644
--- a/nx-X11/programs/Xserver/randr/rrmode.c --- a/nx-X11/programs/Xserver/randr/rrmode.c
+++ b/nx-X11/programs/Xserver/randr/rrmode.c +++ b/nx-X11/programs/Xserver/randr/rrmode.c
@@ -342,7 +342,8 @@ ProcRRCreateMode (ClientPtr client) @@ -342,7 +342,8 @@ ProcRRCreateMode (ClientPtr client)
......
...@@ -15,8 +15,6 @@ Date: Thu Sep 17 18:14:37 2009 -0700 ...@@ -15,8 +15,6 @@ Date: Thu Sep 17 18:14:37 2009 -0700
v2: backport to nx-libs 3.6.x (Ulrich Sibiller) v2: backport to nx-libs 3.6.x (Ulrich Sibiller)
v3: backport to nx-libs 3.5.0.x (Mihai Moldovan) v3: backport to nx-libs 3.5.0.x (Mihai Moldovan)
diff --git a/nx-X11/programs/Xserver/randr/randr.c b/nx-X11/programs/Xserver/randr/randr.c
index 81df406..f565617 100644
--- a/nx-X11/programs/Xserver/randr/randr.c --- a/nx-X11/programs/Xserver/randr/randr.c
+++ b/nx-X11/programs/Xserver/randr/randr.c +++ b/nx-X11/programs/Xserver/randr/randr.c
@@ -125,6 +125,8 @@ RRCloseScreen (int i, ScreenPtr pScreen) @@ -125,6 +125,8 @@ RRCloseScreen (int i, ScreenPtr pScreen)
......
...@@ -16,8 +16,6 @@ Date: Fri Dec 17 16:09:35 2010 +0200 ...@@ -16,8 +16,6 @@ Date: Fri Dec 17 16:09:35 2010 +0200
v2: backport to nx-libs 3.6.x (Ulrich Sibiller) v2: backport to nx-libs 3.6.x (Ulrich Sibiller)
v3: backport to nx-libs 3.5.0.x (Mihai Moldovan) v3: backport to nx-libs 3.5.0.x (Mihai Moldovan)
diff --git a/nx-X11/programs/Xserver/randr/rrscreen.c b/nx-X11/programs/Xserver/randr/rrscreen.c
index 9b3935e..9bea97b 100644
--- a/nx-X11/programs/Xserver/randr/rrscreen.c --- a/nx-X11/programs/Xserver/randr/rrscreen.c
+++ b/nx-X11/programs/Xserver/randr/rrscreen.c +++ b/nx-X11/programs/Xserver/randr/rrscreen.c
@@ -938,6 +938,18 @@ ProcRRSetScreenConfig (ClientPtr client) @@ -938,6 +938,18 @@ ProcRRSetScreenConfig (ClientPtr client)
......
...@@ -18,8 +18,6 @@ Date: Fri May 22 09:54:38 2009 +0200 ...@@ -18,8 +18,6 @@ Date: Fri May 22 09:54:38 2009 +0200
v2: backport to nx-libs 3.6.x (Ulrich Sibiller) v2: backport to nx-libs 3.6.x (Ulrich Sibiller)
v3: backport to nx-libs 3.5.0.x (Mihai Moldovan) v3: backport to nx-libs 3.5.0.x (Mihai Moldovan)
diff --git a/nx-X11/programs/Xserver/randr/rrscreen.c b/nx-X11/programs/Xserver/randr/rrscreen.c
index 9bea97b..20eed11 100644
--- a/nx-X11/programs/Xserver/randr/rrscreen.c --- a/nx-X11/programs/Xserver/randr/rrscreen.c
+++ b/nx-X11/programs/Xserver/randr/rrscreen.c +++ b/nx-X11/programs/Xserver/randr/rrscreen.c
@@ -677,8 +677,9 @@ ProcRRGetScreenInfo (ClientPtr client) @@ -677,8 +677,9 @@ ProcRRGetScreenInfo (ClientPtr client)
......
...@@ -23,8 +23,6 @@ Date: Sat Jul 14 11:21:15 2012 -0700 ...@@ -23,8 +23,6 @@ Date: Sat Jul 14 11:21:15 2012 -0700
v2: backport to nx-libs 3.6.x (Ulrich Sibiller) v2: backport to nx-libs 3.6.x (Ulrich Sibiller)
v3: backport to nx-libs 3.5.0.x (Mihai Moldovan) v3: backport to nx-libs 3.5.0.x (Mihai Moldovan)
diff --git a/nx-X11/programs/Xserver/randr/rrmode.c b/nx-X11/programs/Xserver/randr/rrmode.c
index 09c0113..43ffe07 100644
--- a/nx-X11/programs/Xserver/randr/rrmode.c --- a/nx-X11/programs/Xserver/randr/rrmode.c
+++ b/nx-X11/programs/Xserver/randr/rrmode.c +++ b/nx-X11/programs/Xserver/randr/rrmode.c
@@ -98,8 +98,10 @@ RRModeCreate (xRRModeInfo *modeInfo, @@ -98,8 +98,10 @@ RRModeCreate (xRRModeInfo *modeInfo,
......
...@@ -13,8 +13,6 @@ Date: Mon Jul 9 19:12:42 2012 -0700 ...@@ -13,8 +13,6 @@ Date: Mon Jul 9 19:12:42 2012 -0700
v2: backport to nx-libs 3.6.x (Ulrich Sibiller) v2: backport to nx-libs 3.6.x (Ulrich Sibiller)
v3: backport to nx-libs 3.5.0.x (Mihai Moldovan) v3: backport to nx-libs 3.5.0.x (Mihai Moldovan)
diff --git a/nx-X11/programs/Xserver/randr/rrscreen.c b/nx-X11/programs/Xserver/randr/rrscreen.c
index 20eed11..011b97f 100644
--- a/nx-X11/programs/Xserver/randr/rrscreen.c --- a/nx-X11/programs/Xserver/randr/rrscreen.c
+++ b/nx-X11/programs/Xserver/randr/rrscreen.c +++ b/nx-X11/programs/Xserver/randr/rrscreen.c
@@ -745,6 +745,7 @@ ProcRRGetScreenInfo (ClientPtr client) @@ -745,6 +745,7 @@ ProcRRGetScreenInfo (ClientPtr client)
......
...@@ -18,11 +18,9 @@ Date: Fri Jun 29 13:33:58 2012 -0700 ...@@ -18,11 +18,9 @@ Date: Fri Jun 29 13:33:58 2012 -0700
v2: backport to nx-libs 3.6.x (Ulrich Sibiller) v2: backport to nx-libs 3.6.x (Ulrich Sibiller)
v3: backport to nx-libs 3.5.0.x (Mihai Moldovan) v3: backport to nx-libs 3.5.0.x (Mihai Moldovan)
diff --git a/nx-X11/programs/Xserver/randr/rrscreen.c b/nx-X11/programs/Xserver/randr/rrscreen.c
index 011b97f..e0eb076 100644
--- a/nx-X11/programs/Xserver/randr/rrscreen.c --- a/nx-X11/programs/Xserver/randr/rrscreen.c
+++ b/nx-X11/programs/Xserver/randr/rrscreen.c +++ b/nx-X11/programs/Xserver/randr/rrscreen.c
@@ -228,7 +228,7 @@ ProcRRGetScreenSizeRange (ClientPtr client) @@ -228,7 +228,7 @@ ProcRRGetScreenSizeRange (ClientPtr clie
rrScrPrivPtr pScrPriv; rrScrPrivPtr pScrPriv;
int rc; int rc;
......
...@@ -19,8 +19,6 @@ Date: Thu Jun 21 18:42:46 2012 -0700 ...@@ -19,8 +19,6 @@ Date: Thu Jun 21 18:42:46 2012 -0700
v2: backport to nx-libs 3.6.x (Ulrich Sibiller) v2: backport to nx-libs 3.6.x (Ulrich Sibiller)
v3: backport to nx-libs 3.5.0.x (Mihai Moldovan) v3: backport to nx-libs 3.5.0.x (Mihai Moldovan)
diff --git a/nx-X11/programs/Xserver/randr/rrcrtc.c b/nx-X11/programs/Xserver/randr/rrcrtc.c
index fb82a80..8a34962 100644
--- a/nx-X11/programs/Xserver/randr/rrcrtc.c --- a/nx-X11/programs/Xserver/randr/rrcrtc.c
+++ b/nx-X11/programs/Xserver/randr/rrcrtc.c +++ b/nx-X11/programs/Xserver/randr/rrcrtc.c
@@ -642,7 +642,6 @@ ProcRRSetCrtcConfig (ClientPtr client) @@ -642,7 +642,6 @@ ProcRRSetCrtcConfig (ClientPtr client)
...@@ -59,11 +57,9 @@ index fb82a80..8a34962 100644 ...@@ -59,11 +57,9 @@ index fb82a80..8a34962 100644
/* /*
* Validate requested rotation * Validate requested rotation
*/ */
diff --git a/nx-X11/programs/Xserver/randr/rrinfo.c b/nx-X11/programs/Xserver/randr/rrinfo.c
index 7e77d39..470e1bb 100644
--- a/nx-X11/programs/Xserver/randr/rrinfo.c --- a/nx-X11/programs/Xserver/randr/rrinfo.c
+++ b/nx-X11/programs/Xserver/randr/rrinfo.c +++ b/nx-X11/programs/Xserver/randr/rrinfo.c
@@ -83,6 +83,7 @@ RRScanOldConfig (ScreenPtr pScreen, Rotation rotations) @@ -83,6 +83,7 @@ RRScanOldConfig (ScreenPtr pScreen, Rota
int i; int i;
CARD16 minWidth = MAXSHORT, minHeight = MAXSHORT; CARD16 minWidth = MAXSHORT, minHeight = MAXSHORT;
CARD16 maxWidth = 0, maxHeight = 0; CARD16 maxWidth = 0, maxHeight = 0;
...@@ -71,7 +67,7 @@ index 7e77d39..470e1bb 100644 ...@@ -71,7 +67,7 @@ index 7e77d39..470e1bb 100644
/* /*
* First time through, create a crtc and output and hook * First time through, create a crtc and output and hook
@@ -153,11 +154,11 @@ RRScanOldConfig (ScreenPtr pScreen, Rotation rotations) @@ -153,11 +154,11 @@ RRScanOldConfig (ScreenPtr pScreen, Rota
/* find size bounds */ /* find size bounds */
for (i = 0; i < output->numModes + output->numUserModes; i++) for (i = 0; i < output->numModes + output->numUserModes; i++)
{ {
...@@ -86,11 +82,9 @@ index 7e77d39..470e1bb 100644 ...@@ -86,11 +82,9 @@ index 7e77d39..470e1bb 100644
if (width < minWidth) minWidth = width; if (width < minWidth) minWidth = width;
if (width > maxWidth) maxWidth = width; if (width > maxWidth) maxWidth = width;
diff --git a/nx-X11/programs/Xserver/randr/rrmode.c b/nx-X11/programs/Xserver/randr/rrmode.c
index 43ffe07..db0af33 100644
--- a/nx-X11/programs/Xserver/randr/rrmode.c --- a/nx-X11/programs/Xserver/randr/rrmode.c
+++ b/nx-X11/programs/Xserver/randr/rrmode.c +++ b/nx-X11/programs/Xserver/randr/rrmode.c
@@ -194,7 +194,7 @@ RRModesForScreen (ScreenPtr pScreen, int *num_ret) @@ -194,7 +194,7 @@ RRModesForScreen (ScreenPtr pScreen, int
for (o = 0; o < pScrPriv->numOutputs; o++) for (o = 0; o < pScrPriv->numOutputs; o++)
{ {
RROutputPtr output = pScrPriv->outputs[o]; RROutputPtr output = pScrPriv->outputs[o];
......
...@@ -15,8 +15,6 @@ Date: Thu May 28 14:43:27 2009 -0700 ...@@ -15,8 +15,6 @@ Date: Thu May 28 14:43:27 2009 -0700
v2: backport to nx-libs 3.6.x (Ulrich Sibiller) v2: backport to nx-libs 3.6.x (Ulrich Sibiller)
v3: backport to nx-libs 3.5.0.x (Mihai Moldovan) v3: backport to nx-libs 3.5.0.x (Mihai Moldovan)
diff --git a/nx-X11/programs/Xserver/randr/rrcrtc.c b/nx-X11/programs/Xserver/randr/rrcrtc.c
index 8a34962..bc1040c 100644
--- a/nx-X11/programs/Xserver/randr/rrcrtc.c --- a/nx-X11/programs/Xserver/randr/rrcrtc.c
+++ b/nx-X11/programs/Xserver/randr/rrcrtc.c +++ b/nx-X11/programs/Xserver/randr/rrcrtc.c
@@ -838,10 +838,8 @@ ProcRRSetCrtcConfig (ClientPtr client) @@ -838,10 +838,8 @@ ProcRRSetCrtcConfig (ClientPtr client)
...@@ -43,8 +41,6 @@ index 8a34962..bc1040c 100644 ...@@ -43,8 +41,6 @@ index 8a34962..bc1040c 100644
if (client->swapped) if (client->swapped)
{ {
diff --git a/nx-X11/programs/Xserver/randr/rrscreen.c b/nx-X11/programs/Xserver/randr/rrscreen.c
index e0eb076..a3851bd 100644
--- a/nx-X11/programs/Xserver/randr/rrscreen.c --- a/nx-X11/programs/Xserver/randr/rrscreen.c
+++ b/nx-X11/programs/Xserver/randr/rrscreen.c +++ b/nx-X11/programs/Xserver/randr/rrscreen.c
@@ -977,15 +977,10 @@ ProcRRSetScreenConfig (ClientPtr client) @@ -977,15 +977,10 @@ ProcRRSetScreenConfig (ClientPtr client)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment