MantisBT - MPfm
View Issue Details
0000356MPfm[All Projects] Globalpublic2012-05-03 18:542013-06-24 12:54
ycastonguay 
ycastonguay 
lowfeatureN/A
resolvedfixed 
 
0.7.0.00.7.0.0 
0000356: Add dependency injection with TinyIOC
This item used to be about Ninject integration, but since the iOS and Android platforms have been added, the application should now use TinyIOC. It's unfortunate that Ninject will never support MonoTouch/Mono for Android (the developers are hostile to Xamarin!).
No tags attached.
Issue History
2012-05-03 18:54ycastonguayNew Issue
2012-05-03 18:54ycastonguayStatusnew => assigned
2012-05-03 18:54ycastonguayAssigned To => ycastonguay
2012-05-13 15:32svnCheckin
2012-05-13 15:32svnNote Added: 0000677
2012-05-13 15:46ycastonguayTarget Version0.7.0.0 => 0.7.2.0
2012-05-13 15:54svnCheckin
2012-05-13 15:54svnNote Added: 0000678
2012-05-27 13:13ycastonguayTarget Version0.7.2.0 => 0.7.0.0
2012-05-29 19:34svnCheckin
2012-05-29 19:34svnNote Added: 0000728
2012-05-29 20:41svnCheckin
2012-05-29 20:41svnNote Added: 0000733
2012-05-29 20:41svnCheckin
2012-05-29 20:41svnNote Added: 0000735
2012-05-29 21:34svnCheckin
2012-05-29 21:34svnNote Added: 0000737
2012-05-29 21:37ycastonguaySummaryAdd dependency injection with NInject => Add dependency injection with Ninject
2012-05-29 21:37ycastonguayDescription Updatedbug_revision_view_page.php?rev_id=186#r186
2013-01-11 18:00ycastonguaySummaryAdd dependency injection with Ninject => Add dependency injection with TinyIOC
2013-01-11 18:00ycastonguayDescription Updatedbug_revision_view_page.php?rev_id=198#r198
2013-01-20 20:24svnCheckin
2013-01-20 20:24svnNote Added: 0000911
2013-01-20 20:55svnCheckin
2013-01-20 20:55svnNote Added: 0000912
2013-01-20 20:56svnCheckin
2013-01-20 20:56svnNote Added: 0000913
2013-02-07 19:54ycastonguayChangeset attached => GitHub - ycastonguay/MPfm current 8641ed93
2013-06-24 12:54ycastonguayStatusassigned => resolved
2013-06-24 12:54ycastonguayFixed in Version => 0.7.0.0
2013-06-24 12:54ycastonguayResolutionopen => fixed

Notes
(0000677)
svn   
2012-05-13 15:32   
The user animal has checked in files related to this issue (revision 491).

Comment:
MPfm 0.6.0.1
* MVP
  - Added Ninject to the project. Not used yet though.
* GTK
  - Added Ninject to the project. Not used yet though.

Related to issue 0000356.


Files modified:
A MPfm/branches/current/MPfm.GTK/Lib/Ninject.dll
U MPfm/branches/current/MPfm.GTK/MPfm.GTK.csproj
A MPfm/branches/current/MPfm.MVP/Lib/
A MPfm/branches/current/MPfm.MVP/Lib/Ninject.dll
U MPfm/branches/current/MPfm.MVP/MPfm.MVP.csproj
U MPfm/branches/current/MPfm.MVP/Presenters/MainPresenter.cs
(0000678)
svn   
2012-05-13 15:54   
The user animal has checked in files related to this issue (revision 492).

Comment:
MPfm 0.6.0.1
* WinForms
  - Added Ninject.

Related to issue 0000356.



Files modified:
A MPfm/branches/current/MPfm/Lib/Ninject.dll
U MPfm/branches/current/MPfm/MPfm.csproj
(0000728)
svn   
2012-05-29 19:34   
The user animal has checked in files related to this issue (revision 518).

Comment:
MPfm 0.6.0.1
* MVP
  - Removed views from all presenter constructors. The views must now be set using the BindView method.
  - LibraryModule: Added Ninject bindings for all presenters.
* GTK
  - The MainWindow is now created by Ninject!
  - MainWindow: Added all presenters in constructor.
  
Related to issue 0000356, issue 0000361, issue 0000364, issue 0000373 and issue 0000374.


