Chris Smith
1ae3f15867
Move IRC control codes to their own class.
Some other minor tidying to Styliser.
7 years ago
Chris Smith
89a09f4760
Extract an interface for Line.
7 years ago
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.
8 years ago
Chris Smith
dc0f607943
Add display property to suppress timestamps.
Formats defined in YAML can specify 'timestamps: false' to hide
the default timestamp for lines associated with that event.
Closes #633
8 years ago
Shane Mc Cormack
9f3fcd1b59
2015!
9 years ago
Chris Smith
78063df0b4
Colour events.
9 years ago
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.
9 years ago
Chris Smith
2e45dfbbe0
Store display properties in Line.
9 years ago
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.
9 years ago
Greg Holmes
5ed53e40dd
Remove (nearly all) Logger usages.
9 years ago
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
9 years ago
Chris Smith
5321ea8492
Style/inspection fixes.
Change-Id: Icd1b2e56b740d27af85f82563f9eef06f33a1914
Reviewed-on: http://gerrit.dmdirc.com/3698
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 years ago
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 >
10 years ago
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 >
10 years ago
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
11 years ago
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
12 years ago
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 >
13 years ago
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 >
13 years ago
Greg Holmes
a1c4dde046
Fix some PMD errors.
Change-Id: Ia8c864cc8abab3bfdcabeac30b41f6fb29233e73
Reviewed-on: http://gerrit.dmdirc.com/1689
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 years ago
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 >
14 years ago
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 >
14 years ago