summaryrefslogtreecommitdiff
path: root/table11.c
AgeCommit message (Collapse)AuthorFilesLines
2013-11-27Print correct event names for events sent via SendEvent requestsAlan Coopersmith1-1/+1
The high bit of an X11 event id is set to 0 for events generated by the server, 1 for events sent from another client via SendEvent requests. Previously xscope printed: ..............EVENT: **INVALID** (150) Now it prints: ..............EVENT: ConfigureNotify source: SendEvent Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-10-02Record atoms from InternAtom and GetAtomName requestsAlan Coopersmith1-1/+52
Uses them to display strings instead of just numeric ids for atoms beyond the builtin set in other requests, such as property lookups. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-10-02Convert ValueRec structures from unsigned long to uint32_t valuesAlan Coopersmith1-8/+8
Used for GC struct members, which are defined in the protocol as 32-bit, so no need to waste time and memory copying into 64-bit longs everywhere Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-07-21Convert to X.Org standard indentation & cleanup whitespaceAlan Coopersmith1-991/+1015
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-0/+3
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-30Stop wrapping malloc & freeAlan Coopersmith1-4/+6
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-09-30Clean up existing malloc callsAlan Coopersmith1-1/+1
Remove unnecessary casts from (void *) Ensure return value is checked. 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-04-29Eliminate a few compiler warnings for style and signedness.Jeremy Huddleston1-1/+1
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.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-29Decode ServerInterpreted addresses in HOST structuresAlan Coopersmith1-0/+10
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-08-12Add GenericEvent supportAlan Coopersmith1-0/+3
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-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-06Constify many char pointersAlan Coopersmith1-39/+40
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-06Ansify prototypes and move extern declarations to header filesAlan Coopersmith1-63/+66
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-06Merge branch 'keithp'Alan Coopersmith1-3/+118
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-04Import xscope bits into keithp.com CVSKeith Packard1-6/+115
2008-09-11Convert more function declarations to ANSI CAlan Coopersmith1-4/+1
2008-09-11Merge Sun's version of xscope inStuart Kreitman1-107/+177
Conversion to ANSI C SysVR4 support Conversion of networking code to use xtrans
2008-09-11Import initial version from James PetersonAlan Coopersmith1-0/+1112