Shane Mc Cormack
9f3fcd1b59
2015!
9 years ago
Chris Smith
bc9d93c6d0
Further work on the AutoCommandManager.
9 years ago
Greg Holmes
0456efd82d
Tidy up CoreAboutDialogModel Test
9 years ago
Greg Holmes
e350b131d8
Fix unit test.
9 years ago
Greg Holmes
749233b293
Add an injectable wrapper around System.
Not 100% sure this is a good idea though.
9 years ago
Greg Holmes
53abeb895f
Fix unit test.
9 years ago
Greg Holmes
fc23f90e2e
More GroupChatUser changes.
9 years ago
Greg Holmes
d36870597a
Tidy SetNickColour, fix unit test.
9 years ago
Greg Holmes
8852f36011
Fix Topic unit test.
9 years ago
Greg Holmes
6bf34be332
Make more things use GroupChatUser.
- Also by AutoValue Topic
- Also make getUser in Topic Optional
9 years ago
Chris Smith
657817fd9b
Use GroupChat in Connection.getChannel().
9 years ago
Chris Smith
b96d1b1f8c
Force a single global AutoCommand.
9 years ago
Chris Smith
6aa487bd6c
Make AutoCommand use AutoValue.
9 years ago
Greg Holmes
28b2c9270d
Fix tests.
9 years ago
Greg Holmes
e52f8b7ea0
Make Client store ClientInfo.
9 years ago
Chris Smith
2c5f10a6da
Remove random unused, confusing Profile thing.
9 years ago
Greg Holmes
2ee996a75e
Remove TopicChangeListener. Add Topic to topic events.
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
04c3303281
Remove Raw from core.
9 years ago
Chris Smith
da1ebe1f85
Remove hasChannel.
Pointless now getChannel is optional.
9 years ago
Chris Smith
deae9bd285
Make getChannel optional.
9 years ago
Greg Holmes
a855f03a91
Fix some optionals from the merge.
9 years ago
Greg Holmes
348033fc13
Stop get(Local)User returning Optional.
9 years ago
Chris Smith
6586b8ad11
Make Query use Users better.
Also remove some more parseHostname calls.
9 years ago
Greg Holmes
35becb3236
Fix unit test.
9 years ago
Chris Smith
7661d5e45c
Use User in Invite.
9 years ago
Chris Smith
0e26372a5c
Use User in Topic.
9 years ago
Greg Holmes
802c905565
Fix unit test and add methods.
9 years ago
Greg Holmes
37a5f41300
Fix the unit test some more.
9 years ago
Greg Holmes
1e07913e06
Fix unit test.
9 years ago
Greg Holmes
59e3352531
Make events use User.
9 years ago
Greg Holmes
9af0c8c996
Switch events to User.
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
Greg Holmes
42469b280e
Commit tests as well...
9 years ago
Greg Holmes
5dde881c86
Tidy up away states in 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
Greg Holmes
7eff7aafb5
Stop using ActionManager.getActionManager
9 years ago
Chris Smith
6ecb8e2e9a
Make getParser() optional.
Returning null is bad.
9 years ago
Chris Smith
362a1f6e0a
Fix tests.
9 years ago
Chris Smith
f830257585
Rename getOptionalConnection() to getConnection().
9 years ago
Chris Smith
590fb6e484
Remove getConnection().
9 years ago
Chris Smith
e9f470f95a
Add a way to specify event colours.
9 years ago
Chris Smith
31a78eb743
Fix various deprecated uses.
Change-Id: I0bb97a8946d1c217de82fe2a9b8f35b7d49eae06
9 years ago
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 years ago
Greg Holmes
4589fcd796
Fix unit test.
9 years ago
Chris Smith
db4e5c2c77
Give the BackBuffer an EventFormatter.
Urgh.
9 years ago