aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* hpcu: the slightest cleanupPřemysl Janouch2018-11-011-144/+158
|
* Make README more AsciiDoc-compatiblePřemysl Janouch2018-10-081-16/+19
| | | | It seems to almost work, except for callouts without blocks.
* ht: add generated wcwidth tables and algorithmPřemysl Janouch2018-10-072-0/+288
|
* ht: add generated X11 keysym mapsPřemysl Janouch2018-10-074-0/+7718
| | | | Now we can make sense of keysyms and translate them to text.
* Update READMEPřemysl Janouch2018-10-071-27/+36
| | | | Some reprioritization was in order. Added some resources for hss.
* hasp: add a libasciidoc preprocessorPřemysl Janouch2018-10-072-0/+96
|
* hpcu: add a selection unifierPřemysl Janouch2018-09-302-4/+368
| | | | So far not supporting large selections.
* xgb-selection: add a demo to track X11 selectionsPřemysl Janouch2018-09-301-0/+199
|
* nexgb: update READMEPřemysl Janouch2018-09-301-1/+4
|
* nexgb: update to xcb-proto 1.13Přemysl Janouch2018-09-303-9/+356
|
* nexgb: regenerate from xcb-proto 1.12Přemysl Janouch2018-09-3026-2300/+2479
| | | | To refresh documentation.
* xgbgen: make request function signatures shorterPřemysl Janouch2018-09-301-2/+21
|
* xgbgen: process <doc> elementsPřemysl Janouch2018-09-309-24/+187
| | | | | Most of XCB documentation now ends up in Go sources, although the end result is of mixed quality.
* xgbgen: generate proper sentences with full stopsPřemysl Janouch2018-09-301-4/+3
|
* nexgb: export {Major,Minor}Version for extensionsPřemysl Janouch2018-09-3026-0/+131
|
* nexgb: gofmtPřemysl Janouch2018-09-302-3/+3
|
* nexgb: relicense xgbgen to 0BSDPřemysl Janouch2018-09-302-13/+13
| | | | | | | Doing what the fuck I want to. Included BurntSushi as a copyright holder because under the Berne convention he totally is.
* nexgb: rewrite import pathsPřemysl Janouch2018-09-2135-78/+78
|
* nexgb: post-merge fixups and cleanupsPřemysl Janouch2018-09-0814-136/+111
| | | | | | | | | AUTHORS, CONTRIBUTORS: still useful, add people from git log, clean up. LICENSE: Google doesn't really grant you shit anymore. The EU doesn't have software patents either, so it doesn't affect me directly. README, doc.go: erase mentions of unmaintained xgbutil.
* Merge aarzilli/xgb, branch xcb1.12 as nexgbPřemysl Janouch2018-09-0871-0/+69355
|\ | | | | | | | | | | | | | | | | History has been linearized and rewritten to stay under the new subdirectory. I want to make changes incompatible to BurntSushi/xgb. The history begs for being thrown away entirely because of its quality and because it doesn't cover the Google period but it is still useful for copyright tracking.
| * Regenerated from xcb-proto 1.12aarzilli2018-09-0813-264/+667
| |
| * Changed xgbgen to support xcb-proto 1.12aarzilli2018-09-089-158/+174
| | | | | | | | | | | | | | | | * Added minimal support for switch fields. * Changed the way Size is calculated to accomodate for lists inside structs (added to randr) * Removed heuristic to place alignment gaps, they are now explicitly described in xml
| * Makefile: do not redefine $XPROTO if it's already defined.aarzilli2018-09-081-0/+2
| |
| * Remove stray format char in randr exampleRabin Vincent2018-09-081-1/+1
| |
| * fix structs with field name of 'Bytes'Andrew Gallant2018-09-084-7/+11
| | | | | | | | | | (it conflict with a method of the same name that is generated for all such structs)
| * Handle wildcard values in Xauthority fileaarzilli2018-09-081-1/+5
| | | | | | | | | | | | | | | | | | | | | | 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
| * Read/Write mutex for Extensions mapaarzilli2018-09-0829-103/+2526
| |
| * sendRequest reads req.buf after closing req.seqaarzilli2018-09-081-1/+1
| | | | | | | | | | 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.
| * Remove panics/fatal errors.Andrew Gallant2018-09-082-40/+28
| | | | | | | | | | | | | | | | 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.
| * assign a sequence id to the cookie before returning from Conn.NewRequestBryan Matsuo2018-09-081-1/+7
| |
| * add a new api: NewConnNetfangyuanziti2018-09-082-0/+31
| |
| * Formatting and 80 cols.Andrew Gallant2018-09-083-19/+11
| |
| * 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
| |