Greg Holmes
b7662e6884
Add a JCheckBox without borders.
Change-Id: Ia3e419f33f121c48b085daa3a31d59193c33f535
Reviewed-on: http://gerrit.dmdirc.com/3594
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
2d0685d6ab
Don't NPE on null values.
Change-Id: I69b4e54e47ed9b7bb2b140fe857b86dcade6cf32
Reviewed-on: http://gerrit.dmdirc.com/3593
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
2ae4701de6
Move CoreAliasDialogModel classes.
Depends-On: I7ee9ec39fce785b8e374e50fd05f0ef824097ab0
Change-Id: I2905dd1596fad47d0c7beaa669331063b48bd305
Reviewed-on: http://gerrit.dmdirc.com/3588
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Chris Smith
f65adf16b1
Fix some generic craziness.
Change-Id: I38d00732e7ac42461b926eb06a5d5ef584c93d8e
Reviewed-on: http://gerrit.dmdirc.com/3586
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
255f496845
Add reorderablelist validator.
Change-Id: Id307495420830212ef5a98f0f366ce6db591d526
Reviewed-on: http://gerrit.dmdirc.com/3585
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
439c29e598
Remove some uneeded custom classes.
Change-Id: I07ece70b1f5dfd7b36bb8a589ebb472379699ca7
Reviewed-on: http://gerrit.dmdirc.com/3584
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
94db8f5782
Add more tests for VetoableListSelectionModel.
Change-Id: Icf602cbe6ed52b3db8ac230cb70a7d331f270ec2
Reviewed-on: http://gerrit.dmdirc.com/3582
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
282ce0aa97
Don't change alias if the current alias is invalid.
Change-Id: I8a097dec93b28411563895d60a8b0a0f937d9de4
Reviewed-on: http://gerrit.dmdirc.com/3583
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
a5afbf6c04
Add unit test for vetoablelistselectionmodel
Change-Id: I7f4592bdfddc0fb628697219f2892591f4c6c2a4
Reviewed-on: http://gerrit.dmdirc.com/3581
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
77963ce50d
Move AliasDialogModelHandler and remove useless controller.
Depends-On: Ic547ed6e12879c7c6ea77d2c6766989c01dff640
Change-Id: I71d77d5c76f72e44303d2fd7f5dede75eef89ec1
Reviewed-on: http://gerrit.dmdirc.com/3579
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
a2f834d3db
Keep initial size for AMD at 800.
Change-Id: I4c25aca7cda9df9901912ddb75945b2bc2ea7162
Reviewed-on: http://gerrit.dmdirc.com/3578
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
f047163d65
Don't validate disabled components.
Change-Id: I11dcddc5c9ec9f7ce44ffb7d3f0900c9fa626a9c
Reviewed-on: http://gerrit.dmdirc.com/3577
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
f4f9796dbc
Switch to non deprecated method.
Change-Id: I15abfa2c86b2351e76ada1b2d16efa52c2af5b61
Reviewed-on: http://gerrit.dmdirc.com/3576
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
3feb3bb3bb
Fix compiler warnings.
Change-Id: I41a2be71d099a4bfcfe20cea34cb83f3ac183e04
Reviewed-on: http://gerrit.dmdirc.com/3573
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
2ded7925f6
Tidy up alias manager dialog.
Change-Id: I132215db6d1291991261c41a580abecd79654a00
Depends-On: Ic9c0091441d4f7d87ddc96a327f5e5b12b4cf803
Reviewed-on: http://gerrit.dmdirc.com/3572
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
60e66ce6af
Default to no selection as per other models.
Change-Id: Ib7045c63153faf5aa0b1c84472a3a559d557856f
Reviewed-on: http://gerrit.dmdirc.com/3570
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
ba73cd4af1
Switch alias dialog to use a side list instead of table.
Change-Id: I1ea9b8010782d01cbfcc49d4f8ef89f9361cbb89
Reviewed-on: http://gerrit.dmdirc.com/3566
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Chris Smith
0896bce3ad
More fixes.
Change-Id: Ie9ce5e3ee199e93ee786912e6593a6b597d9e403
Reviewed-on: http://gerrit.dmdirc.com/3565
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
5669e78c77
Fix up DebugTest.
Fix ambiguous verify calls that somehow work on J7 but not J8.
Tidy imports, use Guava Sets instead of icky AICs.
Change-Id: I2638c0338a898454588ec435c83de849259f9133
Reviewed-on: http://gerrit.dmdirc.com/3564
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
bfe40a2951
Fix funky alias delete behaviour.
Change-Id: Ic4c38d8245f4a88d1b3d1ce4fdf9ecb1c620d1da
Reviewed-on: http://gerrit.dmdirc.com/3562
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
fc4e2c7a19
Remove old alias manager dialog.
Change-Id: I89fed29438eae6e7439e804ee91de11a4848ee06
Reviewed-on: http://gerrit.dmdirc.com/3560
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
5dab8b8e02
Make ComponentValidators generic.
Change-Id: I49760e833be30a0a786323ac01bee77d6df8b361
Reviewed-on: http://gerrit.dmdirc.com/3558
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
4c5a893b80
Switch to some new validators in PMD.
Change-Id: I22099ecf7406136c86c1d7fec37bbb8662a11cb2
Reviewed-on: http://gerrit.dmdirc.com/3557
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
f754599578
Add new validation framework. Use it.
Change-Id: I73de0b9d351c82d95981fa1a10726c030fd0a847
Reviewed-on: http://gerrit.dmdirc.com/3556
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
456fc66c04
Fix compiler warning.
Change-Id: I0dce7c79cdc3f3c56ef9cb979fc419dbf7ff2e98
Reviewed-on: http://gerrit.dmdirc.com/3550
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
86549ef41b
Fix flakey alias manager dialog.
Change-Id: Ifdc70ea7cf5deafb6e335e93f4c49167b5ae8d94
Reviewed-on: http://gerrit.dmdirc.com/3549
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
3ca079a2a6
Remove some compiler warnings
Change-Id: I417384ae683b03db688fb0e268b85c2dbf15d80c
Reviewed-on: http://gerrit.dmdirc.com/3545
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
56d19e7648
Prevent selection changed on invalid profile.
Change-Id: I656f1c542ded14f7d617aea2aaac6a4c60213ba9
Reviewed-on: http://gerrit.dmdirc.com/3544
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
b4d934ff65
If deleting selected alias, nullify selected alias.
Change-Id: I53d173809d1d23f937be289dc533de17477c4e50
Reviewed-on: http://gerrit.dmdirc.com/3543
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
7b4a4a4f9a
Add VetoableListSelectionModel.
Using this, don't allow the user to deselect things in the alias
manager dialog.
Change-Id: I47b086c630d7992bd8dd659aac832ebce9feefb6
Reviewed-on: http://gerrit.dmdirc.com/3542
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
780cb7be93
Select newly added alias.
Change-Id: Ib0a1f5ca4547e8f640ceb33681969a7c8d2c70d4
Reviewed-on: http://gerrit.dmdirc.com/3541
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
2a3de7f49c
Fix broken removing
Change-Id: I6c830353e82be23d65fe479ca09e979442d937b7
Reviewed-on: http://gerrit.dmdirc.com/3540
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
b18c24b558
Add ability to change aliases to new alias dialog.
Change-Id: Ia1dcd5d0601e6105e411676049df85f5978b50cb
Reviewed-on: http://gerrit.dmdirc.com/3538
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Chris Smith
7655629103
Use injected ctor for CoreAliasDialogModel.
Change-Id: I49ec46315f1366d27c12d1b4cc2ac92cd479d46d
Reviewed-on: http://gerrit.dmdirc.com/3534
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
068679d88c
Add missing titles to dialogs.
Change-Id: I1068ef512d6f0d103a0ba74b38a53df10c2107d9
Reviewed-on: http://gerrit.dmdirc.com/3532
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
1531c68e7e
Add read only new alias manager dialog.
Change-Id: I4d367f83d06c6de965c7b383ea7b3d22a66e6def
Reviewed-on: http://gerrit.dmdirc.com/3531
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
e8a97f4b42
Add a generic table model.
Change-Id: I4dfeb94f1647b02c11728bd4e92d2560166b4684
Reviewed-on: http://gerrit.dmdirc.com/3529
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
f7952026ca
This code doesn't do subdirectories, so is completely broken. It just happens to not be used in the client.
Revert "Start using nio2 in resource managers."
This reverts commit bc1238c0e5 .
Change-Id: I15059dc1481448098e964df9b83d96551f0158a3
Reviewed-on: http://gerrit.dmdirc.com/3512
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
bc1238c0e5
Start using nio2 in resource managers.
Change-Id: Ibac8f73683eec322d28cd10ced08c8777812ac43
Depends-On: I2f9f58595e0867db798c1930d5a90975bab296f8
Reviewed-on: http://gerrit.dmdirc.com/3510
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Shane Mc Cormack
aa61a7eeb7
Get rid of nice, useful J8 method. #2
Change-Id: I0d7f899fbd61495ab9f12761b304e70a06d9d989
Reviewed-on: http://gerrit.dmdirc.com/3506
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
446ab2b5a9
Get rid of nice, useful J8 method.
Change-Id: I6453c289eece5c6da8a2900e11a2bd4a6f5baafc
Reviewed-on: http://gerrit.dmdirc.com/3505
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
f4a65cd9b4
Badly handle error deleting profiles.
Change-Id: I9463e66dc39881bcc69b64b8900df1010683b0bc
Depends-On: I752f5bebe42514f1dc21e1b77e1ee5a649f324f5
Depends-On: I9463e66dc39881bcc69b64b8900df1010683b0bc
Depends-On: I752f5bebe42514f1dc21e1b77e1ee5a649f324f5
Reviewed-on: http://gerrit.dmdirc.com/3504
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
14fe3cb594
Remove another singleton.
Change-Id: I83d319c563b2862caf7278a1d60669cfff5242ce
Reviewed-on: http://gerrit.dmdirc.com/3501
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
30eb994b66
Maybe convert actions listening to events in script plugin.
Change-Id: I495ed1f6717e93a2362fcca37866aeef150fbc4a
Reviewed-on: http://gerrit.dmdirc.com/3500
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
bab9c077c9
Switch DCCManager to ServerCtcpEvent.
Change-Id: I8b55a2e47099629e6fe80344451f45826a44c188
Reviewed-on: http://gerrit.dmdirc.com/3499
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
229ea9bed6
Refactor dCC slightly.
Add question dialog to DCC Chats.
Add question dialog to DCC Sends.
Remove unused method askQuestion method.
Change-Id: Iaf9f6ff679ea662df46b7da25d212d79097bd9bd
Reviewed-on: http://gerrit.dmdirc.com/3498
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
16dc8c84a7
Convert DCC Plugin to use events.
Change-Id: I136ba57bfa1a421d845351bb6c75b4b35dfb45df
Reviewed-on: http://gerrit.dmdirc.com/3494
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
d1900b8dbe
Use events in lag display.
Depends-On: Id53eb0fba852cf19e80dbd51d6b45fc9fc3dbee6
Change-Id: I3b726667f4575f4f882471984ac821f267838959
Reviewed-on: http://gerrit.dmdirc.com/3496
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
67f0c60ead
Use events for the logging plugin.
Depends-On: Id53eb0fba852cf19e80dbd51d6b45fc9fc3dbee6
Change-Id: Ia4d4aecfc2ea3ec30facdb757182cd34acdd0e30
Reviewed-on: http://gerrit.dmdirc.com/3497
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
75e125283f
Fixes for from removing unknown_command action.
Depends-On: Ibcfc059d943a64494842eab68428ea8351206a09
Change-Id: I06ee87cf6f7795eb3ee07828fb43f4381a465ac3
Reviewed-on: http://gerrit.dmdirc.com/3491
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago