summaryrefslogtreecommitdiff
path: root/server.c
AgeCommit message (Collapse)AuthorFilesLines
2012-10-02Move ILong, IShort, etal to inline functions in x11.hAlan Coopersmith1-57/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-10-02Convert ILong, IShort, etal to return C99 uint*_t typesAlan Coopersmith1-4/+4
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-10-02Convert remaining bcopy() calls to memcpy()Alan Coopersmith1-3/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
2012-10-02SaveBytes: drop unnecessary casts in bcopy() callAlan Coopersmith1-3/+3
Clears gcc warning from casting a const char * to char *: server.c: In function `SaveBytes': server.c:203: warning: cast discards qualifiers from pointer target type Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
2012-07-21Convert to X.Org standard indentation & cleanup whitespaceAlan Coopersmith1-488/+405
Performed with util/modular/x-indent-all.sh, followed by manual fixups Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-30Make CS dynamically allocatedAlan Coopersmith1-1/+1
We still allocate one ConnState struct for every possible FD up front instead of resizing as needed. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-09-30Call realloc() instead of open coding itAlan Coopersmith1-5/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-09-30Stop wrapping malloc & freeAlan Coopersmith1-4/+6
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-10-30Sun's copyrights now belong to OracleAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-01-14Update Sun license notices to current X.Org standard formAlan Coopersmith1-23/+17
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-09-29Add support for setting breakpoints on extension requestsAlan Coopersmith1-1/+6
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-09-28Replace platform #ifdefs with autoconf testsAlan Coopersmith1-5/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-08-12Add GenericEvent supportAlan Coopersmith1-1/+24
Allows extensions to register their own decoders for GenericEvents, though none do, since XInput isn't decoded yet Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-06Clear many compiler & sparse warningsAlan Coopersmith1-9/+9
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-06Constify many char pointersAlan Coopersmith1-30/+30
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-06Ansify prototypes and move extern declarations to header filesAlan Coopersmith1-104/+117
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-06Merge branch 'keithp'Alan Coopersmith1-39/+161
Conflicts: common.c decode11.c fd.c fd.h print11.c prtype.c scope.c scope.h server.c table11.c x11.h xscope.man
2009-05-04Add (some) support for BIG-REQUESTSKeith Packard1-8/+31
2009-05-04Avoid infinite loop on broken protocolKeith Packard1-0/+2
2009-05-04Import xscope bits into keithp.com CVSKeith Packard1-84/+125
2008-09-11Merge Sun's version of xscope inStuart Kreitman1-106/+102
Conversion to ANSI C SysVR4 support Conversion of networking code to use xtrans
2008-09-11Import initial version from James PetersonAlan Coopersmith1-0/+632