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 vuotta sitten
Chris Smith
ad223b1a6e
Remove WhoisNumericFormatter.
8 vuotta sitten
Chris Smith
bc37a9d982
Improve formatting of whois events.
8 vuotta sitten
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 vuotta sitten
Chris Smith
1767fa4e99
Add formatter support for before/after templates.
This allows formats that may be multi-line (whois results,
probably MOTD results at some point, etc...) to show a header
and footer around the actual content.
8 vuotta sitten
Chris Smith
e1e78e2437
Couple more deprecation fixes.
8 vuotta sitten
Chris Smith
621a53cf06
Change all command error/output to use events.
8 vuotta sitten
Chris Smith
2204bf0570
Convert some commands to use output events.
8 vuotta sitten
Chris Smith
e060357fb2
Fix deprecated methods in CommandFlagHandler.
8 vuotta sitten
Chris Smith
86bd33fedb
Deprecate things that should be replaced by events
8 vuotta sitten
Chris Smith
dfb63e9836
Add some more events, remove some unused methods.
8 vuotta sitten
Chris Smith
4b61733f0c
Move some more formats over to events.
This allows us to remove a fair chunk of the notification
handling functionality in FrameContainer.
Issue 426
8 vuotta sitten
Chris Smith
9897426a7a
Make topics have proper dates.
8 vuotta sitten
Chris Smith
1576c2c798
Tidy up some unused/uncommonly used methods.
I think these will eventually go away entirely, once everything
is event-bus'd, but I'm not entirely sure how that works any
more :(
8 vuotta sitten
Chris Smith
07c5f9449e
Minor tidying around displayable events.
8 vuotta sitten
Chris Smith
daad29f32b
Tidying of Server.
Split out error description getting into its own method. Other
minor changes.
8 vuotta sitten
Chris Smith
e54b0331f1
Fix weird plugin path construction.
We have a path, it doesn't really make sense to take the filename,
then take the directory, then create a new path using those...
8 vuotta sitten
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.
8 vuotta sitten
Chris Smith
fed540f6fe
Ensure module methods have unique names.
Dagger 2.0 appears to require each method in a module to have a
unique name. In some cases we've used overloads with the same name.
Also, remove a bunch of boilerplate javadoc.
Issue #601
9 vuotta sitten
Chris Smith
f0019ffb26
Fix source of notice events.
We were raising notices as all coming from the local user, not
the person that sent the notice. This is... unideal.
9 vuotta sitten
Chris Smith
0a7fb8b874
Stop TabCompleter depending on CommandManager.
9 vuotta sitten
Chris Smith
30b2d9332a
Tidy up plugin refreshing.
9 vuotta sitten
Greg Holmes
b5d2f5faf7
Minor tidying.
9 vuotta sitten
Greg Holmes
aed9bd44c7
Tidying of ProgramError.
9 vuotta sitten
Greg Holmes
bc2e05d994
Change name of field in ProgramError.
9 vuotta sitten
Greg Holmes
3cb60bf8f5
Remove trace + details from ProgramError.
9 vuotta sitten
Greg Holmes
3e93816b34
Remove {User,App}ErrorEvents.
9 vuotta sitten
Greg Holmes
69289df900
Move ProgramErrorAppender to logger
9 vuotta sitten
Chris Smith
214a689ac0
Move update applying into the file handler.
9 vuotta sitten
Greg Holmes
7f27d8ce48
Tidy up after changes.
9 vuotta sitten
Greg Holmes
b58997a1d0
SLF4J Logging in the core.
9 vuotta sitten
Chris Smith
ec1f76431b
Slf4j logging a few more things.
9 vuotta sitten
Chris Smith
1e3b0b5e28
Change a couple of event bus error reportings.
9 vuotta sitten
Chris Smith
e939448113
Remove some event-based errors.
9 vuotta sitten
Chris Smith
8dccc60cf5
Remove some more AppErrorEvents.
9 vuotta sitten
Chris Smith
2c6a9413e3
Slf4j a few more bits.
9 vuotta sitten
Chris Smith
51e466c165
Don't string concat
9 vuotta sitten
Chris Smith
8c91a4ca16
Remove CallbackNotFoundException, tidy up Query.
We don't need to reregister on nick change now, as we get all
the events anyway and filter them manually.
9 vuotta sitten
Chris Smith
00171f9641
Use slf4j for a few errors.
9 vuotta sitten
Chris Smith
5557aa4d5d
Make existing Log.error calls use app/user markers.
9 vuotta sitten
Greg Holmes
9f46c009fe
Reorganise imports.
9 vuotta sitten
Greg Holmes
8933a842bd
Bit of tidying and add Fatal errors.
9 vuotta sitten
Greg Holmes
6518193f7d
Initial work on Logback logging.
9 vuotta sitten
Chris Smith
238b385d30
Remove silly URL usage in PluginMetaData.
9 vuotta sitten
Chris Smith
79e98e791a
Typo + style fix
9 vuotta sitten
Chris Smith
149dc5af81
Split out a PluginFileHandler.
9 vuotta sitten
Chris Smith
36c58019c5
Minor tidying in plugins
9 vuotta sitten
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 vuotta sitten
Chris Smith
ed7bdd0154
Remove unused field.
9 vuotta sitten
Chris Smith
6b9bb52abb
Fix ServerManager logic for disconnected servers.
9 vuotta sitten