<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems-testing (2011-11-28)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-11-28 Aleksejs Popovs <me@popoffka.ru>

        * generate_coverage_html, style.css: Google Code-In 2011 task to make
        the tables sortable on the top level BSP page.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-coverage/ChangeLog.diff?r1=text&tr1=1.310&r2=text&tr2=1.311&diff_format=h">M</a></td><td width='1%'>1.311</td><td width='100%'>rtems-coverage/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-coverage/generate_coverage_html.diff?r1=text&tr1=1.33&r2=text&tr2=1.34&diff_format=h">M</a></td><td width='1%'>1.34</td><td width='100%'>rtems-coverage/generate_coverage_html</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-coverage/style.css.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>rtems-coverage/style.css</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems-testing/rtems-coverage/ChangeLog:1.310 rtems-testing/rtems-coverage/ChangeLog:1.311
--- rtems-testing/rtems-coverage/ChangeLog:1.310        Fri Nov  4 14:29:00 2011
+++ rtems-testing/rtems-coverage/ChangeLog      Mon Nov 28 09:02:20 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-11-28    Aleksejs Popovs <me@popoffka.ru>
+
+       * generate_coverage_html, style.css: Google Code-In 2011 task to make
+       the tables sortable on the top level BSP page.
+
</font> 2011-11-04        Joel Sherrill <joel.sherrilL@OARcorp.com>
 
        * do_coverage: Remove unused variable.

<font color='#006600'>diff -u rtems-testing/rtems-coverage/generate_coverage_html:1.33 rtems-testing/rtems-coverage/generate_coverage_html:1.34
--- rtems-testing/rtems-coverage/generate_coverage_html:1.33    Wed Jul 27 16:59:17 2011
+++ rtems-testing/rtems-coverage/generate_coverage_html Mon Nov 28 09:02:20 2011
</font><font color='#997700'>@@ -135,6 +135,7 @@
</font> <meta http-equiv="Content-Language" content="English" />
 <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
 <link rel="stylesheet" type="text/css" href="rtems/style.css" media="screen" />
<font color='#000088'>+<script src="rtems/table.js"></script>
</font> <div class="heading">
 <div class="heading-title">RTEMS
 EOF
<font color='#997700'>@@ -147,7 +148,7 @@
</font> </HEAD>
 <body>
 <br>
<font color='#880000'>-<table class="stats-table" $cellspacing="1" cellpadding="2">
</font><font color='#000088'>+<table class="stats-table" cellspacing="1" cellpadding="2">
</font> EOF
 }
 
<font color='#997700'>@@ -160,7 +161,13 @@
</font> 
 print_heading()
 {
<font color='#880000'>-  echo "<th>"${*}"</th>"
</font><font color='#000088'>+  if [ "${*}" = "Day" ] ; then
+    echo "<th class=\"table-sortable:date\">${*}</th>"
+  elif [ "${*}" = "Results" ] ; then
+    echo "<th>${*}</th>"
+  else
+    echo "<th class=\"table-sortable:numeric\">${*}</th>"
+  fi
</font> }
 
 # need to use ${1} for parameter
<font color='#997700'>@@ -197,7 +204,7 @@
</font> <thead>
 <tr class="heading-title">
 EOF
<font color='#880000'>-  if [ ${do_plots} = "yes" ] ; then<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+  if [ ${do_plots} = "yes" ] ; then
</font>     echo "<td width=\"30%\">Result Tables</td>"
     echo "<td width=\"30%\">Time Series Graphs</td>"
     echo "<td width=\"30%\">TimePlot Graphs</td>"
<font color='#997700'>@@ -225,7 +232,7 @@
</font> EOF
 
 
<font color='#880000'>-  if [ ${do_plots} = "yes" ] ; then<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+  if [ ${do_plots} = "yes" ] ; then
</font>     echo "<li><a href=\"graphs/${BSP}-uncovered_percent-d.png\">"
     echo "  Uncovered Percentage (Core)</a></li>"
     echo "<li><a href=\"graphs/${BSP}-uncovered_percent-D.png\">"
<font color='#997700'>@@ -254,7 +261,7 @@
</font> <ul>
 EOF
 
<font color='#880000'>-  if [ ${do_plots} = "yes" ] ; then<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+  if [ ${do_plots} = "yes" ] ; then
</font>     echo "<li><a href=\"graphs/timeplot-${BSP}.html\">"
     echo "  TimePlot Graphs</a></li>"
 
<font color='#997700'>@@ -289,7 +296,8 @@
</font>   for build in O2pd O2pD O2Pd O2PD Ospd OspD OsPd OsPD
   do
     echo "<a name=\"${build}\"></a>"
