Commit Graph

216 Commits

Author SHA1 Message Date
Přemysl Eric Janouch 442fa5d660
Bump libasciidoc 2022-03-20 23:28:45 +01:00
Přemysl Eric Janouch 8b376694d3
hid: make note of a deprecation 2022-03-16 12:57:00 +01:00
Přemysl Eric Janouch 22e3861851
hswg: use a buffered channel for signals
Found by go vet.
2022-03-16 12:33:25 +01:00
Přemysl Eric Janouch 9603456cd6
hid: add WebIRC support
Such clients can only be identified through STATS L.

It's a bit weird to abuse the "port" field this way,
but right now, it serves its purpose.
2022-03-15 19:57:31 +01:00
Přemysl Eric Janouch b832a38ca6
hswg: parallelize rendering 2022-03-03 12:57:38 +01:00
Přemysl Eric Janouch 6353dd156a
hswg: log the error message on 📅 parse fail 2022-02-28 10:44:32 +01:00
Přemysl Eric Janouch 7a2ea02c8d
hswg: make AttrList return nil for missing attrs
And update copyright years.
2022-02-28 05:05:52 +01:00
Přemysl Eric Janouch bafd5ef221
hid: implement WALLOPS 2022-02-05 00:31:34 +01:00
Přemysl Eric Janouch ca245e4aca
xgb-image: fix visual searching 2021-11-15 12:12:23 +01:00
Přemysl Eric Janouch c3905349b0
hswg: don't eat libasciidoc rendering errors
An unfortunate consequence of the := operator's behaviour.

Also, update copyright years.
2021-09-23 20:58:59 +02:00
Přemysl Eric Janouch f9e1f9a244
Bump Go modules to 1.17 2021-08-19 05:35:01 +02:00
Přemysl Eric Janouch 4aab0b22ae
hid: reflect the original project's new name
Better keep all schizophreny in my own head, rather than all projects.
2021-08-06 17:31:32 +02:00
Přemysl Eric Janouch 5ab2977548
xgb-image: seek 32-bit visuals along with 30-bit
We only tried to upgrade to 32-bit depth when we weren't looking
for 30-bit visuals.  Probably of no practical consequence.
2021-08-01 03:36:23 +02:00
Přemysl Eric Janouch a927713a81
xgb-image: support 10-bit colours
Apparently, a DefaultDepth 30 Xserver won't do translucency.
2021-07-15 01:49:37 +02:00
Přemysl Eric Janouch 5ae8c24b8d
xgb-image: gofmt 2021-07-15 01:49:34 +02:00
Přemysl Eric Janouch ef24d7980c
hswg: improve inotify processing
Make sure to read the whole record before checking flags.
2021-07-06 01:15:44 +02:00
Přemysl Eric Janouch 6228693b22
Update .gitignore 2021-06-30 06:24:59 +02:00
Přemysl Eric Janouch be27f00685
hswg: add .Attr, .AttrList, contains
Trying to figure out a sensible way of handle tags.
2021-06-29 04:14:47 +02:00
Přemysl Eric Janouch 61083027a3
hswg: split out asciidoc.go 2021-06-29 04:14:47 +02:00
Přemysl Eric Janouch 5b432fcc0b
hswg: add a minimal README.adoc
Moving the example script from somewhere else.
2021-06-27 00:01:22 +02:00
Přemysl Eric Janouch 04e19f5186
hswg: use inotify to watch for changed documents
Now we force the glob to be *.adoc, as well as *.asciidoc,
and there can only be one document directory.

The previous single-run mode is no longer supported.
2021-06-22 23:25:02 +02:00
Přemysl Eric Janouch 49a685c32e
hswg: take output path for the index as argument 2021-06-22 23:25:02 +02:00
Přemysl Eric Janouch d763ce619d
hswg: separate rendering from link expansion 2021-06-22 23:25:02 +02:00
Přemysl Eric Janouch 8276f6bcb9
hswg: an initial attempt at refactoring main() 2021-06-22 23:25:02 +02:00
Přemysl Eric Janouch dd5c583e8b
hswg: store backlinks in a map 2021-06-22 23:25:01 +02:00
Přemysl Eric Janouch 63d18d068d
hswg: actually use templates for output files 2021-06-22 01:01:43 +02:00
Přemysl Eric Janouch d47a8d2237
Bump libasciidoc dependency 2021-06-02 22:56:49 +02:00
Přemysl Eric Janouch a979edf5b7
Bump libasciidoc dependency
Now at a usable release version again.
2020-10-04 15:31:24 +02:00
Přemysl Eric Janouch 9db34a955b
Bump libasciidoc dependency 2020-09-30 03:00:00 +02:00
Přemysl Eric Janouch 35974efe21
hswg: try to order entries by date, reverse order 2020-09-21 22:44:12 +02:00
Přemysl Eric Janouch 8f542c7120
hswg: execute a template given on standard input
So that information can be extracted from documents easily.
2020-09-21 19:26:55 +02:00
Přemysl Eric Janouch ea8c59961c
hswg: don't link to drafts 2020-09-21 19:26:54 +02:00
Přemysl Eric Janouch 750f2139f5
hswg: extract attributes from documents 2020-09-21 19:26:54 +02:00
Přemysl Eric Janouch 3d002bc540
Bump libasciidoc dependency 2020-09-21 19:26:54 +02:00
Přemysl Eric Janouch 084a0a94b0
hswg: avoid self-referential links 2020-08-18 06:35:32 +02:00
Přemysl Eric Janouch 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
Přemysl Eric Janouch f7f892fb59
hswg: deduplicate backlinks 2020-08-15 07:20:04 +02:00
Přemysl Eric Janouch d0ce3e3e66
Update README.adoc 2020-08-15 06:10:05 +02:00
Přemysl Eric Janouch 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
Přemysl Eric Janouch a049249d81
hswg: add a static website generator 2020-08-15 04:26:50 +02:00
Přemysl Eric Janouch d4eb9cde39
Update README.adoc 2020-08-12 01:52:09 +02:00
Přemysl Eric Janouch 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
Přemysl Eric Janouch 13275f1dd3
Update .gitignore 2020-08-06 19:04:11 +02:00
Přemysl Eric Janouch 030a23c1a2
hasp: bump libasciidoc and other dependencies 2020-08-01 14:02:03 +02:00
Přemysl Eric Janouch 0d37e5bc8a
Name change 2020-08-01 14:01:58 +02:00
Přemysl Eric Janouch eae39b13c2
hid: mention Go 1.12 alternative to TLS autodetection 2019-02-27 02:36:04 +01:00
Přemysl Eric Janouch 95f183aa48
hpcu: eliminate infinite looping 2019-02-04 09:27:10 +01:00
Přemysl Eric Janouch e7ea35f304
Use Go modules 2018-12-01 22:52:17 +01:00
Přemysl Eric Janouch 056391eeca
hpcu: the slightest cleanup 2018-11-01 11:38:17 +01:00
Přemysl Eric Janouch f99615c850
Make README more AsciiDoc-compatible
It seems to almost work, except for callouts without blocks.
2018-10-08 03:54:57 +02:00