Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | close channels. | Andrew Gallant (Ocelot) | 2012-05-12 | 1 | -1/+13 |
| | |||||
* | A more idiomatic way of trying a non-blocking send on a buffered channel | Andrew Gallant (Ocelot) | 2012-05-12 | 1 | -3/+5 |
| | | | | | | | | | | | | | | | | 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 | ||||
* | added some docs and removed some extraneous code | Andrew Gallant (Ocelot) | 2012-05-12 | 1 | -3/+5 |
| | |||||
* | docs | Andrew Gallant (Ocelot) | 2012-05-12 | 5 | -7/+29 |
| | |||||
* | some docs in the Makefile and removing a prefix that isn't needed. | Andrew Gallant (Ocelot) | 2012-05-12 | 2 | -3/+22 |
| | |||||
* | panic when an extension request is issued before an extension has been ↵ | Andrew Gallant (Ocelot) | 2012-05-11 | 1 | -1/+1 |
| | | | | initialized. but give a nice error message for the happy people. | ||||
* | panic when an extension request is issued before an extension has been ↵ | Andrew Gallant (Ocelot) | 2012-05-11 | 29 | -202/+2876 |
| | | | | initialized. but give a nice error message for the happy people. | ||||
* | doc updates and a quick usage | Andrew Gallant (Ocelot) | 2012-05-11 | 2 | -9/+5 |
| | |||||
* | add a little more docs for errors | Andrew Gallant (Ocelot) | 2012-05-11 | 29 | -164/+331 |
| | |||||
* | better docs | Andrew Gallant (Ocelot) | 2012-05-10 | 34 | -4688/+6734 |
| | |||||
* | adding package header comments | Andrew Gallant (Ocelot) | 2012-05-10 | 29 | -198/+228 |
| | |||||
* | a huge commit. splitting extensions into their own sub-packages. | Andrew Gallant (Ocelot) | 2012-05-10 | 81 | -52515/+51644 |
| | |||||
* | make resource ids their own individual types. last commit before overhaul to ↵ | Andrew Gallant (Ocelot) | 2012-05-10 | 35 | -1685/+1906 |
| | | | | sub-packages | ||||
* | update | Andrew Gallant (Ocelot) | 2012-05-08 | 28 | -184/+184 |
| | |||||
* | fixed nasty bug that made XGB not thread safe | Andrew Gallant (Ocelot) | 2012-05-08 | 1 | -1/+1 |
| | |||||
* | use a custom logger so we don't stomp all over the global log configuration | Andrew Gallant (Ocelot) | 2012-05-08 | 30 | -221/+218 |
| | |||||
* | gofmt | Andrew Gallant (Ocelot) | 2012-05-07 | 1 | -7/+7 |
| | |||||
* | more clean up. use log instead of fmt.Print to stderr. bug fix for event ↵ | Andrew Gallant (Ocelot) | 2012-05-07 | 35 | -309/+481 |
| | | | | blocking (a hack fix for now). | ||||
* | important stuff first please | Andrew Gallant (Ocelot) | 2012-05-07 | 1 | -31/+31 |
| | |||||
* | more info in readme. link to docs. | Andrew Gallant (Ocelot) | 2012-05-07 | 1 | -0/+12 |
| | |||||
* | lots of docs and examples | Andrew Gallant (Ocelot) | 2012-05-07 | 27 | -305/+495 |
| | |||||
* | 80 cols | Andrew Gallant (Ocelot) | 2012-05-07 | 1 | -5/+6 |
| | |||||
* | added tests | Andrew Gallant (Ocelot) | 2012-05-07 | 33 | -256/+1256 |
| | |||||
* | add more extension cruft. make extension checking more uniform. | Andrew Gallant (Ocelot) | 2012-05-06 | 7 | -11/+59 |
| | |||||
* | auto-generated Go code ftw. ~65,000 lines. woooheee | Andrew Gallant (Ocelot) | 2012-05-06 | 28 | -61/+40161 |
| | |||||
* | build comman for converting XML to Go | Andrew Gallant (Ocelot) | 2012-05-06 | 1 | -15/+12 |
| | |||||
* | more bug fixes for the rest of the extensions | Andrew Gallant (Ocelot) | 2012-05-06 | 10 | -32/+41 |
| | |||||
* | status update | Andrew Gallant (Ocelot) | 2012-05-06 | 1 | -1/+1 |
| | |||||
* | added documentation and did some slight restructuring. it's party time. | Andrew Gallant (Ocelot) | 2012-05-06 | 11 | -304/+284 |
| | |||||
* | examples. some should be tests | Andrew Gallant (Ocelot) | 2012-05-05 | 5 | -0/+191 |
| | |||||
* | extensions are working! extensions are working! | Andrew Gallant (Ocelot) | 2012-05-05 | 10 | -831/+10360 |
| | |||||
* | fixing bugs related mostly to extension handling | Andrew Gallant (Ocelot) | 2012-05-05 | 9 | -42/+125 |
| | |||||
* | oh momma. a lot of modifications and it appears to be working. w00t. | Andrew Gallant (Ocelot) | 2012-05-05 | 3 | -1340/+3351 |
| | |||||
* | converting to new reply/cookie scheme | Andrew Gallant (Ocelot) | 2012-05-05 | 4 | -28/+122 |
| | |||||
* | reworking xgb. cleaned up connection stuff a little. making new xid ↵ | Andrew Gallant (Ocelot) | 2012-05-03 | 5 | -175/+317 |
| | | | | generation cleaner and use goroutines for it. | ||||
* | holy toldeo... things might actually be working | Andrew Gallant (Ocelot) | 2012-05-03 | 18 | -265/+11831 |
| | |||||
* | finally starting on the crescendo: requests and replies. | Andrew Gallant (Ocelot) | 2012-05-02 | 11 | -48/+153 |
| | |||||
* | float my boat | Andrew Gallant (Ocelot) | 2012-05-01 | 1 | -1/+2 |
| | |||||
* | unions, events and errors... oh my | Andrew Gallant (Ocelot) | 2012-05-01 | 8 | -34/+313 |
| | |||||
* | splitting up go specific code. too much for one file IMO. more progress. ↵ | Andrew Gallant (Ocelot) | 2012-04-30 | 9 | -269/+503 |
| | | | | almost done with structs. | ||||
* | gofmt | Andrew Gallant (Ocelot) | 2012-04-30 | 14 | -233/+163 |
| | |||||
* | complete and total overhaul like i promised. things are much easier to ↵ | Andrew Gallant (Ocelot) | 2012-04-30 | 13 | -750/+1740 |
| | | | | reason about. still not working yet though. | ||||
* | last commit before i tear everything down | Andrew Gallant (Ocelot) | 2012-04-29 | 5 | -38/+136 |
| | |||||
* | progress. still not working. this is incredibly difficult. | Andrew Gallant (Ocelot) | 2012-04-29 | 10 | -79/+384 |
| | |||||
* | initial commit. not currently in a working state. | Andrew Gallant (Ocelot) | 2012-04-28 | 16 | -0/+1906 |