Chris Smith
8664b2ef3c
Fix error trying to save CSD settings.
Because of the ordering of assignments in ChannelSettingsDialog's ctor,
we weren't assigning the global config before passing it in to the
list modes pane. This caused NPEs if toggling the 'show extended info'
option and saving.
Change-Id: I89f1ca9e29aa38fcf278e9afd2b9fbc214b4fbe3
Fixes-Issue: CLIENT-454
Reviewed-on: http://gerrit.dmdirc.com/3212
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
2f2b81f5cd
Fix URL panel.
Reading settings needed to be done from the global config to pick
the defaults, writing settings to the user config.
Change-Id: I626284ac3b5a70827d8872edbd488865b959f9c4
Fixes-Issue: CLIENT-457
Reviewed-on: http://gerrit.dmdirc.com/3209
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
87ee1481d4
Fix some errors in the PMD.
Validate profile names for uniqueness as well as filenames.
Remove spaces from auto generated nickname on creation of profile.
Change-Id: Icae82a9deaceccefd7b87e00215dfa28aa065a1b
Fixes-Issue: CLIENT-461
Fixes-Issue: CLIENT-462
Reviewed-on: http://gerrit.dmdirc.com/3206
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Chris Smith
0c7a17b84b
Remove ValidatorChain varargs usages.
Change-Id: I6018652a059789b36c1119118c85ee0af2c87dd8
Reviewed-on: http://gerrit.dmdirc.com/3170
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
c45bfec729
Remove warnings in actions and aliases
Change-Id: I9ad0e3a513be76b81b20163be21a35407c469ebd
Reviewed-on: http://gerrit.dmdirc.com/3167
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
1b3a531059
Remove some warnings
Change-Id: Ie3d3411ee23fb5d22f9594e36899bf00be8d64f7
Reviewed-on: http://gerrit.dmdirc.com/3166
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
0ac812cd74
Tidy up action editor
Change-Id: Idb07ccc35b818e9488477b6ea02a0bf2d4d7a090
Reviewed-on: http://gerrit.dmdirc.com/3161
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
badf6dabbf
Tidy up ActionEditorDialog and PropertyListCellRenderer.
Remove unused renderer, add super class, tidy javadoc.
Change-Id: Idd492b22d9ccf9b05e9386c4dcd60860b48e1a1b
Fixes-Issue: CLIENT-442
Reviewed-on: http://gerrit.dmdirc.com/3160
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
1244feae5d
Fix validation of actions (and the validating text field itself).
Change-Id: I5a3bc9f0a7e3840f02e24cc9e2a919314b3df424
Fixes-Issue: CLIENT-438
Fixes-Issue: CLIENT-437
Reviewed-on: http://gerrit.dmdirc.com/3159
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
2fe9bdb16a
Remove some deprecated method usages.
Change-Id: If1a0271bfbff2adc217725f35c7de517ba56a998
Reviewed-on: http://gerrit.dmdirc.com/3158
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
aed1760b0c
Add new profile when deleting last.
Change-Id: Ib70546deae1429ed606503c5c003d08985eb3b4d
Fixes-Issue: CLIENT-432
Reviewed-on: http://gerrit.dmdirc.com/3150
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
35a55e6643
Check displayed profiles not all profiles for uniqueness.
Change-Id: Id577b1451efd031833f0f291ef49ee5110d987c7
Fixes-Issue: CLIENT-435
Reviewed-on: http://gerrit.dmdirc.com/3151
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
240e0bfe96
Add ability pass owner to display and focus method.
This should enable propery hierachies to be build in with/in
dialogs.
Change-Id: I5889941371ab2d83da79e809fd1493589a5fd91d
Fixes-Issue: CLIENT-431
Reviewed-on: http://gerrit.dmdirc.com/3146
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
2e7fbace7d
Ask user for profile name on creation.
Change-Id: Id8f99a90564e09d64d12e0a9edfdccb5a5a25524
Fixes-Issue: CLIENT-434
Reviewed-on: http://gerrit.dmdirc.com/3149
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
d27bb959b5
Remove warnings in channellistmodespane
Change-Id: Ie72d8cc60504877ea90ab3e75674192c7a86bced
Reviewed-on: http://gerrit.dmdirc.com/3143
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
5a5c1a07d4
Remove warnings in updateconfigpanel
Change-Id: I688c83f71bb33bc81470dc2e95b678af420c0cf9
Reviewed-on: http://gerrit.dmdirc.com/3142
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
e7ef247a52
Use newly paramatised ValidateableReorderableJList
Change-Id: I85e7a4e87e8b13368e342bf469f2dff10ed08a7a
Reviewed-on: http://gerrit.dmdirc.com/3141
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
f7d54d1edd
Remove warnings from ignore list
Change-Id: I97599c4c3f429310aead6403918b59b38bc2d251
Reviewed-on: http://gerrit.dmdirc.com/3140
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
62e6418fe7
Remove warnings in performtab
Change-Id: Ie851293569729cbeea29c733d5f7b6d352377f87
Reviewed-on: http://gerrit.dmdirc.com/3139
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
d6ab4730ef
Remove some warnings in CertificatePanel
Change-Id: Ia8aa0f5cce6e656e4c2dd06f40a4714782ed816c
Reviewed-on: http://gerrit.dmdirc.com/3138
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
182f2fbca6
Tidy up some warnings in PMD
Change-Id: If943b18f76b17d259a0778ebed7383556c236e46
Reviewed-on: http://gerrit.dmdirc.com/3134
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
8323b536a0
Tidy up the channel list modes pane.
Change-Id: Ifbe77fd01a01c4c3613515eb3499e803c9c236bd
Reviewed-on: http://gerrit.dmdirc.com/3133
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
0379847954
Fix some oddities in the new PMD
Change-Id: I36aaf1c69dfc534a66f921b774f2614092faed68
Reviewed-on: http://gerrit.dmdirc.com/3131
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
3df1cb1f3d
Tidy up the URL config panel.
Change-Id: If133413aa2f2bcd35d3915b15c27986885afff10
Reviewed-on: http://gerrit.dmdirc.com/3132
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
74aa499be4
Autoformat all the plugins.
Change-Id: I35bf8ce93d7be8fb714b1a58adc9dd66672ec717
Reviewed-on: http://gerrit.dmdirc.com/3124
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
7d1237b13b
Use ClientInfo in place of Info.
Change-Id: I9d19b5144033704a1de126a5391e985e0314609e
Reviewed-on: http://gerrit.dmdirc.com/3123
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
a78b6fe8c7
Various style fixes.
Change-Id: Ia75b28fcd34682079234e3ad8d6c83f84a616cf0
Reviewed-on: http://gerrit.dmdirc.com/3098
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
c6ee754dda
Pass an IconManager into StandardInputDialog.
Removes some deprecated method calls.
Change-Id: I71c273fa52b63101de5bf70db455568c84aca60a
Reviewed-on: http://gerrit.dmdirc.com/3090
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
1ffacc8250
Remove usages of deprecated info message.
Also minor tidying up.
Change-Id: Icc9c5aab819344867c1772c7f98f156d341619c5
Reviewed-on: http://gerrit.dmdirc.com/3088
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Greg Holmes
b66576e75e
Rewrite profile manager dialog.
This removes the need for cinch, so also removes the related code,
this also lays the foundation for adding a binding framework in
the future.
Change-Id: I62f7c66b25361c56fbb95fa28c74544d894ea476
Fixes-Issue: CLIENT-422
Reviewed-on: http://gerrit.dmdirc.com/3086
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Chris Smith
ed9da7fab4
Don't construct ConfigManagers.
Use a factory where available, and horrible singleton where not.
(ConfigManager was using a horrible singleton anyway, under the hood,
so it's not that much worse)
Change-Id: I82d215bf22b68d0359fce4c33976a9bf68d2bfda
Reviewed-on: http://gerrit.dmdirc.com/3080
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
e46d8e694f
Hack prefs dialog into working.
For the minute this means the prefs dialog no longer
saves state, it also means there may be some layout
changes with the height loss and parenting change for
sub dialogs launched from preferences settings.
Change-Id: I9c46e6f03920866022cfe063c500f9523a11db6e
Reviewed-on: http://gerrit.dmdirc.com/3071
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
df9abe4df5
Fix licence loading in about dialog.
Change-Id: I3187d75463129f8ff7c3191dc0be6f1c16d2217c
Reviewed-on: http://gerrit.dmdirc.com/3069
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
10 years ago
Chris Smith
be47045ae5
More injection and tidying up.
Change-Id: I111e31f9da6f7a4b79ab69d043de4c85c31e9b51
Reviewed-on: http://gerrit.dmdirc.com/3065
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Greg Holmes
fb4ff22e87
Make ValidatingTextField extend JTextField
Change-Id: I30ca8bc84a18cc67a9bcb3700a9b15307e389bc2
Reviewed-on: http://gerrit.dmdirc.com/3066
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Chris Smith
891eaaf324
Even more tidying.
Change-Id: I9d730b109ae1757a01ee757e91ec6e833efc449d
Reviewed-on: http://gerrit.dmdirc.com/3061
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
fe7fc88dd8
More tidying/dependencies/etc.
Change-Id: I828f2ea9980123409a7d33efc787cb3b6d64d441
Reviewed-on: http://gerrit.dmdirc.com/3060
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
4fcd0fdf92
Inject some prefs panel dependencies.
Change-Id: I683cd68cddf42df3c2dacf2a959fc606116ddf33
Reviewed-on: http://gerrit.dmdirc.com/3055
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
272fb2bebd
Remove some more usages of SwingController.
Change-Id: I8608be6d0352227d2eca226027f3f60c0f321ab7
Reviewed-on: http://gerrit.dmdirc.com/3054
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
b281ceb29a
Tidy up some deprecations.
Change-Id: I8608be6d035c2d7d2eca226027f3f60c0f0f7ac7
Reviewed-on: http://gerrit.dmdirc.com/3052
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
edc23493c8
Remove DialogManager.
Replace remaining legitimate usages with [Keyed]DialogProviders.
Remove the DialogManager itself, all the getters for it, all the places keeping
references around to it, all the dialogs taking it in the constructor, and all
the partridges in pear trees that had one hidden away.
Change-Id: I0a1234960a4e08c0a7c6afc08a5432102b17c125
Reviewed-on: http://gerrit.dmdirc.com/3048
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
95801b80ad
DialogProvider<ActionsManagerDialog>.
Change-Id: Ia428aae5a19309d6f7c19222226160f8c2d80de1
Reviewed-on: http://gerrit.dmdirc.com/3047
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
1e2a775488
Use DialogProvider for the profile manager dialog.
Change-Id: Ia428aae5a19309d622109e8baa6160f8c2d80de1
Reviewed-on: http://gerrit.dmdirc.com/3046
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
e519f4c25a
Use new provider for NSD.
Change-Id: I92010f61f3289579603a239ab4213a304799dedb
Reviewed-on: http://gerrit.dmdirc.com/3045
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
ae2144ee63
Inject some more dialogs
Change-Id: I73731643e3af5b13dd6dcaa2fdb53349a775372b
Reviewed-on: http://gerrit.dmdirc.com/3042
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
0f7aebad7e
Inject the AMD.
Change-Id: I6bf2a097c7dbb54e631cd1a1a13f411df374428f
Reviewed-on: http://gerrit.dmdirc.com/3041
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
a6272e7264
Inject the PMD.
Change-Id: I0a6ccc960a3a08d0a7c6aac08aa5b89d2b17c129
Reviewed-on: http://gerrit.dmdirc.com/3040
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
1293c1a867
Hit me with your deprecation stick.
(Hit me slowly, hit me quick.)
Change-Id: I0a6ccc960a4e08d1a7c6aac08aa5b89c2b17c125
Reviewed-on: http://gerrit.dmdirc.com/3039
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
6647d0987d
Update plugins to pass state into UpdateChecker.
Change-Id: Ic14614537aa544095733785a983b79556c8f2472
Reviewed-on: http://gerrit.dmdirc.com/3029
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
70de7112f3
Remove all UpdateChecker.getManager() calls.
Down with static methods! Temporarily up with deprecated methods on horrible
global state objects!
Change-Id: Ia279f9199e8ca40dc3031234569a44da042fc617
Reviewed-on: http://gerrit.dmdirc.com/3027
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago