Chris Smith
57f5b05d3a
Update gradle to 3.1.
7 lat temu
Greg Holmes
d103b5ae92
Merge pull request #712 from csmith/master
Move IRC control codes to their own class.
7 lat temu
Chris Smith
1ae3f15867
Move IRC control codes to their own class.
Some other minor tidying to Styliser.
7 lat temu
Greg Holmes
5a05e46ff5
Merge pull request #711 from csmith/master
Extract interfaces for BackBuffer and IRCDocument.
7 lat temu
Chris Smith
2890ffc0e2
Move Document, Line et al to API.
7 lat temu
Chris Smith
89a09f4760
Extract an interface for Line.
7 lat temu
Chris Smith
ae5a5e7251
Extract interfaces for BackBuffer and IRCDocument.
7 lat temu
Greg Holmes
c7a7c40b3f
Merge pull request #710 from csmith/config-iface
More interface/API work.
7 lat temu
Chris Smith
23569dc14e
Move some more classes to API.
7 lat temu
Chris Smith
283c1ba958
Add an interface for ConfigBinder.
Rename the private implementation to ConfigBinderImpl, and
make ConfigBinder itself an interface.
7 lat temu
Greg Holmes
eb54c667ff
Merge pull request #709 from csmith/config-iface
ConfigProviderListeners aren't public.
7 lat temu
Chris Smith
ad7868c5c2
ConfigProviderListeners aren't public.
7 lat temu
Greg Holmes
2216fb721f
Merge pull request #708 from csmith/config-iface
Remove ConfigTarget from interfaces.
7 lat temu
Chris Smith
12b5c1ddd0
Remove ConfigTarget from interfaces.
This shouldn't be exposed. Internal classes switch to using
the full class rather than the interface, so they can carry
on accessing the removed methods.
7 lat temu
Greg Holmes
a50a5eccac
Merge pull request #707 from csmith/master
Use EventBus interface.
7 lat temu
Chris Smith
5cc0af4324
Use EventBus interface.
This is just an IntelliJ refactor, using EventBus in place of
DMDircMBassador whenever possible.
7 lat temu
Greg Holmes
3266257cbe
Merge pull request #706 from csmith/master
Add an interface for the event bus.
7 lat temu
Chris Smith
f51247d44e
Add an interface for the event bus.
Our API shouldn't depend on MBassador. Extract a simple interface
to break the dependency.
7 lat temu
Greg Holmes
c0734fe127
Merge pull request #705 from csmith/master
Start work on an API project
7 lat temu
Chris Smith
aa07d2579b
Move some files into the API project.
7 lat temu
Chris Smith
0511e076b5
Add an API directory.
This is for the interfaces/trivial implementation classes that
DMDirc plugins can interact with. Eventually plugins will build
against the API instead of the DMDirc client itself, which will
allow for remote/detachable clients (amongst other things).
7 lat temu
Greg Holmes
604d669b90
Merge pull request #704 from csmith/master
Replace Query with PrivateChat in Connection.
7 lat temu
Chris Smith
015d7aa8ac
Fix a few places where Query is temporarily needed.
7 lat temu
Chris Smith
28d2a13704
Replace Query with PrivateChat in Connection.
7 lat temu
Greg Holmes
934dcf8b05
Merge pull request #703 from csmith/master
Use PrivateChat for events, not Query.
7 lat temu
Chris Smith
56d4018cfc
Use PrivateChat for events, not Query.
Issue #76
7 lat temu
Shane Mc Cormack
deaf8f5e2b
Merge pull request #702 from csmith/master
Don't fiddle with ports before passing them to the parser.
7 lat temu
Chris Smith
ac24970184
Don't fiddle with ports before passing them to the parser.
If the user doesn't specify a port, allow the parser implementation
to figure it out for itself. This allows for things like SRV lookups,
or different default ports per protocol.
7 lat temu
Greg Holmes
e38204f8f7
Merge pull request #701 from csmith/master
Remove Window and InputWindow.
8 lat temu
Chris Smith
1433ddfb6e
Remove Window and InputWindow.
8 lat temu
Greg Holmes
fef31abb38
Merge pull request #700 from csmith/master
Make link events use WindowModel.
8 lat temu
Chris Smith
aaec27c42e
Make link events use WindowModel.
8 lat temu
Greg Holmes
b2b452811b
Merge pull request #699 from csmith/window-events
Add an event for frame opened.
8 lat temu
Greg Holmes
b20d26e844
Merge pull request #698 from csmith/master
Avoid raising events before a frame has an ID.
8 lat temu
Chris Smith
61dd0758bd
Add an event for frame opened.
For some reason this was only exposed through the WindowManager
listeners.
8 lat temu
Chris Smith
c12274ae0a
Avoid raising events before a frame has an ID.
8 lat temu
Greg Holmes
6a69f328dc
Merge pull request #697 from csmith/master
Make LogUtils try some more ctors.
8 lat temu
Chris Smith
6c4b7ffc41
Make LogUtils try some more ctors.
NoClassDefFoundError only takes a message (no source). Try
throwable-only and message-only ctors in addition to the
two-arg ctors.
8 lat temu
Greg Holmes
9bb25dbc42
Merge pull request #696 from csmith/master
Fix stupid broken error message.
8 lat temu
Chris Smith
51a541c99d
Fix stupid broken error message.
8 lat temu
Greg Holmes
ab3b103743
Merge pull request #695 from csmith/master
Tidy up nick change handling.
8 lat temu
Chris Smith
03e9dd99fa
Use proper import ordering.
8 lat temu
Chris Smith
c01e26f5b9
Tidy up nick change handling.
It doesn't make sense to have a public method in Connection to
muddle around with how queries are tracked, nor for queries to
tell servers when they change (creating a dependency loop).
Instead, have the ServerEventHandler tell Server.
8 lat temu
Greg Holmes
d49ba4c28b
Merge pull request #694 from csmith/master
Restructure to standard maven/gradle layout.
8 lat temu
Chris Smith
d15111ddd3
Restructure to standard maven/gradle layout.
Stop swimming against the tide and accept what most of the rest of
the world does.
While it adds an annoying depth to the actual source code, it makes
the root directory nicer (no more 'test-res' dirs), means we don't
have to override the gradle config, and makes it nicer to work in
IDEA 2016.1.
8 lat temu
Greg Holmes
59f7a5a81d
Merge pull request #693 from csmith/master
Change dependencies after parser group change.
8 lat temu
Chris Smith
6c2b7fd9ea
Change dependencies after parser group change.
DMDirc/Parser#23
8 lat temu
Greg Holmes
1a41f83fcb
Merge pull request #692 from csmith/master
Ignore flakey test.
8 lat temu
Chris Smith
3ff4082470
Ignore flakey test.
This fails reliably for me locally, but seems to pass CI. There's
some non-detminism somewhere, I guess.
8 lat temu
Greg Holmes
86780c096e
Merge pull request #691 from csmith/dagger-raven
Update dagger and raven.
8 lat temu