Shane Mc Cormack
e5d7024031
Ignore .nb-gradle folder
il y a 7 ans
Shane Mc Cormack
69e7251355
Actually tell the server we understand server-time...
il y a 7 ans
Shane Mc Cormack
7a0c767c12
Update copyright for 2017
il y a 7 ans
Shane Mc Cormack
72cea2c46c
Remove unneeded nbproject folder
il y a 7 ans
Greg Holmes
4745b0b3a5
Merge pull request #144 from codacy-badger/codacy-badge
Add a Codacy badge to README.md
il y a 7 ans
The Codacy Badger
f2df9fad6a
Add Codacy badge
il y a 7 ans
Shane Mc Cormack
e3b6080f46
Merge pull request #143 from csmith/master
Set the output stream on new output queues.
il y a 7 ans
Chris Smith
99483f18f7
Allow setting output queue before connecting.
Before we connect, the socket will be null. When we then connect
the right output stream will be passed in.
il y a 7 ans
Chris Smith
a6d2e87b57
Merge remote-tracking branch 'origin/master'
il y a 7 ans
Chris Smith
d4ae9489f2
Set the output stream on new output queues.
il y a 7 ans
Greg Holmes
62af768c05
Merge pull request #142 from ShaneMcC/master
Check that pendingjoins actually has a pending join before raising error, and clear if out of sync.
il y a 7 ans
Shane Mc Cormack
2e7571d3df
Check that pendingjoins actually has a pending join before raising error, and clear if out of sync.
il y a 7 ans
Greg Holmes
e8f69ca57d
Merge pull request #141 from csmith/master
Minor style fixes.
il y a 7 ans
Chris Smith
fdd13d0f49
Minor style fixes.
il y a 7 ans
Greg Holmes
8c21b83aee
Merge pull request #140 from csmith/test-deps
Fix test deprecations
il y a 7 ans
Chris Smith
6a6e98aef5
Fix test deprecations
il y a 7 ans
Greg Holmes
2be196da00
Merge pull request #139 from csmith/master
Update dependencies.
il y a 7 ans
Chris Smith
4a0e5d3999
Fix tests after mockito upgrade.
Minor API change for getting arguments, and anyString() no longer
matches null.
il y a 7 ans
Chris Smith
fe8ff6fb56
Update dependencies.
il y a 7 ans
Greg Holmes
93eeb18471
Merge pull request #138 from csmith/master
Update gradle to 3.1.
il y a 7 ans
Chris Smith
c305994178
Update gradle to 3.1.
il y a 7 ans
Chris Smith
4c7505b9cc
Merge pull request #137 from csmith/master
Add config for pushing snapshots from circle.
il y a 7 ans
Chris Smith
a3832645e6
Add config for pushing snapshots from circle.
Circle is configured with a user/pass in secure env vars
(not exposed to builds from forks).
In theory this allows it to push master builds to artifactory's
snapshot repository.
il y a 7 ans
Shane Mc Cormack
cf2ad05563
Merge pull request #136 from csmith/master
Remove default port from ProtocolDescription.
il y a 7 ans
Chris Smith
966fcf5359
Remove default port from ProtocolDescription.
If the user doesn't specify a port, the parser should decide what
to do itself. A single default port isn't useful to users of the
parser.
il y a 7 ans
Greg Holmes
c29e9b98bb
Merge pull request #135 from csmith/timestamps
Fix tsirc timezone handling.
il y a 8 ans
Chris Smith
b6ff00043f
Fix tsirc timezone handling.
I incorrectly specified the timezone as UTC, when it needs to be
given the local timezone (so it can convert the always-in-UTC
epoch time into the correct local time).
il y a 8 ans
Greg Holmes
2ad14257b7
Merge pull request #134 from csmith/master
Add some super basic OutputQueue tests.
il y a 8 ans
Chris Smith
d00ce697b5
Add some super basic OutputQueue tests.
il y a 8 ans
Greg Holmes
4b4a7c6654
Merge pull request #133 from csmith/master
Unignore Process001Test.
il y a 8 ans
Chris Smith
bc99e94ada
Unignore Process001Test.
This stops the tests failing on Windows...
il y a 8 ans
Greg Holmes
9c36c3c6a6
Merge pull request #132 from csmith/master
Restructure to standard maven/gradle layout.
il y a 8 ans
Chris Smith
5ed8865670
Restructure to standard maven/gradle layout.
Stop swimming against the tide and accept what most of the rest of
the world does.
While it adds an annoying depth to the actual source code, it makes
the root directory nicer (no more 'test-res' dirs), means we don't
have to override the gradle config, and makes it nicer to work in
IDEA 2016.1.
il y a 8 ans
Greg Holmes
3b9f9519ee
Merge pull request #131 from csmith/master
Change parser group to com.dmdirc.
il y a 8 ans
Chris Smith
fd9e77bd7e
Change parser group to com.dmdirc.
Parser modules are now com.dmdirc:parser-{foo}.
Closes #23
il y a 8 ans
Greg Holmes
05dbd4ea49
Merge pull request #130 from csmith/master
Make QueueItem an autovalue.
il y a 8 ans
Chris Smith
7b5b6e3a5a
Make QueueItem an autovalue.
il y a 8 ans
Greg Holmes
8ac6628938
Merge pull request #129 from csmith/master
Add method to set output queue.
il y a 8 ans
Chris Smith
fe441fde15
Add method to set output queue.
Needed for DFBnc.
il y a 8 ans
Shane Mc Cormack
298788d21b
Merge pull request #128 from csmith/master
Merge OutputQueue and QueueHandlers.
il y a 8 ans
Chris Smith
c340e7a9d1
Merge OutputQueue and QueueHandlers.
OutputQueue is now abstract, and the different queue methods
are subclasses.
This allows the same flexibility as before (subclasses can change
the type of items they add, implement their own throttling logic,
and say how the queue is ordered).
Organising it this way makes the package a lot easier to understand
as there's no longer a messy separation of concerns between
OutputQueue and QueueHandler (e.g. the output stream is no longer
in two places with two send methods, all of the definitions
relating to how the queue works are in one place, etc).
il y a 8 ans
Shane Mc Cormack
b62594b955
Merge pull request #127 from csmith/master
Remove chain of Comparators in output queue.
il y a 8 ans
Chris Smith
8942ddaeea
Remove chain of Comparators in output queue.
Instead of having lots of objects implement Comparable or Comparator,
pass the comparator in to the PriorityBlockingQueue.
This requires recreating the queue if the QueueHandler is ever changed,
but the previous behaviour resulted in an unstable/undefined ordering,
so it's probably better this way anyway.
This means that QueueItems no longer need to know about QueueHandler,
which makes me slightly happier.
il y a 8 ans
Greg Holmes
d7d39dc372
Merge pull request #126 from csmith/master
Add framework for parser integration tests.
il y a 8 ans
Chris Smith
4fa1e43f8f
Add framework for parser integration tests.
Using docker we can bring up and tear down IRCds pretty trivially.
This allows us to test the parser in real-world situations.
il y a 8 ans
Greg Holmes
e877a80152
Merge pull request #125 from csmith/master
Random minor parser tidying.
il y a 8 ans
Chris Smith
71fd989984
Random minor parser tidying.
il y a 8 ans
Greg Holmes
cf4d6411fd
Merge pull request #124 from csmith/master
Make QueueHandlerFactory final.
il y a 8 ans
Chris Smith
04d08c0669
Make QueueHandlerFactory final.
I don't think there's a good reason to change it without ditching
the entire output queue.
il y a 8 ans
Greg Holmes
f1ad0fca1b
Merge pull request #123 from csmith/master
Don't pass BlockingQueue into handlers.
il y a 8 ans