Commit Graph

182 Commits

Author SHA1 Message Date
084a0a94b0
hswg: avoid self-referential links 2020-08-18 06:35:32 +02:00
91b1120c4a
hswg: bump libasciidoc to a dev version
We want:
 - curved quotation marks
 - image alignment/float setting
2020-08-17 04:40:20 +02:00
f7f892fb59
hswg: deduplicate backlinks 2020-08-15 07:20:04 +02:00
d0ce3e3e66
Update README.adoc 2020-08-15 06:10:05 +02:00
3a5cc216bb
hswg: merge in hasp as a mode
No need to have the two-line header processor in two places.
2020-08-15 04:26:50 +02:00
a049249d81
hswg: add a static website generator 2020-08-15 04:26:50 +02:00
d4eb9cde39
Update README.adoc 2020-08-12 01:52:09 +02:00
cb1c8f8563
Render the README as AsciiDoc
The little issues aren't worth the monospace font in Gitea.
2020-08-12 01:42:31 +02:00
13275f1dd3
Update .gitignore 2020-08-06 19:04:11 +02:00
030a23c1a2
hasp: bump libasciidoc and other dependencies 2020-08-01 14:02:03 +02:00
0d37e5bc8a
Name change 2020-08-01 14:01:58 +02:00
eae39b13c2
hid: mention Go 1.12 alternative to TLS autodetection 2019-02-27 02:36:04 +01:00
95f183aa48
hpcu: eliminate infinite looping 2019-02-04 09:27:10 +01:00
e7ea35f304
Use Go modules 2018-12-01 22:52:17 +01:00
056391eeca
hpcu: the slightest cleanup 2018-11-01 11:38:17 +01:00
f99615c850
Make README more AsciiDoc-compatible
It seems to almost work, except for callouts without blocks.
2018-10-08 03:54:57 +02:00
d04c140a69
ht: add generated wcwidth tables and algorithm 2018-10-07 18:09:09 +02:00
cd6c9e4d8c
ht: add generated X11 keysym maps
Now we can make sense of keysyms and translate them to text.
2018-10-07 18:09:09 +02:00
bf14fd5e04
Update README
Some reprioritization was in order.  Added some resources for hss.
2018-10-07 18:09:08 +02:00
228c3f3914
hasp: add a libasciidoc preprocessor 2018-10-07 18:09:08 +02:00
7d51aaa9a4
hpcu: add a selection unifier
So far not supporting large selections.
2018-09-30 18:45:29 +02:00
f198f9f6ac
xgb-selection: add a demo to track X11 selections 2018-09-30 18:45:29 +02:00
106e9b82b8
nexgb: update README 2018-09-30 17:34:27 +02:00
139c50b748
nexgb: update to xcb-proto 1.13 2018-09-30 17:34:27 +02:00
e6e4e94436
nexgb: regenerate from xcb-proto 1.12
To refresh documentation.
2018-09-30 17:34:27 +02:00
7051829581
xgbgen: make request function signatures shorter 2018-09-30 17:34:26 +02:00
3e9ed4eac6
xgbgen: process <doc> elements
Most of XCB documentation now ends up in Go sources,
although the end result is of mixed quality.
2018-09-30 17:34:26 +02:00
0056720d05
xgbgen: generate proper sentences with full stops 2018-09-30 17:34:26 +02:00
28a5112532
nexgb: export {Major,Minor}Version for extensions 2018-09-30 17:34:25 +02:00
1a53c005e9
nexgb: gofmt 2018-09-30 17:34:25 +02:00
07bf9881cc
nexgb: relicense xgbgen to 0BSD
Doing what the fuck I want to.

Included BurntSushi as a copyright holder because
under the Berne convention he totally is.
2018-09-30 17:34:25 +02:00
7aa2601e66
nexgb: rewrite import paths 2018-09-21 08:37:59 +02:00
48fb710f35
nexgb: post-merge fixups and cleanups
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.
2018-09-08 19:51:53 +02:00
3173202cc1
Merge aarzilli/xgb, branch xcb1.12 as nexgb
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.
2018-09-08 16:54:17 +02:00
aarzilli
3906399e7c
Regenerated from xcb-proto 1.12 2018-09-08 16:49:27 +02:00
aarzilli
1c01d79ba1
Changed xgbgen to support xcb-proto 1.12
* 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
2018-09-08 16:49:26 +02:00
aarzilli
a102c4056f
Makefile: do not redefine $XPROTO if it's already defined. 2018-09-08 16:49:26 +02:00
Rabin Vincent
1f83ea75a2
Remove stray format char in randr example 2018-09-08 16:49:26 +02:00
Andrew Gallant
1614b58c42
fix structs with field name of 'Bytes'
(it conflict with a method of the same name that is generated for
all such structs)
2018-09-08 16:49:25 +02:00
aarzilli
8d343cfd3a
Handle wildcard values in Xauthority file
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
2018-09-08 16:49:25 +02:00
aarzilli
becaf43dcb
Read/Write mutex for Extensions map 2018-09-08 16:49:24 +02:00
aarzilli
baff8c1906
sendRequest reads req.buf after closing req.seq
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.
2018-09-08 16:49:24 +02:00
Andrew Gallant
5451e59f88
Remove panics/fatal errors.
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.
2018-09-08 16:49:24 +02:00
Bryan Matsuo
dd00568d44
assign a sequence id to the cookie before returning from Conn.NewRequest 2018-09-08 16:49:23 +02:00
fangyuanziti
a1d1151017
add a new api: NewConnNet 2018-09-08 16:49:23 +02:00
Andrew Gallant
ef8155bf17
Formatting and 80 cols. 2018-09-08 16:49:23 +02:00
aarzilli
a548d9d0f7
Fix Issue #21: automatic calculation of alignment padding after lists 2018-09-08 16:49:22 +02:00
snyh
1f8bd79abe
examples:randr use info.Connection to detect whether there has any Randr.Modes 2018-09-08 16:49:22 +02:00
snyh
64c6e6170d
example/randr: check the GetOutputInfo's mode length (virtual head can have zero mode) 2018-09-08 16:49:22 +02:00
Andrew Gallant
76f9adb599
Use consistent extension names. Close #6. 2018-09-08 16:49:21 +02:00