Chris Smith
5cc0af4324
Use EventBus interface.
This is just an IntelliJ refactor, using EventBus in place of
DMDircMBassador whenever possible.
7 yıl önce
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 yıl önce
Chris Smith
18cb00a6bc
Assorted tidying.
8 yıl önce
Chris Smith
688abf5985
Make QueryCommandParsers use PrivateChat.
9 yıl önce
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 yıl önce
Chris Smith
ea9a81563c
Fix a bunch more FrameContainer references.
9 yıl önce
Chris Smith
a5b74d14f8
Make CommandParser use WindowModel.
9 yıl önce
Shane Mc Cormack
9f3fcd1b59
2015!
9 yıl önce
Chris Smith
d661e1efb0
Remove more usages of Server.
This adds a sendLine method to Connection, which is a bit icky,
but is useful when the end-user is supplying lines to pass
directly to the underlying connection.
9 yıl önce
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 yıl önce
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 yıl önce
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 yıl önce
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 yıl önce
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 yıl önce
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 yıl önce
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 yıl önce
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 yıl önce
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 yıl önce
Chris Smith
9383f037cf
Remove some singleton refs.
Change-Id: Ie18371370168b32cafbd2356f1ff710b43436036
Reviewed-on: http://gerrit.dmdirc.com/2863
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 yıl önce
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 yıl önce
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 yıl önce
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 yıl önce
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 yıl önce
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 yıl önce
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 yıl önce
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 yıl önce
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 yıl önce
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 yıl önce
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 yıl önce
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 yıl önce
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 yıl önce
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 yıl önce
Chris Smith
c33fd01752
Initial work on moving to CommandArguments
15 yıl önce
Chris Smith
c71f179d59
Switch command parsers from using deprecated methods, and remove those that aren't in use by plugins
15 yıl önce
Chris Smith
1ef0277d3a
Issue 1453: Initial separation of Command and CommandInfo
15 yıl önce
Gregory Holmes
ad6cddbba0
Update copyright header to 2009
15 yıl önce
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 yıl önce
Chris Smith
67b7959c17
Command parser refactoring
git-svn-id: http://svn.dmdirc.com/trunk@2276 00569f92 -eb28-0410-84fd-f71c24880f
16 yıl önce
Chris Smith
0d2a7b730b
Added new chat command class
git-svn-id: http://svn.dmdirc.com/trunk@1778 00569f92 -eb28-0410-84fd-f71c24880f
17 yıl önce
Gregory Holmes
53ecff959c
Report fixes
git-svn-id: http://svn.dmdirc.com/trunk@1666 00569f92 -eb28-0410-84fd-f71c24880f
17 yıl önce
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 yıl önce
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 yıl önce
Gregory Holmes
fb66b5c5e1
All commands now have an isSilent param
git-svn-id: http://svn.dmdirc.com/trunk@1313 00569f92 -eb28-0410-84fd-f71c24880f
17 yıl önce
Shane Mc Cormack
7a22e084d1
Repackaged: Logger, CommandParser, Actions, Identities
git-svn-id: http://svn.dmdirc.com/trunk@1295 00569f92 -eb28-0410-84fd-f71c24880f
17 yıl önce
Shane Mc Cormack
f7b6081fcf
Moved Files from uk/org/ownage/ to com/
Will sort imports etc next
git-svn-id: http://svn.dmdirc.com/trunk@1293 00569f92 -eb28-0410-84fd-f71c24880f
17 yıl önce
Chris Smith
afdb7f3822
Added some initial support for silent commands
git-svn-id: http://svn.dmdirc.com/trunk@1267 00569f92 -eb28-0410-84fd-f71c24880f
17 yıl önce
Chris Smith
7762d3d7ad
FEATURE: Global commands (fixed errors from previous commit)
git-svn-id: http://svn.dmdirc.com/trunk@1240 00569f92 -eb28-0410-84fd-f71c24880f
17 yıl önce
Chris Smith
ec1aece30c
Initial global commands support (may be broken, can't test until svn removes the moved files...)
git-svn-id: http://svn.dmdirc.com/trunk@1239 00569f92 -eb28-0410-84fd-f71c24880f
17 yıl önce
Chris Smith
fb10874355
Added method to CommandWindow to get the FrameContainer that contains it
Abstracted invalidCommand handling back into CommandParser
Added action hook for unknown commands
git-svn-id: http://svn.dmdirc.com/trunk@1024 00569f92 -eb28-0410-84fd-f71c24880f
17 yıl önce
Chris Smith
f6e1252425
Command parser style improvements
git-svn-id: http://svn.dmdirc.com/trunk@620 00569f92 -eb28-0410-84fd-f71c24880f
17 yıl önce