util:
c4dde2f Chris Smith <chris@dmdirc.com>
Try to stop the downloader test flaking.
Replace tempremental in-order mocking with a real output stream.
Allow maps to be serialised in any order.
Gerrit: http://gerrit.dmdirc.com/4066
Change-Id: I79a38f72cb083a453d0c55bd63cec24651f246ab
util:
9d27910 Chris Smith <chris@dmdirc.com>
Fix copying resources from zip files.
FileSystems aren't as automatic as I expected :(
Gerrit: http://gerrit.dmdirc.com/4062
Change-Id: Iaf275e78f83ea652ac10e6e5dacd18feed345d29
plugins:
cbbc4e1 Chris Smith <chris@dmdirc.com>
Collect plugin jars in dist folder, like before.
Whenever we build a new jar -- or if the jar in dist is changed --
copy it into the dist directory with a proper name.
Gerrit: http://gerrit.dmdirc.com/4060
Change-Id: Id90e669ddf495249319e83438293c134203bc261
util:
2b76d27 Chris Smith <chris@dmdirc.com>
Couple of bug fixes.
Don't try and resole using a path from another FS provider.
Create paths via URIs not via strings, as otherwise it gets
confused with protocols.
Gerrit: http://gerrit.dmdirc.com/4043
Change-Id: Icdec4c8055a480235f6105b3552cefa408be5193
Keep them in src for now so ant builds still work (working
clients are good, I'm informed).
Change-Id: I6d5efac0c5545675572b4527ff16c8ab0eb2da6c
Reviewed-on: http://gerrit.dmdirc.com/4041
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
Not convinced there's any point in these being in a separate
repository, and this makes getting them packaged with gradle
much easier.
Change-Id: Ibf97d8f42940b448ce75a6ef8ea5907ae53689dc
Reviewed-on: http://gerrit.dmdirc.com/4039
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
This allows tests not running against a jar to find the config
(and thus initialise IdentityManagers).
Change-Id: Ief27b9dfcb2451043f013a4aebba3ad51203ed4c
Reviewed-on: http://gerrit.dmdirc.com/4036
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
Gradle can now write a version.config file properly and dumps
bundled deps into the main jar.
It doesn't yet bundle plugins, default settings, or write the
info for those to the version.config.
Change-Id: I206ff08ca2dda0aaed601a1f9f075a983eae602c
Reviewed-on: http://gerrit.dmdirc.com/4035
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
Convert PluginFilesHelper away from ResourceManager.
Initial testing seems to work. Will add unit tests later.
Change-Id: I3824ce74f41e70be605004fa4b0973be837f73e3
Reviewed-on: http://gerrit.dmdirc.com/4033
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>
plugins:
be7ceba Chris Smith <chris@dmdirc.com>
Make versioning work regardless of the root.
Also make some things more groovy-y.
Gerrit: http://gerrit.dmdirc.com/4029
Change-Id: I5cc39a51c20ad0334df4e4599389a0b99e3f0ef5
plugins:
63ce3c2 Chris Smith <chris@dmdirc.com>
Make plugin dependencies more flexible.
Define a 'plugin' function to use in place of 'project' that
will figure out where the plugin is living in the root gradle
project.
This allows the plugins to be included and built properly
when they are in a submodule of either the client or the meta
project.
Gerrit: http://gerrit.dmdirc.com/4028
Change-Id: Iab53fed4a6805ead3dfc0daac71285e499117b7c
plugins:
801bf9a Greg Holmes <greg@dmdirc.com>
Gradle copies the res folder. Use this.
This copies licenses, identities, preferences, and anything else we add.
Gerrit: http://gerrit.dmdirc.com/4024
Change-Id: Iee17a3c754196c5dc0f512c669febb7ff0ca04c4
(aka the "IdentityTest")
Make it a lot less dumb, use a virtual FS so we can test reloading
and saving. Fix a bunch of bugs the tests highlighted.
Only things not really tested are the global config specific
behaviours.
Change-Id: I96448eb9c401ce864cd6f39fd95088a4a8a09727
Reviewed-on: http://gerrit.dmdirc.com/4015
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>