$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: grafikrobot_at_[hidden]
Date: 2007-09-12 00:18:04
Author: grafik
Date: 2007-09-12 00:18:01 EDT (Wed, 12 Sep 2007)
New Revision: 39203
URL: http://svn.boost.org/trac/boost/changeset/39203
Log:
Add regression testing section, including intro page and script to display regression results.
Added:
   website/public_html/beta/development/.htaccess   (contents, props changed)
   website/public_html/beta/development/testing.html   (contents, props changed)
   website/public_html/beta/development/testing_results.php   (contents, props changed)
   website/public_html/beta/gfx/borland_logo.gif   (contents, props changed)
   website/public_html/beta/gfx/intel_logo.gif   (contents, props changed)
   website/public_html/beta/gfx/kai_logo.gif   (contents, props changed)
   website/public_html/beta/gfx/ms_logo.gif   (contents, props changed)
Text files modified: 
   website/public_html/beta/common/code/archive_file.php  |    22 ++++++++++++--                          
   website/public_html/beta/common/code/boost_utility.php |    58 ++++++++++++++++++++++++++++++++++++++++
   website/public_html/beta/common/code/feed.php          |    27 ------------------                      
   website/public_html/beta/common/code/libraries.php     |    48 ---------------------------------       
   website/public_html/beta/common/menu-development.html  |    14 ++++++++-                               
   5 files changed, 88 insertions(+), 81 deletions(-)
Modified: website/public_html/beta/common/code/archive_file.php
==============================================================================
--- website/public_html/beta/common/code/archive_file.php	(original)
+++ website/public_html/beta/common/code/archive_file.php	2007-09-12 00:18:01 EDT (Wed, 12 Sep 2007)
@@ -16,7 +16,12 @@
     var $head_content_ = NULL;
     var $content_ = NULL;
     
-    function archive_file($pattern, $vpath)
+    function archive_file(
+        $pattern,
+        $vpath,
+        $archive_subdir = true,
+        $archive_prefix = ARCHIVE_PREFIX,
+        $archive_file_prefix = ARCHIVE_FILE_PREFIX)
     {
         $path_parts = array();
         preg_match($pattern, $vpath, $path_parts);
@@ -32,6 +37,7 @@
                 array('@^libs/preprocessor/doc/.*(html|htm)$@i','raw','text/html'),
                 array('@^libs.*(html|htm)$@i','boost_libs_html','text/html'),
                 array('@^doc/html/.*html$@i','boost_book_html','text/html'),
+                array('@^boost/.*$@i','text','text/plain'),
                 array('@[.](txt|py|rst)$@i','text','text/plain'),
                 array('@[.](cpp|hpp)$@i','cpp','text/plain'),
                 array('@[.]png$@i','raw','image/png'),
@@ -40,13 +46,20 @@
                 array('@[.]css$@i','raw','text/css'),
                 array('@[.]js$@i','raw','application/x-javascript'),
                 array('@[.]pdf$@i','raw','application/pdf'),
-                array('@^boost/.*$@i','text','text/plain'),
+                array('@[.](html|htm)$@i','raw','text/html'),
                 );
         }
         
         $this->key_ = $path_parts[2];
