changed: Made CFileItemList be a vector of boost::shared_ptr<CFileItem>'s in order...
authorjmarshallnz <jmarshallnz@568bbfeb-2a22-0410-94d2-cc84cf5bfa90>
Sat, 7 Jun 2008 00:39:12 +0000 (00:39 +0000)
committerjmarshallnz <jmarshallnz@568bbfeb-2a22-0410-94d2-cc84cf5bfa90>
Sat, 7 Jun 2008 00:39:12 +0000 (00:39 +0000)
commit88003223682d7f50602ce0fdf0d42f2ba9eb021b
treebbaae72a8879f3e62abcf216900c87862130a0ad
parent09425ea55db09d645ecdc5bfde71412fbfe0bfaf
changed: Made CFileItemList be a vector of boost::shared_ptr<CFileItem>'s in order to reduce the likelihood of handling a CFileItem* while it's removed.  Also has the benefit of removing a bunch of code to make sure CFileItemList's are cleared while keeping pointers around, and duplicate copies of CFileItem's for caching purposes.
removed: CPlayListItem object is now just a CFileItem, and CPlayList consists of a vector< boost::shared_ptr<CFileItem> > rather than vector<CPlayListItem>.  Needs thorough review and testing.

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/shared_ptr@13443 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
154 files changed:
guilib/GUIBaseContainer.cpp
guilib/GUIBaseContainer.h
guilib/GUIFixedListContainer.cpp
guilib/GUIListContainer.cpp
guilib/GUIMessage.cpp
guilib/GUIMessage.h
guilib/GUIMultiImage.cpp
guilib/GUIPanelContainer.cpp
guilib/GUIWindow.h
guilib/GUIWrappingListContainer.cpp
guilib/guilib.vcproj
guilib/guilib_win32.vcproj
xbmc/Application.cpp
xbmc/Application.h
xbmc/ApplicationMessenger.cpp
xbmc/AutoSwitch.cpp
xbmc/Autorun.cpp
xbmc/BackgroundInfoLoader.cpp
xbmc/BackgroundInfoLoader.h
xbmc/Favourites.cpp
xbmc/FileItem.cpp
xbmc/FileItem.h
xbmc/FileSystem/CDDADirectory.cpp
xbmc/FileSystem/CMythDirectory.cpp
xbmc/FileSystem/DAAPDirectory.cpp
xbmc/FileSystem/Directory.cpp
xbmc/FileSystem/DirectoryCache.cpp
xbmc/FileSystem/DirectoryTuxBox.cpp
xbmc/FileSystem/FTPDirectory.cpp
xbmc/FileSystem/HDDirectory.cpp
xbmc/FileSystem/HDHomeRun.cpp
xbmc/FileSystem/ISO9660Directory.cpp
xbmc/FileSystem/LastFMDirectory.cpp
xbmc/FileSystem/MemUnitDirectory.cpp
xbmc/FileSystem/MemoryUnits/Fat32FileSystem.cpp
xbmc/FileSystem/MemoryUnits/FatXFileSystem.cpp
xbmc/FileSystem/MultiPathDirectory.cpp
xbmc/FileSystem/MusicDatabaseDirectory/DirectoryNode.cpp
xbmc/FileSystem/MusicDatabaseDirectory/DirectoryNodeAlbumRecentlyAdded.cpp
xbmc/FileSystem/MusicDatabaseDirectory/DirectoryNodeAlbumRecentlyPlayed.cpp
xbmc/FileSystem/MusicDatabaseDirectory/DirectoryNodeAlbumTop100.cpp
xbmc/FileSystem/MusicDatabaseDirectory/DirectoryNodeOverview.cpp
xbmc/FileSystem/MusicDatabaseDirectory/DirectoryNodeTop100.cpp
xbmc/FileSystem/MusicFileDirectory.cpp
xbmc/FileSystem/PlaylistDirectory.cpp
xbmc/FileSystem/PlaylistFileDirectory.cpp
xbmc/FileSystem/PluginDirectory.cpp
xbmc/FileSystem/RTVDirectory.cpp
xbmc/FileSystem/RarManager.cpp
xbmc/FileSystem/SMBDirectory.cpp
xbmc/FileSystem/ShoutcastDirectory.cpp
xbmc/FileSystem/SmartPlaylistDirectory.cpp
xbmc/FileSystem/SndtrkDirectory.cpp
xbmc/FileSystem/StackDirectory.cpp
xbmc/FileSystem/UPnPDirectory.cpp
xbmc/FileSystem/UPnPVirtualPathDirectory.cpp
xbmc/FileSystem/VideoDatabaseDirectory/DirectoryNode.cpp
xbmc/FileSystem/VideoDatabaseDirectory/DirectoryNodeMoviesOverview.cpp
xbmc/FileSystem/VideoDatabaseDirectory/DirectoryNodeMusicVideosOverview.cpp
xbmc/FileSystem/VideoDatabaseDirectory/DirectoryNodeOverview.cpp
xbmc/FileSystem/VideoDatabaseDirectory/DirectoryNodeTvShowsOverview.cpp
xbmc/FileSystem/VirtualDirectory.cpp
xbmc/FileSystem/XBMSDirectory.cpp
xbmc/FileSystem/ZipDirectory.cpp
xbmc/GUIDialogContentSettings.cpp
xbmc/GUIDialogContentSettings.h
xbmc/GUIDialogFavourites.cpp
xbmc/GUIDialogFavourites.h
xbmc/GUIDialogFileBrowser.cpp
xbmc/GUIDialogFileBrowser.h
xbmc/GUIDialogFileStacking.cpp
xbmc/GUIDialogMediaSource.cpp
xbmc/GUIDialogPictureInfo.cpp
xbmc/GUIDialogPluginSettings.cpp
xbmc/GUIDialogSelect.cpp
xbmc/GUIDialogSmartPlaylistEditor.cpp
xbmc/GUIDialogSmartPlaylistRule.cpp
xbmc/GUIDialogSongInfo.cpp
xbmc/GUIDialogSongInfo.h
xbmc/GUIDialogVideoBookmarks.cpp
xbmc/GUIDialogVisualisationPresetList.cpp
xbmc/GUIMediaWindow.cpp
xbmc/GUIMediaWindow.h
xbmc/GUIViewStateMusic.cpp
xbmc/GUIViewStateVideo.cpp
xbmc/GUIWindowFileManager.cpp
xbmc/GUIWindowGameSaves.cpp
xbmc/GUIWindowLoginScreen.cpp
xbmc/GUIWindowLoginScreen.h
xbmc/GUIWindowMusicBase.cpp
xbmc/GUIWindowMusicBase.h
xbmc/GUIWindowMusicInfo.cpp
xbmc/GUIWindowMusicInfo.h
xbmc/GUIWindowMusicNav.cpp
xbmc/GUIWindowMusicPlaylist.cpp
xbmc/GUIWindowMusicPlaylistEditor.cpp
xbmc/GUIWindowMusicSongs.cpp
xbmc/GUIWindowPictures.cpp
xbmc/GUIWindowPrograms.cpp
xbmc/GUIWindowScripts.cpp
xbmc/GUIWindowSettingsCategory.cpp
xbmc/GUIWindowSettingsProfile.cpp
xbmc/GUIWindowSettingsProfile.h
xbmc/GUIWindowSlideShow.cpp
xbmc/GUIWindowSlideShow.h
xbmc/GUIWindowVideoBase.cpp
xbmc/GUIWindowVideoBase.h
xbmc/GUIWindowVideoFiles.cpp
xbmc/GUIWindowVideoInfo.cpp
xbmc/GUIWindowVideoInfo.h
xbmc/GUIWindowVideoNav.cpp
xbmc/GUIWindowVideoPlaylist.cpp
xbmc/LastFmManager.cpp
xbmc/MusicDatabase.cpp
xbmc/MusicInfoLoader.cpp
xbmc/MusicInfoScanner.cpp
xbmc/PartyModeManager.cpp
xbmc/PartyModeManager.h
xbmc/PictureInfoLoader.cpp
xbmc/PlayList.cpp
xbmc/PlayList.h
xbmc/PlayListB4S.cpp
xbmc/PlayListM3U.cpp
xbmc/PlayListPLS.cpp
xbmc/PlayListPlayer.cpp
xbmc/PlayListPlayer.h
xbmc/PlayListWPL.cpp
xbmc/SortFileItem.cpp
xbmc/SortFileItem.h
xbmc/UPnP.cpp
xbmc/Util.cpp
xbmc/Util.h
xbmc/VideoDatabase.cpp
xbmc/VideoInfoScanner.cpp
xbmc/XBInputEx.cpp
xbmc/XBInputEx.h
xbmc/cdrip/CDDARipper.cpp
xbmc/lib/UnrarXLib/UnrarXLib.vcproj
xbmc/lib/libFileZilla/XBFileZilla.vcproj
xbmc/lib/libGoAhead/XBMChttp.cpp
xbmc/lib/libGoAhead/XBMChttp.h
xbmc/lib/libGoAhead/XBMCweb.cpp
xbmc/lib/libGoAhead/XBMCweb.h
xbmc/lib/libPython/xbmcmodule/GUIPythonWindowXML.cpp
xbmc/lib/libPython/xbmcmodule/GUIPythonWindowXML.h
xbmc/lib/libPython/xbmcmodule/controllist.cpp
xbmc/lib/libPython/xbmcmodule/listitem.cpp
xbmc/lib/libPython/xbmcmodule/listitem.h
xbmc/lib/libPython/xbmcmodule/pyplaylist.cpp
xbmc/lib/libPython/xbmcmodule/pyplaylist.h
xbmc/lib/libPython/xbmcmodule/winxml.cpp
xbmc/lib/libPython/xbmcmodule/xbmcplugin.cpp
xbmc/utils/GUIInfoManager.cpp
xbmc/utils/TuxBoxUtil.cpp