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 >
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 лет назад
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 лет назад
Greg Holmes
597aefda47
More null checking in textpane highlighting code
Fixes issue 4191
Change-Id: I743ac78735e1597905b0ef16dd1ab5fc8ebb39ca
Reviewed-on: http://gerrit.dmdirc.com/1289
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
14 лет назад
Greboid
3fefcc2cfa
Remove use of deprecated methods
Change-Id: Ic8894d6baba0065b4d928300625de2ca19e168d6
Reviewed-on: http://gerrit.dmdirc.com/1160
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 лет назад
Greboid
c758701a6d
Fixes issue 4007
Wow, thats ugly code, bonus feature discovery (its up to you to figure out the
crazy IPv6 FTP stuff it's doing if you care)
Change-Id: I67ca079365ad40891f5cefab18f36f2ff68d1a30
Reviewed-on: http://gerrit.dmdirc.com/1121
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 лет назад
Greboid
edb59167dd
Moves IRCDocument to core
Change-Id: I2fa8c96d437fc060beddcca7d8f14d77e462092d
Reviewed-on: http://gerrit.dmdirc.com/1084
Automatic-Compile: Chris Smith <chris@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 лет назад
Greboid
f977975740
Major surgery on mouse events in the textpane.
Fixes issue 3975
Fixes issue 3947
Fixes issue 3946
Fixes issue 3928
Change-Id: If4d35bde4230243e541bf73cc68dbda0f7382b92
Reviewed-on: http://gerrit.dmdirc.com/1039
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 лет назад
Chris Smith
e024e3e3ca
Show tooltips in the textpane
Fixes issue 3931
Change-Id: Ic61c2cdcb8a1a24787ec0afb218b3561a585b6e1
Reviewed-on: http://gerrit.dmdirc.com/1054
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 лет назад
Greboid
858997a20e
Fixes issue 3928
Same code == same hitboxes == impossible (I can't reproduce so can't test)
Change-Id: Ieb5ab99668777389b861aa158aee87bada7783a0
Reviewed-on: http://gerrit.dmdirc.com/1032
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 лет назад
Greboid
184d8017b1
Fixes issue 3890
Rework selection behaviour in the inputfield and the textpane.
Change-Id: Ie6cec6c1885124ba3e96b549fdfb86fcf76edcf5
Reviewed-on: http://gerrit.dmdirc.com/1013
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
14 лет назад
Greboid
9abab99098
Fixes issue 3885
Work around stupid API behaviour in java.
Change-Id: I3f52e644f8337807b045654024669cc453c3bbe3
Reviewed-on: http://gerrit.dmdirc.com/1014
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 лет назад
Greboid
42c0630607
Fixes issue 3855
Change-Id: I3454bf080eb581e6c49eafd773c5544ccab01434
Reviewed-on: http://gerrit.dmdirc.com/969
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
14 лет назад
Greboid
9a8fd6a92d
Fixes issue 3849
Textpane now investigates highlight events that dont touch a line, if the event
is above the first line the first line is selected, if the event if below the
last line the last line is selected.
Change-Id: Id99f11bee2215e361b4da5726f88c56d5ba95cc4
Reviewed-on: http://gerrit.dmdirc.com/967
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 лет назад
Greboid
09cefa8836
Fixes issue 3839: Textpane selection is still broken when selecting downwards (when cursor is between two lines)
Change-Id: Ib9656cc9bb37d9041ef6d33b6492854a066e1d2f
Reviewed-on: http://gerrit.dmdirc.com/953
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 лет назад
Greboid
6592de93c8
Adds methods to ask for insertion indexes or character indexes in the textpane
Fixes issue 3836: Link hitboxing needs to ignore insertion indexing and use character indexing
Change-Id: I24c2cadccc3a95125b7d714602094de377d191d2
Reviewed-on: http://gerrit.dmdirc.com/952
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 лет назад
Greboid
407683fa35
Fixes issue 3835: Textpane selection breaks when moving mouse below textpane during selection
Change-Id: Ibfe20ebdaa6d724bb8197aa24682df14c5e752d8
Reviewed-on: http://gerrit.dmdirc.com/947
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
14 лет назад
Greboid
8659e5a66c
Fixes issue 3801: Custom fonts break line hitboxing
Change-Id: I690db311d9472b1f8015f408f0643150842b84ad
Reviewed-on: http://gerrit.dmdirc.com/945
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
14 лет назад
Greboid
99c7c446bb
Adjust the hitboxes magically
Fixes issue 3833
Change-Id: Id90dc43d9228ce7a8530031c6be4d836243cf552
Reviewed-on: http://gerrit.dmdirc.com/943
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 лет назад
Gregory Holmes
c5010ce03f
Fixes issue 3801: Custom fonts break line hitboxing
Change-Id: I7915af993b086366d52a9e375c359923598a25ce
Reviewed-on: http://gerrit.dmdirc.com/906
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 лет назад
Gregory Holmes
32bf4a6554
Fixes issue 3776: Quick copy doesn't work for double/triple clicks
Change-Id: Id16f25b753c4c6568348c22e72017235dd1d442f
Reviewed-on: http://gerrit.dmdirc.com/881
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 лет назад
Gregory Holmes
b776b0ef47
Remove some duplicated code from the textpane (feel free to leave this until after release, but it doesn't change anything)
Change-Id: I9568496fa012592871660c61f1a2c9e86d2325ec
Reviewed-on: http://gerrit.dmdirc.com/853
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 лет назад
Gregory Holmes
5705722aa9
Remove some unused code in the textpane
Change-Id: I3caf52b5b532202bd65c995c4b61e3cd51915118
Reviewed-on: http://gerrit.dmdirc.com/852
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 лет назад
Gregory Holmes
b61555c8c6
Fixes issue 3642: Invalid URLs for background images causes an exception
Change-Id: I080acad5cc07e7b1a6dd98f56e3b5d4ee3f45882
Reviewed-on: http://gerrit.dmdirc.com/659
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
14 лет назад
Gregory Holmes
229c3c620a
Fixes issue 3596: support background image in desktoppane.
Change-Id: I86b856491379b78eeb8166bcc6a2f0b5e5ebc039
Reviewed-on: http://gerrit.dmdirc.com/578
Automatic-Compile: Gregory Holmes <greboid@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 лет назад
Gregory Holmes
176d9cc0ef
Fixes issue 1811: Background Images in the text pane
Change-Id: I70616e8749f066af6b24ab0a934e94def37671e6
Reviewed-on: http://gerrit.dmdirc.com/415
Reviewed-by: Chris Smith <chris@dmdirc.com >
Tested-by: Chris Smith <chris@dmdirc.com >
14 лет назад
Gregory Holmes
a0d4f9b68a
Fix textpane background caching for the life of the JVM
Change-Id: I5e607e229795c0a535651d7b97a418a11695d591
Reviewed-on: http://gerrit.dmdirc.com/413
Tested-by: Gregory Holmes <greboid@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
Tested-by: Chris Smith <chris@dmdirc.com >
14 лет назад
Gregory Holmes
51bd399989
URLBuilderify textpane, crazy
Change-Id: I97b1f1866cfb9250885582815bc47596abbfb98c
Reviewed-on: http://gerrit.dmdirc.com/412
Tested-by: Gregory Holmes <greboid@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
Tested-by: Chris Smith <chris@dmdirc.com >
14 лет назад
Gregory Holmes
8145fb5d5e
issue 1811: Background Images in the text pane
Change-Id: Ibb88c32e235a22cccef74ddf78e74761a45f5fca
Reviewed-on: http://gerrit.dmdirc.com/400
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 лет назад
Shane Mc Cormack
86a7294aac
Import Plugins
14 лет назад