Shane Mc Cormack
9f3fcd1b59
2015!
9 years ago
Greg Holmes
0456efd82d
Tidy up CoreAboutDialogModel Test
9 years ago
Chris Smith
6aa487bd6c
Make AutoCommand use AutoValue.
9 years ago
Chris Smith
0897600fe6
Fix EventFormatter recursively formatting messages.
Fixes #280
9 years ago
Greg Holmes
438e65ff0a
Initial workon ChannelClient.
9 years ago
Chris Smith
509eaed18c
Remove moved classes.
Stab bits of ignored tests that no longer work.
9 years ago
Chris Smith
d661e1efb0
Remove more usages of Server.
This adds a sendLine method to Connection, which is a bit icky,
but is useful when the end-user is supplying lines to pass
directly to the underlying connection.
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
492bef1c7f
Remove deprecated method.
9 years ago
Chris Smith
9325130d3c
Remove StyledDocument stuff from styliser.
Put it behind a nice interface, so the styliser can work without it
and be tested, and other UIs don't have to use swing junk.
9 years ago
Chris Smith
6ecb8e2e9a
Make getParser() optional.
Returning null is bad.
9 years ago
Chris Smith
e9f470f95a
Add a way to specify event colours.
9 years ago
Greg Holmes
ed2cffce33
Add test for FeedbackSender.
9 years ago
Greg Holmes
6100420580
Created FeedbackHelper class.
9 years ago
Greg Holmes
1610704cd0
Add a test to CoreFeedbackDialogModel.
9 years ago
Greg Holmes
c1b23212b5
Fix unit test.
9 years ago
Greg Holmes
5ed53e40dd
Remove (nearly all) Logger usages.
9 years ago
Greg Holmes
ec864d2126
Remove more Logger calls.
9 years ago
Greg Holmes
e475a5a3d5
Fix unit test.
9 years ago
Greg Holmes
13a9746721
Test licenses in CoreAboutDialogModel.
9 years ago
Greg Holmes
b861eac633
Add licences to about model.
9 years ago
Greg Holmes
57b788cc18
Fix test.
9 years ago
Greg Holmes
607b9cf83c
https about dialog URL.
9 years ago
Greg Holmes
eafe4524c6
Initial work on core about dialog model.
9 years ago
Greg Holmes
85c2ae537c
Stop ClientInfo being static.
9 years ago
Greg Holmes
65170ee468
Add type to MutableAutoCommand
9 years ago
Greg Holmes
27aed2d417
Add AutoCommandType.
Remove existing auto commands dialog model.
9 years ago
Greg Holmes
154c148d21
Call other listener methods.
9 years ago
Greg Holmes
a722471766
Add other methods to listener.
9 years ago
Greg Holmes
1a470148e7
Add interface, and listener support.
9 years ago
Greg Holmes
c286e8997b
Initial work.
9 years ago
Greg Holmes
8829be2e38
Mildly improve Profile model test.
9 years ago
Greg Holmes
1c95501d9b
Fix failing test.
9 years ago
Greg Holmes
8e9c2cee1a
Switch to Profiles.
9 years ago
Greg Holmes
90951a7c36
Make some changed to the model to make a dialog workable.
9 years ago
Greg Holmes
6b778e3b80
Add a mutableprofile and update the model a bit.
9 years ago
Greg Holmes
f441f22daf
Move wrapper back.
Will write a new wrapper for the new model.
9 years ago
Greg Holmes
cca99ffc1e
Change package.
9 years ago
Greg Holmes
c0388b7bbc
Move Profile wrapper.
9 years ago
Greg Holmes
5fbae6924b
Remove horrible hack.
9 years ago
Greg Holmes
169b533be7
Add Unit test for MutableAutoCommand.
Also modify to check for equality between AutoCommand and MutableAutoCommand
9 years ago
Greg Holmes
66a9f83c47
Add MutableAutoCommandTest
9 years ago
Chris Smith
d48b9e9f4b
Add tests for EventPropertyManager.
9 years ago
Chris Smith
609bd1e94e
More formatter work.
Implement functions, add test.
Functions don't hugely need to be optional, we can just carry on
if the function is invalid.
9 years ago
Chris Smith
7a2bec2538
Some work on event formatting.
Get properties by reflection. Use Optional as things can fail.
9 years ago
Chris Smith
f2f89a9c9f
Change optionals.
9 years ago
Greg Holmes
8402f9acc7
Remove StatusBar.
9 years ago
Chris Smith
b05b3fda15
Change some more files to paths.
The updater code is horrid. In most cases I've just bailed out by
converting to a file.
Issue #24
9 years ago
Chris Smith
10e207709c
Add normalise method to line position, unit test.
This is used by the TextPane Canvas. Makes sense to pull the
behaviour out and test it.
9 years ago
Chris Smith
6ae693893d
Enable PMD in gradle + apply fixes.
Change-Id: I3665cac8af833da793ca418953d934cc3a333459
Depends-On: I348b37a14097439f8a56b0a671794410e46201ca
Depends-On: Ifc4aa601de14ca2526646f499f60329ed7c5935e
Reviewed-on: http://gerrit.dmdirc.com/3939
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 years ago