MantisBT - MPfm
View Issue Details
0000364MPfmMVP | Presenterspublic2012-05-13 12:042013-02-23 13:19
ycastonguay 
ycastonguay 
normalfeatureN/A
assignedopen 
 
0.7.0.0 
0000364: Add view/presenter for Update Library user interface (IUpdateLibraryPresenter/IUpdateLibraryView)
The Presenter controls all the logic for the application. It sends updates to the
view through the IUpdateLibraryView interface (for the Update Library Window).
No tags attached.
child of 0000324assigned ycastonguay Use a MVP-style pattern to centralize code for UI on multiple platforms 
Issue History
2012-05-13 12:04ycastonguayNew Issue
2012-05-13 12:04ycastonguayStatusnew => assigned
2012-05-13 12:04ycastonguayAssigned To => ycastonguay
2012-05-13 12:04ycastonguayIssue generated from0000361
2012-05-13 12:04ycastonguayRelationship addedchild of 0000324
2012-05-13 12:06svnCheckin
2012-05-13 12:06svnNote Added: 0000672
2012-05-13 13:23svnCheckin
2012-05-13 13:23svnNote Added: 0000675
2012-05-14 18:20svnCheckin
2012-05-14 18:20svnNote Added: 0000688
2012-05-14 21:19svnCheckin
2012-05-14 21:19svnNote Added: 0000691
2012-05-14 21:46svnCheckin
2012-05-14 21:46svnNote Added: 0000694
2012-05-15 22:04svnCheckin
2012-05-15 22:04svnNote Added: 0000699
2012-05-15 22:47svnCheckin
2012-05-15 22:47svnNote Added: 0000701
2012-05-19 11:39svnCheckin
2012-05-19 11:39svnNote Added: 0000705
2012-05-19 12:01svnCheckin
2012-05-19 12:01svnNote Added: 0000708
2012-05-27 13:11ycastonguayTarget Version0.7.2.0 => 0.7.0.0
2012-05-29 19:34svnCheckin
2012-05-29 19:34svnNote Added: 0000730
2013-02-23 13:19ycastonguaySummaryAdd the IUpdateLibraryPresenter interface and implement UpdateLibraryPresenter => Add view/presenter for Update Library user interface (IUpdateLibraryPresenter/IUpdateLibraryView)

Notes
(0000672)
svn   
2012-05-13 12:06   
The user animal has checked in files related to this issue (revision 488).

Comment:
MPfm 0.6.0.1
* MVP
  - Added IUpdateLibraryPresenter and UpdateLibraryPresenter.
  - IMainPresenter/MainPresenter: Implemented most playback methods.
* GTK
  - Updated IMainView implementation.

Related to issue 0000324, issue #360 and issue 0000364.


Files modified:
U MPfm/branches/current/MPfm.GTK/Windows/MainWindow.cs
U MPfm/branches/current/MPfm.GTK/gtk-gui/MPfm.GTK.PlaylistWindow.cs
U MPfm/branches/current/MPfm.MVP/MPfm.MVP.csproj
A MPfm/branches/current/MPfm.MVP/Presenters/IMainPresenter.cs
U MPfm/branches/current/MPfm.MVP/Presenters/MainPresenter.cs
A MPfm/branches/current/MPfm.MVP/Services/IMainService.cs
D MPfm/branches/current/MPfm.MVP/Services/IMainView.cs
U MPfm/branches/current/MPfm.MVP/Views/IMainView.cs
A MPfm/branches/current/MPfm.MVP/Views/IUpdateLibraryView.cs
(0000675)
svn   
2012-05-13 13:23   
The user animal has checked in files related to this issue (revision 489).

Comment:
MPfm 0.6.0.1
* MVP
  - MainPresenter: Added RefreshSongInformation method
  - Added SongInformationEntity.
  - IMainView: Now using SongInformationEntity for the RefreshSongInformation method.
* GTK
  - Updated IMainView implementation.

Related to issue 0000324, issue #360 and issue 0000364.


Files modified:
U MPfm/branches/current/MPfm.GTK/Windows/MainWindow.cs
U MPfm/branches/current/MPfm.MVP/MPfm.MVP.csproj
A MPfm/branches/current/MPfm.MVP/Models/SongInformationEntity.cs
U MPfm/branches/current/MPfm.MVP/Presenters/MainPresenter.cs
U MPfm/branches/current/MPfm.MVP/Views/IMainView.cs
(0000688)
svn   
2012-05-14 18:20   
The user animal has checked in files related to this issue (revision 500).

Comment:
MPfm 0.6.0.1
* MVP
  - UpdateLibraryPresenter: Added BackgroundWorker.
* Library
  - UpdateLibraryService: Added UpdateLibrary method.

Related to issue 0000364 and issue 0000367.


Files modified:
U MPfm/branches/current/MPfm.Library/Services/UpdateLibraryService.cs
U MPfm/branches/current/MPfm.MVP/Presenters/UpdateLibraryPresenter.cs
(0000691)
svn   
2012-05-14 21:19   
The user animal has checked in files related to this issue (revision 501).

Comment:
MPfm 0.6.0.1
* MVP
  - UpdateLibraryPresenter: Added background worker DoWork and RunWorkerCompleted events.
* Library
  - MPfmGateway: Added the SelectFilePaths method to return a list of distinct file paths from the database.
  - LibraryService: Added SelectFolders method.
  - LibraryService: Merged with UpdateLibraryService.
* GTK
  - Updated implementation.

Related to issue 0000364 and issue 0000366.



Files modified:
U MPfm/branches/current/MPfm.GTK/Windows/UpdateLibraryWindow.cs
U MPfm/branches/current/MPfm.Library/Gateway/IMPfmGateway.cs
U MPfm/branches/current/MPfm.Library/Gateway/ISQLiteGateway.cs
U MPfm/branches/current/MPfm.Library/Gateway/MPfmGateway.cs
U MPfm/branches/current/MPfm.Library/Gateway/SQLiteGateway.cs
U MPfm/branches/current/MPfm.Library/MPfm.Library.csproj
U MPfm/branches/current/MPfm.Library/Services/ILibraryService.cs
D MPfm/branches/current/MPfm.Library/Services/IUpdateLibraryService.cs
U MPfm/branches/current/MPfm.Library/Services/LibraryService.cs
D MPfm/branches/current/MPfm.Library/Services/UpdateLibraryService.cs
U MPfm/branches/current/MPfm.MVP/MPfm.MVP.csproj
U MPfm/branches/current/MPfm.MVP/Presenters/UpdateLibraryPresenter.cs
(0000694)
svn   
2012-05-14 21:46   
The user animal has checked in files related to this issue (revision 503).

Comment:
MPfm 0.6.0.1
* MVP
  - UpdateLibraryPresenter: Updated background worker DoWork event.
  - LibraryService: Added InsertAudioFile and InsertPlaylistFile.
* GTK
  - UpdateLibraryWindow: Added update library mode to constructor parameters.

Related to issue 0000364 and issue 0000366.



Files modified:
U MPfm/branches/current/MPfm.GTK/Windows/MainWindow.cs
U MPfm/branches/current/MPfm.GTK/Windows/UpdateLibraryWindow.cs
U MPfm/branches/current/MPfm.MVP/Presenters/IUpdateLibraryPresenter.cs
U MPfm/branches/current/MPfm.MVP/Presenters/UpdateLibraryPresenter.cs
U MPfm/branches/current/MPfm.MVP/Services/ILibraryService.cs
U MPfm/branches/current/MPfm.MVP/Services/LibraryService.cs
(0000699)
svn   
2012-05-15 22:04   
The user animal has checked in files related to this issue (revision 506).

Comment:
MPfm 0.6.0.1
* GTK
  - UpdateLibraryWindow: Fixed bug where the window would be empty when opened for a second time.
  - UpdateLibraryWindow: Process is now working and it can be canceled.
  - IUpdateLibraryView: Added ProcessEnded method.
  - MainWindow: Updated the way parameters are sent to UpdateLibraryWindow.
* MVP
  - UpdateLibraryPresenter: Added support for Unix file systems (Linux and Mac OS X) in the SearchMediaFilesInFolder method.

Related to issue #363 and issue 0000364.


