summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-18Merge remote-tracking branch 'upstream/master'jEzEk
2020-03-24Fix doc linkJvol Jvolizka
2018-10-30Merge branch 'tests'jEzEk
2018-10-30refactor to testingTools.go with more testsjEzEk
leak testing added dummy X server replier fo dummy net.Conn tests
2018-10-27Merge branch 'connection_close_fix'jEzEk
2018-10-27Handle Conn's spawned goroutines upon close, ...jEzEk
fix double close panic, fix occaional panic on sudden connection to server close handle all channel waitings in cookies and requests properly
2018-10-26tests double close, close with pending requestsjEzEk
(*Conn).Close panic recover in tests
2018-10-25tests after (*Conn) close channel is closedjEzEk
2018-10-25testing unexpected (*Conn).conn closejEzEk
2018-10-25test on dummy X un/checked with/out reply,refactorjEzEk
2018-10-25test server w tests, test *Conn open/closejEzEk
2018-10-25test dummy X server is responding & functionaljEzEk
2018-10-25new test servers, test severs run/close testingjEzEk
new servers: serverWriteErrorReadError serverWriteSuccessReadBlocking serverWriteSuccessReadErrorAfterWrite
2018-10-25tests reactor, negative leaks error fixjEzEk
2018-10-25test fixesjEzEk
2018-10-25test dummy write error server -> conn close testsjEzEk
2018-10-25test not timed out on blocking close fixjEzEk
2018-10-25leak testing struct & checksjEzEk
2018-10-25testing blocking server, Conn open/close testjEzEk
2018-10-25xgb.go test file with very basic test serverjEzEk
2018-10-02Cosmetic refactoring of *Conn methodsjEzEk
Just cosmetic changes to unify self reference variable name across all *Conn methods + NewConnNet comment fix This commit makes no changes in logic
2017-12-10don't rewrite XPROTO if defined in MakefilejEzEk
2017-12-10README updatejEzEk
2017-12-10BurntSushi/xgb -> jezek/xgbjEzEk
2016-05-22Merge pull request #37 from rabinv/fix-randr-printfAndrew Gallant
Remove stray format char in randr example
2016-05-22Remove stray format char in randr exampleRabin Vincent
2016-03-29fix structs with field name of 'Bytes'Andrew Gallant
(it conflict with a method of the same name that is generated for all such structs)
2016-03-21Merge pull request #35 from aarzilli/xauthwildAndrew Gallant
Handle wildcard values in Xauthority file
2016-03-21Merge pull request #34 from aarzilli/extlockAndrew Gallant
Read/Write mutex for Extensions map
2016-03-21Handle wildcard values in Xauthority fileaarzilli
Some field values in the Xauthority file have special meanings: - a value of 65535 in the 'family' field means that the entry will match a connection of any family on any address - an empty string in the 'display number' field means that the entry will match a connection on any display number This behaviour is documented at: https://cgit.freedesktop.org/xorg/lib/libXau/tree/AuGetBest.c#n109
2016-03-21Read/Write mutex for Extensions mapaarzilli
2015-11-20Merge pull request #31 from aarzilli/masterAndrew Gallant
sendRequest reads req.buf after closing req.seq
2015-11-08sendRequest reads req.buf after closing req.seqaarzilli
NewRequest says you can avoid reallocating a new buffer for each request by calling it directly. This is not true if req.seq is closed before req.buf is read.
2015-04-26Remove panics/fatal errors.Andrew Gallant
Fixes #9. This makes shutdown a little more graceful, but there's more work to be done here. Namely, all outstanding cookies need to be given the error, otherwise they will block forever.
2015-04-26assign a sequence id to the cookie before returning from Conn.NewRequestBryan Matsuo
2015-02-22Merge pull request #27 from fangyuanziti/masterAndrew Gallant
add a new api: NewConnNet. So we can init a xgb.Conn from a net.Conn
2015-02-22add a new api: NewConnNetfangyuanziti
2014-05-10Formatting and 80 cols.Andrew Gallant
2014-05-02Fix Issue #21: automatic calculation of alignment padding after listsaarzilli
2013-12-30Merge pull request #19 from snyh/masterAndrew Gallant
example/randr: check the GetOutputInfo's mode length (virtual head can h...
2013-12-31examples:randr use info.Connection to detect whether there has any Randr.Modessnyh
2013-12-30example/randr: check the GetOutputInfo's mode length (virtual head can have ↵snyh
zero mode)
2013-12-28Use consistent extension names. Close #6.Andrew Gallant
2013-12-28It appears that the "Str" type (which is built into the core X protocol)Andrew Gallant
doesn't specify any padding. So it has to be treated as a special case. Close #12.
2013-12-28shortcuts for the lazyAndrew Gallant
2013-12-28When writing, don't pad the length of bytes produced from innerAndrew Gallant
structs/unions. Each type should take care of its own padding. Close #14.
2013-12-28Regenerate xgb with latest XML descriptions.Andrew Gallant
2013-12-28Fix fmt'd output for union list writing.Andrew Gallant
2013-12-28Ignore the "fd" field for the time being (for the shm extension only).Andrew Gallant
2013-12-28The `sync` and `xinput` extensions now use the `switch` field, whichAndrew Gallant
XGB does not currently support. Therefore, I'm removing the sync and xinput extensions. This affects issues #11 and #13.