Add new method for invokeAndWait using Callable not ReturnableThread

Change-Id: Ic0edb15c06533c0df5bc78f0f6878ca5ae98d9d0
Reviewed-on: http://gerrit.dmdirc.com/2465
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>
Pass caret position into input handler.

Change-Id: Ibdd698a09cd14affb5d88f3156cbb582d0bde047
Depends-On: Ia5bcb212121521a73c14b14f8f827756e2f0a29d
Reviewed-on: http://gerrit.dmdirc.com/2471
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>
Fix long ruynning bug where the DCC plugin doesn't work.

Change-Id: I77c811c20850e35edd30931425c12938a9562d1c
Reviewed-on: http://gerrit.dmdirc.com/2473
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>
Tidy up some threading in MainFrame.

Change-Id: Icd048f3eac41cdd31d7d3944fa36eaf78317ee21
Reviewed-on: http://gerrit.dmdirc.com/2474
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>
Use NMA API in new thread.

Change-Id: Ib6fc5fa6a4f41d63872df025dd39a03f919e7441
Fixes-Issue: CLIENT-368
Reviewed-on: http://gerrit.dmdirc.com/2475
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>
Convert between model and view for row selection.

Change-Id: I20a39179dc21d8c183096a6ef557a746545c02fe
Fixes-Issue: CLIENT-369
Reviewed-on: http://gerrit.dmdirc.com/2476
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>
Add Windows Session Lock plugin.

Change-Id: I4f31edd67867d4039268b3568821a4bd5b0779b5
Reviewed-on: http://gerrit.dmdirc.com/2472
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>
Adapt to Smack's silly exception structure.

Change-Id: I24aa53dc3941a32db9a8b80b54b91d977bba8fad
Fixes-issue: CLIENT-354
Reviewed-on: http://gerrit.dmdirc.com/2477
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
Add basic error handling for XMPP messages

Change-Id: I0333bb648d246bbba2e5281ea8373fa2d57b0cfa
Fixes-issue: CLIENT-370
Reviewed-on: http://gerrit.dmdirc.com/2478
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
Support for sending raw stanzas with the XMPP parser.

Change-Id: I1ca5f2a783042500b722b20dd20aa604f4c731f0
Fixes-issue: CLIENT-371
Reviewed-on: http://gerrit.dmdirc.com/2479
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
Upgrade jQuery

Change-Id: I570807ad6976a940777ca288f3bf95fc77537f8f
Reviewed-on: http://gerrit.dmdirc.com/2484
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Tidying

Change-Id: I4d5ecd2970460566b31875105d4f9badeffbb328
Reviewed-on: http://gerrit.dmdirc.com/2485
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Fix all WebUI text being monospaced.

Change-Id: I2295a216ab78d72484e6c05882da7fa887791bae
Fixes-issue: CLIENT-375
Reviewed-on: http://gerrit.dmdirc.com/2487
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Encode 0x01 chars in JSON output.

Change-Id: I598300f39dc13b80ca7f3edde3be71a78aa09e52
Fixes-Issue: CLIENT-373
Reviewed-on: http://gerrit.dmdirc.com/2486
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Web UI tidying.

- Fix various issues with overflowing text
- Tidy up logging a bit
- Other minor tidying

Change-Id: I5e1392a2db7c76057c5f80b0be9e2f9c6b0ed3de
Fixes-issue: CLIENT-382
Fixes-issue: CLIENT-381
Fixes-issue: CLIENT-377
Reviewed-on: http://gerrit.dmdirc.com/2490
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Tidy, fix window closing.

Change-Id: Ica703c3d9cf8554f88144b6311b72b3e44889d3a
Fixes-issue: CLIENT-383
Reviewed-on: http://gerrit.dmdirc.com/2491
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Fix JGit-Decribe (properly this time)

Change-Id: If24879e2db9db7ba54af44cbb73995fc74d512de
Reviewed-on: http://gerrit.dmdirc.com/2498
Reviewed-by: Chris Smith <chris@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
Make main less static.
Don't ask Main for the config directory.
Remove getMain() from Main.
Everything that needs a main now either gets given it, or asks something else.
Unfortunately, a few more dependencies on the static IdentityManager.getIdentityManager()
were introduced, but they can be tackled separately.
Fix unit tests for the above.

Depends-On: I9e42ac7f74453b739209a681d0a31f50c1be2a04
Change-Id: Ib5a9fdea5a2e25d5471d0b849f4f65fa0286d1f8
Reviewed-on: http://gerrit.dmdirc.com/2521
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>