Chris Smith
4ca4bd5d1d
Use @PluginDomain in a few places.
Change-Id: Iac7e1032d07efacf95d8179b09fd352ba0d6c558
Reviewed-on: http://gerrit.dmdirc.com/3186
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 лет назад
Greg Holmes
c2887266fe
Tidy warnings
Change-Id: I5e1e8a6eabd136666775666144e67664edccc84c
Reviewed-on: http://gerrit.dmdirc.com/3164
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 лет назад
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 лет назад
Chris Smith
e5c04b4a97
Start injecting TextPane dependencies.
Bundle them up in a static class to avoid having to pass a million deps
around in each and every subclass.
Change-Id: I581e39f9da6f7a4b79ab69d043de4c81111e9b52
Reviewed-on: http://gerrit.dmdirc.com/3064
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 лет назад
Chris Smith
53c0284632
Remove some more SwingController references.
Change-Id: I82bf2ea9980123409a7d33efc787cb3b6d64d446
Reviewed-on: http://gerrit.dmdirc.com/3059
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 лет назад
Greg Holmes
27f467bf4f
Remove lombok from plugins
Change-Id: I30199c4047226537fbfb62de5aab1f228c81d74e
Reviewed-on: http://gerrit.dmdirc.com/3005
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 лет назад
Greg Holmes
4497d419d7
Refactor BackgroundPainter, mostly removing lombok
Change-Id: I31c1db9d85e332103c6ce92ef69283f038451cb6
Reviewed-on: http://gerrit.dmdirc.com/3003
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 лет назад
Shane Mc Cormack
c7990ef968
Update Copyright to 2014
Change-Id: I3e4fd86a0d19f5167506df5986f7ec256b224820
Reviewed-on: http://gerrit.dmdirc.com/2979
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 лет назад
Greg Holmes
a9354e7b54
Java 7 conversions
Change-Id: Ic204dbad72378455b5cd9dbd66d29dacf31ddd9c
Reviewed-on: http://gerrit.dmdirc.com/2895
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 лет назад
Greg Holmes
e7301384cc
Tidy up javadoc
Change-Id: I428d39dedd0380a783bb612ab6ff4176302eb157
Reviewed-on: http://gerrit.dmdirc.com/2884
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 лет назад
Chris Smith
37d3c18858
Remove UrlBuilder.buildUrl calls.
Change-Id: Ifac49c2ee45e8b518c33eb4491a80513fdd3e76f
Reviewed-on: http://gerrit.dmdirc.com/2836
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 лет назад
Chris Smith
526cb3e37b
Use config interfaces where possible.
Change-Id: I5f140e89bfb8c57804d0a500bbc9f5c18555b0e9
Depends-On: Iaabedda2fa68c4e5562bb069dcdf15fa0c3beeea
Reviewed-on: http://gerrit.dmdirc.com/2767
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 лет назад
Chris Smith
28e3529e08
Handle stuff moving.
Change-Id: I94416680dfa9f0ee4896f5a6518889c6eb891909
Depends-On: I8d791451ead4b37f9181a9741e127cbc8b514d46
Reviewed-on: http://gerrit.dmdirc.com/2753
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 лет назад
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 лет назад
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 лет назад
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 лет назад
Shane Mc Cormack
f40fbcff29
Update copyright for 2012
Change-Id: I559bbd9a7e6abdfc73068d4934cfb0fc9f7ce84c
Reviewed-on: http://gerrit.dmdirc.com/2289
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 лет назад
Chris Smith
c7e9a3c076
Fix fallout from util changes
Change-Id: Ia8de3c1a5fdc1eb9cfaa8b29a32bb3efb6d8ce6f
Depends-On: I0bfd2dc61096dd9670b269463c27d9b00fd9a917
Depends-On: I6d0665e57f6e0e2ff2fb6a18742acb99010e79bf
Reviewed-on: http://gerrit.dmdirc.com/2241
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 лет назад
Greg Holmes
41c77ef7ed
Move interfaces to a central location.
Depends-On: If624693f050e1aa9cf4cabcd5264518604eb8bcd
Change-Id: I862891efc407a64559788812ee039a9ec565a973
Reviewed-on: http://gerrit.dmdirc.com/2166
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
13 лет назад
Greg Holmes
d1ceb47ed4
Fix new lines at ends of files
Change-Id: I9989f381e08c8c3c00ebb82427042247d428dc69
Reviewed-on: http://gerrit.dmdirc.com/2078
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 лет назад
Greg Holmes
4e45644e2a
Take document trimming into account with new line indicator.
Fixes CLIENT-272
Change-Id: I7fadc16777bfd6f5a5de180d4a747e03aaf1a841
Reviewed-on: http://gerrit.dmdirc.com/2076
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 лет назад
Greg Holmes
85a02e5f38
Change header?
Change-Id: Id75a4947fe4c2a08460b4ee9e6e481c568d0c6d3
Reviewed-on: http://gerrit.dmdirc.com/2074
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 лет назад
Greg Holmes
3096dc6684
Fix a couple of style errors in the textpane
Change-Id: If8dcad12e4332150c23149e1714570d09a372ff8
Reviewed-on: http://gerrit.dmdirc.com/2039
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
13 лет назад
Greg Holmes
5f76f5b75c
Remove windows from commands
Change-Id: I895be099fa526e4e4b566e7178120b5d1ad0912c
Depends-On: I5b6e7e2ca81d114028fef6cac0d88498def62ea0
Reviewed-on: http://gerrit.dmdirc.com/2012
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 лет назад
Chris Smith
f5fff70ef4
Fix line endings / trailing spaces
Change-Id: Id0a4aa086f7fb9bac776ec4c877aa8628175c0bc
Reviewed-on: http://gerrit.dmdirc.com/1921
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 лет назад
Greg Holmes
118a2c0502
Remove deprecations
Depends-On: I5ebf0bd52682cd0b1798d1b1b54353e5e65e793f
Change-Id: Ic938a7785a30477f47074e574ec8311723d803a9
Reviewed-on: http://gerrit.dmdirc.com/1839
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 лет назад
Chris Smith
9407dbe848
Fix textpane passing wrong length to getStyledText
Fixes CLIENT-165
Change-Id: I4c304112cc590b57965e9304b68a6cdbd63debd3
Reviewed-on: http://gerrit.dmdirc.com/1778
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
13 лет назад
Greg Holmes
9db9d75245
Revert "Attempt to make textpane slightly more readable and individual methods less complex."
This reverts commit b169e345b7 .
Fixes CLIENT-157
Change-Id: I6833303f489a61f13869a02ace0875492e0211e1
Reviewed-on: http://gerrit.dmdirc.com/1766
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 лет назад
Shane Mc Cormack
e1106c80db
Update Copyright
13 лет назад
Greg Holmes
b169e345b7
Attempt to make textpane slightly more readable and individual methods less complex.
Change-Id: Ieee6cadb220ca799bd9e0f1919093a528f5507f5
Reviewed-on: http://gerrit.dmdirc.com/1711
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 лет назад
Greg Holmes
b732f4bd16
PMD Fixes for plugins
Change-Id: I16cbfad94712946435c2be40ed0f2d25733bf354
Reviewed-on: http://gerrit.dmdirc.com/1700
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 лет назад
Greg Holmes
4a4a169e27
Fix PMD errors in plugins.
Change-Id: I7953fd2c0bbadb5a30188641a25352c10905416c
Reviewed-on: http://gerrit.dmdirc.com/1691
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 лет назад
Greg Holmes
99d5c3ce6b
Fix textpane not selecting last line again.
Change-Id: Iade85420d564aed7f55cfbca323cf0a8824965bc
Reviewed-on: http://gerrit.dmdirc.com/1681
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 лет назад
Greg Holmes
d74d6d7d62
Rely less on document for internal state. Code tidying.
Fixes issue CLIENT-118
Change-Id: If70f0377b7853bf4b103380c0038cf49e9651f93
Reviewed-on: http://gerrit.dmdirc.com/1678
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 лет назад
Greg Holmes
e9e29b9b81
Allow copying text from last line of the text pane.
Fixes issue CLIENT-124
Change-Id: I573d28237c6f69ebd4a07fefd9b65b0533ba0936
Reviewed-on: http://gerrit.dmdirc.com/1635
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 лет назад
Greg Holmes
325cd82a5a
Show second line of textpane.
Fixes issue CLIENT-121
Change-Id: I1180d0e5b7f014bdb2474e370e5ef8171861fd74
Reviewed-on: http://gerrit.dmdirc.com/1634
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 лет назад
Gregory Holmes
79e80af379
Add option for new line notifications in textpane.
Fixes issue CLIENT-114
Change-Id: Ib96d072df16e86038005a76550acebfa6db3fb48
Reviewed-on: http://gerrit.dmdirc.com/1626
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 лет назад
Chris Smith
7f35856fc4
Fix bizarre crazy amazing textpane line counting bugs
Fixes CLIENT-112
Change-Id: Ieef8fb645b0da38bc518d57e38515e8ff0e391f1
Reviewed-on: http://gerrit.dmdirc.com/1618
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 лет назад
Chris Smith
268bbc8dbd
Fix a couple of minor new line indicator bugs
Fixes CLIENT-113
Change-Id: I473ed4ab019cdbe78a2075e1cbd43a3b1d86a28b
Reviewed-on: http://gerrit.dmdirc.com/1615
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 лет назад
Gregory Holmes
14ee5ff8cf
Add new line indicator to textpane.
Fixes issue CLIENT-9
Change-Id: Ieaa6fe6aa0e0622fccc93b56e6bfd357ddaa2a8e
Reviewed-on: http://gerrit.dmdirc.com/1613
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 лет назад
Greg Holmes
1ddd2945da
Revert "Cache positions of lines for faster repaints."
This reverts commit 0601199033 .
Fixes issue CLIENT-73
Fixes issue CLIENT-74
Change-Id: Iee9f842af81df4360a5dc7e3d6e6003f604c8033
Reviewed-on: http://gerrit.dmdirc.com/1546
Automatic-Compile: Greg Holmes <greg@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 лет назад
Greg Holmes
0601199033
Cache positions of lines for faster repaints.
Change-Id: I1b40e3d6c48bf245a00b895ccd82ed16a1b849bf
Reviewed-on: http://gerrit.dmdirc.com/1512
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
13 лет назад
Greg Holmes
7f6dcc101b
Remove code duplication in TextPane getSelectedText.
Fixes issue 4447
Change-Id: Ia5844908d2ab6eeed238423338cfe05c10da7bb2
Reviewed-on: http://gerrit.dmdirc.com/1502
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 лет назад
Greg Holmes
a11717df19
Adds control code copying
Fixes issue 2179
Change-Id: I4586bd633728e29131a2f59155da7d7d2f920aea
Reviewed-on: http://gerrit.dmdirc.com/1487
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
14 лет назад
Greg Holmes
68056e36d6
Check is there is text to select before enabling copy item.
Fixes issue 4351
Change-Id: I2d14306b26843c1982c27569e918a95c034baba7
Reviewed-on: http://gerrit.dmdirc.com/1461
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
14 лет назад
Greg Holmes
a850a25acb
Add executor for swing workers, make everything use it.
Fixes issue 4339
Change-Id: I76de3c3bedc17d99766574dbab02a03f019e8d12
Reviewed-on: http://gerrit.dmdirc.com/1450
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 лет назад
Greg Holmes
3fe3e0f424
Don't add null components to prefs panels, show error.
Remove unused imports in TextPaneCanvas.
Fixes issue 4330
Change-Id: Ifbb3b71e6a954f4700273961025b319b6d5174cd
Reviewed-on: http://gerrit.dmdirc.com/1446
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 лет назад
Greg Holmes
7d62be83b0
Do something when background images are unset...
Fixes issue 4328
Change-Id: Ideed3c645fd0e380b9b38a70c2832f105a0897d0
Reviewed-on: http://gerrit.dmdirc.com/1442
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 лет назад