Files modified:
U MPfm/branches/current/MPfm.GTK/Main.cs
U MPfm/branches/current/MPfm.GTK/Windows/MainWindow.cs
U MPfm/branches/current/MPfm.GTK/Windows/UpdateLibraryWindow.cs
U MPfm/branches/current/MPfm.MVP/Bootstrapper/LibraryModule.cs
U MPfm/branches/current/MPfm.MVP/Presenters/Interfaces/ILibraryBrowserPresenter.cs
U MPfm/branches/current/MPfm.MVP/Presenters/Interfaces/IPlayerPresenter.cs
U MPfm/branches/current/MPfm.MVP/Presenters/Interfaces/ISongBrowserPresenter.cs
U MPfm/branches/current/MPfm.MVP/Presenters/Interfaces/IUpdateLibraryPresenter.cs
U MPfm/branches/current/MPfm.MVP/Presenters/LibraryBrowserPresenter.cs
U MPfm/branches/current/MPfm.MVP/Presenters/PlayerPresenter.cs
U MPfm/branches/current/MPfm.MVP/Presenters/SongBrowserPresenter.cs
U MPfm/branches/current/MPfm.MVP/Presenters/UpdateLibraryPresenter.cs
(0000733)
svn   
2012-05-29 20:41   
The user animal has checked in files related to this issue (revision 519).

Comment:
MPfm 0.6.0.1
* MVP
  - Removed AudioFileCache singleton class.
  - Ninject: Updated bindings (changed PlayerPresenter binding to InSingletonScope).
  - Ninject: Added AudioFileCacheService as a singleton (InSingletonScope).
  - LibraryBrowserPresenter: Added IAudioFileCacheService to constructor.
* GTK
  - Added controls to the PlaylistWindow.

Related to issue 0000356 and issue 0000373.


Files modified:
U MPfm/branches/current/MPfm.GTK/Main.cs
U MPfm/branches/current/MPfm.GTK/Windows/MainWindow.cs
U MPfm/branches/current/MPfm.GTK/Windows/PlaylistWindow.cs
U MPfm/branches/current/MPfm.GTK/gtk-gui/MPfm.GTK.MainWindow.cs
U MPfm/branches/current/MPfm.GTK/gtk-gui/MPfm.GTK.PlaylistWindow.cs
U MPfm/branches/current/MPfm.MVP/Bootstrapper/LibraryModule.cs
U MPfm/branches/current/MPfm.MVP/MPfm.MVP.csproj
U MPfm/branches/current/MPfm.MVP/Presenters/LibraryBrowserPresenter.cs
U MPfm/branches/current/MPfm.MVP/Presenters/SongBrowserPresenter.cs
(0000735)
svn   
2012-05-29 20:41   
The user animal has checked in files related to this issue (revision 520).

Comment:
MPfm 0.6.0.1
* MVP
  - Removed AudioFileCache singleton class.
  - Ninject: Updated bindings (changed PlayerPresenter binding to InSingletonScope).
  - Ninject: Added AudioFileCacheService as a singleton (InSingletonScope).
  - LibraryBrowserPresenter: Added IAudioFileCacheService to constructor.
* GTK
  - Added controls to the PlaylistWindow.

Related to issue 0000356 and issue 0000373.


Files modified:
U MPfm/branches/current/MPfm.GTK/gtk-gui/gui.stetic
(0000737)
svn   
2012-05-29 21:34   
The user animal has checked in files related to this issue (revision 521).

Comment:
MPfm 0.6.0.1
* MVP
  - PlayerPresenter: Added Play(IEnumerable<string> filePaths) overload.
* Mac
  - Updated MainWindowController implementation with PlayerView, SongBrowserView and LibraryBrowserView.
  - Ninject now creates the MainWindowController.

Related to issue 0000356 and issue 0000361.


Files modified:
U MPfm/branches/current/MPfm.MVP/Presenters/Interfaces/IPlayerPresenter.cs
U MPfm/branches/current/MPfm.MVP/Presenters/PlayerPresenter.cs
U MPfm/branches/current/MPfm.Mac/AppDelegate.cs
U MPfm/branches/current/MPfm.Mac/MPfm.Mac.csproj
U MPfm/branches/current/MPfm.Mac/MainWindowController.cs
U MPfm/branches/current/MPfm.Mac/Windows/UpdateLibraryWindowController.cs
(0000911)
svn   
2013-01-20 20:24   
The user animal has checked in files related to this issue (revision 683).

Comment:
MVP: Replaced Ninject by TinyIoC.
Mac: Updated project with TinyIoC changes and new namespace update by ReSharper (last check-in).

Related to issue 0000356.


