Chris Smith
23300340c1
Fix test deprecations.
7 years ago
Chris Smith
57f6323e62
Add dummy version.config.
This allows running DMDirc from IDEA, which seems useful.
Running a normal build just replaces the file in the build output.
7 years ago
Chris Smith
3125be0e12
Add config annotations to API.
At present anything requesting the global config has to depend on
ClientModule, which won't necessarily be exposed through the API.
Move @GlobalConfig , @AddonConfig and @UserConfig to top level
classes in API, and provide both versions of them for now.
7 years ago
Greg Holmes
44b674413f
Merge pull request #714 from csmith/master
Update dependencies
7 years ago
Chris Smith
232ee993d4
Fix tests after mockito upgrade.
Mockito now errors if a mock is unnecessary, plus a few other minor
API changes.
7 years ago
Chris Smith
9bb1d26647
Update dependencies
7 years ago
Greg Holmes
a76889a143
Merge pull request #713 from csmith/master
Update gradle to 3.1.
7 years ago
Chris Smith
57f5b05d3a
Update gradle to 3.1.
7 years ago
Greg Holmes
d103b5ae92
Merge pull request #712 from csmith/master
Move IRC control codes to their own class.
7 years ago
Chris Smith
1ae3f15867
Move IRC control codes to their own class.
Some other minor tidying to Styliser.
7 years ago
Greg Holmes
5a05e46ff5
Merge pull request #711 from csmith/master
Extract interfaces for BackBuffer and IRCDocument.
7 years ago
Chris Smith
2890ffc0e2
Move Document, Line et al to API.
7 years ago
Chris Smith
89a09f4760
Extract an interface for Line.
7 years ago
Chris Smith
ae5a5e7251
Extract interfaces for BackBuffer and IRCDocument.
7 years ago
Greg Holmes
c7a7c40b3f
Merge pull request #710 from csmith/config-iface
More interface/API work.
7 years ago
Chris Smith
23569dc14e
Move some more classes to API.
7 years ago
Chris Smith
283c1ba958
Add an interface for ConfigBinder.
Rename the private implementation to ConfigBinderImpl, and
make ConfigBinder itself an interface.
7 years ago
Greg Holmes
eb54c667ff
Merge pull request #709 from csmith/config-iface
ConfigProviderListeners aren't public.
7 years ago
Chris Smith
ad7868c5c2
ConfigProviderListeners aren't public.
7 years ago
Greg Holmes
2216fb721f
Merge pull request #708 from csmith/config-iface
Remove ConfigTarget from interfaces.
7 years ago
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 years ago
Greg Holmes
a50a5eccac
Merge pull request #707 from csmith/master
Use EventBus interface.
7 years ago
Chris Smith
5cc0af4324
Use EventBus interface.
This is just an IntelliJ refactor, using EventBus in place of
DMDircMBassador whenever possible.
7 years ago
Greg Holmes
3266257cbe
Merge pull request #706 from csmith/master
Add an interface for the event bus.
7 years ago
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 years ago
Greg Holmes
c0734fe127
Merge pull request #705 from csmith/master
Start work on an API project
7 years ago
Chris Smith
aa07d2579b
Move some files into the API project.
7 years ago
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 years ago
Greg Holmes
604d669b90
Merge pull request #704 from csmith/master
Replace Query with PrivateChat in Connection.
7 years ago
Chris Smith
015d7aa8ac
Fix a few places where Query is temporarily needed.
7 years ago
Chris Smith
28d2a13704
Replace Query with PrivateChat in Connection.
7 years ago
Greg Holmes
934dcf8b05
Merge pull request #703 from csmith/master
Use PrivateChat for events, not Query.
7 years ago
Chris Smith
56d4018cfc
Use PrivateChat for events, not Query.
Issue #76
7 years ago
Shane Mc Cormack
deaf8f5e2b
Merge pull request #702 from csmith/master
Don't fiddle with ports before passing them to the parser.
7 years ago
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 years ago
Greg Holmes
e38204f8f7
Merge pull request #701 from csmith/master
Remove Window and InputWindow.
7 years ago
Chris Smith
1433ddfb6e
Remove Window and InputWindow.
7 years ago
Greg Holmes
fef31abb38
Merge pull request #700 from csmith/master
Make link events use WindowModel.
7 years ago
Chris Smith
aaec27c42e
Make link events use WindowModel.
7 years ago
Greg Holmes
b2b452811b
Merge pull request #699 from csmith/window-events
Add an event for frame opened.
7 years ago
Greg Holmes
b20d26e844
Merge pull request #698 from csmith/master
Avoid raising events before a frame has an ID.
7 years ago
Chris Smith
61dd0758bd
Add an event for frame opened.
For some reason this was only exposed through the WindowManager
listeners.
7 years ago
Chris Smith
c12274ae0a
Avoid raising events before a frame has an ID.
7 years ago
Greg Holmes
6a69f328dc
Merge pull request #697 from csmith/master
Make LogUtils try some more ctors.
7 years ago
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.
7 years ago
Greg Holmes
9bb25dbc42
Merge pull request #696 from csmith/master
Fix stupid broken error message.
7 years ago
Chris Smith
51a541c99d
Fix stupid broken error message.
7 years ago
Greg Holmes
ab3b103743
Merge pull request #695 from csmith/master
Tidy up nick change handling.
7 years ago
Chris Smith
03e9dd99fa
Use proper import ordering.
7 years ago
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.
7 years ago