[xserver-commit] xserver/os Makefile.am,3.6.2.1,3.6.2.2 connection.c,3.62,3.62.2.1 hpsocket.c,1.3,1.3.2.1 xdmauth.c,1.12,1.12.2.1
Keith Packard
xserver-commit@pdx.freedesktop.org
Wed, 29 Oct 2003 08:27:00 -0800
- Previous message: [xserver-commit] xserver/hw/kdrive/linux linux.c,1.13,1.14
- Next message: [xserver-commit] xserver/Xext shmint.h,NONE,1.1.2.1 syncint.h,NONE,1.1.2.1 xext.h,NONE,1.1.2.1 bigreq.c,3.7,3.7.2.1 mitmisc.c,3.6,3.6.2.1 saver.c,3.8,3.8.2.1 shm.c,3.40,3.40.2.1 sleepuntil.c,3.7,3.7.2.1 sleepuntil.h,1.2,1.2.2.1 sync.c,3.13,3.13.2.1 xcmisc.c,3.8,3.8.2.1 xres.c,1.8,1.8.2.1 xtest.c,3.9,3.9.2.1 xtest1di.c,3.5,3.5.2.1 xvmc.c,1.10,1.10.2.1 xvmcext.h,1.3,1.3.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: keithp
Update of /cvs/xserver/xserver/os
In directory pdx:/tmp/cvs-serv23305/os
Modified Files:
Tag: xfixes_2_branch
Makefile.am connection.c hpsocket.c xdmauth.c
Log Message:
* Xext/bigreq.c: (BigReqExtensionInit):
* Xext/mitmisc.c: (MITMiscExtensionInit):
* Xext/saver.c: (ScreenSaverExtensionInit):
* Xext/shm.c: (ShmExtensionInit), (ShmRegisterFuncs),
(ShmSetPixmapFormat):
* Xext/shmint.h:
* Xext/sleepuntil.c: (ClientSleepUntil):
* Xext/sleepuntil.h:
* Xext/sync.c: (SyncCreateSystemCounter), (SyncExtensionInit):
* Xext/syncint.h:
* Xext/xcmisc.c: (XCMiscExtensionInit):
* Xext/xext.h:
* Xext/xres.c:
* Xext/xtest.c: (XTestExtensionInit):
* Xext/xtest1di.c: (XTestExtension1Init):
* Xext/xvmc.c: (XvMCFindXvImage):
* Xext/xvmcext.h:
* configure.ac:
* dix/dispatch.c:
* dix/extension.c: (CloseDownExtensions):
* dix/property.c: (NullPropertyReply):
* dix/xpstubs.c: (XpClientIsBitmapClient), (XpClientIsPrintClient),
(XprintOptions):
* hw/kdrive/fbdev/fbdev.c: (fbdevUnmapFramebuffer),
(fbdevRandRSetConfig):
* hw/kdrive/fbdev/fbdev.h:
* hw/kdrive/linux/agp.c: (GARTInit):
* hw/kdrive/linux/bus.c:
* hw/kdrive/linux/keyboard.c: (readKernelMapping):
* hw/kdrive/linux/linux.c: (LinuxInit):
* hw/kdrive/linux/mouse.c:
* hw/kdrive/linux/ms.c:
* hw/kdrive/linux/ps2.c:
* hw/kdrive/mach64/mach64.c:
* hw/kdrive/mach64/mach64draw.c:
* hw/kdrive/mga/mga.c:
* hw/kdrive/mga/mgadraw.c: (mgaPrepareSolid), (mgaPrepareCopy):
* hw/kdrive/nvidia/nvidia.c: (nvidiaLockUnlock):
* hw/kdrive/nvidia/nvidia.h:
* hw/kdrive/nvidia/nvidiadraw.c: (nvidiaPrepareSolid),
(nvidiaPrepareCopy), (nvidiaDrawInit), (nvidiaDrawEnable):
* hw/kdrive/r128/r128.c: (r128ScreenInit), (r128Preserve),
(r128DPMS):
* hw/kdrive/r128/r128draw.c: (r128WaitAvail), (r128Setup),
(r128DrawInit):
* hw/kdrive/r128/r128stub.c:
* hw/kdrive/smi/smi.c: (smiRandRSetConfig), (smiPreserve),
(smiDPMS), (smiRestore):
* hw/kdrive/smi/smi.h:
* hw/kdrive/smi/smidraw.c: (smiPrepareSolid), (smiPrepareCopy),
(smiDrawInit):
* hw/kdrive/smi/smistub.c:
* hw/kdrive/src/kaa.c:
* hw/kdrive/src/kcmap.c:
* hw/kdrive/src/kcurscol.c:
* hw/kdrive/src/kdrive.c: (KdCreateScreenResources):
* hw/kdrive/src/kdrive.h:
* hw/kdrive/src/kinput.c:
* hw/kdrive/src/knoop.c:
* hw/kdrive/src/vga.c:
* hw/kdrive/src/vga.h:
* hw/kdrive/vesa/vesa.h:
* hw/xnest/Color.c: (xnestCreateColormap), (xnestDestroyColormap),
(xnestCountInstalledColormapWindows),
(xnestGetInstalledColormapWindows),
(xnestSameInstalledColormapWindows),
(xnestSetInstalledColormapWindows),
(xnestSetScreenSaverColormapWindow), (xnestDirectInstallColormaps),
(xnestDirectUninstallColormaps), (xnestInstallColormap),
(xnestUninstallColormap), (xnestListInstalledColormaps),
(xnestStoreColors), (xnestResolveColor),
(xnestCreateDefaultColormap):
* hw/xnest/Color.h:
* hw/xnest/Cursor.c: (xnestConstrainCursor), (xnestCursorLimits),
(xnestDisplayCursor), (xnestRealizeCursor), (xnestUnrealizeCursor),
(xnestRecolorCursor), (xnestSetCursorPosition):
* hw/xnest/Display.c: (xnestOpenDisplay):
* hw/xnest/Display.h:
* hw/xnest/Events.c: (xnestExposurePredicate),
(xnestNotExposurePredicate), (xnestCollectExposures),
(xnestCollectEvents):
* hw/xnest/Events.h:
* hw/xnest/Font.c: (xnestRealizeFont), (xnestUnrealizeFont):
* hw/xnest/GC.c: (xnestValidateGC), (xnestChangeGC), (xnestCopyGC),
(xnestDestroyGC), (xnestDestroyClipHelper), (xnestChangeClip),
(xnestDestroyClip), (xnestCopyClip), (xnestCreateGC):
* hw/xnest/GCOps.c: (xnestFillSpans), (xnestSetSpans),
(xnestGetSpans), (xnestQueryBestSize), (xnestPutImage),
(xnestGetImage), (xnestBitBlitPredicate), (xnestBitBlitHelper),
(xnestCopyArea), (xnestCopyPlane), (xnestPolyPoint),
(xnestPolylines), (xnestPolySegment), (xnestPolyRectangle),
(xnestPolyArc), (xnestFillPolygon), (xnestPolyFillRect),
(xnestPolyFillArc), (xnestPolyText8), (xnestPolyText16),
(xnestImageText8), (xnestImageText16), (xnestImageGlyphBlt),
(xnestPolyGlyphBlt), (xnestPushPixels):
* hw/xnest/GCOps.h:
* hw/xnest/Keyboard.h:
* hw/xnest/Screen.c: (xnestScreen):
* hw/xnest/Screen.h:
* hw/xnest/Visual.c: (xnestVisual), (xnestVisualFromID):
* hw/xnest/Visual.h:
* hw/xnest/Window.c: (xnestWindowPtr):
* hw/xnest/XNCursor.h:
* hw/xnest/XNFont.h:
* hw/xnest/XNGC.h:
* hw/xnest/XNPixmap.h:
* hw/xnest/XNWindow.h:
* include/extnsionst.h:
* mi/Makefile.am:
* mi/miinitext.c:
* os/Makefile.am:
* os/connection.c: (ClientAuthorized):
* os/hpsocket.c: (set_socket_option), (unset_socket_option):
* os/xdmauth.c: (XdmCheckCookie), (XdmToID):
Prototype fixes (various)
Add GCC warnings (including -Werror. clean up your code)
Other warning fixes (unused variables, etc)
Get rid of unused extension interfaces (aux screen procs)
Make lots of functions in kdrive static
Eliminate unused code from os library
Index: Makefile.am
===================================================================
RCS file: /cvs/xserver/xserver/os/Makefile.am,v
retrieving revision 3.6.2.1
retrieving revision 3.6.2.2
diff -u -d -r3.6.2.1 -r3.6.2.2
--- Makefile.am 25 Oct 2003 06:10:48 -0000 3.6.2.1
+++ Makefile.am 29 Oct 2003 16:26:58 -0000 3.6.2.2
@@ -10,19 +10,20 @@
# xdmcp.c \
# rpcauth.c \
# genalloca.c \
+# hpsocket.c \
# secauth.c
+# xalloc.c
libos_a_SOURCES = \
WaitFor.c \
access.c \
auth.c \
connection.c \
- hpsocket.c \
io.c \
mitauth.c \
oscolor.c \
osinit.c \
utils.c \
xdmauth.c \
- xstrans.c \
- xalloc.c
+ xstrans.c
+
Index: connection.c
===================================================================
RCS file: /cvs/xserver/xserver/os/connection.c,v
retrieving revision 3.62
retrieving revision 3.62.2.1
diff -u -d -r3.62 -r3.62.2.1
--- connection.c 29 Sep 2003 01:42:40 -0000 3.62
+++ connection.c 29 Oct 2003 16:26:58 -0000 3.62.2.1
@@ -576,8 +576,10 @@
XID auth_id;
char *reason = NULL;
XtransConnInfo trans_conn;
+#ifdef LBX
int restore_trans_conn = 0;
ClientPtr lbxpc = NULL;
+#endif
priv = (OsCommPtr)client->osPrivate;
trans_conn = priv->trans_conn;
Index: hpsocket.c
===================================================================
RCS file: /cvs/xserver/xserver/os/hpsocket.c,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -d -r1.3 -r1.3.2.1
--- hpsocket.c 11 Sep 2003 05:12:51 -0000 1.3
+++ hpsocket.c 29 Oct 2003 16:26:58 -0000 1.3.2.1
@@ -38,9 +38,7 @@
#include <sys/socket.h>
int
-set_socket_option (socket_id, option)
-int socket_id;
-char option;
+set_socket_option (int socket_id, char option)
{
int optlen = 1;
char optval = 0x0;
@@ -54,9 +52,7 @@
int
-unset_socket_option (socket_id, option)
-int socket_id;
-char option;
+unset_socket_option (int socket_id, char option)
{
int optlen = 1;
char optval = 0x0;
Index: xdmauth.c
===================================================================
RCS file: /cvs/xserver/xserver/os/xdmauth.c,v
retrieving revision 1.12
retrieving revision 1.12.2.1
diff -u -d -r1.12 -r1.12.2.1
--- xdmauth.c 1 Oct 2003 06:43:50 -0000 1.12
+++ xdmauth.c 29 Oct 2003 16:26:58 -0000 1.12.2.1
@@ -48,9 +48,9 @@
#ifdef HASXDMAUTH
+#ifdef XDMCP
static Bool authFromXDMCP;
-#ifdef XDMCP
#include "Xmd.h"
#undef REQUEST
@@ -389,8 +389,8 @@
if (!plain)
return (XID) -1;
for (auth = xdmAuth; auth; auth=auth->next) {
- XdmcpUnwrap (cookie, &auth->key, plain, cookie_length);
- if (client = XdmAuthorizationValidate (plain, cookie_length, &auth->rho, xclient, reason))
+ XdmcpUnwrap (cookie, (unsigned char *) &auth->key, plain, cookie_length);
+ if ((client = XdmAuthorizationValidate (plain, cookie_length, &auth->rho, xclient, reason)))
{
client->next = xdmClients;
xdmClients = client;
@@ -434,8 +434,8 @@
if (!plain)
return (XID) -1;
for (auth = xdmAuth; auth; auth=auth->next) {
- XdmcpUnwrap (cookie, &auth->key, plain, cookie_length);
- if (client = XdmAuthorizationValidate (plain, cookie_length, &auth->rho, NULL, NULL))
+ XdmcpUnwrap (cookie, (unsigned char *) &auth->key, plain, cookie_length);
+ if ((client = XdmAuthorizationValidate (plain, cookie_length, &auth->rho, NULL, NULL)))
{
xfree (client);
xfree (cookie);
- Previous message: [xserver-commit] xserver/hw/kdrive/linux linux.c,1.13,1.14
- Next message: [xserver-commit] xserver/Xext shmint.h,NONE,1.1.2.1 syncint.h,NONE,1.1.2.1 xext.h,NONE,1.1.2.1 bigreq.c,3.7,3.7.2.1 mitmisc.c,3.6,3.6.2.1 saver.c,3.8,3.8.2.1 shm.c,3.40,3.40.2.1 sleepuntil.c,3.7,3.7.2.1 sleepuntil.h,1.2,1.2.2.1 sync.c,3.13,3.13.2.1 xcmisc.c,3.8,3.8.2.1 xres.c,1.8,1.8.2.1 xtest.c,3.9,3.9.2.1 xtest1di.c,3.5,3.5.2.1 xvmc.c,1.10,1.10.2.1 xvmcext.h,1.3,1.3.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]