Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r83593 - in trunk/tools/regression: src/report test/report
From: steven_at_[hidden]
Date: 2013-03-26 16:02:19


Author: steven_watanabe
Date: 2013-03-26 16:02:18 EDT (Tue, 26 Mar 2013)
New Revision: 83593
URL: http://svn.boost.org/trac/boost/changeset/83593

Log:
Remove tinyurl links. They've always been broken.
Binary files modified:
   trunk/tools/regression/test/report/expected.zip
Text files modified:
   trunk/tools/regression/src/report/common.cpp | 4 +---
   trunk/tools/regression/src/report/html.cpp | 15 ---------------
   trunk/tools/regression/src/report/html.hpp | 1 -
   trunk/tools/regression/src/report/issues_page.cpp | 1 -
   trunk/tools/regression/src/report/links_page.cpp | 2 --
   5 files changed, 1 insertions(+), 22 deletions(-)

Modified: trunk/tools/regression/src/report/common.cpp
==============================================================================
--- trunk/tools/regression/src/report/common.cpp (original)
+++ trunk/tools/regression/src/report/common.cpp 2013-03-26 16:02:18 EDT (Tue, 26 Mar 2013)
@@ -410,9 +410,7 @@
                                           const std::string& page,
                                           bool release,
                                           const std::string& mode) {
- document << "<div class=\"links\">\n"
- << make_tinyurl
- << "&#160;|&#160;";
+ document << "<div class=\"links\">\n";
 
     // yes, really. The class is set to ""
     insert_view_link(document, page, "", release);

Modified: trunk/tools/regression/src/report/html.cpp
==============================================================================
--- trunk/tools/regression/src/report/html.cpp (original)
+++ trunk/tools/regression/src/report/html.cpp 2013-03-26 16:02:18 EDT (Tue, 26 Mar 2013)
@@ -9,21 +9,6 @@
 
 #include "html.hpp"
 
-const char* const boost::regression::make_tinyurl =
- "<span>"
- "<script type=\"text/javascript\">\n"
- "<!--\n"
- "function make_tinyurl()\n"
- "{\n"
- " window.open( 'http://tinyurl.com/create.php?url=' + parent.location.href );\n"
- "}\n"
- "//-->\n"
- "</script>\n"
- "\n"
- "<a href=\"javascript:make_tinyurl()\">TinyUrl</a>"
- "</span>\n"
-;
-
 const char* const boost::regression::issues_legend =
     "<div class=\"legend\">\n"
     "<table border=\"0\" summary=\"report description\">\n"

Modified: trunk/tools/regression/src/report/html.hpp
==============================================================================
--- trunk/tools/regression/src/report/html.hpp (original)
+++ trunk/tools/regression/src/report/html.hpp 2013-03-26 16:02:18 EDT (Tue, 26 Mar 2013)
@@ -13,7 +13,6 @@
 namespace boost {
 namespace regression {
 
-extern const char* const make_tinyurl;
 extern const char* const issues_legend;
 extern const char* const library_user_legend;
 extern const char* const library_developer_legend;

Modified: trunk/tools/regression/src/report/issues_page.cpp
==============================================================================
--- trunk/tools/regression/src/report/issues_page.cpp (original)
+++ trunk/tools/regression/src/report/issues_page.cpp 2013-03-26 16:02:18 EDT (Tue, 26 Mar 2013)
@@ -212,7 +212,6 @@
         document << " </table>\n";
     }
     document << issues_legend;
- document << make_tinyurl;
     document << " </body>\n";
     document << "</html>\n";
 }

Modified: trunk/tools/regression/src/report/links_page.cpp
==============================================================================
--- trunk/tools/regression/src/report/links_page.cpp (original)
+++ trunk/tools/regression/src/report/links_page.cpp 2013-03-26 16:02:18 EDT (Tue, 26 Mar 2013)
@@ -290,8 +290,6 @@
         document << " </p>\n";
     }
 
- document << make_tinyurl;
-
     document << " </body>\n";
     document << "</html>\n";
 }

Modified: trunk/tools/regression/test/report/expected.zip
==============================================================================
Binary files. No diff available.


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk