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 years ago
Shane Mc Cormack
c04b824345
Get licenses from plugins.
Fixes issue 2642.
Returns an InputStream because thats what the license panel uses for everything else.
Change-Id: I487257961ac40bb421ef8b8c92da32a221ce2ce9
Reviewed-on: http://gerrit.dmdirc.com/106
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Chris Smith
e1755d7c41
Normalise paths used in PluginInfo.getRelativePath()
Should fix issue 2913
Change-Id: I0e838aa6f3911e9aab239852b452fabab6fe138d
Reviewed-on: http://gerrit.dmdirc.com/82
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
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 years ago
Shane Mc Cormack
8cba804acc
Rework previous commit. (Issue 2978)
Change-Id: I9abcc603a9a456a92e4403f053112166df58147e
Reviewed-on: http://gerrit.dmdirc.com/4
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Tested-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Shane Mc Cormack
567d3c58a7
Fixes issue 2978.
14 years ago
Gregory Holmes
1709ba6b5e
fixes issue 2983
15 years ago
Chris Smith
554c7b0dd1
Don't try to reload plugins if they fail to be added.
Fixes issue 2371.
15 years ago
Chris Smith
6886693f07
More debugging
15 years ago
Chris Smith
b19d107a0b
Plugins are now versioned using git. Fixes issue 2316.
15 years ago
Shane Mc Cormack
d9209ab07b
Add updateProvides() call in loadPlugin(). Fixes issue 2347. Fixes issue 2346.
15 years ago
Shane Mc Cormack
f4ae5473f8
Don't check for services (which may well lead to loading plugins that the user doesn't want loaded) when temploading.
15 years ago
Chris Smith
c431d48239
Tidy up more of Dataforce's concurrency mess
Fixes issue 2363
15 years ago
Shane Mc Cormack
c29d31ffbf
Fixes issue 2325
15 years ago
Shane Mc Cormack
7171850bce
If no alias is defined for an export, the method name itself is used such that "getFoo in class.path" is the same as "getFoo in class.path as getFoo"
15 years ago
Shane Mc Cormack
185e071c68
Use correct domain for icons (issue 2303)
15 years ago
Shane Mc Cormack
a39e2a4d4b
Probably fixes issue 2303.
Put formatters/icons in formatters: icons: key sections. Anything that needs to be set by code should be done in domainUpdated as with defaults.
15 years ago
Shane Mc Cormack
62f202a952
More 2204 work
15 years ago
Shane Mc Cormack
dc2e287bff
..
15 years ago
Shane Mc Cormack
c03e5af234
More work on 2204
15 years ago
Shane Mc Cormack
6d7c920e03
Work on issue 2204
15 years ago
Chris Smith
61bc043879
Remove superfluous import
15 years ago
Chris Smith
26bb145584
Catch Throwable not Exception when calling a plugin's onLoad method
Also catch throwable if the plugin is temp loaded already
Fixes issue 2214
15 years ago
Chris Smith
79d2b27e87
Remove old version/update channel things
Fixes issue 1721
15 years ago
Shane Mc Cormack
75eb14de9a
Check that the metadata exists and that there isa keysection called defaults before trying to read the defaults.
Fixes issue 2256
Fixes issue 2257
15 years ago
Chris Smith
33c815ade3
Javadoc fix, make get/setDomain non-final
15 years ago
Shane Mc Cormack
8d941c3d59
Ok, I suck. I really suck.
15 years ago
Shane Mc Cormack
3c7f721af1
oops, silly mistake!
15 years ago
Shane Mc Cormack
9dadba0c52
Commit changes that didn't commit before
15 years ago
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 years ago
Chris Smith
273207f93c
Add missing/fix stupid Javadoc
Use getRelativeFilename in reload/unload plugin commands
Fixes issue 1796
15 years ago
Chris Smith
de5813cbdc
Add getRelativeFilename to PluginInfo and use that when updating the
autoload list. Fixes issue 2152.
15 years ago
Shane Mc Cormack
c2ae2a6526
When asking the parent classloader for a class, don't get it to check the GCL as we do that ourself anyway.
Fixes issue 2156
15 years ago
Shane Mc Cormack
18e1ee3d24
Remove from provides lists when unloading.
Fixes issue 2157
15 years ago
Shane Mc Cormack
fb58ef3cbf
Fix AutoLoading, fixes issue 2163.
15 years ago
Chris Smith
8c23d609a0
Javadoc, overrides
15 years ago
Chris Smith
ea03491052
Javadoc fixes
Constructors should be the first methods, not split up with one half way down the file
15 years ago
Chris Smith
7af29c06f4
Import tidying
15 years ago
Chris Smith
19a2a004cd
Lagdisplay plugin is now a subplugin of the swing ui
Changed the contract of PluginManager.addPlugin to make autoloading work, and documented it in a sane amount of detail. This may break other plugin things such as reloading.
Fixes issue 2136
15 years ago
Shane Mc Cormack
033d8aeacd
Actually do something with the migrated variable!
15 years ago
Shane Mc Cormack
1584b50d3f
Fixes issue 2137 (Check all required-services, not just the first one)
Fixes issue 2132 (Nice way to expose and reuse methods in services)
15 years ago
Shane Mc Cormack
bcd15f15b3
Allow specifying "any" as a service name, eg "any ui".
Fixes issue 2135
15 years ago
Shane Mc Cormack
fe6aed8100
Fixes
15 years ago
Shane Mc Cormack
4b57f504c7
Add isUnloadable() and metadata->unloadable
15 years ago
Shane Mc Cormack
38c542eb13
Fix converting persistent
15 years ago
Shane Mc Cormack
441b409afb
Required Services are now specified as a list section rather than a key of requires:
15 years ago
Shane Mc Cormack
400343ee3b
Show providers aswell as services if requested.
15 years ago
Shane Mc Cormack
eac75fa3fb
Show provider count.
15 years ago
Shane Mc Cormack
abf569ae51
Fix loading of classes from the current plugin.
Fixes issue 1225
15 years ago
Shane Mc Cormack
ac2d699eb5
Sub plugins maybe?
15 years ago