Greg Holmes
82ce43c8a6
Remove some more ClientInfo usages.
9 years ago
Chris Smith
7661d5e45c
Use User in Invite.
9 years ago
Chris Smith
0e26372a5c
Use User in Topic.
9 years ago
Chris Smith
a28204440c
Push some event handling into ServerEventHandler.
9 years ago
Chris Smith
15b3c87b14
Doesn't need to be a strong listener any more.
9 years ago
Chris Smith
9dc5a8a2bf
Initial work on highlight manager.
For now this just highlights the current nickname, but it can cope
with a list of other patterns once we decide how to store and model
them.
Also for now, sets the BG colour to red. Need to make that
configurable.
Issue #36
9 years ago
Greg Holmes
d9ff0d9a80
Tidy getUser methods in Server.
9 years ago
Greg Holmes
802c905565
Fix unit test and add methods.
9 years ago
Chris Smith
0d039991d0
Only set a FG colour if one isn't set already.
9 years ago
Chris Smith
fa13fc1782
Use new source method for displaying events.
9 years ago
Greg Holmes
59e3352531
Make events use User.
9 years ago
Chris Smith
f229cba704
Add a source to displayable events.
Need this to figure out where to display them, for now.
9 years ago
Chris Smith
78063df0b4
Colour events.
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
3d11734590
Superfluous semi-colon.
9 years ago
Chris Smith
a3f23dc181
Unused import.
9 years ago
Chris Smith
a5fbd0cc24
Use forEach where possible.
9 years ago
Greg Holmes
b219298af5
Fix the package statement.
9 years ago
Greg Holmes
72bcbe6a2f
Add a UserFactory and an implementation.
9 years ago
Greg Holmes
14b092b585
Add a UserFactory and an implementation.
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
e819b7085f
Remove some more Server useages.
9 years ago
Greg Holmes
c752c081e3
Add some JavaDoc.
9 years ago
Greg Holmes
a6b78feab2
Add User + GroupChatUser objects.
9 years ago
Chris Smith
9ced1244e4
Change to Connection in ExternalCommands.
9 years ago
Greg Holmes
06174e8574
Switch to Executors from TimerTasks.
9 years ago
Greg Holmes
5ee155dbbb
Fix Away Messages.
9 years ago
Greg Holmes
850ebcb8c4
Initialise the away message to empty.
9 years ago
Greg Holmes
b396a0ff28
Rename file too.
9 years ago
Greg Holmes
1961e6f908
Camel case ServerInviteReceivedEvent.java
9 years ago
Greg Holmes
3dc2220e72
Switch back to String for away message.
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
f226a239b1
Remove get/set ActionManager methods.
9 years ago
Greg Holmes
258f469e33
Stop installActionPack method being static.
9 years ago
Greg Holmes
7eff7aafb5
Stop using ActionManager.getActionManager
9 years ago
Chris Smith
2e45dfbbe0
Store display properties in Line.
9 years ago
Chris Smith
2291ecfdd1
Push more parser config into the factory.
9 years ago
Chris Smith
2350891f8d
CertificateManager can be a local.
9 years ago
Chris Smith
a970bb237d
Remover CertProblemListener.
9 years ago
Chris Smith
e70afde8b0
Use lists not arrays.
This is required by the plugins change.
9 years ago
Chris Smith
7ca2030324
Raise certificate events.
9 years ago
Chris Smith
e6af47c7e1
Add events for certificate problems.
Issue #213
9 years ago
Chris Smith
5c849eec4c
Move some logic into parser factory.
9 years ago
Chris Smith
cb776d84ae
Tidy up trimming.
9 years ago
Chris Smith
9523367174
Replace old addText method with new one.
9 years ago
Chris Smith
1512e3cbbd
Remove unused methods and tidy a little.
9 years ago