Chris Smith
96933fd89a
Tear Server and FrameContainer apart.
8 лет назад
Chris Smith
10de163267
Separate InputModel functions from FrameContainer.
8 лет назад
Chris Smith
217b5b1a22
Remove input methods from WindowModel.
Migrate all users to using the InputModel.
8 лет назад
Chris Smith
334b8d3d99
Introduce a model for window input.
Instead of WindowModel defining lots of methods on the off-chance
that the window is writable, pull them all into a separate
optional InputModel.
For ease of transition, FrameContainer will just implement both,
but eventually the input handling should be pulled out into
its own class.
8 лет назад
Chris Smith
874b2afd2d
Remove FrameContainer parent/child fields.
8 лет назад
Chris Smith
9d18ce8942
Remove usages of FrameContainer window methods.
These will be going away shortly.
8 лет назад
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 лет назад
Chris Smith
a3b2815d16
Remove ramaining addLine methods.
Closes #426
8 лет назад
Chris Smith
7bfdf45249
Add events for sent messages/ctcps/notices/raw lines.
8 лет назад
Chris Smith
2b171bb83d
Use events in ShowTopic command.
8 лет назад
Chris Smith
7a5d418285
Remove another deprecated method.
8 лет назад
Chris Smith
b7fd4e6fe1
Move raw events into plugins.
8 лет назад
Chris Smith
787c72850f
Use events for raw data in/out.
Issue #426
8 лет назад
Chris Smith
d080e44956
Remove some unused methods.
8 лет назад
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 лет назад
Chris Smith
6b1e6e7e5c
Use the right annotation to subscribe.
8 лет назад
Chris Smith
57cf21576b
Make LogUtils more robust.
Also make event bus errors have a better message.
Closes #627
8 лет назад
Chris Smith
7d5a0de34e
Allow plugins to specify event formats.
Closes #622
8 лет назад
Chris Smith
f270d34aa3
Use snapshot version of raven, send relase.
This enables release tracking in sentry.
8 лет назад
Chris Smith
8e701d9b8a
Propagate exceptions sanely.
8 лет назад
Chris Smith
7421c1fa83
Use the new MutliEventFormatProvider.
Issue #622
8 лет назад
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 лет назад
Chris Smith
1ad67b6c3f
Update to MBassador 1.2.4.
This release contains some performance improvements compared
to the version we were using.
Error handlers are now passed in at construction time, so
there was a small bit of refactoring required.
8 лет назад
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 лет назад
Chris Smith
ad223b1a6e
Remove WhoisNumericFormatter.
8 лет назад
Chris Smith
bc37a9d982
Improve formatting of whois events.
8 лет назад
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 лет назад
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 лет назад
Chris Smith
e1e78e2437
Couple more deprecation fixes.
8 лет назад
Chris Smith
621a53cf06
Change all command error/output to use events.
8 лет назад
Chris Smith
2204bf0570
Convert some commands to use output events.
8 лет назад
Chris Smith
e060357fb2
Fix deprecated methods in CommandFlagHandler.
8 лет назад
Chris Smith
86bd33fedb
Deprecate things that should be replaced by events
8 лет назад
Chris Smith
dfb63e9836
Add some more events, remove some unused methods.
8 лет назад
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 лет назад
Chris Smith
9897426a7a
Make topics have proper dates.
8 лет назад
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 лет назад
Chris Smith
07c5f9449e
Minor tidying around displayable events.
8 лет назад
Chris Smith
daad29f32b
Tidying of Server.
Split out error description getting into its own method. Other
minor changes.
8 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
Chris Smith
0a7fb8b874
Stop TabCompleter depending on CommandManager.
9 лет назад
Chris Smith
30b2d9332a
Tidy up plugin refreshing.
9 лет назад
Greg Holmes
b5d2f5faf7
Minor tidying.
9 лет назад
Greg Holmes
aed9bd44c7
Tidying of ProgramError.
9 лет назад
Greg Holmes
bc2e05d994
Change name of field in ProgramError.
9 лет назад
Greg Holmes
3cb60bf8f5
Remove trace + details from ProgramError.
9 лет назад
Greg Holmes
3e93816b34
Remove {User,App}ErrorEvents.
9 лет назад