Chris Smith
d15111ddd3
Restructure to standard maven/gradle layout.
Stop swimming against the tide and accept what most of the rest of
the world does.
While it adds an annoying depth to the actual source code, it makes
the root directory nicer (no more 'test-res' dirs), means we don't
have to override the gradle config, and makes it nicer to work in
IDEA 2016.1.
8 роки тому
Chris Smith
36c58019c5
Minor tidying in plugins
9 роки тому
Greg Holmes
801cb39525
Remove showConfig from Plugin.
9 роки тому
Shane Mc Cormack
9f3fcd1b59
2015!
9 роки тому
Chris Smith
7fda12fc31
Remove deprecated methods.
9 роки тому
Chris Smith
3091940b40
Lots of typo fixes.
Change-Id: I362e53fc9f05497f48dac4951991b79daebfdb81
Depends-On: Ide5afea6d4e7ba04cf3226f10e1ea530e1a60c10
Depends-On: Ic2a1b97aa44e9168bae4a1e28941208e7711bb46
Reviewed-on: http://gerrit.dmdirc.com/3743
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 роки тому
Chris Smith
01fa9b6453
Bulk remove inheritDoc.
Change-Id: I06a0f4ced5eb0c8281e52a38b37a27779c5d571b
Reviewed-on: http://gerrit.dmdirc.com/3273
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 роки тому
Chris Smith
f538c53f86
Fully configure the NB formatter and let it loose.
Change-Id: I7e8052839daa79fa113b89fd0b8c1c892a605b73
Reviewed-on: http://gerrit.dmdirc.com/3122
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 роки тому
Chris Smith
30e9268b44
Tidying.
Change-Id: I2d37f4e0be3d4c8f0a867ad9a0a516dc3193a2a5
Reviewed-on: http://gerrit.dmdirc.com/3018
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 роки тому
Shane Mc Cormack
12b39dc0f8
Update Copyright to 2014
Change-Id: Id0904867640e49e12fca5c1c7c5b9e72c78e3a1b
Reviewed-on: http://gerrit.dmdirc.com/2976
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 роки тому
Chris Smith
969ef95d12
Add method for getting domain from PluginInfo.
Plugins shouldn't be required to have getters and setters for
something that's constant.
Change-Id: I99ebc7d10f558008a7889252cc3c96f39747303e
Reviewed-on: http://gerrit.dmdirc.com/2860
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 роки тому
Chris Smith
1a3c8a6063
Define new methods on Plugin for DI.
New dependency-injection supporting methods, and ample javadoc.
Stub the methods out in BasePlugin so everything carries on working.
Change-Id: Iaea88b091a4680c568f8e55a75a3b0d97c9842eb
Reviewed-on: http://gerrit.dmdirc.com/2846
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 роки тому
Shane Mc Cormack
b87e3ba335
Update copyright for 2013
Change-Id: Idf38f5027a92166daf99039de75b759d47431de1
Reviewed-on: http://gerrit.dmdirc.com/2607
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
11 роки тому
Shane Mc Cormack
d26602c9dc
Update Copyright for 2012
Change-Id: I0d40c3ac86b9e06fad3f29bc36612b4162e54d1c
Reviewed-on: http://gerrit.dmdirc.com/2287
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 роки тому
Greg Holmes
65f87d1ceb
Plugin deprecation removal.
Add new base plugin for plugins requring extracted files.
Remove plugininfo getters and setters.
Add meta data to available injections.
Change-Id: Id6cafe38cb04a9ee4513ac6e98158faf3cafc37d
Depends-On: Ib559fda3ac9d5b65937c563b165ef078106cdd15
Reviewed-on: http://gerrit.dmdirc.com/2095
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 роки тому
Greg Holmes
d04e2bea4f
Change header?
Change-Id: I635e0d111ed182713132145e4d5fb1654f776ec4
Reviewed-on: http://gerrit.dmdirc.com/2071
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 роки тому
Chris Smith
5c3b4a5383
More plugin tidying
Change-Id: I6eb475bf19450c09a6be9cfb48c12a57022d302f
Reviewed-on: http://gerrit.dmdirc.com/2066
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
13 роки тому
Greg Holmes
7c7469ffb5
Change Plugin to an interface and add BasePlugin abstract class.
Issue CLIENT-241
Change-Id: Ie1b3277bb1c667ee99a1b203c2ff1094616ceaff
Depends-On: If0fd1c74a19c488cb7853d69deae9f75bab43d41
Reviewed-on: http://gerrit.dmdirc.com/1924
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 роки тому
Chris Smith
e7f95e426d
Make some methods protected in Plugin
Fix line endings
Change-Id: I022ed148613dfb4e8d64d892ed2f751732395cbb
Reviewed-on: http://gerrit.dmdirc.com/1918
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 роки тому
Chris Smith
68b0ed1d1f
Style fixes
Change-Id: I94a245fd1824ba6a5c8c32e66a45a0c9be806aa1
Reviewed-on: http://gerrit.dmdirc.com/1750
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 роки тому
Shane Mc Cormack
fd83b6b2a9
Update Copyright
Change-Id: I7f63fdd02ea0109fe31e55c44b078edae3862f32
Reviewed-on: http://gerrit.dmdirc.com/1726
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 роки тому
Greg Holmes
a1c4dde046
Fix some PMD errors.
Change-Id: Ia8c864cc8abab3bfdcabeac30b41f6fb29233e73
Reviewed-on: http://gerrit.dmdirc.com/1689
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 роки тому
Chris Smith
33bae9d01d
Rename PreferencesManager to PreferencesDialogModel
Change-Id: Ied76e21fbf72039d47ec2b35b236149c13941645
Depends-On: Ia126a15b60e54c08c1e780676fe363821e9b7518
Reviewed-on: http://gerrit.dmdirc.com/1591
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 роки тому
Chris Smith
10ad8f480d
Move validators out of config.prefs.validator
Fixes issue 4253
Change-Id: Ibb46a6a1ba5c62d525b65f55d39632b82e335539
Reviewed-on: http://gerrit.dmdirc.com/1455
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 роки тому
Shane Mc Cormack
3b1359041a
Fixes Issue 4106: PluginManager should tell plugins where to store extra files
Change-Id: I1692d18385a706b3a405b58be9a865d761e6aa24
Reviewed-on: http://gerrit.dmdirc.com/1215
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
14 роки тому
Gregory Holmes
26b8e87aaf
Fixes issue 3598: Add a sane way to get a plugin info for a specific plugin
Change-Id: Iaab0e3e5f46a25e00901de4b93abdc44a7a4814d
Reviewed-on: http://gerrit.dmdirc.com/581
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: Chris Smith <chris@dmdirc.com >
14 роки тому
Gregory Holmes
3448c9abe6
Add some documentation for developers regarding pluginpreferencescategories
Change-Id: If96bbda3219d87730725756639a7d0dfcc88bf3f
Reviewed-on: http://gerrit.dmdirc.com/580
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: Gregory Holmes <greboid@dmdirc.com >
14 роки тому
Shane Mc Cormack
b691b14491
Update the copyright date on all files.
UpdateCopyright.sh now works out the year automatically.
UpdateCopyright.sh now ignores .git aswell as .svn
UpdateCopyright.sh now excludes Binary Files from being matched during the initial search, rather than as an afterthought.
Change-Id: I2cfc56851a4217a4c85cbc7361c7a90421aae717
Reviewed-on: http://gerrit.dmdirc.com/202
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Tested-by: Shane Mc Cormack <shane@dmdirc.com >
14 роки тому
Shane Mc Cormack
636a8efda1
Reformat the plugin manager
Change-Id: Ie6f2b1aaef0bd753cffa61abe3117f22dc0955af
Reviewed-on: http://gerrit.dmdirc.com/78
Tested-by: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
Tested-by: Chris Smith <chris@dmdirc.com >
14 роки тому
Chris Smith
33c815ade3
Javadoc fix, make get/setDomain non-final
15 роки тому
Shane Mc Cormack
8d941c3d59
Ok, I suck. I really suck.
15 роки тому
Shane Mc Cormack
9dadba0c52
Commit changes that didn't commit before
15 роки тому
Shane Mc Cormack
4eb23aacce
Issue 2244 - Plugin defaults can now be set in the plugin.config by using the defaults: key.
key/value pairs in the config are automatically added to the plugin-<plugin name> domain.
The domainUpdated(); method can be overridden to set any defaults that should be set in code. (such as the ident plugin defaulting to the current username)
15 роки тому
Gregory Holmes
ad6cddbba0
Update copyright header to 2009
15 роки тому
Chris Smith
dc864cfa38
Removed shane's silly $id$ stuff from everywhere
15 роки тому
Shane Mc Cormack
bdf92a8be4
Fixes issue 1560
git-svn-id: http://svn.dmdirc.com/trunk@4451 00569f92 -eb28-0410-84fd-f71c24880f
16 роки тому
Chris Smith
92ee1f6363
Back out changes made in rv 4441 and rv 4442:
(a) Adds features during a feature freeze
(b) Doesn't have a corresponding issue
(c) Incorrectly references issue 14408
(d) Poorly designed solution
git-svn-id: http://svn.dmdirc.com/trunk@4443 00569f92 -eb28-0410-84fd-f71c24880f
16 роки тому
Shane Mc Cormack
23add1bab7
Add @since tag.
Mildly realted to issue 1408 ish, if you squint
git-svn-id: http://svn.dmdirc.com/trunk@4442 00569f92 -eb28-0410-84fd-f71c24880f
16 роки тому
Shane Mc Cormack
0060423ea4
Add checkPrerequisitesReason() method to Plugin to allow plugins that return false for checkPrerequisites() to give a reason.
Related to issue 1408.
git-svn-id: http://svn.dmdirc.com/trunk@4441 00569f92 -eb28-0410-84fd-f71c24880f
16 роки тому
Chris Smith
b115c5adac
Identities now force a save once they've migrated
ConfigFile now preverses trailing spaces
Fixes issue 1151
Random style fixes in the plugins package
git-svn-id: http://svn.dmdirc.com/trunk@3933 00569f92 -eb28-0410-84fd-f71c24880f
16 роки тому
Shane Mc Cormack
2cafa2b2c5
PluginManager now loads and unloads any unloaded plugins when the prefs dialog is open, to allow for plugin-related configuration even when plugins are disabled.
git-svn-id: http://svn.dmdirc.com/trunk@3239 00569f92 -eb28-0410-84fd-f71c24880f
16 роки тому
Chris Smith
72217d762d
Added support for the new config system to plugin manager.
Made a bunch of plugins use the new system.
Fixes issue 645.
Work on issue 646 and issue 444.
git-svn-id: http://svn.dmdirc.com/trunk@3225 00569f92 -eb28-0410-84fd-f71c24880f
16 роки тому
Shane Mc Cormack
882e9e735d
Updated copyright header on all files.
2006-2007 -> 2006-2008
git-svn-id: http://svn.dmdirc.com/trunk@3151 00569f92 -eb28-0410-84fd-f71c24880f
16 роки тому
Shane Mc Cormack
61510ce5fe
Overhauled plugins system. (Fixes issue 479)
Fixed issue 495 (Configure plugins menu doesn't disable untill mouse over)
git-svn-id: http://svn.dmdirc.com/trunk@2614 00569f92 -eb28-0410-84fd-f71c24880f
16 роки тому
Shane Mc Cormack
92c5c7a52a
Added action events
git-svn-id: http://svn.dmdirc.com/trunk@1572 00569f92 -eb28-0410-84fd-f71c24880f
17 роки тому
Shane Mc Cormack
01356cc015
Repackaged: Core, Ui, Plugins
git-svn-id: http://svn.dmdirc.com/trunk@1294 00569f92 -eb28-0410-84fd-f71c24880f
17 роки тому
Shane Mc Cormack
f7b6081fcf
Moved Files from uk/org/ownage/ to com/
Will sort imports etc next
git-svn-id: http://svn.dmdirc.com/trunk@1293 00569f92 -eb28-0410-84fd-f71c24880f
17 роки тому
Shane Mc Cormack
d38b73c170
Javadoc Changes
git-svn-id: http://svn.dmdirc.com/trunk@1292 00569f92 -eb28-0410-84fd-f71c24880f
17 роки тому
Chris Smith
4636d3090d
Plugins in the plugin manager are now sorted by name
git-svn-id: http://svn.dmdirc.com/trunk@1291 00569f92 -eb28-0410-84fd-f71c24880f
17 роки тому
Shane Mc Cormack
85b37f41a0
Made Plugin an abstract class.
- onActivate and onDeactivate are now protected methods, and plugins are (de)activated using setActive() which can not be overiden.
- isConfigurable automatically returns false
- Plugins are now deactivated immediately prior to unloading
- EventPlugins now have to extend Plugin, and implement EventPlugin.
git-svn-id: http://svn.dmdirc.com/trunk@1237 00569f92 -eb28-0410-84fd-f71c24880f
17 роки тому