Changeset 44185


Ignore:
Timestamp:
Apr 11, 2008, 5:33:17 PM (10 years ago)
Author:
Daniel James
Message:

Merge yesterday's changes from the beta site.
Fixes: #1743, #1783, #1779, #1806, #1815


r44154 | danieljames | 2008-04-10 20:28:38 +0100 (Thu, 10 Apr 2008) | 3 lines

404 if there is an error extracting a file from the zip. Not always correct but
probably better than returing a blank page. A little hacky.


r44155 | danieljames | 2008-04-10 21:26:52 +0100 (Thu, 10 Apr 2008) | 2 lines

Allow the redirect link for the config library to work.


r44156 | danieljames | 2008-04-10 21:27:36 +0100 (Thu, 10 Apr 2008) | 2 lines

Fix some links to the libraries. Refs #1806


r44157 | danieljames | 2008-04-10 21:33:03 +0100 (Thu, 10 Apr 2008) | 2 lines

Fix the "who's using boost' link. Refs #1779.


r44158 | danieljames | 2008-04-10 21:50:50 +0100 (Thu, 10 Apr 2008) | 2 lines

Link to the wiki. Refs #1783.


r44159 | danieljames | 2008-04-10 22:03:14 +0100 (Thu, 10 Apr 2008) | 1 line

Fix some errors in the library list. Refs #1742.


r44162 | danieljames | 2008-04-10 22:20:34 +0100 (Thu, 10 Apr 2008) | 1 line

Fix a couple of libraries that are incorrectly listed as header only. Refs #1743.


