Greg Holmes
ab3508cbeb
Reverse the modes comparator, because Dataforce.
9 vuotta sitten
Greg Holmes
7c22167ea1
Add a method to get an important mode comparator.
9 vuotta sitten
Greg Holmes
5772ce8c41
Merge pull request #51 from csmith/master
Remove getMap from parser interface.
9 vuotta sitten
Chris Smith
73336fe0d0
Merge remote-tracking branch 'origin/master'
9 vuotta sitten
Chris Smith
676b9f78bb
Remove getMap from parser interface.
Doesn't really make any sense at all, and isn't used anywhere to
my knowledge.
9 vuotta sitten
Greg Holmes
4bc39d2b2b
Merge pull request #50 from csmith/master
Add Process464 test.
9 vuotta sitten
Chris Smith
9bcef42a84
Add Process464 test.
9 vuotta sitten
Greg Holmes
fc6fa17b71
Merge pull request #49 from csmith/master
Make IRCProcessor implement handles().
9 vuotta sitten
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 vuotta sitten
Greg Holmes
8a1b24ccd0
Merge pull request #48 from csmith/master
Add tests for process001
9 vuotta sitten
Chris Smith
b86fd69c11
Add tests for process001
9 vuotta sitten
Greg Holmes
779f6fd7ed
Merge pull request #47 from csmith/master
Tidy up callbacks some more.
9 vuotta sitten
Chris Smith
9278f5e2f7
Fix remaining null passing.
9 vuotta sitten
Chris Smith
78de406e6f
Tidy up tests.
9 vuotta sitten
Chris Smith
6b1aa652b5
Fix specific callbacks.
9 vuotta sitten
Chris Smith
30c0a5d775
Fix remaining null passing.
9 vuotta sitten
Chris Smith
e533d21d3c
Remove return value from call()
9 vuotta sitten
Chris Smith
4b734e0585
Pass all arguments into callbacks.
We now pass parser/date in properly, no need to drop these and
re-add them.
9 vuotta sitten
Chris Smith
3f6318d3d2
Quit passing null into callbacks.
9 vuotta sitten
Greg Holmes
e853112a9c
Merge pull request #46 from csmith/master
Don't expose the CallbackManager to processors.
9 vuotta sitten
Chris Smith
b01c257343
Don't expose the CallbackManager to processors.
Just add a utility method to get the callback proxy instead.
Think this is a bit nicer, and is one less thing to have to change
if we switch to events.
9 vuotta sitten
Greg Holmes
27abe9fb71
Merge pull request #45 from csmith/master
Remove unused methods.
9 vuotta sitten
Chris Smith
194aabdf92
Remove unused methods.
Remove "non-critical" callbacks - if callers want to ignore the
exception they can just try/catch it.
Make addCallbackType private, and remove the unused delCallbackType
method.
9 vuotta sitten
Chris Smith
abb4239aff
Merge pull request #44 from greboid/master
Add some missing parameters to parser events.
9 vuotta sitten
Greg Holmes
27ab6a6f5f
Add some missing parameters to parser events.
9 vuotta sitten
Greg Holmes
040cc223cc
Merge pull request #43 from csmith/master
Tidy up CallbackManager very slightly.
9 vuotta sitten
Chris Smith
481a0161cd
Tidy up CallbackManager very slightly.
9 vuotta sitten
Chris Smith
51af6d0671
Merge pull request #42 from greboid/master
Add events for each CallbackInterface.
9 vuotta sitten
Greg Holmes
1b5e00eabf
Add events for each CallbackInterface.
9 vuotta sitten
Greg Holmes
bc898a63a9
Merge pull request #41 from csmith/master
Remove all usages of getCallbackType.
9 vuotta sitten
Chris Smith
d25b195470
Remove all usages of getCallbackType.
All callbacks are now done through getCallback, which offers
type safety (gasp!) and is potentially extensible in the future
(wow!).
This means that nothing can depend on callbacks existing, so
there are two functional changes:
- the parser will no longer disconnect automatically on failed
pings; users have to listen for the event and handle it
themselves;
- the parser will no longer attempt to automatically use alt
nicknames or create new nicknames on connection; users have to
listen for the event and implement the logic themselves
Both of these were really weird anyway, as adding a listener (even
for debugging purposes) disabled the built-in behaviour.
9 vuotta sitten
Greg Holmes
04a27ec37b
Merge pull request #40 from csmith/master
Specify proper dependency versions.
9 vuotta sitten
Chris Smith
a6992a66e6
Specify proper dependency versions.
9 vuotta sitten
Greg Holmes
133b347710
Merge pull request #39 from csmith/master
Use forEach where possible.
9 vuotta sitten
Chris Smith
6c38b5789d
Use forEach where possible.
9 vuotta sitten
Greg Holmes
c98b1aa0c5
Merge pull request #38 from csmith/master
Very minor tidying.
9 vuotta sitten
Chris Smith
ee05d03d36
Very minor tidying.
9 vuotta sitten
Greg Holmes
cda1bfa0f7
Merge pull request #37 from csmith/master
Lambda.
9 vuotta sitten
Chris Smith
0a61745ae3
Lambda.
9 vuotta sitten
Chris Smith
10bed7f210
Merge pull request #36 from greboid/master
Update build scripts for artifactory.
9 vuotta sitten
Greg Holmes
27812cedb5
Update build scripts for artifactory.
9 vuotta sitten
Greg Holmes
81b0b905f2
Merge pull request #35 from csmith/master
Gradle version bump.
9 vuotta sitten
Chris Smith
3691ff243d
Gradle version bump.
9 vuotta sitten
Greg Holmes
51f8d6739b
Merge pull request #34 from csmith/master
Tidy up gradle source sets.
9 vuotta sitten
Chris Smith
3c50caaa76
Tidy up gradle source sets.
This replaces the default source directories (src/main/java, etc)
with our own, instead of just appending ours to the list.
9 vuotta sitten
Chris Smith
db31d09451
Merge pull request #33 from greboid/java8
Add java 8, run away from Dataforce
9 vuotta sitten
Greg Holmes
4436e1e212
Switch to 8 in gradle.
9 vuotta sitten
Greg Holmes
5687170ab4
Add java 8, run away from Dataforce
9 vuotta sitten
Greg Holmes
372b38f1fe
Merge pull request #32 from csmith/master
Tell gradle to use 1.8.
9 vuotta sitten
Chris Smith
b6acc1d647
Tell gradle to use 1.8.
9 vuotta sitten