Greg Holmes
567b25dcb1
Tidy up a little in logger.
9 years ago
Greg Holmes
5fd1b9c24a
Raise events for error status changes.
9 years ago
Greg Holmes
3df1aa62ca
Send error from ErrorReportingRunnable not ProgramError.
9 years ago
Greg Holmes
3cf84adc0a
Move some logic out of ProgramError.
9 years ago
Greg Holmes
add5551cd3
Remove ID from ProgramError.
9 years ago
Chris Smith
80b757c330
Make Profile use AutoValue.
9 years ago
Greg Holmes
14243a96ff
Fix test
9 years ago
Greg Holmes
5a17e21e31
Fix the unit test.
9 years ago
Chris Smith
ab15bbb55b
Push some logic into Channel/Query factories.
Make these add the new window to the WindowManager, and post the
relevant event.
9 years ago
Chris Smith
e5a55f58ad
Decouple Server from ServerManager.
SM now listens to frame closing events, so Server doesn't need
to hold on to a reference and inform it that it's closing.
9 years ago
Chris Smith
54525dac26
Fix tests.
9 years ago
Chris Smith
ac931ead7f
Remove actions. Entirely.
"Death is nothing, but to live defeated and inglorious is to die daily."
Happy new year! :)
9 years ago
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