summaryrefslogtreecommitdiff
path: root/scope.h
AgeCommit message (Collapse)AuthorFilesLines
2012-10-02Print UTF8_STRING properties as text if locale uses UTF-8 charsetAlan Coopersmith1-1/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
2012-10-02Move ILong, IShort, etal to inline functions in x11.hAlan Coopersmith1-1/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-07-21Convert to X.Org standard indentation & cleanup whitespaceAlan Coopersmith1-31/+29
Performed with util/modular/x-indent-all.sh, followed by manual fixups Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-30Store ClientNumber as int instead of converting back & forth to longAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-09-30Make FDinfo dynamically allocatedAlan Coopersmith1-1/+1
We still allocate one fdinfo struct for every possible FD up front instead of resizing as needed, but they're much smaller now that we just have a pointer to the 32k buffer instead of including it directly in the fdinfo. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-09-30Allocate buffers dynamically as needed instead of as part of fdinfo structAlan Coopersmith1-1/+1
Previously we'd allocate a buffer of 32k each for each fd up to the compiled in StaticMaxFD, which could be as large as 65535 on some systems (that's the Solaris 64-bit default FD_SETSIZE), resulting in gigabytes of bss allocation on startup. Now we don't allocate until we're actually setting up the fdinfo for use as part of a client<->server connection. 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-28Replace platform #ifdefs with autoconf testsAlan Coopersmith1-2/+4
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-09-27Enable raw mode option codeAlan Coopersmith1-4/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-06-15Include sys/param.h earlierYanko Kaneti1-0/+1
MAXHOSTNAMELEN is also needed for some scope.h declarations
2009-05-06Report names for all extensions, not just those we knowAlan Coopersmith1-0/+4
Move extension handling to new extensions.c & extensions.h files Start to make extension handling more generic/modular/extendable Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-06Ansify prototypes and move extern declarations to header filesAlan Coopersmith1-15/+11
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-06Merge branch 'keithp'Alan Coopersmith1-5/+37
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-11/+35
2008-09-11Merge Sun's version of xscope inStuart Kreitman1-9/+46
Conversion to ANSI C SysVR4 support Conversion of networking code to use xtrans
2008-09-11Import initial version from James PetersonAlan Coopersmith1-0/+67