Chris Smith
c539721d58
Extract interface for CommandParser
7 years ago
Chris Smith
c15764616f
Migrate to new @GlobalConfig annotation.
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
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 years ago
Greg Holmes
b58997a1d0
SLF4J Logging in the core.
9 years ago
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 years ago
Chris Smith
f75e7f79f2
Fix almost all remaining FrameContainer refs.
9 years ago
Chris Smith
a5b74d14f8
Make CommandParser use WindowModel.
9 years ago
Chris Smith
451a7f3b60
Add a CommandErrorEvent and format.
9 years ago
Shane Mc Cormack
9f3fcd1b59
2015!
9 years ago
Greg Holmes
5ed53e40dd
Remove (nearly all) Logger usages.
9 years ago
Chris Smith
d2e5df51fc
Reorganise all imports
Change-Id: Ie6d110a3413e41bb42516f39e97b6cc11e8a777a
Reviewed-on: http://gerrit.dmdirc.com/3774
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 years ago
Greg Holmes
746bb6081d
Generify MBassador.
Change-Id: Id3cfa404a56528542120f79c969d992a5c183aba
Reviewed-on: http://gerrit.dmdirc.com/3771
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 years ago
Greg Holmes
b12a0cb412
MBassador.
Change-Id: I2baa7e986ded54930093768238ed24cab8cf4bf7
Depends-On: I2cf35d5859c85c3609002f126241536fda5d588e
Reviewed-on: http://gerrit.dmdirc.com/3769
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 years ago
Greg Holmes
cb25fc6edc
Add unknown command event.
Depends-On: I06ee87cf6f7795eb3ee07828fb43f4381a465ac3
Change-Id: Ibcfc059d943a64494842eab68428ea8351206a09
Reviewed-on: http://gerrit.dmdirc.com/3488
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Chris Smith
25e7564521
Commands must have non-null origins too.
Change-Id: Iea8cc21d45ec063a2d184902a838224727fdcb49
Reviewed-on: http://gerrit.dmdirc.com/3453
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
357a35433d
Pointless javadoc change.
Change-Id: If2a92795b1db6c63e359fb4bc1d79a4bc569110a
Reviewed-on: http://gerrit.dmdirc.com/3399
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Chris Smith
01fa9b6453
Bulk remove inheritDoc.
Change-Id: I06a0f4ced5eb0c8281e52a38b37a27779c5d571b
Reviewed-on: http://gerrit.dmdirc.com/3273
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
f538c53f86
Fully configure the NB formatter and let it loose.
Change-Id: I7e8052839daa79fa113b89fd0b8c1c892a605b73
Reviewed-on: http://gerrit.dmdirc.com/3122
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
158d3bd350
Fix how CommandContexts work.
The highest level command parser now generates the context, regardless of
who executes it. So a global command executed in a channel window will get
a ChannelCommandContext, whereas before it got a plain CommandContext.
Commands that don't expect other contexts will work as before, because the
inheritence tree of contexts mirorrs the command parser (e.g., if a
ServerCommandParser executes a command, you can guarantee its context will
be a sublcass of ServerCommandContext).
This fixes the /set command never allowing --channel.
Change-Id: I86e3c9f0bfedecb5c6b538e2309528c9e71f5eb3
Fixes-issue: CLIENT-424
Reviewed-on: http://gerrit.dmdirc.com/3085
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Shane Mc Cormack
12b39dc0f8
Update Copyright to 2014
Change-Id: Id0904867640e49e12fca5c1c7c5b9e72c78e3a1b
Reviewed-on: http://gerrit.dmdirc.com/2976
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
9591bda084
Inject GlobalCommandParser, and tidying up.
Rename ActionFactory methods to be consistent with @Factory-generated ones.
Change-Id: Iafd20682f2fb0a166c6d7502443b56c3263da85d
Depends-On: Ifa75714ab3445634e61df3d99792cdef602d319e
Reviewed-on: http://gerrit.dmdirc.com/2899
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
2fcdd341d6
Remove the remaining WindowManager singleton refs.
Add a GlobalWindowManager to keep state and references, rather than
use static methods on GlobalWindow.
Minor tidying.
Change-Id: I65b84082f0a07cdc9e4c05263f6c5c77282e9b04
Reviewed-on: http://gerrit.dmdirc.com/2818
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
a335bf1208
Use config interfaces where possible.
Change-Id: Iaabedda2fa68c4e5562bb069dcdf15fa0c3beeea
Depends-On: I5f140e89bfb8c57804d0a500bbc9f5c18555b0e9
Reviewed-on: http://gerrit.dmdirc.com/2768
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Shane Mc Cormack
b87e3ba335
Update copyright for 2013
Change-Id: Idf38f5027a92166daf99039de75b759d47431de1
Reviewed-on: http://gerrit.dmdirc.com/2607
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
11 years ago
Greg Holmes
ab45825e88
De-singleton + unit test
Change-Id: Iadcf92d4390034828d005a9c9e92d9a8ba189c99
Depends-On: I17790a0e71a6c004a088a6eb51332293b23062a4
Reviewed-on: http://gerrit.dmdirc.com/2455
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 years ago
Shane Mc Cormack
d26602c9dc
Update Copyright for 2012
Change-Id: I0d40c3ac86b9e06fad3f29bc36612b4162e54d1c
Reviewed-on: http://gerrit.dmdirc.com/2287
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 years ago
Greg Holmes
d04e2bea4f
Change header?
Change-Id: I635e0d111ed182713132145e4d5fb1654f776ec4
Reviewed-on: http://gerrit.dmdirc.com/2071
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 years ago
Greg Holmes
935c21ebf8
Remove windows from commands
Change-Id: I5b6e7e2ca81d114028fef6cac0d88498def62ea0
Depends-On: I895be099fa526e4e4b566e7178120b5d1ad0912c
Reviewed-on: http://gerrit.dmdirc.com/2011
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 years ago
Chris Smith
949770857a
Make CommandManager a singleton
CLIENT-84
Change-Id: I48182a9cd7c8f49612025ba208ae90d3bb19ee2b
Depends-On: Ib62d32dbfdadaf38930ceacf667ff533de047599
Reviewed-on: http://gerrit.dmdirc.com/1996
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 years ago
Chris Smith
77b570a30f
Style fixes
Change-Id: If63e94dcf0aec9e9aa99e84f9962879fca46051f
Reviewed-on: http://gerrit.dmdirc.com/1931
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 years ago
Chris Smith
198a1597cc
Rework FrameContainer/UI interaction
- FrameContainers are no longer parameterised
- Introduced notion of window "Components"
- Removed per-window interfaces - fixes CLIENT-218
Change-Id: Ieefbf2d1e157e3638dbe8fdedbd4f32642061329
Depends-On: Iecbb2941c99a3412dc2eb3b7f56fc584d2db483e
Reviewed-on: http://gerrit.dmdirc.com/1885
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 years ago
Shane Mc Cormack
fd83b6b2a9
Update Copyright
Change-Id: I7f63fdd02ea0109fe31e55c44b078edae3862f32
Reviewed-on: http://gerrit.dmdirc.com/1726
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 years ago
Chris Smith
5d584f2068
Style fixes
Change-Id: Idffa6c2559bcc2112c9657b15349aa80579ab83a
Reviewed-on: http://gerrit.dmdirc.com/1336
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
00ae9c2a1f
Core style fixes
Change-Id: Id071eef525d7cbf9e08f8bbf975277b6ca7e4f1d
Reviewed-on: http://gerrit.dmdirc.com/1317
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
2edf699e02
Introduce command contexts.
Fixes issue 4152
Fixes issue 4002
Change-Id: I664124ecb0994a808e2de359a38507c3b5f16452
Reviewed-on: http://gerrit.dmdirc.com/1250
Automatic-Compile: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
f4bbdb48fe
Massive window changes.
Highlights:
- FrameContainers are now generic, according to their window type
- Writable frame containers now handle their tab completers
- Redirect plugin works again
- Windows are no longer actively requested from the UI; the UI
creates and adds them in response to events from the WindowManager
fixes issue 3997, fixes issue 4000, fixes issue 4012, fixes issue 4030
fixes issue 4027, fixes issue 4028, fixes issue 4029, fixes issue 4031
fixes issue 4032, fixes issue 4033
Change-Id: Ife307728e46bd3b6dcd189be6886ab8b6fbd9212
Reviewed-on: http://gerrit.dmdirc.com/1144
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
515aabbdef
Lots more window changes/breakgae
Fixes adding child windows - fixes issue 4015.
Containers now manage their command parsers - fixes issue 3999
Change-Id: Ie1bd52dc001be0eee8ecce9e4e6162935ba5d448
Reviewed-on: http://gerrit.dmdirc.com/1134
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
5334959656
Commands now use containers not windows
Fixes issue 3998
Change-Id: I901ed80272a445f2bd303a01e842e6f50cc5ae04
Reviewed-on: http://gerrit.dmdirc.com/1116
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
14 years ago
Shane Mc Cormack
b691b14491
Update the copyright date on all files.
UpdateCopyright.sh now works out the year automatically.
UpdateCopyright.sh now ignores .git aswell as .svn
UpdateCopyright.sh now excludes Binary Files from being matched during the initial search, rather than as an afterthought.
Change-Id: I2cfc56851a4217a4c85cbc7361c7a90421aae717
Reviewed-on: http://gerrit.dmdirc.com/202
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Tested-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
c33fd01752
Initial work on moving to CommandArguments
15 years ago
Chris Smith
c71f179d59
Switch command parsers from using deprecated methods, and remove those that aren't in use by plugins
15 years ago
Chris Smith
1ef0277d3a
Issue 1453: Initial separation of Command and CommandInfo
15 years ago
Gregory Holmes
ad6cddbba0
Update copyright header to 2009
15 years ago
Shane Mc Cormack
882e9e735d
Updated copyright header on all files.
2006-2007 -> 2006-2008
git-svn-id: http://svn.dmdirc.com/trunk@3151 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
67b7959c17
Command parser refactoring
git-svn-id: http://svn.dmdirc.com/trunk@2276 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Gregory Holmes
53ecff959c
Report fixes
git-svn-id: http://svn.dmdirc.com/trunk@1666 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Gregory Holmes
7c28259467
Everything should now be using the IconManager
Everything is now using the new logger methods and levels
git-svn-id: http://svn.dmdirc.com/trunk@1656 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
5f011a46ab
Moved InputWindow interface into ui.interfaces
Deprecated sendLine() in frame container
git-svn-id: http://svn.dmdirc.com/trunk@1543 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
fcef8e2770
Renamed CommandWindow to InputWindow and moved to UI
git-svn-id: http://svn.dmdirc.com/trunk@1539 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago