summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-03-13Update for Go 1HEADmasterPeter Harris10-69/+41
go fix, shuffle directories for the go tool so we don't need a Makefile, and remove the Makefile.
2011-08-11gofix for current releasePeter Harris3-13/+13
2011-03-02Fix reading of errors from the serverPeter Harris1-1/+1
All replies/events/errors would be broken after the first error, due to a short read.
2011-02-15Add Auth supportPeter Harris2-7/+180
MIT-MAGIC-COOKIE only so far. The XDM auth is considerably more complex.
2011-02-15Add Get* Xau implementationPeter Harris1-0/+200
2011-02-06Cleanup: Automatic reformatPeter Harris7-202/+206
find . -name "*.go" | xargs gofmt -w
2011-02-03Update for latest go release: nonblocking channel readPeter Harris1-2/+5
2011-01-21Add license filePeter Harris1-0/+31
2011-01-12Quote command (like the C xlsclients)Peter Harris1-3/+75
2011-01-11Change xmu.go/ClientWindow to more closely match the C versionPeter Harris1-4/+3
It's a completely cosmetic change, but it makes comparing the two versions slightly easier.
2011-01-11Fix typo in TCP selectionPeter Harris1-1/+1
Otherwise, we try to connect to remote hosts using Unix (local) sockets.
2011-01-07xgob/xproto depends on xgobPeter Harris1-0/+1
2011-01-07Add (and use) callback-based reply decodersPeter Harris2-12/+35
This improves performance, as we aren't spinning up and killing a tonne of goroutines.
2011-01-07Trim one round-trip out of xmu.ClientWindowPeter Harris1-14/+16
2011-01-07Compile sub-packages into the correct locationPeter Harris4-8/+9
2011-01-02xlsclients now worksPeter Harris6-22/+431
2011-01-02Thinking out-loud about what xproto might look likePeter Harris5-1/+299
2010-12-28Stop using defer when it isn't neededPeter Harris1-5/+5
It's a powerful construct, but it cuts the speed of noop.go in half. That's a steep penalty when none of the functions return (and none should panic). Now pushing 2.2M noop/sec
2010-12-28Allow nil error channel in WriteNoreplyRequestPeter Harris2-20/+21
Not allocating a channel at all doubles the speed of the noop test. Now we're pushing just over 1M noop/sec (compared to x11perf/Xlib, which pushes 13M noop/sec)
2010-12-28Pass channel into WriteNoreplyRequestPeter Harris2-16/+34
This speeds up noop.go 3x (or 1.5x with the GC disabled)
2010-12-28Take write lock in Flush()Peter Harris1-0/+3
2010-12-28Buffer outputPeter Harris1-3/+9
This roughly doubles the speed of the noop test app.
2010-12-24Add simple noop test appPeter Harris3-3/+45
On my mac, x11perf does 13 million noop/sec This test app does 0.11 million noop/sec
2010-12-24Remove extra channel sendPeter Harris1-2/+5
This extra send causes deadlocks when the cookie is discarded.
2010-12-24Automatically insert Sync requests where neededPeter Harris2-4/+25
2010-12-24Fix connecting to Unix socketsPeter Harris1-1/+1
2010-12-24Try harder to avoid deadlocksPeter Harris1-6/+14
By dropping the reply queue lock before actually trying to write, we reduce the chances that the server won't read our blocking socket due to us not reading events/replies/etc from earlier.
2010-12-24Add simple MakefilePeter Harris2-1/+17
2010-12-22Basic functionality completePeter Harris2-18/+236
test.go functions as expected if you specify the full display as tcp/localhost:0 and the server has xauth disabled.
2010-12-22Read entire connection blockPeter Harris1-13/+44
2010-12-21Initial commitPeter Harris3-0/+213
Work in progress. Nothing actually works yet.