Greg Holmes
43969f10d1
Remove Unity support.
Change-Id: Ia427f2bcdd11a28d2822a8f3f199f1e020e79072
Reviewed-on: http://gerrit.dmdirc.com/2733
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 vuotta sitten
Chris Smith
81317792d8
Don't access PerformWrapper statically.
Change-Id: I7b6495817f29eeca5f37a011e57db317d645f9e0
Reviewed-on: http://gerrit.dmdirc.com/2726
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 vuotta sitten
Chris Smith
64ff4ac4a8
Remove almost all references to Main.
Change-Id: I26afe84deee38d23275f927d930fd479e900d32a
Depends-On: Idf1c76e81da4eecd499a25f28e363a8150be8ac3
Reviewed-on: http://gerrit.dmdirc.com/2719
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 vuotta sitten
Chris Smith
e09305301b
Use a LifeCycleController to quit.
Change-Id: I2d8bd7b8ab9e4f187e2a89ee43565cdad59502ce
Depends-On: Id6d237f386c6f35844136ceb64b7c46f0af76765
Reviewed-on: http://gerrit.dmdirc.com/2716
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 vuotta sitten
Chris Smith
fdde3a55cd
Remove some usages of Main.
Change-Id: Ie4d579ba97c2c1ed8a727f6548bdd9ae98981bdf
Depends-On: I5f88cccf81f0fb80e2fcf915d453660d5690c8c0
Reviewed-on: http://gerrit.dmdirc.com/2709
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 vuotta sitten
Chris Smith
2fa1a4b70b
Fix various dependencies.
Change-Id: I0d78fdc62431866377a06da819724a49e738b417
Reviewed-on: http://gerrit.dmdirc.com/2703
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 vuotta sitten
Chris Smith
84f6e25645
Simplify getPluginManager calls in the swing UI.
No point calling getMain().getPluginManager() when the controller
has a nice reference you can get at.
Change-Id: I0ed3433cacaa00c08833f456ad5a5f0e65e5ebb8
Reviewed-on: http://gerrit.dmdirc.com/2663
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 vuotta sitten
Chris Smith
74402de369
Update plugins after core Server changes.
Change-Id: I3fff818d6e6694163660a36f47d60271d8f0e68e
Depends-On: I9842c20b4e4ff846c9bbf4858da794a843c3b053
Reviewed-on: http://gerrit.dmdirc.com/2658
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 vuotta sitten
Chris Smith
311830260f
Tidy up Channel/ServerSettings dependencies.
Pass in a SwingController instead of jumping through 3 million
hoops to try and find one. It's simpler that way.
Change-Id: Ie0f8fa459df2c280c17a7de4d0c49eaa29c1a219
Reviewed-on: http://gerrit.dmdirc.com/2660
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 vuotta sitten
Greg Holmes
b982c81d66
Show and hide topic bar appropriately.
Change-Id: Icafe5d6cc14f9afc25c5ee9cb27cc160addc12ba
Fixes-Issue: CLIENT-401
Reviewed-on: http://gerrit.dmdirc.com/2637
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
11 vuotta sitten
Greg Holmes
c4086f2b4b
Add limit to number of status bar messages.
Change-Id: Ib66a989d0384d92da86f6abbbcf1d6dc3db836ea
Fixes-Issue: CLIENT-398
Reviewed-on: http://gerrit.dmdirc.com/2636
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
11 vuotta sitten
Greg Holmes
290fefdf5d
Fix frame buffer trimming preferences.
Change-Id: I9771fdb10564a2b896904ede4b5b32b0ed523977
Reviewed-on: http://gerrit.dmdirc.com/2634
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
11 vuotta sitten
Greg Holmes
72fb07666b
Fix non boolean modes in CSD
Change-Id: Ia1b4d246ebbd0d7fcb6769dbd1f5b6cebc59275f
Reviewed-on: http://gerrit.dmdirc.com/2632
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
11 vuotta sitten
Shane Mc Cormack
98660f137f
Fix some issues with AED.
- When editing an action, you can now add more triggers to it.
- Trigger Item dropdown now only contains the triggers that are compaible but not yet set rather than, all triggers except the last one you added.
- If only a single TriggerGroup exists, automatically select it.
Change-Id: I16b7da978fc9acc99085036a660c10617d5d1bcb
Reviewed-on: http://gerrit.dmdirc.com/2631
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
11 vuotta sitten
Greg Holmes
a70c6c75ae
Bring popped out window to focus when switching keyboard input.
Change-Id: I5e6e7883fb67a65ebfebf6cc1bbac039e5a3ec75
Fixes-Issue: CLIENT-388
Reviewed-on: http://gerrit.dmdirc.com/2623
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
11 vuotta sitten
Greg Holmes
786644a845
Abstract look and feel fixes from MapEntryRenderer.
Change-Id: Icafa0120b789de2fcbe6abdc47db17896ec4b5ca
Reviewed-on: http://gerrit.dmdirc.com/2621
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
11 vuotta sitten
Greg Holmes
eda3c0bb95
Non-opaque tabbedpanes for GTK too.
Change-Id: Ie4a8c64c6dc5093034e238a9028eef1c0eaf4078
Reviewed-on: http://gerrit.dmdirc.com/2622
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
11 vuotta sitten
Greg Holmes
7936f5b213
Initial fixes for really bad GTK experience
Change-Id: I0566a62d28a4123d33eca1ee667c3e9ccae1c5e3
Reviewed-on: http://gerrit.dmdirc.com/2617
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
11 vuotta sitten
Greg Holmes
d4d5394b8f
Don't sort rows unless there are rows
Change-Id: Ifb9e841a70f365c49d19eb2bb12623b5cbd3c835
Reviewed-on: http://gerrit.dmdirc.com/2618
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
11 vuotta sitten
Greg Holmes
2ca4779a17
Add base command plugins
Change-Id: I8bb1e5bc9e2ca965ff3687d365a167c9b5ccc746
Depends-On: I1d49bc2e572e44466193b4851646edb01d303998
Reviewed-on: http://gerrit.dmdirc.com/2613
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
11 vuotta sitten
Greg Holmes
29b7f401a9
Add support for Ubuntu unity menu.
Change-Id: I7d165e8ac29b64068409f0b215534ac6e337193f
Reviewed-on: http://gerrit.dmdirc.com/2616
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
11 vuotta sitten
Greg Holmes
804a88e1a7
Validate swing inputfield on key release.
Change-Id: Ia88fef7d7973df1fd55606b396e0f5955581c129
Fixes-Issue: CLIENT-385
Reviewed-on: http://gerrit.dmdirc.com/2614
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
11 vuotta sitten
Greg Holmes
017e900d1b
Fix broken addon browser.
Download to a valid location. Stop silently failing, show errors to used.
Change-Id: If28e35e2e3dd7f31dd3099349ec8400095edb9af
Fixes-Issue: CLIENT-393
Reviewed-on: http://gerrit.dmdirc.com/2615
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
11 vuotta sitten
Shane Mc Cormack
d30f7690e4
Update copyright for 2013
Change-Id: I1eea04000294c228a8f66464c89f92c1a7cd5321
Reviewed-on: http://gerrit.dmdirc.com/2605
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
11 vuotta sitten
Shane Mc Cormack
ca45e4719f
Revert "Continue main removal"
Revert "Begin removing CommandManager singleton."
This reverts commit eefba0d347 .
Change-Id: Iba86c7f2bf870684e0d41f88d82f16b43d43fe80
Depends-On: I8eb4f70f80292d66e3bdbe9f32766b5f427413c2
Reviewed-on: http://gerrit.dmdirc.com/2600
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
11 vuotta sitten
Shane Mc Cormack
a0a4b2cb23
Revert "Stop using deprecated Command constructor"
This reverts commit 561acbc78c
Change-Id: I5c5ee3725f681451c74c05f8bd007d5eb7178049
Reviewed-on: http://gerrit.dmdirc.com/2594
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
11 vuotta sitten
Greg Holmes
561acbc78c
Stop using deprecated Command constructor
Change-Id: I65539646852b5e1542f23a069a1fe2d68cbf4fa6
Reviewed-on: http://gerrit.dmdirc.com/2591
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
11 vuotta sitten
Greg Holmes
eefba0d347
Continue main removal
Change-Id: I3a6f71f30adf41e02181e474e83385969aad216a
Depends-On: I28c660092aabbc8eeebd9ed4dcc80cb9f3940aaf
Reviewed-on: http://gerrit.dmdirc.com/2590
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
11 vuotta sitten
Shane Mc Cormack
ea680a8d45
Bump parser version.
Bring the Apple class up to date some more.
- NSApplication no longer exists in java on OS X.
- Apple introduced requestUserAttention to Application, so use it there
- Remove no-longer-required interface
- Add new methods from Application
- Tidy up the reflection a bit.
Unfortunately, looks like we still need the native library, as the
OpenURIHandler doesn't appear to work unless java is launched using
Apple's own JavaApplicationStub :/ (Which is another separate native binary
and means we lose the ability to update the client due to not using our
launcher.)
Change-Id: Ia69481b3de7889265ffd848aba8aa2bd51e9acf0
Reviewed-on: http://gerrit.dmdirc.com/2571
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
11 vuotta sitten
Shane Mc Cormack
11e80671c4
Desingleton PluginManager (and as a side-effect, ServerManager).
Depends-On: I4a3d9b78a5f80aab0330d0906e8c76d00813c97c
Change-Id: I72fe837b5ea2352ae0c695948336efcdd92c09c8
Reviewed-on: http://gerrit.dmdirc.com/2522
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
11 vuotta sitten
Shane Mc Cormack
b591d5a331
Make main less static.
Don't ask Main for the config directory.
Remove getMain() from Main.
Everything that needs a main now either gets given it, or asks something else.
Unfortunately, a few more dependencies on the static IdentityManager.getIdentityManager()
were introduced, but they can be tackled separately.
Fix unit tests for the above.
Depends-On: I9e42ac7f74453b739209a681d0a31f50c1be2a04
Change-Id: Ib5a9fdea5a2e25d5471d0b849f4f65fa0286d1f8
Reviewed-on: http://gerrit.dmdirc.com/2521
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
11 vuotta sitten
Greg Holmes
fedcadfd0a
Convert between model and view for row selection.
Change-Id: I20a39179dc21d8c183096a6ef557a746545c02fe
Fixes-Issue: CLIENT-369
Reviewed-on: http://gerrit.dmdirc.com/2476
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 vuotta sitten
Greg Holmes
8f7991aa3c
Tidy up some threading in MainFrame.
Change-Id: Icd048f3eac41cdd31d7d3944fa36eaf78317ee21
Reviewed-on: http://gerrit.dmdirc.com/2474
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 vuotta sitten
Greg Holmes
1b8961d442
Fix long ruynning bug where the DCC plugin doesn't work.
Change-Id: I77c811c20850e35edd30931425c12938a9562d1c
Reviewed-on: http://gerrit.dmdirc.com/2473
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 vuotta sitten
Greg Holmes
ae65b221aa
Pass caret position into input handler.
Change-Id: Ibdd698a09cd14affb5d88f3156cbb582d0bde047
Depends-On: Ia5bcb212121521a73c14b14f8f827756e2f0a29d
Reviewed-on: http://gerrit.dmdirc.com/2471
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 vuotta sitten
Greg Holmes
2b0dc53a8d
Add new method for invokeAndWait using Callable not ReturnableThread
Change-Id: Ic0edb15c06533c0df5bc78f0f6878ca5ae98d9d0
Reviewed-on: http://gerrit.dmdirc.com/2465
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 vuotta sitten
Shane Mc Cormack
79056d1075
Detect new and old names for apple look and feel.
Fix Apple Menu Items to actually work for the first time since November 2010 (db95f29d75 )
This should probably be backported also along with I6b31f255981dd064ef19bea2b84e8389d63e71c3 but is less important.
Change-Id: I325f91b0a2f9cf033f47138330abad132a77bf9a
Reviewed-on: http://gerrit.dmdirc.com/2467
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 vuotta sitten
Shane Mc Cormack
28a5bf7f14
Prevent "Apple" class being given a null config.
0.6.7 for OS X will need rebuilding to include this fix.
Change-Id: I6b31f255981dd064ef19bea2b84e8389d63e71c3
Reviewed-on: http://gerrit.dmdirc.com/2466
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 vuotta sitten
Greg Holmes
61d33d4471
This code is really not required, might even fix an issue.
Change-Id: I91d336926db51db0d6332afc78f78bc0058ba998
Fixes-Issue: CLIENT-359
Reviewed-on: http://gerrit.dmdirc.com/2464
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 vuotta sitten
Greg Holmes
02bee41e74
Fix textpane being unable to display a single line.
Change-Id: Ifd60765e87ecbc2fc6f4401f61c143e1e4e5eae3
Fixes-Issue: CLIENT-362
Reviewed-on: http://gerrit.dmdirc.com/2463
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 vuotta sitten
Greg Holmes
b1fb7f5ef8
(Almost) Generic background image painter
Change-Id: I5daa7330e62f3d3c04d2c3250ecf3ac2ca9320b3
Reviewed-on: http://gerrit.dmdirc.com/2461
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 vuotta sitten
Greg Holmes
d2e06ff050
Fix for errant new line notifications in the textpane.
Change-Id: I26df38d66cd8d3a32a34ff3becc1a561a2aa89df
Fixes-Issue: CLIENT-361
Reviewed-on: http://gerrit.dmdirc.com/2456
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 vuotta sitten
Greg Holmes
38d9202806
Simplify with lombok
Change-Id: I2b03cce6ee8752f5d367d8cc1e614f4a6c8de5e4
Reviewed-on: http://gerrit.dmdirc.com/2460
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 vuotta sitten
Greg Holmes
c8a0e27a20
Associated changes for prefs tidy up.
Change-Id: Id8e090709271b6a908bc56273b9ff8dfd180370d
Depends-On: I428aa1596e7d41e6842175d805d88a4421c1b764
Depends-On: Iadcf92d4390034828d005a9c9e92d9a8ba189c99
Reviewed-on: http://gerrit.dmdirc.com/2453
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 vuotta sitten
Greg Holmes
3971b17a38
Associated changes from core commit
Change-Id: I17790a0e71a6c004a088a6eb51332293b23062a4
Depends-On: Iadcf92d4390034828d005a9c9e92d9a8ba189c99
Reviewed-on: http://gerrit.dmdirc.com/2454
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 vuotta sitten
Greg Holmes
ec14d94f2e
Improve unit tests for profile manager dialog, fix bugs they found.
Change-Id: I9741fee955a4eef2449ed2f93a06b8b7b80c5504
Reviewed-on: http://gerrit.dmdirc.com/2435
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 vuotta sitten
Greg Holmes
f43fec4162
Fix truncating treeview node labels.
Change-Id: I9fc697bf7cf8cd362f2d76696d2207ef5d40b7f8
Fixes-Issue: CLIENT-358
Reviewed-on: http://gerrit.dmdirc.com/2427
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 vuotta sitten
Greg Holmes
5615637738
Ad support for runtime changing of global fonts.
There is at least one known bug with this, probably more.
Change-Id: Ibf68730eecf063ff18a7a93d9f384666dc475b63
Fixes-Issue: CLIENT-357
Reviewed-on: http://gerrit.dmdirc.com/2426
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 vuotta sitten
Greg Holmes
cab1a30516
Fix broken button bar.
Change-Id: I15d8740a80b35b8e2c489df7af6a4e31394a7258
Fixes-Issue: CLIENT-356
Reviewed-on: http://gerrit.dmdirc.com/2425
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 vuotta sitten
Greg Holmes
545e4a029f
Channel list is now sortable
Change-Id: Id96b2279573b44e24f408f15cba71b38f1b804e0
Fixes-Issue: CLIENT-346
Reviewed-on: http://gerrit.dmdirc.com/2395
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
12 vuotta sitten