Shane Mc Cormack
92c73501f3
Don't add '0' to pendingJoins
8 år sedan
Chris Smith
f0dc1ed505
Minor inconsequential parser tidying.
8 år sedan
Shane Mc Cormack
108c5429d2
Add isNuemric for handler conditions.
8 år sedan
Shane Mc Cormack
ef20a80eb7
Add numeric stuff to IRCDataInEvent
8 år sedan
Shane Mc Cormack
03fce829e2
Don't re-expose this in this PR, will do it some other time when actually needed.
8 år sedan
Shane Mc Cormack
769dce90be
Make inner class static.
8 år sedan
Shane Mc Cormack
4e58a9c854
Send QUIT on disconnect. (Close #7)
8 år sedan
Shane Mc Cormack
822bf59490
Add IRCDataInEvent that presents an IRCReader.ReadLine object rather than just the line of data.
This gives us access to MessageTags (#19 ) and pre-tokenised lines in DataIn rather than everything neededing to tokenise themselves.
There are probably a few other events we want to expose messagetags on that we still don't.
8 år sedan
Shane Mc Cormack
6e105baeb0
No point using 2 separate queue's...
8 år sedan
Shane Mc Cormack
d0e6b71044
Synchronously is the default
8 år sedan
Shane Mc Cormack
4529e75970
Minor javadoc change.
8 år sedan
Shane Mc Cormack
04c1d90ac4
Move pendingJoins and pendingJoinKeys into processJoin instead of IRCParser.
Issue #108
8 år sedan
Shane Mc Cormack
b1af722472
IDEA ftl.
8 år sedan
Shane Mc Cormack
d9cc3b6939
Fire an event when the channel password changes. (Issue #108)
8 år sedan
Shane Mc Cormack
a2af0c5851
Try to keep track of channel keys (Close Issue #108)
- Parses outgoing JOINs to try and guess keys before we get the MODE reply.
- Parsing algorithm based on Quakenet/Hybrid handling of keys.
- Keys are swallowed from the key-list for EVERY channel that is
to join, even if it is not needed, so you would need to use
"JOIN #Foo,#Bar,#Baz Foo,,Baz" to join keyed channels #Foo and #Baz.
- Key changes by mode +k and -k will be tracked.
- Ignores attempts to set the key as "*" if we know a "better" key.
- Side effect: If the key is actually set to "*" we can only learn it if that
is what we join with, or it gets changed to that from no-key.
8 år sedan
Shane Mc Cormack
74c77ef264
Some additional WHOIS bits that were missed.
8 år sedan
Chris Smith
bf2a73712a
Fix units for ofEpochSecond call.
8 år sedan
Chris Smith
6306f1d00b
Migrate parser events to use new date APIs.
Java 8 introduces a sane API for dates; to store datettimes
we should now be using LocalDateTime.
8 år sedan
Chris Smith
a050ea93fe
Set ADDRESS and REAL_NAME property after whois.
Having two separate events means the ordering isn't guaranteed.
Handle everything for 311 numerics in one handler.
8 år sedan
Shane Mc Cormack
4f8a72a145
Alternative method.
8 år sedan
Shane Mc Cormack
a23c571fdb
Don't allow resetting state whilst socketClose events are still occuring.
8 år sedan
Chris Smith
c0f6cf18e8
Always provide a 'kicker' client.
When we moved to events, we stopped passing null in place of clients.
Instead, fake clients should be used. Apparently ProcessKick wasn't
properly updated.
Fixes issue #100
8 år sedan
Shane Mc Cormack
f0e64e8e98
Modes should default to "" not null
8 år sedan
Chris Smith
58a69d94b4
Make method names in ProcessorsModule unique.
Issue DMDirc/DMDirc#601
9 år sedan
Chris Smith
b1426239fe
Make the Simple*Handlers actually do stuff.
9 år sedan
Chris Smith
ee14e37f3f
Don't double format debug info.
9 år sedan
Greg Holmes
4fe86cade6
Narrow scopes for some variables.
9 år sedan
Greg Holmes
3a507ab47b
Create TrustingTrustManager instead of AIC
9 år sedan
Chris Smith
17d9a893cb
Ensure client modes are non-null.
Fixes #82 .
9 år sedan
Chris Smith
1803e32b21
Use nifty separate handlers.
9 år sedan
Chris Smith
560fcd9178
Add support for away messages in whois replies.
9 år sedan
Chris Smith
435e79577a
Add a whois reponse handler.
Just does ircu stuff for now.
9 år sedan
Chris Smith
528d7ddd31
Use fake clients in a couple of places.
9 år sedan
Chris Smith
f6ff601095
Add missing files.
9 år sedan
Chris Smith
0b786eef84
Start using dagger.
9 år sedan
Chris Smith
db20dd3434
Remove unused circular dep, tidy tests.
Remove all tests that depend on TestParser - they're rubbish and
need to be completely rewritten to be proper unit tests.
9 år sedan
Chris Smith
861b7f4e33
Delete callback interfaces.
9 år sedan
Greg Holmes
4afd386556
Remove install methods.
9 år sedan
Chris Smith
4301740680
Publish events.
9 år sedan
Chris Smith
2905b728ef
Remove unused logging thing.
9 år sedan
Greg Holmes
e5f918c5b0
Add a sendWhois command to the parser.
9 år sedan
Greg Holmes
d3c1f74028
Expose getChannelClients in ClientInfo
9 år sedan
Greg Holmes
ae832d15d0
Add static methods to install
9 år sedan
Greg Holmes
e69f72c4c8
Add standalone handlers for NickInUse and PingFailure.
9 år sedan
Shane Mc Cormack
177bbb5f9a
2015!
9 år sedan
Greg Holmes
ab3508cbeb
Reverse the modes comparator, because Dataforce.
9 år sedan
Greg Holmes
7c22167ea1
Add a method to get an important mode comparator.
9 år sedan
Chris Smith
1a6a31d9ea
Make IRCProcessor implement handles().
Seems a bit odd for each implementation to define a method that
*always* returns a static String[] when we can just pass that
up to the base class.
9 år sedan
Chris Smith
9278f5e2f7
Fix remaining null passing.
9 år sedan
Chris Smith
30c0a5d775
Fix remaining null passing.
9 år sedan