plugins:
2be4d54 Chris Smith <chris@dmdirc.com>
Revert dagger change.
The way we include dependencies/build the classpath means dagger ends
up on the path twice, which causes problems.
Will have to do this when the build process isn't horrifically horrible.
Gerrit: http://gerrit.dmdirc.com/2743
Change-Id: I442d4181239fc5fb41ff31ae3fcd5d8c8507927a
plugins:
602047c Chris Smith <chris@dmdirc.com>
Add dagger as a dependency.
Remove the big block of commented out stuff I forgot about.
Gerrit: http://gerrit.dmdirc.com/2742
Change-Id: Ide1298e7c828861ac486665195aa86bcdcb84c4f
Fix classpath generation on Windows
Change-Id: I18e122967cae9fa0d99446614cabd007161c1f6b
Reviewed-on: http://gerrit.dmdirc.com/2738
Reviewed-by: Chris Smith <chris@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
plugins:
c2e9460 Chris Smith <chris@dmdirc.com>
Use ivy for plugin dependencies.
Depends-On: I34d7849a75cd4c7a91e04a9dad6f8073aa5a8f61
Gerrit: http://gerrit.dmdirc.com/2736
Change-Id: I9503fe4259c403a32c2caeabd9b8ae0bf4335f45
No need for singleton junk any more, use an action factory.
Change-Id: I5174da7bdb59cadb96274f2d2c348d88bb87c09a
Reviewed-on: http://gerrit.dmdirc.com/2727
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
Instead of manually tracking dependencies and creating them in
CommandLoader, just have a module to provide a set of commands
that we can load.
This makes it stupidly easy to add dependencies in commands.
Also rename the /set command from Set because that's just
confusing.
Change-Id: I7967609e356de3c17d0942ebc913be438debe49c
Reviewed-on: http://gerrit.dmdirc.com/2722
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Show ClientComponent messages in the status bar for now, instead
of showing a dialog on a random UI.
Change-Id: Ic2c0c5147f62d87633da4ec4b91149fe67d5b1fd
Reviewed-on: http://gerrit.dmdirc.com/2720
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
plugins:
64ff4ac Chris Smith <chris@dmdirc.com>
Remove almost all references to Main.
Depends-On: Idf1c76e81da4eecd499a25f28e363a8150be8ac3
Gerrit: http://gerrit.dmdirc.com/2719
Change-Id: I43a73b451f35ca4d81a848cbff856eacf9696262
plugins:
e093053 Chris Smith <chris@dmdirc.com>
Use a LifeCycleController to quit.
Depends-On: Id6d237f386c6f35844136ceb64b7c46f0af76765
Gerrit: http://gerrit.dmdirc.com/2716
Change-Id: Ib7868ed631fae0aa4df44648f5166b1548be1483
Things need to quit! Without using global state!
Change-Id: Id6d237f386c6f35844136ceb64b7c46f0af76765
Reviewed-on: http://gerrit.dmdirc.com/2715
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
Have Dagger provide most of the classes which we give to SimpleInjector
for plugins, instead of doing a weird dance involving lots of global
state and horribleness.
Change-Id: I1d15796c85f90ac22b65a952ab1a5fca0fe0b337
Reviewed-on: http://gerrit.dmdirc.com/2714
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Get rid of all the Main.getPluginManager() references.
Change-Id: I2a377ce00423af5c560e0fd840948568d771b566
Reviewed-on: http://gerrit.dmdirc.com/2712
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
plugins:
16b8ca9 Chris Smith <chris@dmdirc.com>
Remove the Dummy UI.
This was originally intended for testing purposes, but we can do that
effectively with mocks. It's a pain to maintain and doesn't offer
any real benefit.
Gerrit: http://gerrit.dmdirc.com/2711
Change-Id: I90602ddf6ef3f7a9111163e90a7665fea1492f72
plugins:
fdde3a5 Chris Smith <chris@dmdirc.com>
Remove some usages of Main.
Depends-On: I5f88cccf81f0fb80e2fcf915d453660d5690c8c0
Gerrit: http://gerrit.dmdirc.com/2709
Change-Id: I51091051679fa8a9c1504f44326455b6fbbb9d64
Don't use a dummy UI and massive chunks of real objects.
Change-Id: I73ecf45760397d477137f13f1bdb210fa25cad97
Reviewed-on: http://gerrit.dmdirc.com/2710
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Remove HelpTest because it's a pretty lame test, not (and never
will be) an actual unit test, and a PITA to maintain.
Change-Id: Ibc15984a694a7b284e206ab337211ce471ac1913
Reviewed-on: http://gerrit.dmdirc.com/2706
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
- Separate out libraries by their purpose, so Netbeans doesn't have
so much junk on the main classpath.
- Bundle a version of Ivy instead of downloading it.
- Have Ivy remove old versions of libraries instead of just adding
new ones.
- Write the classpaths themselves to private.properties instead of
an indirect private.classpath property which shows up weirdly in
Netbeans.
Change-Id: I33b5fe34cc08d48d1b0e35ee93f21fa62bf8cfdb
Reviewed-on: http://gerrit.dmdirc.com/2705
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
As the tests now take about 3 seconds there's no point using clover
to try and reduce how many we run. This simplifies the build file
and will hopefully fix the double-test issues.
Change-Id: I1f689e8c5a1620a79fa64574d91012be207b1468
Fixes-issue: INFRA-62
Reviewed-on: http://gerrit.dmdirc.com/2702
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
Stop creating a new jvm for every single test (reduces runtime from
the order of minutes to the order of seconds).
Change-Id: I55fe45cc8d6c0523acf6317585b23b4062f1aa48
Reviewed-on: http://gerrit.dmdirc.com/2697
Reviewed-by: Chris Smith <chris@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
Rework how Logger/ErrorManager interact so they can be half
mocked out (or, at least, used in a thread-safe-ish manner).
Change-Id: Ia5899640bdc101793819dab88c3fe6038a759abb
Reviewed-on: http://gerrit.dmdirc.com/2695
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
Fully initialise the PluginManager instead of passing around
one in various states of existance.
Move plugin extraction logic into a CorePluginExtractor class.
Inject UpdateManager where appropriate.
Change-Id: I6c15f7682cccd93b40dcc189a0a8466d067095f0
Reviewed-on: http://gerrit.dmdirc.com/2692
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager