Chris Smith
18cb00a6bc
Assorted tidying.
8 jaren geleden
Chris Smith
869713b4db
Assign IDs to windows.
This allows windows to be uniquely identified and shared with
clients that are running outside of the DMDirc process (e.g.
a web UI, or a remote instance).
8 jaren geleden
Chris Smith
874b2afd2d
Remove FrameContainer parent/child fields.
8 jaren geleden
Chris Smith
d6e6cb3c96
Make the WindowManager track windows.
Despite its name and description, the WindowManager relied on
each FrameContainer having a reference to its parents and all
its children.
The WindowManager now stores this information itself, and so
the FrameContainer methods can be gradually phased out.
8 jaren geleden
Chris Smith
dc0f607943
Add display property to suppress timestamps.
Formats defined in YAML can specify 'timestamps: false' to hide
the default timestamp for lines associated with that event.
Closes #633
8 jaren geleden
Chris Smith
e7e5315116
Add format provider that handles multiple sources.
This will allow plugins to supply their own format providers
while still allowing the user to override them using the
main format.yml file.
Issue #622
8 jaren geleden
Chris Smith
ef2357d347
Add ugly event-based whois output.
This allows events to iterate over a collection property, and
adds formatting for whois results. It needs a lot of tidying,
but it's a start...
8 jaren geleden
Chris Smith
7c24c5dfa1
Update tests.
8 jaren geleden
Chris Smith
9897426a7a
Make topics have proper dates.
8 jaren geleden
Greg Holmes
7f27d8ce48
Tidy up after changes.
9 jaren geleden
Greg Holmes
28b5c0874c
Add launcher version to about dialog.
9 jaren geleden
Greg Holmes
c087c13245
Add test for removing global command with empty response.
9 jaren geleden
Greg Holmes
fba402922a
Allow empty commands, this removes the global AutoCommand.
9 jaren geleden
Greg Holmes
824c60f17f
Add a GlobalAutoCommandsDialogModel.
9 jaren geleden
Chris Smith
f75e7f79f2
Fix almost all remaining FrameContainer refs.
9 jaren geleden
Greg Holmes
1014e789d8
Fix some errors, and the unit test.
9 jaren geleden
Greg Holmes
61389fa85c
Fix unit test.
9 jaren geleden
Chris Smith
fe7d1414ef
Remove PluginMetaData.getManager().
This is horribly icky and wrong. The only place it's used is
PluginFilesHelper, which can easily be given its own manager.
Also fix annoying shaded import.
9 jaren geleden
Chris Smith
4f825b4fd0
Add test for HighlightManager, fix issues.
Alternative highlights were never added because the maps were
optimised away; then the list occasionally ended up with null
entries as they were added concurrently.
9 jaren geleden
Chris Smith
dfd6ee709c
Use new GroupChatManager methods.
Remove them from the Connection interface.
9 jaren geleden
Chris Smith
0a5fc5177a
Remove editProfile method.
This isn't used in the UI, and doesn't need to exist with the
individual setter methods.
9 jaren geleden
Chris Smith
80b757c330
Make Profile use AutoValue.
9 jaren geleden
Shane Mc Cormack
9f3fcd1b59
2015!
9 jaren geleden
Greg Holmes
0456efd82d
Tidy up CoreAboutDialogModel Test
9 jaren geleden
Chris Smith
6aa487bd6c
Make AutoCommand use AutoValue.
9 jaren geleden
Chris Smith
0897600fe6
Fix EventFormatter recursively formatting messages.
Fixes #280
9 jaren geleden
Greg Holmes
438e65ff0a
Initial workon ChannelClient.
9 jaren geleden
Chris Smith
509eaed18c
Remove moved classes.
Stab bits of ignored tests that no longer work.
9 jaren geleden
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 jaren geleden
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 jaren geleden
Chris Smith
492bef1c7f
Remove deprecated method.
9 jaren geleden
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 jaren geleden
Chris Smith
6ecb8e2e9a
Make getParser() optional.
Returning null is bad.
9 jaren geleden
Chris Smith
e9f470f95a
Add a way to specify event colours.
9 jaren geleden
Greg Holmes
ed2cffce33
Add test for FeedbackSender.
9 jaren geleden
Greg Holmes
6100420580
Created FeedbackHelper class.
9 jaren geleden
Greg Holmes
1610704cd0
Add a test to CoreFeedbackDialogModel.
9 jaren geleden
Greg Holmes
c1b23212b5
Fix unit test.
9 jaren geleden
Greg Holmes
5ed53e40dd
Remove (nearly all) Logger usages.
9 jaren geleden
Greg Holmes
ec864d2126
Remove more Logger calls.
9 jaren geleden
Greg Holmes
e475a5a3d5
Fix unit test.
9 jaren geleden
Greg Holmes
13a9746721
Test licenses in CoreAboutDialogModel.
9 jaren geleden
Greg Holmes
b861eac633
Add licences to about model.
9 jaren geleden
Greg Holmes
57b788cc18
Fix test.
9 jaren geleden
Greg Holmes
607b9cf83c
https about dialog URL.
9 jaren geleden
Greg Holmes
eafe4524c6
Initial work on core about dialog model.
9 jaren geleden
Greg Holmes
85c2ae537c
Stop ClientInfo being static.
9 jaren geleden
Greg Holmes
65170ee468
Add type to MutableAutoCommand
9 jaren geleden
Greg Holmes
27aed2d417
Add AutoCommandType.
Remove existing auto commands dialog model.
9 jaren geleden
Greg Holmes
154c148d21
Call other listener methods.
9 jaren geleden