Chris Smith
48af85945c
Deprecate windowClosed and windowClosing methods.
These are a hold-over from when the core had to have a back-and-forth with
the UI in order to close a window.
Provide stub implementations in FrameContainer, deprecate them, and remove
any unecessary overrides in the core.
Change-Id: Icf9bfc6bc40b66135d161a5047d01d46b2171234
Reviewed-on: http://gerrit.dmdirc.com/3008
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
c59e662ad4
FrameContainers should expose a Connection.
Anywhere that doesn't just work with a Connection, cast back to a Server for
now. These can be tidied up later.
Change-Id: I02a54b0bcfaef08d5757cc015c356f9779ec0371
Depends-On: Id55c3611173be7ed79fae8f9e976996d713b8646
Reviewed-on: http://gerrit.dmdirc.com/2950
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 yıl önce
Chris Smith
8727a298ac
Tidy up some TabCompleter usages.
Change-Id: I1d61d1895025f3b7febd7cae1e8411d0b198f141
Depends-On: I2eb5ac89568b524ef13cf1d455eb5b51904c806c
Reviewed-on: http://gerrit.dmdirc.com/2867
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 yıl önce
Chris Smith
f45fca1fb7
Some more static removal/tidying/etc.
Change-Id: I90c3e916bd9510dcd0596e00139b0b48babd5347
Reviewed-on: http://gerrit.dmdirc.com/2865
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 yıl önce
Chris Smith
43d0bfac36
Tidy up how windows are added/removed.
- Don't have FrameContainers add themselves to the WindowManager in
the constructor.
- Don't make FrameContainers keep a reference to WindowManager just
to remove themselves when they're closed
- Instead have WindowManager register a FrameClosed listener and use
that to remove windows itself.
Change-Id: Iadbca8a28f7ef3372df7fda722a3cbba2a0fbad6
Depends-On: I0f60ac23438313cab49cdb86c089938f5ee44abc
Reviewed-on: http://gerrit.dmdirc.com/2842
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 yıl önce
Chris Smith
f8e15603bc
Remove MessageSinkManager singleton.
Change-Id: Iaafcea914d16f33ce98c331084cd3e9c8fdbbeda
Depends-On: I1cd8a5676beab1f3aba7f62b064dd5b2c2ce0f61
Reviewed-on: http://gerrit.dmdirc.com/2821
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 yıl önce
Greg Holmes
0c43d2a21e
Remove most singleton uses of WindowManager.
Change-Id: Idd97b752328310b4f829a45a43de5fdf6f5712a5
Depends-On: I1f054c7423106afe3fc49db8dc44613ec11c35bb
Reviewed-on: http://gerrit.dmdirc.com/2816
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 yıl önce
Chris Smith
14da0a2938
Remove ConfigManager references.
Change-Id: I065a771ff81e565b37689f9d6ea82d4057cec2f1
Reviewed-on: http://gerrit.dmdirc.com/2779
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
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
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 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
Chris Smith
ebbd1daff5
Import fixing!
Change-Id: Ia90cb759b0777cf8d30eb6bfe30a5bece0105d24
Reviewed-on: http://gerrit.dmdirc.com/2281
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 yıl önce
Chris Smith
d4507e0b3a
Deprecation fixes
Sprinkle some annotations over the CommandManager
More fiddling with NB7.1 settings
Change-Id: I2a0b751798249d4cc3e527f6d2e5525d1936f0e1
Reviewed-on: http://gerrit.dmdirc.com/2278
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 yıl önce
Greg Holmes
60d9db2dcf
Centralised interfaces packages.
Depends-On: I862891efc407a64559788812ee039a9ec565a973
Change-Id: If624693f050e1aa9cf4cabcd5264518604eb8bcd
Reviewed-on: http://gerrit.dmdirc.com/2167
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
13 yıl önce
Chris Smith
1011d7136a
Remove window class from frame containers
Change-Id: I6c243840a40655bbbdd7a32ab707a7f2e15880ae
Depends-On: I32d75cc6dee8dce03390a2d29026f70e5ebf2bc4
Reviewed-on: http://gerrit.dmdirc.com/2096
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
13 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
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
675c52357b
Rework how window closing works
Fixes CLIENT-82
Change-Id: I4ea9fbf6c939a5b16f15ade230255b948e210c2c
Depends-On: I97f44a9269288f876a7a71b412302cec4238d9d4
Reviewed-on: http://gerrit.dmdirc.com/1600
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 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
b218425541
Fix unit tests not compiling
Change-Id: I1714342aa223c2cc9d6d995c36e90961804cb975
Reviewed-on: http://gerrit.dmdirc.com/1138
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 yıl önce
Chris Smith
bec66870a7
Window titles are now handled by the core
Fixes issue 3996
Change-Id: I562e5db0da3af91b880cd98c9af11712750bf9f0
Reviewed-on: http://gerrit.dmdirc.com/1118
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 yıl önce
Chris Smith
ae480614fd
Fix writable frame container harness
Change-Id: I07bc51e40d5775439e6abf02bb7b0b8719675374
Reviewed-on: http://gerrit.dmdirc.com/924
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
5721d96614
Fix unit test. Issue 2410
15 yıl önce
Chris Smith
8d0b6c83a0
Replace TestFrameManager with a mock, make the WritableFrameContainer
harness close windows properly
15 yıl önce
Gregory Holmes
ad6cddbba0
Update copyright header to 2009
15 yıl önce
Chris Smith
100ee42985
Unit test for issue 1845
git-svn-id: http://svn.dmdirc.com/trunk@4842 00569f92 -eb28-0410-84fd-f71c24880f
16 yıl önce
Chris Smith
8b351729ac
Work on unit test for InputTextFrame
git-svn-id: http://svn.dmdirc.com/trunk@4840 00569f92 -eb28-0410-84fd-f71c24880f
16 yıl önce
Chris Smith
2ad9ce2407
Refactor the unit tests so all supporting classes/harnesses are in com.dmdirc.harnesses, instead of dotted around as inner classes
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3908 00569f92 -eb28-0410-84fd-f71c24880f
16 yıl önce
Chris Smith
8706edabbd
Added tests for a bunch of commands to ensure they output usage instructions when passed too few args
Added test to check that each command that can be shown in /help starts its help text with the command name
git-svn-id: http://svn.dmdirc.com/trunk@3494 00569f92 -eb28-0410-84fd-f71c24880f
16 yıl önce
Chris Smith
f8ac0eb4d0
More work on core preferences stuff (for issue 444)
git-svn-id: http://svn.dmdirc.com/trunk@3187 00569f92 -eb28-0410-84fd-f71c24880f
16 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
Gregory Holmes
eac3d99e77
Initial work on error system rewrite
WindowMenuFrameManager now shows icons and sorts items
git-svn-id: http://svn.dmdirc.com/trunk@1642 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
Gregory Holmes
97e5b5b525
Removed Test command
Added basic package comments for remaining packages
git-svn-id: http://svn.dmdirc.com/trunk@616 00569f92 -eb28-0410-84fd-f71c24880f
17 yıl önce
Shane Mc Cormack
a37bc56e0f
Added automatic utilities used on website
git-svn-id: http://svn.dmdirc.com/trunk@554 00569f92 -eb28-0410-84fd-f71c24880f
17 yıl önce
Gregory Holmes
a729dc22aa
Style fixes
git-svn-id: http://svn.dmdirc.com/trunk@512 00569f92 -eb28-0410-84fd-f71c24880f
17 yıl önce
Gregory Holmes
2945115f5d
Updated logger to use the new FatalErrorDialog
Updated FatalErrorDialog to terminate the application and show the appropriate error message
git-svn-id: http://svn.dmdirc.com/trunk@199 00569f92 -eb28-0410-84fd-f71c24880f
17 yıl önce
Gregory Holmes
35085e2987
Refactored Logger into its own package with seperate enum classes.
git-svn-id: http://svn.dmdirc.com/trunk@170 00569f92 -eb28-0410-84fd-f71c24880f
17 yıl önce
Chris Smith
ee27770520
Rename package to uk.org....
git-svn-id: http://svn.dmdirc.com/trunk@109 00569f92 -eb28-0410-84fd-f71c24880f
17 yıl önce
Chris Smith
c2ab0c8e50
Updated package names to comply with coding conventions
git-svn-id: http://svn.dmdirc.com/trunk@74 00569f92 -eb28-0410-84fd-f71c24880f
17 yıl önce
Gregory Holmes
f474feb674
Actually added the plugins this time.
git-svn-id: http://svn.dmdirc.com/trunk@71 00569f92 -eb28-0410-84fd-f71c24880f
17 yıl önce
Chris Smith
ced0f0a067
- ChannelCommandParser now extends ServerCommandParser
- Rename Command.thingy to Command.polyadic
- Command.arity now defaults to 0
- The CommandParser can now register commands
git-svn-id: http://svn.dmdirc.com/trunk@57 00569f92 -eb28-0410-84fd-f71c24880f
17 yıl önce
Chris Smith
5772c821fd
Update copyright header
git-svn-id: http://svn.dmdirc.com/trunk@56 00569f92 -eb28-0410-84fd-f71c24880f
17 yıl önce
Chris Smith
ed72707ba2
Add skeleton command parser files
git-svn-id: http://svn.dmdirc.com/trunk@55 00569f92 -eb28-0410-84fd-f71c24880f
17 yıl önce