aboutsummaryrefslogtreecommitdiff
path: root/nexgb
Commit message (Collapse)AuthorAgeFilesLines
* Fix Issue #21: automatic calculation of alignment padding after listsaarzilli2018-09-0830-474/+630
|
* examples:randr use info.Connection to detect whether there has any Randr.Modessnyh2018-09-081-1/+1
|
* example/randr: check the GetOutputInfo's mode length (virtual head can have ↵snyh2018-09-081-4/+6
| | | | zero mode)
* Use consistent extension names. Close #6.Andrew Gallant2018-09-0811-391/+389
|
* It appears that the "Str" type (which is built into the core X protocol)Andrew Gallant2018-09-0810-49/+52
| | | | | | doesn't specify any padding. So it has to be treated as a special case. Close #12.
* shortcuts for the lazyAndrew Gallant2018-09-081-0/+4
|
* When writing, don't pad the length of bytes produced from innerAndrew Gallant2018-09-0810-57/+57
| | | | | | structs/unions. Each type should take care of its own padding. Close #14.
* Regenerate xgb with latest XML descriptions.Andrew Gallant2018-09-087-45/+2454
|
* Fix fmt'd output for union list writing.Andrew Gallant2018-09-082-2/+2
|
* Ignore the "fd" field for the time being (for the shm extension only).Andrew Gallant2018-09-081-2/+2
|
* The `sync` and `xinput` extensions now use the `switch` field, whichAndrew Gallant2018-09-083-9616/+6
| | | | | | | XGB does not currently support. Therefore, I'm removing the sync and xinput extensions. This affects issues #11 and #13.
* Export the logger (again)Axel Wagner2018-09-083-99/+18
| | | | | | | | 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.
* Padding on a list is on the length of the list.Andrew Gallant2018-09-0817-222/+222
| | | | | There was a bug where padding was being computed on each element of the list. Close #5.
* Don't needlessly change source files every time.Andrew Gallant2018-09-0829-118/+30
|
* Update to latest xproto XML.Andrew Gallant2018-09-0828-30167/+30267
|
* Updated to work with new xproto XML files.Andrew Gallant2018-09-085-10/+45
| | | | | Namely, the "doc" element is ignored. Also, I've sorted everything before output so that diff isn't completely useless.
* Fixed a nasty bug where closing could cause ReadFull to crashAndrew Gallant2018-09-081-11/+29
| | | | the program. Close #4.
* gofmtAndrew Gallant2018-09-088-30/+30
|
* Provide access to the X display number in the XGB Conn.Andrew Gallant2018-09-082-3/+6
|
* The hack continues. I've increased the event channel buffer. I know I'mAndrew Gallant (Ocelot)2018-09-081-1/+2
| | | | | | | | 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...
* Tests were move to xproto package a long time ago. Update README.Andrew Gallant (Ocelot)2018-09-081-1/+1
|
* Doc fixes and stop exporting ReplyChecked and ReplyUncheckedAndrew Gallant (Ocelot)2018-09-082-13/+36
|
* Refresh build. Eh.Andrew Gallant (Ocelot)2018-09-0828-188/+188
|
* Add rules for installing all packages.Andrew Gallant (Ocelot)2018-09-081-0/+10
|
* Doc fix.Andrew Gallant (Ocelot)2018-09-081-1/+1
|
* Benchmark with gomaxprocs=3 tooAndrew Gallant (Ocelot)2018-09-081-1/+1
|
* A pathological example for profiling purposes. Use 'make test'.Andrew Gallant (Ocelot)2018-09-083-0/+106
|
* Add some style guidelines.Andrew Gallant (Ocelot)2018-09-081-0/+29
|
* auth: use encoding.binaryPaul Sbarra2012-05-281-23/+13
|
* Bug fix in the generator that was outputting %(MISSING) crud.Andrew Gallant (Ocelot)2012-05-2629-332/+332
|
* Doc touchups.Andrew Gallant (Ocelot)2012-05-263-17/+22
|
* Add new logger type so that it can be shut off.Andrew Gallant (Ocelot)2012-05-163-17/+100
|
* export logger so it can be disabledAndrew Gallant (Ocelot)2012-05-162-15/+15
|
* close channels.Andrew Gallant (Ocelot)2012-05-121-1/+13
|
* A more idiomatic way of trying a non-blocking send on a buffered channelAndrew Gallant (Ocelot)2012-05-121-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 codeAndrew Gallant (Ocelot)2012-05-121-3/+5
|
* docsAndrew Gallant (Ocelot)2012-05-125-7/+29
|
* some docs in the Makefile and removing a prefix that isn't needed.Andrew Gallant (Ocelot)2012-05-122-3/+22
|
* panic when an extension request is issued before an extension has been ↵Andrew Gallant (Ocelot)2012-05-111-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-1129-202/+2876
| | | | initialized. but give a nice error message for the happy people.
* doc updates and a quick usageAndrew Gallant (Ocelot)2012-05-112-9/+5
|
* add a little more docs for errorsAndrew Gallant (Ocelot)2012-05-1129-164/+331
|
* better docsAndrew Gallant (Ocelot)2012-05-1034-4688/+6734
|
* adding package header commentsAndrew Gallant (Ocelot)2012-05-1029-198/+228
|
* a huge commit. splitting extensions into their own sub-packages.Andrew Gallant (Ocelot)2012-05-1081-52515/+51644
|
* make resource ids their own individual types. last commit before overhaul to ↵Andrew Gallant (Ocelot)2012-05-1035-1685/+1906
| | | | sub-packages
* updateAndrew Gallant (Ocelot)2012-05-0828-184/+184
|
* fixed nasty bug that made XGB not thread safeAndrew Gallant (Ocelot)2012-05-081-1/+1
|
* use a custom logger so we don't stomp all over the global log configurationAndrew Gallant (Ocelot)2012-05-0830-221/+218
|
* gofmtAndrew Gallant (Ocelot)2012-05-071-7/+7
|