Skip to content

Commit

Permalink
Merge pull request #9051 from tamland/addon_history
Browse files Browse the repository at this point in the history
[addons] last used/last updated/install date tracking
  • Loading branch information
tamland committed Feb 11, 2016
2 parents 269a449 + 85dd674 commit 910fc3a
Show file tree
Hide file tree
Showing 73 changed files with 1,801 additions and 1,060 deletions.
8 changes: 8 additions & 0 deletions Kodi.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,8 @@
889B4D8E0E0EF86C00FAD25E /* RSSDirectory.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 889B4D8C0E0EF86C00FAD25E /* RSSDirectory.cpp */; };
9A7368511C401F5F00CA169F /* DirectoryNodeInProgressTvShows.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A73684F1C401F5F00CA169F /* DirectoryNodeInProgressTvShows.cpp */; };
9A7368521C401F5F00CA169F /* DirectoryNodeInProgressTvShows.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A73684F1C401F5F00CA169F /* DirectoryNodeInProgressTvShows.cpp */; };
9A999F1D1C67B77600E4E0D5 /* AddonBuilder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A999F1B1C67B77600E4E0D5 /* AddonBuilder.cpp */; };
9A999F1E1C67B77600E4E0D5 /* AddonBuilder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A999F1B1C67B77600E4E0D5 /* AddonBuilder.cpp */; };
9AC167B61C5ED478004F0C29 /* MusicFileItemListModifier.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC167B41C5ED478004F0C29 /* MusicFileItemListModifier.cpp */; };
9AC167B71C5ED478004F0C29 /* MusicFileItemListModifier.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC167B41C5ED478004F0C29 /* MusicFileItemListModifier.cpp */; };
AE32174218313ADF0003FAFC /* XSLTUtils.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AE4E87A517354C4A00D15206 /* XSLTUtils.cpp */; };
Expand Down Expand Up @@ -3287,6 +3289,8 @@
8DD76F7E0486A8DE00D96B5E /* Kodi */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = Kodi; sourceTree = BUILT_PRODUCTS_DIR; };
9A73684F1C401F5F00CA169F /* DirectoryNodeInProgressTvShows.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DirectoryNodeInProgressTvShows.cpp; sourceTree = "<group>"; };
9A7368501C401F5F00CA169F /* DirectoryNodeInProgressTvShows.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DirectoryNodeInProgressTvShows.h; sourceTree = "<group>"; };
9A999F1B1C67B77600E4E0D5 /* AddonBuilder.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AddonBuilder.cpp; sourceTree = "<group>"; };
9A999F1C1C67B77600E4E0D5 /* AddonBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AddonBuilder.h; sourceTree = "<group>"; };
9AC167B41C5ED478004F0C29 /* MusicFileItemListModifier.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MusicFileItemListModifier.cpp; sourceTree = "<group>"; };
9AC167B51C5ED478004F0C29 /* MusicFileItemListModifier.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MusicFileItemListModifier.h; sourceTree = "<group>"; };
AE4E87A517354C4A00D15206 /* XSLTUtils.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = XSLTUtils.cpp; sourceTree = "<group>"; };
Expand Down Expand Up @@ -4902,6 +4906,8 @@
18B49FF01152BEEB001AF8A6 /* addons */ = {
isa = PBXGroup;
children = (
9A999F1B1C67B77600E4E0D5 /* AddonBuilder.cpp */,
9A999F1C1C67B77600E4E0D5 /* AddonBuilder.h */,
2A1A5A571BDEAA6D0084702D /* include */,
7C226E3C1BA5F61C00185CE0 /* AddonCallbacksAudioEngine.cpp */,
7C226E3D1BA5F61C00185CE0 /* AddonCallbacksAudioEngine.h */,
Expand Down Expand Up @@ -9341,6 +9347,7 @@
E38E20D00D25F9FD00618676 /* GUIWindowVisualisation.cpp in Sources */,
E38E20D10D25F9FD00618676 /* GUIWindowWeather.cpp in Sources */,
E38E20D60D25F9FD00618676 /* LangCodeExpander.cpp in Sources */,
9A999F1D1C67B77600E4E0D5 /* AddonBuilder.cpp in Sources */,
E38E20D70D25F9FD00618676 /* LangInfo.cpp in Sources */,
E38E222B0D25F9FE00618676 /* dataset.cpp in Sources */,
E38E22310D25F9FE00618676 /* qry_dat.cpp in Sources */,
Expand Down Expand Up @@ -10497,6 +10504,7 @@
E4991292174E5D9900741B6D /* MusicDatabaseFile.cpp in Sources */,
E4991293174E5D9900741B6D /* MusicFileDirectory.cpp in Sources */,
E4991294174E5D9900741B6D /* MusicSearchDirectory.cpp in Sources */,
9A999F1E1C67B77600E4E0D5 /* AddonBuilder.cpp in Sources */,
E4991298174E5D9900741B6D /* NFSDirectory.cpp in Sources */,
E4991299174E5D9900741B6D /* NFSFile.cpp in Sources */,
E499129A174E5D9900741B6D /* NptXbmcFile.cpp in Sources */,
Expand Down
12 changes: 11 additions & 1 deletion addons/resource.language.en_gb/resources/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -5006,7 +5006,17 @@ msgctxt "#12011"
msgid "Return to videos window"
msgstr ""

#empty strings from id 12012 to 12020
#: xbmc/addons/GUIViewStateAddonBrowser.cpp
msgctxt "#12012"
msgid "Last used"
msgstr ""

#: xbmc/addons/GUIViewStateAddonBrowser.cpp
msgctxt "#12013"
msgid "Install date"
msgstr ""

#empty strings from id 12014 to 12020

#. Label of various controls for starting playback from the beginning
#: xbmc/Autorun.cpp
Expand Down
24 changes: 12 additions & 12 deletions addons/skin.confluence/720p/DialogAddonInfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<coordinates>
<left>185</left>
<top>40</top>
<origin x="185" y="10">!IsEmpty(ListItem.Property(Addon.broken))</origin>
<origin x="185" y="10">!IsEmpty(ListItem.AddonBroken)</origin>
</coordinates>
<include>dialogeffect</include>
<controls>
Expand Down Expand Up @@ -39,7 +39,7 @@
<align>left</align>
<aligny>center</aligny>
<font>font13</font>
<label>[B]$INFO[ListItem.Property(Addon.Name)][/B]</label>
<label>[B]$INFO[ListItem.AddonName][/B]</label>
<textcolor>white</textcolor>
<scroll>true</scroll>
</control>
Expand All @@ -64,7 +64,7 @@
<top>0</top>
<width>440</width>
<height>25</height>
<label fallback="416">$INFO[ListItem.Property(Addon.Type)]</label>
<label fallback="416">$INFO[ListItem.AddonType]</label>
<align>left</align>
<aligny>center</aligny>
<font>font13</font>
Expand All @@ -88,7 +88,7 @@
<top>30</top>
<width>440</width>
<height>25</height>
<label fallback="416">$INFO[ListItem.Property(Addon.Creator)]</label>
<label fallback="416">$INFO[ListItem.AddonCreator]</label>
<align>left</align>
<aligny>center</aligny>
<font>font13</font>
Expand Down Expand Up @@ -136,7 +136,7 @@
<top>90</top>
<width>440</width>
<height>25</height>
<label fallback="416">$INFO[ListItem.Property(Addon.Summary)]</label>
<label fallback="416">$INFO[ListItem.AddonSummary]</label>
<align>left</align>
<aligny>center</aligny>
<font>font13</font>
Expand All @@ -163,7 +163,7 @@
<textcolor>blue</textcolor>
</control>
<control type="group">
<visible>!IsEmpty(ListItem.Property(Addon.Disclaimer))</visible>
<visible>!IsEmpty(ListItem.AddonDisclaimer)</visible>
<control type="label">
<description>Description Page Count</description>
<left>310</left>
Expand All @@ -185,7 +185,7 @@
<font>font13</font>
<align>justify</align>
<textcolor>white</textcolor>
<label>$INFO[ListItem.Property(Addon.Description)]</label>
<label>$INFO[ListItem.AddonDescription]</label>
<pagecontrol>60</pagecontrol>
</control>
<control type="scrollbar" id="60">
Expand Down Expand Up @@ -224,12 +224,12 @@
<font>font12</font>
<align>left</align>
<textcolor>white</textcolor>
<label>$INFO[ListItem.Property(Addon.Disclaimer)]</label>
<label>$INFO[ListItem.AddonDisclaimer]</label>
<autoscroll time="2000" delay="3000" repeat="5000">true</autoscroll>
</control>
</control>
<control type="group">
<visible>IsEmpty(ListItem.Property(Addon.Disclaimer))</visible>
<visible>IsEmpty(ListItem.AddonDisclaimer)</visible>
<control type="label">
<description>Description Page Count</description>
<left>310</left>
Expand All @@ -251,7 +251,7 @@
<font>font13</font>
<align>left</align>
<textcolor>white</textcolor>
<label>$INFO[ListItem.Property(Addon.Description)]</label>
<label>$INFO[ListItem.AddonDescription]</label>
<pagecontrol>61</pagecontrol>
</control>
<control type="scrollbar" id="61">
Expand Down Expand Up @@ -339,7 +339,7 @@
</control>
</control>
<control type="group">
<visible>!IsEmpty(ListItem.Property(Addon.broken))</visible>
<visible>!IsEmpty(ListItem.AddonBroken)</visible>
<left>0</left>
<top>600</top>
<control type="image">
Expand Down Expand Up @@ -378,7 +378,7 @@
<width>800</width>
<height>48</height>
<font>font13</font>
<label>$INFO[ListItem.Property(Addon.broken)]</label>
<label>$INFO[ListItem.AddonBroken]</label>
<align>left</align>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
Expand Down
24 changes: 12 additions & 12 deletions addons/skin.confluence/720p/ViewsAddonBrowser.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
<top>0</top>
<width>510</width>
<height>15</height>
<label>$INFO[ListItem.Property(Addon.Name)]</label>
<label>$INFO[ListItem.AddonName]</label>
<align>center</align>
<aligny>center</aligny>
<font>font13_title</font>
Expand Down Expand Up @@ -168,7 +168,7 @@
<top>0</top>
<width>350</width>
<height>25</height>
<label fallback="416">$INFO[ListItem.Property(Addon.Creator)]</label>
<label fallback="416">$INFO[ListItem.AddonCreator]</label>
<align>left</align>
<aligny>center</aligny>
<font>font13</font>
Expand All @@ -193,7 +193,7 @@
<top>30</top>
<width>350</width>
<height>25</height>
<label fallback="416">$INFO[ListItem.Property(Addon.Version)]</label>
<label fallback="416">$INFO[ListItem.AddonVersion]</label>
<align>left</align>
<aligny>center</aligny>
<font>font13</font>
Expand All @@ -215,7 +215,7 @@
<font>font13</font>
<align>left</align>
<textcolor>white</textcolor>
<label>$INFO[ListItem.Property(Addon.Description)]</label>
<label>$INFO[ListItem.AddonDescription]</label>
<autoscroll time="2000" delay="3000" repeat="5000">Skin.HasSetting(AutoScroll)</autoscroll>
</control>
</control>
Expand Down Expand Up @@ -262,7 +262,7 @@
<colordiffuse>ff333333</colordiffuse>
<texture background="true">$INFO[Listitem.Icon]</texture>
<aspectratio>keep</aspectratio>
<visible>!IsEmpty(ListItem.Property(Addon.broken))</visible>
<visible>!IsEmpty(ListItem.AddonBroken)</visible>
</control>
<control type="label">
<left>0</left>
Expand All @@ -277,7 +277,7 @@
<aligny>center</aligny>
<animation effect="rotate" start="0" end="45" center="auto" time="0" condition="true">Conditional</animation>
<label>24098</label>
<visible>!IsEmpty(ListItem.Property(Addon.broken))</visible>
<visible>!IsEmpty(ListItem.AddonBroken)</visible>
</control>
<control type="label">
<left>1</left>
Expand Down Expand Up @@ -315,7 +315,7 @@
<colordiffuse>ff333333</colordiffuse>
<texture background="true">$INFO[Listitem.Icon]</texture>
<aspectratio>keep</aspectratio>
<visible>!IsEmpty(ListItem.Property(Addon.broken))</visible>
<visible>!IsEmpty(ListItem.AddonBroken)</visible>
</control>
<control type="label">
<left>0</left>
Expand All @@ -330,7 +330,7 @@
<aligny>center</aligny>
<animation effect="rotate" start="0" end="45" center="auto" time="0" condition="true">Conditional</animation>
<label>24098</label>
<visible>!IsEmpty(ListItem.Property(Addon.broken))</visible>
<visible>!IsEmpty(ListItem.AddonBroken)</visible>
</control>
<control type="label">
<left>1</left>
Expand Down Expand Up @@ -372,7 +372,7 @@
<top>0</top>
<width>290</width>
<height>15</height>
<label>$INFO[ListItem.Property(Addon.Name)]</label>
<label>$INFO[ListItem.AddonName]</label>
<align>center</align>
<aligny>center</aligny>
<font>font13_title</font>
Expand Down Expand Up @@ -400,7 +400,7 @@
<top>0</top>
<width>155</width>
<height>25</height>
<label fallback="416">$INFO[ListItem.Property(Addon.Creator)]</label>
<label fallback="416">$INFO[ListItem.AddonCreator]</label>
<align>left</align>
<aligny>center</aligny>
<font>font13</font>
Expand All @@ -425,7 +425,7 @@
<top>30</top>
<width>155</width>
<height>25</height>
<label fallback="416">$INFO[ListItem.Property(Addon.Version)]</label>
<label fallback="416">$INFO[ListItem.AddonVersion]</label>
<align>left</align>
<aligny>center</aligny>
<font>font13</font>
Expand All @@ -447,7 +447,7 @@
<font>font13</font>
<align>left</align>
<textcolor>white</textcolor>
<label>$INFO[ListItem.Property(Addon.Description)]</label>
<label>$INFO[ListItem.AddonDescription]</label>
<autoscroll time="2000" delay="3000" repeat="5000">Skin.HasSetting(AutoScroll)</autoscroll>
</control>
</control>
Expand Down
14 changes: 14 additions & 0 deletions project/VS2010Express/XBMC.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\xbmc\addons\AddonBuilder.cpp" />
<ClCompile Include="..\..\xbmc\addons\AddonCallbacks.cpp" />
<ClCompile Include="..\..\xbmc\addons\AddonCallbacksAddon.cpp" />
<ClCompile Include="..\..\xbmc\addons\AddonCallbacksAudioDSP.cpp" />
Expand All @@ -205,6 +206,18 @@
<ClCompile Include="..\..\xbmc\addons\RepositoryUpdater.cpp" />
<ClCompile Include="..\..\xbmc\addons\Service.cpp" />
<ClCompile Include="..\..\xbmc\addons\Skin.cpp" />
<ClCompile Include="..\..\xbmc\addons\test\TestAddonBuilder.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\xbmc\addons\test\TestAddonFactory.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\xbmc\addons\test\TestAddonVersion.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\xbmc\addons\UISoundsResource.cpp" />
<ClCompile Include="..\..\xbmc\addons\Webinterface.cpp" />
<ClCompile Include="..\..\xbmc\Application.cpp" />
Expand Down Expand Up @@ -903,6 +916,7 @@
<ClCompile Include="..\..\xbmc\TextureCacheJob.cpp" />
<ClCompile Include="..\..\xbmc\TextureDatabase.cpp" />
<ClCompile Include="..\..\xbmc\DatabaseManager.cpp" />
<ClInclude Include="..\..\xbmc\addons\AddonBuilder.h" />
<ClInclude Include="..\..\xbmc\addons\AddonCallbacksAudioDSP.h" />
<ClInclude Include="..\..\xbmc\addons\AddonCallbacksAudioEngine.h" />
<ClInclude Include="..\..\xbmc\addons\AddonCallbacksCodec.h" />
Expand Down
18 changes: 18 additions & 0 deletions project/VS2010Express/XBMC.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,9 @@
<Filter Include="video\test">
<UniqueIdentifier>{8902f553-16a5-4b95-802c-c0345ac69f15}</UniqueIdentifier>
</Filter>
<Filter Include="addons\test">
<UniqueIdentifier>{a1795e15-75aa-4cfe-b5a3-4dab057dfe0e}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\xbmc\win32\pch.cpp">
Expand Down Expand Up @@ -3259,6 +3262,18 @@
<ClCompile Include="..\..\xbmc\threads\test\TestHelpers.h">
<Filter>test\threads</Filter>
</ClCompile>
<ClCompile Include="..\..\xbmc\addons\AddonBuilder.cpp">
<Filter>addons</Filter>
</ClCompile>
<ClCompile Include="..\..\xbmc\addons\test\TestAddonBuilder.cpp">
<Filter>addons\test</Filter>
</ClCompile>
<ClCompile Include="..\..\xbmc\addons\test\TestAddonFactory.cpp">
<Filter>addons\test</Filter>
</ClCompile>
<ClCompile Include="..\..\xbmc\addons\test\TestAddonVersion.cpp">
<Filter>addons\test</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\xbmc\win32\pch.h">
Expand Down Expand Up @@ -6281,6 +6296,9 @@
<ClInclude Include="..\..\xbmc\cores\VideoPlayer\DVDDemuxers\DVDDemuxClient.h">
<Filter>cores\VideoPlayer\DVDDemuxers</Filter>
</ClInclude>
<ClInclude Include="..\..\xbmc\addons\AddonBuilder.h">
<Filter>addons</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\..\xbmc\win32\XBMC_PC.rc">
Expand Down
1 change: 0 additions & 1 deletion xbmc/ContextMenuItem.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
*/

#include <map>
#include "addons/ContextMenuAddon.h"
#include "addons/IAddon.h"
#include "dialogs/GUIDialogContextMenu.h"

Expand Down
Loading

0 comments on commit 910fc3a

Please sign in to comment.