Chris Smith
d8a352aaf7
Add bundle for config providers.
vor 7 Jahren
Chris Smith
4c35da850d
Update copyright.
vor 7 Jahren
Chris Smith
89a09f4760
Extract an interface for Line.
vor 7 Jahren
Chris Smith
ae5a5e7251
Extract interfaces for BackBuffer and IRCDocument.
vor 7 Jahren
Chris Smith
d15111ddd3
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.
vor 8 Jahren
Chris Smith
513120b5be
Convert events to use new date APIs.
Java 8 introduces a sane API for dates; to store datettimes
we should now be using LocalDateTime.
vor 8 Jahren
Shane Mc Cormack
9f3fcd1b59
2015!
vor 9 Jahren
Chris Smith
4e08e30616
Separate most swing logic from core model.
This introduces a CachingDocument which wraps around an IRCDocument
and allows UI-specific caching of UI-specific styled lines (so, e.g.
the web UI could cache HTML versions if it wanted).
Also adds a delegating message maker and attributed string maker,
which incorporates the old "make a StyledDoc then change it into
an AttributedString" logic found in ui.core.util.Utils.
Hopefully this should mean all the the swing stuff can be punted
into the swing UI. The delegated maker will also allow colouring
of the new events to be done sensibly, I think.
vor 9 Jahren
Chris Smith
2e45dfbbe0
Store display properties in Line.
vor 9 Jahren
Chris Smith
cb776d84ae
Tidy up trimming.
vor 9 Jahren
Chris Smith
9523367174
Replace old addText method with new one.
vor 9 Jahren
Chris Smith
1512e3cbbd
Remove unused methods and tidy a little.
vor 9 Jahren
Chris Smith
b8e17af365
Add method to add line with a timestamp.
vor 9 Jahren
Chris Smith
09e76c8f7e
Make Line aware of timestamps.
Not sure why we went for String arrays - all lines have a timestamp
and some text. Store this sensibly.
vor 9 Jahren
Chris Smith
e69d7aee10
Add back buffer entries based on events.
Any formattable DisplayableEvent received on a frame container's
event bus is now automatically added to the IRC Document.
Current problems:
1) Every time this happens the old path still executes, so you
end up with two lines
2) Every event on a channel's event bus gets passed to the
server's, so the lines appear there as well.
vor 9 Jahren
Greg Holmes
5ed53e40dd
Remove (nearly all) Logger usages.
vor 9 Jahren
Chris Smith
d11784d24a
Use Stream API in place of foreach loops.
This is IDEA's automatic inspection, so stuff may be a bit wonky.
vor 9 Jahren
Chris Smith
f6bf1c96ab
Remove pointless inheritDocs.
Change-Id: I0f9d7bf81ceaa80891279ffa9ff905691474edb0
Reviewed-on: http://gerrit.dmdirc.com/3805
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
vor 9 Jahren
Chris Smith
3091940b40
Lots of typo fixes.
Change-Id: I362e53fc9f05497f48dac4951991b79daebfdb81
Depends-On: Ide5afea6d4e7ba04cf3226f10e1ea530e1a60c10
Depends-On: Ic2a1b97aa44e9168bae4a1e28941208e7711bb46
Reviewed-on: http://gerrit.dmdirc.com/3743
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
vor 9 Jahren
Greg Holmes
357a35433d
Pointless javadoc change.
Change-Id: If2a92795b1db6c63e359fb4bc1d79a4bc569110a
Reviewed-on: http://gerrit.dmdirc.com/3399
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
vor 10 Jahren
Chris Smith
54b1c20e0d
ui.framebuffersize is required.
If we pass required = false then the config manager will happily
return null if it encounters a disabled optional setting. We
don't accept null so that's a bit daft.
Change-Id: I37934ba15877b8c0caf188b5f80e3353c8555134
Fixes-Issue: CLIENT-491
Reviewed-on: http://gerrit.dmdirc.com/3333
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
vor 10 Jahren
Chris Smith
f538c53f86
Fully configure the NB formatter and let it loose.
Change-Id: I7e8052839daa79fa113b89fd0b8c1c892a605b73
Reviewed-on: http://gerrit.dmdirc.com/3122
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
vor 10 Jahren
Shane Mc Cormack
12b39dc0f8
Update Copyright to 2014
Change-Id: Id0904867640e49e12fca5c1c7c5b9e72c78e3a1b
Reviewed-on: http://gerrit.dmdirc.com/2976
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
vor 10 Jahren
Chris Smith
a335bf1208
Use config interfaces where possible.
Change-Id: Iaabedda2fa68c4e5562bb069dcdf15fa0c3beeea
Depends-On: I5f140e89bfb8c57804d0a500bbc9f5c18555b0e9
Reviewed-on: http://gerrit.dmdirc.com/2768
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
vor 10 Jahren
Chris Smith
b354ebdb70
Move old config interfaces into config folder.
Change-Id: I8d791451ead4b37f9181a9741e127cbc8b514d46
Depends-On: I94416680dfa9f0ee4896f5a6518889c6eb891909
Reviewed-on: http://gerrit.dmdirc.com/2754
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
vor 10 Jahren
Shane Mc Cormack
b87e3ba335
Update copyright for 2013
Change-Id: Idf38f5027a92166daf99039de75b759d47431de1
Reviewed-on: http://gerrit.dmdirc.com/2607
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
vor 11 Jahren
Greg Holmes
8706c42a1e
Add a method to add a single line to IRCDocument
Change-Id: If2946ddce4950f2a9d869c6e551160ef75ae8d40
Reviewed-on: http://gerrit.dmdirc.com/2334
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
vor 12 Jahren
Shane Mc Cormack
d26602c9dc
Update Copyright for 2012
Change-Id: I0d40c3ac86b9e06fad3f29bc36612b4162e54d1c
Reviewed-on: http://gerrit.dmdirc.com/2287
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
vor 12 Jahren
Chris Smith
a7a57eca29
Fix fallout from util changes
Change-Id: I0bfd2dc61096dd9670b269463c27d9b00fd9a917
Depends-On: I6d0665e57f6e0e2ff2fb6a18742acb99010e79bf
Depends-On: Ia8de3c1a5fdc1eb9cfaa8b29a32bb3efb6d8ce6f
Reviewed-on: http://gerrit.dmdirc.com/2242
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
vor 12 Jahren
Greg Holmes
d04e2bea4f
Change header?
Change-Id: I635e0d111ed182713132145e4d5fb1654f776ec4
Reviewed-on: http://gerrit.dmdirc.com/2071
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
vor 13 Jahren
Greg Holmes
acdd8268bc
Remove deprecations.
Depends-On: Ic938a7785a30477f47074e574ec8311723d803a9
Change-Id: I5ebf0bd52682cd0b1798d1b1b54353e5e65e793f
Reviewed-on: http://gerrit.dmdirc.com/1838
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
vor 13 Jahren
Shane Mc Cormack
fd83b6b2a9
Update Copyright
Change-Id: I7f63fdd02ea0109fe31e55c44b078edae3862f32
Reviewed-on: http://gerrit.dmdirc.com/1726
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
vor 13 Jahren
Chris Smith
f7a7dc7b72
Deprecate unused annoying methods
Change-Id: If75b0d4311454602d50e11fb0050314c8e008300
Reviewed-on: http://gerrit.dmdirc.com/1619
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
vor 13 Jahren
Chris Smith
39693ea024
Rework how config sources handle invalid and disabled settings
Fixes CLIENT-46
Depends-On: I8434b810ba3ee5548467c3fd2b72faed4046a586
Change-Id: I79e9a19acf452c831ee6e671f50b54e8f674f2cd
Reviewed-on: http://gerrit.dmdirc.com/1569
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Greg Holmes <greg@dmdirc.com >
vor 13 Jahren
Greg Holmes
ceeae1c04c
Fixes broken trunk.
Add no warning dialog to taskbar.
Fixes issue CLIENT-91
Change-Id: Ib443990256d0e157043ed0361fa6123ad7dea7c5
Reviewed-on: http://gerrit.dmdirc.com/1562
Automatic-Compile: Chris Smith <chris@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
vor 13 Jahren
Chris Smith
6b12d3c132
Don't hold locks when firing callbacks, as we don't like deadlocks
Change-Id: If65c628d3ab4dc87596c8034c52f58d5aceb3046
Reviewed-on: http://gerrit.dmdirc.com/1429
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
vor 14 Jahren
Chris Smith
6e42762d67
Style fixes
Change-Id: Icfab1de147645d80a999c3678daf268e7e115066
Reviewed-on: http://gerrit.dmdirc.com/1331
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
vor 14 Jahren
Chris Smith
f4bbdb48fe
Massive window changes.
Highlights:
- FrameContainers are now generic, according to their window type
- Writable frame containers now handle their tab completers
- Redirect plugin works again
- Windows are no longer actively requested from the UI; the UI
creates and adds them in response to events from the WindowManager
fixes issue 3997, fixes issue 4000, fixes issue 4012, fixes issue 4030
fixes issue 4027, fixes issue 4028, fixes issue 4029, fixes issue 4031
fixes issue 4032, fixes issue 4033
Change-Id: Ife307728e46bd3b6dcd189be6886ab8b6fbd9212
Reviewed-on: http://gerrit.dmdirc.com/1144
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
vor 14 Jahren
Chris Smith
9eeba69d5d
Deprecated methods, new ListenerList usage
Change-Id: I9fd4d0bfc2b23e25611f5fb7d845114bb6b8653b
Reviewed-on: http://gerrit.dmdirc.com/1125
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
vor 14 Jahren
Greboid
7434180033
Dont fire trimmed methods unless textpane was trimmed.
Change-Id: I561ffe333e45dda3f2c13709f628feb1453ed963
Reviewed-on: http://gerrit.dmdirc.com/1108
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
vor 14 Jahren
Greboid
fba60f3bcf
Window buffer size changes are now listened for
Change-Id: I39ba33de12848cd2c39c52f2d191edbe8ad1b7ae
Reviewed-on: http://gerrit.dmdirc.com/1101
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
vor 14 Jahren
Greboid
140200088f
IRCDocument handles trimming
Change-Id: I00aa3fa2323a64004646ea361bd3050254278c6e
Reviewed-on: http://gerrit.dmdirc.com/1098
Automatic-Compile: Chris Smith <chris@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
vor 14 Jahren
Chris Smith
99c5a20c7c
FrameContainers are now responsible for IRCDocuments
Issue 3982
Change-Id: I9945094c0989d4d3dca10ad627b694ddc035540f
Reviewed-on: http://gerrit.dmdirc.com/1088
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
vor 14 Jahren
Greboid
b29b7208bd
Moves IRCDocument to core
Change-Id: Ica56a194bf436f83e107bdbda6064d590ec785b1
Reviewed-on: http://gerrit.dmdirc.com/1085
Automatic-Compile: Chris Smith <chris@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
vor 14 Jahren