summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-06formattingLenni
2021-03-06how to fillLenni
2021-03-06added more documentationLenni
2021-03-06draw thick linesLenni
2021-03-06draw red rectangleLenni
2021-03-06drawing basic shapesLenni
2021-03-06formattingLenni
2021-03-06Added explanation to the whole DestroyNotifyEvent thing.Lenni
See https://github.com/jezek/xgb/pull/1
2021-03-03formattingLenni
2021-03-03added listening to key pressesLenni
2021-03-01Update main.goscrouthtv
added example of reading events
2021-01-22Update READMEjEzEk
2020-10-08Merge remote-tracking branch 'upstream/master'jEzEk
2020-10-08Fix unix:0.0 connectionsAndy Williams
According to the spec at https://www.x.org/archive/X11R6.8.0/doc/Xorg.1.html#sect5 the DISPLAY string unix:0.0 is special. This forces connections to use the unix socket at this address even if they would normally lookup TCP first. Simple fix so that we fall through to the unix socket in this case.
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