Chris Smith
562dfbd952
Minor code tidying in ScramMechanism
5 gadus atpakaļ
Chris Smith
85d453c2a9
DSL for ping timeout settings
5 gadus atpakaļ
Chris Smith
cd293318a5
Fix occasional buffer overflow on TLS connections
Closes #16
5 gadus atpakaļ
Chris Smith
496b3394ac
Expose the local user object directly
5 gadus atpakaļ
Chris Smith
136329c27d
Create a separate coroutine context per test
5 gadus atpakaļ
Chris Smith
8f27a42b4e
Add timeout to TLS tests
5 gadus atpakaļ
Chris Smith
dade80ced7
Handle away numerics
Closes #15
5 gadus atpakaļ
Chris Smith
57d0747a5a
Track user away state
5 gadus atpakaļ
Chris Smith
4e5aa5b827
Support IRCv3 away notifications
Issue #15
5 gadus atpakaļ
Chris Smith
445d987345
Couple more TLS tests
5 gadus atpakaļ
Chris Smith
28c9400250
Add some TLS tests, fix a leaky buffer
5 gadus atpakaļ
Chris Smith
622e2e2539
Tidy up and reduce copying of byte buffers
5 gadus atpakaļ
Chris Smith
8572ccd4eb
Fix unit tests
5 gadus atpakaļ
Chris Smith
9cd759d547
Fix various disconnection issues, 1.0.1.
5 gadus atpakaļ
Chris Smith
51b19e41b5
Rework TLS buffers to avoid overflowing.
If we're keeping some bytes in the line buffer waiting for a
CR/LF, the SSLEngine may not have enough room to put a packet's
worth of data in.
Instead of managing a single buffer, keep a channel of them
and emit a complete buffer each read call.
5 gadus atpakaļ
Chris Smith
f1ecbf256f
Prefer IPv6, default to TLS
5 gadus atpakaļ
Chris Smith
23f2da697b
Add missing test certificates
5 gadus atpakaļ
Chris Smith
96449f98a1
Replace ktor with plain socket code.
Closes #14
5 gadus atpakaļ
Chris Smith
2e8b1cf7b0
Add NicknameChangeRequired event
5 gadus atpakaļ
Chris Smith
fa98c18345
Add user parameter to mode changed event
5 gadus atpakaļ
Chris Smith
bb009434be
Add ChannelMembershipAdjustment interface
5 gadus atpakaļ
Chris Smith
fe284ce3e0
Add join failed event
5 gadus atpakaļ
Chris Smith
205b934766
Implement first async message builder
5 gadus atpakaļ
Chris Smith
3289bb8e99
More work on async methods
5 gadus atpakaļ
Chris Smith
25e129ebb1
Add test for label generator
5 gadus atpakaļ
Chris Smith
07f85e364d
Minor code style improvements
5 gadus atpakaļ
Chris Smith
a6e11562e6
Flesh out docs a little
5 gadus atpakaļ
Chris Smith
6c10e031db
Add SourcedEvent interface
5 gadus atpakaļ
Chris Smith
1b135480c9
Make various processors more defensive
5 gadus atpakaļ
Chris Smith
23317f6cec
Handle bad server timestamps
5 gadus atpakaļ
Chris Smith
bbcafc4262
Fix unit test
5 gadus atpakaļ
Chris Smith
0631aed46e
Fix issue with multibyte chars in CTCPs
Mixing substrings and byte array offsets is bad...
5 gadus atpakaļ
Chris Smith
5f5aea0652
Synchronise maps properly.
SynchronizedSet() requires manual synchronisation when iterating
over it. When returning an iterator make a copy of the set first
to avoid issues with users iterating.
5 gadus atpakaļ
Chris Smith
eacdf03763
Fix handling of long lines.
If we multiple long lines in succession the start index got
miscalculated and part of the latter lines discarded.
5 gadus atpakaļ
Chris Smith
7666e3ff4f
Hide WIP async methods in experimental interface
5 gadus atpakaļ
Chris Smith
7698f1465b
Fix CME in Maps
5 gadus atpakaļ
Chris Smith
fb92bd5737
Add sendPart
5 gadus atpakaļ
Chris Smith
4881cb05f5
Support for nick change errors
5 gadus atpakaļ
Chris Smith
070d502463
Initial work on exposing async methods
Move message processors into their own package
Update ktor
5 gadus atpakaļ
Chris Smith
4c1be015cd
Migrate all tests to mockk
5 gadus atpakaļ
Chris Smith
a1aad4dbc7
Convert event tests to use mockk
5 gadus atpakaļ
Chris Smith
814e45aa27
Add TargetedEvent class, fix caps negotiation
After allowing multiple names we started ACKing only the preferred
name, even if the server hadn't advertised it.
5 gadus atpakaļ
Chris Smith
be2ed37acf
Add always echo messages behaviour
5 gadus atpakaļ
Chris Smith
e91342edc9
Add structured send methods
5 gadus atpakaļ
Chris Smith
54f35009c3
Accept unprefixed message-tags
Closes #13
5 gadus atpakaļ
Chris Smith
c3908e1a60
Initial pass at labelled-replies support
5 gadus atpakaļ
Chris Smith
d7617d2caa
Don't expose batch start and end
5 gadus atpakaļ
Chris Smith
b9a36acc64
Use processors as a map, don't iterate them every line.
5 gadus atpakaļ
Chris Smith
e4b9ec0be3
Add support for CHGHOST
5 gadus atpakaļ
Chris Smith
e707bbdff3
Move messageId to metadata
5 gadus atpakaļ