Chris Smith
7333fc3f2e
Move more initialisation into dagger.
Fully initialise the PluginManager instead of passing around
one in various states of existance.
Move plugin extraction logic into a CorePluginExtractor class.
Inject UpdateManager where appropriate.
Change-Id: I6c15f7682cccd93b40dcc189a0a8466d067095f0
Reviewed-on: http://gerrit.dmdirc.com/2692
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
25628cdde2
Introduce Dagger.
Start off with the simple stuff, just providing unitialised managers
and having Main do all the wiring. Update the tests to match.
Change-Id: I0e86451a7a719d514fa1fed0c79aa4fe45134477
Reviewed-on: http://gerrit.dmdirc.com/2679
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
08bac19e14
Pass in dependencies to ServerManager explicitly.
Avoid static/singleton references, and use a temporary Provider<>
implementation that will eventually be replaced by Dagger.
Change-Id: Id1bda9437f71cc9ddceb0a9ed1ba38d4787f2226
Reviewed-on: http://gerrit.dmdirc.com/2671
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
7243ab1fba
Pass in most dependencies to Server.
Remove all static/singleton references in the constructor so that
Servers can be instansiated sensibly without all the client existing.
Also change everything that creates a Server to use the appropriate
method in the ServerManager instead of doing it manually.
Depends-On: I3fff818d6e6694163660a36f47d60271d8f0e68e
Change-Id: I9842c20b4e4ff846c9bbf4858da794a843c3b053
Reviewed-on: http://gerrit.dmdirc.com/2655
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
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
Shane Mc Cormack
7b67f19db2
Revert "Continue main removal"
Revert "Begin work on removing CommandManager singleton"
This reverts commit e93538e9dc .
Change-Id: I8eb4f70f80292d66e3bdbe9f32766b5f427413c2
Depends-On: Iba86c7f2bf870684e0d41f88d82f16b43d43fe80
Reviewed-on: http://gerrit.dmdirc.com/2601
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
11 years ago
Greg Holmes
e93538e9dc
Continue main removal
Change-Id: I28c660092aabbc8eeebd9ed4dcc80cb9f3940aaf
Depends-On: I28c660092aabbc8eeebd9ed4dcc80cb9f3940aaf
Reviewed-on: http://gerrit.dmdirc.com/2589
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
11 years ago
Shane Mc Cormack
4edc853bbf
Desingleton PluginManager (and as a side-effect, ServerManager).
Depends-On: I72fe837b5ea2352ae0c695948336efcdd92c09c8
Change-Id: I4a3d9b78a5f80aab0330d0906e8c76d00813c97c
Reviewed-on: http://gerrit.dmdirc.com/2523
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
11 years ago
Greg Holmes
c5457ebae4
Stop ServerManager being final
Change-Id: I15c71313b7df83080f2ba14d6f934d4e523c5e9b
Reviewed-on: http://gerrit.dmdirc.com/2457
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
Chris Smith
5c64a29c45
Deprecations
Change-Id: I1aa33d6e360f6050b02b7fe3f7db1312451c93fb
Reviewed-on: http://gerrit.dmdirc.com/2282
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 years ago
Chris Smith
6a06e9abae
Get rid of @author tags
Change-Id: Ib8d0b8886b769777267f0b757faea00787c149f7
Reviewed-on: http://gerrit.dmdirc.com/2080
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 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
Chris Smith
de3775e81d
Fix concurrency problems in ServerManager
Fixes CLIENT-250
Change-Id: Ic571a757be828d77dda0b3aa439ec06cde061e3c
Reviewed-on: http://gerrit.dmdirc.com/1976
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 years ago
Chris Smith
ef8a269d00
Make UIs responsible for their own selection handling.
This removes the core concept of an active window,
and as such the 'active' notification target has
been removed. Fixes CLIENT-214.
Change-Id: Ieddf71114e55e0d3e3b040751d21a5523d4438d4
Depends-On: I9a135fb48b197bb555f470d3052f2ebc9a0a426c
Reviewed-on: http://gerrit.dmdirc.com/1948
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 years ago
Greg Holmes
acdd8268bc
Remove deprecations.
Depends-On: Ic938a7785a30477f47074e574ec8311723d803a9
Change-Id: I5ebf0bd52682cd0b1798d1b1b54353e5e65e793f
Reviewed-on: http://gerrit.dmdirc.com/1838
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.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
6e42762d67
Style fixes
Change-Id: Icfab1de147645d80a999c3678daf268e7e115066
Reviewed-on: http://gerrit.dmdirc.com/1331
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Greboid
a7d7b15696
Fixes compile warnings
Change-Id: Ia24abd971f4b8fac5cbae9069fc962e1da26d1a4
Reviewed-on: http://gerrit.dmdirc.com/1238
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
14 years ago
Chris Smith
85361a47ec
Fix some deprecated method calls
Change-Id: I7a145d7ca3dc30dc996c802ac680914ea3899f11
Reviewed-on: http://gerrit.dmdirc.com/1041
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Chris Smith <chris@dmdirc.com >
14 years ago
Chris Smith
19f343c2c6
Stop using Server.getName() for identities etc
Fixes issue 3938
Change-Id: I57b7de0d981d86a4ba26c4acbadec63dbcc3a623
Reviewed-on: http://gerrit.dmdirc.com/1033
Automatic-Compile: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
ec962daa8b
New join channels methods
Fixes issue 3623
Issue 3600
Change-Id: I4e83082eeb7ad38a5c992510c8ac6fdad88ce6f2
Depends-On: Ia0b147cfe1af5d5d5d1eae34c82e50ce23578d10
Reviewed-on: http://gerrit.dmdirc.com/981
Automatic-Compile: Chris Smith <chris@dmdirc.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
61a5d69673
Clicking a URI now updates the parser accordingly
Fixes issue 3254
Change-Id: Ie58694fd469a16af1a3a4013733706544b87a3bc
Reviewed-on: http://gerrit.dmdirc.com/567
Automatic-Compile: Gregory Holmes <greboid@dmdirc.com >
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Chris Smith
b509c986a5
s/0.6.4/0.6.3/
Change-Id: I3c5cc0978ecd786e6c09fced131ea73f23ab3604
Reviewed-on: http://gerrit.dmdirc.com/539
Automatic-Compile: Gregory Holmes <greboid@dmdirc.com >
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Chris Smith
df5bb32036
More deprecations
ServerManager.getServerFromFrame - why use O(1) when you can have O(n)?!
UIController.getActiveServer - moved to WindowManager
Change-Id: Idd67962f0d733720a0d0fdf73c2fa3e04a15cf77
Reviewed-on: http://gerrit.dmdirc.com/375
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@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
Gregory Holmes
0bac54f81e
fixes issue 3211
Change-Id: I918eef3d302cfd84b01b6fda90b6ade2d9be7957
Reviewed-on: http://gerrit.dmdirc.com/179
Tested-by: Gregory Holmes <greboid@dmdirc.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
8e8dab0662
s/0.6.3m3/0.6.4/
Change-Id: I6efb26ee834168d1ead9e9d3f5734523b078d504
Reviewed-on: http://gerrit.dmdirc.com/62
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Chris Smith
f8fc611fc1
Use URI instead of IrcAddress.
Fixes issue 2921. Issue 2872.
Change-Id: I3f31ea528d02a4c1de0147e5f416b84ff05defde
Reviewed-on: http://gerrit.dmdirc.com/56
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Tested-by: Chris Smith <chris@dmdirc.com >
14 years ago
Chris Smith
3e8d7c6ea2
Servers no longer autoconnect.
Fixes issue 2227; fixes issue 2807 (dev error)
15 years ago
Chris Smith
5aec5dfc9f
Servers now use IrcAddresses in constructors. Issue 2736.
15 years ago
Chris Smith
043966febb
Fixes issue 2604
Unit test for issue 2604
15 years ago
Gregory Holmes
ad6cddbba0
Update copyright header to 2009
15 years ago
Chris Smith
34d37325d2
Core style/pmd fixes
git-svn-id: http://svn.dmdirc.com/trunk@3640 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
ea823fde73
ServerManager now synchronises access to its server list
May fix issue 793, but who knows
git-svn-id: http://svn.dmdirc.com/trunk@3515 00569f92 -eb28-0410-84fd-f71c24880f
16 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
4d4040f520
Fixes issue 617: window closing procedure
git-svn-id: http://svn.dmdirc.com/trunk@3115 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
af8127df11
Issue 566: Can't rejoin parted channel by double clicking/using "join dev channel" menu item
Needs backporting
git-svn-id: http://svn.dmdirc.com/trunk@2994 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
31dc28fbc1
Major hackage of how closing windows works. Away listeners should be properly removed now. We need to take a better look at the closing process at some point in the future
git-svn-id: http://svn.dmdirc.com/trunk@2958 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Gregory Holmes
cb0f7fdccd
More URL Handler work
Added ServerManager.getServersByAddress
Added IrcAddress.connect (made CLI parser use this)
git-svn-id: http://svn.dmdirc.com/trunk@2707 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
a662bec2b4
Changed some instances of getOption().split("\n") to getOptionList
Moved the #DMDirc-joining logic from MainFrame to Server
git-svn-id: http://svn.dmdirc.com/trunk@2529 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
e0a444553c
Window Manager work. Horribly broken at the minute, but my PC can't seem to cope with editing files.
git-svn-id: http://svn.dmdirc.com/trunk@2440 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Gregory Holmes
a9af71a6fe
Tidied up the treeview some more, and ironed out some bugs with the new selection/scrolling code
Changed the way framecontainers add themselves to the treeview
Fixed the PasteDialog not moving itself when it resizes
git-svn-id: http://svn.dmdirc.com/trunk@2343 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Gregory Holmes
5229587e1c
FrameManagers now use {add,del}Window(FrameContainer) and {add,del}Window(FrameContainer, FrameContainer) instead of {add,del}Server and {add,del}Custom
git-svn-id: http://svn.dmdirc.com/trunk@2315 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
9262e62844
Server constructor can now take a list of channels to auto-join
Added ServerManager.getServersByNetwork
git-svn-id: http://svn.dmdirc.com/trunk@1880 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
f25f58da88
UI abstraction
git-svn-id: http://svn.dmdirc.com/trunk@1749 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
0afc69b0c7
Hide everything behind interfaces
git-svn-id: http://svn.dmdirc.com/trunk@1551 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Chris Smith
8a0ce12d42
Core tidying
git-svn-id: http://svn.dmdirc.com/trunk@1534 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Gregory Holmes
4f388f8c7d
Initial work on window list in the window menu
git-svn-id: http://svn.dmdirc.com/trunk@1501 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago
Gregory Holmes
1417227f62
NPE fix in ServerManager
Some improvements to buffer search
Style fixes
git-svn-id: http://svn.dmdirc.com/trunk@1375 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago