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>
plugins:
58056e7 Chris Smith <chris@dmdirc.com>
Write information about deps in plugins.
Write the build environment to a list section of the plugin
meta-data. This should make it easier to figure out what
on earth is going on when everything breaks.
Gerrit: http://gerrit.dmdirc.com/4010
Change-Id: I15db391963e59bfc201aaa66c1ff903fce89a421
plugins:
06271e5 Chris Smith <chris@dmdirc.com>
Fix compilation error.
I think I now live in dependency hell. It is not a nice place.
Gerrit: http://gerrit.dmdirc.com/4009
Change-Id: I44e50dc3483b93d58043800f72fc64be6b4155f8
plugins:
2dedf04 Chris Smith <chris@dmdirc.com>
Use full versions for dependencies.
Feel like we've got a few too many moving parts at the moment,
so explicitly set versions of our dependencies.
Also took the opportunity to upgrade a couple of things.
Gerrit: http://gerrit.dmdirc.com/4001
Change-Id: I287df8461a50b0fdbce64ccf422904ab1e453152
This converts performs in the "performs" group into auto commands.
It doesn't touch any custom written global actions - will handle
those in a separate migrator.
Change-Id: I7226dfee1b705a9e057094f425703a1b051685df
Reviewed-on: http://gerrit.dmdirc.com/3998
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Make the ActionAliasMigrator use a Path, and add a basic
unit test. Need to make ConfigFile use paths to do anything
sensible.
Also refresh gradle libs in idea so JimFs shows up.
Change-Id: I0cb2692083d0fe117b91edce63d8417ddd74e288
Reviewed-on: http://gerrit.dmdirc.com/3999
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
parser:
bfc363c Chris Smith <chris@dmdirc.com>
Fix getChannelUserModes().
It was apparently meant to return prefixes. Who knew.
Gerrit: http://gerrit.dmdirc.com/3990
Change-Id: I9d2a7f5d4bcef778e6d4837e8f20b929c6317ddf
util:
18b3add Chris Smith <chris@dmdirc.com>
Add an alternative formatter.
Formatting durations as 'XX:YY' is fairly common and repeated
in nearly all the nowplaying sources. Make a util method instead.
Gerrit: http://gerrit.dmdirc.com/3986
Change-Id: I2992c2d10a98bb2e8d55afb73fa5abdd90d0384c