Greg Holmes
42469b280e
Commit tests as well...
před 9 roky
Greg Holmes
5dde881c86
Tidy up away states in Connection.
před 9 roky
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.
před 9 roky
Chris Smith
492bef1c7f
Remove deprecated method.
před 9 roky
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.
před 9 roky
Greg Holmes
7eff7aafb5
Stop using ActionManager.getActionManager
před 9 roky
Chris Smith
6ecb8e2e9a
Make getParser() optional.
Returning null is bad.
před 9 roky
Chris Smith
362a1f6e0a
Fix tests.
před 9 roky
Chris Smith
f830257585
Rename getOptionalConnection() to getConnection().
před 9 roky
Chris Smith
590fb6e484
Remove getConnection().
před 9 roky
Chris Smith
e9f470f95a
Add a way to specify event colours.
před 9 roky
Chris Smith
31a78eb743
Fix various deprecated uses.
Change-Id: I0bb97a8946d1c217de82fe2a9b8f35b7d49eae06
před 9 roky
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.
před 9 roky
Greg Holmes
4589fcd796
Fix unit test.
před 9 roky
Chris Smith
db4e5c2c77
Give the BackBuffer an EventFormatter.
Urgh.
před 9 roky
Greg Holmes
89e4ba2f2a
Tidy ErrorReporter test.
před 9 roky
Greg Holmes
34025b58dc
Remove NullOutputStream.
před 9 roky
Greg Holmes
effe7041d0
Improve test.
před 9 roky
Greg Holmes
e744bd9af1
Add unit test for core action extractor.
před 9 roky
Greg Holmes
ed2cffce33
Add test for FeedbackSender.
před 9 roky
Greg Holmes
6100420580
Created FeedbackHelper class.
před 9 roky
Greg Holmes
1610704cd0
Add a test to CoreFeedbackDialogModel.
před 9 roky
Greg Holmes
d910c08950
Start desingletoning ErrorManager.
před 9 roky
Greg Holmes
c1b23212b5
Fix unit test.
před 9 roky
Greg Holmes
d8a899a570
Fix unit test.
před 9 roky
Greg Holmes
5ed53e40dd
Remove (nearly all) Logger usages.
před 9 roky
Greg Holmes
ec864d2126
Remove more Logger calls.
před 9 roky
Greg Holmes
e133f31685
Remove some more Logger usages.
před 9 roky
Greg Holmes
f453770f45
Remove some more Logger usages.
před 9 roky
Greg Holmes
e475a5a3d5
Fix unit test.
před 9 roky
Greg Holmes
13a9746721
Test licenses in CoreAboutDialogModel.
před 9 roky
Greg Holmes
b861eac633
Add licences to about model.
před 9 roky
Greg Holmes
57b788cc18
Fix test.
před 9 roky
Greg Holmes
607b9cf83c
https about dialog URL.
před 9 roky
Greg Holmes
eafe4524c6
Initial work on core about dialog model.
před 9 roky
Greg Holmes
85c2ae537c
Stop ClientInfo being static.
před 9 roky
Chris Smith
e022c2ac09
Fix tests.
před 9 roky
Chris Smith
be966bbf16
Load defaults from the jar.
Closes #156
před 9 roky
Greg Holmes
65170ee468
Add type to MutableAutoCommand
před 9 roky
Greg Holmes
27aed2d417
Add AutoCommandType.
Remove existing auto commands dialog model.
před 9 roky
Chris Smith
d9bac0fe77
Make ConfigBinder ctors package private.
These should really only be accessed through a ConfigManager.
Remove some pointless setup from WritableFrameContainerTest.
před 9 roky
Greg Holmes
154c148d21
Call other listener methods.
před 9 roky
Greg Holmes
a722471766
Add other methods to listener.
před 9 roky
Greg Holmes
1a470148e7
Add interface, and listener support.
před 9 roky
Greg Holmes
c286e8997b
Initial work.
před 9 roky
Greg Holmes
8575a8f250
Add Test for profiles lifecycle manager.
před 9 roky
Greg Holmes
20d6006a8b
Stop using package private method.
před 9 roky
Greg Holmes
b658d2d786
Add tests + fix profiles migrator.
před 9 roky
Greg Holmes
4195eb0ce8
Add tests for new ProfileManager method.
před 9 roky
Greg Holmes
8829be2e38
Mildly improve Profile model test.
před 9 roky