postrunner 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +74 -11
- data/Rakefile +10 -0
- data/lib/postrunner/ActivitiesDB.rb +120 -32
- data/lib/postrunner/Activity.rb +34 -11
- data/lib/postrunner/ActivityListView.rb +195 -0
- data/lib/postrunner/ActivitySummary.rb +141 -0
- data/lib/postrunner/ActivityView.rb +41 -71
- data/lib/postrunner/ChartView.rb +72 -33
- data/lib/postrunner/DeviceList.rb +104 -0
- data/lib/postrunner/FlexiTable.rb +42 -7
- data/lib/postrunner/HTMLBuilder.rb +12 -0
- data/lib/postrunner/Main.rb +68 -9
- data/lib/postrunner/PersonalRecords.rb +12 -0
- data/lib/postrunner/RuntimeConfig.rb +80 -0
- data/lib/postrunner/TrackView.rb +25 -8
- data/lib/postrunner/UserProfileView.rb +70 -0
- data/lib/postrunner/ViewWidgets.rb +107 -0
- data/lib/postrunner/version.rb +13 -1
- data/lib/postrunner.rb +12 -0
- data/misc/icons/back.png +0 -0
- data/misc/icons/back.svg +68 -0
- data/misc/icons/first.png +0 -0
- data/misc/icons/first.svg +64 -0
- data/misc/icons/forward.png +0 -0
- data/misc/icons/forward.svg +64 -0
- data/misc/icons/home.png +0 -0
- data/misc/icons/home.svg +64 -0
- data/misc/icons/last.png +0 -0
- data/misc/icons/last.svg +64 -0
- data/misc/icons/lgpl-3.0.txt +165 -0
- data/postrunner.gemspec +1 -1
- data/spec/ActivitySummary_spec.rb +28 -0
- data/spec/FlexiTable_spec.rb +19 -1
- data/spec/PostRunner_spec.rb +25 -21
- data/spec/spec_helper.rb +62 -0
- metadata +26 -8
- data/LICENSE.txt +0 -22
- data/lib/postrunner/ActivityReport.rb +0 -102
data/misc/icons/back.svg
ADDED
@@ -0,0 +1,68 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
3
|
+
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://web.resource.org/cc/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="128" height="128" id="svg3186" sodipodi:version="0.32" inkscape:version="0.45" version="1.0" sodipodi:docname="player_fwd.svg" sodipodi:docbase="/home/david/Progetti/sandbox" inkscape:output_extension="org.inkscape.output.svg.inkscape" sodipodi:modified="true">
|
4
|
+
<defs id="defs3188">
|
5
|
+
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.6667,0,0,0.7574,20.7214,14.064)" r="40.0294" cy="59.1865" cx="53.1978" id="radialGradient3163">
|
6
|
+
<stop id="stop3165" style="stop-color:#000000;stop-opacity:1;" offset="0"/>
|
7
|
+
<stop id="stop3175" style="stop-color:#666666;stop-opacity:1;" offset="1"/>
|
8
|
+
</radialGradient>
|
9
|
+
<linearGradient id="XMLID_9_" gradientUnits="userSpaceOnUse" x1="11.9487" y1="34" x2="104.0518" y2="34" gradientTransform="translate(559.14286,-264.28571)">
|
10
|
+
<stop offset="0" style="stop-color:#FFFFFF" id="stop56"/>
|
11
|
+
<stop offset="0.80000001" style="stop-color:#ffffff;stop-opacity:0;" id="stop58"/>
|
12
|
+
</linearGradient>
|
13
|
+
<radialGradient id="XMLID_8_" cx="53.1978" cy="59.1865" r="40.0294" gradientTransform="matrix(0.6667,0,0,0.7574,20.7214,14.064)" gradientUnits="userSpaceOnUse">
|
14
|
+
<stop offset="0" style="stop-color:#323232" id="stop41"/>
|
15
|
+
<stop offset="0.2083" style="stop-color:#363636" id="stop43"/>
|
16
|
+
<stop offset="0.4278" style="stop-color:#434343" id="stop45"/>
|
17
|
+
<stop offset="0.6526" style="stop-color:#585858" id="stop47"/>
|
18
|
+
<stop offset="0.8796" style="stop-color:#757575" id="stop49"/>
|
19
|
+
<stop offset="1" style="stop-color:#888888" id="stop51"/>
|
20
|
+
</radialGradient>
|
21
|
+
<radialGradient id="XMLID_7_" cx="58" cy="58" r="48" gradientUnits="userSpaceOnUse" gradientTransform="translate(559.14286,-264.28571)">
|
22
|
+
<stop offset="0" style="stop-color:#FFFFFF" id="stop26"/>
|
23
|
+
<stop offset="0.574" style="stop-color:#FFFFFF" id="stop28"/>
|
24
|
+
<stop offset="0.6842" style="stop-color:#FBFBFB" id="stop30"/>
|
25
|
+
<stop offset="0.8001" style="stop-color:#EEEEEE" id="stop32"/>
|
26
|
+
<stop offset="0.9" style="stop-color:#DDDDDD" id="stop34"/>
|
27
|
+
<stop offset="1" style="stop-color:#BBBBBB" id="stop36"/>
|
28
|
+
</radialGradient>
|
29
|
+
<filter id="AI_Sfocatura_4">
|
30
|
+
<feGaussianBlur stdDeviation="4" id="feGaussianBlur6"/>
|
31
|
+
</filter>
|
32
|
+
<linearGradient id="XMLID_6_" gradientUnits="userSpaceOnUse" x1="58.0005" y1="116" x2="58.0005" y2="4.882812e-04">
|
33
|
+
<stop offset="0" style="stop-color:#555555" id="stop9"/>
|
34
|
+
<stop offset="0.2736" style="stop-color:#595959" id="stop11"/>
|
35
|
+
<stop offset="0.562" style="stop-color:#666666" id="stop13"/>
|
36
|
+
<stop offset="0.8561" style="stop-color:#7B7B7B" id="stop15"/>
|
37
|
+
<stop offset="1" style="stop-color:#888888" id="stop17"/>
|
38
|
+
</linearGradient>
|
39
|
+
<linearGradient inkscape:collect="always" xlink:href="#XMLID_9_" id="linearGradient3242" gradientUnits="userSpaceOnUse" gradientTransform="translate(6.0000006,6.0000006)" x1="11.9487" y1="34" x2="104.0518" y2="34"/>
|
40
|
+
<radialGradient inkscape:collect="always" xlink:href="#XMLID_7_" id="radialGradient3246" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.0833333,0,0,1.0833333,1.1666673,1.1666673)" cx="58" cy="58" r="48"/>
|
41
|
+
<linearGradient inkscape:collect="always" xlink:href="#XMLID_6_" id="linearGradient3251" gradientUnits="userSpaceOnUse" x1="58.0005" y1="116" x2="58.0005" y2="4.882812e-04"/>
|
42
|
+
<radialGradient inkscape:collect="always" xlink:href="#radialGradient3163" id="radialGradient3253" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.6667,0,0,0.7574,20.7214,14.064)" cx="53.1978" cy="59.186501" r="40.0294"/>
|
43
|
+
<radialGradient inkscape:collect="always" xlink:href="#radialGradient3163" id="radialGradient2197" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.6667,0,0,0.7574,20.7214,14.064)" cx="53.1978" cy="59.186501" r="40.0294"/>
|
44
|
+
<radialGradient inkscape:collect="always" xlink:href="#radialGradient3163" id="radialGradient2221" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.6667,0,0,0.7574,20.7214,14.064)" cx="53.1978" cy="59.186501" r="40.0294"/>
|
45
|
+
<radialGradient inkscape:collect="always" xlink:href="#radialGradient3163" id="radialGradient2223" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.6667,0,0,0.7574,20.7214,14.064)" cx="53.1978" cy="59.186501" r="40.0294"/>
|
46
|
+
</defs>
|
47
|
+
<sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" gridtolerance="10000" guidetolerance="10" objecttolerance="10" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="1" inkscape:cx="153" inkscape:cy="56.281828" inkscape:document-units="px" inkscape:current-layer="layer1" width="128px" height="128px" showgrid="true" gridspacingx="8px" gridspacingy="8px" inkscape:window-width="1018" inkscape:window-height="694" inkscape:window-x="0" inkscape:window-y="0"/>
|
48
|
+
<metadata id="metadata3191">
|
49
|
+
<rdf:RDF>
|
50
|
+
<cc:Work rdf:about="">
|
51
|
+
<dc:format>image/svg+xml</dc:format>
|
52
|
+
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
53
|
+
</cc:Work>
|
54
|
+
</rdf:RDF>
|
55
|
+
</metadata>
|
56
|
+
<g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1">
|
57
|
+
<circle cx="58" cy="58" r="58" id="circle19" style="fill:url(#linearGradient3251)" sodipodi:cx="58" sodipodi:cy="58" sodipodi:rx="58" sodipodi:ry="58" transform="matrix(1.1034483,0,0,1.1034483,0,-2.8e-6)"/>
|
58
|
+
<g id="g21" transform="matrix(1.0833333,0,0,1.0833333,1.1666686,1.1666686)" style="filter:url(#AI_Sfocatura_4);opacity:0.8">
|
59
|
+
<path d="M 10,58 C 10,84.467 31.533,106 58,106 C 84.467,106 106,84.467 106,58 C 106,31.533 84.467,10 58,10 C 31.533,10 10,31.533 10,58 z " id="path23"/>
|
60
|
+
</g>
|
61
|
+
<path d="M 12,63.999999 C 12,92.672581 35.327414,116 63.999998,116 C 92.672584,116 116,92.672581 116,63.999999 C 116,35.327415 92.672584,12 63.999998,12 C 35.327414,12 12,35.327415 12,63.999999 z " id="path38" style="fill:url(#radialGradient3246)"/>
|
62
|
+
<g id="g2217" transform="matrix(-1,0,0,1,128,0)">
|
63
|
+
<polygon points="42,26 90,58 42,90 42,26 " id="polygon2195" style="fill:url(#radialGradient2221);fill-opacity:1" transform="matrix(0.6666666,0,0,1,36.000006,6)"/>
|
64
|
+
<polygon transform="matrix(0.5,0,0,0.75,19.000002,20.5)" style="fill:url(#radialGradient2223);fill-opacity:1" id="polygon53" points="42,26 90,58 42,90 42,26 "/>
|
65
|
+
</g>
|
66
|
+
<path d="M 63.999998,63.999999 C 81.788999,63.999999 97.967006,58.87 110.05199,50.491 C 104.19999,30.582 85.775999,16 63.999998,16 C 42.222999,16 23.798999,30.582999 17.949,50.491 C 30.032,58.87 46.209999,63.999999 63.999998,63.999999 z " id="path60" style="opacity:0.5;fill:url(#linearGradient3242)"/>
|
67
|
+
</g>
|
68
|
+
</svg>
|
Binary file
|
@@ -0,0 +1,64 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
3
|
+
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://web.resource.org/cc/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="128" height="128" id="svg3186" sodipodi:version="0.32" inkscape:version="0.45" version="1.0" sodipodi:docname="player_end.svg" sodipodi:docbase="/home/david/Progetti/sandbox" inkscape:output_extension="org.inkscape.output.svg.inkscape" sodipodi:modified="true">
|
4
|
+
<defs id="defs3188">
|
5
|
+
<radialGradient inkscape:collect="always" xlink:href="#radialGradient3163" id="radialGradient2197" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-0.263109,4.7377213e-8,1.5110247e-8,0.7519296,61.13882,12.61245)" cx="80.342453" cy="68.340897" fx="80.342453" fy="68.340897" r="40.0294"/>
|
6
|
+
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.6667,0,0,0.7574,20.7214,14.064)" r="40.0294" cy="59.1865" cx="53.1978" id="radialGradient3163">
|
7
|
+
<stop id="stop3165" style="stop-color:#000000;stop-opacity:1;" offset="0"/>
|
8
|
+
<stop id="stop3175" style="stop-color:#666666;stop-opacity:1;" offset="1"/>
|
9
|
+
</radialGradient>
|
10
|
+
<linearGradient id="XMLID_9_" gradientUnits="userSpaceOnUse" x1="11.9487" y1="34" x2="104.0518" y2="34" gradientTransform="translate(559.14286,-264.28571)">
|
11
|
+
<stop offset="0" style="stop-color:#FFFFFF" id="stop56"/>
|
12
|
+
<stop offset="0.80000001" style="stop-color:#ffffff;stop-opacity:0;" id="stop58"/>
|
13
|
+
</linearGradient>
|
14
|
+
<radialGradient id="XMLID_8_" cx="53.1978" cy="59.1865" r="40.0294" gradientTransform="matrix(0.6667,0,0,0.7574,20.7214,14.064)" gradientUnits="userSpaceOnUse">
|
15
|
+
<stop offset="0" style="stop-color:#323232" id="stop41"/>
|
16
|
+
<stop offset="0.2083" style="stop-color:#363636" id="stop43"/>
|
17
|
+
<stop offset="0.4278" style="stop-color:#434343" id="stop45"/>
|
18
|
+
<stop offset="0.6526" style="stop-color:#585858" id="stop47"/>
|
19
|
+
<stop offset="0.8796" style="stop-color:#757575" id="stop49"/>
|
20
|
+
<stop offset="1" style="stop-color:#888888" id="stop51"/>
|
21
|
+
</radialGradient>
|
22
|
+
<radialGradient id="XMLID_7_" cx="58" cy="58" r="48" gradientUnits="userSpaceOnUse" gradientTransform="translate(559.14286,-264.28571)">
|
23
|
+
<stop offset="0" style="stop-color:#FFFFFF" id="stop26"/>
|
24
|
+
<stop offset="0.574" style="stop-color:#FFFFFF" id="stop28"/>
|
25
|
+
<stop offset="0.6842" style="stop-color:#FBFBFB" id="stop30"/>
|
26
|
+
<stop offset="0.8001" style="stop-color:#EEEEEE" id="stop32"/>
|
27
|
+
<stop offset="0.9" style="stop-color:#DDDDDD" id="stop34"/>
|
28
|
+
<stop offset="1" style="stop-color:#BBBBBB" id="stop36"/>
|
29
|
+
</radialGradient>
|
30
|
+
<filter id="AI_Sfocatura_4">
|
31
|
+
<feGaussianBlur stdDeviation="4" id="feGaussianBlur6"/>
|
32
|
+
</filter>
|
33
|
+
<linearGradient id="XMLID_6_" gradientUnits="userSpaceOnUse" x1="58.0005" y1="116" x2="58.0005" y2="4.882812e-04">
|
34
|
+
<stop offset="0" style="stop-color:#555555" id="stop9"/>
|
35
|
+
<stop offset="0.2736" style="stop-color:#595959" id="stop11"/>
|
36
|
+
<stop offset="0.562" style="stop-color:#666666" id="stop13"/>
|
37
|
+
<stop offset="0.8561" style="stop-color:#7B7B7B" id="stop15"/>
|
38
|
+
<stop offset="1" style="stop-color:#888888" id="stop17"/>
|
39
|
+
</linearGradient>
|
40
|
+
<linearGradient inkscape:collect="always" xlink:href="#XMLID_9_" id="linearGradient3242" gradientUnits="userSpaceOnUse" gradientTransform="translate(6.0000006,6.0000006)" x1="11.9487" y1="34" x2="104.0518" y2="34"/>
|
41
|
+
<radialGradient inkscape:collect="always" xlink:href="#XMLID_7_" id="radialGradient3246" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.0833333,0,0,1.0833333,1.1666673,1.1666673)" cx="58" cy="58" r="48"/>
|
42
|
+
<linearGradient inkscape:collect="always" xlink:href="#XMLID_6_" id="linearGradient3251" gradientUnits="userSpaceOnUse" x1="58.0005" y1="116" x2="58.0005" y2="4.882812e-04"/>
|
43
|
+
<radialGradient inkscape:collect="always" xlink:href="#radialGradient3163" id="radialGradient3253" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.6667,0,0,0.7574,20.7214,14.064)" cx="53.1978" cy="59.186501" r="40.0294"/>
|
44
|
+
</defs>
|
45
|
+
<sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" gridtolerance="10000" guidetolerance="10" objecttolerance="10" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="2.8284271" inkscape:cx="62" inkscape:cy="44.566099" inkscape:document-units="px" inkscape:current-layer="layer1" width="128px" height="128px" showgrid="true" gridspacingx="8px" gridspacingy="8px" inkscape:window-width="792" inkscape:window-height="581" inkscape:window-x="225" inkscape:window-y="112"/>
|
46
|
+
<metadata id="metadata3191">
|
47
|
+
<rdf:RDF>
|
48
|
+
<cc:Work rdf:about="">
|
49
|
+
<dc:format>image/svg+xml</dc:format>
|
50
|
+
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
51
|
+
</cc:Work>
|
52
|
+
</rdf:RDF>
|
53
|
+
</metadata>
|
54
|
+
<g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1">
|
55
|
+
<circle cx="58" cy="58" r="58" id="circle19" style="fill:url(#linearGradient3251)" sodipodi:cx="58" sodipodi:cy="58" sodipodi:rx="58" sodipodi:ry="58" transform="matrix(1.1034483,0,0,1.1034483,0,-2.8e-6)"/>
|
56
|
+
<g id="g21" transform="matrix(1.0833333,0,0,1.0833333,1.1666686,1.1666686)" style="filter:url(#AI_Sfocatura_4);opacity:0.8">
|
57
|
+
<path d="M 10,58 C 10,84.467 31.533,106 58,106 C 84.467,106 106,84.467 106,58 C 106,31.533 84.467,10 58,10 C 31.533,10 10,31.533 10,58 z " id="path23"/>
|
58
|
+
</g>
|
59
|
+
<path d="M 12,63.999999 C 12,92.672581 35.327414,116 63.999998,116 C 92.672584,116 116,92.672581 116,63.999999 C 116,35.327415 92.672584,12 63.999998,12 C 35.327414,12 12,35.327415 12,63.999999 z " id="path38" style="fill:url(#radialGradient3246)"/>
|
60
|
+
<polygon points="42,26 90,58 42,90 42,26 " id="polygon53" style="fill:url(#radialGradient3253);fill-opacity:1" transform="matrix(-1,0,0,1,138,6)"/>
|
61
|
+
<path sodipodi:nodetypes="ccccc" id="path2195" d="M 48,40 L 32,40.38871 L 32.01053,87.95798 L 47.89822,88 L 48,40 z " style="fill:url(#radialGradient2197);fill-opacity:1"/>
|
62
|
+
<path d="M 63.999998,63.999999 C 81.788999,63.999999 97.967006,58.87 110.05199,50.491 C 104.19999,30.582 85.775999,16 63.999998,16 C 42.222999,16 23.798999,30.582999 17.949,50.491 C 30.032,58.87 46.209999,63.999999 63.999998,63.999999 z " id="path60" style="opacity:0.5;fill:url(#linearGradient3242)"/>
|
63
|
+
</g>
|
64
|
+
</svg>
|
Binary file
|
@@ -0,0 +1,64 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
3
|
+
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://web.resource.org/cc/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="128" height="128" id="svg3186" sodipodi:version="0.32" inkscape:version="0.45" version="1.0" sodipodi:docname="player_play.svg" sodipodi:docbase="/home/david/Progetti/sandbox" inkscape:output_extension="org.inkscape.output.svg.inkscape" sodipodi:modified="true">
|
4
|
+
<defs id="defs3188">
|
5
|
+
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.6667,0,0,0.7574,20.7214,14.064)" r="40.0294" cy="59.1865" cx="53.1978" id="radialGradient3163">
|
6
|
+
<stop id="stop3165" style="stop-color:#000000;stop-opacity:1;" offset="0"/>
|
7
|
+
<stop id="stop3175" style="stop-color:#666666;stop-opacity:1;" offset="1"/>
|
8
|
+
</radialGradient>
|
9
|
+
<linearGradient id="XMLID_9_" gradientUnits="userSpaceOnUse" x1="11.9487" y1="34" x2="104.0518" y2="34" gradientTransform="translate(559.14286,-264.28571)">
|
10
|
+
<stop offset="0" style="stop-color:#FFFFFF" id="stop56"/>
|
11
|
+
<stop offset="0.80000001" style="stop-color:#ffffff;stop-opacity:0;" id="stop58"/>
|
12
|
+
</linearGradient>
|
13
|
+
<radialGradient id="XMLID_8_" cx="53.1978" cy="59.1865" r="40.0294" gradientTransform="matrix(0.6667,0,0,0.7574,20.7214,14.064)" gradientUnits="userSpaceOnUse">
|
14
|
+
<stop offset="0" style="stop-color:#323232" id="stop41"/>
|
15
|
+
<stop offset="0.2083" style="stop-color:#363636" id="stop43"/>
|
16
|
+
<stop offset="0.4278" style="stop-color:#434343" id="stop45"/>
|
17
|
+
<stop offset="0.6526" style="stop-color:#585858" id="stop47"/>
|
18
|
+
<stop offset="0.8796" style="stop-color:#757575" id="stop49"/>
|
19
|
+
<stop offset="1" style="stop-color:#888888" id="stop51"/>
|
20
|
+
</radialGradient>
|
21
|
+
<radialGradient id="XMLID_7_" cx="58" cy="58" r="48" gradientUnits="userSpaceOnUse" gradientTransform="translate(559.14286,-264.28571)">
|
22
|
+
<stop offset="0" style="stop-color:#FFFFFF" id="stop26"/>
|
23
|
+
<stop offset="0.574" style="stop-color:#FFFFFF" id="stop28"/>
|
24
|
+
<stop offset="0.6842" style="stop-color:#FBFBFB" id="stop30"/>
|
25
|
+
<stop offset="0.8001" style="stop-color:#EEEEEE" id="stop32"/>
|
26
|
+
<stop offset="0.9" style="stop-color:#DDDDDD" id="stop34"/>
|
27
|
+
<stop offset="1" style="stop-color:#BBBBBB" id="stop36"/>
|
28
|
+
</radialGradient>
|
29
|
+
<filter id="AI_Sfocatura_4">
|
30
|
+
<feGaussianBlur stdDeviation="4" id="feGaussianBlur6"/>
|
31
|
+
</filter>
|
32
|
+
<linearGradient id="XMLID_6_" gradientUnits="userSpaceOnUse" x1="58.0005" y1="116" x2="58.0005" y2="4.882812e-04">
|
33
|
+
<stop offset="0" style="stop-color:#555555" id="stop9"/>
|
34
|
+
<stop offset="0.2736" style="stop-color:#595959" id="stop11"/>
|
35
|
+
<stop offset="0.562" style="stop-color:#666666" id="stop13"/>
|
36
|
+
<stop offset="0.8561" style="stop-color:#7B7B7B" id="stop15"/>
|
37
|
+
<stop offset="1" style="stop-color:#888888" id="stop17"/>
|
38
|
+
</linearGradient>
|
39
|
+
<linearGradient inkscape:collect="always" xlink:href="#XMLID_9_" id="linearGradient3242" gradientUnits="userSpaceOnUse" gradientTransform="translate(6.0000006,6.0000006)" x1="11.9487" y1="34" x2="104.0518" y2="34"/>
|
40
|
+
<radialGradient inkscape:collect="always" xlink:href="#XMLID_7_" id="radialGradient3246" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.0833333,0,0,1.0833333,1.1666673,1.1666673)" cx="58" cy="58" r="48"/>
|
41
|
+
<linearGradient inkscape:collect="always" xlink:href="#XMLID_6_" id="linearGradient3251" gradientUnits="userSpaceOnUse" x1="58.0005" y1="116" x2="58.0005" y2="4.882812e-04"/>
|
42
|
+
<radialGradient inkscape:collect="always" xlink:href="#radialGradient3163" id="radialGradient3253" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.6667,0,0,0.7574,20.7214,14.064)" cx="53.1978" cy="59.186501" r="40.0294"/>
|
43
|
+
<radialGradient inkscape:collect="always" xlink:href="#radialGradient3163" id="radialGradient2197" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.6667,0,0,0.7574,20.7214,14.064)" cx="53.1978" cy="59.186501" r="40.0294"/>
|
44
|
+
</defs>
|
45
|
+
<sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" gridtolerance="10000" guidetolerance="10" objecttolerance="10" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="1" inkscape:cx="153" inkscape:cy="56.281828" inkscape:document-units="px" inkscape:current-layer="layer1" width="128px" height="128px" showgrid="true" gridspacingx="8px" gridspacingy="8px" inkscape:window-width="1018" inkscape:window-height="694" inkscape:window-x="0" inkscape:window-y="0"/>
|
46
|
+
<metadata id="metadata3191">
|
47
|
+
<rdf:RDF>
|
48
|
+
<cc:Work rdf:about="">
|
49
|
+
<dc:format>image/svg+xml</dc:format>
|
50
|
+
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
51
|
+
</cc:Work>
|
52
|
+
</rdf:RDF>
|
53
|
+
</metadata>
|
54
|
+
<g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1">
|
55
|
+
<circle cx="58" cy="58" r="58" id="circle19" style="fill:url(#linearGradient3251)" sodipodi:cx="58" sodipodi:cy="58" sodipodi:rx="58" sodipodi:ry="58" transform="matrix(1.1034483,0,0,1.1034483,0,-2.8e-6)"/>
|
56
|
+
<g id="g21" transform="matrix(1.0833333,0,0,1.0833333,1.1666686,1.1666686)" style="filter:url(#AI_Sfocatura_4);opacity:0.8">
|
57
|
+
<path d="M 10,58 C 10,84.467 31.533,106 58,106 C 84.467,106 106,84.467 106,58 C 106,31.533 84.467,10 58,10 C 31.533,10 10,31.533 10,58 z " id="path23"/>
|
58
|
+
</g>
|
59
|
+
<path d="M 12,63.999999 C 12,92.672581 35.327414,116 63.999998,116 C 92.672584,116 116,92.672581 116,63.999999 C 116,35.327415 92.672584,12 63.999998,12 C 35.327414,12 12,35.327415 12,63.999999 z " id="path38" style="fill:url(#radialGradient3246)"/>
|
60
|
+
<polygon transform="matrix(0.6666666,0,0,1,36.000006,6)" style="fill:url(#radialGradient2197);fill-opacity:1" id="polygon2195" points="42,26 90,58 42,90 42,26 "/>
|
61
|
+
<polygon points="42,26 90,58 42,90 42,26 " id="polygon53" style="fill:url(#radialGradient3253);fill-opacity:1" transform="matrix(0.5,0,0,0.75,19.000002,20.5)"/>
|
62
|
+
<path d="M 63.999998,63.999999 C 81.788999,63.999999 97.967006,58.87 110.05199,50.491 C 104.19999,30.582 85.775999,16 63.999998,16 C 42.222999,16 23.798999,30.582999 17.949,50.491 C 30.032,58.87 46.209999,63.999999 63.999998,63.999999 z " id="path60" style="opacity:0.5;fill:url(#linearGradient3242)"/>
|
63
|
+
</g>
|
64
|
+
</svg>
|
data/misc/icons/home.png
ADDED
Binary file
|
data/misc/icons/home.svg
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
3
|
+
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://web.resource.org/cc/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="128" height="128" id="svg3186" sodipodi:version="0.32" inkscape:version="0.45" version="1.0" sodipodi:docname="player_end.svg" sodipodi:docbase="/home/david/Progetti/sandbox" inkscape:output_extension="org.inkscape.output.svg.inkscape" sodipodi:modified="true">
|
4
|
+
<defs id="defs3188">
|
5
|
+
<radialGradient inkscape:collect="always" xlink:href="#radialGradient3163" id="radialGradient2197" gradientUnits="userSpaceOnUse" gradientTransform="matrix(4.7377213e-8,-0.1315545,0.7519296,0,12.61245,94.56941)" cx="80.342453" cy="68.340897" fx="80.342453" fy="68.340897" r="40.0294"/>
|
6
|
+
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.6667,0,0,0.7574,20.7214,14.064)" r="40.0294" cy="59.1865" cx="53.1978" id="radialGradient3163">
|
7
|
+
<stop id="stop3165" style="stop-color:#000000;stop-opacity:1;" offset="0"/>
|
8
|
+
<stop id="stop3175" style="stop-color:#666666;stop-opacity:1;" offset="1"/>
|
9
|
+
</radialGradient>
|
10
|
+
<linearGradient id="XMLID_9_" gradientUnits="userSpaceOnUse" x1="11.9487" y1="34" x2="104.0518" y2="34" gradientTransform="translate(559.14286,-264.28571)">
|
11
|
+
<stop offset="0" style="stop-color:#FFFFFF" id="stop56"/>
|
12
|
+
<stop offset="0.80000001" style="stop-color:#ffffff;stop-opacity:0;" id="stop58"/>
|
13
|
+
</linearGradient>
|
14
|
+
<radialGradient id="XMLID_8_" cx="53.1978" cy="59.1865" r="40.0294" gradientTransform="matrix(0.6667,0,0,0.7574,20.7214,14.064)" gradientUnits="userSpaceOnUse">
|
15
|
+
<stop offset="0" style="stop-color:#323232" id="stop41"/>
|
16
|
+
<stop offset="0.2083" style="stop-color:#363636" id="stop43"/>
|
17
|
+
<stop offset="0.4278" style="stop-color:#434343" id="stop45"/>
|
18
|
+
<stop offset="0.6526" style="stop-color:#585858" id="stop47"/>
|
19
|
+
<stop offset="0.8796" style="stop-color:#757575" id="stop49"/>
|
20
|
+
<stop offset="1" style="stop-color:#888888" id="stop51"/>
|
21
|
+
</radialGradient>
|
22
|
+
<radialGradient id="XMLID_7_" cx="58" cy="58" r="48" gradientUnits="userSpaceOnUse" gradientTransform="translate(559.14286,-264.28571)">
|
23
|
+
<stop offset="0" style="stop-color:#FFFFFF" id="stop26"/>
|
24
|
+
<stop offset="0.574" style="stop-color:#FFFFFF" id="stop28"/>
|
25
|
+
<stop offset="0.6842" style="stop-color:#FBFBFB" id="stop30"/>
|
26
|
+
<stop offset="0.8001" style="stop-color:#EEEEEE" id="stop32"/>
|
27
|
+
<stop offset="0.9" style="stop-color:#DDDDDD" id="stop34"/>
|
28
|
+
<stop offset="1" style="stop-color:#BBBBBB" id="stop36"/>
|
29
|
+
</radialGradient>
|
30
|
+
<filter id="AI_Sfocatura_4">
|
31
|
+
<feGaussianBlur stdDeviation="4" id="feGaussianBlur6"/>
|
32
|
+
</filter>
|
33
|
+
<linearGradient id="XMLID_6_" gradientUnits="userSpaceOnUse" x1="58.0005" y1="116" x2="58.0005" y2="4.882812e-04">
|
34
|
+
<stop offset="0" style="stop-color:#555555" id="stop9"/>
|
35
|
+
<stop offset="0.2736" style="stop-color:#595959" id="stop11"/>
|
36
|
+
<stop offset="0.562" style="stop-color:#666666" id="stop13"/>
|
37
|
+
<stop offset="0.8561" style="stop-color:#7B7B7B" id="stop15"/>
|
38
|
+
<stop offset="1" style="stop-color:#888888" id="stop17"/>
|
39
|
+
</linearGradient>
|
40
|
+
<linearGradient inkscape:collect="always" xlink:href="#XMLID_9_" id="linearGradient3242" gradientUnits="userSpaceOnUse" gradientTransform="translate(6.0000006,6.0000006)" x1="11.9487" y1="34" x2="104.0518" y2="34"/>
|
41
|
+
<radialGradient inkscape:collect="always" xlink:href="#XMLID_7_" id="radialGradient3246" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.0833333,0,0,1.0833333,1.1666673,1.1666673)" cx="58" cy="58" r="48"/>
|
42
|
+
<linearGradient inkscape:collect="always" xlink:href="#XMLID_6_" id="linearGradient3251" gradientUnits="userSpaceOnUse" x1="58.0005" y1="116" x2="58.0005" y2="4.882812e-04"/>
|
43
|
+
<radialGradient inkscape:collect="always" xlink:href="#radialGradient3163" id="radialGradient3253" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.6667,0,0,0.7574,20.7214,14.064)" cx="53.1978" cy="59.186501" r="40.0294"/>
|
44
|
+
</defs>
|
45
|
+
<sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" gridtolerance="10000" guidetolerance="10" objecttolerance="10" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="2.8284271" inkscape:cx="62" inkscape:cy="44.566099" inkscape:document-units="px" inkscape:current-layer="layer1" width="128px" height="128px" showgrid="true" gridspacingx="8px" gridspacingy="8px" inkscape:window-width="792" inkscape:window-height="581" inkscape:window-x="225" inkscape:window-y="112"/>
|
46
|
+
<metadata id="metadata3191">
|
47
|
+
<rdf:RDF>
|
48
|
+
<cc:Work rdf:about="">
|
49
|
+
<dc:format>image/svg+xml</dc:format>
|
50
|
+
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
51
|
+
</cc:Work>
|
52
|
+
</rdf:RDF>
|
53
|
+
</metadata>
|
54
|
+
<g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1">
|
55
|
+
<circle cx="58" cy="58" r="58" id="circle19" style="fill:url(#linearGradient3251)" sodipodi:cx="58" sodipodi:cy="58" sodipodi:rx="58" sodipodi:ry="58" transform="matrix(1.1034483,0,0,1.1034483,0,-2.8e-6)"/>
|
56
|
+
<g id="g21" transform="matrix(1.0833333,0,0,1.0833333,1.1666686,1.1666686)" style="filter:url(#AI_Sfocatura_4);opacity:0.8">
|
57
|
+
<path d="M 10,58 C 10,84.467 31.533,106 58,106 C 84.467,106 106,84.467 106,58 C 106,31.533 84.467,10 58,10 C 31.533,10 10,31.533 10,58 z " id="path23"/>
|
58
|
+
</g>
|
59
|
+
<path d="M 12,63.999999 C 12,92.672581 35.327414,116 63.999998,116 C 92.672584,116 116,92.672581 116,63.999999 C 116,35.327415 92.672584,12 63.999998,12 C 35.327414,12 12,35.327415 12,63.999999 z " id="path38" style="fill:url(#radialGradient3246)"/>
|
60
|
+
<polygon points="42,26 90,58 42,90 42,26 " id="polygon53" style="fill:url(#radialGradient3253);fill-opacity:1" transform="matrix(0,-0.8333333,1,0,6,107)"/>
|
61
|
+
<path sodipodi:nodetypes="ccccc" id="path2195" d="M 40,88 L 40.38871,80 L 87.95798,80.005265 L 88,87.94911 L 40,88 z " style="fill:url(#radialGradient2197);fill-opacity:1"/>
|
62
|
+
<path d="M 63.999998,63.999999 C 81.788999,63.999999 97.967006,58.87 110.05199,50.491 C 104.19999,30.582 85.775999,16 63.999998,16 C 42.222999,16 23.798999,30.582999 17.949,50.491 C 30.032,58.87 46.209999,63.999999 63.999998,63.999999 z " id="path60" style="opacity:0.5;fill:url(#linearGradient3242)"/>
|
63
|
+
</g>
|
64
|
+
</svg>
|
data/misc/icons/last.png
ADDED
Binary file
|
data/misc/icons/last.svg
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
3
|
+
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://web.resource.org/cc/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="128" height="128" id="svg3186" sodipodi:version="0.32" inkscape:version="0.45" version="1.0" sodipodi:docname="player_end.svg" sodipodi:docbase="/home/david/Progetti/sandbox" inkscape:output_extension="org.inkscape.output.svg.inkscape" sodipodi:modified="true">
|
4
|
+
<defs id="defs3188">
|
5
|
+
<radialGradient inkscape:collect="always" xlink:href="#radialGradient3163" id="radialGradient2197" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.263109,4.7377213e-8,-1.5110247e-8,0.7519296,66.86118,12.61245)" cx="80.342453" cy="68.340897" fx="80.342453" fy="68.340897" r="40.0294"/>
|
6
|
+
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.6667,0,0,0.7574,20.7214,14.064)" r="40.0294" cy="59.1865" cx="53.1978" id="radialGradient3163">
|
7
|
+
<stop id="stop3165" style="stop-color:#000000;stop-opacity:1;" offset="0"/>
|
8
|
+
<stop id="stop3175" style="stop-color:#666666;stop-opacity:1;" offset="1"/>
|
9
|
+
</radialGradient>
|
10
|
+
<linearGradient id="XMLID_9_" gradientUnits="userSpaceOnUse" x1="11.9487" y1="34" x2="104.0518" y2="34" gradientTransform="translate(559.14286,-264.28571)">
|
11
|
+
<stop offset="0" style="stop-color:#FFFFFF" id="stop56"/>
|
12
|
+
<stop offset="0.80000001" style="stop-color:#ffffff;stop-opacity:0;" id="stop58"/>
|
13
|
+
</linearGradient>
|
14
|
+
<radialGradient id="XMLID_8_" cx="53.1978" cy="59.1865" r="40.0294" gradientTransform="matrix(0.6667,0,0,0.7574,20.7214,14.064)" gradientUnits="userSpaceOnUse">
|
15
|
+
<stop offset="0" style="stop-color:#323232" id="stop41"/>
|
16
|
+
<stop offset="0.2083" style="stop-color:#363636" id="stop43"/>
|
17
|
+
<stop offset="0.4278" style="stop-color:#434343" id="stop45"/>
|
18
|
+
<stop offset="0.6526" style="stop-color:#585858" id="stop47"/>
|
19
|
+
<stop offset="0.8796" style="stop-color:#757575" id="stop49"/>
|
20
|
+
<stop offset="1" style="stop-color:#888888" id="stop51"/>
|
21
|
+
</radialGradient>
|
22
|
+
<radialGradient id="XMLID_7_" cx="58" cy="58" r="48" gradientUnits="userSpaceOnUse" gradientTransform="translate(559.14286,-264.28571)">
|
23
|
+
<stop offset="0" style="stop-color:#FFFFFF" id="stop26"/>
|
24
|
+
<stop offset="0.574" style="stop-color:#FFFFFF" id="stop28"/>
|
25
|
+
<stop offset="0.6842" style="stop-color:#FBFBFB" id="stop30"/>
|
26
|
+
<stop offset="0.8001" style="stop-color:#EEEEEE" id="stop32"/>
|
27
|
+
<stop offset="0.9" style="stop-color:#DDDDDD" id="stop34"/>
|
28
|
+
<stop offset="1" style="stop-color:#BBBBBB" id="stop36"/>
|
29
|
+
</radialGradient>
|
30
|
+
<filter id="AI_Sfocatura_4">
|
31
|
+
<feGaussianBlur stdDeviation="4" id="feGaussianBlur6"/>
|
32
|
+
</filter>
|
33
|
+
<linearGradient id="XMLID_6_" gradientUnits="userSpaceOnUse" x1="58.0005" y1="116" x2="58.0005" y2="4.882812e-04">
|
34
|
+
<stop offset="0" style="stop-color:#555555" id="stop9"/>
|
35
|
+
<stop offset="0.2736" style="stop-color:#595959" id="stop11"/>
|
36
|
+
<stop offset="0.562" style="stop-color:#666666" id="stop13"/>
|
37
|
+
<stop offset="0.8561" style="stop-color:#7B7B7B" id="stop15"/>
|
38
|
+
<stop offset="1" style="stop-color:#888888" id="stop17"/>
|
39
|
+
</linearGradient>
|
40
|
+
<linearGradient inkscape:collect="always" xlink:href="#XMLID_9_" id="linearGradient3242" gradientUnits="userSpaceOnUse" gradientTransform="translate(6.0000006,6.0000006)" x1="11.9487" y1="34" x2="104.0518" y2="34"/>
|
41
|
+
<radialGradient inkscape:collect="always" xlink:href="#XMLID_7_" id="radialGradient3246" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.0833333,0,0,1.0833333,1.1666673,1.1666673)" cx="58" cy="58" r="48"/>
|
42
|
+
<linearGradient inkscape:collect="always" xlink:href="#XMLID_6_" id="linearGradient3251" gradientUnits="userSpaceOnUse" x1="58.0005" y1="116" x2="58.0005" y2="4.882812e-04"/>
|
43
|
+
<radialGradient inkscape:collect="always" xlink:href="#radialGradient3163" id="radialGradient3253" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.6667,0,0,0.7574,20.7214,14.064)" cx="53.1978" cy="59.186501" r="40.0294"/>
|
44
|
+
</defs>
|
45
|
+
<sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" gridtolerance="10000" guidetolerance="10" objecttolerance="10" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="2.8284271" inkscape:cx="62" inkscape:cy="44.566099" inkscape:document-units="px" inkscape:current-layer="layer1" width="128px" height="128px" showgrid="true" gridspacingx="8px" gridspacingy="8px" inkscape:window-width="792" inkscape:window-height="581" inkscape:window-x="225" inkscape:window-y="112"/>
|
46
|
+
<metadata id="metadata3191">
|
47
|
+
<rdf:RDF>
|
48
|
+
<cc:Work rdf:about="">
|
49
|
+
<dc:format>image/svg+xml</dc:format>
|
50
|
+
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
51
|
+
</cc:Work>
|
52
|
+
</rdf:RDF>
|
53
|
+
</metadata>
|
54
|
+
<g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1">
|
55
|
+
<circle cx="58" cy="58" r="58" id="circle19" style="fill:url(#linearGradient3251)" sodipodi:cx="58" sodipodi:cy="58" sodipodi:rx="58" sodipodi:ry="58" transform="matrix(1.1034483,0,0,1.1034483,0,-2.8e-6)"/>
|
56
|
+
<g id="g21" transform="matrix(1.0833333,0,0,1.0833333,1.1666686,1.1666686)" style="filter:url(#AI_Sfocatura_4);opacity:0.8">
|
57
|
+
<path d="M 10,58 C 10,84.467 31.533,106 58,106 C 84.467,106 106,84.467 106,58 C 106,31.533 84.467,10 58,10 C 31.533,10 10,31.533 10,58 z " id="path23"/>
|
58
|
+
</g>
|
59
|
+
<path d="M 12,63.999999 C 12,92.672581 35.327414,116 63.999998,116 C 92.672584,116 116,92.672581 116,63.999999 C 116,35.327415 92.672584,12 63.999998,12 C 35.327414,12 12,35.327415 12,63.999999 z " id="path38" style="fill:url(#radialGradient3246)"/>
|
60
|
+
<polygon points="42,26 90,58 42,90 42,26 " id="polygon53" style="fill:url(#radialGradient3253);fill-opacity:1" transform="translate(-10,6)"/>
|
61
|
+
<path sodipodi:nodetypes="ccccc" id="path2195" d="M 80,40 L 96,40.38871 L 95.98947,87.95798 L 80.10178,88 L 80,40 z " style="fill:url(#radialGradient2197);fill-opacity:1"/>
|
62
|
+
<path d="M 63.999998,63.999999 C 81.788999,63.999999 97.967006,58.87 110.05199,50.491 C 104.19999,30.582 85.775999,16 63.999998,16 C 42.222999,16 23.798999,30.582999 17.949,50.491 C 30.032,58.87 46.209999,63.999999 63.999998,63.999999 z " id="path60" style="opacity:0.5;fill:url(#linearGradient3242)"/>
|
63
|
+
</g>
|
64
|
+
</svg>
|
@@ -0,0 +1,165 @@
|
|
1
|
+
GNU LESSER GENERAL PUBLIC LICENSE
|
2
|
+
Version 3, 29 June 2007
|
3
|
+
|
4
|
+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
5
|
+
Everyone is permitted to copy and distribute verbatim copies
|
6
|
+
of this license document, but changing it is not allowed.
|
7
|
+
|
8
|
+
|
9
|
+
This version of the GNU Lesser General Public License incorporates
|
10
|
+
the terms and conditions of version 3 of the GNU General Public
|
11
|
+
License, supplemented by the additional permissions listed below.
|
12
|
+
|
13
|
+
0. Additional Definitions.
|
14
|
+
|
15
|
+
As used herein, "this License" refers to version 3 of the GNU Lesser
|
16
|
+
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
17
|
+
General Public License.
|
18
|
+
|
19
|
+
"The Library" refers to a covered work governed by this License,
|
20
|
+
other than an Application or a Combined Work as defined below.
|
21
|
+
|
22
|
+
An "Application" is any work that makes use of an interface provided
|
23
|
+
by the Library, but which is not otherwise based on the Library.
|
24
|
+
Defining a subclass of a class defined by the Library is deemed a mode
|
25
|
+
of using an interface provided by the Library.
|
26
|
+
|
27
|
+
A "Combined Work" is a work produced by combining or linking an
|
28
|
+
Application with the Library. The particular version of the Library
|
29
|
+
with which the Combined Work was made is also called the "Linked
|
30
|
+
Version".
|
31
|
+
|
32
|
+
The "Minimal Corresponding Source" for a Combined Work means the
|
33
|
+
Corresponding Source for the Combined Work, excluding any source code
|
34
|
+
for portions of the Combined Work that, considered in isolation, are
|
35
|
+
based on the Application, and not on the Linked Version.
|
36
|
+
|
37
|
+
The "Corresponding Application Code" for a Combined Work means the
|
38
|
+
object code and/or source code for the Application, including any data
|
39
|
+
and utility programs needed for reproducing the Combined Work from the
|
40
|
+
Application, but excluding the System Libraries of the Combined Work.
|
41
|
+
|
42
|
+
1. Exception to Section 3 of the GNU GPL.
|
43
|
+
|
44
|
+
You may convey a covered work under sections 3 and 4 of this License
|
45
|
+
without being bound by section 3 of the GNU GPL.
|
46
|
+
|
47
|
+
2. Conveying Modified Versions.
|
48
|
+
|
49
|
+
If you modify a copy of the Library, and, in your modifications, a
|
50
|
+
facility refers to a function or data to be supplied by an Application
|
51
|
+
that uses the facility (other than as an argument passed when the
|
52
|
+
facility is invoked), then you may convey a copy of the modified
|
53
|
+
version:
|
54
|
+
|
55
|
+
a) under this License, provided that you make a good faith effort to
|
56
|
+
ensure that, in the event an Application does not supply the
|
57
|
+
function or data, the facility still operates, and performs
|
58
|
+
whatever part of its purpose remains meaningful, or
|
59
|
+
|
60
|
+
b) under the GNU GPL, with none of the additional permissions of
|
61
|
+
this License applicable to that copy.
|
62
|
+
|
63
|
+
3. Object Code Incorporating Material from Library Header Files.
|
64
|
+
|
65
|
+
The object code form of an Application may incorporate material from
|
66
|
+
a header file that is part of the Library. You may convey such object
|
67
|
+
code under terms of your choice, provided that, if the incorporated
|
68
|
+
material is not limited to numerical parameters, data structure
|
69
|
+
layouts and accessors, or small macros, inline functions and templates
|
70
|
+
(ten or fewer lines in length), you do both of the following:
|
71
|
+
|
72
|
+
a) Give prominent notice with each copy of the object code that the
|
73
|
+
Library is used in it and that the Library and its use are
|
74
|
+
covered by this License.
|
75
|
+
|
76
|
+
b) Accompany the object code with a copy of the GNU GPL and this license
|
77
|
+
document.
|
78
|
+
|
79
|
+
4. Combined Works.
|
80
|
+
|
81
|
+
You may convey a Combined Work under terms of your choice that,
|
82
|
+
taken together, effectively do not restrict modification of the
|
83
|
+
portions of the Library contained in the Combined Work and reverse
|
84
|
+
engineering for debugging such modifications, if you also do each of
|
85
|
+
the following:
|
86
|
+
|
87
|
+
a) Give prominent notice with each copy of the Combined Work that
|
88
|
+
the Library is used in it and that the Library and its use are
|
89
|
+
covered by this License.
|
90
|
+
|
91
|
+
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
92
|
+
document.
|
93
|
+
|
94
|
+
c) For a Combined Work that displays copyright notices during
|
95
|
+
execution, include the copyright notice for the Library among
|
96
|
+
these notices, as well as a reference directing the user to the
|
97
|
+
copies of the GNU GPL and this license document.
|
98
|
+
|
99
|
+
d) Do one of the following:
|
100
|
+
|
101
|
+
0) Convey the Minimal Corresponding Source under the terms of this
|
102
|
+
License, and the Corresponding Application Code in a form
|
103
|
+
suitable for, and under terms that permit, the user to
|
104
|
+
recombine or relink the Application with a modified version of
|
105
|
+
the Linked Version to produce a modified Combined Work, in the
|
106
|
+
manner specified by section 6 of the GNU GPL for conveying
|
107
|
+
Corresponding Source.
|
108
|
+
|
109
|
+
1) Use a suitable shared library mechanism for linking with the
|
110
|
+
Library. A suitable mechanism is one that (a) uses at run time
|
111
|
+
a copy of the Library already present on the user's computer
|
112
|
+
system, and (b) will operate properly with a modified version
|
113
|
+
of the Library that is interface-compatible with the Linked
|
114
|
+
Version.
|
115
|
+
|
116
|
+
e) Provide Installation Information, but only if you would otherwise
|
117
|
+
be required to provide such information under section 6 of the
|
118
|
+
GNU GPL, and only to the extent that such information is
|
119
|
+
necessary to install and execute a modified version of the
|
120
|
+
Combined Work produced by recombining or relinking the
|
121
|
+
Application with a modified version of the Linked Version. (If
|
122
|
+
you use option 4d0, the Installation Information must accompany
|
123
|
+
the Minimal Corresponding Source and Corresponding Application
|
124
|
+
Code. If you use option 4d1, you must provide the Installation
|
125
|
+
Information in the manner specified by section 6 of the GNU GPL
|
126
|
+
for conveying Corresponding Source.)
|
127
|
+
|
128
|
+
5. Combined Libraries.
|
129
|
+
|
130
|
+
You may place library facilities that are a work based on the
|
131
|
+
Library side by side in a single library together with other library
|
132
|
+
facilities that are not Applications and are not covered by this
|
133
|
+
License, and convey such a combined library under terms of your
|
134
|
+
choice, if you do both of the following:
|
135
|
+
|
136
|
+
a) Accompany the combined library with a copy of the same work based
|
137
|
+
on the Library, uncombined with any other library facilities,
|
138
|
+
conveyed under the terms of this License.
|
139
|
+
|
140
|
+
b) Give prominent notice with the combined library that part of it
|
141
|
+
is a work based on the Library, and explaining where to find the
|
142
|
+
accompanying uncombined form of the same work.
|
143
|
+
|
144
|
+
6. Revised Versions of the GNU Lesser General Public License.
|
145
|
+
|
146
|
+
The Free Software Foundation may publish revised and/or new versions
|
147
|
+
of the GNU Lesser General Public License from time to time. Such new
|
148
|
+
versions will be similar in spirit to the present version, but may
|
149
|
+
differ in detail to address new problems or concerns.
|
150
|
+
|
151
|
+
Each version is given a distinguishing version number. If the
|
152
|
+
Library as you received it specifies that a certain numbered version
|
153
|
+
of the GNU Lesser General Public License "or any later version"
|
154
|
+
applies to it, you have the option of following the terms and
|
155
|
+
conditions either of that published version or of any later version
|
156
|
+
published by the Free Software Foundation. If the Library as you
|
157
|
+
received it does not specify a version number of the GNU Lesser
|
158
|
+
General Public License, you may choose any version of the GNU Lesser
|
159
|
+
General Public License ever published by the Free Software Foundation.
|
160
|
+
|
161
|
+
If the Library as you received it specifies that a proxy can decide
|
162
|
+
whether future versions of the GNU Lesser General Public License shall
|
163
|
+
apply, that proxy's public statement of acceptance of any version is
|
164
|
+
permanent authorization for you to choose that version for the
|
165
|
+
Library.
|
data/postrunner.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
spec.required_ruby_version = '>=2.0'
|
21
21
|
|
22
|
-
spec.add_dependency "fit4ruby"
|
22
|
+
spec.add_dependency "fit4ruby", "~> 0.0.3"
|
23
23
|
spec.add_dependency "nokogiri", "~> 1.6"
|
24
24
|
|
25
25
|
spec.add_development_dependency "bundler", "~> 1.6"
|
@@ -0,0 +1,28 @@
|
|
1
|
+
#!/usr/bin/env ruby -w
|
2
|
+
# encoding: UTF-8
|
3
|
+
#
|
4
|
+
# = PostRunner_spec.rb -- PostRunner - Manage the data from your Garmin sport devices.
|
5
|
+
#
|
6
|
+
# Copyright (c) 2014 by Chris Schlaeger <cs@taskjuggler.org>
|
7
|
+
#
|
8
|
+
# This program is free software; you can redistribute it and/or modify
|
9
|
+
# it under the terms of version 2 of the GNU General Public License as
|
10
|
+
# published by the Free Software Foundation.
|
11
|
+
#
|
12
|
+
|
13
|
+
require 'postrunner/ActivitySummary'
|
14
|
+
require 'spec_helper'
|
15
|
+
|
16
|
+
describe PostRunner::ActivitySummary do
|
17
|
+
|
18
|
+
before(:each) do
|
19
|
+
@as = PostRunner::ActivitySummary.new(
|
20
|
+
create_fit_activity('2014-08-26-19:00', 30), 'test', :metric)
|
21
|
+
end
|
22
|
+
|
23
|
+
it 'should create a metric summary' do
|
24
|
+
puts @as.to_s #TODO: Fix aggregation first
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
data/spec/FlexiTable_spec.rb
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
#!/usr/bin/env ruby -w
|
2
|
+
# encoding: UTF-8
|
3
|
+
#
|
4
|
+
# = FlexiTable_spec.rb -- PostRunner - Manage the data from your Garmin sport devices.
|
5
|
+
#
|
6
|
+
# Copyright (c) 2014 by Chris Schlaeger <cs@taskjuggler.org>
|
7
|
+
#
|
8
|
+
# This program is free software; you can redistribute it and/or modify
|
9
|
+
# it under the terms of version 2 of the GNU General Public License as
|
10
|
+
# published by the Free Software Foundation.
|
11
|
+
#
|
12
|
+
|
1
13
|
require 'postrunner/FlexiTable'
|
2
14
|
|
3
15
|
describe PostRunner::FlexiTable do
|
@@ -7,7 +19,13 @@ describe PostRunner::FlexiTable do
|
|
7
19
|
row(%w( a bb ))
|
8
20
|
row(%w( ccc ddddd ))
|
9
21
|
end
|
10
|
-
|
22
|
+
ref = <<EOT
|
23
|
+
+---+-----+
|
24
|
+
|a |bb |
|
25
|
+
|ccc|ddddd|
|
26
|
+
+---+-----+
|
27
|
+
EOT
|
28
|
+
t.to_s.should == ref
|
11
29
|
end
|
12
30
|
|
13
31
|
end
|