Chris Smith
a7fe27227e
Support for core config provider changes
7 년 전
Chris Smith
8bbc292101
Update copyright.
7 년 전
Chris Smith
cda455a87e
Remove some uses of Window.
Window only has a getContainer() method, so we may as well just
pass a WindowModel around instead.
8 년 전
Chris Smith
a55aa85f2e
Restructure to standard maven/gradle layout.
Stop swimming against the tide and accept what most of the rest of
the world does.
While it adds an annoying depth to the actual source code, it makes
the root directory nicer (no more 'test-res' dirs), means we don't
have to override the gradle config, and makes it nicer to work in
IDEA 2016.1.
8 년 전
Shane Mc Cormack
ef35f746ad
2015!
9 년 전
Chris Smith
7a348af9db
Plugin support for core changes.
9 년 전
Greg Holmes
0e51c50513
Way, way too much tidying in one go.
9 년 전
Chris Smith
075d454abb
More J8 improvements.
9 년 전
Chris Smith
17515f0619
More TextPane tidying.
Change to using Rectangle2D.Float to avoid having to cast all
of the co-ords and dimensions to ints.
Remove a magic 1.5 in the calculations in favour of using the right
properties of the text.
9 년 전
Chris Smith
9547eb0a17
Fix some TextPane layout weirdness.
Stop adding descents all over the place. This stops the highlight
rectangles being slightly offset and allowing descenders to peek
out.
Also adjust the initial Y offset to include padding, and increment
it in the right place.
9 년 전
Chris Smith
a95233c047
Fix text pane performance regression.
I was wrong -- lineLayouts didn't need to be sorted. Making it
a TreeMap was quite expensive, as it had to do a bajillion
comparisons each time a line was added (which happens every
render cycle).
9 년 전
Chris Smith
d91148c2a4
Split out a LineRenderer class.
This handles the direct rendering of a line, including highlighting
and wrapping.
Also change how the TextPaneCanvas stores its various properties,
so it's not doing lookups in multiple maps at once.
Issue #10
9 년 전
Chris Smith
c56d2024d9
Bit more tidying.
9 년 전
Chris Smith
9a4af07e82
TextPaneCanvas tidying.
Use new LinePosition method.
Split some of the huge methods up into smaller ones.
Fix some Netbeans-induced wonky line wrapping.
9 년 전
Chris Smith
0562a418fe
Tidy some logic, fix weird line wrapping.
Change-Id: I90e6c24ea0bd1520a6dd9e2588016dc0b4e8b66e
Reviewed-on: http://gerrit.dmdirc.com/4083
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 년 전
Chris Smith
9cc8bc7b40
Use new util methods, tidy a bit more.
Change-Id: I2c49b891e08fe020773acddf1b0160f0eb641d79
Reviewed-on: http://gerrit.dmdirc.com/4082
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 년 전
Chris Smith
14bbfdb785
Tidy some perfectly normal classes.
I'm not insane. This isn't dangerous. /me runs
Change-Id: I1eb7e1c413e491c539920d960b6ab9cd497e6ece
Reviewed-on: http://gerrit.dmdirc.com/4080
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 년 전
Chris Smith
93d405608c
Gradle-ify the plugins.
* Move all plugins to their own top-level directories.
* Move resources out of source trees
* Add Gradle build scripts.
* Remove ivy and ant build scripts.
Change-Id: Ib69a48ef26800c174ccf51c84ff9d1f73529460f
Depends-On: I303b6b69518468f98d48d835b8f40135d9e4bcbf
Reviewed-on: http://gerrit.dmdirc.com/3850
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 년 전
Chris Smith
a1b01276bb
Tidying.
Remove pointless super() calls.
Remove redundant interface decs.
Remove unnecessary enum annotations.
Change .length == 0 to .isEmpty.
Change-Id: Idadc982cc8f37aec4404ec8ec26d0a5b1f0515ad
Reviewed-on: http://gerrit.dmdirc.com/3842
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 년 전
Chris Smith
9c4991af86
Final all the things.
Change-Id: I6d3651c56721206eb996c0a8a08cf6f69320deb1
Reviewed-on: http://gerrit.dmdirc.com/3837
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 년 전
Chris Smith
f105588129
Remove pointless inheritDocs.
Change-Id: I28f9a7302f10f82889e19c2a35eff8d55f4c41c0
Reviewed-on: http://gerrit.dmdirc.com/3807
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 년 전
Chris Smith
a2b3b7db63
Minor tidying
Change-Id: I37cb3ccfc87eee660d6e9d765b317d18bfbd8d16
Reviewed-on: http://gerrit.dmdirc.com/3689
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 년 전
Greg Holmes
ab609c49ca
Pointless javadoc change.
Change-Id: I96e4ec1eb66496840514cc81ab1c39bc90244cf6
Reviewed-on: http://gerrit.dmdirc.com/3400
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 년 전
Chris Smith
b7dbb5dd6c
Bulk remove inheritDoc.
Change-Id: I34cf63e7b9307b35de53b48165e4ba71a50213ab
Reviewed-on: http://gerrit.dmdirc.com/3274
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@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 년 전
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 년 전
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 년 전
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
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 년 전
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
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
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 년 전
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 년 전
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
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 >
13 년 전
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 년 전
Greg Holmes
995c60a216
Tidy up TextPaneCanvas a little
Change-Id: Ic091b3b8230222edf0c17dd0839f1ccfbf6bf25e
Reviewed-on: http://gerrit.dmdirc.com/1438
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
14 년 전
Greg Holmes
4c692b576a
Check for empty iterator before adding styles.
Fixes issue 4206
Change-Id: Iac3dba3a5856a56f24776336ba532f6f5b87c65b
Reviewed-on: http://gerrit.dmdirc.com/1383
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
14 년 전
Chris Smith
6b0a81a27b
Style fixes
Change-Id: I1a3166e5b4f21430b119f5a2692c8554e192aec1
Reviewed-on: http://gerrit.dmdirc.com/1329
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 년 전
Greg Holmes
8016183432
Import order fixing
Change-Id: I96c3ad666c6a176d5289f47c02ba6a524ee34172
Reviewed-on: http://gerrit.dmdirc.com/1327
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
14 년 전