Commit Graph

50 Commits

Author SHA1 Message Date
Přemysl Eric Janouch 9e070e9648
xgb-monitors: add an experimental dumper 2018-09-02 18:25:36 +02:00
Přemysl Eric Janouch 0c2853a8ae
xgb-render: update comments 2018-09-02 18:25:36 +02:00
Přemysl Eric Janouch 41e04fdc9f
xgb-render: go back to RGBA because of alignment
Size 9 just happened to have the buffer 16 bytes wide.
2018-09-02 18:25:36 +02:00
Přemysl Eric Janouch 23586eae01
xgb-render: give up on composite alpha 2018-09-02 18:25:35 +02:00
Přemysl Eric Janouch 9424579c75
xgb-render: cleanup, tolerable glyph placement 2018-09-02 18:25:35 +02:00
Přemysl Eric Janouch 32beda3c90
xgb-render: slightly simplify 2018-09-02 18:25:35 +02:00
Přemysl Eric Janouch 30f2366f9a
xgb-render: preliminary text rendering
I have finally got it working at all, now let's fix bounds etc.
2018-09-02 18:25:34 +02:00
Přemysl Eric Janouch 215e3e8630
xgb-render: add some comments
Some containing code to list out potentially interesting information
from the X server.
2018-09-02 18:25:34 +02:00
Přemysl Eric Janouch 44b01ccb17
xgb-window: add comparison with correct blending 2018-09-02 18:25:28 +02:00
Přemysl Eric Janouch 0f7fcca7ce
xgb-xrender: add a basic demo for XRender
So far just a conversion of xgb-window.go.
2018-09-02 18:24:14 +02:00
Přemysl Eric Janouch 1fdf14f351
xgb-window: add a basic xgb demo
Demonstrating RGBA visuals and direct pixel values.
2018-09-02 18:24:14 +02:00
Přemysl Eric Janouch 0ef66c7282
Update README 2018-09-02 18:24:14 +02:00
Přemysl Eric Janouch 68d7e34b03
hnc: cleanup 2018-08-06 21:58:32 +02:00
Přemysl Eric Janouch cc08b5457c
tls-autodetect: updates, now that hid is ported
- fix SSL 2.0 detection
 - give up on using the resolved hostname later
 - rename connCloseWrite to connCloseWriter
2018-08-06 21:41:49 +02:00
Přemysl Eric Janouch f8bcfe447c
hid: clean up/finalize logging 2018-08-06 20:47:33 +02:00
Přemysl Eric Janouch fb648c37be
hid: move off of the log package
We don't spam with useless messages without -debug any longer.
2018-08-06 19:52:39 +02:00
Přemysl Eric Janouch bb0113021a
hid: port logging facilities
Though the regular mode now has timestamps and a new mode for systemd
has been added.
2018-08-06 19:49:06 +02:00
Přemysl Eric Janouch 5a40d7c2ed
hid: cleanups
No functional changes.
2018-08-06 12:31:31 +02:00
Přemysl Eric Janouch f32e2f1483
hid: port IRC tests from liberty, fix tag parsing 2018-08-06 12:09:18 +02:00
Přemysl Eric Janouch 62418ebb54
hid: rename connCloseWrite to connCloseWriter 2018-08-06 12:06:42 +02:00
Přemysl Eric Janouch 6b45865e3d
hid: add the first tests
This has actually revealed a problem in the SSL 2.0 detection.
2018-08-06 12:06:20 +02:00
Přemysl Eric Janouch 198cb87036
README: fix typos, add some references 2018-08-06 11:10:35 +02:00
Přemysl Eric Janouch 23f637dd47
hid: fix SSL 2.0 autodetection 2018-08-04 21:13:28 +02:00
Přemysl Eric Janouch 4cd460886e
hid: add support for customized replies 2018-08-03 21:45:53 +02:00
Přemysl Eric Janouch 4d8376fd3c
hid: unify exit codes with the flag package 2018-08-03 21:45:53 +02:00
Přemysl Eric Janouch 01c3933a07
hid: cleanups 2018-08-03 21:45:52 +02:00
Přemysl Eric Janouch 4fa84cc877
Add a README 2018-08-03 19:21:43 +02:00
Přemysl Eric Janouch 4fc4426587
hnc: add a custom netcat-alike 2018-08-03 19:07:12 +02:00
Přemysl Eric Janouch 9b6c4e7028
hid: fix listener shutdown 2018-08-03 10:55:22 +02:00
Přemysl Eric Janouch 2e427c2cea
hid: fix nickname verification in the user MODE message 2018-08-02 18:42:32 +02:00
Přemysl Eric Janouch a4239548d3
hid: port default formatting strings to fmt 2018-08-02 12:51:22 +02:00
Přemysl Eric Janouch a966d8489a
hid: ircSendToRoommates -> ircNotifyRoommates
Should be clearer.
2018-08-01 20:39:37 +02:00
Přemysl Eric Janouch e0b46a8cff
hid: figured out how to port timeouts 2018-08-01 20:39:37 +02:00
Přemysl Eric Janouch a6e6c3aaff
hid: another round of general code cleanups 2018-08-01 17:45:56 +02:00
Přemysl Eric Janouch 33969ac86e
hid: bringup of what we have this far 2018-07-31 23:11:54 +02:00
Přemysl Eric Janouch b103d5e2eb
hid: port configuration and initialization
All the basic elements should be there now, we just need to port PING
timers and fix some remaining issues and we're basically done.
2018-07-31 20:53:23 +02:00
Přemysl Eric Janouch c75299e1c3
hid: port IRC 3.2 message tag parsing, unused 2018-07-30 17:50:27 +02:00
Přemysl Eric Janouch 24f1c4413a
hid: use time.Time and time.Duration
It improves the code significantly over explicit int64 conversions.

