Chris Smith
e80b2a6536
Fix HighlightManagerTest.
8 anni fa
Chris Smith
648309f055
Add source checks for eventbus handlers.
In preparation for child eventbusses being removed, anything
trying to subscribe to specific windows now needs an explicit
check.
Issue #662
8 anni fa
Chris Smith
767a156a87
Automatic test tidying.
8 anni fa
Chris Smith
8e1c213a8c
Make topics use new date APIs.
8 anni fa
Chris Smith
0fa22d3ad3
Replace old date APIs in error reporting code.
8 anni fa
Chris Smith
513120b5be
Convert events to use new date APIs.
Java 8 introduces a sane API for dates; to store datettimes
we should now be using LocalDateTime.
8 anni fa
Chris Smith
b54efa3c82
Remove some unused code.
8 anni fa
Chris Smith
18cb00a6bc
Assorted tidying.
8 anni fa
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 anni fa
Chris Smith
96933fd89a
Tear Server and FrameContainer apart.
8 anni fa
Chris Smith
10de163267
Separate InputModel functions from FrameContainer.
8 anni fa
Chris Smith
217b5b1a22
Remove input methods from WindowModel.
Migrate all users to using the InputModel.
8 anni fa
Chris Smith
874b2afd2d
Remove FrameContainer parent/child fields.
8 anni fa
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 anni fa
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 anni fa
Chris Smith
37f13e9f7c
Fix some build warnings.
8 anni fa
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 anni fa
Chris Smith
b5e200216d
Disable numeric formatting, remove dead code.
With numeric formatting gone, all output is either added direct
to a window (which will be changed soon) or done through
displayable events. Message sinks are now completely unused,
as they don't affect displayable events.
Issue #426
8 anni fa
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 anni fa
Chris Smith
7c24c5dfa1
Update tests.
8 anni fa
Chris Smith
e1e78e2437
Couple more deprecation fixes.
8 anni fa
Chris Smith
621a53cf06
Change all command error/output to use events.
8 anni fa
Chris Smith
2204bf0570
Convert some commands to use output events.
8 anni fa
Chris Smith
e060357fb2
Fix deprecated methods in CommandFlagHandler.
8 anni fa
Chris Smith
9897426a7a
Make topics have proper dates.
8 anni fa
Chris Smith
b6cc7a098b
Extract config value retrieving from binder.
The logic to get a correctly typed setting given a class is
pretty general purpose, and will be useful elsewhere. Pull
it out of ConfigBinder and add some tests for it.
9 anni fa
Chris Smith
0a7fb8b874
Stop TabCompleter depending on CommandManager.
9 anni fa
Chris Smith
3908d97e09
Add basic test for PluginFileHandler.
9 anni fa
Chris Smith
cfcf5f0994
Add getPath utility method to JimFsRule.
This saves getting the FS and suffering the barrage of warnings
related to auto-closeable resources.
9 anni fa
Greg Holmes
aed9bd44c7
Tidying of ProgramError.
9 anni fa
Greg Holmes
3cb60bf8f5
Remove trace + details from ProgramError.
9 anni fa
Greg Holmes
3e93816b34
Remove {User,App}ErrorEvents.
9 anni fa
Chris Smith
944ae22024
Add a JUnit rule for using JimFS.
This means each test doesn't have to set it up and tear it down
manually (although only one actually did bother to tear it down :)).
9 anni fa
Greg Holmes
7f27d8ce48
Tidy up after changes.
9 anni fa
Chris Smith
1e3b0b5e28
Change a couple of event bus error reportings.
9 anni fa
Chris Smith
e939448113
Remove some event-based errors.
9 anni fa
Chris Smith
18f5dc8980
Fix tests.
9 anni fa
Chris Smith
8dccc60cf5
Remove some more AppErrorEvents.
9 anni fa
Chris Smith
d93f44ed9d
Remove profile migration logic.
The "old" profiles were pre 0.6.3m1 - if anyone upgrades from that
long ago they'll just lose their profiles.
9 anni fa
Chris Smith
ed7bdd0154
Remove unused field.
9 anni fa
Greg Holmes
28b5c0874c
Add launcher version to about dialog.
9 anni fa
Greg Holmes
c087c13245
Add test for removing global command with empty response.
9 anni fa
Greg Holmes
fba402922a
Allow empty commands, this removes the global AutoCommand.
9 anni fa
Greg Holmes
824c60f17f
Add a GlobalAutoCommandsDialogModel.
9 anni fa
Greg Holmes
5702f16727
Fix unit test.
9 anni fa
Greg Holmes
7455fe09da
Fix client after parser changes. Eventbouseseses.
9 anni fa
Chris Smith
deaf4b232f
Tidy how CommandParsers are created.
Instead of passing them in to the FrameContainer ctor, create
them afterwards.
This means the reference in FrameContainer can't be final but
removes the horrible setOwner() kludge that was previously in
CommandParser, and cuts down the deps needed to pass in to the
FrameContainer ctor.
9 anni fa
Chris Smith
f75e7f79f2
Fix almost all remaining FrameContainer refs.
9 anni fa
Chris Smith
a5b74d14f8
Make CommandParser use WindowModel.
9 anni fa
Chris Smith
459ef2b60a
Use Multimap instead of MapList.
9 anni fa