<font color='#880000'>-    echo "<table class=\"stats-table\" cellspacing=\"1\" cellpadding=\"2\">"
</font><font color='#000088'>+    echo "<table class=\"stats-table table-autosort\" cellspacing=\"1\" cellpadding=\"2\">"
+    echo "<thead>"
</font>     echo "<tr class=\"stats-table-target\">"
     echo "<td colspan=\"10\">"
     echo "<strong>${cpu}/${bsp} `convert_flags ${build}` (${build})</strong>"
<font color='#997700'>@@ -306,6 +314,7 @@
</font>     print_heading Uncovered Bytes
     print_heading Total Bytes
     print_heading Results
<font color='#000088'>+    echo "</thead>"
</font> 
     first=no
     ls -1 ${bsp}-${build}-*-*/row.html | sort -t -  -k 1,2 -k 3,4r | \
<font color='#997700'>@@ -322,7 +331,7 @@
</font>        version=`grep heading-title ${index} | \
           sed -e 's/<.*>RTEMS //' -e 's/<.*$//'`
      fi
<font color='#880000'>-<span style="background-color: #FF0000">  </span>
</font><font color='#000088'>+
</font>      echo "<TD>${version}</TD>"
      sed \
       -e '1,6d' \
<font color='#997700'>@@ -650,6 +659,7 @@
</font> if [ ! -d rtems ] ; then
   mkdir rtems
 fi
<font color='#000088'>+
</font> cp ${COVBASE}/style.css rtems/style.css
 
 # Find the BSPs and make their directories
<font color='#997700'>@@ -659,13 +669,18 @@
</font> echo BSPs=${BSPs}
 
 echo "Ensuring BSP specific content is in BSP subdirectory"
<font color='#880000'>-for bsp in ${BSPs}<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+for bsp in ${BSPs}
</font> do
   test -d ${bsp}           || mkdir ${bsp}
   test -d ${bsp}/rtems     || mkdir ${bsp}/rtems
   test -d ${bsp}/plot_data || mkdir ${bsp}/plot_data
   test -d ${bsp}/graphs    || mkdir ${bsp}/graphs
   cp ${COVBASE}/style.css ${bsp}/rtems/style.css
<font color='#000088'>+  cp ${COVBASE}/../covoar/table.js ${bsp}/rtems/table.js
+  cp ${COVBASE}/../covoar/filter.gif ${bsp}/rtems
+  cp ${COVBASE}/../covoar/05_ascending.gif ${bsp}/rtems
+  cp ${COVBASE}/../covoar/05_descending.gif ${bsp}/rtems
+  cp ${COVBASE}/../covoar/05_unsorted.gif ${bsp}/rtems
</font>   mv ${bsp}-* ${bsp} 2>/dev/null
 done
 
<font color='#997700'>@@ -683,7 +698,7 @@
</font>   cd $1/${bsp}
   do_perBSPPage ${bsp} >${bsp}.html
 
<font color='#880000'>-  if [ ${do_plots} = "yes" ] ; then<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+  if [ ${do_plots} = "yes" ] ; then
</font>     cd $1
     OUTFIG=${bsp}/graphs
     OUTDAT=${bsp}/plot_data

<font color='#006600'>diff -u rtems-testing/rtems-coverage/style.css:1.4 rtems-testing/rtems-coverage/style.css:1.5
--- rtems-testing/rtems-coverage/style.css:1.4  Mon Mar 22 11:32:52 2010
+++ rtems-testing/rtems-coverage/style.css      Mon Nov 28 09:02:20 2011
</font><font color='#997700'>@@ -1,4 +1,4 @@
</font><font color='#880000'>-body {<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+body {
</font>     background: rgb(253,253,253);
     color: rgb(0,0,0);
     font-family: helvetica, sans-serif;
<font color='#997700'>@@ -8,14 +8,14 @@
</font>     padding: 0;
 }
 
<font color='#880000'>-a:link {<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+a:link {
</font>     color: rgb(180, 50, 50);
     font-family: helvetica, sans-serif;
     font-size: 1.0em;
 }
 
<font color='#880000'>-a:visited {<span style="background-color: #FF0000"> </span>
-    color: purple;<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+a:visited {
+    color: purple;
</font>     font-family: helvetica, sans-serif;
     font-size: 1.0em;
 }
<font color='#997700'>@@ -27,7 +27,7 @@
</font> }
 
 a:active {
<font color='#880000'>-    color: red;<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+    color: red;
</font>     font-family: helvetica, sans-serif;
     font-size: 1.0em;
 }
<font color='#997700'>@@ -182,3 +182,16 @@
</font>     margin-top: 10px;
     width: 40%;
 }
<font color='#000088'>+th.table-sortable {
+  background-image:url("unsorted.gif");
+  cursor: pointer;
+  background-position: center left;
+  background-repeat: no-repeat;
+  padding-left: 15px;
+}
+th.table-sorted-asc {
+  background-image:url("descending.gif");
+}
+th.table-sorted-desc {
+  background-image:url("ascending.gif");
+}
</font>\ No newline at end of file
</pre>
<p> </p>

<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>