Despite carrying unnecessary timezone information, time.Time also
carries a monotonic reading of time, which allows for more precise
measurement of time differences.
2018-07-30 10:07:02 +02:00
Přemysl Eric Janouch 40370702d4
hid: port MODE, STATS, LINKS, KILL
Now all the commands have been ported but we desperately need to parse
a configuration file for additional settings yet.
2018-07-30 09:46:59 +02:00
Přemysl Eric Janouch 5429c0b09d
hid: port PART, KICK, INVITE, JOIN, AWAY, ISON, ADMIN, DIE 2018-07-29 17:49:57 +02:00
Přemysl Eric Janouch b28c20a250
hid: port PRIVMSG, NOTICE, NAMES, WHO, WHOIS/WAS, TOPIC, SUMMON, USERS 2018-07-29 15:57:39 +02:00
Přemysl Eric Janouch 2dfb4e45d1
hid: first round of mixed fixes and cleanups 2018-07-29 08:14:07 +02:00
Přemysl Eric Janouch f5def2e579
hid: add a work in progress IRC daemon
The port is more than viable but it's also sort of all-or-nothing
and versioning needs have come before I've had a chance to finish it.
2018-07-28 16:21:34 +02:00
Přemysl Eric Janouch b2cd8b46c9
tls-autodetect: mark issues, fix initialization 2018-07-24 13:58:57 +02:00
Přemysl Eric Janouch e8602ee718
tls-autodetect: avoid a goroutine leak on timeout 2018-07-23 05:33:50 +02:00
Přemysl Eric Janouch a8f02e0d37
tls-autodetect: finish inQ overrun handling 2018-07-22 14:55:15 +02:00
Přemysl Eric Janouch 525734eeb3
tls-autodetect: fix client-initiated shutdown 2018-07-22 13:46:28 +02:00
Přemysl Eric Janouch 6caa4ab928
Rename client.kill to client.closeLink 2018-07-21 00:27:26 +02:00
Přemysl Eric Janouch 728fa4e548
tls-autodetect: put most of the server code in place
So far we act up when it is the client who initializes the shutdown.
2018-07-15 12:51:06 +02:00
Přemysl Eric Janouch b5b64db075
Initial commit
Add a work-in-progress demo chat server with TLS autodetection.

It needs to be perfected before I move on to writing an IRCd on
the foundations.  If history is of any indication, this might lead
towards a nice set of applications.
2018-07-15 05:58:59 +02:00