summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-23Export the logger (again)Axel Wagner
Just enabling or disabling logging falls short of the power of interfaces of go. A user is forced to either accept the logging to stderr in the format defined by xgb or disable logging alltogether. By exporting the logger, we can actually let the user decide where to log in what format.
2013-08-11Padding on a list is on the length of the list.Andrew Gallant
There was a bug where padding was being computed on each element of the list. Close #5.
2013-08-11Don't needlessly change source files every time.Andrew Gallant
2013-08-11Update to latest xproto XML.Andrew Gallant
2013-08-11Updated to work with new xproto XML files.Andrew Gallant
Namely, the "doc" element is ignored. Also, I've sorted everything before output so that diff isn't completely useless.
2013-08-11Fixed a nasty bug where closing could cause ReadFull to crashAndrew Gallant
the program. Close #4.
2013-01-26gofmtAndrew Gallant
2013-01-26Provide access to the X display number in the XGB Conn.Andrew Gallant
2012-10-16The hack continues. I've increased the event channel buffer. I know I'mAndrew Gallant (Ocelot)
goofing here. What I'd personally like to do is just use an "infinite" channel. That is, push the limit of how many events can be processed to the machine and not set an artificial limit in XGB. Some day...
2012-10-15Tests were move to xproto package a long time ago. Update README.Andrew Gallant (Ocelot)
2012-06-05Doc fixes and stop exporting ReplyChecked and ReplyUncheckedAndrew Gallant (Ocelot)
2012-06-05Refresh build. Eh.Andrew Gallant (Ocelot)
2012-06-05Add rules for installing all packages.Andrew Gallant (Ocelot)
2012-06-04Doc fix.Andrew Gallant (Ocelot)
2012-06-02Benchmark with gomaxprocs=3 tooAndrew Gallant (Ocelot)
2012-06-02A pathological example for profiling purposes. Use 'make test'.Andrew Gallant (Ocelot)
2012-05-28Add some style guidelines.Andrew Gallant (Ocelot)
2012-05-28Merge pull request #1 from tones111/authAndrew Gallant
auth: use encoding.binary
2012-05-28auth: use encoding.binaryPaul Sbarra
2012-05-26Bug fix in the generator that was outputting %(MISSING) crud.Andrew Gallant (Ocelot)
2012-05-26Doc touchups.Andrew Gallant (Ocelot)
2012-05-16Add new logger type so that it can be shut off.Andrew Gallant (Ocelot)
2012-05-16export logger so it can be disabledAndrew Gallant (Ocelot)
2012-05-12close channels.Andrew Gallant (Ocelot)
2012-05-12A more idiomatic way of trying a non-blocking send on a buffered channelAndrew Gallant (Ocelot)
and falling back to a blocking send inside a goroutine. This really needs to be fixed. The situation only arises when events are sent and aren't pulled off the channel using {Wait,Poll}ForEvent. Namely, if the event send blocks, the entire program will deadlock. Using a goroutine is not ideal because we lose a guarantee of order: that events are processed in the order of their arrival. However, it seems OK as a temporary band-aide for a situation that probably doesn't arise too often. What I need to do is implement a dynamic queue. Here is a reference implementation: http://play.golang.org/p/AiHBsxTFpj
2012-05-12added some docs and removed some extraneous codeAndrew Gallant (Ocelot)
2012-05-12docsAndrew Gallant (Ocelot)
2012-05-12some docs in the Makefile and removing a prefix that isn't needed.Andrew Gallant (Ocelot)
2012-05-11panic when an extension request is issued before an extension has been ↵Andrew Gallant (Ocelot)
initialized. but give a nice error message for the happy people.
2012-05-11panic when an extension request is issued before an extension has been ↵Andrew Gallant (Ocelot)
initialized. but give a nice error message for the happy people.
2012-05-11doc updates and a quick usageAndrew Gallant (Ocelot)
2012-05-11add a little more docs for errorsAndrew Gallant (Ocelot)
2012-05-10better docsAndrew Gallant (Ocelot)
2012-05-10adding package header commentsAndrew Gallant (Ocelot)
2012-05-10a huge commit. splitting extensions into their own sub-packages.Andrew Gallant (Ocelot)
2012-05-10make resource ids their own individual types. last commit before overhaul to ↵Andrew Gallant (Ocelot)
sub-packages
2012-05-08updateAndrew Gallant (Ocelot)
2012-05-08fixed nasty bug that made XGB not thread safeAndrew Gallant (Ocelot)
2012-05-08use a custom logger so we don't stomp all over the global log configurationAndrew Gallant (Ocelot)
2012-05-07gofmtAndrew Gallant (Ocelot)
2012-05-07more clean up. use log instead of fmt.Print to stderr. bug fix for event ↵Andrew Gallant (Ocelot)
blocking (a hack fix for now).
2012-05-07important stuff first pleaseAndrew Gallant (Ocelot)
2012-05-07more info in readme. link to docs.Andrew Gallant (Ocelot)
2012-05-07lots of docs and examplesAndrew Gallant (Ocelot)
2012-05-0780 colsAndrew Gallant (Ocelot)
2012-05-07added testsAndrew Gallant (Ocelot)
2012-05-06add more extension cruft. make extension checking more uniform.Andrew Gallant (Ocelot)
2012-05-06auto-generated Go code ftw. ~65,000 lines. woooheeeAndrew Gallant (Ocelot)
2012-05-06build comman for converting XML to GoAndrew Gallant (Ocelot)
2012-05-06more bug fixes for the rest of the extensionsAndrew Gallant (Ocelot)