-        $this->file_ = ARCHIVE_FILE_PREFIX . $path_parts[1] . '/' . $path_parts[2];
-        $this->archive_ = str_replace('\\','/', ARCHIVE_PREFIX . $path_parts[1] . '.zip');
+        if ($archive_subdir)
+        {
+            $this->file_ = $archive_file_prefix . $path_parts[1] . '/' . $path_parts[2];
+        }
+        else
+        {
+            $this->file_ = $archive_file_prefix . $path_parts[2];
+        }
+        $this->archive_ = str_replace('\\','/', $archive_prefix . $path_parts[1] . '.zip');
         
         foreach ($info_map as $i)
         {
@@ -68,6 +81,7 @@
         else if ($this->extractor_ == 'raw')
         {
             $this->_extract_raw($unzip);
+            //~ print "--- $unzip";
         }
         else
         {
Modified: website/public_html/beta/common/code/boost_utility.php
==============================================================================
--- website/public_html/beta/common/code/boost_utility.php	(original)
+++ website/public_html/beta/common/code/boost_utility.php	2007-09-12 00:18:01 EDT (Wed, 12 Sep 2007)
@@ -34,4 +34,62 @@
     if ($result === '') { return $text; }
     else { return $result . substr($text,$offset); }
 }
+
+
+function _field_cmp_($r,$a,$b)
+{
+    if ($r == 0) { return _field_cmp_name_($a,$b); }
+    else { return $r; }
+}
+
+function _field_cmp_authors_($a,$b)
+{ return _field_cmp_(strcmp($a['authors'],$b['authors']),$a,$b); }
+
+function _field_cmp_autolink_($a,$b)
+{ return _field_cmp_(_field_cmp_less_($a['autolink'],$b['autolink']),$a,$b); }
+
+function _field_cmp_boost_version_($a,$b)
+{
+    $i = explode('.',$a['boost-version']);
+    $j = explode('.',$b['boost-version']);
+    if ($i[0] == $j[0] && $i[1] == $j[1]) { return _field_cmp_($i[2]-$j[2],$a,$b); }
+    else if ($i[0] == $j[0]) { return _field_cmp_($i[1]-$j[1],$a,$b); }
+    else { return _field_cmp_($i[0]-$j[0],$a,$b); }
+}
+
+function _field_cmp_description_($a,$b)
+{ return strcmp($a['description'],$b['description']); }
+
+function _field_cmp_documentation_($a,$b)
+{ return strcmp($a['documentation'],$b['documentation']); }
+
+function _field_cmp_guid_($a,$b)
+{ return strcmp($a['guid'],$b['guid']); }
+
+function _field_cmp_header_only_($a,$b)
+{ return _field_cmp_(_field_cmp_less_($a['header-only'],$b['header-only']),$a,$b); }
+
+function _field_cmp_key_($a,$b)
+{ return strcmp($a['key'],$b['key']); }
+
+function _field_cmp_less_($i,$j)
+{
+    return ($i == $j) ? 0 : (($i < $j) ? -1 : 1);
+}
+
+function _field_cmp_name_($a,$b)
+{ return strcmp($a['name'],$b['name']); }
+
+function _field_cmp_pubdate_($a,$b)
+{ return _field_cmp_less_($b['pubdate'],$a['pubdate']); }
+
+function _field_cmp_std_proposal_($a,$b)
+{ return _field_cmp_(_field_cmp_less_($a['std-proposal'],$b['std-proposal']),$a,$b); }
+
+function _field_cmp_std_tr1_($a,$b)
+{ return _field_cmp_(_field_cmp_less_($a['std-tr1'],$b['std-tr1']),$a,$b); }
+
+function _field_cmp_title_($a,$b)
+{ return strcmp($a['title'],$b['title']); }
+
 ?>
\ No newline at end of file
Modified: website/public_html/beta/common/code/feed.php
==============================================================================
--- website/public_html/beta/common/code/feed.php	(original)
+++ website/public_html/beta/common/code/feed.php	2007-09-12 00:18:01 EDT (Wed, 12 Sep 2007)
@@ -6,33 +6,6 @@
 */
 require_once(dirname(__FILE__) . '/boost.php');
 
-
-function _field_cmp_key_($a,$b)
-{ return strcmp($a['key'],$b['key']); }
-
-function _field_cmp_title_($a,$b)
-{ return strcmp($a['title'],$b['title']); }
-
-function _field_cmp_description_($a,$b)
-{ return strcmp($a['description'],$b['description']); }
-
-function _field_cmp_guid_($a,$b)
-{ return strcmp($a['guid'],$b['guid']); }
-
-function _field_cmp_pubdate_($a,$b)
-{ return _field_cmp_less_($b['pubdate'],$a['pubdate']); }
-
-function _field_cmp_less_($i,$j)
-{
-    return ($i == $j) ? 0 : (($i < $j) ? -1 : 1);
-}
-
-function _field_cmp_($r,$a,$b)
-{
-    if ($r == 0) { return _field_cmp_pubDate_($a,$b); }
-    else { return $r; }
-}
-
 class boost_feed
 {
     var $db = array();
Modified: website/public_html/beta/common/code/libraries.php
==============================================================================
--- website/public_html/beta/common/code/libraries.php	(original)
+++ website/public_html/beta/common/code/libraries.php	2007-09-12 00:18:01 EDT (Wed, 12 Sep 2007)
@@ -6,54 +6,6 @@
 */
 require_once(dirname(__FILE__) . '/boost.php');
 
-
-function _field_cmp_key_($a,$b)
-{ return strcmp($a['key'],$b['key']); }
-
-function _field_cmp_name_($a,$b)
-{ return strcmp($a['name'],$b['name']); }
-
-function _field_cmp_authors_($a,$b)
-{ return _field_cmp_(strcmp($a['authors'],$b['authors']),$a,$b); }
-
-function _field_cmp_description_($a,$b)
-{ return strcmp($a['description'],$b['description']); }
-
-function _field_cmp_documentation_($a,$b)
-{ return strcmp($a['documentation'],$b['documentation']); }
-
-function _field_cmp_std_proposal_($a,$b)
-{ return _field_cmp_(_field_cmp_less_($a['std-proposal'],$b['std-proposal']),$a,$b); }
-
-function _field_cmp_std_tr1_($a,$b)
-{ return _field_cmp_(_field_cmp_less_($a['std-tr1'],$b['std-tr1']),$a,$b); }
-
-function _field_cmp_header_only_($a,$b)
-{ return _field_cmp_(_field_cmp_less_($a['header-only'],$b['header-only']),$a,$b); }
-
-function _field_cmp_autolink_($a,$b)
-{ return _field_cmp_(_field_cmp_less_($a['autolink'],$b['autolink']),$a,$b); }
-
-function _field_cmp_boost_version_($a,$b)
-{
-    $i = explode('.',$a['boost-version']);
-    $j = explode('.',$b['boost-version']);
-    if ($i[0] == $j[0] && $i[1] == $j[1]) { return _field_cmp_($i[2]-$j[2],$a,$b); }
-    else if ($i[0] == $j[0]) { return _field_cmp_($i[1]-$j[1],$a,$b); }
-    else { return _field_cmp_($i[0]-$j[0],$a,$b); }
-}
-
-function _field_cmp_less_($i,$j)
-{
-    return ($i == $j) ? 0 : (($i < $j) ? -1 : 1);
-}
-
-function _field_cmp_($r,$a,$b)
-{
-    if ($r == 0) { return _field_cmp_name_($a,$b); }
-    else { return $r; }
-}
-
 class boost_libraries
 {
     var $db = array();
Modified: website/public_html/beta/common/menu-development.html
==============================================================================
--- website/public_html/beta/common/menu-development.html	(original)
+++ website/public_html/beta/common/menu-development.html	2007-09-12 00:18:01 EDT (Wed, 12 Sep 2007)
@@ -2,8 +2,18 @@
   "link">></span></a></h4>
 
   <ul>
-    <li><a href="/development/regression.html">Regression Tests <span class=
-    "link">></span></a></li>
+    <li>
+      <a href="/development/testing.html">Testing <span class=
+      "link">></span></a>
+
+      <ul>
+        <li><a href="/development/tests/trunk/developer/summary.html">Trunk
+        Summary <span class="link">></span></a></li>
+
+        <li><a href="/development/tests/trunk/developer/issues.html">Trunk
+        Issues <span class="link">></span></a></li>
+      </ul>
+    </li>
 
     <li><a href="/development/requirements.html">Requirements and Guidelines
     <span class="link">></span></a></li>
Added: website/public_html/beta/development/.htaccess
==============================================================================
--- (empty file)
+++ website/public_html/beta/development/.htaccess	2007-09-12 00:18:01 EDT (Wed, 12 Sep 2007)
@@ -0,0 +1,5 @@
+RewriteEngine On
+RewriteBase /development
+
+RewriteRule ^tests$ tests/ [R]
+RewriteRule ^tests/(.*)$ testing_results.php/$1 [L]
Added: website/public_html/beta/development/testing.html
==============================================================================
--- (empty file)
+++ website/public_html/beta/development/testing.html	2007-09-12 00:18:01 EDT (Wed, 12 Sep 2007)
@@ -0,0 +1,201 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+<head>
+  <title>Boost C++ Libraries</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
+  <link rel="icon" href="/favicon.ico" type="image/ico" />
+  <link rel="stylesheet" type="text/css" href=
+  "/style/section-development.css" />
+  <!--[if IE]> <style type="text/css"> body { behavior: url(/style/csshover.htc); } </style> <![endif]-->
+</head>
+
+<body>
+  <div id="heading">
+    <!--#include virtual="/common/heading.html" -->
+  </div>
+
+  <div id="body">
+    <div id="body-inner">
+      <div id="content">
+        <div class="section" id="intro">
+          <div class="section-0">
+            <div class="section-title">
+              <h1>Testing</h1>
+            </div>
+
+            <div class="section-body">
+              <ul class="toc">
+                <li>Introduction</li>
+
+                <li>Regression Testing</li>
+
+                <li>Acknowledgements</li>
+              </ul>
+
+              <h2><a name="Introduction" id=
+              "Introduction"></a>Introduction</h2>
+
+              <p>Will all Boost libraries work with your compiler? 
+              Unfortunately, the answer is "it depends". See the <a href=
+              "#RegressionTesting">regression testing results</a> to see
+              exactly what works and what doesn't.</p>
+
+              <p>Boost libraries rely on modern C++ features such as
+              templates and the C++ Standard Library.  Most modern
+              compilers support those major features fairly well. But even
+              today, years after the adoption of the C++ Standard, some
+              compilers still don't support important minor features like
+              partial template specialization.</p>
+
+              <p>Boost library authors often expend a great deal of effort
+              trying to work around compiler deficiencies. 
+              Nevertheless, some libraries will not compile at all with
+              certain compilers or may have crippled functionality. 
+              Even if the current release of a compiler supports a boost
+              library, older versions of the compiler may not work
+              properly.</p>
+
+              <p>Boost releases are run through regression tests which
+              automatically generates compiler status tables for various
+              platforms. Unless otherwise indicated, the C++ Standard Library
+              implementation is the one shipped with the compiler.</p>
+
+              <h3>Warnings:</h3>
+
+              <ul>
+                <li>These tables are not a good indication of a particular
+                compiler's compliance with the C++ Standard.  The Boost
+                libraries often contain workarounds which mask compiler
+                deficiencies.</li>
+
+                <li>Some regression tests are run only occasionally, and so
+                are relatively out-of-date.  Check the date for each
+                table.</li>
+              </ul>
+
+              <p>The development code is being updated several times a day,
+              so it may contain bug fixes, compiler workarounds, new
+              features, and even whole new libraries. It may be unstable,
+              however.</p>
+
+              <h2><a name="RegressionTesting" id=
+              "RegressionTesting"></a>Regression Testing</h2>
+
+              <p>A group of voluteers donate CPU cycles, and large amounts of
+              disk space, to collectively produce the regression testing
+              result tables. Various Boost releases are tested for the
+              benefit of library developers and interested users:</p>
+
+              <table summary="Regression Results">
+                <tr>
+                  <th>Version</th>
+
+                  <th>Users</th>
+
+                  <th colspan="2">Developers</th>
+                </tr>
+
+                <tr>
+                  <td>Main trunk</td>
+
+                  <td><a href=
+                  "tests/trunk/user/summary_release.html">Summary</a></td>
+
+                  <td><a href=
+                  "tests/trunk/developer/summary.html">Summary</a></td>
+
+                  <td><a href="tests/trunk/developer/issues.html">Unresolved
+                  Issues</a></td>
+                </tr>
+              </table>
+
+              <h2><a name="Acknowledgements" id=
+              "Acknowledgements"></a>Acknowledgements</h2>
+
+              <p>The compiler status tables have been prepared with resources
+              donated by a number of individuals, educational institutions,
+              and companies. Boost would like to thank them for their
+              support.</p>
+
+              <ul class="directory">
+                <li>
+                  <p><img src="../gfx/borland_logo.gif" alt=
+                  "Borland" /><br />
+                  Borland</p>
+                </li>
+
+                <li>
+                  <p><img src="../gfx/intel_logo.gif" alt="intel" /><br />
+                  <a href="http://www.intel.com/software/products">Intel
+                  Corporation</a></p>
+                </li>
+
+                <li>
+                  <p><img src="../gfx/kai_logo.gif" alt=
+                  "KAI SOFTWARE" /><br />
+                  KAI Software</p>
+                </li>
+
+                <li>
+                  <p><img src="../gfx/ms_logo.gif" alt="Microsoft" /><br />
+                  <a href=
+                  "http://msdn.microsoft.com/visualc/">Microsoft</a></p>
+                </li>
+
+                <li>
+                  <p><a href="http://www.hp.com/">Hewlett-Packard
+                  Company</a></p>
+                </li>
+
+                <li>
+                  <p><a href="http://www.lbl.gov">Lawrence Berkeley National
+                  Laboratory</a></p>
+                </li>
+
+                <li>
+                  <p><a href="http://www.osl.iu.edu/">Open Systems
+                  Laboratory, University of Indiana</a></p>
+                </li>
+              </ul>
+
+              <div class="clear"></div>
+
+              <p>Note, however, that Boost does not endorse any product or
+              service, nor does Boost guarantee that some or all of its
+              libraries work with any of the products or services mentioned
+              above.</p>
+            </div>
+          </div>
+        </div>
+      </div>
+
+      <div id="sidebar">
+        <!--#include virtual="/common/sidebar-common.html" -->
+        <!--#include virtual="/common/sidebar-development.html" -->
+      </div>
+
+      <div class="clear"></div>
+    </div>
+  </div>
+
+  <div id="footer">
+    <div id="footer-left">
+      <div id="revised">
+        <p>Revised $Date$</p>
+      </div>
+
+      <div id="copyright">
+        <p>Copyright Rene Rivera 2007.</p>
+      </div><!--#include virtual="/common/footer-license.html" -->
+    </div>
+
+    <div id="footer-right">
+      <!--#include virtual="/common/footer-banners.html" -->
+    </div>
+
+    <div class="clear"></div>
+  </div>
+</body>
+</html>
Added: website/public_html/beta/development/testing_results.php
==============================================================================
--- (empty file)
+++ website/public_html/beta/development/testing_results.php	2007-09-12 00:18:01 EDT (Wed, 12 Sep 2007)
@@ -0,0 +1,5 @@
+<?php
+require_once(dirname(__FILE__) . '/../common/code/archive_file.php');
+
+$_file = new archive_file('/^[\/]([^\/]+)[\/](.*)$/',$_SERVER["PATH_INFO"],false,RESULTS_DIR."/","");
+?>
Added: website/public_html/beta/gfx/borland_logo.gif
==============================================================================
Binary file. No diff available.
Added: website/public_html/beta/gfx/intel_logo.gif
==============================================================================
Binary file. No diff available.
Added: website/public_html/beta/gfx/kai_logo.gif
==============================================================================
Binary file. No diff available.
Added: website/public_html/beta/gfx/ms_logo.gif
==============================================================================
Binary file. No diff available.