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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
Greg Holmes
50d5d31bcc
Update profile list when profiles change
Change-Id: Ife3bb95f8b8fb36837e6f01d108132362828678c
Depends-On: Idbe3fa49249f84cf31b4d42d041da27850e71061
Reviewed-on: http://gerrit.dmdirc.com/2412
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 роки тому
Greg Holmes
9f541e4ca2
Hack around broken PluginManager listing duplicate plugins.
Issue CLIENT-335
Change-Id: Ieabc6957c7b46fa72e5a752f77b789d5da7dce7d
Reviewed-on: http://gerrit.dmdirc.com/2407
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 роки тому
Greg Holmes
f0a8106539
Fix statusbar only ever showing a single message.
Change-Id: Ia0281cbade9f0598b81790c2c23395c9809559f4
Fixes-Issue: CLIENT-349
Reviewed-on: http://gerrit.dmdirc.com/2406
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 роки тому
Greg Holmes
935f6e7345
Fix wizards being too small on Gnome3
Issue CLIENT-307
Change-Id: I6daa3c646646b71d3afcead999f4d8f302a56c60
Reviewed-on: http://gerrit.dmdirc.com/2402
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 роки тому
Greg Holmes
4f0692166a
Only change titles on mainframe if the window is active.
Change-Id: Id622c08127680600225b7e1e95597d1860938013
Fixes-Issue: CLIENT-316
Reviewed-on: http://gerrit.dmdirc.com/2401
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 роки тому
Greg Holmes
7a428098e6
Tidy up some dodgy code and prevent statusbar popup dialogs showing twice.
Change-Id: I89b0ff65d8689b8b227e0c91e8961b5da5408ae7
Fixes-Issue: CLIENT-337
Reviewed-on: http://gerrit.dmdirc.com/2399
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 роки тому
Greg Holmes
6d83831a44
List channels should be enabled when on a server not in a channel.
Change-Id: I62ed60487672ef8f102907dfb6a4df062fff6e1a
Fixes-Issue: CLIENT-345
Reviewed-on: http://gerrit.dmdirc.com/2390
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 роки тому
Chris Smith
7e1fb6606d
Wrap items in the UpdaterPopup again
Change-Id: I072a86f4836d45548352eccf029cd45486d7fa8d
Fixes-Issue: CLIENT-343
Reviewed-on: http://gerrit.dmdirc.com/2388
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 роки тому
Greg Holmes
0ebb404f2c
Allow topics to be changed on channels without topics.
Change-Id: Ibea6c4270ad60d9b51e1ef3b09f0f9c3261e78e6
Fixes-Issue: CLIENT-341
Reviewed-on: http://gerrit.dmdirc.com/2385
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 роки тому
Chris Smith
10688b17c9
Support for the new updater
Change-Id: Iab5db6ba7738102fbe45e37670f6cfd3c705fd9c
Depends-On: Ia92ef9058621aa0a3cb67dc1fb30a13642580303
Reviewed-on: http://gerrit.dmdirc.com/2382
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 роки тому
Greg Holmes
b89045693b
Redo constructors to cope with dependency injector
Change-Id: Ia38ec1d68e38f638d90c4c2cc2f919adcfef5db8
Fixes-Issue: CLIENT-340
Reviewed-on: http://gerrit.dmdirc.com/2372
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 роки тому
Greg Holmes
e505339ef8
Fix channel list dialog throwing fatal errors when mousing over it.
Change-Id: I5ac9e6679da726f8ca8f977ef7b9c7874bc547eb
Reviewed-on: http://gerrit.dmdirc.com/2361
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 роки тому
Greg Holmes
26392a885a
Increase status bar height (it was a related padding too short).
Change-Id: Ibdb5030ac3905918fcf314c004c980f2956edb09
Reviewed-on: http://gerrit.dmdirc.com/2357
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 роки тому
Greg Holmes
536e89d16a
Fix issues with treeview and status bar on gnome3.
Change-Id: Ib4f7d4cd92109a5c7b8a994a5692d57a2ed9b10f
Reviewed-on: http://gerrit.dmdirc.com/2343
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 роки тому
Greg Holmes
5b091ef9a9
Add a real rowheight again to fix truncated icons in win7
Change-Id: Iac7010bc11cc0a2d4e86df3918087111e80b06ff
Fixes-Issue: CLIENT-304
Reviewed-on: http://gerrit.dmdirc.com/2338
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 роки тому
Greg Holmes
578c9c0bc0
Fix the first run wizard.
Change-Id: I92c41ace9285cd81d7bc286543c0d77e8571ab45
Fixes-Issue: CLIENT-305
Reviewed-on: http://gerrit.dmdirc.com/2337
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 роки тому
Greg Holmes
0bd8222f96
Change Swing debug plugin to use DMDirc windows rather than dialogs.
Change-Id: Ic29bf3495781213b4114769b6ef11013352d5a12
Reviewed-on: http://gerrit.dmdirc.com/2335
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 роки тому
Greg Holmes
c48b8b89ca
Disable OptionJSpinners on creation if state is disabled
Change-Id: Ib4c3ba528b26eb8839822f616b1137895d57ba55
Fixes-Issue: CLIENT-333
Reviewed-on: http://gerrit.dmdirc.com/2317
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 роки тому
Greg Holmes
79cde01781
Ask user for input in PMD not ask for confirmation
Change-Id: I3520a885263f09b2a098b9f3ae371e9835d9b7d4
Reviewed-on: http://gerrit.dmdirc.com/2311
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 роки тому
Chris Smith
4fbf6f235c
Remove @AutoGenMethodStub as it makes Netbeans scan forever :(
Change-Id: I9abd8c4aa315fcbe49f8432bc417efc9d246c981
Reviewed-on: http://gerrit.dmdirc.com/2307
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 роки тому
Greg Holmes
7932ff2d0d
Fix a regression in the topic bar.
The topic bar should only change the topic when the server informs it
the topic has changed, currently this was changing the text regardless
of whether the topic change was allowed.
Change-Id: Ib4979c324e05a29c2f0b066714f4b410d6a7ca77
Reviewed-on: http://gerrit.dmdirc.com/2303
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 роки тому