Chris Smith
deae9bd285
Make getChannel optional.
9 anos atrás
Greg Holmes
a855f03a91
Fix some optionals from the merge.
9 anos atrás
Greg Holmes
348033fc13
Stop get(Local)User returning Optional.
9 anos atrás
Chris Smith
6586b8ad11
Make Query use Users better.
Also remove some more parseHostname calls.
9 anos atrás
Greg Holmes
35becb3236
Fix unit test.
9 anos atrás
Chris Smith
7661d5e45c
Use User in Invite.
9 anos atrás
Chris Smith
0e26372a5c
Use User in Topic.
9 anos atrás
Greg Holmes
802c905565
Fix unit test and add methods.
9 anos atrás
Greg Holmes
37a5f41300
Fix the unit test some more.
9 anos atrás
Greg Holmes
1e07913e06
Fix unit test.
9 anos atrás
Greg Holmes
59e3352531
Make events use User.
9 anos atrás
Greg Holmes
9af0c8c996
Switch events to User.
9 anos atrás
Chris Smith
509eaed18c
Remove moved classes.
Stab bits of ignored tests that no longer work.
9 anos atrás
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 anos atrás
Greg Holmes
42469b280e
Commit tests as well...
9 anos atrás
Greg Holmes
5dde881c86
Tidy up away states in Connection.
9 anos atrás
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 anos atrás
Chris Smith
492bef1c7f
Remove deprecated method.
9 anos atrás
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 anos atrás
Greg Holmes
7eff7aafb5
Stop using ActionManager.getActionManager
9 anos atrás
Chris Smith
6ecb8e2e9a
Make getParser() optional.
Returning null is bad.
9 anos atrás
Chris Smith
362a1f6e0a
Fix tests.
9 anos atrás
Chris Smith
f830257585
Rename getOptionalConnection() to getConnection().
9 anos atrás
Chris Smith
590fb6e484
Remove getConnection().
9 anos atrás
Chris Smith
e9f470f95a
Add a way to specify event colours.
9 anos atrás
Chris Smith
31a78eb743
Fix various deprecated uses.
Change-Id: I0bb97a8946d1c217de82fe2a9b8f35b7d49eae06
9 anos atrás
Chris Smith
2366ffc524
Move BackBuffer to ui.messages.
It doesn't really make sense in ui.core now it's doing more...
The classes it's integrating are all in messages.
9 anos atrás
Greg Holmes
4589fcd796
Fix unit test.
9 anos atrás
Chris Smith
db4e5c2c77
Give the BackBuffer an EventFormatter.
Urgh.
9 anos atrás
Greg Holmes
89e4ba2f2a
Tidy ErrorReporter test.
9 anos atrás
Greg Holmes
34025b58dc
Remove NullOutputStream.
9 anos atrás
Greg Holmes
effe7041d0
Improve test.
9 anos atrás
Greg Holmes
e744bd9af1
Add unit test for core action extractor.
9 anos atrás
Greg Holmes
ed2cffce33
Add test for FeedbackSender.
9 anos atrás
Greg Holmes
6100420580
Created FeedbackHelper class.
9 anos atrás
Greg Holmes
1610704cd0
Add a test to CoreFeedbackDialogModel.
9 anos atrás
Greg Holmes
d910c08950
Start desingletoning ErrorManager.
9 anos atrás
Greg Holmes
c1b23212b5
Fix unit test.
9 anos atrás
Greg Holmes
d8a899a570
Fix unit test.
9 anos atrás
Greg Holmes
5ed53e40dd
Remove (nearly all) Logger usages.
9 anos atrás
Greg Holmes
ec864d2126
Remove more Logger calls.
9 anos atrás
Greg Holmes
e133f31685
Remove some more Logger usages.
9 anos atrás
Greg Holmes
f453770f45
Remove some more Logger usages.
9 anos atrás
Greg Holmes
e475a5a3d5
Fix unit test.
9 anos atrás
Greg Holmes
13a9746721
Test licenses in CoreAboutDialogModel.
9 anos atrás
Greg Holmes
b861eac633
Add licences to about model.
9 anos atrás
Greg Holmes
57b788cc18
Fix test.
9 anos atrás
Greg Holmes
607b9cf83c
https about dialog URL.
9 anos atrás
Greg Holmes
eafe4524c6
Initial work on core about dialog model.
9 anos atrás
Greg Holmes
85c2ae537c
Stop ClientInfo being static.
9 anos atrás