summaryrefslogtreecommitdiff
path: root/os/io.c
AgeCommit message (Expand)AuthorFilesLines
2018-03-08os: Define {ReadFdFrom,WriteFdTo}Client unconditionallyAdam Jackson1-2/+7
2017-10-09os: Make sure big requests have sufficient length.Michal Srb1-0/+5
2017-06-13os: Check oc->trans_conn before using oc->fd in YieldControlNoInputKeith Packard1-10/+9
2017-06-13os: Use CloseDownFileDescriptor from AbortClient, including ospoll_removeKeith Packard1-3/+1
2017-04-29os: Mark client as ready to read when closing due to write failure [100863]Keith Packard1-1/+5
2017-04-29os: un-duplicate code to close client on write failureKeith Packard1-13/+21
2017-04-25Rewrite the byte swapping macros.Eric Anholt1-2/+2
2017-02-27os: log a bug whenever WriteToClient is called from the input threadPeter Hutterer1-0/+3
2017-02-20os: remove unused define MAX_TIMES_PEROlivier Fourdan1-1/+0
2016-09-22os: Ready clients with pending output aren't flushed, so set NewOutputPendingKeith Packard1-1/+2
2016-08-15dix: Pass ClientPtr to FlushCallbackMichel Dänzer1-6/+3
2016-07-21os: Switch server to poll(2) [v3]Keith Packard1-84/+19
2016-07-21dix: Use list for ready clientsKeith Packard1-0/+1
2016-07-18os: Move ETEST macro from io.c to osdep.hKeith Packard1-14/+0
2016-05-27os: Increase default client buffer to 16kBKeith Packard1-2/+2
2015-12-01os: Implement support for NotifyFd X_NOTIFY_WRITEKeith Packard1-4/+4
2015-12-01Remove non-smart scheduler. Don't require setitimer.Keith Packard1-11/+2
2015-11-30Replace 'sun' with '__sun'Richard PALO1-1/+1
2014-11-30Fix overflow of ConnectionOutput->size and ->countPeter Harris1-3/+4
2014-11-12Drop trailing whitespacesPeter Hutterer1-5/+5
2014-01-22If EAGAIN == EWOULDBLOCK, only need to check errno for one of themAlan Coopersmith1-3/+8
2014-01-12Replace 'pointer' type with 'void *'Keith Packard1-3/+3
2013-11-11Get rid of the rest of the FD passing code when XTRANS_SEND_FDS isn't setKeith Packard1-0/+4
2013-10-31Add support for MIT-SHM AttachFd requestKeith Packard1-0/+8
2013-10-31Add interfaces to get FDs from clients over the socketKeith Packard1-0/+21
2013-09-10os: Factor out some common code in input buffer handlingAdam Jackson1-35/+26
2013-09-10os: Immediately queue initial WriteToClientChris Wilson1-1/+1
2013-05-10os: Reset input buffer's 'ignoreBytes' fieldRobert Morell1-0/+1
2012-10-04os: Don't re-declare ConnectionInputPtr and ConnectionOutputPtrKeith Packard1-2/+2
2012-10-04Fix FlushClient to write extraBuf when provided (regression fix)Keith Packard1-1/+4
2012-09-20os: Hide the Connection{In,Out}put implementation detailsAdam Jackson1-2/+19
2012-07-09Replace padlength tables with inline functions from misc.hAlan Coopersmith1-4/+2
2012-07-09Set padding bytes to 0 in WriteToClientAlan Coopersmith1-1/+5
2012-03-21Introduce a consistent coding styleKeith Packard1-637/+564
2012-01-12Revert "os: Hide the Connection{In,Out}put implementation details"Keith Packard1-18/+1
2012-01-06os: Minor header cleanupAdam Jackson1-0/+2
2012-01-06os: Hide the Connection{In,Out}put implementation detailsAdam Jackson1-1/+18
2011-12-12WriteToClient: preserve constness of buf while extracting length valueAlan Coopersmith1-1/+1
2011-11-18record: Prevent out of bounds access when recording a reply.Rami Ylimäki1-0/+1
2011-09-21Use internal temp variable for swap macrosMatt Turner1-4/+2
2010-11-10os: Fix BigReq ignoring when another request is pendingAaron Plattner1-3/+16
2010-09-10os: Return BadLength instead of disconnecting BigReq clients (#4565)Aaron Plattner1-3/+24
2010-08-06Always call the flush callback chain when we flush client buffersKristian Høgsberg1-0/+4
2010-06-10Remove unnecessary parentheses around return values in functionsMikhail Gusarov1-6/+6
2010-05-19Make WriteEventsToClient/WriteToClient no-op on fake or dead clients.Jamey Sharp1-3/+5
2010-05-13Replace X-allocation functions with their C89 counterpartsMikhail Gusarov1-24/+24
2009-09-04os: silence bigreqsproto compiler warningPeter Hutterer1-1/+1
2009-07-14os: switch to byte counting functionsPeter Hutterer1-3/+3
2009-01-22Remove a bunch of useless casts.Adam Jackson1-8/+8
2008-12-12Remove #define NEED_EVENTS and NEED_REPLIESPeter Hutterer1-1/+0