Location:
website/public_html/live
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • website/public_html/live/common/code/boost_archive.php

    r43998 r44185  
    7171        {
    7272            # File doesn't exist, or we don't know how to handle it.
    73             header("HTTP/1.0 404 Not Found");
    74             $this->extractor_ = 'raw';
     73            $this->extractor_ = '404';
     74            $this->_init_404();
    7575        }
    7676        else if ($get_as_raw || $this->extractor_ == 'raw')
     
    122122            $text .= fread($file_handle,8*1024);
    123123        }
    124         pclose($file_handle);
    125         return $text;
     124        if(pclose($file_handle) == 0) {
     125            return $text;
     126        }
     127        else {
     128            $this->extractor_ = '404';
     129            return '';
     130        }
    126131    }
    127132
     
    132137        $file_handle = popen($unzip,'rb');
    133138        fpassthru($file_handle);
    134         pclose($file_handle);
     139        if(pclose($file_handle) != 0) {
     140            // TODO: Maybe I should buffer the file so that I can return a
     141            // proper 404 error.
     142            echo "File not found.";
     143        }
    135144    }
    136145   
     
    483492        print $this->_content_html_pre();
    484493    }
     494
     495    function _init_404()
     496    {
     497        header("HTTP/1.0 404 Not Found");
     498    }
     499
     500    function _content_404()
     501    {
     502        # This might also be an error extracting the file, or because we don't
     503        # know how to deal with the file. It would be good to give a better
     504        # error in those cases.
     505
     506        print '<h1>404 Not Found</h1><p>File not found.</p>';
     507    }
    485508}
    486509?>
  • website/public_html/live/doc/display_libs.php

    r44016 r44185  
    2929  array('@.*@','@^libs/index.html$@i','raw','text/html'),
    3030  array('@.*@','@^libs/bind/ref.html$@i','raw','text/html'),
     31  array('@.*@','@^libs/config/config.htm$@i','raw','text/html'),
    3132  array('@.*@','@^libs/gil/doc/.*(html|htm)$@i','raw','text/html'),
    3233  array('@.*@','@^libs/math/doc/common_factor.html$@i','raw','text/html'),
  • website/public_html/live/doc/index.html

    r43915 r44185  
    4444                <!--#include virtual="/common/menu-doc.html" -->
    4545              </div>
     46
     47              <p>Further documentation is also available from the <a href=
     48              "http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl">
     49              Boost user Wiki</a>. But note that this isn't officially
     50              maintained by Boost developers.</p>
    4651            </div>
    4752          </div>
  • website/public_html/live/doc/libraries.xml

    r43983 r44185  
    179179    <name>Config</name>
    180180    <authors></authors>
    181     <description>Helps boost library developers adapt to compiler
     181    <description>Helps Boost library developers adapt to compiler
    182182    idiosyncrasies; not intended for library users.</description>
    183183    <documentation>libs/config/config.htm</documentation>
     
    231231    <boost-version>1.9.0</boost-version>
    232232    <name>Disjoint Sets</name>
    233     <authors></authors>
     233    <authors>Jeremy Siek, Lie-Quan Lee, Andrew Lumsdaine</authors>
    234234    <description>Boost.DisjointSets provides disjoint sets
    235235    operations with union by rank and path
     
    265265    <name>Filesystem</name>
    266266    <authors>Beman Dawes</authors>
    267     <description>The Boost Filesystem Librar provides portable
     267    <description>The Boost Filesystem Library provides portable
    268268    facilities to query and manipulate paths, files, and
    269269    directories.</description>
     
    553553    <description>Greatest common divisor and least common
    554554    multiple.</description>
    555     <documentation>doc/html/boost_math/gcd_lcm.html</documentation>
     555    <documentation>libs/math/doc/common_factor.html</documentation>
    556556    <std-proposal>false</std-proposal>
    557557    <std-tr1>false</std-tr1>
     
    565565    <authors>Hubert Holin</authors>
    566566    <description>Octonions.</description>
    567     <documentation>doc/html/boost_math/octonions.html</documentation>
     567    <documentation>libs/math/doc/octonion/html/index.html</documentation>
    568568    <std-proposal>false</std-proposal>
    569569    <std-tr1>false</std-tr1>
     
    577577    <authors>Hubert Holin</authors>
    578578    <description>Quaternions.</description>
    579     <documentation>doc/html/boost_math/quaternions.html</documentation>
     579    <documentation>libs/math/doc/quaternion/html/index.html</documentation>
    580580    <std-proposal>false</std-proposal>
    581581    <std-tr1>false</std-tr1>
     
    676676    Conversions.</description>
    677677    <documentation>
    678     libs/numeric/conversion/doc/index.html</documentation>
     678    libs/numeric/conversion/index.html</documentation>
    679679    <std-proposal>false</std-proposal>
    680680    <std-tr1>false</std-tr1>
     
    686686    <boost-version>1.30.0</boost-version>
    687687    <name>Interval</name>
    688     <authors>Guillaume Melquiond, Herv&#180; Br&#246;nnimann and
     688    <authors>Guillaume Melquiond, Herv&#233; Br&#246;nnimann and
    689689    Sylvain Pion</authors>
    690690    <description>Extends the usual arithmetic functions to
     
    718718    <description>Discriminated-union wrapper for optional
    719719    values.</description>
    720     <documentation>libs/optional/doc/optional.html</documentation>
     720    <documentation>libs/optional/index.html</documentation>
    721721    <std-proposal>false</std-proposal>
    722722    <std-tr1>false</std-tr1>
     
    869869    <std-proposal>false</std-proposal>
    870870    <std-tr1>false</std-tr1>
    871     <header-only>true</header-only>
     871    <header-only>false</header-only>
    872872    <autolink>false</autolink>
    873873  </library>
     
    896896    <std-proposal>false</std-proposal>
    897897    <std-tr1>false</std-tr1>
    898     <header-only>true</header-only>
     898    <header-only>false</header-only>
    899899    <autolink>false</autolink>
    900900  </library>
  • website/public_html/live/users/index.html

    r43915 r44185  
    5151              <h2>Who else is using Boost?</h2>
    5252
    53               <p>See the <a href=
    54               "/doc/libs/release/doc/html/who_s_using_boost_.html">Who's
    55               Using Boost page</a> for a sampling. We don't know the exact
    56               numbers, but a release gets around 100,000 downloads from
    57               SourceForge, and that is only one of several distribution
    58               routes.</p>
     53              <p>See the <a href="/users/uses.html">Who's Using Boost
     54              page</a> for a sampling. We don't know the exact numbers, but a
     55              release gets around 100,000 downloads from SourceForge, and
     56              that is only one of several distribution routes.</p>
    5957
    6058              <h2>What do others say about Boost?</h2>
Note: See TracChangeset for help on using the changeset viewer.