parser:
b041071 Shane Mc Cormack <shanemcc@gmail.com>
Fix 001s not being part of serverInformationLines
Gerrit: http://gerrit.dmdirc.com/2269
plugins:
6c3e26c Shane Mc Cormack <shanemcc@gmail.com>
Speed up git version retrieval by using jgit-describe.jar (Built from https://github.com/ShaneMcC/jgit-describe) to describe the git tag rather than shelling out. This stops plugin jar building taking 2-5 seconds per plugin by shelling out.
Whilst not a fix exactly for CLIENT-330 - it will make it less of a pressing concern. It would still be nice to fix it though.
Gerrit: http://gerrit.dmdirc.com/2267
Change-Id: I8f11acd95917f734278509c6323ce604bd77414d
parser:
746d4df Shane Mc Cormack <shanemcc@gmail.com>
Fix for issue CLIENT-312 - Parser shouldn't extend runnable
The parser now defines some new methods:
- connect()
- connect(threadName)
- interrupt()
connect([threadName]) is responsible for creating any required threads
for the parser to run in and maintaining them internally.
interrupt() allows for interrupting these thread if they exist and if
required.
A new base class for parsers has been added to accomodate this with
minimum changes required elsewhere - ThreadedParser which BaseParser
now extends.
ThreadedParser handles the creation of a single controlThread and allows
interrupting it, and also defines an abstract void run() method (which
all existing parsers will already have from extending runnable in the
past) which is used by the controlThread.
Depends-On: I5ef8ea1e988fe9591df0054ad0016c409fc34b3f
Depends-On: I90ac61d56eb623165d3c4211f1c3247fcba823c8
Gerrit: http://gerrit.dmdirc.com/2255
plugins:
0009a08 Shane Mc Cormack <shanemcc@gmail.com>
Fix for issue CLIENT-312 - Parser shouldn't extend runnable
The parser now defines some new methods:
- connect()
- connect(threadName)
- interrupt()
connect([threadName]) is responsible for creating any required threads
for the parser to run in and maintaining them internally.
interrupt() allows for interrupting these thread if they exist and if
required.
A new base class for parsers has been added to accomodate this with
minimum changes required elsewhere - ThreadedParser which BaseParser
now extends.
ThreadedParser handles the creation of a single controlThread and allows
interrupting it, and also defines an abstract void run() method (which
all existing parsers will already have from extending runnable in the
past) which is used by the controlThread.
Depends-On: Ib3e884407181adc362394b23fe59f8e3b401d692
Depends-On: I5ef8ea1e988fe9591df0054ad0016c409fc34b3f
Gerrit: http://gerrit.dmdirc.com/2257
Change-Id: I9bd4a50a4ce7c1a3759435f5780d69add0b914f0