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
Chris Smith
b8e17af365
Add method to add line with a timestamp.
9 years ago
Chris Smith
09e76c8f7e
Make Line aware of timestamps.
Not sure why we went for String arrays - all lines have a timestamp
and some text. Store this sensibly.
9 years ago
Chris Smith
6ecb8e2e9a
Make getParser() optional.
Returning null is bad.
9 years ago
Chris Smith
b786ea5bfb
More Server fiddling.
Make Raw optional, mark some fields as @Nonnull.
9 years ago
Chris Smith
515a60afba
Minor listener tidying.
9 years ago
Chris Smith
803cdea954
Move mode alias reporting out of Server.
Doesn't really need to be there, makes more sense as a separate
observer which can do its own thing.
9 years ago
Chris Smith
3b03a638dc
Use optionals for parsers.
These are absent when disconnected, so use optional instead of null.
Left most of the calls as-is - if something assumed parser was
non-null before it assumes the optional is present now. Should be
easier to clean up later.
9 years ago
Chris Smith
a58bec27c0
Improve some optionals.
9 years ago
Chris Smith
efdd758dca
Make the formatter set the FG property for events.
9 years ago
Chris Smith
d76d5e3ce3
More BackBuffer work.
- Only show each event once, don't propagate to servers.
- Use a setting to control whether it's enabled or not.
9 years ago
Chris Smith
f830257585
Rename getOptionalConnection() to getConnection().
9 years ago
Chris Smith
2eaaf532eb
Found a sneaky one left. Kill it.
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
Greg Holmes
fe9e5d674b
Don't throw ReflectiveOperationException.
9 years ago
Greg Holmes
9da37b7a81
Allow class to be implemented.
9 years ago
Greg Holmes
511a1c5a8b
Throw exception on non Field or Method.
9 years ago
Greg Holmes
2d75f86ac9
Remove file that shouldn't have been committed.
9 years ago
Greg Holmes
b8d964a7de
Add invocation ability to ConfigBinder
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
Chris Smith
18ba8f9f3c
Add a temporary kill switch for new event stuff.
9 years ago
Greg Holmes
4589fcd796
Fix unit test.
9 years ago
Greg Holmes
3d63241bac
Remove filesystem param from actions.
9 years ago
Greg Holmes
3de58992ba
Commit all the files.
9 years ago
Greg Holmes
7b3c9b23bb
Switch action to use Paths.
9 years ago