Files modified:
U MPfm/branches/current/MPfm.GTK/Windows/MainWindow.cs
U MPfm/branches/current/MPfm.GTK/Windows/UpdateLibraryWindow.cs
U MPfm/branches/current/MPfm.GTK/gtk-gui/MPfm.GTK.UpdateLibraryWindow.cs
U MPfm/branches/current/MPfm.GTK/gtk-gui/gui.stetic
U MPfm/branches/current/MPfm.MVP/Presenters/IUpdateLibraryPresenter.cs
U MPfm/branches/current/MPfm.MVP/Presenters/UpdateLibraryPresenter.cs
U MPfm/branches/current/MPfm.MVP/Views/IUpdateLibraryView.cs
(0000701)
svn   
2012-05-15 22:47   
The user animal has checked in files related to this issue (revision 507).

Comment:
MPfm 0.6.0.1
* MVP
  - IUpdateLibraryView: Added AddToLog method to log errors.
  - UpdateLibraryEntity: Added FileCount and FileIndex.
  - UpdateLibraryPresenter: Updated the way the view is refreshed.
* GTK
  - UpdateLibraryWindow: Now updates progress bar and other labels.

Related to issue #363, issue 0000364 and issue #365.


Files modified:
U MPfm/branches/current/MPfm.GTK/Windows/UpdateLibraryWindow.cs
U MPfm/branches/current/MPfm.GTK/gtk-gui/MPfm.GTK.UpdateLibraryWindow.cs
U MPfm/branches/current/MPfm.GTK/gtk-gui/gui.stetic
U MPfm/branches/current/MPfm.MVP/Models/UpdateLibraryEntity.cs
U MPfm/branches/current/MPfm.MVP/Presenters/UpdateLibraryPresenter.cs
U MPfm/branches/current/MPfm.MVP/Views/IUpdateLibraryView.cs
(0000705)
svn   
2012-05-19 11:39   
The user animal has checked in files related to this issue (revision 509).

Comment:
MPfm 0.6.0.1
* MVP
  - Copied most of the code of UpdateLibraryPresenter/IUpdateLibraryPresenter to UpdateLibraryService/IUpdateLibraryService.
  - UpdateLibraryService: Added the OnRefreshStatus and OnProcessEnded events.
  - UpdateLibraryEntity: Added the Exception and FilePath properties.
* GTK
  - Updated implementation.

Related to issue 0000364. issue #365 and issue #369.


Files modified:
U MPfm/branches/current/MPfm.GTK/Windows/UpdateLibraryWindow.cs
A MPfm/branches/current/MPfm.MVP/Events/
U MPfm/branches/current/MPfm.MVP/MPfm.MVP.csproj
U MPfm/branches/current/MPfm.MVP/Models/UpdateLibraryEntity.cs
U MPfm/branches/current/MPfm.MVP/Presenters/UpdateLibraryPresenter.cs
A MPfm/branches/current/MPfm.MVP/Services/Events/
A MPfm/branches/current/MPfm.MVP/Services/Events/ProcessEndedEventArgs.cs
A MPfm/branches/current/MPfm.MVP/Services/Events/RefreshStatusEventArgs.cs
A MPfm/branches/current/MPfm.MVP/Services/IUpdateLibraryService.cs
U MPfm/branches/current/MPfm.MVP/Services/LibraryService.cs
A MPfm/branches/current/MPfm.MVP/Services/UpdateLibraryService.cs
(0000708)
svn   
2012-05-19 12:01   
The user animal has checked in files related to this issue (revision 510).

Comment:
MPfm 0.6.0.1
* MVP
  - UpdateLibraryPresenter: Now consuming the events from UpdateLibraryService.
  - IUpdateLibraryService: Added events.

Related to issue 0000364 and issue #369.



Files modified:
U MPfm/branches/current/MPfm.MVP/Presenters/UpdateLibraryPresenter.cs
U MPfm/branches/current/MPfm.MVP/Services/IUpdateLibraryService.cs
A MPfm/branches/current/MPfm.Sound/Lib/System.Reactive.dll
U MPfm/branches/current/MPfm.Sound/MPfm.Sound.csproj
(0000730)
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