Files modified:
U MPfm/branches/current/MPfm.MVP/Bootstrapper/Bootstrapper.cs
D MPfm/branches/current/MPfm.MVP/Bootstrapper/LibraryModule.cs
U MPfm/branches/current/MPfm.MVP/MPfm.MVP.csproj
U MPfm/branches/current/MPfm.MVP/MPfm.MVP.iOS.csproj
U MPfm/branches/current/MPfm.MVP/NavigationManager.cs
U MPfm/branches/current/MPfm.MVP/Services/InitializationService.cs
U MPfm/branches/current/MPfm.MVP/Services/UpdateLibraryService.cs
U MPfm/branches/current/MPfm.MVP/TinyIoC/TinyIoC.cs
U MPfm/branches/current/MPfm.MVP/TinyIoC/TinyMessenger.cs
U MPfm/branches/current/MPfm.Mac/AppDelegate.cs
U MPfm/branches/current/MPfm.Mac/Classes/MacNavigationManager.cs
U MPfm/branches/current/MPfm.Mac/Controls/MPfmAlbumCoverView.cs
U MPfm/branches/current/MPfm.Mac/Controls/SongPositionSlider.cs
U MPfm/branches/current/MPfm.Mac/Helpers/AlbumCoverHelper.cs
U MPfm/branches/current/MPfm.Mac/MPfm.Mac.csproj
U MPfm/branches/current/MPfm.Mac/Objects/AlbumCoverSource.cs
U MPfm/branches/current/MPfm.Mac/Objects/LibraryBrowserDataSource.cs
U MPfm/branches/current/MPfm.Mac/Objects/LibraryBrowserItem.cs
U MPfm/branches/current/MPfm.Mac/Objects/LibraryBrowserOutlineViewDelegate.cs
U MPfm/branches/current/MPfm.Mac/Objects/MainSplitViewDelegate.cs
U MPfm/branches/current/MPfm.Mac/Objects/SongBrowserItem.cs
U MPfm/branches/current/MPfm.Mac/Objects/SongBrowserSource.cs
U MPfm/branches/current/MPfm.Mac/Objects/SongBrowserTableViewDelegate.cs
U MPfm/branches/current/MPfm.Mac/Windows/Controllers/BaseWindowController.cs
U MPfm/branches/current/MPfm.Mac/Windows/Controllers/EditLoopWindowController.cs
U MPfm/branches/current/MPfm.Mac/Windows/Controllers/EditMarkerWindowController.cs
U MPfm/branches/current/MPfm.Mac/Windows/Controllers/EffectsWindowController.cs
U MPfm/branches/current/MPfm.Mac/Windows/Controllers/MainWindowController.cs
U MPfm/branches/current/MPfm.Mac/Windows/Controllers/PlaylistWindowController.cs
U MPfm/branches/current/MPfm.Mac/Windows/Controllers/PreferencesWindowController.cs
U MPfm/branches/current/MPfm.Mac/Windows/Controllers/SplashWindowController.cs
U MPfm/branches/current/MPfm.Mac/Windows/Controllers/UpdateLibraryWindowController.cs
U MPfm/branches/current/MPfm.Sound/AudioFiles/AudioFile.cs
(0000912)
svn   
2013-01-20 20:55   
The user animal has checked in files related to this issue (revision 684).

Comment:
GTK: Removed Ninject references and replaced by TInyIoC.

Related to issue 0000356.


Files modified:
A MPfm/branches/current/MPfm.GTK/Classes/ImageManipulation.cs
U MPfm/branches/current/MPfm.GTK/MPfm.GTK.csproj
U MPfm/branches/current/MPfm.GTK/Main.cs
U MPfm/branches/current/MPfm.GTK/Windows/BaseWindow.cs
U MPfm/branches/current/MPfm.GTK/Windows/EffectsWindow.cs
U MPfm/branches/current/MPfm.GTK/Windows/MainWindow.cs
U MPfm/branches/current/MPfm.GTK/Windows/PlaylistWindow.cs
U MPfm/branches/current/MPfm.GTK/Windows/PreferencesWindow.cs
U MPfm/branches/current/MPfm.GTK/Windows/SplashWindow.cs
U MPfm/branches/current/MPfm.GTK/Windows/UpdateLibraryWindow.cs
U MPfm/branches/current/MPfm.MVP/NavigationManager.cs
(0000913)
svn   
2013-01-20 20:56   
The user animal has checked in files related to this issue (revision 685).

Comment:
Mac: Removed test method from NavigationManager.

Related to issue 0000356.


Files modified:
U MPfm/branches/current/MPfm.Mac/Classes/MacNavigationManager.cs